scalr_agent_pool Resource

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 - (Required) ID of the account.

  • environment_id - (Optional) ID of the environment.

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