Skip to content

Commit

Permalink
add default for tag key host of boc:dns:name
Browse files Browse the repository at this point in the history
  • Loading branch information
badra001 committed Feb 11, 2022
1 parent 3aa5fa4 commit d4941c2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions code/ddns-lambda.py
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@
LOGGER = logging.getLogger()
ACCOUNT = None
REGION = None
VERSION = '0.0.9'
VERSION = '0.0.10'

# Adjust the logging level [logging.INFO, logging.DEBUG, logging.WARNING, etc]
LOGGER.setLevel(logging.DEBUG)
Expand All @@ -72,7 +72,7 @@
DDBNAME = os.environ.get('DynamoDBName', 'inf-dynamic-route53')
TAGKEY_CNAME = os.environ.get('TagKeyCname', 'boc:dns:cname')
TAGKEY_ZONE = os.environ.get('TagKeyZone', 'boc:dns:zone')
TAGKEY_HOSTNAME = os.environ.get('TagKeyHostName', '')
TAGKEY_HOSTNAME = os.environ.get('TagKeyHostName', 'boc:dns:name')
DNS_RR_TTL = int(os.environ.get('DNS_RR_TimeToLive', '60'))
DNS_RR_TTL = 60 if DNS_RR_TTL == 0 else DNS_RR_TTL
TF_MODULE_VERSION = os.environ.get('tf_module_version', '(unknown)')
Expand Down

0 comments on commit d4941c2

Please sign in to comment.