🎥 Make videos programmatically with React
docs
Jonny Burger406b3ba58d36
diff --git a/packages/docs/docs/lambda/changelog.md b/packages/docs/docs/lambda/changelog.mdindex dcd5d1330d..b373314870 100644--- a/packages/docs/docs/lambda/changelog.md+++ b/packages/docs/docs/lambda/changelog.md@@ -10,6 +10,19 @@ Keep track of changes to the APIs of Remotion Lambda here.[Upgrading](/docs/lambda/upgrading)+##Â Unreleased++_Experimental version, stay with '2022-03-17' for well-tested version_++Version hash: `3.0.0-xxxx`+Lambda version: '2022-03-29'++Added the option to increase the Lambda disk space and therefore enable rendering of longer videos: [/docs/lambda/disk-space]++- You can set a disk space of up to 10GB+- Adding more storage has a miniscule effect on price. According to our calculation, having 10GB of storage instead of the default 512MB adds only ~0.2% to the cost of Lambda.+- Breaking change: The `estimatePrice()` method now takes CPU architecture, disk size and number of lambdas invoked into account. These parameters have been added to the function and been made mandatory.+## March 17th, 2022Version hash: `3.0.0-lambda.414+163634f42`diff --git a/packages/docs/docs/lambda/cli/functions.md b/packages/docs/docs/lambda/cli/functions.mdindex 925d9ba577..0734858c2a 100644--- a/packages/docs/docs/lambda/cli/functions.md+++ b/packages/docs/docs/lambda/cli/functions.md@@ -26,7 +26,7 @@ You only need one function per AWS region and Remotion version. Suggested readinnpx remotion lambda functions deploy```-Creates a new function in your AWS account. If a function in the same region, from the same Remotion version, with the same amount of memory and the same timeout already exists, the name of the already deployed function will be returned instead.+Creates a new function in your AWS account. If a function in the same region, with the same Remotion version, with the same amount of memory, disk space and timeout already exists, the name of the already deployed function will be returned instead.By default, a CloudWatch Log Group will be created that will log debug information to CloudWatch that you can consult in the case something is going wrong. The default retention period for these logs is 14 days, which can be changed.diff --git a/packages/docs/docs/lambda/getfunctions.md b/packages/docs/docs/lambda/getfunctions.mdindex f1b664e429..50405bce1d 100644--- a/packages/docs/docs/lambda/getfunctions.md+++ b/packages/docs/docs/lambda/getfunctions.md@@ -16,18 +16,19 @@ To get information about only a single function, use [`getFunctionInfo()`](/docs// @module: esnext// @target: es2017-import {getFunctions} from '@remotion/lambda';+import { getFunctions } from "@remotion/lambda";const info = await getFunctions({- region: 'eu-central-1',- compatibleOnly: true+ region: "eu-central-1",+ compatibleOnly: true,});for (const fn of info) {- console.log(fn.functionName) // "remotion-render-d8a03x"- console.log(fn.memorySizeInMb) // 1536- console.log(fn.timeoutInSeconds) // 120- console.log(fn.version) // "2021-07-25"+ console.log(fn.functionName); // "remotion-render-d8a03x"+ console.log(fn.memorySizeInMb); // 1536+ console.log(fn.timeoutInSeconds); // 120+ console.log(fn.diskSizeInMb); // 512+ console.log(fn.version); // "2021-07-25"}```@@ -55,6 +56,10 @@ The name of the function.The amount of memory allocated to the function.+### `diskSizeInMb`++The amount of ephemereal storage allocated to the function.+### `functionName`The name of the function.