Workflows
General Workflow
Section titled “General Workflow”- Write/update code.
- Run changes locally (for dev env).
- Create PR.
- Run Tests via CI/CD.
- Deploy to staging via CD (on merge to main).
- Deploy to production via CD (on release).
Recommendations:
- Have a cron job run
terraform planperiodically so you know you’re safe.
Multi Account/Project
Section titled “Multi Account/Project”- Simplify IAM policies for enforcing controls for different environments (and remote TF backends).
- Isolate environments to protect and minimize blast radius.
- Reduce naming conflicts for resources.