Skip to content

Commit 6601f4a

Browse files
committed
Merge branch 'develop' into gov-cloud-support-log-integrations-2
2 parents b993cb2 + 05bec75 commit 6601f4a

File tree

2 files changed

+34
-4
lines changed

2 files changed

+34
-4
lines changed

arm-template-deployment/deployRGParent.json

+23-1
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,23 @@
8787
"description": "Enable Activity logs to be sent to the event hub that will get created in this deployment"
8888
},
8989
"defaultValue": "Yes"
90+
},
91+
"TLSVersionStorageAccount": {
92+
"type": "string",
93+
"defaultValue": "1_2",
94+
"metadata": {
95+
"description": "Provide an appropriate TLS version for storage account. Format - X_X"
96+
}
97+
},
98+
"TLSVersionFunctionApp": {
99+
"type": "string",
100+
"defaultValue": "1.3",
101+
"metadata": {
102+
"description": "Provide an appropriate TLS version for function app. Format - X.X"
103+
}
90104
}
105+
106+
91107
},
92108
"resources": [
93109
{
@@ -141,8 +157,14 @@
141157
"Include_Metadata_keys": {
142158
"value": "[parameters('Include_Metadata_keys')]"
143159
},
144-
"LM_Tenant_Id": {
160+
"LM_Tenant_Id" : {
145161
"value": "[parameters('LM_Tenant_Id')]"
162+
},
163+
"TLSVersionStorageAccount": {
164+
"value": "[parameters('TLSVersionStorageAccount')]"
165+
},
166+
"TLSVersionFunctionApp": {
167+
"value": "[parameters('TLSVersionFunctionApp')]"
146168
}
147169
}
148170
},

arm-template-deployment/deployResourcesInRG.json

+11-3
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,12 @@
3434
},
3535
"LM_Domain_Name": {
3636
"type": "string"
37+
},
38+
"TLSVersionStorageAccount" : {
39+
"type" : "string"
40+
},
41+
"TLSVersionFunctionApp" : {
42+
"type" : "string"
3743
}
3844
},
3945
"variables": {
@@ -46,7 +52,8 @@
4652
"functionServerfarms": "[concat(variables('eventhubNamespace'),'-service-plan')]",
4753
"listener": "listener",
4854
"sender": "sender",
49-
"lm_auth": "[concat('{ \"LM_ACCESS_ID\" : \"',parameters('LM_Access_Id'),'\", \"LM_ACCESS_KEY\" : \"', parameters('LM_Access_Key'), '\", \"LM_BEARER_TOKEN\" : \"', parameters('LM_Bearer_Token'), '\" }')]"
55+
"lm_auth": "[concat('{ \"LM_ACCESS_ID\" : \"',parameters('LM_Access_Id'),'\", \"LM_ACCESS_KEY\" : \"', parameters('LM_Access_Key'), '\", \"LM_BEARER_TOKEN\" : \"', parameters('LM_Bearer_Token'), '\" }')]",
56+
"tlsVersionStorageAccount" : "[concat('TLS',parameters('TLSVersionStorageAccount'))]"
5057
},
5158
"resources": [
5259
{
@@ -74,7 +81,7 @@
7481
"apiVersion": "2019-06-01",
7582
"location": "[resourceGroup().location]",
7683
"properties": {
77-
"minimumTlsVersion": "TLS1_2",
84+
"minimumTlsVersion": "[variables('tlsVersionStorageAccount')]",
7885
"encryption": {
7986
"services": {
8087
"file": {
@@ -209,7 +216,8 @@
209216
"name": "LM_DOMAIN_NAME",
210217
"value": "[parameters('LM_Domain_Name')]"
211218
}
212-
]
219+
],
220+
"minTlsVersion" : "[parameters('TLSVersionFunctionApp')]"
213221
}
214222
},
215223
"dependsOn": [

0 commit comments

Comments
 (0)