terraform_module_version - feature request/suggestion #164
TashunkoWitko
started this conversation in
Ideas
Replies: 1 comment 2 replies
-
Generally we try not to allow too much configuration into these rules around style preferences since that becomes a chore to maintain. The Two thoughts on your proposal:
The opportunity for extended discussion and nitpicking here is typically why we've tried to minimize the amount of surface area by restricting to official Terraform docs guidance. |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
The terraform_module_version rule offers the configuration option
exact
if an exact version should be pinned.See: https://github.com/terraform-linters/tflint-ruleset-terraform/blob/main/docs/rules/terraform_module_version.md#configuration
We would like to enforce the usage of the pessimistic constraint operator operator across our organization.
https://developer.hashicorp.com/terraform/language/expressions/version-constraints#-3
Now i see two options to achieve this:
Do you see it as beneficial if the existing rule in this repository would be enhanced? If yes i could open a PR with my ideas. Appreciate any inputs/suggestions from your side. Thanks for your feedback!
Beta Was this translation helpful? Give feedback.
All reactions