From 4075463a34dd17abff8e10778f414daadbc42be4 Mon Sep 17 00:00:00 2001 From: Frank Brehm Date: Fri, 3 Sep 2021 17:35:16 +0200 Subject: [PATCH] Don't write declaraion of pdns_api_key variable --- lib/cr_tf/handler.py | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) 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: -- 2.39.5