docs/import: Add a note to the Import section that only ENV VARs can be used atm (#8194)
This commit is contained in:
parent
f2e18cbe4a
commit
9a39057a4f
|
@ -22,6 +22,9 @@ $ terraform import aws_instance.bar i-abcd1234
|
|||
...
|
||||
```
|
||||
|
||||
~> **Note:** In order to import resources, the provider should be configured with environment variables.
|
||||
We currently do not support passing credentials directly to the provider.
|
||||
|
||||
The above command imports an AWS instance with the given ID to the
|
||||
address `aws_instance.bar`. You can also import resources into modules.
|
||||
See the [resource addressing](/docs/internals/resource-addressing.html)
|
||||
|
|
Loading…
Reference in New Issue