-
Notifications
You must be signed in to change notification settings - Fork 3.9k
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: setting logDeliveryConfigurations in clusterMode: "Disabled" fails #26294
Comments
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
|
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
The text was updated successfully, but these errors were encountered: