|
|
|
|
@ -37,6 +37,7 @@ The above `import` block defines an import of the AWS instance with the ID "i-ab
|
|
|
|
|
The `import` block has the following arguments:
|
|
|
|
|
- `to` - The instance address this resource will have in your state file.
|
|
|
|
|
- `id` - A string with the [import ID](#import-id) of the resource, or an expression that evaluates to a string.
|
|
|
|
|
- `identity` - A resource identity object that uniquely identifies a resource. It is mutually exclusive with `id`.
|
|
|
|
|
- `provider` (optional) - An optional custom resource provider, see [The Resource provider Meta-Argument](/terraform/language/meta-arguments/resource-provider) for details.
|
|
|
|
|
|
|
|
|
|
If you do not set the `provider` argument, Terraform attempts to import from the default provider.
|
|
|
|
|
|