Skip to content

Commit 5af4bcd

Browse files
authored
Fix issue labels (#165)
Regressed in c82ad07: Error: Unsupported attribute on locals.tf line 135, in locals: 135: ]) : lower("${item.repository}:${item.label}") => item This object does not have an attribute named "label".
1 parent aeed67c commit 5af4bcd

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

terraform/locals.tf

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -127,12 +127,12 @@ locals {
127127
"this" = {
128128
for item in flatten([
129129
for repository, config in lookup(local.config, "repositories", {}) : [
130-
for label, config in lookup(config, "labels", {}) : merge(config, {
130+
for name, config in lookup(config, "labels", {}) : merge(config, {
131131
repository = repository
132-
label = label
132+
name = name
133133
})
134134
]
135-
]) : lower("${item.repository}:${item.label}") => item
135+
]) : lower("${item.repository}:${item.name}") => item
136136
}
137137
}
138138
}

0 commit comments

Comments
 (0)