» tfe_team_members

Manages users in a team.

» Example Usage

Basic usage:

resource "tfe_team" "test" {
  name         = "my-team-name"
  organization = "my-org-name"
}

resource "tfe_team_members" "test" {
  team_id   = "${tfe_team.test.id}"
  usernames = ["admin", "sander"]
}

» Argument Reference

The following arguments are supported:

  • team_id - (Required) ID of the team.
  • usernames - (Required) Names of the users to add.

» Attributes Reference

  • id - The ID of the team.

» Import

Team members can be imported; use <TEAM ID> as the import ID. For example:

terraform import tfe_team_members.test team-47qC3LmA47piVan7