-
Notifications
You must be signed in to change notification settings - Fork 52
Description
The deployment of the Azure Landing Zone consistently fails during the Terraform initialization (terraform init) stage. The deployment only succeeds when I manually alter the Azure Storage Account’s network configuration. Specifically, I need to change the network access setting from its default (restricted access) to "Enabled from all networks" in the Azure Portal.
Steps to Reproduce:
- Deploy the Azure Landing Zone.
- During the Terraform initialization stage, the deployment fails.
- Manually adjust the Storage Account settings:
- Go to Azure Portal ->
- Storage Accounts ->
- Select the relevant account ->
- Networking ->
- Set network access to "Enabled from all networks."
- Retry the deployment, which then succeeds
Encountered a 403 Authorization Failure when attempting to initialize Terraform with Azure.
Error: Failed to get existing workspaces: containers.Client#ListBlobs: Failure responding to request: StatusCode=403 -- Original Error: autorest/azure: Service returned an error. Status=403 Code="AuthorizationFailure" Message="This request is not authorized to perform this operation.\nRequestId:XXXX\nTime:2024-08-26T01:37:53.6259929Z"
Please investigate why the default network configuration is causing the deployment to fail and recommend a solution that doesn't require manual intervention.