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

OY2-28452 - set lambda default timeout to 2.5min #1475

Merged
merged 2 commits into from
Jun 25, 2024
Merged
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
23 changes: 1 addition & 22 deletions services/app-api/serverless.yml
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,7 @@ custom:
provider:
name: aws
runtime: nodejs20.x
timeout: 150
region: us-east-1
stage: dev
iam:
Expand Down Expand Up @@ -101,7 +102,6 @@ functions:
submitInitialWaiver:
handler: form/submitInitialWaiver.main
role: LambdaApiRole
timeout: 30
events:
- http:
path: submitInitialWaiver
Expand All @@ -112,7 +112,6 @@ functions:
submitMedicaidSpa:
handler: form/submitMedicaidSPA.main
role: LambdaApiRole
timeout: 30
events:
- http:
path: submitMedicaidSPA
Expand All @@ -123,7 +122,6 @@ functions:
submitMedicaidSpaRaiResponse:
handler: form/submitMedicaidSPARAIResponse.main
role: LambdaApiRole
timeout: 30
events:
- http:
path: submitMedicaidSPARAIResponse
Expand All @@ -134,7 +132,6 @@ functions:
submitChipSpa:
handler: form/submitCHIPSPA.main
role: LambdaApiRole
timeout: 30
environment:
reviewerEmail: ${self:custom.reviewerCHIPEmail}
ccEmail: ${self:custom.chipCcEmail}
Expand All @@ -148,7 +145,6 @@ functions:
submitCHIPSPARAIResponse:
handler: form/submitCHIPSPARAIResponse.main
role: LambdaApiRole
timeout: 30
environment:
reviewerEmail: ${self:custom.reviewerCHIPEmail}
ccEmail: ${self:custom.chipCcEmail}
Expand All @@ -162,7 +158,6 @@ functions:
submitWaiverExtension:
handler: form/submitWaiverExtension.main
role: LambdaApiRole
timeout: 30
events:
- http:
path: submitWaiverExtension
Expand All @@ -173,7 +168,6 @@ functions:
submitWaiverRaiResponse:
handler: form/submitWaiverRAIResponse.main
role: LambdaApiRole
timeout: 30
events:
- http:
path: submitWaiverRAIResponse
Expand All @@ -184,7 +178,6 @@ functions:
submitWaiverRenewal:
handler: form/submitWaiverRenewal.main
role: LambdaApiRole
timeout: 30
events:
- http:
path: submitWaiverRenewal
Expand All @@ -195,7 +188,6 @@ functions:
submitWaiverAmendment:
handler: form/submitWaiverAmendment.main
role: LambdaApiRole
timeout: 30
events:
- http:
path: submitWaiverAmendment
Expand All @@ -206,7 +198,6 @@ functions:
submitWaiverAppendixK:
handler: form/submitWaiverAppendixK.main
role: LambdaApiRole
timeout: 30
events:
- http:
path: submitWaiverAppendixK
Expand All @@ -217,7 +208,6 @@ functions:
submitWaiverAppendixKRAIResponse:
handler: form/submitWaiverAppendixKRAIResponse.main
role: LambdaApiRole
timeout: 30
events:
- http:
path: submitWaiverAppendixKRAIResponse
Expand Down Expand Up @@ -348,7 +338,6 @@ functions:
withdrawInitialWaiver:
handler: form/withdrawInitialWaiver.main
role: LambdaApiRole
timeout: 30
environment:
ccEmail: ${self:custom.dmcoEmail}
events:
Expand All @@ -361,7 +350,6 @@ functions:
withdrawMedicaidSPA:
handler: form/withdrawMedicaidSPA.main
role: LambdaApiRole
timeout: 30
environment:
ccEmail: ${self:custom.dpoEmail}
events:
Expand All @@ -374,7 +362,6 @@ functions:
withdrawCHIPSPA:
handler: form/withdrawCHIPSPA.main
role: LambdaApiRole
timeout: 30
environment:
reviewerEmail: ${self:custom.reviewerCHIPEmail}
ccEmail: ${self:custom.chipCcEmail}
Expand All @@ -388,7 +375,6 @@ functions:
withdrawWaiverRenewal:
handler: form/withdrawWaiverRenewal.main
role: LambdaApiRole
timeout: 30
environment:
ccEmail: ${self:custom.dmcoEmail}
events:
Expand All @@ -401,7 +387,6 @@ functions:
withdrawWaiverAmendment:
handler: form/withdrawWaiverAmendment.main
role: LambdaApiRole
timeout: 30
environment:
ccEmail: ${self:custom.dmcoEmail}
events:
Expand All @@ -414,7 +399,6 @@ functions:
withdrawWaiverAppendixK:
handler: form/withdrawWaiverAppendixK.main
role: LambdaApiRole
timeout: 30
environment:
ccEmail: ${self:custom.dhcbsooEmail}
events:
Expand All @@ -427,7 +411,6 @@ functions:
enableRaiWithdraw:
handler: form/enableRaiWithdraw.main
role: LambdaApiRole
timeout: 30
events:
- http:
path: enableRaiWithdraw
Expand All @@ -438,7 +421,6 @@ functions:
disableRaiWithdraw:
handler: form/disableRaiWithdraw.main
role: LambdaApiRole
timeout: 30
events:
- http:
path: disableRaiWithdraw
Expand All @@ -449,7 +431,6 @@ functions:
withdrawRAIResponse:
handler: form/withdrawRAIResponse.main
role: LambdaApiRole
timeout: 30
environment:
osgEmail: ${self:custom.reviewerEmail}
chipEmail: ${self:custom.reviewerCHIPEmail}
Expand Down Expand Up @@ -559,7 +540,6 @@ functions:
updateUserStatus:
handler: updateUserStatus.main
role: LambdaApiRole
timeout: 30
environment:
userAccessEmailSource: ${self:custom.userAccessEmailSource}
events:
Expand All @@ -572,7 +552,6 @@ functions:
setUserPhoneNumber:
handler: putPhoneNumber.main
role: LambdaApiRole
timeout: 30
events:
- http:
path: phoneNumber
Expand Down
Loading