Skip to content

Commit

Permalink
fix: Move handler to resources
Browse files Browse the repository at this point in the history
  • Loading branch information
raykrueger committed Feb 16, 2022
1 parent 89b88fc commit 003a6d8
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
File renamed without changes.
2 changes: 1 addition & 1 deletion src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ export class PublicIPSupport extends Construct {
const func = new lambda.Function(this, 'PublicIPManager', {
runtime: lambda.Runtime.PYTHON_3_9,
handler: 'index.handler',
code: lambda.Code.fromAsset(path.join(__dirname, 'functions/public_ip_manager')),
code: lambda.Code.fromAsset(path.join(__dirname, '../resources/functions/public_ip_manager')),
timeout: Duration.seconds(10),
logRetention,
initialPolicy: [
Expand Down

0 comments on commit 003a6d8

Please sign in to comment.