-
Notifications
You must be signed in to change notification settings - Fork 948
github_team creates team with no members that is unmanageable #130
Copy link
Copy link
Closed as not planned
Labels
Status: Up for grabsIssues that are ready to be worked on by anyoneIssues that are ready to be worked on by anyoneType: BugSomething isn't working as documentedSomething isn't working as documentedr/team
Milestone
Description
This issue was originally opened by @steven-edgar as hashicorp/terraform#18655. It was migrated here as a result of the provider split. The original body of the issue is below.
Terraform Version
Terraform v0.11.7
Terraform Configuration Files
resource "github_team" "my-team" {
name = "my-team"
description = "This is my team"
privacy = "closed"
}
resource "github_team" "my-subteam" {
name = "my-subteam"
description = "This is my subteam"
privacy = "closed"
parent_team_id = "${github_team.my-team.id}"
}
resource "github_team_membership" "my-team_github-user-1" {
team_id = "${github_team.my-subteam.id}"
username = "github-user-1"
role = "maintainer"
}Debug Output
Crash Output
Expected Behavior
Created a github team with the creators account as maintainer
Actual Behavior
Created a github team with no members, which was therefor unmaintainable. We've had to contact Github support to have that resolved.
Steps to Reproduce
Github team "my-team" already existed and had been imported into the terraform state. We then added my-subteam and ran:
terraform init
terraform apply
Additional Context
References
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
Status: Up for grabsIssues that are ready to be worked on by anyoneIssues that are ready to be worked on by anyoneType: BugSomething isn't working as documentedSomething isn't working as documentedr/team
Type
Projects
Status
Done