» azuredevops_agent_pool

Manages an agent pool within Azure DevOps.

» Example Usage

resource "azuredevops_agent_pool" "pool" {
  name           = "sample-pool"
  auto_provision = false

» Argument Reference

The following arguments are supported:

  • name - (Required) The name of the agent pool.
  • auto_provision - (Optional) Specifies whether or not a queue should be automatically provisioned for each project collection. Defaults to false.
  • pool_type - (Optional) Specifies whether the agent pool type is Automation or Deployment. Defaults to automation.

» Attributes Reference

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

  • id - The ID of the agent pool.

» Import

Azure DevOps Agent Pools can be imported using the agent pool Id, e.g.

 terraform import azuredevops_agent_pool.pool 42