Skip to content

[FEAT]: Organization Role Assignment #2575

@lukiffer

Description

@lukiffer

Describe the need

I may have missed something, but after a reasonably thorough scan of the docs I didn't see a resource for organization role assignment to a user or team.

The API endpoints I'm referring to are:

Implementation may look something like:

resource "github_organization_role_assignment" "example" {
  role_id  = 12345
  username = "lukiffer"
}
resource "github_organization_role_assignment" "example" {
  role_id   = 12345
  team_slug = "example-team"
}

It would be great to have these as a single resource that managed the different assignment principals, but if this isn't feasible having separate, explicitly-named resources are probably fine too.

SDK Version

No response

API Version

No response

Relevant log output

Code of Conduct

  • I agree to follow this project's Code of Conduct

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

Status

Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions