Workflow ¶
Steps ¶
Terraform Workflow
- Make sure you've read and prepared your local development environment following the Overview base-configurations section.
- Depending in which Terraform Ref Architecture repo you are working, please review and assure you meet
all the terraform aws pre-requisites or
terraform vault pre-requisites
- Remote State
- Configuration files
- AWS Profile and credentials
- Vault token secret
- Get into the folder that you need to work with (e.g.
2_identities
) - Run
leverage terraform init
- Make whatever changes you need to make
- Run
leverage terraform plan
if you only mean to preview those changes - Run
leverage terraform apply
if you want to review and likely apply those changes
Note
If desired, at step #5 you could submit a PR, allowing you and the rest of the team to
understand and review what changes would be made to your AWS Cloud Architecture components before executing
leverage terraform apply
(terraform apply
). This brings the huge benefit of treating changes with a GitOps oriented
approach, basically as we should treat any other code & infrastructure change, and integrate it with the
rest of our tools and practices like CI/CD, in
Running in Automation ¶
Read More ¶
Extra resources