⚠️ Experimental — This resource is part of the Guild platform and may change in future releases.
Manages a runbook SOP — a structured standard operating procedure for incident remediation.
Set approve to true to approve the draft after apply so operators do not need to use the UI.
Create-time 409 adoption is controlled by the provider attribute adopt_on_conflict (default true).
resource "sg_runbook_sop" "example" {
name = "database-failover"
description = "Steps to promote the read replica when the primary fails."
}
Import an existing sg_runbook_sop using its name:
terraform import sg_runbook_sop.example 'incident-triage'
name (String) Unique runbook SOP name. Changing forces replacement.approve (Boolean) When true, approves the runbook SOP draft immediately after create or update via the Guild API so the SOP is available to agents and workflows without manual UI approval. Omit or set to false to leave the draft pending for manual approval in the UI. Only applies while the current version is in draft.description (String) Human-readable description of the SOP.id (String) Server-assigned identifier.status (String) Current status of the SOP.version (Number) Integer version of the SOP. Managed by the server automatically.