#!/bin/env python3
# -*- coding: utf-8 -*-
-__version__ = '1.8.10'
+__version__ = '1.9.0'
MIN_VERSION_TERRAFORM = '1.6.5'
MAX_VERSION_TERRAFORM = '1.9.0'
CFGFILE_BASENAME = 'create-terraform.ini'
+DEFAULT_CONSUL_API_KV_ROOTPATH = '/v1/kv/terraform'
+DEFAULT_CONSUL_API_TIMEOUT = 20
+DEFAULT_CONSUL_PORT = 8500
+DEFAULT_CONSUL_SERVER = 'terraform.pixelpark.com'
+
+# This library name will be used as a part of the user agent in HTTP(S) requests
+LIBRARY_NAME = 'create-terraform'
+
+MAX_PORT_NUMBER = (2 ** 16) - 1
+
# vim: ts=4 et list
from .xlate import XLATOR
-__version__ = '1.3.0'
+__version__ = '1.4.0'
_ = XLATOR.gettext
ngettext = XLATOR.ngettext
return _("Aborting after {!r}.").format(self.step)
+# =============================================================================
+class ConsulHandlerError(TerraformHandlerError):
+ """Indicating a general error in ConsulHandler object."""
+
+ pass
+
# =============================================================================
if __name__ == "__main__":