Skip to content

Commit b34ab93

Browse files
committed
Fix Stacks exclusions
1 parent eb20e48 commit b34ab93

File tree

2 files changed

+37
-39
lines changed

2 files changed

+37
-39
lines changed

content/terraform-docs-common/docs/cloud-docs/api-docs/agents.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ description: >-
3939
# Agents and agent pools API reference
4040

4141
An Agent Pool represents a group of Agents, often related to one another by sharing a common network segment or purpose.
42-
A workspace<!-- BEGIN: TFC:only name:stacks-tfe --> or Stack <!-- END: TFC:only name:stacks-tfe --> may be configured to use one of the organization's agent pools to run remote operations with isolated,
42+
A workspace<!-- BEGIN: TFC:only name:stacks-tfe --> or Stack<!-- END: TFC:only name:stacks-tfe --> may be configured to use one of the organization's agent pools to run remote operations with isolated,
4343
private, or on-premises infrastructure.
4444

4545
<!-- BEGIN: TFC:only name:pnp-callout -->

content/terraform-docs-common/docs/cloud-docs/api-docs/variable-sets.mdx

Lines changed: 36 additions & 38 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,37 @@ page_title: /varsets API reference for HCP Terraform
33
description: >-
44
Use the HCP Terraform API's `/varsets` endpoint to read, create, update, and delete variable sets, and apply or remove variable sets from workspaces and projects.
55
---
6+
[200]: https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/200
7+
8+
[201]: https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/201
9+
10+
[202]: https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/202
11+
12+
[204]: https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/204
13+
14+
[400]: https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/400
15+
16+
[401]: https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/401
17+
18+
[403]: https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/403
19+
20+
[404]: https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/404
21+
22+
[409]: https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/409
23+
24+
[412]: https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/412
25+
26+
[422]: https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/422
27+
28+
[429]: https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/429
29+
30+
[500]: https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/500
31+
32+
[504]: https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/504
33+
34+
[json api document]: /terraform/cloud-docs/api-docs#json-api-documents
35+
36+
[json api error object]: https://jsonapi.org/format/#error-objects
637

738
# Variable sets API reference
839

@@ -32,10 +63,7 @@ Properties without a default value are required.
3263
| `data.attributes.priority` | boolean | `false` | When true, the variables in the set override any other variable values with a more specific scope, including values set on the command line. |
3364
| `data.relationships.workspaces` | array | `[]` | Array of references to workspaces that the variable set should be assigned to. |
3465
| `data.relationships.projects` | array | `[]` | Array of references to projects that the variable set should be assigned to. |
35-
| `data.relationships.vars` | array | `[]` | Array of complete variable definitions that comprise the variable set. |
36-
| `data.relationships.workspaces` | array | `[]` | Array of references to workspaces that the variable set should be assigned to. |
37-
| `data.relationships.projects` | array | `[]` | Array of references to projects that the variable set should be assigned to. |
38-
| `data.relationships.stacks` | array | `[]` | Array of references to Stacks that HCP Terraform assigns the variable set to. |
66+
| `data.relationships.stacks` | array | `[]` | Array of references to Stacks that HCP Terraform assigns the variable set to. Only available in HCP Terraform. |
3967
| `data.relationships.vars` | array | `[]` | Array of complete variable definitions that comprise the variable set. |
4068
| `data.relationships.parent` | object | Organization that the variable set belongs to | The parent that owns this variable set. If the parent is a project, `data.attributes.global` must be `false`. |
4169
| `data.relationships.parent.data.type` | string | `"organizations"` | The resource type of the parent that owns this variable set. Valid values are `organizations` or `projects`. |
@@ -196,7 +224,7 @@ HCP Terraform does not allow you to change the parent organization or project of
196224
| `data.attributes.priority` | boolean | `false` | When true, the variables in the set override any other variable values set with a more specific scope, including values set on the command line. |
197225
| `data.relationships.workspaces` | array | | **Optional** Array of references to workspaces that the variable set should be assigned to. Sending an empty array clears all workspace assignments. |
198226
| `data.relationships.projects` | array | | **Optional** Array of references to projects that the variable set should be assigned to. Sending an empty array clears all project assignments. |
199-
| `data.relationships.stacks` | array | | **Optional** Array of references to Stacks that HCP Terraform assigns the variable set to. Sending an empty array clears all Stack assignments. |
227+
| `data.relationships.stacks` | array | | **Optional** Array of references to Stacks that HCP Terraform assigns the variable set to. Sending an empty array clears all Stack assignments. Only available in HCP Terraform. |
200228
| `data.relationships.vars` | array | | **Optional** Array of complete variable definitions to add to the variable set. |
201229

202230
| Status | Response | Reason(s) |
@@ -1035,6 +1063,8 @@ curl \
10351063
https://app.terraform.io/api/v2/varsets/varset-kjkN545LH2Sfercv/relationships/projects
10361064
```
10371065

1066+
<!-- BEGIN: TFC:only name:stacks-tfe -->
1067+
10381068
## Apply Variable Set to Stacks
10391069

10401070
Accepts a list of Stacks to assign this variable set to.
@@ -1133,39 +1163,7 @@ curl \
11331163
https://app.terraform.io/api/v2/varsets/varset-kjkN545LH2Sfercv/relationships/stacks
11341164
```
11351165

1136-
1137-
[200]: https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/200
1138-
1139-
[201]: https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/201
1140-
1141-
[202]: https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/202
1142-
1143-
[204]: https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/204
1144-
1145-
[400]: https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/400
1146-
1147-
[401]: https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/401
1148-
1149-
[403]: https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/403
1150-
1151-
[404]: https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/404
1152-
1153-
[409]: https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/409
1154-
1155-
[412]: https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/412
1156-
1157-
[422]: https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/422
1158-
1159-
[429]: https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/429
1160-
1161-
[500]: https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/500
1162-
1163-
[504]: https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/504
1164-
1165-
[json api document]: /terraform/cloud-docs/api-docs#json-api-documents
1166-
1167-
[json api error object]: https://jsonapi.org/format/#error-objects
1168-
1166+
<!-- END: TFC:only name:stacks-tfe -->
11691167

11701168
## Available Related Resources
11711169

0 commit comments

Comments
 (0)