code: func (d *Driver) Remove() error {
  	client := d.client()
  
  	// Destroy the SSH key from CloudStack
  	if d.KeyPair != "" {
  		key := &egoscale.SSHKeyPair{Name: d.KeyPair}
  		if err := client.DeleteWithContext(context.TODO(), key); err != nil {
  			return err
  		}
  	}
  
  	// Destroy the virtual machine
  	if d.ID != "" {
  		vm := &egoscale.VirtualMachine{ID: d.ID}
  		if err := client.DeleteWithContext(context.TODO(), vm); err != nil {
  			return err
  		}
  	}
  
  	log.Infof("The Anti-Affinity group and Security group were not removed")
  
  	return nil
  }
docs: // Remove destroys the VM instance and the associated SSH key.