Skip to content

Commit 857c04d

Browse files
committed
statically provide map value for fixture
1 parent e5dffcf commit 857c04d

File tree

2 files changed

+9
-0
lines changed

2 files changed

+9
-0
lines changed

test/fixtures/shared/variables.tf

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,3 +35,8 @@ variable "zones" {
3535
variable "compute_engine_service_account" {
3636
description = "The email address of the service account to associate with the GKE cluster"
3737
}
38+
39+
variable "cluster_resource_labels" {
40+
type = "map"
41+
description = "Map containing cluster labels. Maximum of 64 labels"
42+
}

test/fixtures/simple_regional/example.tf

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,4 +26,8 @@ module "example" {
2626
ip_range_pods = "${google_compute_subnetwork.main.secondary_ip_range.0.range_name}"
2727
ip_range_services = "${google_compute_subnetwork.main.secondary_ip_range.1.range_name}"
2828
compute_engine_service_account = "${var.compute_engine_service_account}"
29+
30+
cluster_resource_labels = {
31+
created-by = "terraform"
32+
}
2933
}

0 commit comments

Comments
 (0)