Giter Club home page Giter Club logo

Comments (7)

joshuabaird avatar joshuabaird commented on August 25, 2024 5

As is, this bug prevents using this module for major version upgrades.

from terraform-aws-elasticache-redis.

joshuabaird avatar joshuabaird commented on August 25, 2024 2

I have a PR open to fix this, but it has a bug and I haven't had the time to fix it yet. Will try to look at it soon.

#189

from terraform-aws-elasticache-redis.

grietine avatar grietine commented on August 25, 2024 1

Any thoughts when this will be fixed?

from terraform-aws-elasticache-redis.

ragumix avatar ragumix commented on August 25, 2024 1

Maybe it can be fixed by adding depends_on block?

from terraform-aws-elasticache-redis.

alexandrud avatar alexandrud commented on August 25, 2024 1

I believe the fix would be to add some random suffix so it creates a new param group name. This would force the creation of a new param group, move the cluster to the new param group and remove the old one. Like @joshuabaird said, this prevents major version upgrades as the family variable forces the param group to be recreated.

from terraform-aws-elasticache-redis.

evanstachowiak avatar evanstachowiak commented on August 25, 2024

It's actually a bit more complicated than just setting create_before_destroy. The parameter group name doesn't have the version name, so it will fail if create_before_destroy is set because it cannot create a new group with the same name.

from terraform-aws-elasticache-redis.

Legeril avatar Legeril commented on August 25, 2024

@joshuabaird @sherifkayad @evanstachowiak I fixed this in my own instance of the cloudposse code by making the replication group depend_on the param group. That way the create order is param group then replication group, and a destroy etc is the inverse

from terraform-aws-elasticache-redis.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.