How do I identify the region from within a Nodejs/Javascript AWS Lambda function?
The AWS_DEFAULT_REGION
environment variable gives a ReferenceError (See here, which is for Java, not Node/Javascript.)
I realize I can get the "invokedFunctionArn" from the context object and parse it for the region, but it seems like there should be a more direct way.