Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ability to "sign" a specific terraform plan file for prod deployment #100

Open
aaronsteers opened this issue May 16, 2020 · 0 comments
Open

Comments

@aaronsteers
Copy link
Contributor

aaronsteers commented May 16, 2020

Possible implementation plan:


  1. With each commit pushed, generate a dev infra plan, print to CI/CD logs. Raise an error in CI/CD if dev infra plan is non-empty.
  2. With each commit pushed, generate a prod infra plan, print to CI/CD logs and also print as a hashed MD5.
  3. If the printed prod infra plan is approved, repo admin will add into the commit: "Approved: {md5}" (case insensitive).
  4. If branch is master AND commit description includes text "Approved: {MD5}" AND the MD5 matches the infra plan, then auto-deploy to prod.

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

No branches or pull requests

1 participant