13 lines
339 B
Terraform
13 lines
339 B
Terraform
|
data "google_client_config" "default" {}
|
||
|
|
||
|
provider "google" {
|
||
|
project = var.project
|
||
|
region = var.region
|
||
|
}
|
||
|
|
||
|
provider "kubernetes" {
|
||
|
host = "https://${module.gke.endpoint}"
|
||
|
token = data.google_client_config.default.access_token
|
||
|
cluster_ca_certificate = base64decode(module.gke.ca_certificate)
|
||
|
}
|