New 2.5 feature: New command for saving a bundle


Now that 2.5 is released I’d like to call out some of the new features for
those who haven’t been following the development this cycle.

In this post I’ll be covering how to save a custom bundle.

New command for saving a bundle

A model’s configuration can now be saved as a bundle at the command line using
the new export-bundle command. Previously, the Juju GUI was needed for this.

To export the currently active model into file mymodel.yaml:

juju export-bundle --filename mymodel.yaml

This command is mentioned on the Charms bundles page in the documentation.