Skip to content

Commit 2bb1c63

Browse files
committed
chore: update lambda runtime
1 parent 144bbf4 commit 2bb1c63

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/supabase-studio/index.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -188,10 +188,10 @@ export class Repository extends codecommit.Repository {
188188

189189
this.importFunction = new lambda.Function(this, 'ImportFunction', {
190190
description: 'Clone to CodeCommit from remote repo (You can execute this function manually.)',
191-
runtime: lambda.Runtime.PYTHON_3_9,
191+
runtime: lambda.Runtime.PYTHON_3_12,
192192
code: lambda.Code.fromAsset(path.resolve(__dirname, 'cr-import-repo'), {
193193
bundling: {
194-
image: cdk.DockerImage.fromRegistry('public.ecr.aws/sam/build-python3.9:latest-x86_64'),
194+
image: cdk.DockerImage.fromRegistry('public.ecr.aws/sam/build-python3.12:latest-x86_64'),
195195
command: [
196196
'/bin/bash', '-c', [
197197
'mkdir -p /var/task/local/{bin,lib}',
@@ -208,9 +208,9 @@ export class Repository extends codecommit.Repository {
208208
},
209209
}),
210210
handler: 'index.handler',
211-
memorySize: 3072,
211+
memorySize: 4096,
212212
ephemeralStorageSize: cdk.Size.gibibytes(3),
213-
timeout: cdk.Duration.minutes(5),
213+
timeout: cdk.Duration.minutes(15),
214214
environment: {
215215
TARGET_REPO: this.repositoryCloneUrlGrc,
216216
},

0 commit comments

Comments
 (0)