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
api_gateway_url(String) HTTP(s) destination URL for pool webhook.environments(Set of String) The list of the environment identifiers that the agent pool is shared to, or["*"]if shared with all environments.header(Set of Object) Additional headers to set in the pool webhook request. (see below for nested schema)workspace_ids(List of String) The list of IDs of linked workspaces.
Nested Schema for header
headerRead-Only:
name(String)sensitive(Boolean)value(String)
Updated 4 days ago
