aws-lex-v2-cfn-cr icon indicating copy to clipboard operation
aws-lex-v2-cfn-cr copied to clipboard

poll_delete - Breaks with Large Bot Definitions

Open jessedoyle opened this issue 2 years ago • 0 comments

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 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!

jessedoyle avatar Sep 23 '21 00:09 jessedoyle