Skip to content

aws_elasticache_parameter_group should have create_before_destroy set to true #178

Closed
@sherifkayad

Description

@sherifkayad

Found a bug? Maybe our Slack Community can help.

Slack Community

Describe the Bug

While attempting to upgrade to Redis version 6.2 on AWS, I tried renaming the family and I got an error as follows:

Error: error deleting ElastiCache Parameter Group (my-redis): InvalidCacheParameterGroupState: One or more cache clusters are still members of this parameter group my-redis, so the group cannot be deleted.
│       status code: 400, request id: 84aa3858-e72d-47ca-92c3-3b33e7093a87

Expected Behavior

The upgrade should go through and the new parameter group should be created first

Steps to Reproduce

Steps to reproduce the behavior:

  1. Go to '...'
  2. Run '....'
  3. Enter '....'
  4. See error

Screenshots

If applicable, add screenshots or logs to help explain your problem.

Environment (please complete the following information):

Anything that will help us triage the bug will help. Here are some ideas:

  • OS: [e.g. Linux, OSX, WSL, etc]
  • Version [e.g. 10.15]

Additional Context

Add any other context about the problem here.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bug🐛 An issue with the system

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions