Use this data source to get information about an agent pool.
data "tfe_agent_pool" "test" {
name = "my-agent-pool-name"
organization = "my-org-name"
}
The following arguments are supported:
name
- (Required) Name of the agent pool.organization
- (Required) Name of the organization.In addition to all arguments above, the following attributes are exported:
id
- The agent pool ID.organization_scoped
- Whether or not the agent pool can be used by all workspaces in the organization.