rr3tt / rumbda

Run ruby scripts on aws lambda.
MIT License
105 stars 18 forks source link

Pass context as ARGV[1] #1

Closed mikowitz closed 7 years ago

mikowitz commented 7 years ago

We want to use the invokedFunctionArn value from the lambda context to determine which environment we're in (sandbox/staging/production), and in order to do so, we need to make sure the context object (where that value is given), is passed in as an argument to our Ruby code.