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
aws_elasticache_replication_group fails to add, modify, delete tags on existing resource #1615
Comments
I'm seeing the same: On replication group creation, tags are applied to all replicas; Changing tags on an existing replication group doesn't work. Defining replicas using |
I can confirm this bug is still present in 1.31.0 😞 |
Hey, This bug is still there in Terraform v0.11.8 and provider.aws v1.39.0. |
+1 |
experiencing the same issue with provider.aws v1.40 |
This bug still exists when I try to update tags for the node of aws_elasticache_replication_group: Terraform will perform the following actions: ~ module.redis.aws_elasticache_replication_group.tr-redis-repl Plan: 0 to add, 1 to change, 0 to destroy. Do you want to perform these actions? Enter a value: yes module.redis.aws_elasticache_replication_group.tr-redis-repl: Modifying... (ID: tr-redis-repl) Apply complete! Resources: 0 added, 1 changed, 0 destroyed. version info:
|
Any progress on this? |
Hi @httpstergeek - we've looked into this further, and the ability to modify tags in replication group members is not supported by the AWS API. As a general rule, we are only able to commit to providing functionality in Terraform that maps to what is supported by the underlying APIs, so the ability to modify tags in Terraform isn't something that we plan to add at this point. |
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. If you feel this issue should be reopened, we encourage creating a new issue linking back to this one for added context. Thanks! |
Terraform Version
Terraform v0.10.3
Affected Resource(s)
AWS Provider
Terraform Configuration Files
Original aws_elasticache_replication_group is created without tags with no tags. Resource is then updated with tags.
Terraform output
Expected Behavior
When updating an aws_elasticache_replication_group existing tags or with new tags node associated with replication group will modify, add, or delete.
Actual Behavior
When updating an aws_elasticache_replication_group tags are not updated. Terraform state is updated with new tags however tags are not updated on nodes associated with replication group.
Steps to Reproduce
Please list the steps required to reproduce the issue, for example:
terraform apply
terraform apply
Factoid
Tags are correctly applied only during creation of resource.
The text was updated successfully, but these errors were encountered: