Merge pull request #35490 from prasincs/patch-1

Add a note in import cli command that there's an import block in the language
pull/35512/head
Craig Wright 2 years ago committed by GitHub
commit 13429408cd
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -35,6 +35,8 @@ If you import the same object multiple times, Terraform may exhibit unwanted
behavior. For more information on this assumption, see
[the State section](/terraform/language/state).
Instead of manually importing resources, you can add the `import` block to your Terraform configurations so that Terraform imports resources when you run the `terraform apply` command. Using Terraform configurations lets you automate resource imports as part of your CI/CD pipelines. Refer to the [`import` block reference documentation](/terraform/language/import) for additional information.
The command-line flags are all optional. The following flags are available:
- `-config=path` - Path to directory of Terraform configuration files that

Loading…
Cancel
Save