aws-sam-cli icon indicating copy to clipboard operation
aws-sam-cli copied to clipboard

Feature request: A way to convert Jenkin YML into SAM yml

Open mohanlar96 opened this issue 11 months ago • 1 comments

I am a full stack Software Engineer with Node/AWS stack at one of the companies, in my company, we have a repo with the tone of the lambda functions, which are triggering from API Gateway, SNS, SQS, etc. After I joined the team, I realized making small changes and testing is very time-consuming because I needed to deploy that small changes to the AWS Console using Jenkin Pipeline (.yml) file. So, I have come across this sam-cli-tool, which is mind-blowing, and it provides a way to invoke and test, lambdas locally.

Problem: instead of initiating a new SAM project, I wish I could use sam on the existing repo. I wish I could convert my Jenkin pipeline YML file to SAM YML and start using it. I don't see any way which we can do that in the command line tool.

mohanlar96 avatar Mar 14 '24 13:03 mohanlar96

Hi @mohanlar96 , im glad that you were able to find SAM and that it fits your use case. I'm not sure I understand the request here. If you are trying to use sam to locally test your functions/API's then you shouldn't need any specific project setup as it should work as long as you provide it a valid template. If you are asking for something related to sam pipelines could you provide more information on the request? Thanks!

sidhujus avatar Mar 15 '24 17:03 sidhujus