You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Thanks for making such a great resource - we've always struggled with Lex tooling in the past, so it's great to see others providing options and custom resources!
It looks like a previous commit removed the poll_create and poll_update functions due to limitations with rule payload sizes.
I see the poll_delete function still exists though. Was it missed?
We're able to build a rather large bot, but it fails to delete or roll back properly if there's an error in the stack.
Here's the error message we're getting:
Received response status [FAILED] from custom resource.
Message returned: ERROR: (truncated) , "CrHelperRule": "arn:aws:events:us-east-1:123456789000:rule/LexBotExample", "CrHelperPermission": "LexBotExample"}' at 'targets.1.member.input' failed to satisfy constraint:
Member must have length less than or equal to 8192
Is there a way this error can be resolved?
Thanks!
The text was updated successfully, but these errors were encountered:
jessedoyle
pushed a commit
to jessedoyle/aws-lex-v2-cfn-cr
that referenced
this issue
Sep 24, 2021
* 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
Hi there!
Thanks for making such a great resource - we've always struggled with Lex tooling in the past, so it's great to see others providing options and custom resources!
It looks like a previous commit removed the
poll_create
andpoll_update
functions due to limitations with rule payload sizes.I see the
poll_delete
function still exists though. Was it missed?We're able to build a rather large bot, but it fails to delete or roll back properly if there's an error in the stack.
Here's the error message we're getting:
Is there a way this error can be resolved?
Thanks!
The text was updated successfully, but these errors were encountered: