I can use terraform to deploy a Kubernetes cluster in GKE . Then I have set up the provider for Kubernetes as follows: provider "kubernetes" { host = "${data.google_container_cluster.primary.endpoint}" client_certificate = "${base64decode(data.google_container_cluster.primary.master_auth.0.client_certificate)}" client_key = "${base64decode(data.google_container_cluster.primary.master_auth.0.client_key)}" cluster_ca_certificate = "${base64decode(data.google_container_cluster.primary.master_auth.0.cluster_ca_certificate)}" } By default, terraform interacts with Kubernetes with the user client ,