cognitive_services/cognitive_services_account¶
Overview¶
This page documents the Terraform module implementation, key configuration surfaces, and how it integrates with CAF.
Dependency diagram (Mermaid)¶
graph TD
azurecaf_name.service["azurecaf_name.service"]
azurerm_cognitive_account.service["azurerm_cognitive_account.service"]
module.diagnostics["module.diagnostics"]
module.private_endpoint["module.private_endpoint"]
remote:diagnostics["remote:diagnostics"]
remote:private_dns["remote:private_dns"]
remote:subnet_id["remote:subnet_id"]
remote:virtual_subnets["remote:virtual_subnets"]
remote:vnets["remote:vnets"]
azurerm_cognitive_account.service --> azurecaf_name.service
azurerm_cognitive_account.service --> remote:subnet_id
azurerm_cognitive_account.service --> remote:virtual_subnets
azurerm_cognitive_account.service --> remote:vnets
module.diagnostics --> azurerm_cognitive_account.service
module.diagnostics --> remote:diagnostics
module.private_endpoint --> azurerm_cognitive_account.service
module.private_endpoint --> remote:private_dns
module.private_endpoint --> remote:virtual_subnets
module.private_endpoint --> remote:vnets
Module Reference¶
Category: cognitive_services
Path: modules/cognitive_services/cognitive_services_account
Azure Resources: azurecaf_name, azurerm_cognitive_account
Inputs¶
| Name | Description | Type | Required | Default | Validation |
|---|---|---|---|---|---|
"global_settings" |
"<<DESCRIPTION Global settings object (see module README.md) DESCRIPTION" | any |
yes | - |
- |
"client_config" |
"Client configuration object (see module README.md)." | any |
yes | - |
- |
"location" |
"(Required) Specifies the supported Azure location where to create the resource. Changing this forces a new resource ... | string |
yes | - |
- |
"settings" |
"<<DESCRIPTION The settings object is a map of objects. Each object represents a Cognitive Service Account. The objec... | any |
yes | - |
- |
"remote_objects" |
"<<DESCRIPTION Remote objects is a map of objects. Each object represents a remote object that the Cognitive Service ... | any |
no | {} |
- |
"private_endpoints" |
"A map of objects representing the private endpoints to create." | any |
no | {} |
- |
"base_tags" |
"Base tags for the resource to be inherited from the resource group." | bool |
yes | - |
- |
"resource_group" |
"Resource group object" | any |
yes | - |
- |
"resource_group_name" |
"The name of the resource group in which to create the Cognitive Service Account." | string |
yes | - |
- |
Outputs¶
| Name | Description | Sensitive | Value |
|---|---|---|---|
"id" |
"The ID of the Cognitive Service Account." | - | azurerm_cognitive_account.service.id |
"endpoint" |
"The endpoint used to connect to the Cognitive Service Account." | - | azurerm_cognitive_account.service.endpoint |
"identity" |
"The identity associated with the Cognitive Service Account." | - | azurerm_cognitive_account.service.identity |
"identity_principal_id" |
"The Principal ID associated with the identity of the Cognitive Service Account." | - | try(azurerm_cognitive_account.service.identity[0].principal_id, null) |
"identity_tenant_id" |
"The Tenant ID associated with the identity of the Cognitive Service Account." | - | try(azurerm_cognitive_account.service.identity[0].tenant_id, null) |
"primary_access_key" |
"The primary access key associated with the Cognitive Service Account." | - | azurerm_cognitive_account.service.primary_access_key |
"secondary_access_key" |
"The secondary access key associated with the Cognitive Service Account." | - | azurerm_cognitive_account.service.secondary_access_key |
Sources¶
modules/cognitive_services/cognitive_services_account/cognitive_service_account.tfmodules/cognitive_services/cognitive_services_account/diagnostics.tfmodules/cognitive_services/cognitive_services_account/locals.tfmodules/cognitive_services/cognitive_services_account/main.tfmodules/cognitive_services/cognitive_services_account/managed_identities.tfmodules/cognitive_services/cognitive_services_account/outputs.tfmodules/cognitive_services/cognitive_services_account/private_endpoint.tfmodules/cognitive_services/cognitive_services_account/variables.tf