Skip to content

Commit

Permalink
Node.js runtime updates,fixes for custom origin support
Browse files Browse the repository at this point in the history
  • Loading branch information
Jaiganesh Girinathan committed Jan 25, 2021
1 parent 5052819 commit 83c939d
Show file tree
Hide file tree
Showing 906 changed files with 190,933 additions and 5 deletions.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
FROM lambci/lambda:build-nodejs8.10
FROM lambci/lambda:build-nodejs12.x

WORKDIR /build
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ bucket = ${CODE_BUCKET}
regions = us-east-1

image:
docker build --tag redirection:lambci8.10 .
docker build --tag redirection:lambci12.x .

build: image
docker run --rm --volume ${PWD}/lambda/origin-request-function:/build redirection:lambci8.10 /bin/bash -c "npm init -f -y; npm install [email protected] --save; npm install [email protected] --save; npm install --only=prod"
Expand Down
4 changes: 2 additions & 2 deletions cloudformation/template.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ Resources:
Handler: index.handler
Role: !GetAtt OriginRequestFunctionRole.Arn
Timeout: 5
Runtime: nodejs8.10
Runtime: nodejs12.x

OriginRequestFunctionVersion:
Type: "AWS::Lambda::Version"
Expand Down Expand Up @@ -161,7 +161,7 @@ Resources:
Handler: index.handler
Role: !GetAtt DeployFunctionRole.Arn
Timeout: 300
Runtime: nodejs8.10
Runtime: nodejs12.x

DeployArtifacts:
Type: 'Custom::LambdaCallout'
Expand Down
1 change: 1 addition & 0 deletions lambda/deploy-function/node_modules/.bin/mime

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

65 changes: 65 additions & 0 deletions lambda/deploy-function/node_modules/adm-zip/README.md

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 83c939d

Please sign in to comment.