Skip to content

Commit f95e96c

Browse files
Apply suggestions from code review
Co-authored-by: Robin Norwood <robin.norwood@gmail.com>
1 parent 4b59a75 commit f95e96c

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

content/terraform/v1.12.x/docs/language/block/import.mdx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ An `import` block supports the following configuration:
1414

1515
- [`import`](#import) &nbsp block
1616
- [`to`](#to) &nbsp address | required
17-
- [`id`](#id) &nbsp string
17+
- [`id`](#id) &nbsp string | mutually exclusive with `identity`
1818
- [`identity`](#identity) &nbsp map | mutually exclusive with `id`
1919
- [`for_each`](#for_each) &nbsp map or set of strings
2020
- [`provider`](#provider) &nbsp reference
@@ -119,7 +119,7 @@ import {
119119
}
120120
```
121121

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.
123123

124124
You cannot use the `identity` argument and [`id` argument](#id) in the same `import` block.
125125

@@ -202,7 +202,7 @@ The following examples show how to write configuration for common use cases.
202202

203203
### Import a single resource
204204

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.
206206

207207
<Tabs>
208208

content/terraform/v1.13.x/docs/language/block/import.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ An `import` block supports the following configuration:
1414

1515
- [`import`](#import) &nbsp block
1616
- [`to`](#to) &nbsp address | required
17-
- [`id`](#id) &nbsp string
17+
- [`id`](#id) &nbsp string | mutually exclusive with `identity`
1818
- [`identity`](#identity) &nbsp map | mutually exclusive with `id`
1919
- [`for_each`](#for_each) &nbsp map or set of strings
2020
- [`provider`](#provider) &nbsp reference
@@ -119,7 +119,7 @@ import {
119119
}
120120
```
121121

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.
123123

124124
You cannot use the `identity` argument and [`id` argument](#id) in the same `import` block.
125125

0 commit comments

Comments
 (0)