stephent, I think even with ENV vars it requires a blank vars file :\
but I don't use env vars at all
phinze
stephent: hmm yeah that looks like it should work
plucas joined the channel
stephent
I’ve just checked my version of terraform which is 0.4.2 - odd. Perhaps that’s it. Will install 0.5.1
kmorgan
Hey all, I'm trying out terraform 0.5.3's new aws_volume_attachment feature. If I have something like this: http://hastebin.com/urawowaxin.json. Then the instance gets a default ebs on /dev/xvda volume when it starts, and vol-1-attach fails. Is there any way around getting that default volume?
jeremypruitt____ has quit
cppforlife_ has quit
_jac joined the channel
phinze
kmorgan: because aws_volume_attachment happens after instance launch, i think you can't avoid the volumes that come with the instance - you have to use ebs_block_device and friends
stephent: 0.5.3 but +1 :)
stephent
ah… yes - brew cask was out of date
ctiwald
sounds good phinze; thanks for the help; if I or a team member of mine has time to start that PR we'll submit a quick proposal for you guys to sign off on it
phinze
great! thanks ctiwald
kmorgan
phinze: can I use ebs_block_device, or do I need root_block_device? The reason I want to use aws_volume_attachement is because the ebs volumes stick around after instance termination, and can be migrated to other instances. I don't think I get that with ebs_block_device or root_block_device. Does that make sense?
phinze
kmorgan: ah wasn't sure if you were trying to replace the root device - yeah gotchya.