» Data Source: tfe_organization_membership

Use this data source to get information about an organization membership.

» Example Usage

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

» Argument Reference

The following arguments are supported:

  • organization - (Required) Name of the organization.
  • email - (Required) Email of the user.

» Attributes Reference

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

  • id - The organization membership ID.
  • user_id - The ID of the user associated with the organization membership.