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