From 12d4237e64436090f343f34dc8ba70c8591c78e7 Mon Sep 17 00:00:00 2001 From: badra001 Date: Thu, 27 Apr 2023 07:39:13 -0400 Subject: [PATCH] fix --- code/ddns-lambda.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/code/ddns-lambda.py b/code/ddns-lambda.py index 636383e..1b1357e 100755 --- a/code/ddns-lambda.py +++ b/code/ddns-lambda.py @@ -73,7 +73,7 @@ LOGGER = logging.getLogger() account_id = None region = None -VERSION = '1.2.0b72' +VERSION = '1.2.0b73' # Read Env variables DEBUG_LOG_LEVEL = os.environ.get('DebugLogLevel', 'INFO') @@ -1002,7 +1002,7 @@ def lambda_handler( if create_response == 'success': dns_data.append(dns_data_tuple( - cf_zonename_id, cf_hostname, cf_zonename, 'CNAME', cf_fqdn)) + cf_zonename_id, cf_hostname, cf_zonename, 'CNAME', final_private_dns_name)) LOGGER.info( f"instance: {instance_id}, Created {append_msg} {lineno()}") caller_response.append('Created ' + append_msg)