Skip to content

Commit

Permalink
condition to allow multi region list only to us-west-2
Browse files Browse the repository at this point in the history
  • Loading branch information
james03160927 committed Apr 8, 2024
1 parent f65adf0 commit f186424
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions aws/resources/s3_multi_region_access_point_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ func TestS3MultiRegionAccessPoint_GetAll(t *testing.T) {
now := time.Now()

ap := S3MultiRegionAccessPoint{
Region: "us-west-2",
Client: mockS3MultiRegionAccessPoint{
ListMultiRegionAccessPointsOutput: s3control.ListMultiRegionAccessPointsOutput{
AccessPoints: []*s3control.MultiRegionAccessPointReport{
Expand Down Expand Up @@ -101,6 +102,7 @@ func TestS3MultiRegionAccessPoint_NukeAll(t *testing.T) {
t.Parallel()

rc := S3MultiRegionAccessPoint{
Region: "us-west-2",
Client: mockS3MultiRegionAccessPoint{
DeleteMultiRegionAccessPointOutput: s3control.DeleteMultiRegionAccessPointOutput{},
},
Expand Down

0 comments on commit f186424

Please sign in to comment.