integrations/terraform-provider-github

[BUG]: The `github_organization_teams` data source doesn't populate `parent.id` correctly

Opened this issue · 1 comments

Expected Behavior

When querying the github_organization_teams data source I'd expect the parent.id to correctly return the team ID. Idiomatically I'd expect it to have a parent_id attribute.

Actual Behavior

It looks like the parent.id attribute is being populated by the node ID due to this data source being implemented on the GraphQL API.

Terraform Version

n/a

Affected Resource(s)

  • data.github_organization_teams

Terraform Configuration Files

No response

Steps to Reproduce

No response

Debug Output

No response

Panic Output

No response

Code of Conduct

  • I agree to follow this project's Code of Conduct

The code to fix this is currently in #2476 but I'm planning on opening a seperate PR for this change before that gets merged.