former2 icon indicating copy to clipboard operation
former2 copied to clipboard

Former not backing up Lambda code

Open aharonadav opened this issue 2 years ago • 1 comments

Hi, The Former2 generate the CFN file for my Lambda but the bucket is not the correct one and I don't see the code anywhere. Is it backing up the Lambda code (Inline/S3) ?

Thank you

aharonadav avatar May 03 '22 09:05 aharonadav

Hey @aharonadav,

Unfortunately, the moment a Lambda function is created, the code is copied and the original location no longer has relevance to the function itself - so there's no way for Former2 to know the original location of the code.

The pathing you see is that duplicated location, so you should adjust the path as appropriate manually.

iann0036 avatar May 03 '22 09:05 iann0036