I get an error when switching to S3 for artifact storage

I entered my access key and secret key in the "Shared Credentials" section of Bamboo Administration, then went to switch my artifact storage to S3, and I get the following error:
Bucket does not exist and/or could not be created. Check your AWS credentials to ensure they have sufficient permissions.
I've even tried this with an access key that has full access to everything on the entire AWS account, but to no avail.  Here is the inline policy attached to the account, which should work fine, AFAICT:

 

{
    "Version": "2012-10-17",
    "Statement": [
        {
            "Sid": "Stmt1436196480000",
            "Effect": "Allow",
            "Action": [
                "s3:GetBucketLocation",
                "s3:ListAllMyBuckets",
                "s3:ListBucket"
            ],
            "Resource": [
                "arn:aws:s3:::*"
            ]
        }
    ]
}

And for full-access to that particular bucket:

{
    "Version": "2012-10-17",
    "Statement": [
        {
            "Sid": "Stmt1436195288000",
            "Effect": "Allow",
            "Action": [
                "s3:*"
            ],
            "Resource": [
                "arn:aws:s3:::bamboo-artifacts",
                "arn:aws:s3:::bamboo-artifacts/*"
            ]
        }
    ]
}

2 answers

This widget could not be displayed.

Hi Jeff, 

Did you try to follow the instructions here: Add AWS credentials to Bamboo?  This should do the trick for you. smile

Hope this helps! 

Cheers!

I didn't try that, and that may work, but what is the point of the S3 artifact bucket setup UI in Bamboo if I just get the error above? I can do everything manually using the article you gave me above, but it seems like Bamboo should be able to integrate more easily/automatically based on the Bamboo UI.

This widget could not be displayed.

I get the same error switching back from Atlassian Cloud to Amazon S3 with a previously created bucket name. With a new bucket name it works (artifacts storage settings get saved), but the build artifacts are not copied.

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted Tuesday in Jira

What modern development practices are at the heart of how your team delivers software?

Hey Community mates! Claire here from the Software Product Marketing team. We all know software development changes rapidly, and it's often tough to keep up. But from our research, we've found the h...

262 views 1 3
Join discussion

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you