Skip to content

Commit

Permalink
statically provide map value for fixture
Browse files Browse the repository at this point in the history
  • Loading branch information
emalloy committed Mar 26, 2019
1 parent e5dffcf commit 857c04d
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
5 changes: 5 additions & 0 deletions test/fixtures/shared/variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -35,3 +35,8 @@ variable "zones" {
variable "compute_engine_service_account" {
description = "The email address of the service account to associate with the GKE cluster"
}

variable "cluster_resource_labels" {
type = "map"
description = "Map containing cluster labels. Maximum of 64 labels"
}
4 changes: 4 additions & 0 deletions test/fixtures/simple_regional/example.tf
Original file line number Diff line number Diff line change
Expand Up @@ -26,4 +26,8 @@ module "example" {
ip_range_pods = "${google_compute_subnetwork.main.secondary_ip_range.0.range_name}"
ip_range_services = "${google_compute_subnetwork.main.secondary_ip_range.1.range_name}"
compute_engine_service_account = "${var.compute_engine_service_account}"

cluster_resource_labels = {
created-by = "terraform"
}
}

0 comments on commit 857c04d

Please sign in to comment.