How are the official cloud images created? (are there scripts available?)

From: Pat Maddox <pat_at_patmaddox.com>
Date: Wed, 10 Aug 2022 19:38:40 UTC
AWS has an official FreeBSD AMI [1], as does GCP [2].

How are those images created? I assume someone runs scripts to configure 
the machine / disk and then makes an image.

Are those scripts available in git?

Who is responsible for making those images, that I could contact for 
more info?

Pat

[1] https://aws.amazon.com/marketplace/pp/prodview-ukzmy5dzc6nbq
[2] https://cloud.google.com/compute/docs/images#freebsd