Skip to content

Commit

Permalink
fix(DMVP-5181): Changes
Browse files Browse the repository at this point in the history
  • Loading branch information
aramkarapetian committed Sep 23, 2024
1 parent a521912 commit f73d6be
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion event-notifications.tf
Original file line number Diff line number Diff line change
Expand Up @@ -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 = 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
}

Expand Down

0 comments on commit f73d6be

Please sign in to comment.