[BUG]: github_team_repository does not accept pre-defined "custom" roles #2498
Labels
Status: Triage
This is being looked at and prioritized
Type: Bug
Something isn't working as documented
Expected Behavior
I should be able to specify the pre-defined "write" role, but it will 422 fail validation. When manually CURLing the API, you have to change
permission
torole
for it to not fail 422. It isn't documented, I did it on a hunch and it worked.The description implies that I can specify a role, but it doesn't actually work:
permission - (Optional) The permissions of team members regarding the repository. Must be one of pull, triage, push, maintain, admin or the name of an existing custom repository role within the organisation. Defaults to pull.
Actual Behavior
422 validation error
Terraform Version
Affected Resource(s)
Terraform Configuration Files
No response
Steps to Reproduce
No response
Debug Output
Panic Output
The text was updated successfully, but these errors were encountered: