Resource scalr_agent_pool

Manage the state of agent pools in Scalr. Create, update and destroy.

Example Usage

Basic usage:

resource "scalr_agent_pool" "default" {
  name       = "default-pool"
  account_id = "acc-xxxxxxxx"

Argument Reference

  • name - (Required) Name of the agent pool.
  • account_id - (Optional) ID of the account.
  • environment_id - (Optional) ID of the environment.
  • vcs_enabled - (Optional) Indicates whether the VCS support is enabled for agents in the pool.

Attribute Reference

All arguments plus:

  • id - The ID of the agent pool.


To import agent pool use agent pool ID as the import ID. For example:

terraform import scalr_agent_pool.default apool-xxxxxxxxx