-
Notifications
You must be signed in to change notification settings - Fork 7
Update Yoda Executor on AWS Lambda
Kitipong Sirirueangsakul edited this page Jul 25, 2025
·
18 revisions
When there is a new release of Yoda Executor, it is possible to modify the existing AWS Lambda and update its source code. Here are the steps to update it.
- Python 3.9 in "Runtime settings"
- 1024 MB Memory and 12 sec Timeout in "Basic settings"
- Environment variables -> MAX_DATA_SIZE=512, MAX_EXECUTABLE=8192
This can be done by uploading new zip file to Lambda, which can be found here

curl --location --request POST '<your_api_endpoint>' \
--header 'Content-Type: application/json' \
--data-raw '{
"executable": "IyEvdXNyL2Jpbi9lbnYgcHl0aG9uMwoKaW1wb3J0IHN5cwoKZGVmIG1haW4oZGF0YSk6CiAgICByZXR1cm4gZGF0YQoKCmlmIF9fbmFtZV9fID09ICJfX21haW5fXyI6CiAgICB0cnk6CiAgICAgICAgcHJpbnQobWFpbigqc3lzLmFyZ3ZbMTpdKSkKICAgIGV4Y2VwdCBFeGNlcHRpb24gYXMgZToKICAgICAgICBwcmludChzdHIoZSksIGZpbGU9c3lzLnN0ZGVycikKICAgICAgICBzeXMuZXhpdCgxKQo=",
"calldata": "\"Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industrys standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages.\"",
"timeout": 3000
}'
The expected result should be:
{
"returncode": 0,
"stdout": "Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industrys standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages.\n",
"stderr": "",
"error": "",
"version": "lambda:2.0.4"
}
After clicking Save, it's all done. That was easy!