Discuss Packer for building AMIs and Docker ImagesArchive: https://archive.sweetops.com/packer/ 2020-04-06 ikar11:33:52 AMHi 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 Luck12:17:39 PMI usually use a Makefile with an environment variable to build AMIs dynamically with packer Abel Luck12:18:23 PMmake 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 ikar12:19:10 PMoh, good idea! you use HCL or JSON for that? Abel Luck12:22:27 PMi’ve only used JSON with packer Abel Luck12:22:48 PMhaven’t had time to try out HCL with packer yet ikar12:29:20 PMcool thanks! 2020-04-08 RB03:36:34 PManyone know how to retrieve the source ami date ? Jason Walsh03:00:57 PMThe ec2 describe-images API might be useful RB03:01:27 PMya i mean i could use the awscli or boto to do it. i was hoping there was something within packer Jason Walsh03:01:52 PMNot that I’m aware of RB03:02:01 PMafter 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 RB01:09:14 PMI added it to Packer. It should be released in the upcoming 1.5.7 version 2020-04-09 2020-04-13 Abel Luck10:07:48 AMAnyone seen/used https://github.com/wata727/packer-post-processor-amazon-ami-management ?wata727/packer-post-processor-amazon-ami-managementPacker post-processor plugin for AMI management. Contribute to wata727/packer-post-processor-amazon-ami-management development by creating an account on GitHub.