terraform/builtin
Paul Hinze 020dc03234 provider/aws: fix root_block_device for odd AMIs
Some AMIs have a RootDeviceName like "/dev/sda1" that does not appear as a
DeviceName in the BlockDeviceMapping list (which will instead have
    something like "/dev/sda")

While this seems like it breaks an invariant of AMIs, it ends up working
on the AWS side, and AMIs like this are common enough that we need to
special case it so Terraform does the right thing.

Our heuristic is: if the RootDeviceName does not appear in the
BlockDeviceMapping, assume that the DeviceName of the first
BlockDeviceMapping entry serves as the root device.

fixes #2224
2015-06-23 09:01:41 -05:00
..
bins First few azure resources... 2015-05-28 00:51:17 +02:00
providers provider/aws: fix root_block_device for odd AMIs 2015-06-23 09:01:41 -05:00
provisioners Improve the decoding logic to prevent parameter not found errors 2015-06-03 14:45:30 +02:00