The --s3-region flag defaults to us-east-1 and does not respect the AWS_DEFAULT_REGION environment variable. My bucket is in eu-west-1 and uploading with deb-s3 gives a warning:
deb-s3 upload --bucket mybucket mypackage.deb
>> Retrieving existing manifests
S3 client configured for "us-east-1" but the bucket "mybucket" is in "eu-west-1";
Please configure the proper region to avoid multiple unnecessary redirects and signing attempts
The
--s3-region
flag defaults to us-east-1 and does not respect the AWS_DEFAULT_REGION environment variable. My bucket is in eu-west-1 and uploading with deb-s3 gives a warning: