diff --git a/src/PackedLambdaFn.ts b/src/PackedLambdaFn.ts index 76e1ada..ce42423 100644 --- a/src/PackedLambdaFn.ts +++ b/src/PackedLambdaFn.ts @@ -54,5 +54,7 @@ export class PackedLambdaFn extends Construct { handler: source.handler, code: new LambdaSource(this, source).code, }) + this.fn.node.addMetadata('packedLambda:id', source.id) + this.fn.node.addMetadata('packedLambda:hash', source.hash) } }