-
-
Notifications
You must be signed in to change notification settings - Fork 253
Closed
Labels
bug🐛 An issue with the system🐛 An issue with the system
Description
Found a bug? Maybe our Slack Community can help.
Describe the Bug
Module fails to create Clustered Redis
elasticache resource with error:
module.subnets.aws_nat_gateway.default[1]: Still creating... [1m50s elapsed]
module.subnets.aws_nat_gateway.default[0]: Still creating... [1m50s elapsed]
module.subnets.aws_nat_gateway.default[0]: Creation complete after 1m57s [id=]
module.subnets.aws_nat_gateway.default[1]: Creation complete after 1m57s [id=]
module.subnets.aws_route.default[1]: Creating...
module.subnets.aws_route.default[0]: Creating...
module.subnets.aws_route.default[0]: Creation complete after 1s [id=]
module.subnets.aws_route.default[1]: Creation complete after 1s [id=]
Error: Either `number_cache_clusters` or `cluster_mode` must be set
on ../../main.tf line 81, in resource "aws_elasticache_replication_group" "default":
81: resource "aws_elasticache_replication_group" "default" {
Expected Behavior
Successful creation of Clustered Redis
resource when var.cluster_mode_enabled=true
Steps to Reproduce
Steps to reproduce the behavior:
- Clone repo
- Update
cluster_mode_enabled
default=true
- Update
cluster_mode_replicas_per_node_group
default=1
- Update
cluster_mode_num_node_groups
default=3
Screenshots
If applicable, add screenshots or logs to help explain your problem.
Environment (please complete the following information):
Mac OS
Terraform v0.12.23
+ provider.aws v2.53.0
+ provider.local v1.4.0
+ provider.null v2.1.2
+ provider.template v2.1.2
Additional Context
plan.txt
Add any other context about the problem here.
Metadata
Metadata
Assignees
Labels
bug🐛 An issue with the system🐛 An issue with the system