Skip to content

Commit 5bba223

Browse files
updated bicep
1 parent e10c7ab commit 5bba223

3 files changed

Lines changed: 18 additions & 2 deletions

File tree

infra/deploy_keyvault.bicep

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
@minLength(3)
2+
@maxLength(15)
3+
@description('Solution Name')
4+
param solutionName string
15
param solutionLocation string
26
param managedIdentityObjectId string
37

infra/main.bicep

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -149,6 +149,7 @@ module kvault 'deploy_keyvault.bicep' = {
149149
name: 'deploy_keyvault'
150150
params: {
151151
keyvaultName: '${abbrs.security.keyVault}${ResourcePrefix}'
152+
solutionName: ResourcePrefix
152153
solutionLocation: solutionLocation
153154
managedIdentityObjectId:managedIdentityModule.outputs.managedIdentityOutput.objectId
154155
}

infra/main.json

Lines changed: 13 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
"_generator": {
66
"name": "bicep",
77
"version": "0.35.1.17967",
8-
"templateHash": "579302863923783953"
8+
"templateHash": "17669563175804664564"
99
}
1010
},
1111
"parameters": {
@@ -793,6 +793,9 @@
793793
"keyvaultName": {
794794
"value": "[format('{0}{1}', variables('abbrs').security.keyVault, variables('ResourcePrefix'))]"
795795
},
796+
"solutionName": {
797+
"value": "[variables('ResourcePrefix')]"
798+
},
796799
"solutionLocation": {
797800
"value": "[parameters('solutionLocation')]"
798801
},
@@ -807,10 +810,18 @@
807810
"_generator": {
808811
"name": "bicep",
809812
"version": "0.35.1.17967",
810-
"templateHash": "1503106947863889964"
813+
"templateHash": "14711167186840027914"
811814
}
812815
},
813816
"parameters": {
817+
"solutionName": {
818+
"type": "string",
819+
"minLength": 3,
820+
"maxLength": 15,
821+
"metadata": {
822+
"description": "Solution Name"
823+
}
824+
},
814825
"solutionLocation": {
815826
"type": "string"
816827
},

0 commit comments

Comments
 (0)