Sharing encrypted AMI's across accounts with Packer

28 views
Skip to first unread message

Justin Metz

unread,
Aug 29, 2019, 11:49:45 AM8/29/19
to Packer
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

Justin Metz

unread,
Sep 3, 2019, 8:08:50 AM9/3/19
to Packer
Anyone have any ideas on this one?

Megan Marsh

unread,
Sep 3, 2019, 1:01:14 PM9/3/19
to packe...@googlegroups.com
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.

--
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 packer-tool...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/packer-tool/8abe58b8-b400-429f-82d8-eadb84a19624%40googlegroups.com.

Justin Metz

unread,
Sep 4, 2019, 9:16:03 AM9/4/19
to Packer
Ok, now I think I get it.. :)  Thank you for the clarification..


On Thursday, August 29, 2019 at 11:49:45 AM UTC-4, Justin Metz wrote:
Reply all
Reply to author
Forward
0 new messages