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