terraform-provider-stackgen

sg_action_type (Resource)

⚠️ Experimental — Manages a custom action type for workflow stages.

Example Usage

# 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

Import an existing sg_action_type using its name:

terraform import sg_action_type.example 'my-action'

Schema

Required

Optional

Read-Only