Skip to main content

Cleaning up resources

tip

To optimize costs, it's recommended to clean up the resources created in the examples. However, note that some sections of this manual build upon these examples, so it's best to perform the cleanup after completing your learning journey with Taskurai.

In this step, we will remove the previously created sample worker and default state store.

Cleaning up worker

You can either specify the name of the worker, like this:

taskurai worker delete --name SampleWorker

Or you can simply use the delete command to select the worker from the list:

taskurai worker delete
info

The remove workers command is an asynchronous process, the CLI may return sooner than the actual worker is removed.

Cleaning up state store

You can either specify the name of the state store, like this:

taskurai statestore delete --name DefaultStateStore

Or you can simply use the delete command to select the state store from the list:

taskurai statestore delete
info

The remove state store command is an asynchronous process, the CLI may return sooner than the actual state store is removed.

Cleaning up