> I thought that is would copy the unencrypted copy to the new region and
> then encrypt. encryption is region specific
No, CopyImage can copy a encrypted AMI, but it will be reencrypted with a
KMS key that belongs to new region.
As a workaround try add this to your template:
"region_kms_key_ids": {
"us-west-1": "aws/ebs",
"eu-central-1": "aws/ebs"
}
And add the regions that you might use in copy_to...
Reading the docs again sugests that:
"region_kms_key_ids": {
"us-west-1": "",
"eu-central-1": ""
}
Should work to?
On Tue, Feb 5, 2019 at 2:30 PM Frank Dias <[email protected]> wrote:
> 1.3.3 and tried 1.3.4
> I thought that is would copy the unencrypted copy to the new region and
> then encrypt. encryption is region specific
>
> --
> 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/5f765ebd-6044-42b9-b763-f47d190bdf62%40googlegroups.com
> .
> For more options, visit https://groups.google.com/d/optout.
>
--
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/CALz9Rt-91%3DPm%3DiuTG3DVPzdb7w4QRv4csVQgtjGbRGXyYhcVAw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.