scalr_agent_pool_token
Resource scalr_agent_pool_token
scalr_agent_pool_token
Manage the state of agent pool's tokens in Scalr. Create, update and destroy.
Example Usage
Basic usage:
resource "scalr_agent_pool_token" "default" {
description = "Some description"
agent_pool_id = "apool-xxxxxxx"
}
Argument Reference
description
- (Required) Description of the token.agent_pool_id
- (Required) ID of the agent pool.
Attribute Reference
All arguments plus:
id
- The ID of the token.token
- The token of the agent pool.
Import
To import agent pool's token use token ID as the import ID. For example:
terraform import scalr_agent_pool_token.default at-xxxxxxxxx
Updated 7 months ago