Skip to content

Commit d355c3d

Browse files
committed
Fix
1 parent 11f7185 commit d355c3d

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

incus/infrastructure.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@ resource "incus_instance" "instances" {
123123
}
124124

125125
dynamic "device" {
126-
for_each = local.config_git_url_is_local && contains(each.value.tags, "puppet") ? { puppetenv = local.config_git_url_host_path } : {}
126+
for_each = contains(each.value.tags, "puppet") && local.config_git_url_is_local ? { puppetenv = local.config_git_url_host_path } : {}
127127
content {
128128
type = "disk"
129129
name = "puppetenv"

0 commit comments

Comments
 (0)