⚠️ 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.
# 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
}
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.
name (String) Unique integration identifier to look up (e.g. sandbox-grafana).credential_provider_id (String) Vault credential provider ID for dynamic OAuth tokens when returned by Guild.description (String) Description of the integration.enabled (Boolean) Whether this integration is active.env (Map of String, Sensitive) Container environment variables returned by Guild; may contain sensitive data.id (String) Server-assigned UUID for this integration.image (Attributes) Container image and registry credential reference returned by Guild. (see below for nested schema)runner_id (String) UUID of remote runner used to execute this integration when bound.scope (String) Integration scope: TENANT, PROJECT, or USER.secret_ref_ids (List of String, Sensitive) Vault secret reference IDs returned by Guild; sensitive connection metadata.type (String) Integration type (e.g. grafana or mcp).imageRead-Only:
name (String) OCI container image name returned by Guild.registry_credentials_secret (String, Sensitive) Vault reference containing registry credentials returned by Guild.