-
Notifications
You must be signed in to change notification settings - Fork 107
Atru/query and import bulk #942
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Vercel Previews Deployed
|
Broken Link CheckerNo broken links found! 🎉 |
dbanck
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice work! I left some suggestions
content/terraform/v1.14.x (alpha)/docs/language/block/tfquery/list.mdx
Outdated
Show resolved
Hide resolved
content/terraform/v1.14.x (alpha)/docs/language/block/tfquery/list.mdx
Outdated
Show resolved
Hide resolved
content/terraform/v1.14.x (alpha)/docs/language/block/tfquery/list.mdx
Outdated
Show resolved
Hide resolved
content/terraform/v1.14.x (alpha)/docs/language/block/tfquery/list.mdx
Outdated
Show resolved
Hide resolved
content/terraform/v1.14.x (alpha)/docs/language/import/bulk.mdx
Outdated
Show resolved
Hide resolved
content/terraform/v1.14.x (alpha)/docs/language/import/bulk.mdx
Outdated
Show resolved
Hide resolved
content/terraform/v1.14.x (alpha)/docs/language/block/tfquery/list.mdx
Outdated
Show resolved
Hide resolved
content/terraform/v1.14.x (alpha)/docs/language/block/tfquery/list.mdx
Outdated
Show resolved
Hide resolved
content/terraform/v1.14.x (alpha)/docs/language/block/tfquery/list.mdx
Outdated
Show resolved
Hide resolved
content/terraform/v1.14.x (alpha)/docs/language/import/bulk.mdx
Outdated
Show resolved
Hide resolved
Co-authored-by: Daniel Banck <dbanck@users.noreply.github.com> Co-authored-by: Samsondeen <40821565+dsa0x@users.noreply.github.com>
|
|
||
| # `terraform query` command | ||
|
|
||
| The `terraform query` command queries existing infrastructure for unmanaged resources according to the `tfquery.hcl` file so that you can import them into your Terraform workspace. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
unmanaged
Not sure if it matters, but from what I've tested so far it can also find managed resources. I set up Terraform configuration to create a aws_batch_job_queue, then a list block to find it and was abel to generate configuration from it.
content/terraform/v1.14.x (alpha)/docs/language/block/tfquery/list.mdx
Outdated
Show resolved
Hide resolved
content/terraform/v1.14.x (alpha)/docs/language/import/bulk.mdx
Outdated
Show resolved
Hide resolved
content/terraform/v1.14.x (alpha)/docs/language/block/tfquery/list.mdx
Outdated
Show resolved
Hide resolved
content/terraform/v1.14.x (alpha)/docs/language/import/bulk.mdx
Outdated
Show resolved
Hide resolved
Co-authored-by: Brian McClain <brianmmcclain@gmail.com>
this PR adds documentation for configuring constructs associated with querying resources and importing them in bulk, such as the list block and the terraform query command.. These are beta features in 1.14