Comments (7)
As is, this bug prevents using this module for major version upgrades.
from terraform-aws-elasticache-redis.
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.
from terraform-aws-elasticache-redis.
Any thoughts when this will be fixed?
from terraform-aws-elasticache-redis.
Maybe it can be fixed by adding depends_on block?
from terraform-aws-elasticache-redis.
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.
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.
@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)
- Support log delivery configuration
- invalid value for replication_group_id HOT 1
- Add aws_elasticache_user_group var HOT 1
- v0.43.0 should require aws >=4.0, because it uses root level "replicas_per_node_group"
- Module Fails if Description is not added.
- Upgrading from 0.39.0 to 0.44.0 fails with lots of errors HOT 4
- Use preferred_cache_cluster_azs for availability zones HOT 1
- Default `user_group_ids` conflicts with `auth_token` HOT 2
- Cannot Disable Cluster Mode HOT 1
- Option to set auto_minor_version_upgrade parameter
- Dualstack Redis cluster
- `host` output variable empty HOT 3
- `endpoint` output variable has no port HOT 3
- Enable encryption in transit preferred HOT 1
- random_password as auth_token rotation causes destroy and create because of transit_encryption handling != nuill HOT 1
- AWS API breaking change HOT 2
- An argument named "availability_zones" is not expected here. HOT 9
- Can't import existing aws_elasticache_replication_group without recreate resource HOT 3
- Unable to enable cluster mode HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from terraform-aws-elasticache-redis.