Skip to content

Commit

Permalink
Fixed serverless.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
mcasperson committed Oct 6, 2018
1 parent 4dbed88 commit 891eb6e
Showing 1 changed file with 16 additions and 1 deletion.
17 changes: 16 additions & 1 deletion serverless.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,4 +18,19 @@ functions:
runCucumber:
handler: com.octopus.LambdaEntry::runCucumber
timeout: 300
memorySize: 512
memorySize: 512
events:
- http:
method: post
path: runCucumber
integration: lambda
request:
parameters:
headers:
'X-Amz-Invocation-Type': true
template:
text/plain: "\"$util.escapeJavaScript($input.body).replaceAll(\"\\'\",\"'\")\""
response:
headers:
Content-Type: "'application/json'"
template: $util.parseJson($input.body)

0 comments on commit 891eb6e

Please sign in to comment.