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

Support Google provider 4.0 for Workload Identity #1068

Closed
jackwhelpton opened this issue Nov 18, 2021 · 4 comments
Closed

Support Google provider 4.0 for Workload Identity #1068

jackwhelpton opened this issue Nov 18, 2021 · 4 comments
Labels
bug Something isn't working Stale

Comments

@jackwhelpton
Copy link
Contributor

jackwhelpton commented Nov 18, 2021

TL;DR

Because the WI module constrains the Google provider to version ~> 3.0, it can't be used in conjunction with other modules that require version >= 4.0.

Expected behavior

Module is usable with Google provider 4.0.

Observed behavior

Could not retrieve the list of available versions for provider hashicorp/google: no available releases match the
│ given constraints >= 2.12.0, >= 3.43.0, >= 3.45.0, ~> 3.53, >= 4.0.0, < 4.0.0, < 5.0.0

Terraform Version

Terraform v1.0.11
on windows_amd64
+ provider registry.terraform.io/hashicorp/external v2.1.0
+ provider registry.terraform.io/hashicorp/google v3.90.0
+ provider registry.terraform.io/hashicorp/google-beta v3.90.0
+ provider registry.terraform.io/hashicorp/helm v2.3.0
+ provider registry.terraform.io/hashicorp/kubernetes v2.6.1
+ provider registry.terraform.io/hashicorp/null v3.1.0
+ provider registry.terraform.io/hashicorp/random v3.1.0
+ provider registry.terraform.io/netapp/netapp-gcp v21.5.0

Additional information

There's a PR raised for this by an automated process (#1066) but it needs some work.

I don't mind taking a run at this, as I've made similar changes to our internal modules.. we need to remove the basic auth variables/settings and make some other changes to field names: it'd probably be a breaking change, unless we keep the variables and just deprecate them.

That said, I'm not sure how my new submission would impact the existing PR: any guidance?

@jackwhelpton jackwhelpton added the bug Something isn't working label Nov 18, 2021
@jackwhelpton jackwhelpton changed the title Support Google provider 4.0 Support Google provider 4.0 for Workload Identity Nov 18, 2021
@jackwhelpton
Copy link
Contributor Author

jackwhelpton commented Nov 18, 2021

It looks like #1052 is also related, although it attempts to address this issue without doing the provider upgrade (which I will need).

@PDQDakota
Copy link

I am also running into this issue using the 4.1.0 version of the hashicorp/google provider.

Could not retrieve the list of available versions for provider hashicorp/google: no available releases match the given constraints >= 3.39.0, < 4.0.0, >= 4.1.0

@jackwhelpton
Copy link
Contributor Author

Fwiw I'm having a stab at resolving this here: #1071.

@github-actions
Copy link

This issue is stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed in 7 days

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working Stale
Projects
None yet
Development

No branches or pull requests

2 participants