To complete support for building ARM64 dotnet7 functions https://github.com/aws/aws-sam-build-images/pull/81. Pass down directly the Architecture parameter defined in SAM template to Amazon Lambda Tools via --function-architecture argument. Previously when building dotnet7 functions, users also need to make changes in aws-lambda-tools-defaults.json in their source code directories.
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
Issue #, if available:
Description of changes: This change made:
Architecture
parameter defined in SAM template to Amazon Lambda Tools via--function-architecture
argument. Previously when building dotnet7 functions, users also need to make changes inaws-lambda-tools-defaults.json
in their source code directories.By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.