Skip to content

Commit a451c71

Browse files
authored
Increasing replication Id format to 30 to fix yc message naming convention redis issue
1 parent 46b4698 commit a451c71

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("%.30s", "${var.name}-${var.env}")
10+
replication_group_id = format("%.40s", "${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)