Skip to content

Commit

Permalink
0.0.9: add tf_module_version
Browse files Browse the repository at this point in the history
  • Loading branch information
badra001 committed Feb 7, 2022
1 parent f951712 commit 3aa5fa4
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
7 changes: 4 additions & 3 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.8'
VERSION = '0.0.9'

# Adjust the logging level [logging.INFO, logging.DEBUG, logging.WARNING, etc]
LOGGER.setLevel(logging.DEBUG)
Expand All @@ -75,9 +75,10 @@
TAGKEY_HOSTNAME = os.environ.get('TagKeyHostName', '')
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)')

print('Loading function v{}: {}'.format(
VERSION, datetime.datetime.now().time().isoformat()))
print('Loading function v{} tf_module_version {}: {}'.format(
VERSION, TF_MODULE_VERSION, datetime.datetime.now().time().isoformat()))


def lineno(): # pragma: no cover
Expand Down
Binary file modified code/ddns-lambda.zip
Binary file not shown.

0 comments on commit 3aa5fa4

Please sign in to comment.