terraform-provider-stackgen

sg_guild_integration (Data Source)

⚠️ Experimental — Looks up an existing Guild integration by name. Use this to attach pre-provisioned integrations (for example sandbox Grafana) to sg_agent without managing sg_guild_integration in the same stack. When provider workspace_id is set, the lookup is scoped to that workspace.

Example Usage

# When to use: Attach a pre-provisioned integration (e.g. sandbox Grafana) to
# sg_agent without managing sg_guild_integration in the same stack.
data "sg_guild_integration" "grafana" {
  name = "example-grafana"
}

output "grafana_integration_id" {
  value = data.sg_guild_integration.grafana.id
}

Operational notes

The returned env, secret_ref_ids, and registry credential references may contain sensitive connection metadata. Secure Terraform state and plans; prefer the resource only when this stack should manage the integration lifecycle.

Schema

Required

Read-Only

Nested Schema for image

Read-Only: