dummy-module: add outputs like public_ips or hostnames
Signed-off-by: Jakub Sokołowski <jakub@status.im>
This commit is contained in:
parent
6c7e3384e5
commit
28dc376b8a
|
@ -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)
|
||||
}
|
Loading…
Reference in New Issue