Skip to main content

conveyor_environment_team (Resource)

Links a team to a Conveyor environment.

Example Usage

resource "conveyor_environment" "dev" {
name = "dev"
}

resource "conveyor_team" "dev" {
name = "dev"
}

resource "conveyor_environment_team" "dev_team" {
environment_id = conveyor_environment.dev.id
team_id = conveyor_team.dev.id
role = "admin"
}

Schema

Required

  • environment_id (String) The id of the environment to add the team to.
  • role (String) The role the team should have on the environment, either admin, contributor or operator.
  • team_id (String) The id of the team to add.

Read-Only

  • id (String) The ID of this resource.