How can I troubleshoot Azure ARM template validation errors?

前端 未结 8 1712
终归单人心
终归单人心 2021-02-06 22:27

I have made some small changes to an Azure ARM template file and now when I try to deploy or validate via the xplat cli I get this message.

error: Inval

8条回答
  •  隐瞒了意图╮
    2021-02-06 23:05

    Make sure you're running the latest version of the CLI, we're working on bubbling up the detailed error. If that's still not catching it, let us know https://github.com/Azure/azure-xplat-cli/issues

    Then if the log isn't showing you the detail, run the deployment with the -vv switch, the detailed debug output (while verbose) will have all the error messages and you can usually sift through and find the specific failure.

    azure group deployment create ... --debug
    

    Powershell:

    New-AzResourceGroupDeployment ... -debug
    

提交回复
热议问题