Deploy AWS Lambda functions on AWS Graviton processors
Introduction
Deploy Node.js Lambda functions on Graviton processors with Terraform
Deploy Python Lambda functions on Graviton processors with Terraform
Next Steps
Deploy AWS Lambda functions on AWS Graviton processors
Review frequently asked questions
These FAQs were drafted with an approved AI-assisted workflow and reviewed by Arm contributors before publication. Human technical review remains part of the process so the final page reflects engineering rigor, accuracy, and Arm editorial standards.
Use the
arm64 architecture in your Terraform configuration to target Graviton processors.Open AWS Lambda in the AWS console, select Functions, and open your function. In Runtime settings, verify that the Architecture field is listed as
arm64.Save the Python function as
python_lambda.py. The handler reads event["first_name"] and event["last_name"] to build the returned message.Open the function’s Test tab, enter
{"first_name": "Arm-", "last_name": "user"} in the Event JSON field, and select Test. You should see the same output as when you run the function with Terraform.Terraform creates a Lambda function configured to run on arm64. When invoked with the expected inputs, the example returns a greeting message.