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

How to activate Multi-AZ option. #104

Closed
zhixiangjoy opened this issue Jan 26, 2021 · 4 comments · Fixed by #133
Closed

How to activate Multi-AZ option. #104

zhixiangjoy opened this issue Jan 26, 2021 · 4 comments · Fixed by #133
Labels
bug 🐛 An issue with the system

Comments

@zhixiangjoy
Copy link

zhixiangjoy commented Jan 26, 2021

Describe the Bug

By default, I create a redis cluster, but I can't find how to active the Multi-Az option.
image

Expected Behavior

How can I do it , Thanks a lot !

@zhixiangjoy zhixiangjoy added the bug 🐛 An issue with the system label Jan 26, 2021
@siozosdr
Copy link

siozosdr commented Feb 12, 2021

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...
#109

@gregory
Copy link

gregory commented Feb 15, 2021

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...

@patrick-armitage
Copy link

@gregory not sure what's going on here, maybe a Terraform version issue? Here's their own doc with that arg for reference:

https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/elasticache_replication_group#multi_az_enabled

@markbaird
Copy link

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.

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

Successfully merging a pull request may close this issue.

5 participants