Skip to content

cognitive_services/ai_services

Overview

This page documents the Terraform module implementation, key configuration surfaces, and how it integrates with CAF.

Dependency diagram (Mermaid)

graph TD azurerm_ai_services.ai_services["azurerm_ai_services.ai_services"] module.diagnostics["module.diagnostics"] module.diagnostics --> azurerm_ai_services.ai_services

Module Reference

Category: cognitive_services
Path: modules/cognitive_services/ai_services
Azure Resources: azurerm_ai_services

Inputs

Name Description Type Required Default Validation
global_settings Global settings object any yes - -
client_config Client configuration object any yes - -
location (Required) Specifies the supported Azure location where to create the resource. Changing this forces a new resource t... string yes - -
settings Settings of the module: name - (Required) Specifies the name of the AI Services Account. Changing this forces a new r... any yes - -
resource_group Resource group object any yes - -
base_tags Flag to determine if tags should be inherited bool yes - -
remote_objects Remote objects any yes - -

Outputs

Name Description Sensitive Value
id The ID of the AI Services Account - azurerm_ai_services.ai_services.id
endpoint The endpoint used to connect to the AI Services Account. - azurerm_ai_services.ai_services.endpoint
primary_access_key The primary access key for the AI Services Account. true azurerm_ai_services.ai_services.primary_access_key
secondary_access_key The secondary access key for the AI Services Account. true azurerm_ai_services.ai_services.secondary_access_key
principal_id The Principal ID associated with this Managed Service Identity. false try(azurerm_ai_services.ai_services.identity[0].principal_id, null)
tenant_id The Tenant ID associated with this Managed Service Identity. false try(azurerm_ai_services.ai_services.identity[0].tenant_id, null)

Sources

  • modules/cognitive_services/ai_services/ai_services.tf
  • modules/cognitive_services/ai_services/diagnostics.tf
  • modules/cognitive_services/ai_services/locals.tf
  • modules/cognitive_services/ai_services/main.tf
  • modules/cognitive_services/ai_services/managed_identities.tf
  • modules/cognitive_services/ai_services/outputs.tf
  • modules/cognitive_services/ai_services/providers.tf
  • modules/cognitive_services/ai_services/variables.tf