Skip to content

🎥 Make videos programmatically with React

`@remotion/lambda`: Pass through region to custom output provider

Jonny Burger282f50e5f650
diff --git a/packages/lambda/src/functions/helpers/get-custom-out-name.ts b/packages/lambda/src/functions/helpers/get-custom-out-name.ts
index 975c0130c3..a4e07983a2 100644
--- a/packages/lambda/src/functions/helpers/get-custom-out-name.ts
+++ b/packages/lambda/src/functions/helpers/get-custom-out-name.ts
@@ -30,6 +30,7 @@ export const getCustomOutName = ({
endpoint: renderMetadata.outName.s3OutputProvider.endpoint,
accessKeyId: customCredentials?.accessKeyId ?? null,
secretAccessKey: customCredentials?.secretAccessKey ?? null,
+ region: customCredentials?.region,
},
};
}