aws-samples / aws-lambda-ddns-function

Dynamically create Route 53 resource records using CloudWatch Events and Lambda
Apache License 2.0
236 stars 116 forks source link

Getting KeyError when Lambda Functions executes #20

Closed contherad closed 7 years ago

contherad commented 7 years ago

We are seeing this error when launching new EC2 instances and the private hosted zone is not updated. 'Item': KeyError Traceback (most recent call last): File "/var/task/union.py", line 61, in lambda_handler instance = instance['Item']['InstanceAttributes'] KeyError: 'Item' Any help is appreciated.

contherad commented 7 years ago

Nevermind, merged in some recent changes and fixed the excess logs and timeout issue we were seeing.