-
Notifications
You must be signed in to change notification settings - Fork 360
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add terraform_required_providers rule #731
Add terraform_required_providers rule #731
Conversation
👍 I recently added a rule to enforce that the terraform |
You are going to need to add the rule here: https://github.com/mveitas/tflint/blob/master/rules/provider.go |
Thanks, will do! |
Co-authored-by: Kazuma Watanabe <[email protected]>
Fixed the two mistakes in the docs, thanks! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍
This PR adds a rule that checks for
terraform.required_providers
and falls back toprovider.version
if set. It borrows copy from the Terraform docs:https://www.terraform.io/docs/configuration/providers.html#provider-versions