Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tags: Ignored tags not handled correctly if present on resource or default tags #39733

Open
gdavison opened this issue Oct 15, 2024 · 1 comment
Labels
bug Addresses a defect in current functionality.

Comments

@gdavison
Copy link
Contributor

Terraform Core Version

N/A

AWS Provider Version

5.72.0

Affected Resource(s)

All tagged resources

Expected Behavior

If a tag is in the provider configuration's ignore_tags and either a resources tags or the provider's default_tags, it should not be set on the resource when creating or updating.

Actual Behavior

For all tagged resources, the tag will be set when created.

For resources that pass the result of getTagsIn directly to the UpdateInput, it will also be modified during update. For other resources, further changes will be ignored.

Relevant Error/Panic Output Snippet

No response

Terraform Configuration Files

See generated tag tests

Steps to Reproduce

See generated tag tests

Debug Output

No response

Panic Output

No response

Important Factoids

No response

References

No response

Would you like to implement a fix?

None

@gdavison gdavison added the bug Addresses a defect in current functionality. label Oct 15, 2024
Copy link

Community Note

Voting for Prioritization

  • Please vote on this issue by adding a 👍 reaction to the original post to help the community and maintainers prioritize this request.
  • Please see our prioritization guide for information on how we prioritize.
  • Please do not leave "+1" or other comments that do not add relevant new information or questions, they generate extra noise for issue followers and do not help prioritize the request.

Volunteering to Work on This Issue

  • If you are interested in working on this issue, please leave a comment.
  • If this would be your first contribution, please review the contribution guide.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Addresses a defect in current functionality.
Projects
None yet
Development

No branches or pull requests

1 participant