Open james-flwls opened 3 months ago
Voting for Prioritization
Volunteering to Work on This Issue
So it seems that the problem happens when the new definition becomes active. The old definition has the correct tags.
I think this is a duplicate of https://github.com/hashicorp/terraform-provider-aws/issues/37254
Possibly a duplicate - its a bit unclear on that ticket if its the same. It implies its related to tags_all and not having any tags on the resource. It is a tag issue on aws_batch_job_definition
so likely to be related
Is there any idea if this bug will be picked up - would be good to get a fix in as we can't propogate tags at the moment
Terraform Core Version
v1.8.5
AWS Provider Version
v5.54.1
Affected Resource(s)
Expected Behavior
Any tags are reflected in AWS
Actual Behavior
Tags are only added if there is at least one tag in AWS for the batch definition
Relevant Error/Panic Output Snippet
Terraform Configuration Files
Steps to Reproduce
Running a plan / apply when there are no existsing tags
AWS is missing all tags including from
tags_all
If I then create a manual tag in AWS
Environment = foo
Running plan / apply
All tags are now present correctly
Debug Output
No response
Panic Output
No response
Important Factoids
No response
References
No response
Would you like to implement a fix?
No