diff --git a/alz/azuredevops/pipelines/terraform/templates/helpers/terraform-apply.yaml b/alz/azuredevops/pipelines/terraform/templates/helpers/terraform-apply.yaml index 97792ce..1b57d02 100644 --- a/alz/azuredevops/pipelines/terraform/templates/helpers/terraform-apply.yaml +++ b/alz/azuredevops/pipelines/terraform/templates/helpers/terraform-apply.yaml @@ -28,6 +28,7 @@ steps: $env:ARM_USE_OIDC = "true" $env:ARM_CLIENT_ID = $clientId $env:ARM_USE_AZUREAD = "true" + $env:AZAPI_RETRY_GET_AFTER_PUT_MAX_TIME = "60m" # Accounts for eventually consistent management group permissions propagation # Run Terraform Apply $command = "terraform" diff --git a/alz/github/actions/terraform/templates/workflows/cd-template.yaml b/alz/github/actions/terraform/templates/workflows/cd-template.yaml index ca127d0..c8bdb42 100644 --- a/alz/github/actions/terraform/templates/workflows/cd-template.yaml +++ b/alz/github/actions/terraform/templates/workflows/cd-template.yaml @@ -101,6 +101,7 @@ jobs: ARM_TENANT_ID: "$${{ vars.AZURE_TENANT_ID }}" ARM_USE_AZUREAD: true ARM_USE_OIDC: true + AZAPI_RETRY_GET_AFTER_PUT_MAX_TIME: "60m" # Accounts for eventually consistent management group permissions propagation steps: - name: Download a Build Artifact