I've created a custom role named repo-owners with resource github_organization_custom_role.
When trying to use it with github_repository_collaborators, it fails with
repo-owners is an invalid value for argument team.2.permission
Documentation states that:
Must be one of pull, push, maintain, triage or admin or the name of an existing custom repository role within the organization for organization-owned repositories.
Hello,
I've created a custom role named
repo-owners
with resourcegithub_organization_custom_role
. When trying to use it withgithub_repository_collaborators
, it fails withDocumentation states that:
but looking at the code it seems te me it only supports the hardcoded list of builtin roles https://github.com/integrations/terraform-provider-github/blob/main/github/resource_github_repository_collaborators.go#L60