You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Is there a better way to be doing this that what is shown off here: https://learn.microsoft.com/en-us/azure/azure-app-configuration/quickstart-bicep?tabs=CLI?
Having to setup 2 array, 1 for config name and 1 for config value, works but feels very bad when dealing with lots of config names/values.
Ideally something like this would work:
var configValues = {
'configName1': 'configValue1',
'configName2': 'configValue2'
}
resource appConfig 'Microsot.AppConfiguration/configurationStores/keyValues@date' = [ for val in configValues: {
name: val.name
properties: {
value: val.val
}
}]
Beta Was this translation helpful? Give feedback.
All reactions