GoogleCloudPlatform / cloud-ops-sandbox

Cloud Operations Sandbox is an open source collection of tools that helps practitioners to learn O11y and R9y practices from Google and apply them using Cloud Operations suite of tools.
Apache License 2.0
406 stars 148 forks source link

fix GKE terraform warnings #870

Closed Ayelet41 closed 2 years ago

Ayelet41 commented 3 years ago

Update GKE Deprecated Attributes 1)

│ Warning: Deprecated Attribute
│
│   with google_container_cluster.gke,
│   on 03_gke_cluster.tf line 57, in resource "google_container_cluster" "gke":
│   57:     identity_namespace = "${data.google_project.project.project_id}.svc.id.goog"
│
│ This field will be removed in a future major release as it has been deprecated in the API. Use `workload_pool` instead.
│

2)

 workload_metadata_config {
│ Deprecated in favor of mode.