Skip to content

Commit e0f8c7a

Browse files
committed
add beta flags
1 parent b59a435 commit e0f8c7a

File tree

6 files changed

+42
-3
lines changed

6 files changed

+42
-3
lines changed

content/terraform/v1.14.x (alpha)/data/cli-nav-data.json

Lines changed: 18 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,15 @@
6262
"title": "import command reference",
6363
"href": "/cli/commands/import"
6464
},
65-
{ "title": "query command reference", "href": "/cli/commands/query" }
65+
{
66+
"title": "query command reference",
67+
"href": "/cli/commands/query",
68+
"badge": {
69+
"text": "BETA",
70+
"type": "outlined",
71+
"color": "neutral"
72+
}
73+
}
6674
]
6775
},
6876
{
@@ -282,6 +290,15 @@
282290
"title": "<code>providers schema</code>",
283291
"href": "/cli/commands/providers/schema"
284292
},
293+
{
294+
"title": "<code>query</code>",
295+
"href": "/cli/commands/query",
296+
"badge": {
297+
"text": "BETA",
298+
"type": "outlined",
299+
"color": "neutral"
300+
}
301+
},
285302
{ "title": "<code>refresh</code>", "href": "/cli/commands/refresh" },
286303
{ "title": "<code>show</code>", "href": "/cli/commands/show" },
287304
{ "title": "<code>state</code>", "href": "/cli/commands/state" },

content/terraform/v1.14.x (alpha)/data/language-nav-data.json

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -195,7 +195,12 @@
195195
{ "title": "Overview", "path": "import"},
196196
{
197197
"title": "Import resources in bulk",
198-
"path": "import/bulk"
198+
"path": "import/bulk",
199+
"badge": {
200+
"text": "BETA",
201+
"type": "outlined",
202+
"color": "neutral"
203+
}
199204
},
200205
{ "title": "Import a single resource", "path": "import/single-resource" },
201206
{
@@ -337,7 +342,12 @@
337342
"routes": [
338343
{
339344
"title": "list",
340-
"path": "block/tfquery/list"
345+
"path": "block/tfquery/list",
346+
"badge": {
347+
"text": "BETA",
348+
"type": "outlined",
349+
"color": "neutral"
350+
}
341351
},
342352
{
343353
"title": "locals",

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

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@ 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+
1113
## Usage
1214

1315
```shell-session

content/terraform/v1.14.x (alpha)/docs/language/block/tfquery/list.mdx

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

99
The `list` block defines a query that reads existing infrastructure and returns unmanaged resources that you can import to your Terraform workspace. You can only add `list` blocks to configuration files with `.tfquery.hcl` extensions. This topic provides reference information about configuring `list` blocks in `.tfquery.hcl` files. Refer to [Import existing resources in bulk](/terraform/language/import/bulk) for information about querying and importing resources.
1010

11+
@include 'beta.mdx'
12+
1113
## Configuration model
1214

1315
A `list` block supports the following configuration:

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

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@ description: Learn how to query existing infrastructure for unmanaged resources
77

88
You can configure queries that instruct Terraform to search your existing infrastructure for unmanaged resources. Terraform can also generate configuration for importing the resources it finds so that you can import them to your Terraform workspace in bulk. For information about importing single resources or small batches of resources, refer to [Import single resources](/terraform/language/import/single-resource) for instructions.
99

10+
@include 'beta.mdx'
11+
1012
## Introduction
1113

1214
For organizations with large sets of infrastructure resources, manually identifying and importing them is tedious and labor intensive, even when using third-party tools or custom scripts. To alleviate this burden, you can write HCL-based queries and run them with the Terraform CLI to retrieve unmanaged resources so that you can import them in bulk.
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
<!-- Use this parital for general beta callouts -->
2+
<Note>
3+
4+
This feature is currently in beta. Do not use beta functionality in production environments.
5+
6+
</Note>

0 commit comments

Comments
 (0)