-
Notifications
You must be signed in to change notification settings - Fork 9.2k
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
resource/aws_elasticache_replication_group: Migrate from availability_zones TypeSet attribute to preferred_availability_zones TypeList attribute #5104
Comments
There are two separate feature requests here, so we should clarify this issue as one or the other (creating a separate issue as necessary). This error is returning from the Elasticache API:
The reason this is occurring is because the
So to explicitly configure For Redis Cluster Mode Enabled replication groups (e.g. when using |
Thanks @bflad for that insight. Apparently I borrowed the I created a second feature request (#5118) for supporting setting AZ in NodeGroupConfiguration, I personally do not need it at the moment, but I imagine it would be nice to have in some situations. IMO, how "cheap" it would be to port over to port over what you did for |
We're also running into this issue. |
If we setup Redis Cluster (Cluster mode enabled) using Terraform, then currently terraform do not have ability to set single availability zone while it is doable directly via AWS console. It will be great if this can be done by terraform. Because if we create cluster nodes in same availability zone(Same as server) then we can save data transfer cost. |
Is there any work-a-round for this? |
As @bflad noted above, this issue combines two separate feature requests. I've created #18438 to add a corrected Since we now have two specific issues to track the work separately, I'm going to close this issue. |
I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues. If you feel this issue should be reopened, we encourage creating a new issue linking back to this one for added context. Thanks! |
This bug is very similar to #4741 but is for the other ElastiCache resource ("aws_elasticache_replication_group" vs "aws_elasticache_cluster")
I'm trying to create 2 primary shards with 1 read replica each.
I got the following error when terraform applying:
Note, by excluding the
availability_zones
attribute in the resource, you can workaround this and deploy a multi-shard Redis cluster with read replicas across multiple AZs.The text was updated successfully, but these errors were encountered: