Skip to content

Add support for managing team settings #64

@bodgit

Description

@bodgit

There is a github_team_settings resource for (currently) controlling review request delegation. It is configured like so:

resource "github_team_settings" "code_review_settings" {
  team_id = github_team.some_team.id

  review_request_delegation {
    algorithm    = "ROUND_ROBIN"
    member_count = 1
    notify       = true
  }
}

I propose adding an additional module input, either something like:

module "some_team" {
   ...

  review_request_delegation = {
     ...
  }
}

or

module "some_team" {
  ...

  settings = {
    review_request_delegation = {
      ...
    }
  }
}

(should the github_team_settings resource gain more arguments)

The presence of this variable being non-null creates a github_team_settings resource. Happy to send a PR if you think that would be acceptable.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions