Closed andrewward closed 3 years ago
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.
The previous related
issue was closed, and a new one is in place.
Related: https://github.com/hashicorp/terraform-provider-aws/pull/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.
This should be fixed in the next provider: 3.38.0
https://github.com/hashicorp/terraform-provider-aws/blob/main/CHANGELOG.md
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!
Thanks for confirming @guidoilbaldo!
When creating a cluster you have to specify 6.x as the
engine_version
otherwise you get this error:After creating the cluster using
6.x
subsiquent runs fail with the following error until you updateengine_version
to6.0.5
: