-
Notifications
You must be signed in to change notification settings - Fork 10.3k
github_team creates team with no members that is unmanageable #18655
Copy link
Copy link
Closed
Labels
Description
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