From 4f1d363b98532c0e54efb217a09156492006e215 Mon Sep 17 00:00:00 2001 From: Pam Selle <204372+pselle@users.noreply.github.com> Date: Fri, 1 Nov 2019 11:47:46 -0400 Subject: [PATCH] Change wording back to attach, add for_each mention --- website/docs/import/usage.html.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/website/docs/import/usage.html.md b/website/docs/import/usage.html.md index 30d5ca38e..717635a77 100644 --- a/website/docs/import/usage.html.md +++ b/website/docs/import/usage.html.md @@ -32,21 +32,21 @@ remains constant. If desired, you can leave the body of the resource block blank for now and return to fill it in once the instance is imported. -Now `terraform import` can be run to map an existing instance to this +Now `terraform import` can be run to attach an existing instance to this resource configuration: ```shell $ terraform import aws_instance.example i-abcd1234 ``` -This command locates the AWS instance with ID `i-abcd1234`. Then it maps +This command locates the AWS instance with ID `i-abcd1234`. Then it attaches the existing settings of the instance, as described by the EC2 API, to the name `aws_instance.example` of a module. In this example the module path implies that the root module is used. Finally, the mapping is saved in the Terraform state. It is also possible to import to resources in child modules, using their paths, -and to single instances of a resource with `count` set. See +and to single instances of a resource with `count` or `for_each` set. See [_Resource Addressing_](/docs/internals/resource-addressing.html) for more details on how to specify a target resource.