Hi,
New to packer and go for that matter. I created a post-processor to generate encrypted AMI's following creation of unencrypted AMI by the AWS builder. Its working and I assumed based on what I read that it made sense to do this as a post-processing function rather than modifying the existing 'ebs' builder but I see some limitations surrounding post-processing so wanted to ask here
1. When I have the AWS builder copy the AMI to other regions via ami_regions, post-processor gets called once with the list of AMI's created. Wouldnt it be more efficient for packer to call post-processor separately for the original and each copy so they can run in parallel?
2. At least for the aws artifact, theres no way to specify multiple AMI's per region so my post-processor can't return the id of the encrypted AMI it encrypted. Not being able to return the AMI basically breaks the post-processing pipeline (we keep both the unencrypted and encrypted) amis
Thanks,
I guess I'm not really asking a question here, but any input/comments would be appreciated.
Scott