» tfe_team_member
Add or remove a user from a team.
NOTE on managing team memberships: Terraform currently provides two resources for managing team memberships. The tfe_team_member resource can be used multiple times as it manages the team membership for a single user. The tfe_team_members resource, on the other hand, is used to manage all team memberships for a specific team and can only be used once. Both resources cannot be used for the same team simultaneously.
» Example Usage
Basic usage:
resource "tfe_team" "test" {
name = "my-team-name"
organization = "my-org-name"
}
resource "tfe_team_member" "test" {
team_id = "${tfe_team.test.id}"
username = "sander"
}
» Argument Reference
The following arguments are supported:
» Import
A team member can be imported; use <TEAM ID>/<USERNAME>
as the import ID. For
example:
terraform import tfe_team_member.test team-47qC3LmA47piVan7/sander