We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 22cacfd + f647dac commit 675c87bCopy full SHA for 675c87b
1 file changed
incus/infrastructure.tf
@@ -157,8 +157,8 @@ locals {
157
158
post_inventory = { for host, values in local.inventory :
159
host => merge(values, {
160
- local_ip = incus_instance.instances[host].ipv4_address,
161
- public_ip = incus_instance.instances[host].ipv4_address,
+ local_ip = try(incus_instance.instances[host].ipv4_address, ""),
+ public_ip = try(incus_instance.instances[host].ipv4_address, ""),
162
})
163
}
164
0 commit comments