From 86ab33770fb5b56cb73ed94fb19c4c5867d9aee7 Mon Sep 17 00:00:00 2001 From: David Wells Date: Tue, 21 Jun 2016 15:10:45 -0700 Subject: [PATCH] Add where to click create lambda button --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index ff1909b..5e49e33 100644 --- a/README.md +++ b/README.md @@ -186,7 +186,7 @@ In this section, you’ll create a free-trial Twilio SMS phone number. You will * As you'll see throughout this workshop, we will leverage separate Lambda functions to pre-process data before sending standardized/formatted requests to the /zombie/message resource. This allows us to-reuse the existing DynamoDB logic behind the /message resource multiple times rather than writing multiple functions that all interact with DynamoDB individually. As messages come in to your Twilio number, the Twilio webhook forwards them as POSTs to your /zombie/twilio resource, which will be integrated with a backend pre-processing Lambda function. This function will strip apart the Twilio payload and format it before making an HTTP POST to your /zombie/message service. -12\. Click **Create a Lambda function** and select **Skip** on the blueprint screen as we will be creating a brand new function. +12\. Go into the lambda dashboard in AWS and Click **Create a Lambda function** and select **Skip** on the blueprint screen as we will be creating a brand new function. 13\. Create a name for the function, such as **"[Your CloudFormation stack name]-TwilioProcessing"**. Leave the "Runtime" as **Node.js 4.3**. From the GitHub repo, open the **TwilioProcessing.js** file. Copy the entire contents from this file into the Lambda code entry section. Once you have copied the code into Lambda, scroll down to [line 47](/Twilio/TwilioProcessing.js#L47) in the code where the "host" variable is declared. It should show a value of "INSERT YOUR API GATEWAY URL HERE EXCLUDING THE HTTPS://". Please replace this string with the fully qualified domain name (FQDN) of the URL for your **/zombie/message** POST method found in API Gateway. For example, it should look something like "xxxxxxxx.execute-api.us-west-2.amazonaws.com".