FWIW, I've tried it with and without the snapshot_id and volume_size in any 
combination I can think of.

Greg

On Wednesday, July 10, 2019 at 8:21:21 PM UTC-6, Greg Coit wrote:
>
> 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/465bd44c-b033-4f70-a72f-26b263c9e8a3%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to