What's a typical Terraform workflow?
Answer
- Write Terraform definitions:
.tffiles written in HCL that described the desired infrastructure state (and runterraform initat the very beginning) - Review: With command such as
terraform planyou can get a glance at what Terraform will perform with the written definitions - Apply definitions: With the command
terraform applyTerraform will apply the given definitions, by adding, modifying or removing the resources
This is a manual process. Most of the time this is automated so user submits a PR/MR to propose terraform changes, there is a process to test these changes and once merged they are applied (terraform apply).