Last active
June 9, 2021 19:35
-
-
Save gene1wood/a73a7dbe94372ab3598da2863ffc6c74 to your computer and use it in GitHub Desktop.
This file contains 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
for region in `aws ec2 describe-regions --query 'Regions[].RegionName' --output text`; do | |
aws sns list-subscriptions --query "Subscriptions[?starts_with(Endpoint, 'arn:aws:sqs:')].[TopicArn, Endpoint]" --output text --region $region | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment