-
Notifications
You must be signed in to change notification settings - Fork 9.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
RFE: support for no_device in aws_instance ephemeral_block_device #8455
Comments
This issue is burning me too. Packer had this issue and was fixed via hashicorp/packer@2a94b59 |
Hi, when this issue is fixed, it should address #5390, when the BlockingMappingDevice from an AMI contains ephemerals, "NoDevice" have to be set on EBS-only instance, or the AutoRecover feature from AWS won't work. |
Fixes hashicorp#8455, hashicorp#5390 This add a new `no_device` attribute to `ephemeral_block_device` block, which allows users omit ephemeral devices from AMI's predefined block device mappings, which is useful for EBS-only instance types.
Fixes hashicorp#8455, hashicorp#5390 This add a new `no_device` attribute to `ephemeral_block_device` block, which allows users omit ephemeral devices from AMI's predefined block device mappings, which is useful for EBS-only instance types.
Fixes hashicorp#8455, hashicorp#5390 This add a new `no_device` attribute to `ephemeral_block_device` block, which allows users omit ephemeral devices from AMI's predefined block device mappings, which is useful for EBS-only instance types.
Fixes hashicorp#8455, hashicorp#5390 This add a new `no_device` attribute to `ephemeral_block_device` block, which allows users omit ephemeral devices from AMI's predefined block device mappings, which is useful for EBS-only instance types.
Fixes hashicorp#8455, hashicorp#5390 This add a new `no_device` attribute to `ephemeral_block_device` block, which allows users omit ephemeral devices from AMI's predefined block device mappings, which is useful for EBS-only instance types.
Fixes hashicorp#8455, hashicorp#5390 This add a new `no_device` attribute to `ephemeral_block_device` block, which allows users omit ephemeral devices from AMI's predefined block device mappings, which is useful for EBS-only instance types.
Fixes hashicorp#8455, hashicorp#5390 This add a new `no_device` attribute to `ephemeral_block_device` block, which allows users omit ephemeral devices from AMI's predefined block device mappings, which is useful for EBS-only instance types.
Fixes hashicorp#8455, hashicorp#5390 This add a new `no_device` attribute to `ephemeral_block_device` block, which allows users omit ephemeral devices from AMI's predefined block device mappings, which is useful for EBS-only instance types.
Fixes hashicorp#8455, hashicorp#5390 This add a new `no_device` attribute to `ephemeral_block_device` block, which allows users omit ephemeral devices from AMI's predefined block device mappings, which is useful for EBS-only instance types.
Fixes hashicorp#8455, hashicorp#5390 This add a new `no_device` attribute to `ephemeral_block_device` block, which allows users omit ephemeral devices from AMI's predefined block device mappings, which is useful for EBS-only instance types.
Fixes hashicorp#8455, hashicorp#5390 This add a new `no_device` attribute to `ephemeral_block_device` block, which allows users omit ephemeral devices from AMI's predefined block device mappings, which is useful for EBS-only instance types.
Fixes hashicorp#8455, hashicorp#5390 This add a new `no_device` attribute to `ephemeral_block_device` block, which allows users omit ephemeral devices from AMI's predefined block device mappings, which is useful for EBS-only instance types.
Fixes hashicorp#8455, hashicorp#5390 This add a new `no_device` attribute to `ephemeral_block_device` block, which allows users omit ephemeral devices from AMI's predefined block device mappings, which is useful for EBS-only instance types.
Fixes hashicorp#8455, hashicorp#5390 This add a new `no_device` attribute to `ephemeral_block_device` block, which allows users omit ephemeral devices from AMI's predefined block device mappings, which is useful for EBS-only instance types.
Fixes hashicorp#8455, hashicorp#5390 This add a new `no_device` attribute to `ephemeral_block_device` block, which allows users omit ephemeral devices from AMI's predefined block device mappings, which is useful for EBS-only instance types.
Fixes hashicorp#8455, hashicorp#5390 This add a new `no_device` attribute to `ephemeral_block_device` block, which allows users omit ephemeral devices from AMI's predefined block device mappings, which is useful for EBS-only instance types.
I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues. If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further. |
Terraform Version
Terraform v0.7.1
Affected Resource(s)
Please list the resources as a list, for example:
Terraform Configuration Files
Expected Behavior
If I'm reading https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/block-device-mapping-concepts.html correctly, terraform should set
NoDevice
for the specifieddevice_name
.Also
virtual_name
probably shouldn't be there whenno_device
is set — but terraform 0.7.1 requires it.Actual Behavior
Steps to Reproduce
terraform plan
Possible workaround: create the AMI without the ephemeral mappings. But I'd rather not do that because I'd have to maintain two AMIs and that would be the only difference between them.
The text was updated successfully, but these errors were encountered: