From: Frank Brehm Date: Fri, 3 Sep 2021 15:35:16 +0000 (+0200) Subject: Don't write declaraion of pdns_api_key variable X-Git-Tag: 1.5.2^2~32 X-Git-Url: https://git.uhu-banane.org/?a=commitdiff_plain;h=4075463a34dd17abff8e10778f414daadbc42be4;p=pixelpark%2Fcreate-terraform.git Don't write declaraion of pdns_api_key variable --- diff --git a/lib/cr_tf/handler.py b/lib/cr_tf/handler.py index 8f465b7..1d60e94 100644 --- a/lib/cr_tf/handler.py +++ b/lib/cr_tf/handler.py @@ -67,7 +67,7 @@ from .terraform.disk import TerraformDisk from .xlate import XLATOR -__version__ = '3.5.0' +__version__ = '3.5.1' LOG = logging.getLogger(__name__) _ = XLATOR.gettext @@ -2300,15 +2300,6 @@ class CreateTerraformHandler(BaseHandler): ''') content += tpl.format(tz=self.tz_name) - tpl = textwrap.dedent('''\ - variable "pdns_api_key" { - description = "Key for accessing the PowerDNS-API" - type = string - } - - ''') - content += tpl - LOG.debug(_("Creating {!r} ...").format('variables.tf')) if self.simulate: if self.verbose: