conveyor_team_user (Resource)
Links a user to a Conveyor team.
Example Usage
resource "conveyor_team" "my_team" {
name = "my_team"
}
resource "conveyor_team_user" "my_team_user" {
team_id = conveyor_team.my_team.id
user_id = "test@gmail.com"
member_type = "admin"
}
Schema
Required
member_type
(String) The membership type the user should have on the team, eitheradmin
ormember
.team_id
(String) The id of the team to add the user to.user_id
(String) The email address of the user to add.
Read-Only
id
(String) The ID of this resource.
Import
Import is supported using the following syntax:
export TEAM_ID=$(conveyor team get --name my_team -ojson | jq -r ".Id")
terraform import conveyor_team_user.my_team_user "$TEAM_ID"/test@gmail.com