Skip to content

Commit

Permalink
Merge pull request Azure-Samples#124 from jovanpop-msft/master
Browse files Browse the repository at this point in the history
Adding workspace container
  • Loading branch information
jovanpop-msft authored Nov 12, 2021
2 parents 5622756 + b28359d commit a6623f4
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 3 deletions.
4 changes: 3 additions & 1 deletion Manage/DeployWorkspace/azuredeploy.json
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,8 @@
"contentVersion": "1.0.0.0"
},
"parameters":{
"storageAccount":{"value": "[replace(parameters('name'),'-','')]"}
"storageAccount":{"value": "[replace(parameters('name'),'-','')]"},
"workspaceContainer":{"value": "[parameters('name')]"}
}
}
},
Expand All @@ -66,6 +67,7 @@
"sqlAdministratorLogin":{"value": "[parameters('sqlAdministratorLogin')]"},
"sqlAdministratorPassword":{"value": "[parameters('sqlAdministratorPassword')]"},
"defaultDataLakeStorageAccountName":{"value": "[replace(parameters('name'),'-','')]"},
"defaultDataLakeStorageFilesystemName":{"value": "[parameters('name')]"},
"tagValues":{"value": "[parameters('tagValues')]"},
"encryption":{"value": "[variables('encryption')]"}
}
Expand Down
7 changes: 5 additions & 2 deletions Manage/DeployWorkspace/storage/azuredeploy.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,9 @@
"parameters": {
"storageAccount": {
"type": "string"
},
"workspaceContainer": {
"type": "string"
}
},
"variables": {},
Expand Down Expand Up @@ -64,7 +67,7 @@
{
"type": "Microsoft.Storage/storageAccounts/blobServices/containers",
"apiVersion": "2019-04-01",
"name": "[concat(parameters('storageAccount'), '/default/workspace')]",
"name": "[concat(parameters('storageAccount'), '/default/', parameters('workspaceContainer'))]",
"dependsOn": [
"[resourceId('Microsoft.Storage/storageAccounts/blobServices', parameters('storageAccount'), 'default')]",
"[resourceId('Microsoft.Storage/storageAccounts', parameters('storageAccount'))]"
Expand All @@ -74,4 +77,4 @@
}
}
]
}
}

0 comments on commit a6623f4

Please sign in to comment.