Skip to content

Commit

Permalink
s
Browse files Browse the repository at this point in the history
  • Loading branch information
tkerdoncuff committed Jan 24, 2024
1 parent 17bbe6f commit 0e3dc26
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions outputs.tf
Original file line number Diff line number Diff line change
Expand Up @@ -51,13 +51,11 @@ output "route_table_ids_private" {
}

output "nat_eip_id" {
# value = concat(values(aws_eip.quortex[*].allocation_id), values({ for k, v in var.nat_gateways : k => v if v.eip_allocation_id != null }[*].eip_allocation_id))
value = values(aws_eip.quortex[*].allocation_id)
value = concat(values(aws_eip.quortex)[*].allocation_id, [ for k, v in var.nat_gateways : v.eip_allocation_id if v.eip_allocation_id != null])
description = "The IDs of the Elastic IPs associated to the Quortex cluster External NAT Gateways."
}

output "nat_eip_address" {
#value = concat(values(aws_eip.quortex[*].public_ip), values(data.aws_eip.existing_eip[*].public_ip))
value = values(aws_eip.quortex[*].public_ip)
value = concat(values(aws_eip.quortex)[*].public_ip, values(data.aws_eip.existing_eip)[*].public_ip)
description = "The public addresses of the Elastic IP associated to the Quortex cluster External NAT Gateways."
}

0 comments on commit 0e3dc26

Please sign in to comment.