»plugin Stanza

Placementplugin

The plugin stanza configures a plugin that will be used by the Waypoint configuration. This can set settings such as the checksum of the plugin, the kind of features the plugin supports, etc.

The plugin stanza is optional. When you use a use stanza, it implicitly defines a plugin that Waypoint will require. You do not need to explicitly create a plugin configuration as well. You only need to create a plugin stanza for additional plugin configuration.

Multiple plugin stanzas can be specified.

plugin "my-platform" {
  checksum = "2cf24dba5fb0a30e26e83b2ac5b9e29e1b161e5c1fa7425e73043362938b9824"

  type {
    mapper   = true
    platform = true
  }
}

# ...
plugin "my-platform" {  checksum = "2cf24dba5fb0a30e26e83b2ac5b9e29e1b161e5c1fa7425e73043362938b9824"
  type {    mapper   = true    platform = true  }}
# ...

»plugin Parameters

»Label

The plugin stanza takes a label. The label of the stanza is the name of the plugin. In the above example, the label is "my-platform"

The plugin name is significant because it defines how the plugin binary will be named on the local system. See plugin loading for more information.

»Optional

  • checksum (string: "") - A SHA-256 checksum for the external plugin binary. This has no effect for built-in plugins.

  • type (type: nil) - The type of plugin that this is. A plugin can implement multiple types.

»type Parameters

The type stanza is used only within a plugin stanza. It defines what features a plugin implements. Each field in the type stanza should be set to "true" if the plugin implements that type.

»Optional