Skip to content

Commit de0c3d5

Browse files
committed
Add a parent relationship with the Lambda emulator as the parent of the Lambda functions.
1 parent 2e1721a commit de0c3d5

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/Aspire.Hosting.AWS/Lambda/LambdaExtensions.cs

+2
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,8 @@ public static class LambdaExtensions
5454
.WithAnnotation(new TLambdaProject());
5555
}
5656

57+
resource.WithParentRelationship(serviceEmulator);
58+
5759
resource.WithOpenTelemetry();
5860

5961
resource.WithEnvironment(context =>

0 commit comments

Comments
 (0)