Skip to content

Commit d62014d

Browse files
committed
fix: including labels in the config resources
1 parent 33fb872 commit d62014d

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
5151
- updated upload and download artifacts actions to v4
5252

5353
### Fixed
54+
- include labels in the config resources only if they are explicitly defined in the config
5455
- always assert state type when creating resources from state
5556
- do not break long file content lines
5657
- source TF_WORKING_DIR from env helper instead of process.env in locals helper

terraform/locals.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,7 @@ locals {
138138
name = name
139139
})
140140
]
141-
}
141+
} if contains(keys(config), "labels")
142142
] : lower("${item.repository}") => item
143143
}
144144
}

0 commit comments

Comments
 (0)