Created
August 7, 2025 17:27
-
-
Save edermanoel94/cfd9e55ec871a07d213795b4bab3055e to your computer and use it in GitHub Desktop.
Allow SNS to use SQS
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| aws sqs set-queue-attributes \ | |
| --queue-url http://localhost:4566/000000000000/my-queue \ | |
| --attributes '{ | |
| "Policy": "{\"Version\":\"2012-10-17\",\"Statement\":[{\"Effect\":\"Allow\",\"Principal\":\"*\",\"Action\":\"sqs:SendMessage\",\"Resource\":\"arn:aws:sqs:us-east-1:000000000000:my-queue\",\"Condition\":{\"ArnEquals\":{\"aws:SourceArn\":\"arn:aws:sns:us-east-1:000000000000:my-topic\"}}}]}"}' \ | |
| --endpoint-url http://localhost:4566 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment