Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
1 task done
stevehipwell opened this issue Dec 4, 2024 · 1 comment · May be fixed by #2509
Open
1 task done
Labels
Status: Triage This is being looked at and prioritized Type: Bug Something isn't working as documented

Comments

@stevehipwell
Copy link
Contributor

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
@stevehipwell stevehipwell added Status: Triage This is being looked at and prioritized Type: Bug Something isn't working as documented labels Dec 4, 2024
@github-project-automation github-project-automation bot moved this to 🆕 Triage in 🧰 Octokit Active Dec 4, 2024
@stevehipwell
Copy link
Contributor Author

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.

@stevehipwell stevehipwell linked a pull request Dec 6, 2024 that will close this issue
4 tasks
@nickfloyd nickfloyd moved this from 🆕 Triage to 🔥 Backlog in 🧰 Octokit Active Dec 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Status: Triage This is being looked at and prioritized Type: Bug Something isn't working as documented
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant