Remove unused import, arguments

This commit is contained in:
patdyn 2024-06-27 11:41:42 +02:00
parent e72ac8882e
commit 7f2c78ba97

View file

@ -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):
@ -30,9 +30,9 @@ class TerraformBackendGit(Validateable, CredentialMappingDefault):
# 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),
"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]: