Usecase: I need to launch VM with VMSS inside application gateway depending on CPU utilization . In VMSS I need to execute once script if anyone has done this before please share the doc for same.
Thanks.
I have created a custom template but during deployment giving error: { "status": "Failed", "error": { "code": "ResourceDeploymentFailure", "message": "The resource operation completed with terminal provisioning state 'Failed'.", "details": [ { "code": "VMExtensionProvisioningError", "message": "VM has reported a failure when processing extension 'updatescriptextension'. Error message: \"Enable failed: failed to execute command: command terminated with exit status=1\"." }
Template: https://github.com/linuxgambler/azure/blob/master/vmss.json