Skip to content

Commit d032e09

Browse files
committed
update the region of shield api
1 parent 990ee2e commit d032e09

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg/aws/provider/default_aws_clients_provider.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ func NewDefaultAWSClientsProvider(cfg aws.Config, endpointsResolver *endpoints.R
5757
o.BaseEndpoint = wafregionalCustomEndpoint
5858
})
5959
sheildClient := shield.NewFromConfig(cfg, func(o *shield.Options) {
60-
o.Region = "us-east-1"
60+
o.Region = cfg.Region
6161
o.BaseEndpoint = shieldCustomEndpoint
6262
})
6363
rgtClient := resourcegroupstaggingapi.NewFromConfig(cfg, func(o *resourcegroupstaggingapi.Options) {

0 commit comments

Comments
 (0)