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_organization_teams data source doesn't populate parent.id correctly #2491

Open
1 task done
stevehipwell opened this issue Dec 3, 2024 · 1 comment · May be fixed by #2507
Open
1 task done

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

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

Comments

@stevehipwell
Copy link
Contributor

stevehipwell commented Dec 3, 2024

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