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

This widget could not be displayed.

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
Posted 3 hours ago in Jira

Atlassian Research Workshop opportunity on Sep. 28th in Austin, TX

We're looking for participants for a workshop at Atlassian! We need Jira admins who have interesting custom workflows, issue views, or boards. Think you have a story to sha...

14 views 0 0
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