File tree Expand file tree Collapse file tree 1 file changed +6
-4
lines changed
Expand file tree Collapse file tree 1 file changed +6
-4
lines changed Original file line number Diff line number Diff line change @@ -7,8 +7,10 @@ const { ensureTestStack } = require("./ensure-test-stack");
77const { deleteStaleChangesets } = require ( "./delete-stale-changesets" ) ;
88
99exports . getIntegTestResources = async ( ) => {
10- const cloudformation = new CloudFormationClient ( { } ) ;
11- const region = await cloudformation . config . region ( ) ;
10+ const region = "us-west-2" ;
11+ const cloudformation = new CloudFormationClient ( {
12+ region,
13+ } ) ;
1214 const stackName = "SdkReleaseV3IntegTestResourcesStack" ;
1315
1416 await deleteStaleChangesets ( cloudformation , stackName ) ;
@@ -32,9 +34,9 @@ exports.getIntegTestResources = async () => {
3234 ( resource ) => resource . ResourceType === "AWS::S3::MultiRegionAccessPoint"
3335 ) [ 0 ] . PhysicalResourceId ;
3436
35- const sts = new STSClient ( { } ) ;
37+ const sts = new STSClient ( { region } ) ;
3638 const { Account : AccountId } = await sts . send ( new GetCallerIdentityCommand ( { } ) ) ;
37- const s3Control = new S3ControlClient ( { region : "us-west-2" } ) ;
39+ const s3Control = new S3ControlClient ( { region } ) ;
3840 const { AccessPoints } = await s3Control . send ( new ListMultiRegionAccessPointsCommand ( { AccountId } ) ) ;
3941 const { Alias } = AccessPoints . find ( ( accesspoint ) => accesspoint . Name === multiRegionAccessPointName ) ;
4042 const mrapArn = `arn:aws:s3::${ AccountId } :accesspoint/${ Alias } ` ;
You can’t perform that action at this time.
0 commit comments