From e914e01ff58e39af8c6ea2968a0b7cccfaa098e7 Mon Sep 17 00:00:00 2001 From: Scott Sickles Date: Mon, 29 Apr 2024 17:26:15 -0400 Subject: [PATCH] handle the scenario where we have underscores in the version name --- db-params.tf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/db-params.tf b/db-params.tf index 26e2293..7accd18 100644 --- a/db-params.tf +++ b/db-params.tf @@ -1,6 +1,6 @@ locals { // Can only contain alphanumeric and hyphen characters - param_group_name = "${local.resource_name}-mysql${replace(var.mysql_version, ".", "-")}" + param_group_name = "${local.resource_name}-mysql${replace(replace(var.mysql_version, ".", "-"), "_", "-")}" }