Skip to content

Commit

Permalink
Changed lambda@edge functions to nodejs10.x
Browse files Browse the repository at this point in the history
  • Loading branch information
cj.ohara committed Feb 10, 2020
1 parent d7b3149 commit 25f9839
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/cloudformation/templates/givesource-custom.yml
Original file line number Diff line number Diff line change
Expand Up @@ -767,7 +767,7 @@ Resources:
FunctionName: GeneratePublicPagesHtml
StackName: !Ref StackName
Role: !Ref LambdaRoleArn
Runtime: "nodejs12.x"
Runtime: "nodejs10.x"
DependsOn:
- CreateLambdaEdgeFunction
- LambdaEdgeRole
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ exports.handle = (event, context, callback) => {
const functionName = process.env.AWS_STACK_NAME + '-' + event.ResourceProperties.FunctionName;
const region = 'us-east-1';
const role = event.ResourceProperties.Role;
const runtime = 'nodejs12.x';
const runtime = 'nodejs10.x';

if (event.RequestType === 'Delete') {
lambda.deleteFunction(region, event.PhysicalResourceId).then(() => {
Expand Down

0 comments on commit 25f9839

Please sign in to comment.