Azure App Configuration Feature

This page shows how to write Terraform and Azure Resource Manager for App Configuration Feature and write them securely.

azurerm_app_configuration_feature (Terraform)

The Feature in App Configuration can be configured in Terraform with the resource name azurerm_app_configuration_feature. The following sections describe how to use the resource and its parameters.

Example Usage from GitHub

An example could not be found in GitHub.

Review your Terraform file for Azure best practices

Shisho Cloud, our free checker to make sure your Terraform configuration follows best practices, is available (beta).

Parameters

The following arguments are supported:

  • configuration_store_id - (Required) Specifies the id of the App Configuration. Changing this forces a new resource to be created.

  • description - (Optional) The description of the App Configuration Feature.

  • enabled - (Optional) The status of the App Configuration Feature. By default, this is set to false.

  • label - (Optional) The label of the App Configuration Feature. Changing this forces a new resource to be created.

  • locked - (Optional) Should this App Configuration Feature be Locked to prevent changes?

  • name - (Required) The name of the App Configuration Feature. Changing this foces a new resource to be crearted.

  • percentage_filter_value - (Optional) A list of one or more numbers representing the value of the percentage required to enable this feature.

  • tags - (Optional) A mapping of tags to assign to the resource.

  • targeting_filter - (Optional) A targeting_filter block as defined below.

  • timewindow_filter - (Optional) A targeting_filter block timewindow_filter as defined below.


A targeting_filter block represents a feature filter of type Microsoft.Targeting and takes the following attributes:

  • default_rollout_percentage - (Required) A number representing the percentage of the entire user base.

  • groups - (Optional) One or more blocks of type groups as defined below.

  • users - (Optional) A list of users to target for this feature.


A groups block represents a group that can be used in a targeting_filter and takes the following attributes:

  • name - (Required) The name of the group.

  • rollout_percentage - (Required) Rollout percentage of the group.


A timewindow_filter represents a feature filter of type Microsoft.TimeWindow and takes the following attributes:

  • start - (Optional) The earliest timestamp the feature is enabled. The timestamp must be in RFC3339 format.

  • end - (Optional) The latest timestamp the feature is enabled. The timestamp must be in RFC3339 format.


The following attributes are exported:

  • id - The App Configuration Feature ID.

Explanation in Terraform Registry

Manages an Azure App Configuration Feature.

Microsoft.AppConfiguration/configurationStores (Azure Resource Manager)

The configurationStores in Microsoft.AppConfiguration can be configured in Azure Resource Manager with the resource name Microsoft.AppConfiguration/configurationStores. The following sections describe how to use the resource and its parameters.

Example Usage from GitHub

template.json
{
  "contentVersion": "1.0.0.0",
  "parameters": {
    "workbookDisplayName": {
      "type": "string",
template.json
{
  "contentVersion": "1.0.0.0",
  "parameters": {
    "workbookDisplayName": {
      "type": "string",
AzureInventory.json
{
  "$schema": "https://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#",
  "contentVersion": "1.0.0.0",
  "parameters": {
        "workbookName": {
template.json
{
  "contentVersion": "1.0.0.0",
  "parameters": {
    "workbookDisplayName": {
      "type": "string",
template.json
{
  "contentVersion": "1.0.0.0",
  "parameters": {
    "workbookDisplayName": {
      "type": "string",
template.json
{
  "contentVersion": "1.0.0.0",
  "parameters": {
    "workbookDisplayName": {
      "type": "string",
template.json
{
  "contentVersion": "1.0.0.0",
  "parameters": {
    "workbookDisplayName": {
      "type": "string",
dash.json
{
  "contentVersion": "1.0.0.0",
  "parameters": {
    "workbookDisplayName": {
      "type": "string",
template.json
{
  "contentVersion": "1.0.0.0",
  "parameters": {
    "workbookDisplayName": {
      "type": "string",

Parameters

  • apiVersion required - string
  • identity optional
      • type optional - string

        The type of managed identity used. The type 'SystemAssigned, UserAssigned' includes both an implicitly created identity and a set of user-assigned identities. The type 'None' will remove any identities.

      • userAssignedIdentities optional - undefined

        The list of user-assigned identities associated with the resource. The user-assigned identity dictionary keys will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'.

  • location required - string

    The location of the resource. This cannot be changed after the resource is created.

  • name required - string

    The name of the configuration store.

  • properties required
      • encryption optional
          • keyVaultProperties optional
              • identityClientId optional - string

                The client id of the identity which will be used to access key vault.

              • keyIdentifier optional - string

                The URI of the key vault key used to encrypt data.

      • publicNetworkAccess optional - string

        Control permission for data plane traffic coming from public networks while private endpoint is enabled.

  • sku required
      • name required - string

        The SKU name of the configuration store.

  • tags optional - string

    The tags of the resource.

  • type required - string

Frequently asked questions

What is Azure App Configuration Feature?

Azure App Configuration Feature is a resource for App Configuration of Microsoft Azure. Settings can be wrote in Terraform.