Skip to content

Commit

Permalink
Export nodepool zones
Browse files Browse the repository at this point in the history
  • Loading branch information
ciiiii committed May 17, 2024
1 parent 24b7b19 commit d4b3f3e
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions outputs.tf
Original file line number Diff line number Diff line change
Expand Up @@ -47,3 +47,7 @@ output "external_dns_manager_sa_email" {
output "external_secrets_sa_email" {
value = try(module.external_secrets_sa[0].gcp_service_account_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)
}

0 comments on commit d4b3f3e

Please sign in to comment.