File tree Expand file tree Collapse file tree 2 files changed +9
-0
lines changed Expand file tree Collapse file tree 2 files changed +9
-0
lines changed Original file line number Diff line number Diff line change @@ -35,3 +35,8 @@ variable "zones" {
35
35
variable "compute_engine_service_account" {
36
36
description = " The email address of the service account to associate with the GKE cluster"
37
37
}
38
+
39
+ variable "cluster_resource_labels" {
40
+ type = " map"
41
+ description = " Map containing cluster labels. Maximum of 64 labels"
42
+ }
Original file line number Diff line number Diff line change @@ -26,4 +26,8 @@ module "example" {
26
26
ip_range_pods = " ${ google_compute_subnetwork . main . secondary_ip_range . 0 . range_name } "
27
27
ip_range_services = " ${ google_compute_subnetwork . main . secondary_ip_range . 1 . range_name } "
28
28
compute_engine_service_account = " ${ var . compute_engine_service_account } "
29
+
30
+ cluster_resource_labels = {
31
+ created-by = " terraform"
32
+ }
29
33
}
You can’t perform that action at this time.
0 commit comments