https://prefect.io logo
Title
k

Kayvan Shah

05/21/2022, 3:27 PM
Is there a way to delete storage
../..> prefect storage
Usage: prefect storage [OPTIONS] COMMAND [ARGS]...

  Commands for managing storage settings.

Options:
  --help  Show this message and exit.

Commands:
  create         Create a new storage configuration.
  ls             View configured storage options.
  reset-default  Reset the default storage option.
  set-default    Change the default storage option.
a

Anna Geller

05/21/2022, 4:44 PM
not at the moment. But we are working on a way to make the storage creation from the
DeploymentSpec
an idempotent operation so that it doesn't create a separate block each time - is this the underlying problem you are trying to solve looking for the storage delete command?
k

Kayvan Shah

05/21/2022, 5:13 PM
Yes I have created identical storages with same storage paths, by wasn't able to find functionality to either edit, delete or reset storage
a

Anna Geller

05/21/2022, 5:21 PM
gotcha, we are aware of that and it's on the roadmap