Skip to content

Commit 5f09275

Browse files
committed
fix: load name repository id (#74)
1 parent 2cd4c56 commit 5f09275

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

main.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -246,7 +246,7 @@ resource "github_branch_protection" "this" {
246246
]
247247

248248
for_each = local.output.branch_protection
249-
repository_id = github_repository.this.node_id
249+
repository_id = github_repository.this.name
250250
pattern = each.key
251251
enforce_admins = each.value.enforce_admins
252252
allows_deletions = each.value.allows_deletions

0 commit comments

Comments
 (0)