You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
│ Error: creating/updating Load Balancer "auseazddns" (Resource Group "Networking-DNS-Service"): network.LoadBalancersClient#CreateOrUpdate: Failure sending request: StatusCode=0 -- Original Error: Code="SubscriptionDoesNotSupportZone" Message="Cannot create/move resource /subscriptions/xxxxxx/resourceGroups/Networking-DNS-Service/providers/Microsoft.Network/loadBalancers/auseazddns/frontendIPConfigurations/auseazddns which uses zone 1 since subscription xxxxxxxxxx does not support zone 1 in location australiasoutheast." Details=[]
│
│ with module.ause_dns.azurerm_lb.lb,
│ on vmss-module/main.tf line 6, in resource "azurerm_lb" "lb":
│ 6: resource "azurerm_lb" "lb" {
│
Expected Behaviour
A load balancer should have been created with no zone information.
Actual Behaviour
It failed with the error that the australiasoutheast does not support zone 1
Evident from the PUT shown above, it is attempting to define zone information, when it should not.
Steps to Reproduce
Create a standard load balancer in australiasoutheast
terraform apply
Important Factoids
References
The text was updated successfully, but these errors were encountered:
Thanks for opening this issue - apologies for the delayed response here.
As a part of the upcoming v3.0 of the Azure Provider we're looking to make both the identity and zone/zones blocks consistent across the Provider, which is being tracked in #14588.
Where a single Availability Zone is available (either Required/Optional), the field will be zone (highlighting that only a single Availability Zone can be configured).
Where multiple Availability Zones can be configured (either Required or where Optional [for Zoneless]) - the field zones will be used.
To deploy a resource into all Zones, each of the Zones will need to be specified (e.g. zones = ["1", "2", "3"])
To deploy a resource into a single Zone, the single Zone should be specified (e.g. zones = ["1"])
To deploy a resource Zoneless, the zones field should be omitted.
This functionality is coming in version 3.0 of the Azure Provider and can be used today by enabling the 3.0 Beta available within v2.97.0 of the AzureRM Provider. Specific instructions on how to opt-into this can be found in the 3.0 Beta Guide - but this'll be enabled by default when v3.0 of the AzureRM Provider ships.
Rather than having multiple issues open tracking the same thing, as #14588 is tracking making zones consistent across the Provider, I'm going to close this issue in favour of that one - would you mind subscribing to #14588 for updates?
I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues.
If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.
Community Note
Terraform (and AzureRM Provider) Version
terraform version 1.0.2
provider version 2.68.0
Affected Resource(s)
azurerm_azurerm_lb
Terraform Configuration Files
Debug Output
Panic Output
Expected Behaviour
A load balancer should have been created with no zone information.
Actual Behaviour
It failed with the error that the australiasoutheast does not support zone 1
Evident from the PUT shown above, it is attempting to define zone information, when it should not.
Steps to Reproduce
Create a standard load balancer in australiasoutheast
terraform apply
Important Factoids
References
The text was updated successfully, but these errors were encountered: