Skip to content

Latest commit

 

History

9 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 

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

Stars

1 star

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages