How to get Buckets to list in Bamboo AWS Code Deploy

When setting up the AWS Code Deploy  task (Atlassian plugin), the created S3 buckets for the specified AWS user do not list.

The error next to the "Amazon S3 bucket" says "Error listing s3 buckets."

Te permissions for the AWS user have been set up as instructed by Attlassian documentation:

https://confluence.atlassian.com/bamboo/using-the-aws-codedeploy-task-750396059.html

{
"Version": "2012-10-17",
"Statement": [

{ "Effect": "Allow", "Action": [ "codedeploy:*", "s3:*" ], "Resource": "*" }

]
}

This same AWS user can definitely access the list of available S3 buckets. Tested on CloudBerry.

The same task can also retrieve the AWS code deploy application and group but not the S3 buckets. See attached.

Any clue why this might be happening?

1 answer

1 vote

By the looks of it, you run into a known issue some people reported to us recently: https://jira.atlassian.com/browse/BAM-16276

Do you happen to use Java 1.8_60 ? If so, you can workaround the issue manually upgrading joda_time library or reverting to older Java (1.8.0_45 works as far as I can tell). The joda_time upgrade is done as follows:

  1. visit http://mvnrepository.com/artifact/joda-time/joda-time/2.8.2 and download "joda-time-2.8.2.jar"
  2. stop Bamboo
  3. go to "<bamboo-install>/atlassian-bamboo/WEB-INF/lib/"
    • backup "joda-time-2.3.jar" and move away from this directory
    • lace "joda-time-2.8.2.jar" in the current directory
  4. start Bamboo

Suggest an answer

Log in or Sign up to answer
Community showcase
Asked Thursday in Jira Ops

I'm John Allspaw, Ask Me Anything about incident analysis and postmortems

I'm John Allspaw, co-founder of   Adaptive Capacity Labs, where we help teams use their incidents to learn and improve. We bring research-driven methods and approaches to drive effective inciden...

5,406 views 21 17
View question

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