terraform-provider-stackgen

sg_guild_models (Data Source)

⚠️ Experimental — Lists registered Guild models. When provider workspace_id is set, the list is scoped to that workspace. The generated Guild client currently supports filtering by provider_name and may support scope depending on the spec/client version in use.

Example Usage

data "sg_guild_models" "openai" {
  provider_name = "openai-prod"
}

output "openai_guild_model_names" {
  value = [for model in data.sg_guild_models.openai.models : model.name]
}

Schema

Optional

Read-Only

Nested Schema for models

Read-Only: