Skip to content

Commit

Permalink
added s3 region
Browse files Browse the repository at this point in the history
  • Loading branch information
verzcar committed Oct 15, 2023
1 parent b18358f commit cd17ab9
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions aws_s3.go
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ func initS3Session(s3Config *S3RequestConfig) *s3Client {
cfg, err := config.LoadDefaultConfig(
context.TODO(),
config.WithDefaultRegion(s3Config.region),
config.WithRegion(s3Config.region),
config.WithCredentialsProvider(
credentials.StaticCredentialsProvider{
Value: aws.Credentials{
Expand Down

0 comments on commit cd17ab9

Please sign in to comment.