Terraform | run KQL query on Azure Monitor Log Analytics

You can execute some commands using null_resource and the local-exec provisioner.