How to remove a cloud

See also:

Removing a cloud definition can be done locally or, since v.2.6.1, remotely (on a controller). Here, we’ll show how to do it locally (client cache).

A cloud definition can be removed with:

juju remove-cloud [options] <cloud-name>

For example:

juju remove-cloud --local lxd-remote

The following attempted removals will cause the command to error out, accompanied by appropriate messaging:

  1. a remote private cloud currently in use
  2. a local or remote built-in cloud

In versions prior to v.2.6.1 the remove-cloud command only operates locally (there is no --local option).

Last updated 3 months ago.