diff --git a/code/ddns-lambda.py b/code/ddns-lambda.py index e8ba0f5..a7d1050 100755 --- a/code/ddns-lambda.py +++ b/code/ddns-lambda.py @@ -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) @@ -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 diff --git a/code/ddns-lambda.zip b/code/ddns-lambda.zip index 1c86ecd..79105c5 100644 Binary files a/code/ddns-lambda.zip and b/code/ddns-lambda.zip differ