Documenting solutions to interesting Terraform problems.
Just terraform, though consider installing asdf-vm if you want to be sure you're using the same version I used.
- Dynamic Templatefile Rendering
- Keeping
templatefile()
function calls and the files themselves DRY — avoids writing variables twice, as input and output.
- Keeping
- Traversing Nested Maps
- Illustrating how to navigate nested map structures to facilitate iterative resource creation.
- Normalizing Input Files
- Using the external data source to pass a file through a linter before consuming it to avoid unnecessary destroy/recreate cycles.`