From 2832a78bf35141ffe8b1eb62643da23143e313fe Mon Sep 17 00:00:00 2001 From: Juan Sandoval <1304670+juanitodread@users.noreply.github.com> Date: Wed, 13 Mar 2024 16:58:42 -0700 Subject: [PATCH] Fix lambda name (#12) --- cdk/lib/pierrot-stack.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cdk/lib/pierrot-stack.ts b/cdk/lib/pierrot-stack.ts index 7316cbe..2ab6989 100644 --- a/cdk/lib/pierrot-stack.ts +++ b/cdk/lib/pierrot-stack.ts @@ -17,7 +17,7 @@ export class PierrotStack extends cdk.Stack { }); new lambda.Function(this, `PierrotSyncDB${environment}`, { - functionName: 'pierrot-sync-db', + functionName: `pierrot-sync-db-${environment.toLowerCase()}`, handler: 'lambdas.sync_db.do_work', runtime: lambda.Runtime.PYTHON_3_12, code: lambda.Code.fromAsset('../pierrot-service.zip'),