minor fixes
This commit is contained in:
parent
ac9c4ab104
commit
6c23144750
3 changed files with 7 additions and 5 deletions
2
build.py
2
build.py
|
@ -27,7 +27,7 @@ use_plugin("python.distutils")
|
||||||
default_task = "publish"
|
default_task = "publish"
|
||||||
|
|
||||||
name = "ddadevops"
|
name = "ddadevops"
|
||||||
version = "0.4.0.dev12"
|
version = "0.4.0.dev13"
|
||||||
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")]
|
||||||
|
|
|
@ -27,6 +27,7 @@ class AwsMixin(DevopsTerraformBuild):
|
||||||
def init_client(self):
|
def init_client(self):
|
||||||
tf = Terraform(working_dir=self.build_path())
|
tf = Terraform(working_dir=self.build_path())
|
||||||
tf.init(backend_config=self.backend_config())
|
tf.init(backend_config=self.backend_config())
|
||||||
|
if self.use_workspace:
|
||||||
try:
|
try:
|
||||||
tf.workspace('select', slef.stage)
|
tf.workspace('select', slef.stage)
|
||||||
except:
|
except:
|
||||||
|
|
|
@ -1,4 +1,5 @@
|
||||||
from string import Template
|
from string import Template
|
||||||
|
from subprocess import run
|
||||||
from .python_util import *
|
from .python_util import *
|
||||||
from .devops_build import DevopsBuild
|
from .devops_build import DevopsBuild
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue