mirror of
https://github.com/super-linter/super-linter.git
synced 2024-11-25 10:10:56 -05:00
Updates ARM template API version (#4188)
API versions older than 2 years are treated as errors by the ARM linter.
This commit is contained in:
parent
e048fe4f46
commit
292ddeab56
3 changed files with 3 additions and 3 deletions
|
@ -4,7 +4,7 @@ This folder holds the test cases for **Azure Resource Manager (ARM)**.
|
||||||
|
|
||||||
## Additional Docs
|
## 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
|
## Good Test Cases
|
||||||
|
|
||||||
|
|
|
@ -31,7 +31,7 @@
|
||||||
{
|
{
|
||||||
"name": "[variables('Network.Name')]",
|
"name": "[variables('Network.Name')]",
|
||||||
"type": "Microsoft.Network/virtualNetworks",
|
"type": "Microsoft.Network/virtualNetworks",
|
||||||
"apiVersion": "2021-05-01",
|
"apiVersion": "2022-09-01",
|
||||||
"tags": "[variables('Network.Tags')]",
|
"tags": "[variables('Network.Tags')]",
|
||||||
"properties": {
|
"properties": {
|
||||||
"addressSpace": {
|
"addressSpace": {
|
||||||
|
|
|
@ -22,7 +22,7 @@
|
||||||
"resources": [
|
"resources": [
|
||||||
{
|
{
|
||||||
"type": "Microsoft.Storage/storageAccounts",
|
"type": "Microsoft.Storage/storageAccounts",
|
||||||
"apiVersion": "2021-05-01",
|
"apiVersion": "2022-09-01",
|
||||||
"name": "[concat('store', uniquestring(resourceGroup().id))]",
|
"name": "[concat('store', uniquestring(resourceGroup().id))]",
|
||||||
"location": "[parameters('location')]",
|
"location": "[parameters('location')]",
|
||||||
"kind": "StorageV2",
|
"kind": "StorageV2",
|
||||||
|
|
Loading…
Reference in a new issue