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 votes

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 Join to answer
Community showcase
Renan Battaglin
Published May 18, 2017 in Bamboo

FAQ: How to Upgrade Bamboo Server

Bamboo 5.9 will no longer be supported after June 12, 2017. What does this mean? As part of our End of Life policy, Atlassian supports major versions for two years after the first major iteratio...

1,066 views 0 5
Read article

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
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot