Skip to content

Commit 46b4698

Browse files
authored
Merge pull request #2 from yaradigitallabs/Fix/redis-id
Increasing replication Id format to 30 to fix yaraconnect naming convention redis issue
2 parents d954bda + e5d82ed commit 46b4698

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

main.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ resource "random_id" "salt" {
77
}
88

99
resource "aws_elasticache_replication_group" "redis" {
10-
replication_group_id = format("%.20s", "${var.name}-${var.env}")
10+
replication_group_id = format("%.30s", "${var.name}-${var.env}")
1111
description = "Terraform-managed ElastiCache replication group for ${var.name}-${var.env}"
1212
num_cache_clusters = var.redis_clusters
1313
node_type = var.redis_node_type

0 commit comments

Comments
 (0)