fix default value

This commit is contained in:
Michael Jerger 2023-06-16 12:34:25 +02:00
parent 9626e2d1bb
commit a71d5ef547
2 changed files with 3 additions and 3 deletions

View file

@ -28,7 +28,7 @@ use_plugin("python.distutils")
default_task = "publish" default_task = "publish"
name = "ddadevops" name = "ddadevops"
version = "4.0.0-dev68" version = "4.0.0-dev70"
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")]

View file

@ -14,14 +14,14 @@ class TerraformDomain(Validateable):
def __init__(self, inp: dict): def __init__(self, inp: dict):
self.module = inp.get("module") self.module = inp.get("module")
self.stage = inp.get("stage") self.stage = inp.get("stage")
self.tf_additional_vars = inp.get("tf_additional_vars") self.tf_additional_vars = inp.get("tf_additional_vars", {})
self.tf_output_json_name = inp.get("tf_output_json_name") self.tf_output_json_name = inp.get("tf_output_json_name")
self.tf_build_commons_path = inp.get("tf_build_commons_path") self.tf_build_commons_path = inp.get("tf_build_commons_path")
self.tf_provider_types = inp.get("tf_provider_types", []) self.tf_provider_types = inp.get("tf_provider_types", [])
self.tf_additional_resources_from_package = inp.get( self.tf_additional_resources_from_package = inp.get(
"tf_additional_resources_from_package", set() "tf_additional_resources_from_package", set()
) )
self.tf_additional_tfvar_files = inp.get("tf_additional_tfvar_files", {}) self.tf_additional_tfvar_files = inp.get("tf_additional_tfvar_files", [])
self.tf_use_workspace = inp.get("tf_use_workspace", True) self.tf_use_workspace = inp.get("tf_use_workspace", True)
self.tf_debug_print_terraform_command = inp.get( self.tf_debug_print_terraform_command = inp.get(
"tf_debug_print_terraform_command", False "tf_debug_print_terraform_command", False