Yep gotcha. the documentation is not clear then. Thank you On Thursday, July 6, 2017 at 3:07:10 PM UTC+2, Rickard von Essen wrote: > > See amazon-instance for correct indentation. > > On Jul 6, 2017 15:05, wrote: > >> Yeah sorry now I got it. You are probably looking for >> https://www.packer.io/docs/builders/amazon-ebs.html#encrypt_boot >> >> encrypted is a property of ami_device_mappings. The indentation of the >> docs is wrong (but have been fixed nbut not yet deployed). >> >> On Jul 6, 2017 14:56, "Salvatore Mazzarino" <[email protected] >> <javascript:>> wrote: >> >> Very unlikely. I've tried also with the docker image and it still fails. >> >> >> On Thursday, July 6, 2017 at 2:35:37 PM UTC+2, Rickard von Essen wrote: >> >>> Rerun with PACKER_LOG=1 probably your installation is broken. >>> >>> On Jul 6, 2017 14:10, "Salvatore Mazzarino" <[email protected]> wrote: >>> >>>> I'm running Packer validate and I got the following error >>>> >>>> >>>> >>>> Template validation failed. Errors are shown below. >>>> >>>> >>>> Errors validating build 'amazon-ebs'. 1 error(s) occurred: >>>> >>>> >>>> * unknown configuration key: "encrypted" >>>> >>>> Here my builder config >>>> { >>>> "type": "amazon-ebs", >>>> "instance_type": "t2.micro", >>>> "region": "us-east-1", >>>> "secret_key": "ssh-key", >>>> "source_ami": "ami-2ae7643c", >>>> "encrypted": true, >>>> "kms_key_id": "xxxxxxx-xxxx-xxx-xxx-xxxxx", >>>> "ssh_username": "ubuntu", >>>> "ami_name": "myd-{{timestamp}}", >>>> "ami_description": "My descripton" >>>> } >>>> >>>> Packer version 1.0.2 >>>> >>>> -- >>>> 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/3212e6e4-6084-41a1-9e60-5bfad441a1f6%40googlegroups.com >>>> >>>> <https://groups.google.com/d/msgid/packer-tool/3212e6e4-6084-41a1-9e60-5bfad441a1f6%40googlegroups.com?utm_medium=email&utm_source=footer> >>>> . >>>> 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] <javascript:>. >> To view this discussion on the web visit >> https://groups.google.com/d/msgid/packer-tool/977e7326-3e53-49a1-8d93-e9da892b8a56%40googlegroups.com >> >> <https://groups.google.com/d/msgid/packer-tool/977e7326-3e53-49a1-8d93-e9da892b8a56%40googlegroups.com?utm_medium=email&utm_source=footer> >> . >> >> 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/8fcbe195-f00d-4a78-be29-a016bf04445f%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
