terraform-provider-stackgen

sg_knowledge_base (Resource)

⚠️ Experimental — Manages a Guild knowledge base that groups documents and sources. Import with Terraform using the server-assigned id (UUID).

Built-in organization bases may be read-only for some fields and cannot be deleted.

Example Usage

# User-defined knowledge base; documents can target this id on sg_knowledge_document.
resource "sg_knowledge_base" "example" {
  name        = "team-docs"
  description = "Internal documentation for the team"
}

Import

Import an existing sg_knowledge_base using its knowledge base UUID:

terraform import sg_knowledge_base.example '123e4567-e89b-12d3-a456-426614174000'

Schema

Required

Optional

Read-Only