use dynamic s3 region endpoint