Skip to content

Commit

Permalink
Merge pull request #11 from QuiNovas/develop
Browse files Browse the repository at this point in the history
add missing sns publish permission
  • Loading branch information
vchinnakotla authored Jul 27, 2021
2 parents a729bb2 + accdfa9 commit 11c656d
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,15 @@ data "aws_iam_policy_document" "role_policy" {
"${aws_s3_bucket.config.arn}/*",
]
}

statement {
actions = [
"sns:Publish",
]
resources = [
aws_sns_topic.config.arn
]
}
}

resource "aws_iam_role_policy" "config" {
Expand Down

0 comments on commit 11c656d

Please sign in to comment.