wonderful-lock-17109
10/09/2023, 5:17 PMnew ReplicationGroup("test-cache", new ReplicationGroupArgs
{
Description = $"test-cache",
Engine = "redis",
NodeType = cache.t2.micro,
ParameterGroupName = "default.redis6.x.cluster.on",
AtRestEncryptionEnabled = true
MultiAzEnabled = false,
NumNodeGroups = 1,
ReplicasPerNodeGroup = 1,
DataTieringEnabled = false,
EngineVersion = "6.2",
AutomaticFailoverEnabled = true,
SubnetGroupName = subnetGroup.Name,
Port = 6379,
AutoMinorVersionUpgrade = true,
SecurityGroupIds = new[] { securityGroup.Id },
MaintenanceWindow = "fri:08:00-fri:09:00"
},
new CustomResourceOptions { DependsOn = new Resource[] { securityGroup, subnetGroup } });
But when i try to enable automatic backups using this code
SnapshotWindow = "05:30-06:30",
SnapshotRetentionLimit = 1,
it fails giving an error
InvalidParameterCombination: Cannot set snapshotting cluster for cluster mode enabled replication group.
I tried enabling automatic backups to resource created by pulumi using the console and it works fine.
What am I missing here? any insight would be helpful.
Thank you in advance