github.com/anth0d/nomad@v0.0.0-20221214183521-ae3a0a2cad06/website/content/tools/autoscaling/agent/target.mdx (about) 1 --- 2 layout: docs 3 page_title: target Stanza - Nomad Autoscaler Agent Configuration 4 description: >- 5 The "target" block is used to configure scaling target plugins. 6 --- 7 8 # `target` Block 9 10 <Placement groups={['target']} /> 11 12 The `target` block is used to configure scaling target plugins. 13 14 ```hcl 15 target "example-target-plugin" { 16 driver = "example-target-plugin" 17 args = ["-my-flag"] 18 19 config = { 20 region = "esp-vlc-1" 21 } 22 } 23 ``` 24 25 ## `target` Parameters 26 27 - `args` `(array<string>: [])` - Specifies a set of arguments to pass to the 28 plugin binary when it is executed. 29 30 - `driver` `(string: "")` - The plugin's executable name relative to the 31 [`plugin_dir`][plugin_dir]. If the plugin has a suffix, such as .exe, this 32 should be omitted. 33 34 - `config` `(map<string><string>: nil)` - Specifies configuration values for 35 the plugin either as HCL or JSON. The accepted values are plugin specific. 36 Please refer to the individual plugin's documentation. 37 38 [plugin_dir]: /tools/autoscaling/agent#plugin_dir