Skip to content

πŸŽ₯ Make videos programmatically with React

Update AWS Lambda Node.js runtime chart

JonnyBurger29ab292e2381
diff --git a/packages/docs/docs/lambda/runtime.mdx b/packages/docs/docs/lambda/runtime.mdx
index 61a3129f81..e31a0425c1 100644
--- a/packages/docs/docs/lambda/runtime.mdx
+++ b/packages/docs/docs/lambda/runtime.mdx
@@ -13,17 +13,16 @@ This page describes the environment that the Lambda function is running in.
## Node.JS Version
-_from v4.0.245_
+| Remotion Version | Node.js Release Line | Locked Runtime ARN |
+| ----------------- | -------------------- | --------------------------------------------------------------------------------------------------- |
+| From v4.0.376 | 22.x | `arn:aws:lambda:{region}::runtime:bbff6dbb70f7ec465eee20d07035db8b2d55506273cd6188d5bf1123c218e508` |
+| 4.0.245 – 4.0.375 | 20.x | `arn:aws:lambda:{region}::runtime:da57c20c4b965d5b75540f6865a35fc8030358e33ec44ecfed33e90901a27a72` |
+| Before v4.0.245 | 18.x | - |
-The Lambda function uses a NodeJS version from the `20.x` release line.
-The Lambda runtime will get locked to
+If your [user policy](/docs/lambda/permissions#user-policies) includes `lambda:PutRuntimeManagementConfig` (included by default if you set up Remotion Lambda after November 2023), the Lambda runtime will be locked to the ARN shown for your Remotion version (recommended).
-```
-arn:aws:lambda:${region}::runtime:da57c20c4b965d5b75540f6865a35fc8030358e33ec44ecfed33e90901a27a72
-```
-
-if your user policy includes `lambda:PutRuntimeManagementConfig`, which is recommended.
-Otherwise, future updates to the runtime by AWS have the potential to break the function. If you don't have this permission in your policy, a warning will be printed.
+Otherwise, future updates to the runtime by AWS have the potential to break the function.
+If you don't have this permission in your policy, a warning will be printed.
## Memory size