tfe_organization_membership

Add or remove a user from an organization.

Example Usage

Basic usage:

resource "tfe_organization_membership" "test" {
  organization  = "my-org-name"
  email = "user@company.com"
}

Argument Reference

The following arguments are supported:

Attributes Reference

In addition to all arguments above, the following attributes are exported:

Import

Organization memberships can be imported using <ORGANIZATION>/<USER EMAIL> or <ORGANIZATION MEMBERSHIP ID> as the import ID. For example:

terraform import tfe_organization_membership.test my-org-name/user@example.com
terraform import tfe_organization_membership.test ou-wAs3zYmWAhYK7peR