1 Resources pipeline
Forgejo Actions edited this page 2026-11-26 06:34:52 +00:00

openwebui_pipeline (Resource)

Registers a pipeline with Open WebUI. Pipelines run on a separate server; provide either url to load from a running server or source_path to upload a pipeline file.

Example Usage

resource "openwebui_pipeline" "example" {
  url = "http://pipelines.internal:9099"
}

Schema

Optional

  • key (String, Sensitive) API key for the pipeline server. Open WebUI reads the key from the OpenAI connection at url_idx, so this value is kept in state and never sent. Set the key on the openwebui_openai_connections entry instead.
  • source_path (String) Local path to a pipeline .py file to upload.
  • url (String) Base URL of the pipeline server to register, e.g. http://pipelines.internal:9099.
  • url_idx (Number) Index of the pipeline server URL as stored by Open WebUI. Defaults to 0.

Read-Only

  • details_json (String) JSON metadata about the pipeline as returned by Open WebUI.
  • id (String) Terraform identifier. Always equal to pipeline_id.
  • pipeline_id (String) Pipeline identifier assigned by the pipeline server. Set by Open WebUI.

Import

Import is supported using the following syntax:

The terraform import command can be used, for example:

# A pipeline is imported by its pipeline_id and the index of the pipeline server
# URL it is registered on, separated by a colon.
terraform import openwebui_pipeline.example rate_limit_filter:0

# The index defaults to 0, so a single-server install can leave it off.
terraform import openwebui_pipeline.example rate_limit_filter