From a52191200da302a077014c6ef7a9348e952ebc93 Mon Sep 17 00:00:00 2001 From: Aram Karapetyan Date: Mon, 23 Sep 2024 18:23:44 +0400 Subject: [PATCH] fix(DMVP-5181): Changes --- event-notifications.tf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/event-notifications.tf b/event-notifications.tf index a94b49c..7249c54 100644 --- a/event-notifications.tf +++ b/event-notifications.tf @@ -23,7 +23,7 @@ data "aws_iam_policy_document" "queue" { resource "aws_sqs_queue" "queue" { count = var.event_notification_config.target_type == "sqs" ? 1 : 0 - name = regex_replace("${var.name}${var.event_notification_config.name_suffix}", "\\W+", "_") + name = replace("${var.name}${var.event_notification_config.name_suffix}", "/W+/", "_") policy = data.aws_iam_policy_document.queue[0].json }