You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: content/terraform/v1.12.x/docs/language/block/import.mdx
+3-3Lines changed: 3 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -14,7 +14,7 @@ An `import` block supports the following configuration:
14
14
15
15
-[`import`](#import)   block
16
16
-[`to`](#to)   address | required
17
-
-[`id`](#id)   string
17
+
-[`id`](#id)   string | mutually exclusive with `identity`
18
18
-[`identity`](#identity)   map | mutually exclusive with `id`
19
19
-[`for_each`](#for_each)   map or set of strings
20
20
-[`provider`](#provider)   reference
@@ -119,7 +119,7 @@ import {
119
119
}
120
120
```
121
121
122
-
The specific attributes are specific to the resource type and provider. You can only import resources that are supported by the provider. Refer to your provider documentation for details.
122
+
The keys of the `identity` argument are specific to the resource type and provider. You can only import resources that are supported by the provider. Refer to your provider documentation for details.
123
123
124
124
You cannot use the `identity` argument and [`id` argument](#id) in the same `import` block.
125
125
@@ -202,7 +202,7 @@ The following examples show how to write configuration for common use cases.
202
202
203
203
### Import a single resource
204
204
205
-
You can import an individual resource by specifying its ID in`id` argument or by specifying the set of identifying attributes in the `identity` argument.
205
+
You can import an individual resource by specifying its ID with the`id` argument or by specifying the set of identifying attributes in the `identity` argument.
Copy file name to clipboardExpand all lines: content/terraform/v1.13.x/docs/language/block/import.mdx
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -14,7 +14,7 @@ An `import` block supports the following configuration:
14
14
15
15
-[`import`](#import)   block
16
16
-[`to`](#to)   address | required
17
-
-[`id`](#id)   string
17
+
-[`id`](#id)   string | mutually exclusive with `identity`
18
18
-[`identity`](#identity)   map | mutually exclusive with `id`
19
19
-[`for_each`](#for_each)   map or set of strings
20
20
-[`provider`](#provider)   reference
@@ -119,7 +119,7 @@ import {
119
119
}
120
120
```
121
121
122
-
The specific attributes are specific to the resource type and provider. You can only import resources that are supported by the provider. Refer to your provider documentation for details.
122
+
The keys of the `identity` argument are specific to the resource type and provider. You can only import resources that are supported by the provider. Refer to your provider documentation for details.
123
123
124
124
You cannot use the `identity` argument and [`id` argument](#id) in the same `import` block.
0 commit comments