Skip to content

🎥 Make videos programmatically with React

`@remotion/lambda`: Disable ACLs by default and prefer bucket policies

Jonny Burger0d77724b3b73
diff --git a/packages/docs/docs/lambda/bucket-security.mdx b/packages/docs/docs/lambda/bucket-security.mdx
new file mode 100644
index 0000000000..99b1824b93
--- /dev/null
+++ b/packages/docs/docs/lambda/bucket-security.mdx
@@ -0,0 +1,42 @@
+---
+image: /generated/articles-docs-lambda-bucket-security.png
+title: Bucket Security
+sidebar_label: Bucket Security
+crumb: 'Lambda'
+---
+
+import {UserPolicy} from '../../components/lambda/user-permissions.tsx';
+
+Before Remotion Lambda, v4.0.418, buckets created with Remotion Lambda used a `public-read` ACL. This means that:
+
+- Items not explicitly made private (by setting the `privacy` option in [`renderMediaOnLambda()`](/docs/lambda/rendermediaonlambda#privacy)) are accessible to anyone.
+- People can "list" the buckets by visiting the bucket URL or using the AWS SDK
+
+## Risk
+
+If you also accepted user uploads to the bucket, anyone could list the bucket and see user items.
+If you did not set the [`privacy`](/docs/lambda/rendermediaonlambda#privacy) option for renders, anyone could list the bucket and see renders.
+
+## The new default<AvailableFrom v="4.0.418" />
+
+From Remotion Lambda v4.0.418, the default is to not set an ACL, but to set a bucket policy:
+
+- Items not explicitly made private (by setting the `privacy` option in [`renderMediaOnLambda()`](/docs/lambda/rendermediaonlambda#privacy)) are only accessible if you know the URL.
+- People cannot "list" the buckets anymore.
+
+This new default only applies for **newly created buckets** and only if you [added the `s3:PutBucketPolicy` permission to your IAM user](/docs/lambda/permissions).
+Existing buckets and new buckets created without the `s3:PutBucketPolicy` permission will continue to have a `public-read` ACL.
+`s3:PutBucketPolicy` is only available part of [`getUserPolicy()`](/docs/lambda/getuserpolicy) since v4.0.418.
+
+## Recommendation
+
+Since it is not required for the public to be able to list the bucket, we recommend disabling this to minimize exposure of your files.
+
+**For new buckets:** Ensure you add [`s3:PutBucketPolicy`](/docs/lambda/permissions) to your IAM user policy (default only from v4.0.418, if upgrading, you need to manually update your user policy). Then create a bucket.
+
+**For existing buckets:** Visit the bucket in the S3 console. Go to "permissions". Under `Access control list`, click `Edit` and remove `List` for `Everyone`.
+
+## See also
+
+- [Permissions](/docs/lambda/permissions)
+- [Cannot create public bucket](/docs/lambda/s3-public-access)
diff --git a/packages/docs/docs/lambda/permissions.mdx b/packages/docs/docs/lambda/permissions.mdx
index 6abbc3e713..954b16872b 100644
--- a/packages/docs/docs/lambda/permissions.mdx
+++ b/packages/docs/docs/lambda/permissions.mdx
@@ -107,12 +107,13 @@ The following table is a breakdown of why Remotion Lambda requires the permissio
<code>s3:DeleteBucket</code> <br />
<code>s3.PutBucketOwnershipControls</code> <br />
<code>s3.PutBucketPublicAccessBlock</code> <br />
+ <code>s3:PutBucketPolicy</code> <br />
</td>
<td>
<code>{'arn:aws:s3:::remotionlambda-*'}</code>
</td>
<td>
- Allows to create and delete buckets and objects in your account, make objects public and configure them as websites. Only buckets that start with <code>remotionlambda-</code> can be accessed.
+ Allows to create and delete buckets and objects in your account, make objects public and configure them as websites. Only buckets that start with <code>remotionlambda-</code> can be accessed. <code>s3:PutBucketPolicy</code> is used to apply a bucket policy that restricts public access to <code>s3:GetObject</code> only (see <a href="/docs/lambda/bucket-security">Bucket Security</a>).
</td>
</tr>
<tr>
diff --git a/packages/docs/sidebars.ts b/packages/docs/sidebars.ts
index 989a819021..86bafc46d1 100644
--- a/packages/docs/sidebars.ts
+++ b/packages/docs/sidebars.ts
@@ -1084,6 +1084,7 @@ const sidebars: SidebarsConfig = {
'lambda/upgrading',
'lambda/uninstall',
'lambda/s3-public-access',
+ 'lambda/bucket-security',
'lambda/naming-convention',
],
},
diff --git a/packages/docs/src/data/articles.ts b/packages/docs/src/data/articles.ts
index bc803f94ce..57f971710e 100644
--- a/packages/docs/src/data/articles.ts
+++ b/packages/docs/src/data/articles.ts
@@ -2168,6 +2168,15 @@ export const articles = [
noAi: false,
slug: 'lambda/bucket-naming',
},
+ {
+ id: 'lambda/bucket-security',
+ title: 'Bucket Security',
+ relativePath: 'docs/lambda/bucket-security.mdx',
+ compId: 'articles-docs-lambda-bucket-security',
+ crumb: 'Lambda',
+ noAi: false,
+ slug: 'lambda/bucket-security',
+ },
{
id: 'changelog',
title: 'Prerelease Changelog',
diff --git a/packages/docs/static/generated/articles-docs-lambda-bucket-security.png b/packages/docs/static/generated/articles-docs-lambda-bucket-security.png
new file mode 100644
index 0000000000..9cef598e36
Binary files /dev/null and b/packages/docs/static/generated/articles-docs-lambda-bucket-security.png differ
diff --git a/packages/lambda-client/src/create-bucket.ts b/packages/lambda-client/src/create-bucket.ts
index 22dcd164a0..16581f63d1 100644
--- a/packages/lambda-client/src/create-bucket.ts
+++ b/packages/lambda-client/src/create-bucket.ts
@@ -3,6 +3,7 @@ import {
DeleteBucketOwnershipControlsCommand,
DeletePublicAccessBlockCommand,
PutBucketAclCommand,
+ PutBucketPolicyCommand,
} from '@aws-sdk/client-s3';
import type {ProviderSpecifics} from '@remotion/serverless-client';
import type {AwsProvider} from './aws-provider';
@@ -63,6 +64,39 @@ export const createBucket: ProviderSpecifics<AwsProvider>['createBucket'] =
throw err;
}
+ let usedBucketPolicy = false;
+ try {
+ const policy = JSON.stringify({
+ Version: '2012-10-17',
+ Statement: [
+ {
+ Sid: 'PublicReadGetObject',
+ Effect: 'Allow',
+ Principal: '*',
+ Action: 's3:GetObject',
+ Resource: `arn:aws:s3:::${bucketName}/*`,
+ },
+ ],
+ });
+ await getS3Client({
+ region,
+ customCredentials: null,
+ forcePathStyle,
+ requestHandler,
+ }).send(
+ new PutBucketPolicyCommand({
+ Bucket: bucketName,
+ Policy: policy,
+ }),
+ );
+ usedBucketPolicy = true;
+ } catch {
+ // eslint-disable-next-line no-console
+ console.warn(
+ 'Could not apply a bucket policy to restrict public access to s3:GetObject only. Falling back to public-read ACL which also allows listing objects. To fix this, add the s3:PutBucketPolicy permission to your IAM user. See https://remotion.dev/docs/lambda/bucket-security',
+ );
+ }
+
try {
await getS3Client({
region,
@@ -72,7 +106,7 @@ export const createBucket: ProviderSpecifics<AwsProvider>['createBucket'] =
}).send(
new PutBucketAclCommand({
Bucket: bucketName,
- ACL: 'public-read',
+ ACL: usedBucketPolicy ? 'private' : 'public-read',
}),
);
} catch (err) {
diff --git a/packages/lambda-client/src/get-compositions-on-lambda.ts b/packages/lambda-client/src/get-compositions-on-lambda.ts
index ac6f1e50f6..dc3c824339 100644
--- a/packages/lambda-client/src/get-compositions-on-lambda.ts
+++ b/packages/lambda-client/src/get-compositions-on-lambda.ts
@@ -74,6 +74,7 @@ export const getCompositionsOnLambda = async ({
forcePathStyle: forcePathStyle ?? false,
skipPutAcl: false,
requestHandler,
+ logLevel: logLevel ?? 'info',
});
try {
diff --git a/packages/lambda-client/src/make-lambda-payload.ts b/packages/lambda-client/src/make-lambda-payload.ts
index 55bc4e2c3f..b57c5040b0 100644
--- a/packages/lambda-client/src/make-lambda-payload.ts
+++ b/packages/lambda-client/src/make-lambda-payload.ts
@@ -174,6 +174,7 @@ export const makeLambdaRenderMediaPayload = async ({
forcePathStyle: forcePathStyle ?? false,
skipPutAcl: privacy === 'no-acl',
requestHandler: requestHandler ?? null,
+ logLevel,
});
return {
rendererFunctionName,
@@ -298,6 +299,7 @@ export const makeLambdaRenderStillPayload = async ({
forcePathStyle,
skipPutAcl: privacy === 'no-acl',
requestHandler,
+ logLevel,
});
return {
diff --git a/packages/lambda-go-example/go.mod b/packages/lambda-go-example/go.mod
index d361c0f6d1..b5e343e1d0 100644
--- a/packages/lambda-go-example/go.mod
+++ b/packages/lambda-go-example/go.mod
@@ -1,5 +1,7 @@
module main.go
+go 1.24.3
+
require (
github.com/go-playground/validator/v10 v10.13.0
github.com/joho/godotenv v1.5.1
diff --git a/packages/lambda-go/go.mod b/packages/lambda-go/go.mod
index 6015c29191..f693a00f0a 100644
--- a/packages/lambda-go/go.mod
+++ b/packages/lambda-go/go.mod
@@ -1,5 +1,6 @@
module github.com/remotion-dev/lambda_go_sdk
+go 1.24.3
require (
github.com/aws/aws-sdk-go v1.44.257
@@ -12,6 +13,7 @@ require (
github.com/jmespath/go-jmespath v0.4.0 // indirect
github.com/leodido/go-urn v1.2.3 // indirect
golang.org/x/crypto v0.35.0 // indirect
+ golang.org/x/net v0.25.0 // indirect
golang.org/x/sys v0.30.0 // indirect
golang.org/x/text v0.22.0 // indirect
)
diff --git a/packages/lambda-go/go.sum b/packages/lambda-go/go.sum
index 5c11322bd9..d0188e9e34 100644
--- a/packages/lambda-go/go.sum
+++ b/packages/lambda-go/go.sum
@@ -37,8 +37,8 @@ golang.org/x/net v0.0.0-20190620200207-3b0461eec859/go.mod h1:z5CRVTTTmAJ677TzLL
golang.org/x/net v0.0.0-20210226172049-e18ecbb05110/go.mod h1:m0MpNAwzfU5UDzcl9v0D8zg8gWTRqZa9RBIspLL5mdg=
golang.org/x/net v0.0.0-20220722155237-a158d28d115b/go.mod h1:XRhObCWvk6IyKnWLug+ECip1KBveYUHfp+8e9klMJ9c=
golang.org/x/net v0.1.0/go.mod h1:Cx3nUiGt4eDBEyega/BKRp+/AlGL8hYe7U9odMt2Cco=
-golang.org/x/net v0.21.0 h1:AQyQV4dYCvJ7vGmJyKki9+PBdyvhkSd8EIx/qb0AYv4=
-golang.org/x/net v0.21.0/go.mod h1:bIjVDfnllIU7BJ2DNgfnXvpSvtn8VRwhlsaeUTyUS44=
+golang.org/x/net v0.25.0 h1:d/OCCoBEUq33pjydKrGQhw7IlUPI2Oylr+8qLx49kac=
+golang.org/x/net v0.25.0/go.mod h1:JkAGAh7GEvH74S6FOH42FLoXpXbE/aqXSrIQjXgsiwM=
golang.org/x/sync v0.0.0-20190423024810-112230192c58/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM=
golang.org/x/sync v0.0.0-20220722155255-886fb9371eb4/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM=
golang.org/x/sys v0.0.0-20190215142949-d0b11bdaac8a/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY=
diff --git a/packages/lambda/src/api/get-or-create-bucket.ts b/packages/lambda/src/api/get-or-create-bucket.ts
index 5ff49825cd..fb1cd59164 100644
--- a/packages/lambda/src/api/get-or-create-bucket.ts
+++ b/packages/lambda/src/api/get-or-create-bucket.ts
@@ -18,5 +18,6 @@ export const getOrCreateBucket = (
forcePathStyle: false,
skipPutAcl: false,
requestHandler: options.requestHandler ?? null,
+ logLevel: options.logLevel ?? 'info',
});
};
diff --git a/packages/lambda/src/api/iam-validation/user-permissions.ts b/packages/lambda/src/api/iam-validation/user-permissions.ts
index 1797d6094d..918d3a0a08 100644
--- a/packages/lambda/src/api/iam-validation/user-permissions.ts
+++ b/packages/lambda/src/api/iam-validation/user-permissions.ts
@@ -44,6 +44,7 @@ export const requiredPermissions: {
's3:DeleteBucket',
's3:PutBucketOwnershipControls',
's3:PutBucketPublicAccessBlock',
+ 's3:PutBucketPolicy',
's3:PutLifecycleConfiguration',
],
resource: [`arn:aws:s3:::${REMOTION_BUCKET_PREFIX}*`],
diff --git a/packages/lambda/src/cli/commands/sites/create.ts b/packages/lambda/src/cli/commands/sites/create.ts
index 228143bdb9..3f51415724 100644
--- a/packages/lambda/src/cli/commands/sites/create.ts
+++ b/packages/lambda/src/cli/commands/sites/create.ts
@@ -144,6 +144,7 @@ export const sitesCreateSubcommand = async (
forcePathStyle: false,
skipPutAcl: parsedLambdaCli.privacy === 'no-acl',
requestHandler: null,
+ logLevel,
})
).bucketName;
diff --git a/packages/lambda/src/cli/commands/sites/rm.ts b/packages/lambda/src/cli/commands/sites/rm.ts
index 67a327f868..56cb0eed94 100644
--- a/packages/lambda/src/cli/commands/sites/rm.ts
+++ b/packages/lambda/src/cli/commands/sites/rm.ts
@@ -46,6 +46,7 @@ export const sitesRmSubcommand = async (
forcePathStyle: false,
skipPutAcl: false,
requestHandler: null,
+ logLevel,
})
).bucketName;
diff --git a/packages/lambda/src/cli/commands/sites/rmall.ts b/packages/lambda/src/cli/commands/sites/rmall.ts
index 9f9d3808e2..500e04ad81 100644
--- a/packages/lambda/src/cli/commands/sites/rmall.ts
+++ b/packages/lambda/src/cli/commands/sites/rmall.ts
@@ -31,6 +31,7 @@ export const sitesRmallSubcommand = async (
forcePathStyle: false,
skipPutAcl: false,
requestHandler: null,
+ logLevel,
})
).bucketName;
diff --git a/packages/lambda/src/test/integration/delete-site.test.ts b/packages/lambda/src/test/integration/delete-site.test.ts
index 339c767ecd..3be9f35283 100644
--- a/packages/lambda/src/test/integration/delete-site.test.ts
+++ b/packages/lambda/src/test/integration/delete-site.test.ts
@@ -14,6 +14,7 @@ test('Return 0 total size if site did not exist', async () => {
forcePathStyle: false,
skipPutAcl: false,
requestHandler: null,
+ logLevel: 'info',
});
expect(
await internalDeleteSite({
@@ -36,6 +37,7 @@ test('Return more than 0 total size if site did not exist', async () => {
forcePathStyle: false,
skipPutAcl: false,
requestHandler: null,
+ logLevel: 'info',
});
const {siteName} = await internalDeploySite({
bucketName,
diff --git a/packages/lambda/src/test/integration/deploy-site.test.ts b/packages/lambda/src/test/integration/deploy-site.test.ts
index d1750751d3..7e8d90f3d2 100644
--- a/packages/lambda/src/test/integration/deploy-site.test.ts
+++ b/packages/lambda/src/test/integration/deploy-site.test.ts
@@ -81,6 +81,7 @@ test('Should apply name if given', async () => {
forcePathStyle: false,
skipPutAcl: false,
requestHandler: null,
+ logLevel: 'info',
});
expect(
await internalDeploySite({
@@ -120,6 +121,7 @@ test('Should overwrite site if given siteName is already taken', async () => {
forcePathStyle: false,
skipPutAcl: false,
requestHandler: null,
+ logLevel: 'info',
});
expect(
@@ -160,6 +162,7 @@ test('Should delete the previous site if deploying the new one', async () => {
forcePathStyle: false,
skipPutAcl: false,
requestHandler: null,
+ logLevel: 'info',
});
await internalDeploySite({
@@ -224,6 +227,7 @@ test('Should keep the previous site if deploying the new one with different ID',
forcePathStyle: false,
skipPutAcl: false,
requestHandler: null,
+ logLevel: 'info',
});
await internalDeploySite({
@@ -311,6 +315,7 @@ test('Should not delete site with same prefix', async () => {
forcePathStyle: false,
skipPutAcl: false,
requestHandler: null,
+ logLevel: 'info',
});
await internalDeploySite({
diff --git a/packages/lambda/src/test/integration/get-sites.test.ts b/packages/lambda/src/test/integration/get-sites.test.ts
index 8ce9645c08..7a0d0a5618 100644
--- a/packages/lambda/src/test/integration/get-sites.test.ts
+++ b/packages/lambda/src/test/integration/get-sites.test.ts
@@ -29,6 +29,7 @@ test('Should have a site after deploying', async () => {
forcePathStyle: false,
skipPutAcl: false,
requestHandler: null,
+ logLevel: 'info',
});
expect(
await internalDeploySite({
diff --git a/packages/serverless-client/src/check-bucket-listing.ts b/packages/serverless-client/src/check-bucket-listing.ts
new file mode 100644
index 0000000000..32c2dd6cdb
--- /dev/null
+++ b/packages/serverless-client/src/check-bucket-listing.ts
@@ -0,0 +1,21 @@
+export const checkBucketListing = async ({
+ bucketName,
+ region,
+}: {
+ bucketName: string;
+ region: string;
+}) => {
+ try {
+ const res = await fetch(
+ `https://${bucketName}.s3.${region}.amazonaws.com/`,
+ );
+ if (res.status === 200) {
+ // eslint-disable-next-line no-console
+ console.warn(
+ `Warning: Your bucket ${bucketName} allows public listing of its contents. See https://remotion.dev/docs/lambda/bucket-security for how to fix this.`,
+ );
+ }
+ } catch {
+ // Ignore - best effort check, may fail for non-AWS providers
+ }
+};
diff --git a/packages/serverless-client/src/compress-props.ts b/packages/serverless-client/src/compress-props.ts
index 25b5e5c4e0..9392297cae 100644
--- a/packages/serverless-client/src/compress-props.ts
+++ b/packages/serverless-client/src/compress-props.ts
@@ -1,3 +1,4 @@
+import type {LogLevel} from 'remotion';
import {NoReactInternals} from 'remotion/no-react';
import type {SerializedInputProps} from './constants';
import {internalGetOrCreateBucket} from './get-or-create-bucket';
@@ -77,6 +78,7 @@ export const compressInputProps = async <Provider extends CloudProvider>({
forcePathStyle,
skipPutAcl,
requestHandler,
+ logLevel,
}: {
stringifiedInputProps: string;
region: Provider['region'];
@@ -87,6 +89,7 @@ export const compressInputProps = async <Provider extends CloudProvider>({
forcePathStyle: boolean;
skipPutAcl: boolean;
requestHandler: Provider['requestHandler'] | undefined;
+ logLevel: LogLevel;
}): Promise<SerializedInputProps> => {
const hash = providerSpecifics.randomHash();
@@ -102,6 +105,7 @@ export const compressInputProps = async <Provider extends CloudProvider>({
forcePathStyle,
skipPutAcl,
requestHandler,
+ logLevel,
})
).bucketName;
diff --git a/packages/serverless-client/src/get-or-create-bucket.ts b/packages/serverless-client/src/get-or-create-bucket.ts
index 8609815f8a..053097cd93 100644
--- a/packages/serverless-client/src/get-or-create-bucket.ts
+++ b/packages/serverless-client/src/get-or-create-bucket.ts
@@ -1,3 +1,5 @@
+import type {LogLevel} from 'remotion';
+import {checkBucketListing} from './check-bucket-listing';
import type {CustomCredentials} from './constants';
import {makeBucketName} from './make-bucket-name';
import type {ProviderSpecifics} from './provider-implementation';
@@ -10,6 +12,7 @@ type GetOrCreateBucketInputInner<Provider extends CloudProvider> = {
providerSpecifics: ProviderSpecifics<Provider>;
forcePathStyle: boolean;
skipPutAcl: boolean;
+ logLevel: LogLevel;
requestHandler: Provider['requestHandler'] | null;
};
@@ -19,6 +22,7 @@ export type GetOrCreateBucketInput<Provider extends CloudProvider> = {
customCredentials?: CustomCredentials<Provider>;
forcePathStyle?: boolean;
requestHandler?: Provider['requestHandler'];
+ logLevel?: LogLevel;
};
export type GetOrCreateBucketOutput = {
@@ -58,6 +62,8 @@ export const internalGetOrCreateBucket = async <Provider extends CloudProvider>(
requestHandler: params.requestHandler,
});
+ await checkBucketListing({bucketName: existingBucketName, region});
+
return {bucketName: remotionBuckets[0].name, alreadyExisted: true};
}
@@ -69,6 +75,7 @@ export const internalGetOrCreateBucket = async <Provider extends CloudProvider>(
forcePathStyle: params.forcePathStyle,
skipPutAcl: params.skipPutAcl,
requestHandler: params.requestHandler,
+ logLevel: params.logLevel,
});
// apply to newly created bucket
diff --git a/packages/serverless-client/src/provider-implementation.ts b/packages/serverless-client/src/provider-implementation.ts
index 8008779c0f..44bdb747aa 100644
--- a/packages/serverless-client/src/provider-implementation.ts
+++ b/packages/serverless-client/src/provider-implementation.ts
@@ -59,6 +59,7 @@ type CreateBucket<Provider extends CloudProvider> = (params: {
forcePathStyle: boolean;
skipPutAcl: boolean;
requestHandler: Provider['requestHandler'] | null;
+ logLevel: LogLevel;
}) => Promise<void>;
type ApplyLifeCycle<Provider extends CloudProvider> = (params: {
diff --git a/packages/serverless/src/handlers/compositions.ts b/packages/serverless/src/handlers/compositions.ts
index 5da57604e6..5ad3eb1698 100644
--- a/packages/serverless/src/handlers/compositions.ts
+++ b/packages/serverless/src/handlers/compositions.ts
@@ -60,6 +60,7 @@ export const compositionsHandler = async <Provider extends CloudProvider>({
forcePathStyle: params.forcePathStyle,
skipPutAcl: false,
requestHandler: null,
+ logLevel: params.logLevel,
}).then((b) => b.bucketName));
const serializedInputPropsWithCustomSchema = await decompressInputProps({
diff --git a/packages/serverless/src/handlers/launch.ts b/packages/serverless/src/handlers/launch.ts
index f2dd803f30..10516c18d9 100644
--- a/packages/serverless/src/handlers/launch.ts
+++ b/packages/serverless/src/handlers/launch.ts
@@ -242,6 +242,7 @@ const innerLaunchHandler = async <Provider extends CloudProvider>({
forcePathStyle: params.forcePathStyle,
skipPutAcl: false,
requestHandler: null,
+ logLevel: params.logLevel,
});
registerCleanupTask(() => {
diff --git a/packages/serverless/src/handlers/start.ts b/packages/serverless/src/handlers/start.ts
index 1f43ac71c2..78bac25001 100644
--- a/packages/serverless/src/handlers/start.ts
+++ b/packages/serverless/src/handlers/start.ts
@@ -51,6 +51,7 @@ export const startHandler = async <Provider extends CloudProvider>({
forcePathStyle: params.forcePathStyle,
skipPutAcl: false,
requestHandler: null,
+ logLevel: params.logLevel,
})
).bucketName;
const realServeUrl = providerSpecifics.convertToServeUrl({
diff --git a/packages/serverless/src/handlers/still.ts b/packages/serverless/src/handlers/still.ts
index 40745c8627..3b0831a626 100644
--- a/packages/serverless/src/handlers/still.ts
+++ b/packages/serverless/src/handlers/still.ts
@@ -111,6 +111,7 @@ const innerStillHandler = async <Provider extends CloudProvider>(
forcePathStyle: params.forcePathStyle,
skipPutAcl: false,
requestHandler: null,
+ logLevel: params.logLevel,
}).then((b) => b.bucketName);
const outputDir = RenderInternals.tmpDir('remotion-render-');