Status values
Thestatus field uses uppercase string constants. The vm_state field provides stable state context and is returned by the single-instance detail endpoint and the data "gcore_cloud_instance" Terraform data source.
task_state is non-null only during a background operation. A VM can show status: ACTIVE while task_state: "rebooting" — check both fields to determine whether the VM has fully settled.