Skip to content

Commit

Permalink
[#3729] Update nodejs runtime to 20.x
Browse files Browse the repository at this point in the history
  • Loading branch information
nightfury1204 committed May 9, 2024
1 parent 89abcc0 commit c56083f
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion provider/aws/formation/app.json.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -441,7 +441,7 @@
"Properties": {
"Handler": "index.handler",
"Role": { "Fn::GetAtt": [ "TimerRole", "Arn" ] },
"Runtime": "nodejs16.x",
"Runtime": "nodejs20.x",
"Timeout": 60,
"Code": {
"ZipFile": { "Fn::Join": [ "\n", [
Expand Down
4 changes: 2 additions & 2 deletions provider/aws/formation/g1/app.json.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -185,7 +185,7 @@
"Handler": "index.external",
"MemorySize": "128",
"Role": { "Fn::GetAtt": [ "CustomTopicRole", "Arn" ] },
"Runtime": "nodejs16.x",
"Runtime": "nodejs20.x",
"Timeout": "300"
}
},
Expand Down Expand Up @@ -785,7 +785,7 @@
"Properties": {
"Handler": "index.handler",
"Role": { "Fn::GetAtt": [ "CronRole", "Arn" ] },
"Runtime": "nodejs16.x",
"Runtime": "nodejs20.x",
"Timeout": 50,
"Code": {
"ZipFile": { "Fn::Join": ["\n", [
Expand Down
2 changes: 1 addition & 1 deletion provider/aws/formation/rack.json
Original file line number Diff line number Diff line change
Expand Up @@ -1319,7 +1319,7 @@
"Handler": "index.external",
"MemorySize": "128",
"Role": { "Fn::GetAtt": [ "CustomTopicRole", "Arn" ] },
"Runtime": "nodejs16.x",
"Runtime": "nodejs20.x",
"Timeout": "300",
"VpcConfig": { "Fn::If": [ "PrivateAndPlaceLambdaInVpc",
{
Expand Down
2 changes: 1 addition & 1 deletion provider/aws/templates/resource/webhook.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
"Environment": { "Variables": { "WEBHOOK_URL": { "Ref": "Url" } } },
"Handler": "index.handler",
"Role": { "Fn::GetAtt": [ "ForwarderRole", "Arn" ] },
"Runtime": "nodejs16.x",
"Runtime": "nodejs20.x",
"Timeout": "10"
}
},
Expand Down
2 changes: 1 addition & 1 deletion provider/kaws/formation/rack.yml
Original file line number Diff line number Diff line change
Expand Up @@ -283,7 +283,7 @@ Resources:
}
Handler: index.main
Role: !GetAtt DomainMapperRole.Arn
Runtime: nodejs16.x
Runtime: nodejs20.x
DomainMapperRole:
Type: AWS::IAM::Role
Condition: BaseDomainBlank
Expand Down

0 comments on commit c56083f

Please sign in to comment.