Using the defaults I get from the AWS dashboard, I have:

    "launch_block_device_mappings": [
    {
      "device_name": "/dev/xvda",
      "volume_type": "gp2",
      "volume_size": 8,
      "snapshot_id": "snap-08091107f3acb12b2",
      "delete_on_termination": true
    }
  ]

But I'm getting this error:

amazon-ebs: Error launching source instance: MissingParameter: The request 
must contain the parameter size or snapshotId

I found this bug report which is very similar: 

https://github.com/hashicorp/packer/issues/7802

 But I don't understand the answer provided.

any suggestions?  

Thanks!

Greg
  

-- 
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/aaea69ce-5955-4ac1-bdf6-63d3226b65a9%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to