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

Issue managing 6.x clusters #88

Closed
andrewward opened this issue Nov 6, 2020 · 6 comments
Closed

Issue managing 6.x clusters #88

andrewward opened this issue Nov 6, 2020 · 6 comments
Labels
bug 🐛 An issue with the system

Comments

@andrewward
Copy link

When creating a cluster you have to specify 6.x as the engine_version otherwise you get this error:

Error creating Elasticache Replication Group: InvalidParameterValue: Specific version selection is not allowed for '6.0.5', please use '6.x'

After creating the cluster using 6.x subsiquent runs fail with the following error until you update engine_version to 6.0.5:

error updating Elasticache Replication Group (harbor-cache): InvalidParameterCombination: Upgrading minor engine version for redis '6.x' using modify API is not allowed, please use Service Updates
@andrewward andrewward added the bug 🐛 An issue with the system label Nov 6, 2020
@Xyaren
Copy link

Xyaren commented Jan 8, 2021

Manually setting the engine_version to 6.0.5 after creating the cluster with 6.x will stop including it in consequent plans.
This is probably a workaround with limited lifetime, as any update of the minor/micro version by aws will probably result in plans failing.

@cocotton
Copy link

Related: hashicorp/terraform-provider-aws#15625

@jseiser
Copy link

jseiser commented Apr 21, 2021

The previous related issue was closed, and a new one is in place.

Related: hashicorp/terraform-provider-aws#18920

This PR adds validation and handling to the engine_version parameter to specify it as needed by the API. It also adds the parameter engine_version_actual to output the actual in-use version. Additionally, in aws_elasticache_global_replication_group, it deprecates actual_engine_version in favour of engine_version_actual.

@jseiser
Copy link

jseiser commented Apr 27, 2021

This should be fixed in the next provider: 3.38.0

https://github.com/hashicorp/terraform-provider-aws/blob/main/CHANGELOG.md

@guidoilbaldo
Copy link

I've tested the creation of a redis6.x cluster this morning with the latest AWS provider for TF version 3.38.0. It worked like a charm. The issue can be closed.
Thank you!

@andrewward
Copy link
Author

Thanks for confirming @guidoilbaldo!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug 🐛 An issue with the system
Projects
None yet
Development

No branches or pull requests

5 participants