🦞
Resources

openclaw_plugin

Manages an OpenClaw plugin entry.

Manages a plugin entry under plugins.entries.<id>. Plugins extend gateway functionality with custom behavior.

Changing plugin_id forces resource replacement.

Example Usage

resource "openclaw_plugin" "web_search" {
  plugin_id = "web_search"
  enabled   = true
  config_json = jsonencode({
    engine     = "google"
    max_results = 10
  })
}

Argument Reference

ArgumentTypeRequiredDescription
plugin_idStringYesUnique plugin identifier. Used as the key under plugins.entries. Changing this forces replacement.
enabledBoolNoEnable or disable this plugin.
config_jsonStringNoRaw JSON string with plugin-specific configuration.

Attribute Reference

AttributeTypeDescription
idStringSame as plugin_id.

Import

terraform import openclaw_plugin.web_search web_search

On this page