Skip to content

Commit c50ce55

Browse files
authored
Merge pull request #12 from nautna/bootstrap-fixes
fix: update lambda runtime to supported version
2 parents 55ae054 + e87ee8f commit c50ce55

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

infra/stack/backend-lambda-stack.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ export class BackendLambdaStack extends base.BaseStack {
1919
private createLambdaFunction(baseName: string): lambda.Function {
2020
const func = new lambda.Function(this, `${baseName}-func`, {
2121
functionName: `${this.projectPrefix}-${baseName}-func`,
22-
runtime: lambda.Runtime.NODEJS_12_X,
22+
runtime: lambda.Runtime.NODEJS_16_X,
2323
code: lambda.Code.fromAsset(`codes/lambda/${baseName}/src`),
2424
handler: 'index.handle',
2525
});

script/setup_initial.sh

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,6 @@ echo .
3636

3737
echo ==--------BootstrapCDKEnvironment---------==
3838
cdk bootstrap aws://$ACCOUNT/$REGION
39-
cdk bootstrap aws://$ACCOUNT/$REGION2
4039
echo .
4140
echo .
4241

0 commit comments

Comments
 (0)