custome kms_key_id get error while using in launch_block_device_mappings in amzon-ebs builder

14 views
Skip to first unread message

vrushabh

unread,
Jan 29, 2020, 3:21:40 PM1/29/20
to Packer
packer versoin 1.0.4
Builder type : amazon-ebs

 "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?

Rickard von Essen

unread,
Jan 30, 2020, 3:22:53 AM1/30/20
to packe...@googlegroups.com
You'r using a really old version of Packer. Try upgrading to a more recent version.

--
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/d73ca7c4-bc47-44e0-a95f-1356ef50df6c%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages