integrations / integrations/terraform-provider-github

[FEAT]: Replace `team_id` with `team_slug`

Open
#2,497 2 comments 2 reactions 0 assignees View on GitHub
Type: Breaking change Type: Feature
Dominant language
Go
Stars
1.2k
Forks
1k
Avg merge
1d 14h
Merged PRs (30d)
8

Description

### Describe the need

The REST APIs for interacting with team by ID are currently under a closing down notice ([ref](https://docs.github.com/en/rest/teams/teams?apiVersion=2022-11-28#get-a-team-legacy)) so we should switch to using `team_slug`. Although #2421 is currently still relevant and correct this would change this position with the eventual removal of the `team_id`.

This change should be able to be completed with minimal end user pain as we can add `team_slug` alongside `team_id`. I'm planning on opening a PR to achieve this once #2476 has been merged. I'm waiting for this so there can be automated acceptance tests in place.

### SDK Version

_No response_

### API Version

_No response_

### Relevant log output

_No response_

### Code of Conduct

- [X] I agree to follow this project's Code of Conduct

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.