- Newest
- Most votes
- Most comments
Hi Techie,
Thanks for your question to re:Post.
When working with Amazon Managed Workflows for Apache Airflow (MWAA), your MWAA execution role requires certain permissions for Amazon Simple Queue Service (Amazon SQS). Check your MWAA execution role that it includes these permissions... Amazon MWAA execution role.
Here is an example policy to your MWAA execution role with allow statements needed for SQS. You will want to evaluate your own permission needs before applying any policies for the principle of least privilege.
{ "Version": "2012-10-17", "Statement": [ { "Effect": "Allow", "Action": [ "sqs:GetQueueAttributes", "sqs:GetQueueUrl", "sqs:SendMessage", "sqs:ReceiveMessage", "sqs:DeleteMessage" ], "Resource": "arn:aws:sqs:us-east-1:[accountid]:airflow-celery-*" } ] }
Steps
- Go to IAM Console
- Find role:
badger-airflow-exec-role - Add the policy above (or attach
AmazonMWAAExecutionRolePolicyif not already attached) - Wait a few minutes for MWAA to pick up the changes
Documentation
Amazon MWAA execution role requirements - Lists all required permissions for the execution role, including SQS access for Celery workers.
The Celery queue (airflow-celery-*) is created automatically by MWAA for task distribution between workers. Your execution role needs permission to interact with it.
Thank you!
Relevant content
- asked 3 months ago
- asked 3 months ago
- asked 5 years ago
- asked 2 years ago
- AWS OFFICIALUpdated 2 years ago

This isn't a support queue.