Skip to content

Commit b48eec4

Browse files
committed
wrong slashes
1 parent 0eb6c46 commit b48eec4

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 = replace(format("%.20s", "${var.name}-${var.env}"), "\-$\", "")
10+
replication_group_id = replace(format("%.20s", "${var.name}-${var.env}"), "/-$/", "")
1111
replication_group_description = "Terraform-managed ElastiCache replication group for ${var.name}-${var.env}"
1212
number_cache_clusters = var.redis_clusters
1313
node_type = var.redis_node_type

0 commit comments

Comments
 (0)