-
Notifications
You must be signed in to change notification settings - Fork 89
Closed
Labels
bugThis issue is a bug.This issue is a bug.module/cli-extp2This is a standard priority issueThis is a standard priority issuepotential-regressionMarking this issue as a potential regression to be checked by team memberMarking this issue as a potential regression to be checked by team membersEffort estimation: smallEffort estimation: small
Description
Describe the bug
I have a toy application targeting .NET 9 that is deployed to both AWS Lambda as a custom runtime function and Azure App Service as a container.
A dependabot PR (martincostello/adventofcode#1980) updating Amazon.Lambda.Tools from 5.12.0 to 5.12.1 breaks publishing the application on Linux and Windows with one error and on macOS with a different error.
Linux and Windows
Amazon Lambda Tools for .NET Core applications (5.12.1)
Project Home: https://github.com/aws/aws-extensions-for-dotnet-cli, https://github.com/aws/aws-lambda-dotnet
Host machine architecture (X64) differs from Lambda architecture (Arm64). Building Native AOT Lambda functions require the host and lambda architectures to match.
macOS
Amazon Lambda Tools for .NET Core applications (5.12.1)
Project Home: https://github.com/aws/aws-extensions-for-dotnet-cli, https://github.com/aws/aws-lambda-dotnet
No container build image available for targetFramework net9.0 and architecture arm64.
The tooling should not block the publish as the application is authored in a way that a working native AoT application is produced that works for an ARM64 custom runtime function.
Regression Issue
- Select this option if this issue appears to be a regression.
Expected Behavior
The lambda ZIP archive is produced for deployment.
Current Behavior
Publishing the application fails.
Reproduction Steps
- Clone martincostello/adventofcode@d3e9a00
- Run
build.ps1 -SkipTestsfrom the root of the repository
Possible Solution
No response
Additional Information/Context
No response
Targeted .NET platform
.NET 9
CLI extension version
amazon.lambda.tools 5.12.1
Environment details (OS name and version, etc.)
Any
Metadata
Metadata
Assignees
Labels
bugThis issue is a bug.This issue is a bug.module/cli-extp2This is a standard priority issueThis is a standard priority issuepotential-regressionMarking this issue as a potential regression to be checked by team memberMarking this issue as a potential regression to be checked by team membersEffort estimation: smallEffort estimation: small