]> Frank Brehm's Git Trees - pixelpark/create-terraform.git/commitdiff
Don't write declaraion of pdns_api_key variable
authorFrank Brehm <frank.brehm@pixelpark.com>
Fri, 3 Sep 2021 15:35:16 +0000 (17:35 +0200)
committerFrank Brehm <frank.brehm@pixelpark.com>
Fri, 3 Sep 2021 15:35:16 +0000 (17:35 +0200)
lib/cr_tf/handler.py

index 8f465b7d94c1b17471bc364cfa26bb36d68b73ac..1d60e941e56b324c79e46ff356d426d400942309 100644 (file)
@@ -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: