diff --git a/src/main/python/ddadevops/domain/__init__.py b/src/main/python/ddadevops/domain/__init__.py index 6bff258..92e23b6 100644 --- a/src/main/python/ddadevops/domain/__init__.py +++ b/src/main/python/ddadevops/domain/__init__.py @@ -15,6 +15,7 @@ from .terraform import TerraformDomain from .provider_digitalocean import Digitalocean from .provider_hetzner import Hetzner from .provider_aws import Aws +from .backend_tf_backend_git import TerraformBackendGit from .provs_k3s import K3s from .release import Release from .artifact import Artifact diff --git a/src/main/python/ddadevops/domain/provider_tf_backend_git.py b/src/main/python/ddadevops/domain/backend_tf_backend_git.py similarity index 100% rename from src/main/python/ddadevops/domain/provider_tf_backend_git.py rename to src/main/python/ddadevops/domain/backend_tf_backend_git.py diff --git a/src/main/python/ddadevops/domain/common.py b/src/main/python/ddadevops/domain/common.py index 9c13ba2..1049a27 100644 --- a/src/main/python/ddadevops/domain/common.py +++ b/src/main/python/ddadevops/domain/common.py @@ -12,7 +12,7 @@ class BuildType(Enum): K3S = 2 TERRAFORM = 3 - +# TODO: We could follow domain implications and make a 'BackendType' enum class ProviderType(Enum): DIGITALOCEAN = 0 HETZNER = 1 diff --git a/src/main/python/ddadevops/domain/init_service.py b/src/main/python/ddadevops/domain/init_service.py index c0417b9..a6c7475 100644 --- a/src/main/python/ddadevops/domain/init_service.py +++ b/src/main/python/ddadevops/domain/init_service.py @@ -6,7 +6,7 @@ from .devops_factory import DevopsFactory from .terraform import TerraformDomain from .provider_digitalocean import Digitalocean from .provider_hetzner import Hetzner -from .provider_tf_backend_git import TerraformBackendGit +from .backend_tf_backend_git import TerraformBackendGit from .c4k import C4k from .image import Image from .release import ReleaseType, Release diff --git a/src/main/python/ddadevops/domain/terraform.py b/src/main/python/ddadevops/domain/terraform.py index 8c866e0..c9f8df6 100644 --- a/src/main/python/ddadevops/domain/terraform.py +++ b/src/main/python/ddadevops/domain/terraform.py @@ -8,7 +8,7 @@ from .common import ( from .provider_digitalocean import Digitalocean from .provider_hetzner import Hetzner from .provider_aws import Aws -from .provider_tf_backend_git import TerraformBackendGit +from .backend_tf_backend_git import TerraformBackendGit class TerraformDomain(Validateable):