Looking for a sample config.yaml

The help function for lxc launch give this:

  lxc launch ubuntu:20.04 u1 < config.yaml
      Create and start a container with configuration from config.yaml

I’m looking for a sample config.yaml that I can use to create both containers and VMs.

I found this on github. Replying to myself in case anyone else needs it.