Skip to content

Commit ed4bb03

Browse files
authored
Merge pull request #23 from scribd/sns
Fixing typo bug and missing Identifier
2 parents cf34cab + 03e48af commit ed4bb03

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

autotagging.tf

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -104,8 +104,8 @@ data "aws_iam_policy_document" "auto_tagging_sns" {
104104
statement {
105105
effect = "Allow"
106106
principals {
107-
type = ""
108-
identifiers = [""]
107+
type = "*"
108+
identifiers = ["*"]
109109
}
110110
actions = ["sqs:SendMessage"]
111111
resources = ["arn:aws:sqs:*:*:${var.sqs_queue_name}-auto_tagging", ]

main.tf

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -318,8 +318,8 @@ data "aws_iam_policy_document" "this_sns_to_sqs" {
318318
statement {
319319
effect = "Allow"
320320
principals {
321-
type = ""
322-
identifiers = [""]
321+
type = "*"
322+
identifiers = ["*"]
323323
}
324324
actions = ["sqs:SendMessage"]
325325
resources = local.enable_group_events ? ["arn:aws:sqs:*:*:${var.sqs_group_queue_name}", "arn:aws:sqs:*:*:${var.sqs_fifo_queue_name}.fifo"] : ["arn:aws:sqs:*:*:${var.sqs_queue_name}"]

0 commit comments

Comments
 (0)