diff --git a/code/ddns-lambda.py b/code/ddns-lambda.py index b3b7cf7..4b46170 100755 --- a/code/ddns-lambda.py +++ b/code/ddns-lambda.py @@ -73,7 +73,7 @@ LOGGER = logging.getLogger() account_id = None region = None -VERSION = '2.0.4' +VERSION = '2.0.5' # Read Env variables DEBUG_LOG_LEVEL = os.environ.get('DebugLogLevel', 'INFO') @@ -3113,6 +3113,10 @@ def process_delete_records(route53, instance_id, zone_id, sns_msg = {} sns_msg['instance_id'] = instance_id sns_msg['account_id'] = get_caller_account_id() + sns_msg['event_id'] = event['id'] + sns_msg['aws_request_id'] = context.aws_request_id + sns_msg['log_group_name'] = context.log_group_name + sns_msg['log_stream_name'] = context.log_stream_name sns_msg['message'] = 'TXT record does not match. Will not delete the TXT record.' sns_heritage = {}