Skip to content

Deploy infrastructure changes automatically from main - #12

Merged
ali509 merged 1 commit into
mainfrom
feat/automatic-infrastructure-deploy
Jul 17, 2026
Merged

Deploy infrastructure changes automatically from main#12
ali509 merged 1 commit into
mainfrom
feat/automatic-infrastructure-deploy

Conversation

@ali509

@ali509 ali509 commented Jul 17, 2026

Copy link
Copy Markdown
Owner

Summary

  • add a protected infrastructure deployment workflow triggered after deployable templates merge to main
  • detect changed templates and update only the corresponding existing dev stacks
  • add a dedicated infrastructure GitHub OIDC role
  • add a separate CloudFormation execution role
  • preserve application and infrastructure deployment-role separation
  • retain manual dispatch for targeted or ordered stack updates
  • document automatic deployment behavior and intentional exclusions

Safety

  • PRs remain validation-only
  • missing stacks are not created automatically
  • deployments are serialized
  • github-oidc.yaml and root.yaml remain manual
  • existing stack parameters are preserved

Validation

  • cfn-lint passed for all deployable templates and github-oidc.yaml
  • cfn-guard passed
  • workflow and CloudFormation YAML parsed successfully
  • non-executed change set contains only two IAM role additions and no replacements

@ali509
ali509 merged commit 6a33492 into main Jul 17, 2026
1 check passed
@ali509
ali509 deleted the feat/automatic-infrastructure-deploy branch July 17, 2026 07:12
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