Skip to content

Commit

Permalink
Merge pull request terraform-google-modules#2 from cuehealth/feat/DEV…
Browse files Browse the repository at this point in the history
…OPS-779

Enable resource labeling option, with default is empty
  • Loading branch information
caglaavatansever authored Oct 27, 2022
2 parents c1b14eb + 1a20ac3 commit 09aeeee
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
1 change: 1 addition & 0 deletions examples/safer_cluster_iap_bastion/cluster.tf
Original file line number Diff line number Diff line change
Expand Up @@ -47,4 +47,5 @@ module "gke" {
key_name = var.database_encryption_key_name
}]
datapath_provider = var.datapath_provider
cluster_resource_labels = var.cluster_resource_labels
}
6 changes: 6 additions & 0 deletions examples/safer_cluster_iap_bastion/variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -110,3 +110,9 @@ variable "datapath_provider" {
description = "The desired datapath provider for this cluster. By default, `ADVANCED_DATAPATH` enables Dataplane-V2 feature. `DATAPATH_PROVIDER_UNSPECIFIED` enables the IPTables-based kube-proxy implementation as a fallback since upgrading to V2 requires a cluster re-creation."
default = "DATAPATH_PROVIDER_UNSPECIFIED"
}

variable "cluster_resource_labels" {
type = map(string)
description = "The GCE resource labels (a map of key/value pairs) to be applied to the cluster"
default = {}
}

0 comments on commit 09aeeee

Please sign in to comment.