What are you trying to achieve? Why do you include the
launch_block_device_mappings?

What is the describe-images outputfor the source_ami?

On Thu, Jul 11, 2019, 04:22 Greg Coit <[email protected]> wrote:

> 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
> <https://groups.google.com/d/msgid/packer-tool/465bd44c-b033-4f70-a72f-26b263c9e8a3%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/CALz9Rt9Lshqc73mcFNrfTxE7x%2B%2BqbXmEifNHuOR2_HOQzAR0kA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to