FEATURES PRICING ABOUT DOCS LOGIN

github_membership

Provides a GitHub membership resource.

This resource allows you to add/remove users from your organization. When applied, an invitation will be sent to the user to become part of the organization. When destroyed, either the invitation will be cancelled or the user will be removed.

Example Usage

# Add a user to the organization
resource "github_membership" "membership_for_some_user" {
    username = "SomeUser"
    role = "member"
}

Argument Reference

The following arguments are supported:


See the source of this document at Terraform.io

REQUEST A DEMO