Jakub Sokołowski 28dc376b8a
dummy-module: add outputs like public_ips or hostnames
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2021-10-04 12:54:17 +02:00

12 lines
171 B
HCL

output "public_ips" {
value = var.ips
}
output "hostnames" {
value = values(local.hostnames)
}
output "hosts" {
value = zipmap(values(local.hostnames), var.ips)
}