FAQ | This is a LIVE service | Changelog

Skip to content

Basic Auth no longer supported from Kubernes 1.19

From Terraform:

Error: googleapi: Error 400: Basic authentication was removed for GKE cluster versions >= 1.19. The cluster cannot be upgraded until basic authentication is disabled. To disable basic authentication use: gcloud container clusters upgrade cluster --no-enable-basic-auth. Instructions for choosing a new method can be found at: https://cloud.google.com/kubernetes-engine/docs/how-to/api-server-authentication., badRequest

on /terraform_data/modules/cluster/main.tf line 22, in resource "google_container_cluster" "cluster":
22: resource "google_container_cluster" "cluster" {

This has broken the module as Google now has as minimum version 1.19