Closed rstml closed 1 month ago
Ha! I just came to report this! Couple edge cases to add.
tags{}
statement is not present -> git_* tags are injected tags{}
statement is present without empty lines -> git_* tags are injected tags{}
statement is present with an empty line -> git_* tags are NOT injectedtags{}
statement is present with a manually entered tag -> git_* tags are NOT injectedworks
# tags from yor go here
works
# tags from yor go here
tags = {
}
NOT work
# tags from yor go here
tags = {
}
NOT work
# tags from yor go here
tags = {
SomeTag = "SomeValue"
}
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
Describe the bug
If
tags
field of a resource has a value that has been specified using a map{}
ormerge
function, thenyor
adds onlyyor_*
tag group but notgit_*
.To Reproduce Steps to reproduce the behaviour:
Here's
example.tf
:Result
Expected behavior
aws_athena_workgroup.processing
resource should getgit_*
tags, similarly how it has gotyor_*
tags.Screenshots If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):
Additional context
The behaviour doesn't change even if I specify tags without merge function, i.e. this will still exclude
git_*
tags: