/terraform-azure-app-configuration

Terraform module for Azure App Configuration

Primary LanguageHCLMIT LicenseMIT

Requirements

Name Version
terraform >= 1.6.3
azurerm 3.100.0

Providers

Name Version
azurerm 3.100.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 Indicates whether local authentication methods are enabled for accessing the App Configuration. Defaults to true. bool true no
app_configuration_name The name of the App Configuration resource. Changing this will force a new resource to be created. string n/a yes
app_configuration_public_network_access Specifies the public network access setting for the App Configuration. Possible values are 'Enabled' and 'Disabled'. string "Enabled" no
app_configuration_purge_protection_enabled Indicates whether Purge Protection is enabled for the App Configuration. This feature is applicable only for the 'standard' SKU. Defaults to false. string "false" no
app_configuration_sku The SKU tier for the App Configuration, which determines the features available. Possible values are 'free' and 'standard'. string "standard" no
app_configuration_soft_delete_retention_days The retention period in days for soft-deleted items in the App Configuration. This feature is applicable only for the 'standard' SKU and can range from 1 to 7 days. Defaults to 7. Changing this will force a new resource to be created. number 7 no
default_tags A mapping of key-value pairs representing tags to assign to the resources, useful for organization and cost tracking. map(any) n/a yes
environment The environment identifier for the backend container name key, used to distinguish between development, testing, and production stages. string "dev" no
region Specifies the geographical region where resources are deployed, impacting latency and compliance. string "weu" no
resource_group_location The geographical location/region where the 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 resources, adhering to naming conventions and uniqueness within the subscription. string n/a yes

Outputs

Name Description
endpoint The URL of the App Configuration.
id The App Configuration ID.
identity An identity block as defined below.
primary_read_key A primary_read_key block as defined below containing the primary read access key.
primary_write_key A primary_write_key block as defined below containing the primary write access key.
secondary_read_key A secondary_read_key block as defined below containing the secondary read access key.
secondary_write_key A secondary_write_key block as defined below containing the secondary write access key.