Open kddejong opened 1 month ago
An error occurred (AccessDenied) when calling the SendMessageBatch operation: User: arn:aws:iam::0123456789012:user/test is not authorized to perform: sqs:sendmessage on resource: arn:aws:sqs:us-west-2:0123456789012:test because no identity-based policy allows the sqs:sendmessage action
Thanks for reporting. Let me see if I can track this down. I wonder if this was removed at some point? If so, we wouldn't be able to safely remove it without customer impact.
The SQS permissions that end in Batch aren't valid. They are flagged by IAM access analyzer and not documented here
https://github.com/aws/serverless-application-model/blame/174f42a0da42f0113266d33f3e1681125ea9f78e/samtranslator/policy_templates_data/policy_templates.json#L2122