Create
cancel
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

Deploy only works if config file is yml

Edited

On some serverless framework templates, the configuration file is a "serverless.ts" file, but when I run with this pipe, it throws an error saying "✖ serverless.yml doesn't exist."

2 answers

1 accepted

1 vote
Answer accepted

@davi_carvalho have you tried to pass CONFIG variable precisely, so that the pipe does not put the default value?

script:
- chmod 005 my-script.sh
- pipe: atlassian/serverless-deploy:1.0.0
variables:
AWS_ACCESS_KEY_ID: $AWS_ACCESS_KEY_ID
AWS_SECRET_ACCESS_KEY: $AWS_SECRET_ACCESS_KEY
CONFIG: 'serverless.ts'

 

The thing is that the most often used is serverless.yml config file and we cannot change it, because for most users it works like this.

However, for your custom solution you just pass config file like above.

Looking forward to seeing your feedback, we are happy to communicate to choose the best solution!

If you're happy with such solution, we will update the documentation

Regards, Galyna

Thanks! Yeah, this should work fine for us.

Will change and I'll give you a response

Like Halyna Berezovska likes this
1 vote

Hi @davi_carvalho

Thank you for your question!

We'll investigate this feature and notify you!

 

Cheers,
Oleksandr Kyrdan

Suggest an answer

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

📣 Calling Bitbucket Data Center customers to participate in research

Hi everyone, Are you Bitbucket DC customer? If so, we'd love to talk to you! Our team wants to dive deep to understand your long-term plans regarding Bitbucket DC and Atlassian Cloud. Do you plan...

193 views 2 4
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