Last active
March 20, 2017 06:10
-
-
Save samcorcos/b94eea08ef4b1f09a712d10e6d3b5e61 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
| let containerId | |
| module.exports.hello = (event, context, callback) => { | |
| if (!containerId) containerId = context.awsRequestId | |
| console.log(containerId) | |
| callback(null, { | |
| statusCode: 200, | |
| body: JSON.stringify({ | |
| message: 'Pong', | |
| }), | |
| }) | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment