Skip to content

Commit f3f7144

Browse files
committed
fixed block device mapping for request-spot-instances
1 parent 420d38f commit f3f7144

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

aws

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -200,7 +200,13 @@ $iam_version = "2010-05-08";
200200
[kernel => "LaunchSpecification.KernelId"],
201201
[ramdisk => "LaunchSpecification.RamdiskId"],
202202
[subnet => "LaunchSpecification.SubnetId"],
203-
["block-device-mapping b" => "LaunchSpecification.blockDeviceMapping.N.DeviceName"],
203+
["block-device-mapping b", undef, undef, \&parse_block_device_mapping],
204+
["device-name" => "BlockDeviceMapping.N.DeviceName"],
205+
["no-device" => "BlockDeviceMapping.N.Ebs.NoDevice"],
206+
["virtual-name" => "BlockDeviceMapping.N.VirtualName"],
207+
[snapshot => "BlockDeviceMapping.N.Ebs.SnapshotId"],
208+
["volume-size" => "BlockDeviceMapping.N.Ebs.VolumeSize"],
209+
["delete-on-termination" => "BlockDeviceMapping.N.Ebs.DeleteOnTermination"],
204210
[monitor => "LaunchSpecification.Monitoring.Enabled"],
205211
]],
206212
["ec2", "revoke", RevokeSecurityGroupIngress, [

0 commit comments

Comments
 (0)