Skip to content

Commit

Permalink
Fix lambda name (#12)
Browse files Browse the repository at this point in the history
  • Loading branch information
juanitodread committed Mar 13, 2024
1 parent 5196710 commit 2832a78
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cdk/lib/pierrot-stack.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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'),
Expand Down

0 comments on commit 2832a78

Please sign in to comment.