Skip to content

Cleanup stopped/unrepairable instances

Arran Walker requested to merge ajwalker/cleanup-stopped into main

The Google cloud instance group can have two modes for handling stopped VMs:

  • No action

    When no action is selected, the plugin needs to be responsible for deleting stopped instance.

  • Repair instance

    When repair instance is selected, we need to ensure that we update the caller with a deleted state update if the state is already running.

    This ensures that the caller knows that the underlying instance ID is likely to have changed, as the instance is being re-created.

Merge request reports