terraform-provider-stackgen

sg_webhooks (Data Source)

⚠️ Experimental — Lists Guild webhooks (sg_webhook). Token secrets are not included.

Example Usage

# When to use: Inventory Guild webhooks (agent/workflow/app targets). Token
# secrets are not returned — use this for discovery, not credential export.
data "sg_webhooks" "enabled" {
  enabled_only = true
  target_type  = "workflow"
}

output "webhook_names" {
  value = [for w in data.sg_webhooks.enabled.webhooks : w.name]
}

Schema

Optional

Read-Only

Nested Schema for webhooks

Read-Only: