Quantcast
Channel: Active questions tagged amazon-s3 - DevOps Stack Exchange
Viewing all articles
Browse latest Browse all 73

Azure DevOps release to AWS fails with bucket does not exist

$
0
0

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.


Viewing all articles
Browse latest Browse all 73

Trending Articles