Skip to content

Commit

Permalink
Set min tls version for search+storage live tests
Browse files Browse the repository at this point in the history
  • Loading branch information
benbp committed Oct 24, 2023
1 parent 0641744 commit ae64886
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 12 deletions.
5 changes: 3 additions & 2 deletions sdk/search/test-resources.json
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@
"usgovarizona"
],
"storageAccountName": "[concat(parameters('baseName'), 'stg')]",
"storageApiVersion": "2019-06-01",
"storageApiVersion": "2022-05-01",
"cognitiveServicesAccountName": "[concat(parameters('baseName'), 'cog')]",
"cognitiveServicesApiVersion": "2017-04-18",
"keyVaultName": "[concat(parameters('baseName'), 'kv')]",
Expand Down Expand Up @@ -111,7 +111,8 @@
"location": "[parameters('location')]",
"properties": {
"accessTier": "Hot",
"supportsHttpsTrafficOnly": true
"supportsHttpsTrafficOnly": true,
"minimumTlsVersion": "TLS1_2"
},
"sku": {
"name": "Standard_LRS"
Expand Down
28 changes: 18 additions & 10 deletions sdk/storage/test-resources.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
},
"variables": {
"computeApiVersion": "2019-12-01",
"mgmtApiVersion": "2019-06-01",
"mgmtApiVersion": "2022-05-01",
"keyvaultApiVersion": "2016-10-01",
"authorizationApiVersion": "2018-09-01-preview",
"blobDataContributorRoleId": "[concat('/subscriptions/', subscription().subscriptionId, '/providers/Microsoft.Authorization/roleDefinitions/ba92f5b4-2d11-453d-a403-e96b0029c9fe')]",
Expand Down Expand Up @@ -113,7 +113,8 @@
"networkAcls": "[variables('networkAcls')]",
"supportsHttpsTrafficOnly": true,
"encryption": "[variables('encryption')]",
"accessTier": "Hot"
"accessTier": "Hot",
"minimumTlsVersion": "TLS1_2"
}
},
{
Expand Down Expand Up @@ -161,7 +162,8 @@
"networkAcls": "[variables('networkAcls')]",
"supportsHttpsTrafficOnly": true,
"encryption": "[variables('encryption')]",
"accessTier": "Hot"
"accessTier": "Hot",
"minimumTlsVersion": "TLS1_2"
}
},
{
Expand All @@ -178,7 +180,8 @@
"networkAcls": "[variables('networkAcls')]",
"supportsHttpsTrafficOnly": true,
"encryption": "[variables('encryption')]",
"accessTier": "Hot"
"accessTier": "Hot",
"minimumTlsVersion": "TLS1_2"
}
},
{
Expand All @@ -196,7 +199,8 @@
"networkAcls": "[variables('networkAcls')]",
"supportsHttpsTrafficOnly": true,
"encryption": "[variables('encryption')]",
"accessTier": "Hot"
"accessTier": "Hot",
"minimumTlsVersion": "TLS1_2"
}
},
{
Expand Down Expand Up @@ -239,7 +243,8 @@
"networkAcls": "[variables('networkAcls')]",
"supportsHttpsTrafficOnly": true,
"encryption": "[variables('encryption')]",
"accessTier": "Hot"
"accessTier": "Hot",
"minimumTlsVersion": "TLS1_2"
}
},
{
Expand Down Expand Up @@ -288,7 +293,8 @@
"networkAcls": "[variables('networkAcls')]",
"supportsHttpsTrafficOnly": true,
"encryption": "[variables('encryption')]",
"accessTier": "Hot"
"accessTier": "Hot",
"minimumTlsVersion": "TLS1_2"
}
},
{
Expand All @@ -305,7 +311,8 @@
"networkAcls": "[variables('networkAcls')]",
"supportsHttpsTrafficOnly": true,
"encryption": "[variables('encryption')]",
"accessTier": "Hot"
"accessTier": "Hot",
"minimumTlsVersion": "TLS1_2"
}
},
{
Expand All @@ -322,7 +329,8 @@
"networkAcls": "[variables('networkAcls')]",
"supportsHttpsTrafficOnly": true,
"encryption": "[variables('encryption')]",
"accessTier": "Hot"
"accessTier": "Hot",
"minimumTlsVersion": "TLS1_2"
}
},
{
Expand Down Expand Up @@ -694,4 +702,4 @@
"value": "[variables('location')]"
}
}
}
}

0 comments on commit ae64886

Please sign in to comment.