description |
---|
FTP (Frequent Terraform Problems) |
Terragrunt, tflint, tfenv, Atlantis, pre-commit-terraform, etc. (todo: add links to these)
Yes, after a few months we finally found the answer. Sadly, Mike is on vacations right now so I'm afraid we are not able to provide the answer at this point.
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 hell 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.