scalr_agent_pool

Data Source: scalr_agent_pool

Retrieves the details of an agent pool.

Example Usage

data "scalr_agent_pool" "example1" {
  id         = "apool-xxxxxxxxxx"
  account_id = "acc-xxxxxxxxxx"
}

data "scalr_agent_pool" "example2" {
  name       = "default-pool"
  account_id = "acc-xxxxxxxxxx"
}

Schema

Optional

  • account_id (String) An identifier of the Scalr account.
  • environment_id (String) An identifier of the Scalr environment.
  • id (String) ID of the agent pool.
  • name (String) A name of the agent pool.
  • vcs_enabled (Boolean) Indicates whether the VCS support is enabled for agents in the pool.

Read-Only

  • workspace_ids (List of String) The list of IDs of linked workspaces.