From 253c5149196b0d8feb009371eab942b605a428ac Mon Sep 17 00:00:00 2001 From: jerger Date: Fri, 9 Dec 2022 15:10:42 +0100 Subject: [PATCH] fix devops_terraform_build --- build.py | 2 +- src/main/python/ddadevops/devops_terraform_build.py | 4 +++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/build.py b/build.py index 464872a..4eb59d2 100644 --- a/build.py +++ b/build.py @@ -28,7 +28,7 @@ use_plugin("python.distutils") default_task = "publish" name = "ddadevops" -version = "2.0.0" +version = "2.0.1-dev" summary = "tools to support builds combining gopass, terraform, dda-pallet, aws & hetzner-cloud" description = __doc__ authors = [Author("meissa GmbH", "buero@meissa-gmbh.de")] diff --git a/src/main/python/ddadevops/devops_terraform_build.py b/src/main/python/ddadevops/devops_terraform_build.py index ee8eed1..61036c2 100644 --- a/src/main/python/ddadevops/devops_terraform_build.py +++ b/src/main/python/ddadevops/devops_terraform_build.py @@ -13,7 +13,7 @@ def create_devops_terraform_build_config(stage, module, additional_vars, build_dir_name='target', - output_json_name='out_' + module + '.json', + output_json_name=None, use_workspace=True, use_package_common_files=True, build_commons_path=None, @@ -21,6 +21,8 @@ def create_devops_terraform_build_config(stage, debug_print_terraform_command=False, additional_tfvar_files=[], terraform_version=0.15): + if not output_json_name: + output_json_name = 'out_' + module + '.json' ret = create_devops_build_config( stage, project_root_path, module, build_dir_name) ret.update({'additional_vars': additional_vars,