We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 11f7185 commit d355c3dCopy full SHA for d355c3d
1 file changed
incus/infrastructure.tf
@@ -123,7 +123,7 @@ resource "incus_instance" "instances" {
123
}
124
125
dynamic "device" {
126
- for_each = local.config_git_url_is_local && contains(each.value.tags, "puppet") ? { puppetenv = local.config_git_url_host_path } : {}
+ for_each = contains(each.value.tags, "puppet") && local.config_git_url_is_local ? { puppetenv = local.config_git_url_host_path } : {}
127
content {
128
type = "disk"
129
name = "puppetenv"
0 commit comments