Retrieve a Scaling Policy.
data "nomad_scaling_policy" "example" {
id = "ad19848d-1921-179c-affa-244a3543be88"
}
The following arguments are supported:
id
(string: <required>)
- The ID of the scaling policy.The following attributes are exported:
enabled
(boolean)
- Whether or not the scaling policy is enabled.type
(string)
- The scaling policy type.min
(integer)
- The minimum value set in the scaling policy.max
(integer)
- The maximum value set in the scaling policy.policy
(string)
- The policy inside the scaling policy.target
(map[string]string)
- The scaling policy target.