Skip to content

Commit

Permalink
replace the deprecated runtime "provided" with "provided.al2023"
Browse files Browse the repository at this point in the history
least we cannot create new lambda functions (function update will keep
working until March 2025)
  • Loading branch information
Alberto Diaz Dorado committed May 4, 2024
1 parent cb242a8 commit 148401e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion deploy/env.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"ZUREG_HACKATHON": "munihac2022",
"ZUREG_HACKATHON": "munihac2024",
"ZUREG_SCANNER_SECRET": "secret!",
"ZUREG_RECAPTCHA_SECRET": "secret!",
"ZUREG_EMAIL": "[email protected]"
Expand Down
4 changes: 2 additions & 2 deletions deploy/template.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ Resources:
FunctionName: 'zureg-web'
Handler: 'web'
Role: {'Fn::GetAtt': ['LambdaExecutionRole', 'Arn']}
Runtime: 'provided'
Runtime: 'provided.al2023'
Timeout: 10
MemorySize: 512 # If not, requests to DDB time out...
Code:
Expand Down Expand Up @@ -192,7 +192,7 @@ Resources:
FunctionName: 'zureg-janitor'
Handler: 'janitor'
Role: {'Fn::GetAtt': ['LambdaExecutionRole', 'Arn']}
Runtime: 'provided'
Runtime: 'provided.al2023'
Timeout: 10
MemorySize: 512 # If not, requests to DDB time out...
Code:
Expand Down

0 comments on commit 148401e

Please sign in to comment.