From 856bae9d12241dbd6f8c484c7cb18ae79185d30e Mon Sep 17 00:00:00 2001 From: Marius Date: Thu, 30 Sep 2021 12:05:16 +0200 Subject: [PATCH] fix variable naming to be camelCased --- arm/Microsoft.Consumption/budgets/deploy.bicep | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/arm/Microsoft.Consumption/budgets/deploy.bicep b/arm/Microsoft.Consumption/budgets/deploy.bicep index 094fbc8f65..24efd47c2d 100644 --- a/arm/Microsoft.Consumption/budgets/deploy.bicep +++ b/arm/Microsoft.Consumption/budgets/deploy.bicep @@ -49,7 +49,7 @@ param contactRoles array = [] @description('Optional. List of action group resource IDs that will receive the alert.') param actionGroups array = [] -var budgetName_var = empty(budgetName) ? '${resetPeriod}-${category}-Budget' : budgetName +var budgetNameVar = empty(budgetName) ? '${resetPeriod}-${category}-Budget' : budgetName var notificationsArray = [for threshold in thresholds: { 'Actual_GreaterThan_${threshold}_Percentage': { enabled: true @@ -65,7 +65,7 @@ var notificationsArray = [for threshold in thresholds: { var notifications = json(replace(replace(replace(string(notificationsArray), '[{', '{'), '}]', '}'), '}},{', '},')) resource budget 'Microsoft.Consumption/budgets@2019-05-01' = { - name: budgetName_var + name: budgetNameVar properties: { category: category amount: amount