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

Latest kubernetes provider breaks the auth.tf #429

Closed
qlikcoe opened this issue Feb 10, 2020 · 4 comments · Fixed by #432
Closed

Latest kubernetes provider breaks the auth.tf #429

qlikcoe opened this issue Feb 10, 2020 · 4 comments · Fixed by #432
Labels
bug Something isn't working P1 highest priority issues triaged Scoped and ready for work

Comments

@qlikcoe
Copy link
Contributor

qlikcoe commented Feb 10, 2020

kubernetes provider v1.11 was released 3 hours ago. Right away it breaks kubernetes provider configuration in auth.tf:

Error: Failed to initialize config: invalid configuration: no configuration has been provided
  on .terraform/modules/gke/terraform-google-modules-terraform-google-kubernetes-engine-064f308/modules/private-cluster/auth.tf line 29, in provider "kubernetes":
  29: provider "kubernetes" {

Pinning it to v1.10 is a current workaround:

provider "kubernetes" {
  version = "= 1.10"
}
@morgante morgante added bug Something isn't working P1 highest priority issues triaged Scoped and ready for work labels Feb 10, 2020
@morgante
Copy link
Contributor

Upstream issue: hashicorp/terraform-provider-kubernetes#759

@lawliet89
Copy link
Contributor

If you want to keep using 1.11 provider, you can do a partial plan first with something like terraform plan -target module.gke.google_container_cluster.primary.

@EricHorst
Copy link
Contributor

Upstream issue has been resolved with 1.11.1: hashicorp/terraform-provider-kubernetes#759

@morgante Would you consider moving the kubernetes provider version up to ">= 1.11.1"?

In my shop we are locked at kubernetes provider 1.9 due to hashicorp/terraform-provider-kubernetes/issues/787 which was just fixed in 1.11.1. This means we're also stuck on terraform-google-kubernetes-engine 6.2 since 7.x is locked on kubernetes provider 1.10. Moving up to 1.11.1 should get beyond both problems. We desperately want some of the 7.3 knobs.

Thanks.

@morgante
Copy link
Contributor

I'd be happy to accept/review a PR which increases/changes the provider version constraint assuming tests pass.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working P1 highest priority issues triaged Scoped and ready for work
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants