我收到以下错误VMSS自定义图像& ELBAzure的部署状态VMSS失败,自定义图像与ELB
我的模板链接:https://github.com/linuxgambler/azure/blob/master/vmss_elb.json
Error: "error": { "details": [ { "code": "NotFound", "message": "Resource /subscriptions/6793721a-ea46-406d-ac42-d4488d1a5c0d/resourceGroups/EMC-US-WEST/providers/Microsoft.Network/loadBalancers/AZURE-TESLB not found." } ], "code": "InvalidResourceReference", "message": "Resource /subscriptions/6793721a-ea46-406d-ac42-d4488d1a5c0d/resourceGroups/EMC-US-WEST/providers/Microsoft.Network/loadBalancers/AZURE-TESLB referenced by resource /subscriptions/6793721a-ea46-406d-ac42-d4488d1a5c0d/resourceGroups/EMC-US-West/providers/Microsoft.Compute/virtualMachineScaleSets/azure-tes was not found. Please make sure that the referenced resource exists, and that both resources are in the same region." } }
我已经添加了参数,但现在正在获取验证错误:部署模板验证失败:'模板资源'Microsoft.Compute/virtualMachineScaleSets/emc-west-'无法引用自身。有关使用详情,请参阅https://aka.ms/arm-template-expressions/#reference。'。 (代码:InvalidTemplate) –
我忘了修复这个错字,你显然需要依靠ilb,而不是依靠它本身@SagarMalve – 4c74356b41