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

Updating node version to 16 since version 12 is now deprecated #15

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
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
2 changes: 1 addition & 1 deletion codebuild.yml
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ Resources:
- Name: STAGING_BUCKET_PREFIX
Value: !Ref StagingBucketPrefix
Type: LINUX_CONTAINER
Image: aws/codebuild/nodejs:12
Image: aws/codebuild/nodejs:16
ComputeType: BUILD_GENERAL1_SMALL
Name: pipeline-dashboard
Description: Stage pipeline-dashboard
Expand Down
4 changes: 2 additions & 2 deletions template-sar.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ Resources:
Properties:
Description: Create CloudWatch metrics from AWS CodePipeline events
Handler: index.handlePipelineEvent
Runtime: nodejs12.x
Runtime: nodejs16.x
CodeUri: s3://pipeline-dashboard-node-0811-us-east-1/2a5aeb4cc9e66058ac7fcd00bd33da64
Events:
PipelineEventRule:
Expand All @@ -33,7 +33,7 @@ Resources:
Properties:
Description: Build CloudWatch dashboard from CloudWatch metrics
Handler: index.generateDashboard
Runtime: nodejs12.x
Runtime: nodejs16.x
CodeUri: s3://pipeline-dashboard-node-0811-us-east-1/2a5aeb4cc9e66058ac7fcd00bd33da64
Timeout: 60
Events:
Expand Down
4 changes: 2 additions & 2 deletions template.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ Resources:
Properties:
Description: Create CloudWatch metrics from CodePipeline events
Handler: index.handlePipelineEvent
Runtime: nodejs12.x
Runtime: nodejs16.x
CodeUri:
Bucket: !Ref BucketName
Key: !Ref CodeKey
Expand All @@ -43,7 +43,7 @@ Resources:
Properties:
Description: Build CloudWatch dashboard from CloudWatch metrics
Handler: index.generateDashboard
Runtime: nodejs12.x
Runtime: nodejs16.x
CodeUri:
Bucket: !Ref BucketName
Key: !Ref CodeKey
Expand Down