document the terraform workflow
zimbatm committed
Nov 19, 2018 at 15:41 UTC
f6c8d5d17d5ee3273fd10b6168b16bd096a1f240
1 file changed
+10
terraform/README.md
+10
@@ -20,3 +20,13 @@ Then run the following command to diff the changes and then apply if approved:
20
nix-shell --run "terraform apply"
21
```
22
23
+## Terraform workflow
24
+
25
+Write the Terraform code and test the changes using `terraform validate`.
26
+
27
+Before committing run `terraform fmt`.
28
+
29
+Once the code is ready to be deployed, create a new PR with the attached
30
+output of `terraform plan`.
31
+
32
+Once the PR is merged, run `terraform apply` to apply the changes.