-
Notifications
You must be signed in to change notification settings - Fork 870
Aspire 13.2 broke AWS Lambda Integration #15606
Copy link
Copy link
Labels
area-app-modelIssues pertaining to the APIs in Aspire.Hosting, e.g. DistributedApplicationIssues pertaining to the APIs in Aspire.Hosting, e.g. DistributedApplicationarea-toolingvsIssues related to Visual Studio tooling for aspireIssues related to Visual Studio tooling for aspire‼️regression-from-last-releaseThis used to work in an earlier version of Aspire and we broke it!This used to work in an earlier version of Aspire and we broke it!
Metadata
Metadata
Assignees
Labels
area-app-modelIssues pertaining to the APIs in Aspire.Hosting, e.g. DistributedApplicationIssues pertaining to the APIs in Aspire.Hosting, e.g. DistributedApplicationarea-toolingvsIssues related to Visual Studio tooling for aspireIssues related to Visual Studio tooling for aspire‼️regression-from-last-releaseThis used to work in an earlier version of Aspire and we broke it!This used to work in an earlier version of Aspire and we broke it!
Is there an existing issue for this?
Describe the bug
Starting with Aspire 13.2 our AWS Lambda integration broke when launched in debug mode from Visual Studio. For .NET Lambda we have 2 different programming models. The complicated one for Aspire and which broke with 13.2 is where a Lambda function is defined in a class library. Our integration during startup generates a launch profile in the .NET Lambda project's
launchSettings.jsonthat sets up the bootstrapping executable and then we specify that launch profile for the project being launched within Aspire.In Aspire 9.x up to 13.1 this worked fine but with 13.2 it fails with the log output indicating it doesn't like that we are using a class library even though this technic worked for us before.
Expected Behavior
.NET Lambda function defined in a class library is executed following the configuration we setup in the
launchSettings.jsonfile.Steps To Reproduce
We have the following repo you can clone and reproduce the issue by opening the solution and launching the AppHost. The Lambda function will show finished right away. The repo does not require an AWS account to use.
https://github.com/dscpinheiro/AddAWSLambdaFunctionRepro
Exceptions (if any)
No response
.NET Version info
No response
Anything else?
No response