From 33609981756ff063f7fb5de4fe989cd63513a929 Mon Sep 17 00:00:00 2001 From: Michael Jerger Date: Wed, 31 May 2023 09:24:54 +0200 Subject: [PATCH] not needed any more --- src/main/python/ddadevops/__init__.py | 1 - src/main/python/ddadevops/hetzner_mixin.py | 20 -------------------- 2 files changed, 21 deletions(-) delete mode 100644 src/main/python/ddadevops/hetzner_mixin.py diff --git a/src/main/python/ddadevops/__init__.py b/src/main/python/ddadevops/__init__.py index ee8d6ca..c9da925 100644 --- a/src/main/python/ddadevops/__init__.py +++ b/src/main/python/ddadevops/__init__.py @@ -9,7 +9,6 @@ from .provs_k3s_build import ProvsK3sBuild # from .aws_mfa_mixin import AwsMfaMixin, add_aws_mfa_mixin_config from .c4k_build import C4kBuild -from .hetzner_mixin import HetznerMixin from .devops_image_build import DevopsImageBuild from .devops_terraform_build import DevopsTerraformBuild from .devops_build import DevopsBuild, get_devops_build diff --git a/src/main/python/ddadevops/hetzner_mixin.py b/src/main/python/ddadevops/hetzner_mixin.py deleted file mode 100644 index 684334b..0000000 --- a/src/main/python/ddadevops/hetzner_mixin.py +++ /dev/null @@ -1,20 +0,0 @@ -from .devops_terraform_build import DevopsTerraformBuild - - -class HetznerMixin(DevopsTerraformBuild): - def __init__(self, project, config): - super().__init__(project, config) - hetzner_mixin_config = config["HetznerMixin"] - self.hetzner_api_key = hetzner_mixin_config["hetzner_api_key"] - - def project_vars(self): - ret = super().project_vars() - if self.hetzner_api_key: - ret["hetzner_api_key"] = self.hetzner_api_key - return ret - - def copy_build_resources_from_package(self): - super().copy_build_resources_from_package() - self.copy_build_resource_file_from_package("provider_registry.tf") - self.copy_build_resource_file_from_package("hetzner_provider.tf") - self.copy_build_resource_file_from_package("hetzner_mixin_vars.tf")