Skip to content

saif-resources / ai-project

Creates an Azure AI Foundry project under the shared AI Hub with optional model deployments.

Usage

module "ai_project" {
  source  = "app.terraform.io/SAIFCorp/resources/saif//modules/ai-project"
  version = "~> 1.0.0"

  context  = module.environment.context
  name     = var.project_id
  location = "westus"

  model_deployments = {
    chat = {
      model_name    = "gpt-5.6-luna"
      model_version = "2026-07-09"
      sku_capacity  = 30
    }
  }
}

Note: Use short logical keys (e.g. chat). The module prefixes them with var.name internally to produce the actual Azure deployment name ({name}-chat). Access the resolved names via module.ai_project.deployment_names["chat"].

Providers

No providers.

Inputs

Name Description Type Default Required
context Platform context from the environment module any n/a yes
location The Azure region for AI model deployments (may differ from resource_location due to model availability) string "westus" no
model_deployments Map of model deployment configurations
map(object({
model_format = optional(string, "OpenAI")
model_name = string
model_version = string
sku_name = optional(string, "GlobalStandard")
sku_capacity = optional(number, 30)
}))
{} no
name The AI project name (e.g. project_id) string n/a yes

Outputs

Name Description
deployment_names Map of logical deployment key to actual Azure deployment name (e.g. 'chat' => '{name}-chat')
project_id The AI project resource ID

Resources


View source on GitHub