Skip to content

Commit

Permalink
[GD-1427] [GD-1431] Updated lambda functions to NodeJS v8.10
Browse files Browse the repository at this point in the history
  • Loading branch information
cj.ohara committed Apr 19, 2019
1 parent 1f5fe4f commit d06883e
Show file tree
Hide file tree
Showing 17 changed files with 128 additions and 128 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ This means you have unlimited capacity to help nonprofits fundraise and grow you

1. Click on the Launch Stack button.

[![Launch Stack](https://cdn.rawgit.com/buildkite/cloudformation-launch-stack-button-svg/master/launch-stack.svg)](https://console.aws.amazon.com/cloudformation/home?region=us-east-1#/stacks/new?stackName=Givesource&templateURL=https://s3.amazonaws.com/givesource/cf-templates/1.3.1/givesource.yml)
[![Launch Stack](https://cdn.rawgit.com/buildkite/cloudformation-launch-stack-button-svg/master/launch-stack.svg)](https://console.aws.amazon.com/cloudformation/home?region=us-east-1#/stacks/new?stackName=Givesource&templateURL=https://s3.amazonaws.com/givesource/cf-templates/1.4.0/givesource.yml)

2. AWS CloudFormation should open in a new window, with the "Specify an Amazon S3 template URL" option checked, click next.

Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "givesource",
"version": "1.3.1",
"version": "1.4.0",
"description": "Pay-as-you-go highly scalable software application that helps community foundations set up and manage a platform where they can raise funds for non-profits through event pages.",
"license": "Apache-2.0",
"repository": {
Expand Down
12 changes: 6 additions & 6 deletions packages/cloudformation/templates/givesource-api-contents.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ Resources:
Handler: "index.handle"
MemorySize: 128
Role: !Ref LambdaRoleArn
Runtime: "nodejs6.10"
Runtime: "nodejs8.10"
Timeout: !Ref DefaultLambdaFunctionTimeout

GetContentsLambdaInvokePermission:
Expand Down Expand Up @@ -79,7 +79,7 @@ Resources:
Handler: "index.handle"
MemorySize: 128
Role: !Ref LambdaRoleArn
Runtime: "nodejs6.10"
Runtime: "nodejs8.10"
Timeout: !Ref DefaultLambdaFunctionTimeout

PostContentLambdaInvokePermission:
Expand Down Expand Up @@ -108,7 +108,7 @@ Resources:
Handler: "index.handle"
MemorySize: 128
Role: !Ref LambdaRoleArn
Runtime: "nodejs6.10"
Runtime: "nodejs8.10"
Timeout: !Ref DefaultLambdaFunctionTimeout

PatchContentLambdaInvokePermission:
Expand Down Expand Up @@ -137,7 +137,7 @@ Resources:
Handler: "index.handle"
MemorySize: 128
Role: !Ref LambdaRoleArn
Runtime: "nodejs6.10"
Runtime: "nodejs8.10"
Timeout: !Ref DefaultLambdaFunctionTimeout

PatchContentsLambdaInvokePermission:
Expand Down Expand Up @@ -166,7 +166,7 @@ Resources:
Handler: "index.handle"
MemorySize: 128
Role: !Ref LambdaRoleArn
Runtime: "nodejs6.10"
Runtime: "nodejs8.10"
Timeout: !Ref DefaultLambdaFunctionTimeout

DeleteContentLambdaInvokePermission:
Expand Down Expand Up @@ -195,7 +195,7 @@ Resources:
Handler: "index.handle"
MemorySize: 128
Role: !Ref LambdaRoleArn
Runtime: "nodejs6.10"
Runtime: "nodejs8.10"
Timeout: !Ref DefaultLambdaFunctionTimeout

DeleteContentsLambdaInvokePermission:
Expand Down
14 changes: 7 additions & 7 deletions packages/cloudformation/templates/givesource-api-donations.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ Resources:
Handler: "index.handle"
MemorySize: 128
Role: !Ref LambdaRoleArn
Runtime: "nodejs6.10"
Runtime: "nodejs8.10"
Timeout: !Ref DefaultLambdaFunctionTimeout

GetDonationLambdaInvokePermission:
Expand Down Expand Up @@ -82,7 +82,7 @@ Resources:
Handler: "index.handle"
MemorySize: 128
Role: !Ref LambdaRoleArn
Runtime: "nodejs6.10"
Runtime: "nodejs8.10"
Timeout: !Ref DefaultLambdaFunctionTimeout

GetDonationsLambdaInvokePermission:
Expand Down Expand Up @@ -111,7 +111,7 @@ Resources:
Handler: "index.handle"
MemorySize: 128
Role: !Ref LambdaRoleArn
Runtime: "nodejs6.10"
Runtime: "nodejs8.10"
Timeout: !Ref DefaultLambdaFunctionTimeout

PostDonationLambdaInvokePermission:
Expand Down Expand Up @@ -140,7 +140,7 @@ Resources:
Handler: "index.handle"
MemorySize: 128
Role: !Ref LambdaRoleArn
Runtime: "nodejs6.10"
Runtime: "nodejs8.10"
Timeout: !Ref DefaultLambdaFunctionTimeout

PatchDonationLambdaInvokePermission:
Expand Down Expand Up @@ -169,7 +169,7 @@ Resources:
Handler: "index.handle"
MemorySize: 128
Role: !Ref LambdaRoleArn
Runtime: "nodejs6.10"
Runtime: "nodejs8.10"
Timeout: !Ref DefaultLambdaFunctionTimeout

DeleteDonationLambdaInvokePermission:
Expand Down Expand Up @@ -198,7 +198,7 @@ Resources:
Handler: "index.handle"
MemorySize: 128
Role: !Ref SecureLambdaRoleArn
Runtime: "nodejs6.10"
Runtime: "nodejs8.10"
Timeout: !Ref DefaultLambdaFunctionTimeout

ProcessDonationsLambdaInvokePermission:
Expand Down Expand Up @@ -228,7 +228,7 @@ Resources:
Handler: "index.handle"
MemorySize: 128
Role: !Ref LambdaRoleArn
Runtime: "nodejs6.10"
Runtime: "nodejs8.10"
Timeout: !Ref DefaultLambdaFunctionTimeout

PostDonationsReceiptLambdaInvokePermission:
Expand Down
8 changes: 4 additions & 4 deletions packages/cloudformation/templates/givesource-api-donors.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ Resources:
Handler: "index.handle"
MemorySize: 128
Role: !Ref LambdaRoleArn
Runtime: "nodejs6.10"
Runtime: "nodejs8.10"
Timeout: !Ref DefaultLambdaFunctionTimeout

GetDonorLambdaInvokePermission:
Expand Down Expand Up @@ -79,7 +79,7 @@ Resources:
Handler: "index.handle"
MemorySize: 128
Role: !Ref LambdaRoleArn
Runtime: "nodejs6.10"
Runtime: "nodejs8.10"
Timeout: !Ref DefaultLambdaFunctionTimeout

GetDonorsLambdaInvokePermission:
Expand Down Expand Up @@ -108,7 +108,7 @@ Resources:
Handler: "index.handle"
MemorySize: 128
Role: !Ref LambdaRoleArn
Runtime: "nodejs6.10"
Runtime: "nodejs8.10"
Timeout: !Ref DefaultLambdaFunctionTimeout

PostDonorLambdaInvokePermission:
Expand Down Expand Up @@ -137,7 +137,7 @@ Resources:
Handler: "index.handle"
MemorySize: 128
Role: !Ref LambdaRoleArn
Runtime: "nodejs6.10"
Runtime: "nodejs8.10"
Timeout: !Ref DefaultLambdaFunctionTimeout

DeleteDonorLambdaInvokePermission:
Expand Down
10 changes: 5 additions & 5 deletions packages/cloudformation/templates/givesource-api-files.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ Resources:
Handler: "index.handle"
MemorySize: 128
Role: !Ref LambdaRoleArn
Runtime: "nodejs6.10"
Runtime: "nodejs8.10"
Timeout: !Ref DefaultLambdaFunctionTimeout

GetFileLambdaInvokePermission:
Expand Down Expand Up @@ -82,7 +82,7 @@ Resources:
Handler: "index.handle"
MemorySize: 128
Role: !Ref LambdaRoleArn
Runtime: "nodejs6.10"
Runtime: "nodejs8.10"
Timeout: !Ref DefaultLambdaFunctionTimeout

GetFilesLambdaInvokePermission:
Expand Down Expand Up @@ -112,7 +112,7 @@ Resources:
Handler: "index.handle"
MemorySize: 128
Role: !Ref LambdaRoleArn
Runtime: "nodejs6.10"
Runtime: "nodejs8.10"
Timeout: !Ref DefaultLambdaFunctionTimeout

PostFileLambdaInvokePermission:
Expand Down Expand Up @@ -142,7 +142,7 @@ Resources:
Handler: "index.handle"
MemorySize: 128
Role: !Ref LambdaRoleArn
Runtime: "nodejs6.10"
Runtime: "nodejs8.10"
Timeout: !Ref DefaultLambdaFunctionTimeout

DeleteFileLambdaInvokePermission:
Expand Down Expand Up @@ -172,7 +172,7 @@ Resources:
Handler: "index.handle"
MemorySize: 128
Role: !Ref LambdaRoleArn
Runtime: "nodejs6.10"
Runtime: "nodejs8.10"
Timeout: !Ref DefaultLambdaFunctionTimeout

DeleteFilesLambdaInvokePermission:
Expand Down
10 changes: 5 additions & 5 deletions packages/cloudformation/templates/givesource-api-messages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ Resources:
Handler: "index.handle"
MemorySize: 128
Role: !Ref LambdaRoleArn
Runtime: "nodejs6.10"
Runtime: "nodejs8.10"
Timeout: !Ref DefaultLambdaFunctionTimeout

GetMessageLambdaInvokePermission:
Expand Down Expand Up @@ -79,7 +79,7 @@ Resources:
Handler: "index.handle"
MemorySize: 128
Role: !Ref LambdaRoleArn
Runtime: "nodejs6.10"
Runtime: "nodejs8.10"
Timeout: !Ref DefaultLambdaFunctionTimeout

GetMessagesLambdaInvokePermission:
Expand Down Expand Up @@ -108,7 +108,7 @@ Resources:
Handler: "index.handle"
MemorySize: 128
Role: !Ref LambdaRoleArn
Runtime: "nodejs6.10"
Runtime: "nodejs8.10"
Timeout: !Ref DefaultLambdaFunctionTimeout

PostMessageLambdaInvokePermission:
Expand Down Expand Up @@ -137,7 +137,7 @@ Resources:
Handler: "index.handle"
MemorySize: 128
Role: !Ref LambdaRoleArn
Runtime: "nodejs6.10"
Runtime: "nodejs8.10"
Timeout: !Ref DefaultLambdaFunctionTimeout

PatchMessageLambdaInvokePermission:
Expand Down Expand Up @@ -166,7 +166,7 @@ Resources:
Handler: "index.handle"
MemorySize: 128
Role: !Ref LambdaRoleArn
Runtime: "nodejs6.10"
Runtime: "nodejs8.10"
Timeout: !Ref DefaultLambdaFunctionTimeout

DeleteMessageLambdaInvokePermission:
Expand Down
6 changes: 3 additions & 3 deletions packages/cloudformation/templates/givesource-api-metrics.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ Resources:
Handler: "index.handle"
MemorySize: 128
Role: !Ref LambdaRoleArn
Runtime: "nodejs6.10"
Runtime: "nodejs8.10"
Timeout: !Ref DefaultLambdaFunctionTimeout

GetMetricsLambdaInvokePermission:
Expand Down Expand Up @@ -79,7 +79,7 @@ Resources:
Handler: "index.handle"
MemorySize: 128
Role: !Ref LambdaRoleArn
Runtime: "nodejs6.10"
Runtime: "nodejs8.10"
Timeout: !Ref DefaultLambdaFunctionTimeout

PatchMetricsLambdaInvokePermission:
Expand Down Expand Up @@ -108,7 +108,7 @@ Resources:
Handler: "index.handle"
MemorySize: 128
Role: !Ref LambdaRoleArn
Runtime: "nodejs6.10"
Runtime: "nodejs8.10"
Timeout: !Ref DefaultLambdaFunctionTimeout

DeleteMetricsLambdaInvokePermission:
Expand Down
Loading

0 comments on commit d06883e

Please sign in to comment.