0
votes

We have a few lambdas created in the console that I want to move into a SAM framework. For the first one I used sam init. I copy/pasted the code into files in the project. I then manually made the updates for layers/vpc/security/etc to the template.yaml file. Is this the best approach or is there some way to autogenerate a SAM project from an existing lambda?