Skip to content

Commit 7501f32

Browse files
committed
provider/aws: doc EBS block device mix-match caveats
refs hashicorp#5706
1 parent 3a44fc7 commit 7501f32

2 files changed

Lines changed: 4 additions & 0 deletions

File tree

website/source/docs/providers/aws/r/instance.html.markdown

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -109,6 +109,8 @@ Each `ebs_block_device` supports the following:
109109

110110
Modifying any `ebs_block_device` currently requires resource replacement.
111111

112+
~> **NOTE on EBS block devices:** If you use `ebs_block_device` on an `aws_instance`, Terraform will assume management over the full set of non-root EBS block devices for the instance, and treats additional block devices as drift. For this reason, `ebs_block_device` cannot be mixed with external `aws_ebs_volume` + `aws_ebs_volume_attachment` resources for a given instance.
113+
112114
Each `ephemeral_block_device` supports the following:
113115

114116
* `device_name` - The name of the block device to mount on the instance.

website/source/docs/providers/aws/r/volume_attachment.html.markdown

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,8 @@ description: |-
1111
Provides an AWS EBS Volume Attachment as a top level resource, to attach and
1212
detach volumes from AWS Instances.
1313

14+
~> **NOTE on EBS block devices:** If you use `ebs_block_device` on an `aws_instance`, Terraform will assume management over the full set of non-root EBS block devices for the instance, and treats additional block devices as drift. For this reason, `ebs_block_device` cannot be mixed with external `aws_ebs_volume` + `aws_ebs_volume_attachment` resources for a given instance.
15+
1416
## Example Usage
1517

1618
```

0 commit comments

Comments
 (0)