From 7501f3272106ce77a1117229ce65d10c2aefe094 Mon Sep 17 00:00:00 2001 From: Paul Hinze Date: Fri, 25 Mar 2016 12:12:01 -0500 Subject: [PATCH] provider/aws: doc EBS block device mix-match caveats refs #5706 --- website/source/docs/providers/aws/r/instance.html.markdown | 2 ++ .../source/docs/providers/aws/r/volume_attachment.html.markdown | 2 ++ 2 files changed, 4 insertions(+) diff --git a/website/source/docs/providers/aws/r/instance.html.markdown b/website/source/docs/providers/aws/r/instance.html.markdown index 5f3a3acf4c53..d67b49ff3abe 100644 --- a/website/source/docs/providers/aws/r/instance.html.markdown +++ b/website/source/docs/providers/aws/r/instance.html.markdown @@ -109,6 +109,8 @@ Each `ebs_block_device` supports the following: Modifying any `ebs_block_device` currently requires resource replacement. +~> **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. + Each `ephemeral_block_device` supports the following: * `device_name` - The name of the block device to mount on the instance. diff --git a/website/source/docs/providers/aws/r/volume_attachment.html.markdown b/website/source/docs/providers/aws/r/volume_attachment.html.markdown index ccc682190361..a9a71f5b1b5c 100644 --- a/website/source/docs/providers/aws/r/volume_attachment.html.markdown +++ b/website/source/docs/providers/aws/r/volume_attachment.html.markdown @@ -11,6 +11,8 @@ description: |- Provides an AWS EBS Volume Attachment as a top level resource, to attach and detach volumes from AWS Instances. +~> **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. + ## Example Usage ```