Skip to content

Commit

Permalink
Bug fixed missed name convention for app configuration.
Browse files Browse the repository at this point in the history
  • Loading branch information
danielscholl committed Apr 26, 2024
1 parent 4a3ebdb commit 262825b
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions azuredeploy.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"_generator": {
"name": "bicep",
"version": "0.26.170.59819",
"templateHash": "3854446754092335363"
"templateHash": "10416940666917304104"
}
},
"parameters": {
Expand Down Expand Up @@ -25004,7 +25004,7 @@
"_generator": {
"name": "bicep",
"version": "0.26.170.59819",
"templateHash": "14108948775829244242"
"templateHash": "10956132890371012251"
}
},
"definitions": {
Expand Down Expand Up @@ -30064,7 +30064,7 @@
"_generator": {
"name": "bicep",
"version": "0.26.170.59819",
"templateHash": "13319486303990973389"
"templateHash": "18284416707479368009"
},
"name": "App Configuration",
"description": "This module deploys an App Configuration.",
Expand Down Expand Up @@ -30275,7 +30275,7 @@
}
}
],
"name": "[format('ac-{0}{1}', replace(parameters('resourceName'), '-', ''), uniqueString(resourceGroup().id, parameters('resourceName')))]",
"name": "[format('{0}{1}', replace(parameters('resourceName'), '-', ''), uniqueString(resourceGroup().id, parameters('resourceName')))]",
"enableCMEK": "[if(and(and(not(empty(parameters('cmekConfiguration').kvUrl)), not(empty(parameters('cmekConfiguration').keyName))), not(empty(parameters('cmekConfiguration').identityId))), true(), false())]",
"identityType": "[if(parameters('systemAssignedIdentity'), 'SystemAssigned', if(not(empty(parameters('userAssignedIdentities'))), 'UserAssigned', 'None'))]",
"enablePrivateLink": "[and(not(equals(parameters('privateLinkSettings').vnetId, '1')), not(equals(parameters('privateLinkSettings').subnetId, '1')))]",
Expand Down
2 changes: 1 addition & 1 deletion bicep/modules/app-configuration/main.bicep
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ param cmekConfiguration object = {
}


var name = 'ac-${replace(resourceName, '-', '')}${uniqueString(resourceGroup().id, resourceName)}'
var name = '${replace(resourceName, '-', '')}${uniqueString(resourceGroup().id, resourceName)}'

var enableCMEK = !empty(cmekConfiguration.kvUrl) && !empty(cmekConfiguration.keyName) && !empty(cmekConfiguration.identityId) ? true : false

Expand Down

0 comments on commit 262825b

Please sign in to comment.