Merge pull request #8650 from hashicorp/fix-docs-autoscaler-agent-policy-dir

docs: fix incorrect Autoscaler policy block dir detail.
This commit is contained in:
James Rasell
2020-08-12 17:05:41 +02:00
committed by GitHub

View File

@@ -146,15 +146,14 @@ The `policy` block configures the Nomad Autoscaler's policy handling.
```hcl
policy {
dir = "/opt/nomad-autoscaler/plugins"
dir = "/opt/nomad-autoscaler/policies"
default_cooldown = "2m"
}
```
### `policy` Parameters
- `dir` `(string: "./plugins")` - The path to a directory used to load scaling
policies.
- `dir` `(string: "")` - The path to a directory used to load scaling policies.
- `default_cooldown` `(string: "5m")` - The default cooldown that will be applied
to all scaling policies which do not specify a cooldown period.