tflint-ruleset-terraform
tflint-ruleset-terraform copied to clipboard
Add rule for external private module references
Hashicorp's convention is to allow external reference of nested modules if there is a README.md present, or treat as private/internal if there is not one present.
Since there is no enforcement of this by terraform itself, a tflint rule can be used to enforce this convention.
Ref: https://developer.hashicorp.com/terraform/language/modules/develop/structure