appoxy / aws

Amazon Web Services (AWS) Ruby Gem
https://rubygems.org/gems/aws
236 stars 87 forks source link

Block device mapping in launch instances #59

Open mfojtik opened 13 years ago

mfojtik commented 13 years ago

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?