It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

aws-sam-deploy does not support s3_prefix argument


i am trying to deploy my application via aws-sam-deploy , unfortunately it seems there is no s3 prefix argument support for that image.  Here is my pipeline config



- pipe: atlassian/aws-sam-deploy:0.3.1
S3_BUCKET: x-dev

S3_PREFIX: subdir

SAM_TEMPLATE: 'template.yaml'
CFN_TEMPLATE: 'packaged.yml'
COMMAND: 'package-only'
WAIT: 'true'
DEBUG: 'true'



1 answer

0 votes

Hi @fatih_cebeci ,

Thank you for your feedback!

S3_BUCKET variable supports S3 bucket name or path-like directory structure.

S3_BUCKET: x-dev/subdir

tried of giving subpath but pip giving an error
Bucket name must match the regex "^[a-zA-Z0-9.\-_]{1,255}$"

Yes, I'm in the same boat, need 



until then I'll just use 

pip install -r requirements.txt 

sam build && sam package --args

Suggest an answer

Log in or Sign up to answer
Community showcase
Published in Bitbucket Pipelines

What We Learned When We Researched Open Source Vulnerabilities in 7 Popular Coding Languages

...hey are a part of us, shaping how we interact with the world around us. The same holds true for programming languages when we think about how different kinds of vulnerabilities raise their heads in t...

1,034 views 0 3
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you