diff --git a/.automation/test/arm/README.md b/.automation/test/arm/README.md index e28d398a..08354610 100644 --- a/.automation/test/arm/README.md +++ b/.automation/test/arm/README.md @@ -4,7 +4,7 @@ This folder holds the test cases for **Azure Resource Manager (ARM)**. ## Additional Docs -No Additional information is needed for this test case. +Note: apiVersions older than 2 years (730 days) are treated as errors by the ARM linter if there is a newer version available. ## Good Test Cases diff --git a/.automation/test/arm/arm_bad_1.json b/.automation/test/arm/arm_bad_1.json index ded8762b..d642c602 100644 --- a/.automation/test/arm/arm_bad_1.json +++ b/.automation/test/arm/arm_bad_1.json @@ -31,7 +31,7 @@ { "name": "[variables('Network.Name')]", "type": "Microsoft.Network/virtualNetworks", - "apiVersion": "2021-05-01", + "apiVersion": "2022-09-01", "tags": "[variables('Network.Tags')]", "properties": { "addressSpace": { diff --git a/.automation/test/arm/arm_good_1.json b/.automation/test/arm/arm_good_1.json index 8444b5b9..3f011abf 100644 --- a/.automation/test/arm/arm_good_1.json +++ b/.automation/test/arm/arm_good_1.json @@ -22,7 +22,7 @@ "resources": [ { "type": "Microsoft.Storage/storageAccounts", - "apiVersion": "2021-05-01", + "apiVersion": "2022-09-01", "name": "[concat('store', uniquestring(resourceGroup().id))]", "location": "[parameters('location')]", "kind": "StorageV2",