I want to send out an email if the cluster failed to start, i used to start the cluster using Databricks cli and then terminate them. In some cases ,my cluster is not starting at all and there are some errors.
My use case is to send an email using databricks cli, start the cluster and terminate it if it started. incase if it fails to start, then send an email to a particular support group email id.
Above is my use case. Can you help me with this or is there any better way to do it? Please suggest me if any