mirror of
https://github.com/status-im/infra-nimbus.git
synced 2025-01-28 22:46:38 +00:00
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
11
modules/dummy-module/outputs.tf
Normal file
11
modules/dummy-module/outputs.tf
Normal 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)
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user