| 1 |
provider "google" { |
| 2 |
project = "${var.project}" |
| 3 |
version = "~> 1.20.0" |
| 4 |
} |
| 5 |
|
| 6 |
provider "kubernetes" { |
| 7 |
version = "~> 1.4.0" |
| 8 |
host = "https://${google_container_cluster.cluster.endpoint}" |
| 9 |
client_certificate = "${base64decode(google_container_cluster.cluster.master_auth.0.client_certificate)}" |
| 10 |
client_key = "${base64decode(google_container_cluster.cluster.master_auth.0.client_key)}" |
| 11 |
cluster_ca_certificate = "${base64decode(google_container_cluster.cluster.master_auth.0.cluster_ca_certificate)}" |
| 12 |
load_config_file = false |
| 13 |
} |
| 14 |
|
| 15 |
provider "local" { |
| 16 |
version = "~> 1.1.0" |
| 17 |
} |
| 18 |
|
| 19 |
provider "random" { |
| 20 |
version = "~> 2.0.0" |
| 21 |
} |