Skip to content

Commit

Permalink
Merge pull request #455 from wellcomecollection/fix-region-missing
Browse files Browse the repository at this point in the history
use string
  • Loading branch information
agnesgaroux authored Dec 2, 2024
2 parents 02cf578 + 1d9f636 commit 3016d34
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cloudfront/invalidation/lambda/deploy.js
Original file line number Diff line number Diff line change
Expand Up @@ -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 }
})
Expand Down

0 comments on commit 3016d34

Please sign in to comment.