Skip to content

Fix Azure deploy Terraform state authorization permanently#55

Merged
Cataldir merged 3 commits intomainfrom
fix/permanent-terraform-state-authz-20260312
Mar 12, 2026
Merged

Fix Azure deploy Terraform state authorization permanently#55
Cataldir merged 3 commits intomainfrom
fix/permanent-terraform-state-authz-20260312

Conversation

@Cataldir
Copy link
Contributor

What this fixes\n- hardens Terraform state storage reachability for GitHub runners\n- resolves OIDC principal deterministically from AZURE_CLIENT_ID\n- ensures Blob Data Contributor on storage account and container scopes\n- adds state data-plane preflight before each provision attempt\n- treats backend AuthorizationFailure/listing-blobs init errors as retryable\n\n## Why this is permanent\n- removes dependency on fragile one-time RBAC timing\n- auto-remediates network default-action deny for the state account in CI\n- validates data-plane readiness before invoking azd provision\n\n## Expected outcome\n- Azure Deploy (azd) no longer fails at Terraform backend init with 403 AuthorizationFailure in normal OIDC propagation scenarios

@Cataldir Cataldir merged commit 376a646 into main Mar 12, 2026
4 checks passed
@Cataldir Cataldir deleted the fix/permanent-terraform-state-authz-20260312 branch March 12, 2026 03:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant