docs/import: Add a note to the Import section that only ENV VARs can be used atm (#8194)

This commit is contained in:
Paul Stack 2016-08-15 17:06:50 +01:00 committed by Radek Simko
parent f2e18cbe4a
commit 9a39057a4f
1 changed files with 3 additions and 0 deletions

View File

@ -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)