revert
This commit is contained in:
parent
a179bb4103
commit
686442b00f
2 changed files with 2 additions and 4 deletions
2
build.py
2
build.py
|
@ -28,7 +28,7 @@ use_plugin("python.distutils")
|
||||||
default_task = "publish"
|
default_task = "publish"
|
||||||
|
|
||||||
name = "ddadevops"
|
name = "ddadevops"
|
||||||
version = "0.4.1.dev34"
|
version = "0.4.1.dev35"
|
||||||
summary = "tools to support builds combining gopass, terraform, dda-pallet, aws & hetzner-cloud"
|
summary = "tools to support builds combining gopass, terraform, dda-pallet, aws & hetzner-cloud"
|
||||||
description = __doc__
|
description = __doc__
|
||||||
authors = [Author("meissa GmbH", "buero@meissa-gmbh.de")]
|
authors = [Author("meissa GmbH", "buero@meissa-gmbh.de")]
|
||||||
|
|
|
@ -85,9 +85,7 @@ class DevopsTerraformBuild(DevopsBuild):
|
||||||
tf.workspace('new', self.stage)
|
tf.workspace('new', self.stage)
|
||||||
return tf
|
return tf
|
||||||
|
|
||||||
def write_output(self, tf=None):
|
def write_output(self, tf):
|
||||||
if tf is None:
|
|
||||||
tf = self.init_client()
|
|
||||||
self.print_terraform_command('output -json')
|
self.print_terraform_command('output -json')
|
||||||
result = tf.output(json=IsFlagged)
|
result = tf.output(json=IsFlagged)
|
||||||
with open(self.build_path() + self.output_json_name, "w") as output_file:
|
with open(self.build_path() + self.output_json_name, "w") as output_file:
|
||||||
|
|
Loading…
Reference in a new issue