I'm trying to add values to an Azure App Configuration Store using Bicep. I have an issue where I add a label to a keyValue.
This is my module:
@description('Configuration Store Name')
param configurationStoreName string
@description('key prefix')
param prefix string
@description('key name')
param keyName string
@description('value')
param value string
@description('content type')
param contentType string = 'string'
@description('Deployment Environment')
param deploymentEnvironment string = 'dev'
resource configurationStore 'Microsoft.AppConfiguration/configurationStores@2021-10-01- preview' existing = {
name: configurationStoreName
}
resource configurationStoreValue 'Microsoft.AppConfiguration/configurationStores/keyValues@2021-10-01-preview' = {
name: '${prefix}:${keyName}'
parent: configurationStore
properties: {
contentType: contentType
value: value
tags: {
environment: deploymentEnvironment
}
}
}
There doesn't seem to be any way to add a label, which I want to do to enable filtering.
It can be done when creating KeyValues using the Azure Portal, therefore it should be possible using Bicep.
Am I missing something, or is this missing functionality from Bicep?