rename do backend resources

This commit is contained in:
Michael Jerger 2023-07-05 09:30:30 +02:00
parent 2fa5e94cb6
commit 909a765660
5 changed files with 4 additions and 4 deletions

View file

@ -33,7 +33,7 @@ default_task = "dev"
name = "ddadevops"
MODULE = "not-used"
PROJECT_ROOT_PATH = "."
version = "4.0.0-dev78"
version = "4.0.0-dev79"
summary = "tools to support builds combining gopass, terraform, dda-pallet, aws & hetzner-cloud"
description = __doc__
authors = [Author("meissa GmbH", "buero@meissa-gmbh.de")]

View file

@ -52,7 +52,7 @@ class Digitalocean(Validateable, CredentialMappingDefault):
result = {"provider_registry.tf", "do_provider.tf", "do_provider_vars.tf"}
if self.do_as_backend:
result.update(
{"do_backend_properties_vars.tf", "do_backend_with_properties.tf"}
{"do_backend_vars.tf", "do_backend.tf"}
)
return result

View file

@ -131,8 +131,8 @@ def test_should_calculate_resources_from_package():
"provider_registry.tf",
"do_provider.tf",
"do_provider_vars.tf",
"do_backend_properties_vars.tf",
"do_backend_with_properties.tf",
"do_backend_vars.tf",
"do_backend.tf",
} == sut.resources_from_package()
config = devops_config({"tf_provider_types": ["HETZNER"]})