xworkspace-console/.github
Haitao Pan 09a8bae35d fix(iac-workflow): make S3-compatible remote state mandatory (no local fallback)
Previously 'Configure remote backend' had `if: TF_STATE_BUCKET != ''`, so when
the gate evaluated empty the step was skipped and terraform silently fell back to
local state — risking state loss on destroy. TF_STATE_* exist in Vault, so make
the remote backend the default required path:

- Validate step now requires TF_STATE_{ENDPOINT,BUCKET,ACCESS_KEY,SECRET_KEY}
- 'Configure remote backend' always runs (renders backend.tf)
- terraform init fails fast if TF_STATE_BUCKET empty (removed local-state else)
- header comment updated: backend keys are required, not optional

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-06-25 22:09:44 +08:00
..
workflows fix(iac-workflow): make S3-compatible remote state mandatory (no local fallback) 2026-06-25 22:09:44 +08:00