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

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

@Oleksandr Kyrdan the path-like directory structure doesn't appear to be working as expected, as per above comments. Is this a bug?

@Vlad Kalinin @fatih_cebeci @Shirish_Veerabattini @Akhilesh singh Pilkhwal we developed this pipe to support samconfig.toml config, where you can write your requirements according to the doc


Regards, Galyna

Like Vlad Kalinin likes this

Suggest an answer

Log in or Sign up to answer
Community showcase
Published in Confluence Cloud

🎨 Add some visual life to your templates

Hi Atlassian Community, My name is Avni Barman, and I am a Product Manager on the Confluence Cloud team. Based on feedback from you, we are giving admins more power to create templates that a...

89 views 1 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