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

#261: Invalid plan when re-applying terraform module #295

Merged
merged 1 commit into from
Nov 1, 2019

Conversation

nick4fake
Copy link
Contributor

@nick4fake nick4fake commented Oct 24, 2019

Fixes #261

Bumbed minimal provider version to 2.18

@nick4fake nick4fake marked this pull request as ready for review October 28, 2019 15:30
autogen/versions.tf Outdated Show resolved Hide resolved
examples/disable_client_cert/main.tf Show resolved Hide resolved
@morgante morgante merged commit 101c404 into terraform-google-modules:master Nov 1, 2019
@rbramwell
Copy link
Contributor

rbramwell commented Dec 1, 2019

@nick4fake @morgante This is preventing me from using the module with the 2.20.0 google provider version. As per https://www.terraform.io/docs/configuration/terraform.html#specifying-required-provider-versions greater than or equal >= would have been a better option instead of the pessimistic constraint ~>.

Initializing provider plugins...
- Checking for available provider plugins...
- Downloading plugin for provider "random" (hashicorp/random) 2.2.1...
- Downloading plugin for provider "null" (hashicorp/null) 2.1.2...
- Downloading plugin for provider "local" (hashicorp/local) 1.4.0...
- Downloading plugin for provider "template" (hashicorp/template) 2.1.2...

No provider "google" plugins meet the constraint "= 2.20.0,~> 2.18.0".

The version constraint is derived from the "version" argument within the
provider "google" block in configuration. Child modules may also apply
provider version constraints. To view the provider versions requested by each
module in the current configuration, run "terraform providers".

To proceed, the version constraints for this provider must be relaxed by
either adjusting or removing the "version" argument in the provider blocks
throughout the configuration.

- Downloading plugin for provider "google-beta" (terraform-providers/google-beta) 2.20.0...

@rbramwell
Copy link
Contributor

rbramwell commented Dec 1, 2019

Saw the CHANGELOG.md. Looks like I won't be able to use this with anything but ~> 2.18.0 google provider version. I will resort to continue using the 5.1.1 version of the module which allows me to use 2.20.0 google provider version.

@morgante
Copy link
Contributor

morgante commented Dec 2, 2019

@rbramwell Sorry for the issue, we've relaxed the version constraints with #359. If you upgrade to 6.0.1 you should be able to use 2.20.0.

CPL-markus pushed a commit to WALTER-GROUP/terraform-google-kubernetes-engine that referenced this pull request Jul 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Invalid plan when re-applying terraform module
5 participants