Event parsing failed: <class 'SyntaxError'>.
[ERROR] SyntaxError: unexpected EOF while parsing (<string>, line 0)
Traceback (most recent call last):
File "/var/task/main.py", line 128, in lambda_handler
handle_event(log_event, record['key'], rules, ignore_rules, hook_url)
File "/var/task/main.py", line 158, in handle_event
if should_message_be_processed(event, rules, ignore_rules) is not True:
File "/var/task/main.py", line 140, in should_message_be_processed
if eval(rule,
{}
, {'event': flat_event}) is True:
Terraform code (events_to_track parameter is not set):
Getting error message: