Skip to content

Commit 44d5be2

Browse files
committed
add CLUSTER_RESOURCE_LABELS and value to ci tests
1 parent 9465170 commit 44d5be2

File tree

3 files changed

+3
-0
lines changed

3 files changed

+3
-0
lines changed

examples/simple_regional/variables.tf

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,7 @@ variable "cluster_resource_labels" {
5656
description = "Map containing cluster labels. Maximum of 64 labels"
5757

5858
default = {
59+
created-by = "terraform"
5960
}
6061

6162
}

test/ci/simple-regional.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,3 +16,4 @@ params:
1616
COMPUTE_ENGINE_SERVICE_ACCOUNT: ""
1717
REGION: "us-east4"
1818
ZONES: '["us-east4-a", "us-east4-b", "us-east4-c"]'
19+
CLUSTER_RESOURCE_LABELS: 'cluster_resource_labels={ created-by = "terraform" }'

test/ci_integration.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,7 @@ setup_environment() {
4343
export TF_VAR_credentials_path_relative="../shared/credentials.json"
4444
export TF_VAR_region="$REGION"
4545
export TF_VAR_zones="$ZONES"
46+
export TF_VAR_cluster_resource_labels="$CLUSTER_RESOURCE_LABELS"
4647
export TF_VAR_compute_engine_service_account="$COMPUTE_ENGINE_SERVICE_ACCOUNT"
4748
}
4849

0 commit comments

Comments
 (0)