appoxy / aws

Amazon Web Services (AWS) Ruby Gem

Home Page:https://rubygems.org/gems/aws

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Block device mapping in launch instances

mfojtik opened this issue · comments

Hi,

Can you please explain how to map a block device to the instance in launch_instance() method? I find out there is a param called ':block_device_mappings' which is String but in EC2 docs there is no such param They have something like:

BlockDeviceMapping.N.DeviceName =
BlockDeviceMapping.N.VirtualName =
BlockDeviceMapping.N.Ebs.SnapshotId = vol-XXXXXX
BlockDeviceMapping.N.Ebs.DeleteOnTermination =

It's a bug? Or relic from previous API version?