Skip to content

Commit

Permalink
fix: argocd-repo Existing Repo Reference (#959)
Browse files Browse the repository at this point in the history
Co-authored-by: screenshot-action 📷 <[email protected]>
  • Loading branch information
milldr and actions-user authored Jan 25, 2024
1 parent b66bdf8 commit b5d7e9c
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
Binary file modified .github/banner.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion modules/argocd-repo/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ resource "github_repository_deploy_key" "default" {
for_each = local.environments

title = "Deploy key for ArgoCD environment: ${each.key} (${local.github_repository.default_branch} branch)"
repository = join("", github_repository.default[*].name)
repository = local.github_repository.name
key = tls_private_key.default[each.key].public_key_openssh
read_only = true
}

0 comments on commit b5d7e9c

Please sign in to comment.