Closed zhixiangjoy closed 2 years ago
it looks like the option was not added in the code. Basically the resource aws_elasticache_replication_group.default
is missing the option multi_az_enabled
. There is an open PR about it pending approval...
https://github.com/cloudposse/terraform-aws-elasticache-redis/pull/109
Pr #109 got merged but not working locally:
Acquiring state lock. This may take a few moments...
Error: Unsupported argument
on .terraform/modules/redis/main.tf line 91, in resource "aws_elasticache_replication_group" "default":
91: multi_az_enabled = var.multi_az_enabled
An argument named "multi_az_enabled" is not expected here.
Releasing state lock. This may take a few moments...
@gregory not sure what's going on here, maybe a Terraform version issue? Here's their own doc with that arg for reference:
I just ran into this as well. Here's the PR where it was added, you need the AWS provider 3.26.0 or later.
Describe the Bug
By default, I create a redis cluster, but I can't find how to active the Multi-Az option.![image](https://user-images.githubusercontent.com/15685217/105801898-1f231e00-5fd5-11eb-9bed-78d7adf55aa5.png)
Expected Behavior
How can I do it , Thanks a lot !