Closed pgollucci closed 3 years ago
It is a cool concept you are trying to build here. However I'm confused with the implementation and therefore hesitant to include the link to the list.
Barrier itself it implemented by dependencies on SSM parameter and CFN ensures the correct order of creation. I do not understand the current implementation of a custom resource - it seems that you invoke provided lambda asynchronously and do not check the result it returns. From my reading of the code, lambda function does not have any effect on barrier behavior.
Am I missing something here?
Going to close for now as there is no activity on the ticket. Feel free to reopen with additional comments.
CDK Construct Custom Resource which will poll until an AWS Lambda Function isReady returns true and it is ideal for running code AFTER an RDS or EKS is ready.