Skip to content

Commit

Permalink
fix: use team id instead of slug
Browse files Browse the repository at this point in the history
For github_repository_collaborators team blocks, use the id instead of
the slug
  • Loading branch information
matijs committed Jan 22, 2025
1 parent 36b7301 commit 6062bab
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions basis.tf
Original file line number Diff line number Diff line change
Expand Up @@ -89,26 +89,26 @@ resource "github_repository_collaborators" "basis" {

team {
permission = "admin"
team_id = github_team.kernteam-admin.slug
team_id = github_team.kernteam-admin.id
}

team {
permission = "maintain"
team_id = github_team.kernteam-maintainer.slug
team_id = github_team.kernteam-maintainer.id
}

team {
permission = "push"
team_id = github_team.kernteam-committer.slug
team_id = github_team.kernteam-committer.id
}

team {
permission = "triage"
team_id = github_team.kernteam-triage.slug
team_id = github_team.kernteam-triage.id
}

team {
permission = "triage"
team_id = github_team.kernteam-dependabot.slug
team_id = github_team.kernteam-dependabot.id
}
}

0 comments on commit 6062bab

Please sign in to comment.