We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b54d462 commit 8270f55Copy full SHA for 8270f55
main.tf
@@ -18,7 +18,7 @@ locals {
18
projectId = data.google_client_config.current.project
19
projectNumber = data.google_project.current.number
20
region = data.google_client_config.current.region
21
- zones = distinct(concat(var.machine_zones, [data.google_client_config.current.zone]))
+ zones = distinct(concat(var.machine_zones, data.google_client_config.current.zone != null ? [data.google_client_config.current.zone] : [] ))
22
runnerLabel = join(",", var.github_runner_labels)
23
runnerLabelInstanceTemplate = length(var.github_runner_labels) == 0 ? "" : format("--no-default-labels --labels '%s'", local.runnerLabel)
24
hasEnterprise = length(var.github_enterprise) > 0
0 commit comments