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."
@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
Hi @davi.carvalho
Thank you for your question!
We'll investigate this feature and notify you!
Cheers,Oleksandr Kyrdan
Thanks! Yeah, this should work fine for us.
Will change and I'll give you a response
It looks like you're new here. Sign in or register to get started.