diff --git a/main.tf b/main.tf index 6c09c9b..ab96ce9 100644 --- a/main.tf +++ b/main.tf @@ -23,7 +23,7 @@ resource "aws_elasticache_replication_group" "default" { # If automatic_failover_enabled is true, the value of this parameter must be at least 2. # The maximum permitted value for number_cache_clusters is 6 (1 primary plus 5 replicas). # https://docs.aws.amazon.com/AmazonElastiCache/latest/red-ug/Scaling.RedisReplGrps.html - number_cache_clusters = var.number_cache_clusters + num_cache_clusters = var.number_cache_clusters # The compute and memory capacity of the nodes in the node group (shard). # Generally speaking, the current generation types provide more memory and computational power at lower cost @@ -89,7 +89,7 @@ resource "aws_elasticache_replication_group" "default" { apply_immediately = var.apply_immediately # A user-created description for the replication group. - replication_group_description = var.description + description = var.description # A mapping of tags to assign to the resource. tags = merge({ "Name" = var.name }, var.tags)