Relative Content

Tag Archive for aws-lambdaaws-serverless

My AWS Serverless.template keeps getting over-written

I’m working in VS2022 with the AWS Toolkit installed.
On one particular project the serverless.template file is overwritten after I “Publish to AWS Lambda”. All of my functions in the script contained in serverless.template are deleted to the default shown below. My file is reduced from 145 lines to 47 lines. I have to keep all of my changes in a different file and paste them in every time I want to deploy.