Skip to content

Think-Cube/terraform-azure-app-configuration

Repository files navigation

Requirements

Name Version
terraform >= 1.6.3
azurerm 4.14.0

Providers

Name Version
azurerm 4.14.0

Modules

No modules.

Resources

Name Type
azurerm_app_configuration.main resource
azurerm_client_config.current data source
azurerm_resource_group.rg data source

Inputs

Name Description Type Default Required
app_configuration_local_auth_enabled Whether local authentication methods are enabled for the App Configuration. Defaults to true. bool true no
app_configuration_name The name of the Azure App Configuration resource. Changing this forces a new resource to be created. string n/a yes
app_configuration_public_network_access The Public Network Access setting for the App Configuration. Possible values are 'Enabled' and 'Disabled'. string "Enabled" no
app_configuration_purge_protection_enabled Whether Purge Protection is enabled for the App Configuration. This only works for the standard SKU. Defaults to false. string "false" no
app_configuration_sku The SKU for the App Configuration resource. Possible values are 'free' and 'standard'. string "standard" no
app_configuration_soft_delete_retention_days The number of days to retain soft-deleted items. Only works for the standard SKU, and can be between 1 and 7 days. Defaults to 7 days. Changing this forces a new resource to be created. number 7 no
create_identity Boolean flag to determine if a managed identity should be created for the App Configuration. bool false no
default_tags A mapping of tags to assign to the resource, useful for categorizing and managing resources. map(any) n/a yes
environment The environment identifier used for naming the backend container (e.g., dev, prod). string "dev" no
identity_type The type of managed identity to assign. Possible values are 'SystemAssigned' and 'UserAssigned'. string "SystemAssigned" no
region The Azure region in which the App Configuration resource is deployed. string "weu" no
resource_group_location The location/region where the App Configuration resource group is created. Changing this forces a new resource to be created. string "West Europe" no
resource_group_name The name of the resource group in which to create the App Configuration resource. string n/a yes

Outputs

Name Description
endpoint The URL endpoint for accessing the Azure App Configuration instance.
id The unique identifier for the Azure App Configuration instance.
identity The identity block containing the managed identity details associated with the Azure App Configuration instance.
primary_read_key The primary read access key for the Azure App Configuration instance, which allows reading configuration data.
primary_write_key The primary write access key for the Azure App Configuration instance, which allows writing configuration data.
secondary_read_key The secondary read access key for the Azure App Configuration instance, which can be used to read configuration data.
secondary_write_key The secondary write access key for the Azure App Configuration instance, which can be used to write configuration data.