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

chore(terraform): support terraform 0.14 by bumping version constraint to v0.15 #505

Merged
merged 2 commits into from
Dec 3, 2020

Conversation

tomchinery
Copy link
Contributor

This PR adds support for terraform 0.14.

This PR just bumps the version I haven't been able to test in my setup - I assume however it works as per terraform-google-modules/terraform-google-sql-db#165 (comment).

@tomchinery tomchinery requested a review from a team December 3, 2020 09:58
@tomchinery tomchinery requested a review from a team as a code owner December 3, 2020 09:58
@bouk
Copy link

bouk commented Dec 3, 2020

I think we should just remove the upper version constraint

@tomchinery
Copy link
Contributor Author

tomchinery commented Dec 3, 2020

@bouk I agree. What stopped me was the other PR referenced above and that it already exists as a constraint.

Terraform 0.13.X+ generates version constraints automatically for the minimum versions and not the maximum versions. It's best practice to only specify a minimum version constraint as per the docs: https://www.terraform.io/docs/configuration/version-constraints.html#terraform-core-and-provider-versions.

Must be a reason a maximum version is specified here? If not happy to commit an additional commit to remove completely.

@bharathkkb
Copy link
Member

@tomchinery feel free to remove the upper constraint

@morgante
Copy link
Contributor

morgante commented Dec 3, 2020

The main reason we have an upper version constraint was due to earlier incompatibilities. We can certainly drop it now.

@tomchinery
Copy link
Contributor Author

Added additional commit removing the version constraint. Thanks all for feedback + quick response.

@morgante morgante merged commit 8c01c41 into terraform-google-modules:master Dec 3, 2020
lawliet89 added a commit to lawliet89/terraform-google-network that referenced this pull request Dec 8, 2020
Referencing other Google modules like
terraform-google-modules/terraform-google-project-factory#505

Signed-off-by: Yong Wen Chua <lawliet89@users.noreply.github.com>
lawliet89 added a commit to lawliet89/terraform-google-network that referenced this pull request Dec 8, 2020
Referencing other Google modules like
terraform-google-modules/terraform-google-project-factory#505

Signed-off-by: Yong Wen Chua <lawliet89@users.noreply.github.com>
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

4 participants