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

aws-sam-deploy: build node.js

Hey gang,

I understand that the aws-sam-deploy pipe supports the `sam package` and `sam deploy` commands. However, using COMMAND 'all' is insufficient for deploying my nodejs12x Lambda Functions as npm dependencies aren't included. I need the `sam build` command to run. Is there a reason why this is not supported by aws-sam-deploy pipe currently? Or is it and I'm just overlooking this? I'm happy to contribute to the project to add this feature if it's possible

Best,

Jeff 

2 answers

0 votes

Hi @Jeffrey Schwartz ,

welcome to fork the aws-sam-deploy pipe and provide the PR with your ideas.

@Jeffrey Schwartz you can execute your sam build before executing the pipe.

 

Actually, we can think within a team about the possibility to add the feature , but I don't guarantee that it will be supported, because sam-deploy pipe has already a lot of features and the purpose of the pipe to be small and simple. Another pipe for that can be written.

If you want to contribute, you can write your own custom pipe (see how to write a pipe ) and then you can also contribute this pipe officially if you'd like to. We are always happy to help with this.

Look at the ways to do this and we are looking forward to get your answers.

Cheers, Galyna

Suggest an answer

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

⭐ Calling all Bitbucket and DevOps experts: Special showcase opportunity ⭐

Hi, Bitbucket community! Are you a DevOps practitioner (or know one in your network)? Do you have DevOps tips, tricks, or learnings you'd like to share with the community? If so, we'd love to hea...

1,487 views 4 8
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