We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent bc04fa5 commit f647dacCopy full SHA for f647dac
1 file changed
incus/infrastructure.tf
@@ -154,8 +154,8 @@ locals {
154
155
post_inventory = { for host, values in local.inventory :
156
host => merge(values, {
157
- local_ip = incus_instance.instances[host].ipv4_address,
158
- 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, ""),
159
})
160
}
161
0 commit comments