rename do backend resources
This commit is contained in:
parent
2fa5e94cb6
commit
909a765660
5 changed files with 4 additions and 4 deletions
2
build.py
2
build.py
|
@ -33,7 +33,7 @@ default_task = "dev"
|
||||||
name = "ddadevops"
|
name = "ddadevops"
|
||||||
MODULE = "not-used"
|
MODULE = "not-used"
|
||||||
PROJECT_ROOT_PATH = "."
|
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"
|
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")]
|
||||||
|
|
|
@ -52,7 +52,7 @@ class Digitalocean(Validateable, CredentialMappingDefault):
|
||||||
result = {"provider_registry.tf", "do_provider.tf", "do_provider_vars.tf"}
|
result = {"provider_registry.tf", "do_provider.tf", "do_provider_vars.tf"}
|
||||||
if self.do_as_backend:
|
if self.do_as_backend:
|
||||||
result.update(
|
result.update(
|
||||||
{"do_backend_properties_vars.tf", "do_backend_with_properties.tf"}
|
{"do_backend_vars.tf", "do_backend.tf"}
|
||||||
)
|
)
|
||||||
return result
|
return result
|
||||||
|
|
||||||
|
|
|
@ -131,8 +131,8 @@ def test_should_calculate_resources_from_package():
|
||||||
"provider_registry.tf",
|
"provider_registry.tf",
|
||||||
"do_provider.tf",
|
"do_provider.tf",
|
||||||
"do_provider_vars.tf",
|
"do_provider_vars.tf",
|
||||||
"do_backend_properties_vars.tf",
|
"do_backend_vars.tf",
|
||||||
"do_backend_with_properties.tf",
|
"do_backend.tf",
|
||||||
} == sut.resources_from_package()
|
} == sut.resources_from_package()
|
||||||
|
|
||||||
config = devops_config({"tf_provider_types": ["HETZNER"]})
|
config = devops_config({"tf_provider_types": ["HETZNER"]})
|
||||||
|
|
Loading…
Reference in a new issue