Skip to content

Commit f647dac

Browse files
committed
Fix issue #396
1 parent bc04fa5 commit f647dac

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

incus/infrastructure.tf

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -154,8 +154,8 @@ locals {
154154

155155
post_inventory = { for host, values in local.inventory :
156156
host => merge(values, {
157-
local_ip = incus_instance.instances[host].ipv4_address,
158-
public_ip = incus_instance.instances[host].ipv4_address,
157+
local_ip = try(incus_instance.instances[host].ipv4_address, ""),
158+
public_ip = try(incus_instance.instances[host].ipv4_address, ""),
159159
})
160160
}
161161

0 commit comments

Comments
 (0)