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 advanceNo matter how you like to participate in developer communities, Pulumi wants to meet you there. If you want to meet other Pulumi users to share use-cases and best practices, contribute code or documentation, see us at an event, or just tell a story about something cool you did with Pulumi, you are part of our community.
Powered by