diff --git a/src/main/python/ddadevops/domain/provider_tf_backend_git.py b/src/main/python/ddadevops/domain/provider_tf_backend_git.py index db93fda..4f450f8 100644 --- a/src/main/python/ddadevops/domain/provider_tf_backend_git.py +++ b/src/main/python/ddadevops/domain/provider_tf_backend_git.py @@ -1,4 +1,4 @@ -from typing import List, Dict, Set, Any +from typing import List, Dict, Any from .common import Validateable, CredentialMappingDefault class TerraformBackendGit(Validateable, CredentialMappingDefault): @@ -29,11 +29,11 @@ class TerraformBackendGit(Validateable, CredentialMappingDefault): # See: https://developer.hashicorp.com/terraform/language/settings/backends/configuration#command-line-key-value-pairs # and https://github.com/plumber-cd/terraform-backend-git?tab=readme-ov-file#standalone-terraform-http-backend-mode def backend_config(self) -> Dict[str, Any]: - return { - "address": self.__make_http_backend_address__(self.git_backend_repo, self.git_backend_ref, self.git_backend_state), - "lock_address": self.__make_http_backend_address__(self.git_backend_repo, self.git_backend_ref, self.git_backend_state), - "unlock_address": self.__make_http_backend_address__(self.git_backend_repo, self.git_backend_ref, self.git_backend_state), - } + return { + "address": self.__make_http_backend_address__(), + "lock_address": self.__make_http_backend_address__(), + "unlock_address": self.__make_http_backend_address__(), + } def resources_from_package(self) -> List[str]: return {"tf_backend_git_backend.tf", "tf_backend_git_backend_vars.tf"}