Skip to content

Commit

Permalink
chore: limit aws workload roles to sqs:GetQueueAttributes (#139)
Browse files Browse the repository at this point in the history
Signed-off-by: Jorge Turrado Ferrero <[email protected]>
  • Loading branch information
JorTurFer authored Dec 31, 2023
1 parent ca135f3 commit 3a25e29
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions terraform/modules/aws/iam/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -244,7 +244,7 @@ resource "aws_iam_policy" "workload1_role_policy" {
"Statement": [
{
"Effect": "Allow",
"Action": "sqs:*",
"Action": "sqs:GetQueueAttributes",
"Resource": "arn:aws:sqs:*:589761922677:assume-role-workload1-queue-*"
}
]
Expand All @@ -262,7 +262,7 @@ resource "aws_iam_policy" "workload2_role_policy" {
"Statement": [
{
"Effect": "Allow",
"Action": "sqs:*",
"Action": "sqs:GetQueueAttributes",
"Resource": "arn:aws:sqs:*:589761922677:assume-role-workload2-queue-*"
}
]
Expand Down

0 comments on commit 3a25e29

Please sign in to comment.