infrastructure/ami/hcl2-files/packer.pkr.hcl (8 lines of code) (raw):

packer { required_plugins { amazon = { version = ">= 1.2.8" source = "github.com/hashicorp/amazon" } } }