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

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

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 October 24, 2019

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

Like # people like this

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events