community
                                
                                 community copied to clipboard
                                
                                    community copied to clipboard
                            
                            
                            
                        [ElastiCache] Cannot enable snapshotting after creation
Describe the bug If a redis cluster is created without snapshotting, it cannot be enabled within the object
Steps to reproduce
spec:
  atRestEncryptionEnabled: false
  cacheNodeType: cache.t3.micro
  cacheSubnetGroupName: SGNAME
  description: Redis node for user-service
  engine: redis
  numNodeGroups: 1
  replicasPerNodeGroup: 0
  replicationGroupID: NAME
  securityGroupIDs:
  - SGID
  snapshotWindow: 01:00-02:00
  transitEncryptionEnabled: false
Add snapshotRetentionLimit: 7
Results in:
  - status: "True"
    type: ACK.ResourceSynced
  - message: "InvalidParameterCombination: Must specify both SnapshotRetentionLimit
      and SnapshottingClusterId to turn on snapshots\n\tstatus code: 400, request
      id: f46f7981-6bc2-4322-965c-82177694acdf"
    status: "True"
    type: ACK.Terminal
Presumably either we need to be able to specify SnapshottingClusterId or it must be automatically calculated
Expected outcome
Snapshots enabled on the cluster.
Environment
- Kubernetes version? EKS, 1.28
- AWS service targeted? Elasticache
/cc @kumargauravsharma @aws-controllers-k8s/elasticache-maintainer
Issues go stale after 180d of inactivity.
Mark the issue as fresh with /remove-lifecycle stale.
Stale issues rot after an additional 60d of inactivity and eventually close.
If this issue is safe to close now please do so with /close.
Provide feedback via https://github.com/aws-controllers-k8s/community.
/lifecycle stale
/remove-lifecycle stale