Skip to content

Commit

Permalink
Merge pull request kubernetes-sigs#3920 from oliviassss/shield-api-up…
Browse files Browse the repository at this point in the history
…date

update the region of shield api
  • Loading branch information
k8s-ci-robot authored Oct 29, 2024
2 parents 990ee2e + d032e09 commit 3cd8558
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/aws/provider/default_aws_clients_provider.go
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ func NewDefaultAWSClientsProvider(cfg aws.Config, endpointsResolver *endpoints.R
o.BaseEndpoint = wafregionalCustomEndpoint
})
sheildClient := shield.NewFromConfig(cfg, func(o *shield.Options) {
o.Region = "us-east-1"
o.Region = cfg.Region
o.BaseEndpoint = shieldCustomEndpoint
})
rgtClient := resourcegroupstaggingapi.NewFromConfig(cfg, func(o *resourcegroupstaggingapi.Options) {
Expand Down

0 comments on commit 3cd8558

Please sign in to comment.