Skip to content

Commit

Permalink
fix(DMVP-5761): Update module policy
Browse files Browse the repository at this point in the history
  • Loading branch information
aramkarapetian committed Nov 13, 2024
1 parent c482e61 commit 63bcfe7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/topic/locals.tf
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ locals {
"SNS:ListSubscriptionsByTopic",
"SNS:Publish"
],
"Resource" : "arn:aws:sns:${data.aws_region.current.name}:${data.aws_caller_identity.current.account_id}:${var.alarm_actions.topic_name}"
"Resource" : "arn:aws:sns:${data.aws_region.current.name}:${data.aws_caller_identity.current.account_id}:${var.name}"
}
]
}) : jsonencode(var.policy)
Expand Down

0 comments on commit 63bcfe7

Please sign in to comment.