Skip to content

[BUG]: The github_team data source repositories_detailed does not directly correlate repo name with role #2496

@stevehipwell

Description

@stevehipwell

Expected Behavior

I'd expect to be able to use a github_team data source to lookup repositories and the associated permission via the repositories_detailed attribute.

Actual Behavior

I either need to trust the the indexed in repositories_detailed & repositories match and do the custom lookup code to merge these or I need to use an additional data source to lookup the repositories by name from repositories to get the ID and then do the custom lookup code to merge these.

Terraform Version

n/a

Affected Resource(s)

  • data.github_team

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