Skip to content

Commit

Permalink
another fix
Browse files Browse the repository at this point in the history
  • Loading branch information
markjbrown committed Apr 29, 2019
1 parent f8d4086 commit 80b7cb7
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions 101-cosmosdb-cassandra/azuredeploy.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"parameters": {
"accountName": {
"type": "string",
"defaultValue": "[uniqueString(resourceGroup().id)]",
"defaultValue": "[concat('cassandra-', uniqueString(resourceGroup().id))]",
"metadata": {
"description": "Cosmos DB account name"
}
Expand Down Expand Up @@ -136,7 +136,7 @@
{
"type": "Microsoft.DocumentDB/databaseAccounts",
"name": "[variables('accountName')]",
"apiVersion": "2015-04-08",
"apiVersion": "2016-03-31",
"location": "[parameters('location')]",
"tags": {},
"kind": "GlobalDocumentDB",
Expand All @@ -152,7 +152,7 @@
{
"type": "Microsoft.DocumentDB/databaseAccounts/apis/keyspaces",
"name": "[concat(variables('accountName'), '/cassandra/', parameters('keyspaceName'))]",
"apiVersion": "2015-04-08",
"apiVersion": "2016-03-31",
"dependsOn": [ "[resourceId('Microsoft.DocumentDB/databaseAccounts/', variables('accountName'))]" ],
"properties":{
"resource":{
Expand All @@ -164,7 +164,7 @@
{
"type": "Microsoft.DocumentDb/databaseAccounts/apis/keyspaces/tables",
"name": "[concat(variables('accountName'), '/cassandra/', parameters('keyspaceName'), '/', parameters('table1Name'))]",
"apiVersion": "2015-04-08",
"apiVersion": "2016-03-31",
"dependsOn": [ "[resourceId('Microsoft.DocumentDB/databaseAccounts/apis/keyspaces', variables('accountName'), 'cassandra', parameters('keyspaceName'))]" ],
"properties":
{
Expand All @@ -191,7 +191,7 @@
{
"type": "Microsoft.DocumentDb/databaseAccounts/apis/keyspaces/tables",
"name": "[concat(variables('accountName'), '/cassandra/', parameters('keyspaceName'), '/', parameters('table2Name'))]",
"apiVersion": "2015-04-08",
"apiVersion": "2016-03-31",
"dependsOn": [ "[resourceId('Microsoft.DocumentDB/databaseAccounts/apis/keyspaces', variables('accountName'), 'cassandra', parameters('keyspaceName'))]" ],
"properties":
{
Expand Down

0 comments on commit 80b7cb7

Please sign in to comment.