Skip to content

Commit

Permalink
Fix output
Browse files Browse the repository at this point in the history
  • Loading branch information
ciiiii committed May 17, 2024
1 parent d4b3f3e commit 3d6215e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion outputs.tf
Original file line number Diff line number Diff line change
Expand Up @@ -49,5 +49,5 @@ output "external_secrets_sa_email" {
}

output "node_pool_azs" {
value = len(var.node_pool_locations) > 0 ? var.node_pool_locations : try(module.gke[0].zones, module.gke_private[0].zones)
value = len(var.node_pool_locations) != "" ? split(",", var.node_pool_locations) : try(module.gke[0].zones, module.gke_private[0].zones)
}

0 comments on commit 3d6215e

Please sign in to comment.