Importing an existing team's members fails with an error. The team already exists and has been imported prior to this, with terraform plan showing no changes required. The existing team has members already added, and the github_team_members resource has been set up to match before import.
Actual Behavior
Running terraform import ... yields the following error:
> terraform import github_team_members.existing_team existing_team
github_team_members.existing_team: Importing from ID "existing_team"...
╷
│ Error: Invalid address to set: []string{"create_default_maintainer"}
Expected Behavior
Importing an existing team's members fails with an error. The team already exists and has been imported prior to this, with
terraform plan
showing no changes required. The existing team has members already added, and thegithub_team_members
resource has been set up to match before import.Actual Behavior
Running
terraform import ...
yields the following error:Terraform Version
Terraform v1.7.1 on darwin_amd64
Affected Resource(s)
Terraform Configuration Files
Steps to Reproduce
Debug Output
No response
Panic Output
No response
Code of Conduct