tflint-ruleset-terraform icon indicating copy to clipboard operation
tflint-ruleset-terraform copied to clipboard

Add rule for external private module references

Open kunickiaj opened this issue 1 year ago • 3 comments

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

kunickiaj avatar Sep 06 '24 17:09 kunickiaj