diff --git a/src/main/python/ddadevops/application/terraform_service.py b/src/main/python/ddadevops/application/terraform_service.py index 240356b..18f48cc 100644 --- a/src/main/python/ddadevops/application/terraform_service.py +++ b/src/main/python/ddadevops/application/terraform_service.py @@ -38,13 +38,13 @@ class TerraformService: self.file_api.cp_recursive("scripts", devops.build_path(), check=False) def start_tf_backend_git_daemon(self, devops: Devops): - terraform = devops.specialized_builds[BuildType.TERRAFORM] - credentials = terraform.env_credentials() + terraform_domain = devops.specialized_builds[BuildType.TERRAFORM] + credentials = terraform_domain.env_credentials() self.tf_backend_git_api.start(credentials) def uses_backend_git(self, devops: Devops) -> bool: - terraform = devops.specialized_builds[BuildType.TERRAFORM] - return terraform.uses_backend_git() + terraform_domain = devops.specialized_builds[BuildType.TERRAFORM] + return terraform_domain.uses_backend_git() def read_output(self, devops: Devops) -> map: terraform_domain = devops.specialized_builds[BuildType.TERRAFORM]