]> Frank Brehm's Git Trees - pixelpark/create-terraform.git/commitdiff
Fixing lib/cr_tf/handler.py
authorFrank Brehm <frank.brehm@pixelpark.com>
Fri, 3 Sep 2021 16:25:26 +0000 (18:25 +0200)
committerFrank Brehm <frank.brehm@pixelpark.com>
Fri, 3 Sep 2021 16:25:26 +0000 (18:25 +0200)
lib/cr_tf/handler.py

index 2cdabda3da1594b62ba2d4013ee64847a409e687..09a34d11c59e90f6f1059403b490e6c7f1c3039b 100644 (file)
@@ -418,7 +418,7 @@ class CreateTerraformHandler(BaseHandler):
         self.pdns = PowerDNSServer(
             appname=self.appname, verbose=self.verbose, base_dir=self.base_dir,
             master_server=self.config.pdns_master_server,
-            port=self.config.pdns_api_port, key=pdns_api_key,
+            port=self.config.pdns_api_port, key=self.config.pdns_api_key,
             use_https=self.config.pdns_api_use_https, path_prefix=self.config.pdns_api_path_prefix,
             simulate=self.simulate, force=self.force, initialized=True,
         )