former2
former2 copied to clipboard
Former not backing up Lambda code
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
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.