Discuss Packer for building AMIs and Docker Images Archive: https://archive.sweetops.com/packer/ 2020-04-13 Abel Luck 10:07:48 AM Anyone seen/used https://github.com/wata727/packer-post-processor-amazon-ami-management ? wata727/packer-post-processor-amazon-ami-management Packer post-processor plugin for AMI management. Contribute to wata727/packer-post-processor-amazon-ami-management development by creating an account on GitHub. 2020-04-09 2020-04-08 RB 03:36:34 PM anyone know how to retrieve the source ami date ? Jason Walsh 03:00:57 PM The ec2 describe-images API might be useful RB 03:01:27 PM ya i mean i could use the awscli or boto to do it. i was hoping there was something within packer Jason Walsh 03:01:52 PM Not that I’m aware of RB 03:02:01 PM after sniffing around the code, there doesnt seem to be a way so i wrote up a ticket with packer https://github.com/hashicorp/packer/issues/9029 RB 01:09:14 PM I added it to Packer. It should be released in the upcoming 1.5.7 version 2020-04-06 ikar 11:33:52 AM Hi there! haven’t done my research yet, but quite curious about HCL & packer - is it possible to “import modules”? I’ll have about 5 AMIs to pack and all JSONs look the same except for 1 parameter. Anyone have a solution? Abel Luck 12:17:39 PM I usually use a Makefile with an environment variable to build AMIs dynamically with packer Abel Luck 12:18:23 PM make your 1 param an env var in the packer json, and then write a Makefile that sets the var and calls packer once for each value ikar 12:19:10 PM oh, good idea! you use HCL or JSON for that? Abel Luck 12:22:27 PM i’ve only used JSON with packer Abel Luck 12:22:48 PM haven’t had time to try out HCL with packer yet ikar 12:29:20 PM cool thanks!