Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Valkey support to ElastiCache CacheCluster #4771

Open
flostadler opened this issue Nov 14, 2024 · 0 comments
Open

Add Valkey support to ElastiCache CacheCluster #4771

flostadler opened this issue Nov 14, 2024 · 0 comments
Labels
blocked The issue cannot be resolved without 3rd party action. kind/enhancement Improvements or new features

Comments

@flostadler
Copy link
Contributor

Currently the ElastiCache CacheCluster resource does not support the Valkey engine. Instead it only supports redis and memcached.
Support for this is currently blocked on AWS APIs not accepting the engine type valkey in the CreateCacheCluster API call.

This upstream issue (hashicorp/terraform-provider-aws#39905) tracks support for this. Once it's released in the upstream terraform provider we can release it as part of pulumi-aws.

As a workaround you can use the ElastiCache ReplicationGroup resource to deploy Valkey cache cluster today. By setting numCacheClusters to one, it creates a single node cluster.

import * as aws from "@pulumi/aws";

const valkey = new aws.elasticache.ReplicationGroup("valkey-test", {
    description: "valkey cluster",
    nodeType: "cache.m4.large",
    numCacheClusters: 1,
    engine: "valkey",
    port: 6379,
});
@flostadler flostadler added blocked The issue cannot be resolved without 3rd party action. kind/enhancement Improvements or new features labels Nov 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
blocked The issue cannot be resolved without 3rd party action. kind/enhancement Improvements or new features
Projects
None yet
Development

No branches or pull requests

1 participant