Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Eventname too long #1

Open
davidem opened this issue Oct 12, 2019 · 0 comments
Open

Eventname too long #1

davidem opened this issue Oct 12, 2019 · 0 comments

Comments

@davidem
Copy link

davidem commented Oct 12, 2019

First: thanks for your lambda script. But i've stumbled into a little error. I tried to change the CloudWatch rule to add some instance ID's. As soon as I want to save the rule, I get the following error:

"There was an error while saving rule serverlessrepo-Update-Rou-UpdateRoute53RecordToEc2-1GD7M49G9D2VE.
Details: 1 validation error detected: Value 'AWSEvents_serverlessrepo-Update-Rou-UpdateRoute53RecordToEc2-1GD7M49G9D2VE_UpdateRoute53RecordToEc2PublicIpEC2StateChangeEventLambdaTarget' at 'statementId' failed to satisfy constraint: Member must have length less than or equal to 100."

it appears the eventname is too long thanks to the long rulename. 100 is the max and the eventname is 139. When I create a new rule with a shorter name, link it to lambda it all works like a charm...

Perhaps some default names can be shortened?

Thanks again!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant