-
-
Notifications
You must be signed in to change notification settings - Fork 251
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 variables for parameter_group_name and parameter_group_create_on_destroy #189
Conversation
Can we get this merged? @goruha |
/test all |
1 similar comment
/test all |
@joshuabaird thanks for the PR variables are not allowed in the
and in the please also run the following commands:
and commit the changes (GitHub token has been chamged in GH workflows, and the command thank you |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
please see comments
I see that Terratest is failing, but this code does work. I'm using it. I'll take a look at your suggestion. |
@joshuabaird Yes. We have so issue with our test infrastructure. |
6f50103
to
4888371
Compare
Thinking about this more, I don't think we need to parameterize the lifecycle in the first place. I think this is easily solved by always setting |
what
This PR adds two new variables:
parameter_group_name
parameter_group_create_before_destroy
why
This module doesn't currently support major version upgrades of Redis (eg, 6.x to. 7.x) because:
var.family
fromredis6
toredis7
, Terraform needs to create a new parameter group. Withoutcreate_before_destroy
, Terraform tries to first destroy the old Param group which fails because it's currently in useredis7
, it fails because it tries to do so using the same name as the old param group.references
true
#178