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

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,455,321
Community Members
 
Community Events
175
Community Groups

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

Atlassian Community Events