terraform-provider-gitlab
terraform-provider-gitlab copied to clipboard
Enhance Personal Access Token resource to use the get single PAT endpoint
Feature Description
In 15.1 a new endpoint was released for getting a single PAT vs a list. We can refactor the deletion check to use this endpoint vs going through a paginated list and checking.
https://docs.gitlab.com/ee/api/personal_access_tokens.html#get-single-personal-access-token-by-id
Do you want to implement this?
- [ ] I would like to implement this myself 👷
@Shocktrooper In case you are going to implement this please don't forgot to do implement this in an if
, to still support N-2
releases :)