#packer (2022-10)


Discuss Packer for building AMIs and Docker Images

Archive: https://archive.sweetops.com/packer/


jonjitsu avatar

I’m curious how people are organizing their packer code. Do you have a general packer repo with all packer builds within? Do you have one repo per packer build? Or is the packer build contained with the code repo similar to the docker way?

Joe Perez avatar
Joe Perez

we haven’t gone too far down this path, but we’re doing a monorepo. Created a main folder which is kinda like a terraform module, then creating separate folders for each service that requires an AMI to be built. Then using relative paths and .pkrvars to override default variables when running the packer build command

jonjitsu avatar