Skip to content

databases/app_config

Overview

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

Dependency diagram (Mermaid)

graph TD azurecaf_name.app_config["azurecaf_name.app_config"] azurerm_app_configuration.config["azurerm_app_configuration.config"] module.compute_instance["module.compute_instance"] module.private_endpoint["module.private_endpoint"] azurerm_app_configuration.config --> azurecaf_name.app_config module.compute_instance --> azurecaf_name.app_config module.compute_instance --> azurerm_app_configuration.config module.private_endpoint --> azurerm_app_configuration.config

Module Reference

Category: databases
Path: modules/databases/app_config
Azure Resources: azurecaf_name, azurerm_app_configuration

Inputs

Name Description Type Required Default Validation
settings The settings for the Azure resource. any yes - -
global_settings Global settings object (see module README.md) any yes - -
location location of the resource if different from the resource group. string no - -
resource_group_name Resource group object to deploy the Azure resource string no - -
resource_group Resource group object to deploy the Azure resource any yes - -
base_tags Base tags for the resource to be inherited from the resource group. bool yes - -
name (Required) Name of the App Config string yes - -
combined_objects Combined objects for the resource. map(any) no {} -
client_config Client configuration object (see module README.md). any yes - -
vnets Virtual networks for the resource. map(any) no {} -
private_dns Private DNS settings for the resource. map(any) no {} -

Outputs

Name Description Sensitive Value
id The ID of the App Config. - azurerm_app_configuration.config.id
endpoint The URL of the App Configuration. - azurerm_app_configuration.config.endpoint
identity The managed service identity object. - try(azurerm_app_configuration.config.identity, null)
rbac_id The rbac_id of the App Config for role assignments. - try(azurerm_app_configuration.config.identity[0].principal_id, null)

Sources

  • modules/databases/app_config/app_config.tf
  • modules/databases/app_config/dynamic_settings.tf
  • modules/databases/app_config/local.dynamic_settings.tf
  • modules/databases/app_config/locals.tf
  • modules/databases/app_config/main.tf
  • modules/databases/app_config/outputs.tf
  • modules/databases/app_config/private_endpoints.tf
  • modules/databases/app_config/variables.tf