Skip to content

ci(reusable): gate terraform apply behind explicit input#76

Merged
NWarila merged 1 commit into
mainfrom
gs-03c-reusable-apply-gate
Jun 22, 2026
Merged

ci(reusable): gate terraform apply behind explicit input#76
NWarila merged 1 commit into
mainfrom
gs-03c-reusable-apply-gate

Conversation

@NWarila

@NWarila NWarila commented Jun 20, 2026

Copy link
Copy Markdown
Contributor

DO NOT MERGE until the GS-03c audit confirms the apply gate and workflow checks are clean.

Summary

  • Add a workflow_call boolean apply input that defaults to false.
  • Keep the existing plan_only local-backend dry-run path intact.
  • Keep the real-state init/import/validate/plan/upload path intact for non-plan_only runs, but require inputs.apply && !inputs.plan_only before terraform apply can run.

Validation

  • Parsed .github/workflows/reusable-terraform-deploy.yaml with PyYAML.
  • Verified the signed commit metadata with git log --show-signature.
  • Triggered no Terraform apply and no apply=true dispatch.

@NWarila NWarila merged commit dfd147e into main Jun 22, 2026
13 checks passed
@NWarila NWarila deleted the gs-03c-reusable-apply-gate branch June 22, 2026 13:02
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