[Bug]: elasticache_serverless_cache fails to modify the snapshot_retention_limit #37499
Labels
bug
Addresses a defect in current functionality.
service/elasticache
Issues and PRs that pertain to the elasticache service.
Terraform Core Version
1.6.6
AWS Provider Version
5.37.0
Affected Resource(s)
Expected Behavior
After running terraform apply trying to disable the snapshots on an existing aws_elasticache_serverless_cache resource, the system should modify the resource and not result in an error.
Actual Behavior
The apply was not succeeded and it returned an error ("InvalidParameterCombination: Serverless Cache modifications only support modifying one field per request").
I've tried to replicate the same API_ModifyServerlessCache via AWS CLI, and I've got success only if I've removed the
UserGroupId
from the request (even though it is not part of the changes on Terraform plan).From the AWS Documentation, there is no reference about possible constraints about this.
Relevant Error/Panic Output Snippet
Terraform Configuration Files
Steps to Reproduce
snapshot_retention_limit
Debug Output
Panic Output
No response
Important Factoids
No response
References
No response
Would you like to implement a fix?
No
The text was updated successfully, but these errors were encountered: