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 } })