iann0036 / former2

Generate CloudFormation / Terraform / Troposphere templates from your existing AWS resources.
https://former2.com
MIT License
2.23k stars 268 forks source link

Lambda not having required Code Parameter #187

Open gvasquez95 opened 3 years ago

gvasquez95 commented 3 years ago

Dear @iann0036 , it seems like there might be a border condition where Lambdas are not getting their Code attribute included (and obviously not populated with a value), in the failure scenario it was a Docker based (from ECR) lambda and with an arm64 based architecture (if it helps). The Architectures attribute wasn't included either.

What should I provide to assist debugging?

iann0036 commented 3 years ago

Hey @gvasquez95,

Thanks heaps for raising. I've got fixes for both of those in now, though you'll have to update the helper to 1.51 for it to take effect.

Let me know if you still have issues after updating.

gvasquez95 commented 3 years ago

Update the helper? How to achieve that?

iann0036 commented 3 years ago

You may be able to do that from their respective extension stores:

Chrome: https://chrome.google.com/webstore/detail/former2-helper/fhejmeojlbhfhjndnkkleooeejklmigi Firefox: https://addons.mozilla.org/en-GB/firefox/addon/former2-helper/

However it should simply update itself after a couple hours anyway.