Skip to content

Commit

Permalink
Rebuild ARM templates
Browse files Browse the repository at this point in the history
  • Loading branch information
luxu-ms committed Apr 26, 2024
1 parent 0f82cfa commit 973f2ee
Showing 1 changed file with 5 additions and 25 deletions.
30 changes: 5 additions & 25 deletions Environments/Todo-Mongo-AKS-LA/azuredeploy.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,18 +5,10 @@
"_generator": {
"name": "bicep",
"version": "0.26.170.59819",
"templateHash": "16300934613283283194"
"templateHash": "6446845623446854055"
}
},
"parameters": {
"environmentName": {
"type": "string",
"minLength": 1,
"maxLength": 64,
"metadata": {
"description": "Name of the the environment which is used to generate a short unique hash used in all resources."
}
},
"location": {
"type": "string",
"defaultValue": "[resourceGroup().location]",
Expand Down Expand Up @@ -198,10 +190,7 @@
},
"sharedAKSResourceGroup": "[format('{0}-{1}', parameters('sharedAKSProjectName'), parameters('sharedAKSEnvironmentName'))]",
"abbrs": "[variables('$fxv#0')]",
"resourceToken": "[toLower(uniqueString(subscription().id, parameters('environmentName'), parameters('location')))]",
"tags": {
"azd-env-name": "[parameters('environmentName')]"
}
"resourceToken": "[toLower(uniqueString(subscription().id, resourceGroup().id, parameters('location')))]"
},
"resources": [
{
Expand All @@ -219,8 +208,7 @@
"name": "[format('{0}/{1}', if(not(empty(parameters('configStoreName'))), parameters('configStoreName'), format('{0}{1}', variables('abbrs').appConfigurationConfigurationStores, variables('resourceToken'))), 'AZURE_COSMOS_CONNECTION_STRING_KEY')]",
"properties": {
"value": "[reference(resourceId('Microsoft.Resources/deployments', 'cosmos'), '2022-09-01').outputs.connectionStringKey.value]",
"contentType": "[parameters('contentType')]",
"tags": "[variables('tags')]"
"contentType": "[parameters('contentType')]"
},
"dependsOn": [
"[resourceId('Microsoft.AppConfiguration/configurationStores', if(not(empty(parameters('configStoreName'))), parameters('configStoreName'), format('{0}{1}', variables('abbrs').appConfigurationConfigurationStores, variables('resourceToken'))))]",
Expand All @@ -233,8 +221,7 @@
"name": "[format('{0}/{1}', if(not(empty(parameters('configStoreName'))), parameters('configStoreName'), format('{0}{1}', variables('abbrs').appConfigurationConfigurationStores, variables('resourceToken'))), 'AZURE_COSMOS_DATABASE_NAME')]",
"properties": {
"value": "[reference(resourceId('Microsoft.Resources/deployments', 'cosmos'), '2022-09-01').outputs.databaseName.value]",
"contentType": "[parameters('contentType')]",
"tags": "[variables('tags')]"
"contentType": "[parameters('contentType')]"
},
"dependsOn": [
"[resourceId('Microsoft.AppConfiguration/configurationStores', if(not(empty(parameters('configStoreName'))), parameters('configStoreName'), format('{0}{1}', variables('abbrs').appConfigurationConfigurationStores, variables('resourceToken'))))]",
Expand All @@ -247,8 +234,7 @@
"name": "[format('{0}/{1}', if(not(empty(parameters('configStoreName'))), parameters('configStoreName'), format('{0}{1}', variables('abbrs').appConfigurationConfigurationStores, variables('resourceToken'))), 'AZURE_KEY_VAULT_ENDPOINT')]",
"properties": {
"value": "[reference(resourceId('Microsoft.Resources/deployments', 'keyvault'), '2022-09-01').outputs.endpoint.value]",
"contentType": "[parameters('contentType')]",
"tags": "[variables('tags')]"
"contentType": "[parameters('contentType')]"
},
"dependsOn": [
"[resourceId('Microsoft.AppConfiguration/configurationStores', if(not(empty(parameters('configStoreName'))), parameters('configStoreName'), format('{0}{1}', variables('abbrs').appConfigurationConfigurationStores, variables('resourceToken'))))]",
Expand All @@ -269,9 +255,6 @@
"location": {
"value": "[parameters('location')]"
},
"tags": {
"value": "[variables('tags')]"
},
"principalId": {
"value": "[parameters('principalId')]"
}
Expand Down Expand Up @@ -645,9 +628,6 @@
"location": {
"value": "[parameters('location')]"
},
"tags": {
"value": "[variables('tags')]"
},
"keyVaultName": {
"value": "[reference(resourceId('Microsoft.Resources/deployments', 'keyvault'), '2022-09-01').outputs.name.value]"
}
Expand Down

0 comments on commit 973f2ee

Please sign in to comment.