Last active
August 30, 2018 04:46
-
-
Save tecmaverick/d45b7a81c2bd5dbbcdaf8f369450a899 to your computer and use it in GitHub Desktop.
Python boto3 script to view supported regions for an AWS service
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
#Before executing the script ensure you have the latest version of AWS CLI installed | |
#pip install awscli --upgrade | |
import boto3 | |
s = boto3.Session() | |
print s.get_available_regions("lambda") |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment