The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Upload build to specific S3 path

aftabnaveed
May 29, 2019

I am using this example AWS s3 pipe - Is there a way to upload the build folder to a specific s3 path such as `my-bucket-name/path/build` ?

 

script:
  - pipe: atlassian/aws-s3-deploy:0.2.2
    variables:
      AWS_ACCESS_KEY_ID: $AWS_ACCESS_KEY_ID
      AWS_SECRET_ACCESS_KEY: $AWS_SECRET_ACCESS_KEY
      AWS_DEFAULT_REGION: 'us-east-1'
      S3_BUCKET: 'my-bucket-name'
      LOCAL_PATH: 'build'

 

1 answer

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

1 vote
Alexander Zhukov
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
May 30, 2019

Hi @aftabnaveed . Yes, that is possible. Just append the path to an S3 bucket name, like this:

S3_BUCKET: 'my-bucket-name/path/build'

Cheers 

Calle Kabo
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
October 24, 2019

That should be more explicit, perhaps have an example for it in the docs, IMHO.

Like # people like this
TAGS
AUG Leaders

Atlassian Community Events