Hello community :wave: Is there any way to enable...
# aws
s
Hello community πŸ‘‹ Is there any way to enable encryption, backup, and other options that are visible when using AWS console to create
Redis Elasticeche instance
? https://www.pulumi.com/registry/packages/aws/api-docs/elasticache/cluster/ I can’t find options to enable encryption and backup for
aws.elasticache.Cluster
βœ… 1
Also, when I create elasticache redis instance through pulumi, primary endpoint is not shown in console. This is my code:
Copy code
const cluster = new aws.elasticache.Cluster('redis', {
  clusterId: 'redis-test',
  engine: 'redis',
  engineVersion: '6.x',
  nodeType: 'cache.t3.small',
  numCacheNodes: 1,
  parameterGroupName: 'default.redis6.x',
  port: 6379,
  maintenanceWindow: 'Mon:07:00-Mon:08:00',
  subnetGroupName: subnet.id,
  securityGroupIds: [securityGroup.id]
});
Primary endpoint is blank. When I create elasticache instance without pulumi that endpoint is shown
b
@sparse-spring-91820 backups are handled using the snapshot paramters
s
@billowy-army-68599 Thanks for the quick answer! So encryption can be enabled only when using
ReplicationGroup
and not
Cluster
?
b
correct
s
Thanks πŸ™Œ Maybe that is also the reason I get blank primary endpoint field, because I used Cluster instead of ReplicationGroup?
b
you don't get a primary endpoint because you created a one node cluster
πŸ™Œ 1