You'r using a really old version of Packer. Try upgrading to a more
recent version.

On Wed, Jan 29, 2020 at 9:21 PM vrushabh <vasshah2...@gmail.com> wrote:

> packer versoin 1.0.4
> Builder type : amazon-ebs
> I am following this docs:
> https://www.packer.io/docs/builders/amazon-ebs.html#block-devices-configuration
>
>  "launch_block_device_mappings": [{
>             "device_name": "/dev/sda1",
>             "volume_type": "gp2",
>             "volume_size": 30,
>             "encrypted": true,
>             "kms_key_id": "12-aa-12-aa-12",
>             "delete_on_termination": true
>       }]
>
>
>
> 1 error(s) occurred:
>
> * unknown configuration key: "launch_block_device_mappings[0].kms_key_id"
> Build step 'Execute shell' marked build as failure
>
>
> What is wrong in above code block?
>
> --
> 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+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/packer-tool/d73ca7c4-bc47-44e0-a95f-1356ef50df6c%40googlegroups.com
> <https://groups.google.com/d/msgid/packer-tool/d73ca7c4-bc47-44e0-a95f-1356ef50df6c%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 packer-tool+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/packer-tool/CALz9Rt9OBdJYTBgGye6zhz-JWE1orxfKh1%3Dz2Zm88KRzD5wfgg%40mail.gmail.com.

Reply via email to