Skip to content

Latest commit

 

History

History
63 lines (39 loc) · 1.79 KB

agent_pool.html.markdown

File metadata and controls

63 lines (39 loc) · 1.79 KB
layout page_title description
azuredevops
AzureDevops: azuredevops_agent_pool
Manages an agent pool within Azure DevOps organization.

azuredevops_agent_pool

Manages an agent pool within Azure DevOps.

Example Usage

resource "azuredevops_agent_pool" "example" {
  name           = "Example-pool"
  auto_provision = false
  auto_update    = false
}

Argument Reference

The following arguments are supported:

  • name - (Required) The name of the agent pool.

  • auto_provision - (Optional) Specifies whether 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.

  • auto_update - (Optional) Specifies whether or not agents within the pool should be automatically updated. Defaults to true.

Attributes Reference

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

  • id - The ID of the agent pool.

Relevant Links

Timeouts

The timeouts block allows you to specify timeouts for certain actions:

  • create - (Defaults to 10 minutes) Used when creating the Agent Pool.
  • read - (Defaults to 5 minute) Used when retrieving the Agent Pool.
  • update - (Defaults to 10 minutes) Used when updating the Agent Pool.
  • delete - (Defaults to 10 minutes) Used when deleting the Agent Pool.

Import*

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

terraform import azuredevops_agent_pool.example 0