-
Notifications
You must be signed in to change notification settings - Fork 9.2k
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
Tagging on default resources not supported aws_elasticache_subnet_group #19213
Comments
Hi @Luminoth, thank you for reporting this! In the meantime I believe adding a resource "aws_elasticache_subnet_group" "default" {
name = "default"
description = "Default CacheSubnetGroup"
subnet_ids = data.aws_subnet_ids.public.ids
lifecycle {
ignore_changes = [tags_all["Name"]] # or more generally just tags_all since this resource won't have resource-level tags
}
} |
That workaround worked perfectly. Thank you! |
This has been released in version 3.42.0 of the Terraform AWS provider. Please see the Terraform documentation on provider versioning or reach out if you need any assistance upgrading. For further feature requests or bug reports with this functionality, please create a new GitHub issue following the template for triage. Thanks! |
I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues. |
Community Note
Terraform CLI and Terraform AWS Provider Version
Terraform v0.14.8
Affected Resource(s)
Terraform Configuration Files
Please include all Terraform configurations required to reproduce the bug. Bug reports without a functional reproduction may be closed without investigation.
Expected Behavior
I would expect Terraform to skip applying default tags to resources that can't have them.
Actual Behavior
Steps to Reproduce
terraform apply
Related:
The text was updated successfully, but these errors were encountered: