Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(delete): Remove Deletion Polling
* There is an 8KB limit to `AWS::Events::Rule` resources that are created by the `crhelper` library to implement a polling strategy for the custom resource. * The polling strategies for `update` and `create` were previously removed in commit ad497ce, but the `poll_delete` function was not removed. * For larger bot definitions (ie. > 8KB), the custom resource correctly creates and updates the bot resource, but it will fail on deletion with an error message of: ``` 'targets.1.member.input' failed to satisfy constraint: Member must have length less than or equal to 8192 ``` * To resolve this issue, simply remove the `poll_delete` function and update the `delete_resource` function to wait for the bot and the bot alias to be fully deleted. resolves: aws-samples#1
- Loading branch information