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

update documentation for github_team_members to recommended team id #1991

Conversation

scott-doyland-burrows
Copy link
Contributor

@scott-doyland-burrows scott-doyland-burrows commented Oct 31, 2023

Resolves #1964

The issue seemed difficult to correct via code. It seems better to still allow the current behaviour but recommend the desired approach.


Before the change?

Documentation did not describe the pitfalls of using the team slug when creating or importing the github_team_members resource.

After the change?

Documentation recommends that the team id, rather than team slug, is used for the github_team_members resource and gives the reasons why.

Pull request checklist

  • Tests for the changes have been added (for bug fixes / features)
  • Docs have been reviewed and added / updated if needed (for bug fixes / features)

Does this introduce a breaking change?

Please see our docs on breaking changes to help!

  • Yes
  • No

Copy link
Member

@kfcampbell kfcampbell left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This seems like a reasonable approach. Thank you for the contribution!

@kfcampbell kfcampbell merged commit 5c28e97 into integrations:main Nov 7, 2023
3 checks passed
@scott-doyland-burrows scott-doyland-burrows deleted the update-github-team-members-docs branch November 7, 2023 16:21
avidspartan1 pushed a commit to avidspartan1/terraform-provider-github that referenced this pull request Feb 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[BUG]: github_team_members cannot import team member by name
2 participants