-
Notifications
You must be signed in to change notification settings - Fork 4.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Consistent Availability Zones across provider #14588
Comments
The v3.0 of the azure terraform provider improves the consistency of handling zones between resource types and between zonal and non-zonal regions [1]. Specifically relevant to the installer, the default behavior of the azurerm_lb resource is set appropriately depending on whether the region being used is zonal or non-zonal. https://bugzilla.redhat.com/show_bug.cgi?id=2060687 [1] hashicorp/terraform-provider-azurerm#14588
This functionality has been released in v3.0.0 of the Terraform Provider. Please see the Terraform documentation on provider versioning or reach out if you need any assistance upgrading. For further feature requests or bug reports with this functionality, please create a new GitHub issue following the template. Thank you! |
The v3.0 of the azure terraform provider improves the consistency of handling zones between resource types and between zonal and non-zonal regions [1]. Specifically relevant to the installer, the default behavior of the azurerm_lb resource is set appropriately depending on whether the region being used is zonal or non-zonal. https://bugzilla.redhat.com/show_bug.cgi?id=2060687 [1] hashicorp/terraform-provider-azurerm#14588
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. |
Community Note
Background
Azure supports two types of placement of resources: the older Availability Sets and the newer Availability Zones.
Different Azure Regions and different Azure Services may or may not support Availability Zones and/or Availability Sets. The resources which do support Availability Zones either require a single Zone or multiple Zones to be specified depending on the Resource - and different Azure Regions support different Zones (e.g. some support 1 and 2, others 1, 2, and 3, etc.).
As Availability Zones have been rolled out across Azure there's been a couple of changes which means these are implemented inconsistently across the Provider:
What this means in practice is that using Zones across the provider is inconsistent.
With this feature, we will make the use of Zones consistent across the provider. Going forward:
Affected Resources
The following will be changed to allow multiple zones listed:
The following will be changed to allow a single zone listed:
The following resources aren't yet publicly deprecated, but will be in the future (they're feature-frozen as there are replacements available):
Potential Terraform Configuration
References
While there are differences in the Azure Services here (notably No Zone, Zone Redundant, Single Zone and Multiple Zones), we should consolidate this behavior in Terraform so that it's consistent.
The text was updated successfully, but these errors were encountered: