Skip to content

Commit

Permalink
fix #17: add IAM permissions for the worker to be able to enqueue wor…
Browse files Browse the repository at this point in the history
…k for itself
  • Loading branch information
tjanczuk committed Jan 23, 2024
1 parent 30b12b4 commit 7e74580
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions packages/constants/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -757,9 +757,15 @@ export const WorkerConfiguration: WorkerSettings = {
"sqs:ReceiveMessage",
"sqs:DeleteMessage",
"sqs:GetQueueAttributes",
"sqs:SendMessage",
],
Resource: `arn:aws:sqs:${region}:${accountId}:${VendorPrefix}-${deployment}*`,
},
{
Effect: "Allow",
Action: ["sqs:ListQueueTags", "sqs:ListQueues"],
Resource: `arn:aws:sqs:${region}:${accountId}:*`,
},
{
Effect: "Allow",
Action: [
Expand Down

0 comments on commit 7e74580

Please sign in to comment.