Skip to content
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

Move version constraint to required_providers block #774

Merged
merged 2 commits into from
Dec 30, 2020

Conversation

raj-saxena
Copy link
Contributor

Terraform 0.14 shows warnings of the following kind asking to move the provider version constraint to required_providers block.
Screenshot 2020-12-30 at 17 16 38

@comment-bot-dev
Copy link

comment-bot-dev commented Dec 30, 2020

Thanks for the PR! 🚀
✅ Lint checks have passed.

Comment on lines +23 to +26
kubernetes = "~> 1.10, != 1.11.0"
{% else %}
google = ">= 3.39.0, <4.0.0"
google = ">= 3.39.0, <4.0.0"
kubernetes = "~> 1.10, != 1.11.0"
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Did this to pass the terraform fmt check - #774 (comment)

There might be a way to keep things DRY here.

Copy link
Contributor

@morgante morgante left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for adding this.

@morgante morgante merged commit 825f287 into terraform-google-modules:master Dec 30, 2020
@raj-saxena raj-saxena deleted the fix-warning branch December 31, 2020 04:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants