You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In Lambda I extract the region the function is running in for various purposes (mostly for creating a boto3 sessions for building clients, assuming roles etc).
In Lambda I extract the region the function is running in for various purposes (mostly for creating a boto3 sessions for building clients, assuming roles etc).
eg:
SAM Local doesn't appear to include a region in the arn. I get something like:
arn:aws:lambda::104260451092:function:test
I haven't found anywhere I can set the region for the context object in the template.yaml file. Have I missed something?
Thanks!
The text was updated successfully, but these errors were encountered: