Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

How to get Buckets to list in Bamboo AWS Code Deploy

Sam L. September 16, 2015

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
Marcin Gardias
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
September 23, 2015

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
TAGS
AUG Leaders

Atlassian Community Events