Take a look at the https://www.packer.io/docs/builders/amazon-ebs.html#ami_users option..
If I recall correctly, you can only share encrypted AMIs if they aren't encrypted using an account's default kms key. That change you're referencing in 1.4.2 wasn't adding a specific option for encrypted AMIs, it just cleaned up the validation logic to make sure we didn't fail a build if you were trying to share an encrypted AMI when the encryption was with the non-default key. On Tue, Sep 3, 2019 at 5:08 AM Justin Metz <[email protected]> wrote: > Anyone have any ideas on this one? > > On Thursday, August 29, 2019 at 11:49:45 AM UTC-4, Justin Metz wrote: >> >> Hi, >> >> In Packer 1.4.2 there was a feature added that will share encrypted >> Amazon AMI's across accounts. I cannot find any mention of how to use this >> feature in the online documentation (Amazon EBS Builder), so I'm wondering >> if I'm missing something or maybe the documentation wasn't updated. If >> anyone could please shed some light I would greatly appreciate it. >> >> Thanks, >> J >> > -- > This mailing list is governed under the HashiCorp Community Guidelines - > https://www.hashicorp.com/community-guidelines.html. Behavior in > violation of those guidelines may result in your removal from this mailing > list. > > GitHub Issues: https://github.com/mitchellh/packer/issues > IRC: #packer-tool on Freenode > --- > You received this message because you are subscribed to the Google Groups > "Packer" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/packer-tool/8abe58b8-b400-429f-82d8-eadb84a19624%40googlegroups.com > <https://groups.google.com/d/msgid/packer-tool/8abe58b8-b400-429f-82d8-eadb84a19624%40googlegroups.com?utm_medium=email&utm_source=footer> > . > -- This mailing list is governed under the HashiCorp Community Guidelines - https://www.hashicorp.com/community-guidelines.html. Behavior in violation of those guidelines may result in your removal from this mailing list. GitHub Issues: https://github.com/mitchellh/packer/issues IRC: #packer-tool on Freenode --- You received this message because you are subscribed to the Google Groups "Packer" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/packer-tool/CAGPV1uoiL9p-tT%3DwtFULC4i_SyG-1kj8hOb6ty9cELY8PHa8FQ%40mail.gmail.com.
