Skip to content
This repository has been archived by the owner on Jun 5, 2020. It is now read-only.

Referencing ephemeral instance storage in block_devices mapping #152

Closed
ginkel opened this issue Apr 22, 2015 · 4 comments
Closed

Referencing ephemeral instance storage in block_devices mapping #152

ginkel opened this issue Apr 22, 2015 · 4 comments

Comments

@ginkel
Copy link

ginkel commented Apr 22, 2015

Is there a way to reference ephemeral instance storage for the block_devices mapping of an ec2_instance? Reading the source I'm under the impression that only EBS may be supported...

@benpillet
Copy link
Contributor

I'm running into the same issue. I tried specifying the virtual_name as ephemeral0, but still no luck. Terraform splits out the root_block_device, ebs_block_device, and ephemeral_block_device into separate attributes as noted here: https://www.terraform.io/docs/providers/aws/r/instance.html. I could see the implementation going either way. To keep backwards compatibility, we could add another field to the array entry for a block_device with a name like storage_type and values like ['ebs', 'instance'] with ebs being the default. Or split out the different storage types like terraform. I was thinking of working on this in the next few days. Any preference on the implementation?

@ahenroid
Copy link
Contributor

ahenroid commented Mar 3, 2017

@ginkel @benpillet, I believe this was addressed by #212. Can I close this issue?

@benpillet
Copy link
Contributor

Yes. Looks like #212 covers it. Thanks!

@ahenroid
Copy link
Contributor

ahenroid commented Mar 7, 2017

Thanks, @benpillet!

@ahenroid ahenroid closed this as completed Mar 7, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

4 participants