Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Regression: Internal Error: Validation threw an exception with assembly including linked templates. #773

Closed
edburns opened this issue Jun 9, 2020 · 3 comments

Comments

@edburns
Copy link
Member

edburns commented Jun 9, 2020

arm-oraclelinux-wls-admin-1.0.20-arm-assembly.zip
Open the mainTemplate.json from the attachment in vscode-azurearmtools and you will see this error:

message

Validated on 2020-06-09 17:00 EDT by @StephenWeatherford

@StephenWeatherford StephenWeatherford changed the title Internal Error: Validation threw an exception with assembly including linked templates. Regression: Internal Error: Validation threw an exception with assembly including linked templates. Jun 9, 2020
@StephenWeatherford
Copy link
Contributor

This repros with any linked templates if there's an attached parameter file. Does not repro in 0.9.x.

E.g.:

{
    "$schema": "https://schema.management.azure.com/schemas/2019-04-01/deploymentTemplate.json#",
    "contentVersion": "1.0.0.0",
    "resources": [
        {
            "name": "aadLinkedTemplate",
            "type": "Microsoft.Resources/deployments",
            "apiVersion": "2019-10-01",
            "properties": {
                "mode": "Incremental",
                "templateLink": {
                    "uri": "https://foo"
                }
            }
        }
    ]
}

with this parameter file:

{
    "$schema": "https://schema.management.azure.com/schemas/2019-04-01/deploymentParameters.json#",
    "contentVersion": "1.0.0.0",
    "parameters": {}
}

@StephenWeatherford
Copy link
Contributor

Fixed by #806

@StephenWeatherford
Copy link
Contributor

Fix released with 0.11.0

@vscodebot vscodebot bot locked and limited conversation to collaborators Aug 6, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants