Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

node 18 upgrade for urlPreview lambda cloudformation template #188

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,6 @@ Resources:
Type: AWS::Lambda::LayerVersion
Properties:
CompatibleRuntimes:
- "nodejs14.x"
- "nodejs18.x"
Content:
S3Bucket: !Join
Expand Down Expand Up @@ -174,8 +173,7 @@ Resources:
Type: AWS::Lambda::LayerVersion
Properties:
CompatibleRuntimes:
- "nodejs14.x"
- "nodejs8.10"
- "nodejs18.x"
Content:
S3Bucket: !Join
- "."
Expand Down Expand Up @@ -228,7 +226,7 @@ Resources:
Description: AWS Lambda Function to initiate the chat with the end user
Handler: "startChatContact.handler"
Role: !GetAtt InitiateChatLambdaExecutionRole.Arn
Runtime: "nodejs14.x"
Runtime: "nodejs18.x"
MemorySize: 128
Timeout: 30
Layers:
Expand Down Expand Up @@ -300,7 +298,7 @@ Resources:
Description: AWS Lambda Function to update the DDB with the S3 location of the chat transcript
Handler: "updateChatDdbWithS3Key.handler"
Role: !GetAtt UpdateDdbWithS3LocationLambdaExecutionRole.Arn
Runtime: "nodejs14.x"
Runtime: "nodejs18.x"
MemorySize: 128
Timeout: 30
Environment:
Expand Down Expand Up @@ -384,7 +382,7 @@ Resources:
],
]
Timeout: 30
Runtime: "nodejs14.x"
Runtime: "nodejs18.x"

S3BucketConfigurationLambdaExecutionRole:
Type: "AWS::IAM::Role"
Expand Down Expand Up @@ -482,7 +480,7 @@ Resources:
Handler: customResourceHelper.handler
MemorySize: 256
Role: !GetAtt CustomResourceHelperIamRole.Arn
Runtime: nodejs14.x
Runtime: "nodejs18.x"
Timeout: 300

CustomResourceHelperIamRole:
Expand Down Expand Up @@ -776,7 +774,7 @@ Resources:
AWS Lambda Function that will create the chat UX and upload it to the S3 bucket
Handler: "websiteCreator.handler"
Role: !GetAtt ChatUXCreatorRole.Arn
Runtime: "nodejs14.x"
Runtime: "nodejs18.x"
MemorySize: 256
Timeout: 120
Code:
Expand Down