Replies: 2 comments
-
Need to test this scenario at my end. If we are renaming the function, then essentially, we are deleting the old function and it might cause |
Beta Was this translation helpful? Give feedback.
-
In order to add any new resource to the Lambda Annotations project, you will need to manually update the CloudFormation template serverless.template. You mentioned that your changes are being overwritten in serverless.template. I tried updating a sample annotation project with a VPC resource and things worked as expected. Lambda Annotations should only update the CloudFormation resource related to your Lambda functions and it should not affect any other resources you might have added. If you are still having issues, could you please update Lambda Annotations to the latest version? and could you please share the serverless.template with the VPC resource before it gets overwritten? |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
I would like to have Lambda VpcConfig in my code, but I can't seem to find an option to do this:
Lambda Annotations overwrites the serverless.template & even if I add VPC in AWS console manually it sometimes gets overwritten.
How can I add persistent VpcConfig information to my Lambdas when using Lambda Annotations?
Beta Was this translation helpful? Give feedback.
All reactions