Skip to content

RulerOf/terraform-code-examples

Repository files navigation

Andrew's Terraform Code Examples

Documenting solutions to interesting Terraform problems.

Requirements

Just terraform, though consider installing asdf-vm if you want to be sure you're using the same version I used.

Examples

  • Dynamic Templatefile Rendering
    • Keeping templatefile() function calls and the files themselves DRY — avoids writing variables twice, as input and output.
  • 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.`

About

Solving weird problems with Terraform

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published