Skip to content

Commit 675c87b

Browse files
authored
Merge pull request #397 from ComputeCanada/incus-post_issue
Fix issue #396
2 parents 22cacfd + f647dac commit 675c87b

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
@@ -157,8 +157,8 @@ locals {
157157

158158
post_inventory = { for host, values in local.inventory :
159159
host => merge(values, {
160-
local_ip = incus_instance.instances[host].ipv4_address,
161-
public_ip = incus_instance.instances[host].ipv4_address,
160+
local_ip = try(incus_instance.instances[host].ipv4_address, ""),
161+
public_ip = try(incus_instance.instances[host].ipv4_address, ""),
162162
})
163163
}
164164

0 commit comments

Comments
 (0)