Created
April 9, 2024 16:52
-
-
Save kkumler/91f23b3e385f21c254db13a590d80176 to your computer and use it in GitHub Desktop.
AWS service compatibility for a region
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
# Given a file with a list of required services, sorted | |
# This could be created by aws ssm get-parameters-by-path --path /aws/service/global-infrastructure/regions/us-east-1/services --query 'Parameters[].Name' --output yaml | cut -d'/' -f8 | sort > aws-services-us-east-1.txt | |
# And using GNU coretools (prefixed here with g, as usual with Homeberw on macos) | |
# Environment variables AWS_PROFILE & REGION exported | |
gcomm -2 -3 required-services.txt <(aws ssm get-parameters-by-path --path /aws/service/global-infrastructure/regions/$REGION/services --query 'Parameters[].Name' --output yaml | cut -d'/' -f8 | sort) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment