Skip to content

Commit

Permalink
fix missing assignment
Browse files Browse the repository at this point in the history
  • Loading branch information
badra001 committed Feb 24, 2022
1 parent 04ff48c commit 2c980ba
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion code/ddns-lambda.py
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@
LOGGER = logging.getLogger()
ACCOUNT = None
REGION = None
VERSION = '0.1.6'
VERSION = '0.1.7'

# Adjust the logging level [logging.INFO, logging.DEBUG, logging.WARNING, etc]
LOGGER.setLevel(logging.DEBUG)
Expand Down Expand Up @@ -434,6 +434,7 @@ def lambda_handler(
if custom_zone_name in valid_dns_zones:
LOGGER.debug("custom_zone_name already valid: %s", str(
custom_zone_name) + lineno())
zone_tag_hosted_zone_name = custom_zone_name
has_valid_zone_tag = True
elif is_valid_zone(route53, custom_zone_name, hosted_zones, vpc_id, private_hosted_zone_collection):
zone_tag_hosted_zone_name = custom_zone_name
Expand Down
Binary file modified code/ddns-lambda.zip
Binary file not shown.

0 comments on commit 2c980ba

Please sign in to comment.