Rename environment variable to AWS_DEFAULT_REGION

This seems to be the correct name, at least the AWS cli uses it:
https://docs.aws.amazon.com/cli/latest/userguide/cli-configure-envvars.html
This commit is contained in:
Alexander Neumann
2019-11-22 15:24:42 +01:00
parent 4cadc89ad3
commit fb95426f64
3 changed files with 7 additions and 7 deletions

View File

@@ -2,7 +2,7 @@ Enhancement: Add option to configure S3 region
We've added a new option for setting the region when accessing an S3-compatible
service. For some providers, it is required to set this to a valid value. You
can do that either by setting the environment variable `AWS_REGION` or using
the option `s3.region`, e.g. like this: `-o s3.region="us-east-1"`.
can do that either by setting the environment variable `AWS_DEFAULT_REGION` or
using the option `s3.region`, e.g. like this: `-o s3.region="us-east-1"`.
https://github.com/restic/restic/pull/2350