not needed any more

This commit is contained in:
Michael Jerger 2023-05-31 09:24:54 +02:00
parent e2fd3b1eb9
commit 3360998175
2 changed files with 0 additions and 21 deletions

View file

@ -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

View file

@ -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")