Skip to content

Prevent dev/prod Terraform state crossover in Azure Deploy#60

Merged
Cataldir merged 1 commit intomainfrom
fix/nonprod-state-key-isolation-20260312
Mar 12, 2026
Merged

Prevent dev/prod Terraform state crossover in Azure Deploy#60
Cataldir merged 1 commit intomainfrom
fix/nonprod-state-key-isolation-20260312

Conversation

@Cataldir
Copy link
Contributor

Summary\n- force non-prod runs to use env-specific state key ( utor-.tfstate)\n- applies in all key write points (�zd env, backend.hcl generation, and provision env vars)\n\n## Why\nRecent failures showed dev provisioning attempting destructive operations in utor-prod, indicating shared state key usage. This change permanently isolates non-prod state and prevents cross-environment drift/deletes.

@Cataldir Cataldir merged commit 974aa0a into main Mar 12, 2026
4 checks passed
@Cataldir Cataldir deleted the fix/nonprod-state-key-isolation-20260312 branch March 12, 2026 04:19
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