Created
March 3, 2021 10:07
-
-
Save ddmitov/2314e21ddbc5a4b03ddef6788debd169 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
import os | |
import json | |
def lambda_handler(event, context): | |
json_region = os.environ['AWS_REGION'] | |
return { | |
"statusCode": 200, | |
"headers": { | |
"Content-Type": "application/json" | |
}, | |
"body": { | |
"AWS region": json_region | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment