minor fixes

This commit is contained in:
jem 2020-03-04 09:27:46 +01:00
parent ac9c4ab104
commit 6c23144750
3 changed files with 7 additions and 5 deletions

View file

@ -27,7 +27,7 @@ use_plugin("python.distutils")
default_task = "publish"
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"
description = __doc__
authors = [Author("meissa GmbH", "buero@meissa-gmbh.de")]

View file

@ -27,6 +27,7 @@ class AwsMixin(DevopsTerraformBuild):
def init_client(self):
tf = Terraform(working_dir=self.build_path())
tf.init(backend_config=self.backend_config())
if self.use_workspace:
try:
tf.workspace('select', slef.stage)
except:

View file

@ -1,4 +1,5 @@
from string import Template
from subprocess import run
from .python_util import *
from .devops_build import DevopsBuild