fix(common): add missing region option

Signed-off-by: Mike Nguyen <hey@mike.ee>
This commit is contained in:
Mike Nguyen 2025-07-25 13:21:42 +01:00
parent 2a96806f56
commit f01014f483
No known key found for this signature in database
1 changed files with 7 additions and 0 deletions

View File

@ -54,6 +54,13 @@ func NewConfig(ctx context.Context, authOptions auth.Options, opts ...ConfigOpti
)
}
if authOptions.Region != "" {
configLoadOptions = append(
configLoadOptions,
config.WithRegion(authOptions.Region),
)
}
if options.HTTPClient != nil {
configLoadOptions = append(
configLoadOptions,