-
Notifications
You must be signed in to change notification settings - Fork 4.3k
Closed
Labels
@aws-cdk/aws-lambdaRelated to AWS LambdaRelated to AWS Lambdaclosed-for-stalenessThis issue was automatically closed because it hadn't received any attention in a while.This issue was automatically closed because it hadn't received any attention in a while.feature-requestA feature should be added or improved.A feature should be added or improved.response-requestedWaiting on additional info and feedback. Will move to "closing-soon" in 7 days.Waiting on additional info and feedback. Will move to "closing-soon" in 7 days.
Description
Describe the feature
I'm trying to create a Lambda with Runtime set to .NET 7. Is this supported? There doesn't seem to be an enum for DOTNET_7.
| public static readonly DOTNET_6 = Runtime.of('DOTNET_6') |
Also, I'm trying to deploy an ASP.NET WebAPI project. I've got some Lambda logs:
It was not possible to find any compatible framework version
The framework 'Microsoft.NETCore.App', version '7.0.0' (x64) was not found.
- The following frameworks were found:
- 6.0.4 at [/var/lang/bin/shared/Microsoft.NETCore.App]
- You can resolve the problem by installing the specified framework and/or SDK.
- The specified framework can be found at:
- https://aka.ms/dotnet-core-applaunch?framework=Microsoft.NETCore.App&framework_version=7.0.0&arch=x64&rid=amzn.2-x64
I found this article that shows support for .NET 7, but it's only for native AOT. There is no native AOT support for ASP.NET yet. Can you tell me how I can go about deploying my app?
Use Case
I've upgraded everything to .NET 7 locally. Got stuck with deployment.
Proposed Solution
No response
Other Information
No response
Acknowledgements
- I may be able to implement this feature request
- This feature might incur a breaking change
CDK version used
2.53.0
Environment details (OS name and version, etc.)
AL2
Metadata
Metadata
Assignees
Labels
@aws-cdk/aws-lambdaRelated to AWS LambdaRelated to AWS Lambdaclosed-for-stalenessThis issue was automatically closed because it hadn't received any attention in a while.This issue was automatically closed because it hadn't received any attention in a while.feature-requestA feature should be added or improved.A feature should be added or improved.response-requestedWaiting on additional info and feedback. Will move to "closing-soon" in 7 days.Waiting on additional info and feedback. Will move to "closing-soon" in 7 days.