/cog-az-tf

Terraform module to deploy a Cognitive Service

Primary LanguageHCLApache License 2.0Apache-2.0

Requirements

No requirements.

Providers

Name Version
azurerm 3.69.0

Modules

No modules.

Resources

Name Type
azurerm_cognitive_account.cognitive_service resource
azurerm_monitor_diagnostic_setting.cognitive_service resource
azurerm_private_endpoint.private_endpoint resource
azurerm_monitor_diagnostic_categories.default data source

Inputs

Name Description Type Default Required
custom_subdomain_name Custom name of subdomain of endpoint. string n/a yes
deployment_environment Deployment environment for the host of this cognitive service. string n/a yes
diagnostics Diagnostic settings for those resources that support it.
object({
log_analytics_id = string,
logs = list(string),
metrics = list(string)
})
null no
enable_private_endpoint Create private endpoint for Cognitive Resource. bool false no
kind Kind of Azure Cognitive Service to be created. string n/a yes
location The Azure Region where the Cognitive Service should exist. string "westeurope" no
network_acls_subnet_id ID of the subnet that the private endpoint should allow access from. string null no
private_dns_zone_resource_group_id Resource group of the Private Link DNS zone to be used for the Cognitive Service endpoint. string "/subscriptions/02e2f460-09b1-490f-bbbc-1643413ca5b4/resourceGroups/nw-hub-pep-pdns-rg-001" no
private_endpoint_subnet_id The ID of the Subnet from which Private IP Addresses will be allocated for this Private Endpoint, i.e. a subnet dedicated to the private endpoint. string null no
public_network_access_enabled Allow public access. bool false no
purpose Name of the app or function of the host for which this cognitive service is created. string n/a yes
resource_group_name The name of the Resource Group where the Cognitive Service should exist. string n/a yes
sku The pricing tier of the search service you want to create (for example, basic or standard). string "S0" no
subscription_alias Alias of the subscription in which the host resource for this cognitive service exists. string n/a yes
tags A map of tags to add to the Cognitive Services resource map(string) {} no
unique_identifier An optional unique identifier (if needed) for the name of this cognitive service. string n/a yes

Outputs

Name Description
cog The Cognitive Service Object.
id The ID of the Cognitive Service
name The name of the Cognitive Service
private_dns_zone_id Private DNS Zone id.
private_endpoint_name Private link endpoint name.