🎥 Make videos programmatically with React
`@remotion/lambda`: Use `@aws-sdk/credential-provider-ini` directly
Jonny Burger1b16760f4559
diff --git a/packages/lambda-client/package.json b/packages/lambda-client/package.jsonindex 2a00d4058f..ff4e09b4bb 100644--- a/packages/lambda-client/package.json+++ b/packages/lambda-client/package.json@@ -22,7 +22,7 @@"@aws-sdk/client-s3": "3.738.0","@aws-sdk/client-service-quotas": "3.738.0","@aws-sdk/client-sts": "3.738.0",- "@aws-sdk/credential-providers": "3.738.0",+ "@aws-sdk/credential-provider-ini": "3.734.0","mime-types": "2.1.34"},"devDependencies": {diff --git a/packages/lambda-client/src/get-credentials.ts b/packages/lambda-client/src/get-credentials.tsindex bcc6e3a437..ff9a1270e2 100644--- a/packages/lambda-client/src/get-credentials.ts+++ b/packages/lambda-client/src/get-credentials.ts@@ -1,4 +1,4 @@-import {fromIni} from '@aws-sdk/credential-providers';+import {fromIni} from '@aws-sdk/credential-provider-ini';import {getEnvVariable} from './get-env-variable';import {isInsideLambda} from './is-in-lambda';diff --git a/packages/lambda/package.json b/packages/lambda/package.jsonindex 01360fe9c9..77a22a9392 100644--- a/packages/lambda/package.json+++ b/packages/lambda/package.json@@ -20,7 +20,7 @@"license": "MIT","dependencies": {"@aws-sdk/s3-request-presigner": "3.738.0",- "@aws-sdk/credential-providers": "3.738.0",+ "@aws-sdk/credential-provider-ini": "3.734.0","@aws-sdk/client-lambda": "3.738.0","@aws-sdk/client-s3": "3.738.0","@aws-sdk/client-sts": "3.738.0",diff --git a/pnpm-lock.yaml b/pnpm-lock.yamlindex 3cef4c1d33..4d4fb106ab 100644--- a/pnpm-lock.yaml+++ b/pnpm-lock.yaml@@ -1386,9 +1386,9 @@ importers:'@aws-sdk/client-sts':specifier: 3.738.0version: 3.738.0- '@aws-sdk/credential-providers':- specifier: 3.738.0- version: 3.738.0+ '@aws-sdk/credential-provider-ini':+ specifier: 3.734.0+ version: 3.734.0'@aws-sdk/lib-storage':specifier: 3.738.0version: 3.738.0(@aws-sdk/[email protected])@@ -1480,9 +1480,9 @@ importers:'@aws-sdk/client-sts':specifier: 3.738.0version: 3.738.0- '@aws-sdk/credential-providers':- specifier: 3.738.0- version: 3.738.0+ '@aws-sdk/credential-provider-ini':+ specifier: 3.734.0+ version: 3.734.0'@aws-sdk/s3-request-presigner':specifier: 3.738.0version: 3.738.0@@ -3837,53 +3837,6 @@ packages:- aws-crtdev: false- /@aws-sdk/[email protected]:- resolution: {integrity: sha512-TjPpLZ2qkh+2jQIYtUbNh5D6jv4U0DQIUiLLZOKalUqSK2L9OzTc1463kX076QCpYlAZJNt3FvPyiMab0W8zBg==}- engines: {node: '>=18.0.0'}- dependencies:- '@aws-crypto/sha256-browser': 5.2.0- '@aws-crypto/sha256-js': 5.2.0- '@aws-sdk/core': 3.734.0- '@aws-sdk/credential-provider-node': 3.738.0- '@aws-sdk/middleware-host-header': 3.734.0- '@aws-sdk/middleware-logger': 3.734.0- '@aws-sdk/middleware-recursion-detection': 3.734.0- '@aws-sdk/middleware-user-agent': 3.734.0- '@aws-sdk/region-config-resolver': 3.734.0- '@aws-sdk/types': 3.734.0- '@aws-sdk/util-endpoints': 3.734.0- '@aws-sdk/util-user-agent-browser': 3.734.0- '@aws-sdk/util-user-agent-node': 3.734.0- '@smithy/config-resolver': 4.0.1- '@smithy/core': 3.1.1- '@smithy/fetch-http-handler': 5.0.1- '@smithy/hash-node': 4.0.1- '@smithy/invalid-dependency': 4.0.1- '@smithy/middleware-content-length': 4.0.1- '@smithy/middleware-endpoint': 4.0.2- '@smithy/middleware-retry': 4.0.3- '@smithy/middleware-serde': 4.0.1- '@smithy/middleware-stack': 4.0.1- '@smithy/node-config-provider': 4.0.1- '@smithy/node-http-handler': 4.0.2- '@smithy/protocol-http': 5.0.1- '@smithy/smithy-client': 4.1.2- '@smithy/types': 4.1.0- '@smithy/url-parser': 4.0.1- '@smithy/util-base64': 4.0.0- '@smithy/util-body-length-browser': 4.0.0- '@smithy/util-body-length-node': 4.0.0- '@smithy/util-defaults-mode-browser': 4.0.3- '@smithy/util-defaults-mode-node': 4.0.3- '@smithy/util-endpoints': 3.0.1- '@smithy/util-middleware': 4.0.1- '@smithy/util-retry': 4.0.1- '@smithy/util-utf8': 4.0.0- tslib: 2.8.1- transitivePeerDependencies:- - aws-crt- dev: false-/@aws-sdk/[email protected]:resolution: {integrity: sha512-AZtHcqtWFOVlACYb5eoc1AefRxRxUmNcUcMzvfPiltCVNJD3S+ha8TFVYsCyGc850PIQZD75A8guIVzmAzw7VQ==}engines: {node: '>=18.0.0'}@@ -4112,26 +4065,26 @@ packages:'@aws-sdk/util-user-agent-browser': 3.734.0'@aws-sdk/util-user-agent-node': 3.734.0'@smithy/config-resolver': 4.0.1- '@smithy/core': 3.1.1+ '@smithy/core': 3.1.5'@smithy/fetch-http-handler': 5.0.1'@smithy/hash-node': 4.0.1'@smithy/invalid-dependency': 4.0.1'@smithy/middleware-content-length': 4.0.1- '@smithy/middleware-endpoint': 4.0.2- '@smithy/middleware-retry': 4.0.3- '@smithy/middleware-serde': 4.0.1+ '@smithy/middleware-endpoint': 4.0.6+ '@smithy/middleware-retry': 4.0.7+ '@smithy/middleware-serde': 4.0.2'@smithy/middleware-stack': 4.0.1'@smithy/node-config-provider': 4.0.1- '@smithy/node-http-handler': 4.0.2+ '@smithy/node-http-handler': 4.0.3'@smithy/protocol-http': 5.0.1- '@smithy/smithy-client': 4.1.2+ '@smithy/smithy-client': 4.1.6'@smithy/types': 4.1.0'@smithy/url-parser': 4.0.1'@smithy/util-base64': 4.0.0'@smithy/util-body-length-browser': 4.0.0'@smithy/util-body-length-node': 4.0.0- '@smithy/util-defaults-mode-browser': 4.0.3- '@smithy/util-defaults-mode-node': 4.0.3+ '@smithy/util-defaults-mode-browser': 4.0.7+ '@smithy/util-defaults-mode-node': 4.0.7'@smithy/util-endpoints': 3.0.1'@smithy/util-middleware': 4.0.1'@smithy/util-retry': 4.0.1@@ -4193,31 +4146,18 @@ packages:engines: {node: '>=18.0.0'}dependencies:'@aws-sdk/types': 3.734.0- '@smithy/core': 3.1.1+ '@smithy/core': 3.1.5'@smithy/node-config-provider': 4.0.1'@smithy/property-provider': 4.0.1'@smithy/protocol-http': 5.0.1'@smithy/signature-v4': 5.0.1- '@smithy/smithy-client': 4.1.2+ '@smithy/smithy-client': 4.1.6'@smithy/types': 4.1.0'@smithy/util-middleware': 4.0.1fast-xml-parser: 4.4.1tslib: 2.8.1dev: false- /@aws-sdk/[email protected]:- resolution: {integrity: sha512-zh8ATHUjy9CyVrq7qa7ICh4t5OF7mps0A22NY2NyLpSYWOErNnze+FvBi2uh+Jp+VIoojH4R2d9/IHTxENhq7g==}- engines: {node: '>=18.0.0'}- dependencies:- '@aws-sdk/client-cognito-identity': 3.738.0- '@aws-sdk/types': 3.734.0- '@smithy/property-provider': 4.0.1- '@smithy/types': 4.1.0- tslib: 2.8.1- transitivePeerDependencies:- - aws-crt- dev: false-/@aws-sdk/[email protected]:resolution: {integrity: sha512-gtRkzYTGafnm1FPpiNO8VBmJrYMoxhDlGPYDVcijzx3DlF8dhWnowuSBCxLSi+MJMx5hvwrX2A+e/q0QAeHqmw==}engines: {node: '>=18.0.0'}@@ -4236,12 +4176,12 @@ packages:'@aws-sdk/core': 3.734.0'@aws-sdk/types': 3.734.0'@smithy/fetch-http-handler': 5.0.1- '@smithy/node-http-handler': 4.0.2+ '@smithy/node-http-handler': 4.0.3'@smithy/property-provider': 4.0.1'@smithy/protocol-http': 5.0.1- '@smithy/smithy-client': 4.1.2+ '@smithy/smithy-client': 4.1.6'@smithy/types': 4.1.0- '@smithy/util-stream': 4.0.2+ '@smithy/util-stream': 4.1.2tslib: 2.8.1dev: false@@ -4328,31 +4268,6 @@ packages:- aws-crtdev: false- /@aws-sdk/[email protected]:- resolution: {integrity: sha512-Ff+7NMLmK9oadO1uHiMCS/V3Pmp3WnY7Ijy4ySx2HLUZQq7EKFZyFB0qslkeawdY0PGWqyj25anh8I/bhxqWoQ==}- engines: {node: '>=18.0.0'}- dependencies:- '@aws-sdk/client-cognito-identity': 3.738.0- '@aws-sdk/core': 3.734.0- '@aws-sdk/credential-provider-cognito-identity': 3.738.0- '@aws-sdk/credential-provider-env': 3.734.0- '@aws-sdk/credential-provider-http': 3.734.0- '@aws-sdk/credential-provider-ini': 3.734.0- '@aws-sdk/credential-provider-node': 3.738.0- '@aws-sdk/credential-provider-process': 3.734.0- '@aws-sdk/credential-provider-sso': 3.734.0- '@aws-sdk/credential-provider-web-identity': 3.734.0- '@aws-sdk/nested-clients': 3.734.0- '@aws-sdk/types': 3.734.0- '@smithy/core': 3.1.1- '@smithy/credential-provider-imds': 4.0.1- '@smithy/property-provider': 4.0.1- '@smithy/types': 4.1.0- tslib: 2.8.1- transitivePeerDependencies:- - aws-crt- dev: false-/@aws-sdk/[email protected](@aws-sdk/[email protected]):resolution: {integrity: sha512-YUBGp3k5Dg8RqHrllS89PjRiqpyIR3eKcQsCTM0bLzf3uRCjiCeSzlnl/co5W7Kxgc+eCnq0IitGYXR/mYFKeA==}engines: {node: '>=18.0.0'}@@ -4406,7 +4321,7 @@ packages:'@smithy/protocol-http': 5.0.1'@smithy/types': 4.1.0'@smithy/util-middleware': 4.0.1- '@smithy/util-stream': 4.0.2+ '@smithy/util-stream': 4.1.2'@smithy/util-utf8': 4.0.0tslib: 2.8.1dev: false@@ -4456,15 +4371,15 @@ packages:'@aws-sdk/core': 3.734.0'@aws-sdk/types': 3.734.0'@aws-sdk/util-arn-parser': 3.723.0- '@smithy/core': 3.1.1+ '@smithy/core': 3.1.5'@smithy/node-config-provider': 4.0.1'@smithy/protocol-http': 5.0.1'@smithy/signature-v4': 5.0.1- '@smithy/smithy-client': 4.1.2+ '@smithy/smithy-client': 4.1.6'@smithy/types': 4.1.0'@smithy/util-config-provider': 4.0.0'@smithy/util-middleware': 4.0.1- '@smithy/util-stream': 4.0.2+ '@smithy/util-stream': 4.1.2'@smithy/util-utf8': 4.0.0tslib: 2.8.1dev: false@@ -4485,7 +4400,7 @@ packages:'@aws-sdk/core': 3.734.0'@aws-sdk/types': 3.734.0'@aws-sdk/util-endpoints': 3.734.0- '@smithy/core': 3.1.1+ '@smithy/core': 3.1.5'@smithy/protocol-http': 5.0.1'@smithy/types': 4.1.0tslib: 2.8.1@@ -4508,26 +4423,26 @@ packages:'@aws-sdk/util-user-agent-browser': 3.734.0'@aws-sdk/util-user-agent-node': 3.734.0'@smithy/config-resolver': 4.0.1- '@smithy/core': 3.1.1+ '@smithy/core': 3.1.5'@smithy/fetch-http-handler': 5.0.1'@smithy/hash-node': 4.0.1'@smithy/invalid-dependency': 4.0.1'@smithy/middleware-content-length': 4.0.1- '@smithy/middleware-endpoint': 4.0.2- '@smithy/middleware-retry': 4.0.3- '@smithy/middleware-serde': 4.0.1+ '@smithy/middleware-endpoint': 4.0.6+ '@smithy/middleware-retry': 4.0.7+ '@smithy/middleware-serde': 4.0.2'@smithy/middleware-stack': 4.0.1'@smithy/node-config-provider': 4.0.1- '@smithy/node-http-handler': 4.0.2+ '@smithy/node-http-handler': 4.0.3'@smithy/protocol-http': 5.0.1- '@smithy/smithy-client': 4.1.2+ '@smithy/smithy-client': 4.1.6'@smithy/types': 4.1.0'@smithy/url-parser': 4.0.1'@smithy/util-base64': 4.0.0'@smithy/util-body-length-browser': 4.0.0'@smithy/util-body-length-node': 4.0.0- '@smithy/util-defaults-mode-browser': 4.0.3- '@smithy/util-defaults-mode-node': 4.0.3+ '@smithy/util-defaults-mode-browser': 4.0.7+ '@smithy/util-defaults-mode-node': 4.0.7'@smithy/util-endpoints': 3.0.1'@smithy/util-middleware': 4.0.1'@smithy/util-retry': 4.0.1@@ -13833,12 +13748,26 @@ packages:resolution: {integrity: sha512-hhUZlBWYuh9t6ycAcN90XOyG76C1AzwxZZgaCVPMYpWqqk9uMFo7HGG5Zu2cEhCJn7DdOi5krBmlibWWWPgdsw==}engines: {node: '>=18.0.0'}dependencies:- '@smithy/middleware-serde': 4.0.1+ '@smithy/middleware-serde': 4.0.2'@smithy/protocol-http': 5.0.1'@smithy/types': 4.1.0'@smithy/util-body-length-browser': 4.0.0'@smithy/util-middleware': 4.0.1- '@smithy/util-stream': 4.0.2+ '@smithy/util-stream': 4.1.2+ '@smithy/util-utf8': 4.0.0+ tslib: 2.8.1+ dev: false++ /@smithy/[email protected]:+ resolution: {integrity: sha512-HLclGWPkCsekQgsyzxLhCQLa8THWXtB5PxyYN+2O6nkyLt550KQKTlbV2D1/j5dNIQapAZM1+qFnpBFxZQkgCA==}+ engines: {node: '>=18.0.0'}+ dependencies:+ '@smithy/middleware-serde': 4.0.2+ '@smithy/protocol-http': 5.0.1+ '@smithy/types': 4.1.0+ '@smithy/util-body-length-browser': 4.0.0+ '@smithy/util-middleware': 4.0.1+ '@smithy/util-stream': 4.1.2'@smithy/util-utf8': 4.0.0tslib: 2.8.1dev: false@@ -13993,6 +13922,20 @@ packages:tslib: 2.8.1dev: false+ /@smithy/[email protected]:+ resolution: {integrity: sha512-ftpmkTHIFqgaFugcjzLZv3kzPEFsBFSnq1JsIkr2mwFzCraZVhQk2gqN51OOeRxqhbPTkRFj39Qd2V91E/mQxg==}+ engines: {node: '>=18.0.0'}+ dependencies:+ '@smithy/core': 3.1.5+ '@smithy/middleware-serde': 4.0.2+ '@smithy/node-config-provider': 4.0.1+ '@smithy/shared-ini-file-loader': 4.0.1+ '@smithy/types': 4.1.0+ '@smithy/url-parser': 4.0.1+ '@smithy/util-middleware': 4.0.1+ tslib: 2.8.1+ dev: false+/@smithy/[email protected]:resolution: {integrity: sha512-TiKwwQTwUDeDtwWW8UWURTqu7s6F3wN2pmziLU215u7bqpVT9Mk2oEvURjpRLA+5XeQhM68R5BpAGzVtomsqgA==}engines: {node: '>=18.0.0'}@@ -14000,7 +13943,22 @@ packages:'@smithy/node-config-provider': 4.0.1'@smithy/protocol-http': 5.0.1'@smithy/service-error-classification': 4.0.1- '@smithy/smithy-client': 4.1.2+ '@smithy/smithy-client': 4.1.6+ '@smithy/types': 4.1.0+ '@smithy/util-middleware': 4.0.1+ '@smithy/util-retry': 4.0.1+ tslib: 2.8.1+ uuid: 9.0.1+ dev: false++ /@smithy/[email protected]:+ resolution: {integrity: sha512-58j9XbUPLkqAcV1kHzVX/kAR16GT+j7DUZJqwzsxh1jtz7G82caZiGyyFgUvogVfNTg3TeAOIJepGc8TXF4AVQ==}+ engines: {node: '>=18.0.0'}+ dependencies:+ '@smithy/node-config-provider': 4.0.1+ '@smithy/protocol-http': 5.0.1+ '@smithy/service-error-classification': 4.0.1+ '@smithy/smithy-client': 4.1.6'@smithy/types': 4.1.0'@smithy/util-middleware': 4.0.1'@smithy/util-retry': 4.0.1@@ -14016,6 +13974,14 @@ packages:tslib: 2.8.1dev: false+ /@smithy/[email protected]:+ resolution: {integrity: sha512-Sdr5lOagCn5tt+zKsaW+U2/iwr6bI9p08wOkCp6/eL6iMbgdtc2R5Ety66rf87PeohR0ExI84Txz9GYv5ou3iQ==}+ engines: {node: '>=18.0.0'}+ dependencies:+ '@smithy/types': 4.1.0+ tslib: 2.8.1+ dev: false+/@smithy/[email protected]:resolution: {integrity: sha512-dHwDmrtR/ln8UTHpaIavRSzeIk5+YZTBtLnKwDW3G2t6nAupCiQUvNzNoHBpik63fwUaJPtlnMzXbQrNFWssIA==}engines: {node: '>=18.0.0'}@@ -14045,6 +14011,17 @@ packages:tslib: 2.8.1dev: false+ /@smithy/[email protected]:+ resolution: {integrity: sha512-dYCLeINNbYdvmMLtW0VdhW1biXt+PPCGazzT5ZjKw46mOtdgToQEwjqZSS9/EN8+tNs/RO0cEWG044+YZs97aA==}+ engines: {node: '>=18.0.0'}+ dependencies:+ '@smithy/abort-controller': 4.0.1+ '@smithy/protocol-http': 5.0.1+ '@smithy/querystring-builder': 4.0.1+ '@smithy/types': 4.1.0+ tslib: 2.8.1+ dev: false+/@smithy/[email protected]:resolution: {integrity: sha512-o+VRiwC2cgmk/WFV0jaETGOtX16VNPp2bSQEzu0whbReqE1BMqsP2ami2Vi3cbGVdKu1kq9gQkDAGKbt0WOHAQ==}engines: {node: '>=18.0.0'}@@ -14120,6 +14097,19 @@ packages:tslib: 2.8.1dev: false+ /@smithy/[email protected]:+ resolution: {integrity: sha512-UYDolNg6h2O0L+cJjtgSyKKvEKCOa/8FHYJnBobyeoeWDmNpXjwOAtw16ezyeu1ETuuLEOZbrynK0ZY1Lx9Jbw==}+ engines: {node: '>=18.0.0'}+ dependencies:+ '@smithy/core': 3.1.5+ '@smithy/middleware-endpoint': 4.0.6+ '@smithy/middleware-stack': 4.0.1+ '@smithy/protocol-http': 5.0.1+ '@smithy/types': 4.1.0+ '@smithy/util-stream': 4.1.2+ tslib: 2.8.1+ dev: false+/@smithy/[email protected]:resolution: {integrity: sha512-enhjdwp4D7CXmwLtD6zbcDMbo6/T6WtuuKCY49Xxc6OMOmUWlBEBDREsxxgV2LIdeQPW756+f97GzcgAwp3iLw==}engines: {node: '>=18.0.0'}@@ -14187,7 +14177,18 @@ packages:engines: {node: '>=18.0.0'}dependencies:'@smithy/property-provider': 4.0.1- '@smithy/smithy-client': 4.1.2+ '@smithy/smithy-client': 4.1.6+ '@smithy/types': 4.1.0+ bowser: 2.11.0+ tslib: 2.8.1+ dev: false++ /@smithy/[email protected]:+ resolution: {integrity: sha512-CZgDDrYHLv0RUElOsmZtAnp1pIjwDVCSuZWOPhIOBvG36RDfX1Q9+6lS61xBf+qqvHoqRjHxgINeQz47cYFC2Q==}+ engines: {node: '>=18.0.0'}+ dependencies:+ '@smithy/property-provider': 4.0.1+ '@smithy/smithy-client': 4.1.6'@smithy/types': 4.1.0bowser: 2.11.0tslib: 2.8.1@@ -14201,7 +14202,20 @@ packages:'@smithy/credential-provider-imds': 4.0.1'@smithy/node-config-provider': 4.0.1'@smithy/property-provider': 4.0.1- '@smithy/smithy-client': 4.1.2+ '@smithy/smithy-client': 4.1.6+ '@smithy/types': 4.1.0+ tslib: 2.8.1+ dev: false++ /@smithy/[email protected]:+ resolution: {integrity: sha512-79fQW3hnfCdrfIi1soPbK3zmooRFnLpSx3Vxi6nUlqaaQeC5dm8plt4OTNDNqEEEDkvKghZSaoti684dQFVrGQ==}+ engines: {node: '>=18.0.0'}+ dependencies:+ '@smithy/config-resolver': 4.0.1+ '@smithy/credential-provider-imds': 4.0.1+ '@smithy/node-config-provider': 4.0.1+ '@smithy/property-provider': 4.0.1+ '@smithy/smithy-client': 4.1.6'@smithy/types': 4.1.0tslib: 2.8.1dev: false@@ -14244,7 +14258,21 @@ packages:engines: {node: '>=18.0.0'}dependencies:'@smithy/fetch-http-handler': 5.0.1- '@smithy/node-http-handler': 4.0.2+ '@smithy/node-http-handler': 4.0.3+ '@smithy/types': 4.1.0+ '@smithy/util-base64': 4.0.0+ '@smithy/util-buffer-from': 4.0.0+ '@smithy/util-hex-encoding': 4.0.0+ '@smithy/util-utf8': 4.0.0+ tslib: 2.8.1+ dev: false++ /@smithy/[email protected]:+ resolution: {integrity: sha512-44PKEqQ303d3rlQuiDpcCcu//hV8sn+u2JBo84dWCE0rvgeiVl0IlLMagbU++o0jCWhYCsHaAt9wZuZqNe05Hw==}+ engines: {node: '>=18.0.0'}+ dependencies:+ '@smithy/fetch-http-handler': 5.0.1+ '@smithy/node-http-handler': 4.0.3'@smithy/types': 4.1.0'@smithy/util-base64': 4.0.0'@smithy/util-buffer-from': 4.0.0