-
Notifications
You must be signed in to change notification settings - Fork 2.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Different architecture support for Lambda functions #2166
Comments
Looks like support for this has been added in 1.39.0 (Release: https://github.com/aws/serverless-application-model/releases/tag/v1.39.0 Commit: 77deed7 #2164), just not available in the main released version or documented yet. Edit: Appears to have shipped in SAM CLI 1.33.0 |
Thanks @Phuurl for the update. Let me check it out. |
I tried using the
After I removed property I'm using the latest |
@imjustd We added it to the docs on this page (but we may need to add it at other places to make it more visible): |
@mgrandis yes I use Linux. That actually did the trick, thanks for posting it! But I couldn't find it, maybe good to add this to the SAM CLI when invoked to give a warning if trying to build |
This was released in https://github.com/aws/aws-sam-cli/releases/tag/v1.33.0 of SAM CLI and is already available in SAM. If you are running into troubles with SAM CLI support, please cut a new issue to that repo here. If there is something off in the SAM Spec, please create a new issue in this repo here Closing as this is already supported |
Describe your idea/feature/enhancement
Provide a clear description.
AWS Lambda recently announced about Lambda functions powered by AWS Graviton2 processor where it's mentioned that AWS SAM would also support the different architectures for the Lambda function. So that it's easier to deploy with
SAM build
CLI command.Just searched for the options currently there was none and didn't find in the issue list so raising it.
Proposal
A new parameter on AWS SAM should be able define different architectures -
Sample parameter Architecture which accepts either x86_64 or arm64
Add details on how to add this to the product.
Things to consider:
Additional Details
The text was updated successfully, but these errors were encountered: