Chef Provisioner Create AWS AMI


I’m trying to use chef provisioner to create AWS AMi’s, I believe this is
possible, but I can’t find any documentation on how to do it. Do I need to
use the ‘machine_image’ resource for this?

The documentation for machine_image at says:

“Use the machine_image resource to define a machine image.”

Is that an AMI? This is not clear. If this is what I am supposed to use,
there’s no reference to how I define the source AMI to use.