Skip to content

Instantly share code, notes, and snippets.

@thomasvds
Created April 21, 2018 10:49
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save thomasvds/d9d1fd7455e49687d5f58cb449ec5801 to your computer and use it in GitHub Desktop.
Save thomasvds/d9d1fd7455e49687d5f58cb449ec5801 to your computer and use it in GitHub Desktop.
import os, json
STATUS = os.environ['status']
def lambda_handler(event, context):
response = {
"statusCode": 200,
"headers": { "Content-Type": "application/json" },
"body": json.dumps( { "challenge_status": STATUS } )
}
return response
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment