Skip to content

Commit

Permalink
handle the scenario where we have underscores in the version name
Browse files Browse the repository at this point in the history
  • Loading branch information
ssickles committed Apr 29, 2024
1 parent acc7953 commit e914e01
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion db-params.tf
Original file line number Diff line number Diff line change
@@ -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, ".", "-"), "_", "-")}"
}


Expand Down

0 comments on commit e914e01

Please sign in to comment.