Skip to content

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

@stevehipwell

Description

@stevehipwell

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Status: TriageThis is being looked at and prioritizedType: BugSomething isn't working as documented

    Type

    No type

    Projects

    Status

    ✅ Done

    Status

    Done

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions