@@ -65,7 +65,6 @@ module "cluster-1" {
|
||||
| *resource_usage_export_config* | Configure the ResourceUsageExportConfig feature. | <code title="object({ enabled = bool dataset = string })">object({...})</code> | | <code title="{ enabled = null dataset = null }">...</code> |
|
||||
| *vertical_pod_autoscaling* | Enable the Vertical Pod Autoscaling feature. | <code title="">bool</code> | | <code title="">null</code> |
|
||||
| *workload_identity* | Enable the Workload Identity feature. | <code title="">bool</code> | | <code title="">true</code> |
|
||||
| *workload_metadata_config* | Define how to expose node metadata to workloads. | <code title="">string</code> | | <code title="">GKE_METADATA_SERVER</code> |
|
||||
|
||||
## Outputs
|
||||
|
||||
|
||||
@@ -208,10 +208,6 @@ resource "google_container_cluster" "cluster" {
|
||||
}
|
||||
}
|
||||
|
||||
workload_metadata_config {
|
||||
node_metadata = var.workload_metadata_config
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
resource "google_compute_network_peering_routes_config" "gke_master" {
|
||||
|
||||
@@ -245,9 +245,3 @@ variable "workload_identity" {
|
||||
type = bool
|
||||
default = true
|
||||
}
|
||||
|
||||
variable "workload_metadata_config" {
|
||||
description = "Define how to expose node metadata to workloads."
|
||||
type = string
|
||||
default = "GKE_METADATA_SERVER"
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user