We are building a simple website and pushing it to an S3 bucket on AWS with a release pipeline. We configured the service connection in ADO with an access key and secret from AWS and the deploy was working to one region. However, we have since changed region on AWS and rebuilt the environment and now the release pipeline fails every time. The error given is
##[error]Error: Bucket xxx does not exist or you do not have access. Auto-create option not set, cannot continue.
The bucket does exist, we can push files to it with the AWS CLI using the same credentials, and if we create a bucket in the original region with the same bucket policy then we can release to it from ADO successfully. It is only the new region that fails with the above.