Skip to content

Commit

Permalink
adding config + pipeline
Browse files Browse the repository at this point in the history
  • Loading branch information
ConnorOKane-Kainos committed Jul 5, 2024
1 parent f39fee3 commit 8a5de50
Showing 1 changed file with 12 additions and 12 deletions.
24 changes: 12 additions & 12 deletions components/outputs.tf
Original file line number Diff line number Diff line change
Expand Up @@ -6,18 +6,18 @@ output "common_tags" {
}
}

output "included_repositories" {
value = local.included_repositories
}
# output "included_repositories" {
# value = local.included_repositories
# }

output "repo_branch_combinations" {
value = local.repo_branch_combinations
}
# output "repo_branch_combinations" {
# value = local.repo_branch_combinations
# }

output "valid_branch_combinations" {
value = {
for combo in local.repo_branch_combinations : "${combo.repo}:${combo.branch}" => combo
if try(data.github_branch.existing_branches["${combo.repo}:${combo.branch}"].branch, null) != null
}
}
# output "valid_branch_combinations" {
# value = {
# for combo in local.repo_branch_combinations : "${combo.repo}:${combo.branch}" => combo
# if try(data.github_branch.existing_branches["${combo.repo}:${combo.branch}"].branch, null) != null
# }
# }

0 comments on commit 8a5de50

Please sign in to comment.