Skip to content
This repository has been archived by the owner on Oct 21, 2024. It is now read-only.

Commit

Permalink
sync
Browse files Browse the repository at this point in the history
  • Loading branch information
fwang committed Jul 8, 2024
1 parent 5790f93 commit 593876e
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions pkg/platform/src/components/aws/helpers/client.ts
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,14 @@ export const awsFetch = async (
retrableErrors?: string[];
} = {},
) => {
if (process.env.SST_RUN_ID) {
console.log("debug: importing aws4fetch");
}
const sourcePath = "aws4fetch";
const { AwsClient } = await import(sourcePath);
if (process.env.SST_RUN_ID) {
console.log("debug: imported aws4fetch");
}
const region = opts?.region ?? process.env.SST_AWS_REGION ?? "us-east-1";
if (process.env.SST_RUN_ID) {
console.log({ region });
Expand Down

0 comments on commit 593876e

Please sign in to comment.