Skip to content

Commit 7bb78b9

Browse files
committed
added missing example list conf
1 parent 3ac911b commit 7bb78b9

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

content/terraform/v1.14.x (alpha)/docs/cli/commands/query.mdx

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,6 @@ description: |-
88

99
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.
1010

11-
@include 'beta.mdx'
12-
1311
## Usage
1412

1513
```shell-session

content/terraform/v1.14.x (alpha)/docs/language/import/bulk.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,15 +54,15 @@ Add the following arguments to your `list` block:
5454

5555
The `list` block also supports several Terraform **meta-arguments**, which are arguments built into Terraform configuration language that configure how Terraform creates and manages infrastructure objects. For example, you can use the `count` meta-argument to create multiple instances of the resource list returned by the query. Refer to [Meta-arguments](/terraform/language/meta-arguments) for more information.
5656

57-
The following example queries AWS for `aws_instance` resources that match {. . .} and returns complete resource information for the first 50 results:
57+
The following example queries AWS for `aws_instance` resources tagged with `prod` and returns complete resource information for the first 50 results:
5858

5959
```hcl
6060
list "aws_instance" "prod" {
6161
provider = aws
6262
include_resource = true
6363
limit = 50
6464
config {
65-
TBD
65+
filter = "prod"
6666
}
6767
}
6868
```

0 commit comments

Comments
 (0)