vscode-azurearmtools: False positive for template validations with extendedLocation property

{
    "$schema": "https://schema.management.azure.com/schemas/2019-04-01/deploymentTemplate.json#",
    "contentVersion": "1.0.0.0",
    "parameters": {},
    "functions": [],
    "variables": {},
    "resources": [
        {
            "name": "publicIPAddress1",
            "type": "Microsoft.Network/publicIPAddresses",
            "apiVersion": "2020-11-01",
            "location": "[resourceGroup().location]",
            "tags": {
                "displayName": "publicIPAddress1"
            },
            "extendedLocation": {
                "name": "abc",
                "type": "EdgeZone"
            },
            "properties": {
                "publicIPAllocationMethod": "Dynamic",
                "dnsSettings": {
                    "domainNameLabel": "dnsname1"
                }
            }
        }
    ],
    "outputs": {}
}

Template validation error:

Template validation failed: Could not find member 'extendedLocation' on object of type 'TemplateResource'. Path 'resources[0].extendedLocation', line 16, position 31.

About this issue

  • Original URL
  • State: open
  • Created 3 years ago
  • Comments: 16 (8 by maintainers)

Most upvoted comments

We need upvotes from anyone who’s affected by this in order to push getting this fixed.