From 642e46262e2a7f4da70cba5077bf105557396cb5 Mon Sep 17 00:00:00 2001 From: Laura Pacilio <83350965+laurapacilio@users.noreply.github.com> Date: Wed, 24 Aug 2022 22:35:39 +0000 Subject: [PATCH 1/3] backport of commit 89da56b93236a8e7844559530d05775ab8c11e34 --- website/docs/cli/import/usage.mdx | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/website/docs/cli/import/usage.mdx b/website/docs/cli/import/usage.mdx index 7610fa68a61e..341d8e524249 100644 --- a/website/docs/cli/import/usage.mdx +++ b/website/docs/cli/import/usage.mdx @@ -9,10 +9,8 @@ description: The `terraform import` command is used to import existing infrastru The `terraform import` command is used to import existing infrastructure. -The command currently can only import one resource at a time. This means -you can't yet point Terraform import to an entire collection of resources -such as an AWS VPC and import all of it. This workflow will be improved in a -future version of Terraform. +The command can only import one resource at a time. This means +you cannnot import an entire collection of resources such as an AWS VPC at one time. ~> Warning: Terraform expects that each remote object it is managing will be bound to only one resource address, which is normally guaranteed by Terraform From 803e9a6b24d34663adae680c23b78a0b264bc575 Mon Sep 17 00:00:00 2001 From: Laura Pacilio <83350965+laurapacilio@users.noreply.github.com> Date: Wed, 24 Aug 2022 22:40:20 +0000 Subject: [PATCH 2/3] backport of commit 46a40cb44ac3e27d3526ba152367cecf7fbc9bc2 --- website/docs/cli/import/usage.mdx | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/website/docs/cli/import/usage.mdx b/website/docs/cli/import/usage.mdx index 341d8e524249..f98ec8e79fea 100644 --- a/website/docs/cli/import/usage.mdx +++ b/website/docs/cli/import/usage.mdx @@ -9,8 +9,7 @@ description: The `terraform import` command is used to import existing infrastru The `terraform import` command is used to import existing infrastructure. -The command can only import one resource at a time. This means -you cannnot import an entire collection of resources such as an AWS VPC at one time. +The `terraform import` command can only import one resource at a time. It cannot simultaneously import an entire collection of resources, like an AWS VPC. ~> Warning: Terraform expects that each remote object it is managing will be bound to only one resource address, which is normally guaranteed by Terraform From 4e276bc8d7fff63fe3f3df1f892651f40c68a231 Mon Sep 17 00:00:00 2001 From: Laura Pacilio <83350965+laurapacilio@users.noreply.github.com> Date: Wed, 24 Aug 2022 22:41:39 +0000 Subject: [PATCH 3/3] backport of commit c7b28435391960fe448f7b4ad185c5fce91ad4aa --- website/docs/cli/import/usage.mdx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/website/docs/cli/import/usage.mdx b/website/docs/cli/import/usage.mdx index f98ec8e79fea..522dd3c83ad8 100644 --- a/website/docs/cli/import/usage.mdx +++ b/website/docs/cli/import/usage.mdx @@ -7,7 +7,7 @@ description: The `terraform import` command is used to import existing infrastru > **Hands-on:** Try the [Import Terraform Configuration](https://learn.hashicorp.com/tutorials/terraform/state-import?in=terraform/state&utm_source=WEBSITE&utm_medium=WEB_IO&utm_offer=ARTICLE_PAGE&utm_content=DOCS) tutorial on HashiCorp Learn. -The `terraform import` command is used to import existing infrastructure. +Use the `terraform import` command to import existing infrastructure to Terraform state. The `terraform import` command can only import one resource at a time. It cannot simultaneously import an entire collection of resources, like an AWS VPC.