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

ERROR: Master version must be one of "STABLE" channel supported versions #2177

Open
heldersepu opened this issue Nov 8, 2024 · 0 comments
Open
Labels
bug Something isn't working

Comments

@heldersepu
Copy link

heldersepu commented Nov 8, 2024

TL;DR

Getting error all of the sudden about an unsupported version

Expected behavior

there should be no errors and the version should update correctly

Observed behavior

the error:

╷
│ Error: googleapi: Error 400: Master version must be one of "STABLE" channel supported versions [1.28.14-gke.1099000, 1.29.9-gke.1177000, 1.30.5-gke.1014003].
│ Details:
│ [
│   ***
│     "@type": "type.googleapis.com/google.rpc.RequestInfo",
│     "requestId": "0x4d912a749eb45e02"
│   ***
│ ]
│ , badRequest
│ 
│   with module.gke_blockexplorer.google_container_cluster.primary,
│   on .terraform/modules/abc/modules/beta-public-cluster/cluster.tf line 22, in resource "google_container_cluster" "primary":
│   22: resource "google_container_cluster" "primary" ***
│

Terraform Configuration

the relevant part of TF plan shows

# module.gke_blockexplorer.google_container_cluster.primary will be updated in-place
  ~ resource "google_container_cluster" "primary" ***
        id                          = "..."
      ~ min_master_version          = "1.30.5-gke.1443001" -> "1.31.1-gke.2105000"
        name                        = "..."

Terraform Version

latest

Additional information

Not sure where that 1.31.1-gke.2105000 is coming from, we do not have that in our code, there is no kubernetes_version set, so the module should be getting the correct one automatically, if I'm following this code correctly:

@heldersepu heldersepu added the bug Something isn't working label Nov 8, 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

No branches or pull requests

1 participant