mirror of
https://github.com/VictoriaMetrics/VictoriaMetrics.git
synced 2024-11-21 14:44:00 +00:00
lib/backup: set s3 default region to us-west-2 (#3224)
* lib/backup: set s3 default region to us-west-2 it should fix an error with region detection for bucket, if AWS_REGION env var is not set * Update lib/backup/s3remote/s3.go Co-authored-by: Aliaksandr Valialkin <valyala@victoriametrics.com>
This commit is contained in:
parent
c7360e1fa0
commit
07140e0877
1 changed files with 1 additions and 0 deletions
|
@ -61,6 +61,7 @@ func (fs *FS) Init() error {
|
|||
}
|
||||
configOpts := []func(*config.LoadOptions) error{
|
||||
config.WithSharedConfigProfile(fs.ProfileName),
|
||||
config.WithDefaultRegion("us-east-1"),
|
||||
}
|
||||
|
||||
if len(fs.CredsFilePath) > 0 {
|
||||
|
|
Loading…
Reference in a new issue