minor fixes for hetzner

This commit is contained in:
Michael Jerger 2023-05-26 17:12:38 +02:00
parent 158d8a3b37
commit cf605d4198
2 changed files with 6 additions and 2 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-dev61" version = "4.0.0-dev63"
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

@ -1,4 +1,4 @@
from typing import List, Dict, Set from typing import List, Dict, Set, Any
from .common import Validateable, CredentialMappingDefault from .common import Validateable, CredentialMappingDefault
@ -14,6 +14,10 @@ class Hetzner(Validateable, CredentialMappingDefault):
result += self.__validate_is_not_empty__("hetzner_api_key") result += self.__validate_is_not_empty__("hetzner_api_key")
return result return result
def backend_config(self) -> Dict[str, Any]:
result = {}
return result
def resources_from_package(self) -> Set[str]: def resources_from_package(self) -> Set[str]:
return {"provider_registry.tf", "hetzner_provider.tf", "hetzner_mixin_vars.tf"} return {"provider_registry.tf", "hetzner_provider.tf", "hetzner_mixin_vars.tf"}