From 001e1d64b0ab90061ce0bfab008bedc92e57d50b Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Sat, 12 Apr 2025 19:33:25 +0000 Subject: [PATCH] style: Terraform formatting changes [skip ci] [skip test] --- outputs.tf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/outputs.tf b/outputs.tf index d3ce572..f3f91eb 100644 --- a/outputs.tf +++ b/outputs.tf @@ -45,7 +45,7 @@ output "visibility" { output "default_branch" { description = "Default branch of the repository" - value = var.create_repo ? var.github_default_branch : ( + value = var.create_repo ? var.github_default_branch : ( length(data.github_repository.existing) > 0 ? lookup(data.github_repository.existing[0], "default_branch", "main") : "main" ) }