3 ms·
CloudFormation has an escape hatch via custom resources, which can call Lambda functions do create/update/destroy resources. It's ugly, but it works.
by synthc 6y ago
CloudFormation has an escape hatch via custom resources,
which can call Lambda functions do create/update/destroy resources.
It's ugly, but it works.
- acdha 6y agoGood point: they added that feature after I stopped using it but it’s a good option for some cases, especially if you want to do things which the caller shouldn’t be allowed to directly perform.
- dastx 6y agoAt my old place we had some automation around this. Essentially our custom resources was mostly just the python scripts and then any deviations from the basic custom resource definition. Made life a lot easier.