FAQ
FTP (Frequent Terraform Problems)
What are the tools I should be aware of and consider using?
Terragrunt - Orchestration tool
tflint - Code linter
tfenv - Version manager
asdf-hashicorp - HashiCorp plugin for the asdf version manager
Atlantis - Pull Request automation
pre-commit-terraform - Collection of git hooks for Terraform to be used with pre-commit framework
Infracost - Cloud cost estimates for Terraform in pull requests. Works with Terragrunt, Atlantis and pre-commit-terraform too.
What are the solutions to dependency hell with modules?
Versions of resource and infrastructure modules should be specified. Providers should be configured outside of modules, but only in composition. Version of providers and Terraform can be locked also.
There is no master dependency management tool, but there are some tips to make dependency specifications less problematic. For example, Dependabot can be used to automate dependency updates. Dependabot creates pull requests to keep your dependencies secure and up-to-date. Dependabot supports Terraform configurations.
Last updated