Use this data source to retrieve information about a custom role in a GitHub Organization.
data "github_organization_custom_role" "example" {
name = "example"
}
The following arguments are supported:
name
- (Required) The name of the custom role.The following additional attributes are exported:
id
- The ID of the custom role.description
- The description for the custom role.base_role
- The system role from which the role inherits permissions.permissions
- A list of additional permissions included in this role.