terraform-provider-stackgen

sg_guild_model (Data Source)

⚠️ Experimental — Looks up an existing Guild model by name. Use this to reference pre-provisioned LLM model registrations from agents or workflows without managing sg_guild_model in the same stack. When provider workspace_id is set, the lookup is scoped to that workspace.

Example Usage

data "sg_guild_model" "toolcalling" {
  name = "gpt-4o-toolcalling"
}

output "guild_model_provider_name" {
  value = data.sg_guild_model.toolcalling.provider_name
}

Schema

Required

Read-Only