Skip to content

Commit

Permalink
Modifying the name of the resource
Browse files Browse the repository at this point in the history
  • Loading branch information
vijayrkn committed Jun 25, 2020
1 parent 2755fb7 commit 418ed79
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"parameters": {
"resourceGroupName": {
"type": "string",
"defaultValue": "covidScreeningApi",
"defaultValue": "covidscreeningrg",
"metadata": {
"_parameterType": "resourceGroup",
"description": "Name of the resource group for the resource. It is recommended to put resources under same resource group for better tracking."
Expand Down Expand Up @@ -36,7 +36,7 @@
},
{
"type": "Microsoft.Resources/deployments",
"name": "[concat(parameters('resourceGroupName'), 'Deployment', uniqueString(concat('covidScreeningApi', subscription().subscriptionId)))]",
"name": "[concat(parameters('resourceGroupName'), 'Deployment', uniqueString(concat('covid-screening-api', subscription().subscriptionId)))]",
"resourceGroup": "[parameters('resourceGroupName')]",
"apiVersion": "2019-10-01",
"dependsOn": [
Expand All @@ -49,7 +49,7 @@
"contentVersion": "1.0.0.0",
"resources": [
{
"name": "covidScreeningApi",
"name": "covid-screening-api",
"location": "[parameters('resourceLocation')]",
"type": "Microsoft.DocumentDB/databaseAccounts",
"kind": "GlobalDocumentDB",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"type": "secrets.user"
},
"cosmosdb1": {
"resourceId": "/subscriptions/[parameters('subscriptionId')]/resourceGroups/[parameters('resourceGroupName')]/providers/Microsoft.DocumentDB/databaseAccounts/covidScreeningApi",
"resourceId": "/subscriptions/[parameters('subscriptionId')]/resourceGroups/[parameters('resourceGroupName')]/providers/Microsoft.DocumentDB/databaseAccounts/covid-screening-api",
"type": "cosmosdb.azure",
"connectionId": "CosmosDbConnectionString",
"secretStore": "LocalSecretsFile"
Expand Down

0 comments on commit 418ed79

Please sign in to comment.