⚠️ Experimental — Manages a custom action type for workflow stages.
# Custom webhook-backed action type for workflow stages (Guild — experimental).
resource "sg_action_type" "example" {
name = "notify_slack"
mode = "webhook"
config = {
url = "https://hooks.slack.com/services/REPLACE/ME/HERE"
method = "POST"
}
description = "Posts a structured message to Slack."
}
Import an existing sg_action_type using its name:
terraform import sg_action_type.example 'my-action'
config (Map of String) Webhook configuration.mode (String) Execution mode (e.g. webhook).name (String) Unique name within the tenant. Lowercase alphanumeric with underscores.config_schema (Map of String) JSON Schema describing the config fields.description (String) Human-readable description.status (String) Lifecycle status (active, disabled, deprecated).id (String) Server-assigned identifier.