Skip to content

Commit

Permalink
Create collaborators.tf
Browse files Browse the repository at this point in the history
  • Loading branch information
David Arnold authored and GitHub committed May 14, 2024
1 parent ad91543 commit 3724b99
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions collaborators.tf
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
# Add a collaborator to a repository
resource "github_repository_collaborator" "collaborators" {
for_each = tomap(var.collaborators)
repository = github_repository.repo.name
username = each.key
permission = each.value
}

0 comments on commit 3724b99

Please sign in to comment.