Skip to content
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

PIP Availability Zones not available in all regions #280

Closed
Phydeauxman opened this issue Jul 6, 2021 · 2 comments · Fixed by #283
Closed

PIP Availability Zones not available in all regions #280

Phydeauxman opened this issue Jul 6, 2021 · 2 comments · Fixed by #283
Assignees
Labels
bug Something isn't working good first issue Good for newcomers

Comments

@Phydeauxman
Copy link
Contributor

Description
Public IP Address resources created by Terraform default to using Zone-Redundant for the Availability-Zone parameter. Availability zones are not available in all regions so when attempting to create a Public IP Address as part of a deployment to a region where Availability Zones are not supported, the deployment fails.

Steps to Reproduce
Steps to reproduce the behavior:

  1. Attempt MLZ deployment to West US region in Commercial

Expected behavior
Deployment is successful

Actual behavior
Deployment fails with error stating that region does not support availability zones

Screenshots
image

Additional context
Operating System:
Terraform Version:
Cloud (public, Azure Government, etc.):

@Phydeauxman Phydeauxman added the bug Something isn't working label Jul 6, 2021
@glennmusa
Copy link
Contributor

@Phydeauxman pointed us to availability_zone = No-Zone for setting this regardless of cloud or region availability https://registry.terraform.io/providers/hashicorp/azurerm/latest/docs/resources/public_ip#availability_zone

@glennmusa glennmusa added the good first issue Good for newcomers label Jul 6, 2021
@glennmusa
Copy link
Contributor

To add to the Firewall PIP, the Bastion PIP requires updating to availability_zone = No-Zone too

@glennmusa glennmusa changed the title Availability Zones not available in all regions PIP Availability Zones not available in all regions Jul 6, 2021
@glennmusa glennmusa self-assigned this Jul 8, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working good first issue Good for newcomers
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants