dummy-module: add outputs like public_ips or hostnames

Signed-off-by: Jakub Sokołowski <jakub@status.im>
This commit is contained in:
Jakub Sokołowski 2021-10-04 12:54:17 +02:00
parent 6c7e3384e5
commit 28dc376b8a
No known key found for this signature in database
GPG Key ID: 4EF064D0E6D63020
1 changed files with 11 additions and 0 deletions

View File

@ -0,0 +1,11 @@
output "public_ips" {
value = var.ips
}
output "hostnames" {
value = values(local.hostnames)
}
output "hosts" {
value = zipmap(values(local.hostnames), var.ips)
}