Hi error: Code="LocationRequired" Message="The loc...
# azure
w
Hi error: Code="LocationRequired" Message="The location property is required for this definition."
p
This is because the VM you are deploying needs the Location Prop defined when instantiating the resource. So WestUS, EastUS etc
Copy code
location: "westus",
    protectedSettings: {},
    publisher: "extPublisher",
    resourceGroupName: "rgcompute",
    settings: {},
    suppressFailures: true,
    tags: {
        key9183: "aa",
    },
    type: "extType",
    typeHandlerVersion: "1.2",
    vmExtensionName: "aaaaaaaaaaaaa",
    vmName: "aaaaaaaaaaaaaaaaaaaaaaaa",
})
Some resources cant infer location based on RG location or stack location. You have to tell it, this a requirement of the API they are calling Azure side hence the prop