From 1d9f6365f0afb7fee6ad469f1338007c17c1930b Mon Sep 17 00:00:00 2001 From: Agnes Garoux Date: Mon, 2 Dec 2024 14:49:47 +0000 Subject: [PATCH] use string --- cloudfront/invalidation/lambda/deploy.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cloudfront/invalidation/lambda/deploy.js b/cloudfront/invalidation/lambda/deploy.js index 3dc37ac9..c2b2190a 100644 --- a/cloudfront/invalidation/lambda/deploy.js +++ b/cloudfront/invalidation/lambda/deploy.js @@ -8,7 +8,7 @@ const { fromTemporaryCredentials } = require("@aws-sdk/credential-providers") const fs = require("fs") const s3Client = new S3Client({ - region: process.env.AWS_REGION, + region: "eu-west-1", credentials: fromTemporaryCredentials({ params: { RoleArn: roleArn } })