Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
badra001 committed Apr 25, 2023
1 parent 6a651d8 commit c62baf0
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions code/ddns-lambda.py
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@
LOGGER = logging.getLogger()
account_id = None
region = None
VERSION = '1.2.0b41'
VERSION = '1.2.0b42'

# Read Env variables
DEBUG_LOG_LEVEL = os.environ.get('DebugLogLevel', 'INFO')
Expand Down Expand Up @@ -788,7 +788,7 @@ def lambda_handler(
'PTR',
create_fqdn(final_private_hostname, final_hosted_zone_name),
)
append_msg = f"PTR record in zone id: {zone_data_reverse.zone_id} owner {zone_data_reverse.owner_id} for hostname {tag_data['ptr_entry'].hostname} " + \
append_msg = f"PTR record in zone id: {zone_data_reverse.zone_id} owner {zone_data_reverse.owner_account} for hostname {tag_data['ptr_entry'].hostname} " + \
f"zone {tag_data['ptr_entry'].zonename} to value {final_private_dns_name}"
count[create_response] += 1
if create_response == 'success':
Expand Down Expand Up @@ -818,7 +818,7 @@ def lambda_handler(
'TXT',
heritage_value
)
append_msg = f"TXT record in zone id: {zone_data_reverse.zone_id} owner {zone_data_reverse.owner_id} for hostname {tag_data['ptr_entry'].hostname} " + \
append_msg = f"TXT record in zone id: {zone_data_reverse.zone_id} owner {zone_data_reverse.owner_account} for hostname {tag_data['ptr_entry'].hostname} " + \
f"zone {tag_data['ptr_entry'].zonename} to value {heritage_value}"

count[create_response] += 1
Expand Down

0 comments on commit c62baf0

Please sign in to comment.