Open YishaqG opened 1 year ago
UPDATE_ROLLBACK_COMPLETE: Cluster mode updates are not supported while attempting to update additional properties.
This seems to be a restrict from CloudFormation or Elasticache for Redis. And you might have to change the cluster mode enabled(CME) to cluster mode disabled(CMD) before you are allowed to modify the properties but I am not 100% sure about that and I would suggest to try it in a testing environment first.
https://docs.aws.amazon.com/AmazonElastiCache/latest/red-ug/modify-cluster-mode.html
This issue has not received a response in a while. If you want to keep this issue open, please leave a comment below and auto-close will be canceled.
Hi @pahud, thank you for your help. I try deleting the cluster and creating it with the logs configuration, and it failed but with another error:
CREATE_FAILED | AWS::ElastiCache::ReplicationGroup | CacheReplicationGroup
Failed to enable log delivery for log type engine-log. Error: Destination log group redis-elasticache does not exist.
I would try adding the log destination. But I believe that this is a bug, enabling log configuration from the AWS Console works without problem
This is an old issue, but for anyone else experiencing the same problem it can be resolved by ensuring your clusterMode
parameter is completely lowercase.
It appears to be inaccurate CFN documentation for ClusterMode:
The schema resource type AWS::ElastiCache::ReplicationGroup handles looks like using lower case values "enabled or disabled" instead of documented "Enabled or Disabled".
I tested using lower case "enabled" in template allows required update of other properties to be invoked...
Describe the bug
From the following configuration of Redis Cluster
Adding the following
logDeliveryConfigurations
either withengine-log
orslow-log
causes a deployment failure with the messageUPDATE_ROLLBACK_COMPLETE: Cluster mode updates are not supported while attempting to update additional properties.
Expected Behavior
A Redis cluster update with a log delivery configuration enabled.
Current Behavior
Deployment fails
Reproduction Steps
1Add
logDeliveryConfiguration
to the following redis replication group configPossible Solution
No response
Additional Information/Context
Thank you for your help
CDK CLI Version
2.85.0
Framework Version
2.85.0
Node.js Version
16.18.0
OS
macOS 13.4.1
Language
Typescript
Language Version
4.9.5
Other information
No response