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

bug: ElastiCache create-replication-group replica will always be created #10824

Open
1 task done
rimokuto opened this issue May 15, 2024 · 0 comments
Open
1 task done
Labels
aws:elasticache Amazon ElastiCache status: backlog Triaged but not yet being worked on type: bug Bug report

Comments

@rimokuto
Copy link

Is there an existing issue for this?

  • I have searched the existing issues

Current Behavior

I always create one replica even if I specify replicas-per-node-group 0 in the elasticache create-replication-group command.

Expected Behavior

No slave is created.

How are you starting LocalStack?

With a docker-compose file

Steps To Reproduce

How are you starting localstack (e.g., bin/localstack command, arguments, or docker-compose.yml)

docker-compose.yml

services:
  localstack:
    container_name: "${LOCALSTACK_DOCKER_NAME:-localstack-main}"
    image: localstack/localstack-pro
    ports:
      - "4510-4521:4510-4521"
      - "4566:4566"
    environment:
      - LOCALSTACK_AUTH_TOKEN=${LOCALSTACK_AUTH_TOKEN:-}
      - DOCKER_HOST=unix:///var/run/docker.sock
    volumes:
      - "/var/run/docker.sock:/var/run/docker.sock"
      - "${LOCALSTACK_VOLUME_DIR:-/var/lib/localstack}:/var/lib/localstack"

Client commands (e.g., AWS SDK code snippet, or sequence of "awslocal" commands)

awslocal elasticache create-replication-group \
  --engine redis \
  --replication-group-id my-clustered-redis-replication-group \
  --replication-group-description 'my clustered replication group' \
  --cache-node-type cache.t2.micro \
  --num-node-groups 2 \
  --replicas-per-node-group 0

Environment

- OS: WSL Ubuntu-20.04 on Windows 11
- LocalStack: latest(3.4.0)

Anything else?

No response

@rimokuto rimokuto added status: triage needed Requires evaluation by maintainers type: bug Bug report labels May 15, 2024
@Anze1508 Anze1508 added aws:elasticache Amazon ElastiCache status: backlog Triaged but not yet being worked on and removed status: triage needed Requires evaluation by maintainers labels May 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
aws:elasticache Amazon ElastiCache status: backlog Triaged but not yet being worked on type: bug Bug report
Projects
None yet
Development

No branches or pull requests

2 participants