Skip to content

Commit 8865c2e

Browse files
committed
Update due to resource changes
1 parent c20893e commit 8865c2e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

main.tf

+2-2
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ resource "aws_elasticache_replication_group" "default" {
2323
# If automatic_failover_enabled is true, the value of this parameter must be at least 2.
2424
# The maximum permitted value for number_cache_clusters is 6 (1 primary plus 5 replicas).
2525
# https://docs.aws.amazon.com/AmazonElastiCache/latest/red-ug/Scaling.RedisReplGrps.html
26-
number_cache_clusters = var.number_cache_clusters
26+
num_cache_clusters = var.number_cache_clusters
2727

2828
# The compute and memory capacity of the nodes in the node group (shard).
2929
# Generally speaking, the current generation types provide more memory and computational power at lower cost
@@ -90,7 +90,7 @@ resource "aws_elasticache_replication_group" "default" {
9090
apply_immediately = var.apply_immediately
9191

9292
# A user-created description for the replication group.
93-
replication_group_description = var.description
93+
description = var.description
9494

9595
# A mapping of tags to assign to the resource.
9696
tags = merge({ "Name" = var.name }, var.tags)

0 commit comments

Comments
 (0)