s

    sparse-spring-91820

    2 months ago
    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
    Also, when I create elasticache redis instance through pulumi, primary endpoint is not shown in console. This is my 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

    billowy-army-68599

    2 months ago
    @sparse-spring-91820 backups are handled using the snapshot paramters
    s

    sparse-spring-91820

    2 months ago
    @billowy-army-68599 Thanks for the quick answer! So encryption can be enabled only when using
    ReplicationGroup
    and not
    Cluster
    ?
    b

    billowy-army-68599

    2 months ago
    correct
    s

    sparse-spring-91820

    2 months ago
    Thanks πŸ™Œ Maybe that is also the reason I get blank primary endpoint field, because I used Cluster instead of ReplicationGroup?
    b

    billowy-army-68599

    2 months ago
    you don't get a primary endpoint because you created a one node cluster