incus-apply

Declarative configuration management for Incus.

incus-apply lets you manage Incus resources from files instead of long sequences of imperative CLI commands. It is designed for repeatable environments, reviewable configuration, and safer change application through a diff-first workflow.

Typical workflow

  1. Write YAML or JSON documents that declare the desired Incus resources.

  2. Run incus-apply against a file, a directory, standard input, or a URL.

  3. Review the diff preview.

  4. Confirm the changes, or automate the run with --yes.

Supported resources

Supported resource kinds include:

  • instance

  • profile

  • network

  • network-forward

  • network-acl

  • network-zone

  • storage-pool

  • storage-volume

  • storage-bucket

  • storage-bucket-key

  • project

  • cluster-group

Next steps