Skip to content

Commit

Permalink
Harden Azure resource (#225)
Browse files Browse the repository at this point in the history
  • Loading branch information
giuliov committed Dec 12, 2020
1 parent c1bc1cf commit 7db73ec
Showing 1 changed file with 9 additions and 5 deletions.
14 changes: 9 additions & 5 deletions src/aggregator-cli/Instances/instance-template.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"$schema": "https://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#",
"$schema": "https://schema.management.azure.com/schemas/2019-04-01/deploymentTemplate.json#",
"contentVersion": "1.0.0.0",
"parameters": {
"functionAppName": {
Expand Down Expand Up @@ -84,12 +84,15 @@
{
"type": "Microsoft.Storage/storageAccounts",
"name": "[parameters('storageAccountName')]",
"apiVersion": "2016-12-01",
"apiVersion": "2019-06-01",
"location": "[parameters('webLocation')]",
"kind": "Storage",
"sku": {
"name": "[parameters('storageAccountType')]"
},
"properties": {
"supportsHttpsTrafficOnly": true
},
"tags": {
"aggregatorVersion": "[parameters('aggregatorVersion')]"
}
Expand All @@ -111,7 +114,7 @@
},
{
"type": "Microsoft.Web/serverfarms",
"apiVersion": "2016-09-01",
"apiVersion": "2019-08-01",
"name": "[parameters('hostingPlanName')]",
"location": "[parameters('webLocation')]",
"properties": {
Expand All @@ -125,7 +128,7 @@
}
},
{
"apiVersion": "2015-08-01",
"apiVersion": "2019-08-01",
"type": "Microsoft.Web/sites",
"name": "[parameters('functionAppName')]",
"location": "[parameters('webLocation')]",
Expand Down Expand Up @@ -195,7 +198,8 @@
"value": "Files"
}
]
}
},
"httpsOnly": true
}
}
]
Expand Down

0 comments on commit 7db73ec

Please sign in to comment.