Skip to content

Commit b875d92

Browse files
committed
fix: update Microsoft.Storage/storageAccounts API version 2023-05-01 → 2025-06-01
ARM-TTK apiVersions rule requires API versions <730 days old. Updated Storage Account resource (line 102) and listKeys reference (line 176).
1 parent f978e0f commit b875d92

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Solutions/TacitRed-Defender-ThreatIntelligence/Package/mainTemplate.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@
9999
"resources": [
100100
{
101101
"type": "Microsoft.Storage/storageAccounts",
102-
"apiVersion": "2023-05-01",
102+
"apiVersion": "2025-06-01",
103103
"name": "[[variables('storageAccountName')]",
104104
"location": "[[variables('workspace-location-inline')]",
105105
"sku": {
@@ -173,7 +173,7 @@
173173
"appSettings": [
174174
{
175175
"name": "AzureWebJobsStorage",
176-
"value": "[[concat('DefaultEndpointsProtocol=https;AccountName=', variables('storageAccountName'), ';EndpointSuffix=', environment().suffixes.storage, ';AccountKey=',listKeys(resourceId('Microsoft.Storage/storageAccounts', variables('storageAccountName')), '2023-05-01').keys[0].value)]"
176+
"value": "[[concat('DefaultEndpointsProtocol=https;AccountName=', variables('storageAccountName'), ';EndpointSuffix=', environment().suffixes.storage, ';AccountKey=',listKeys(resourceId('Microsoft.Storage/storageAccounts', variables('storageAccountName')), '2025-06-01').keys[0].value)]"
177177
},
178178
{
179179
"name": "FUNCTIONS_EXTENSION_VERSION",

0 commit comments

Comments
 (0)