Skip to content

Commit 9d76b7b

Browse files
authored
Finally get to the changes from last TFE release (#470)
2 parents d4a2dca + 5dcec6a commit 9d76b7b

File tree

10 files changed

+40
-54
lines changed

10 files changed

+40
-54
lines changed

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

Lines changed: 10 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -11,22 +11,25 @@ Keep track of changes to the API for HCP Terraform and Terraform Enterprise.
1111

1212
## 2025-05-1
1313
* Add `agent-pool` relationship to the [run task API](/terraform/cloud-docs/api-docs/run-tasks/run-tasks), which you can use to assign a run task to an agent pool.
14+
<!-- BEGIN: TFC:only name:premium -->
1415
* Add `private-run-tasks` to [feature entitlements](/terraform/cloud-docs/api-docs#feature-entitlements).
15-
<!-- BEGIN: TFC:only name:revoke -->
16+
<!-- END: TFC:only name:premium -->
1617
* You can now revoke, and revert the revocation of, module versions. Learn more about [Managing module versions](/terraform/cloud-docs/api-docs/private-registry/manage-module-versions).
17-
<!-- END: TFC:only name:revoke -->
18+
1819
## 2025-4-17
1920
* Document inherited-from link associated with effective tag bindings.
2021

2122
## 2025-03-20
22-
* Add API documentation for multiple [team tokens](/terraform/cloud-docs/api-docs/api-tokens), and update documentation around [legacy team tokens](/terraform/cloud-docs/api-docs/team-tokens##legacy-team-tokens-api-reference).
23+
* Add API documentation for multiple [team tokens](/terraform/cloud-docs/users-teams-organizations/api-tokens#team-api-tokens), and update documentation around [legacy team tokens](/terraform/cloud-docs/api-docs/team-tokens##legacy-team-tokens-api-reference).
2324
* Update existing API documentation for [team tokens](/terraform/cloud-docs/api-docs/team-tokens) to distinguish multiple team tokens from [legacy team tokens](/terraform/cloud-docs/api-docs/team-tokens##legacy-team-tokens-api-reference).
2425

2526
## 2025-3-10
2627
* Document unique pagination metadata given in the response of [Organization Runs Index API](/terraform/cloud-docs/api-docs/run##list-runs-in-an-organization).
2728

29+
<!-- BEGIN: TFC:only name:explorer -->
2830
## 2025-03-10
2931
* Add new field `current_rum_count` to the [explorer API](/terraform/cloud-docs/api-docs/explorer) in the `workspaces` view type that lists a workspace's current resources under management.
32+
<!-- END: TFC:only name:explorer -->
3033

3134
## 2024-11-19
3235

@@ -230,7 +233,7 @@ This endpoint is exclusive to Terraform Enterprise, and not available in HCP Ter
230233

231234
## 2023-04-25
232235

233-
* Add the `version-id` property to the response for the Create, List, and Update [Workspace Variables endpoints](/terraform/cloud-docs/api-docs/workspaces-variables).
236+
* Add the `version-id` property to the response for the Create, List, and Update [Workspace Variables endpoints](terraform/cloud-docs/api-docs/variables).
234237

235238
## 2023-03-30
236239

@@ -318,12 +321,12 @@ This endpoint is exclusive to Terraform Enterprise, and not available in HCP Ter
318321
### 2022-07-26
319322

320323
* Updated the [Run status list](/terraform/cloud-docs/api-docs/run#run-states) with `fetching`, `queuing`, `pre_plan_running` and `pre_plan_completed`
321-
* Update [Run Tasks](/terraform/cloud-docs/api-docs/run-tasks.mdx) to include the new `stages` attribute when attaching or updating workspace tasks.
324+
* Update [Run Tasks](/terraform/cloud-docs/api-docs/run-tasks/run-tasks) to include the new `stages` attribute when attaching or updating workspace tasks.
322325
* Updated [Run Tasks Integration](/terraform/cloud-docs/api-docs/run-tasks/run-tasks-integration) to specify the different request payloads for different stages.
323326

324327
### 2022-06-23
325328
<!-- BEGIN: TFC:only name:health-assessments -->
326-
* Added the [Assessments](/terraform/cloud-docs/api-docs/assessments).
329+
* Added the [Assessments](/terraform/cloud-docs/api-docs/assessment-results).
327330
* Updated [Workspace](/terraform/cloud-docs/api-docs/workspaces#create-a-workspace) and
328331
[Notification Configurations](/terraform/cloud-docs/api-docs/notification-configurations#notification-triggers) to account for assessments.
329332
<!-- END: TFC:only name:health-assessments -->
@@ -340,7 +343,7 @@ This endpoint is exclusive to Terraform Enterprise, and not available in HCP Ter
340343

341344
### 2022-06-17
342345
* Updated [Creating a Run Task](/terraform/cloud-docs/workspaces/settings/run-tasks#creating-a-run-task) section to include the new description information for the run task to be configured.
343-
* Update [Run Tasks](/terraform/cloud-docs/api-docs/run-tasks.mdx) to include the new description attribute.
346+
* Update [Run Tasks](/terraform/cloud-docs/api-docs/run-tasks/run-tasks) to include the new description attribute.
344347

345348
### 2022-06-09
346349

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

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,8 +94,10 @@ The following entitlements are available:
9494
- `policy-enforcement` — Allows an organization to use [Sentinel][]. Affects the [policies][], [policy sets][], and [policy checks][] endpoints.
9595
- `private-module-registry` — Allows an organization to publish and use modules with the [private module registry][]. Affects the [registry modules][] endpoints.
9696
- `private-policy-agents` - Allows an organization to ensure that HTTP enabled [Sentinel][] and OPA [policies][] can communicate with isolated, private, or on-premises infrastructure.
97+
<!-- BEGIN: TFC:only name:premium -->
9798
- `private-run-tasks` - Allows an organization to ensure that [run tasks](/terraform/cloud-docs/workspaces/settings/run-tasks) can communicate with isolated, private, or on-premises infrastructure.
9899
- `private-vcs` - Allows a self-hosted HCP Terraform agent to [connect to a private VCS provider](/terraform/cloud-docs/vcs/private) without having to expose that provider to the public internet.
100+
<!-- END: TFC:only name:premium -->
99101
- `run-tasks` — Allows an organization to use [run tasks](/terraform/cloud-docs/workspaces/settings/run-tasks). Affects the [run tasks][] endpoints.
100102
- `self-serve-billing` — Allows an organization to pay via credit card using the in-app billing UI.
101103
- `sentinel` - **DEPRECATED** Use `policy-enforcement` instead.
@@ -337,7 +339,7 @@ $ curl \
337339

338340
## Rate Limiting
339341

340-
You can make up to 30 requests per second to most API endpoints as an authenticated or unauthenticated request. If you reach the rate limit then your access will be throttled and an error response will be returned.
342+
You can make up to 30 requests per second to most API endpoints as an authenticated or unauthenticated request. If you reach the rate limit then your access will be throttled and an error response will be returned.
341343

342344
Requests are per user, not per token. As a result, you cannot use multiple tokens to make more than 30 requests per second.
343345

content/terraform-docs-common/docs/cloud-docs/api-docs/private-registry/manage-module-versions.mdx

Lines changed: 4 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -40,26 +40,18 @@ description: |-
4040

4141
Use the module version management API endpoints to deprecate, revoke, and revert of status of module versions in your organization’s private registry.
4242

43-
<>{/* TODO: remove revoke references here */}</>
44-
4543
<!-- BEGIN: TFC:only name:pnp-callout -->
4644
@include "tfc-package-callouts/manage-module-versions.mdx"
4745
<!-- END: TFC:only name:pnp-callout -->
4846

4947
## Overview
5048

51-
<>{/* TODO: remove revoke references here */}</>
52-
5349
As part of the module lifecycle, you can deprecate or revoke older module versions as you stop supporting them, signaling to module consumers that they need to upgrade to newer versions.
5450

5551
When you deprecate a module version, HCP Terraform adds warnings to the module's registry page and to run outputs when anyone uses the deprecated version. After deprecating a module version, you can revert that deprecated status to remove the warnings from that version in the registry and outputs.
5652

57-
<!-- BEGIN: TFC:only name:revoke -->
58-
5953
Revoking a module version adds warnings to the module's registry page, warnings in the run outputs of existing users, and blocks new users from using that version. Reverting a module version’s revocation sets the module version back to a deprecated state.
6054

61-
<!-- END: TFC:only name:revoke -->
62-
6355
For more details on deprecating or revoking module versions, refer to [Manage module versions](/terraform/cloud-docs/registry/manage-module-versions).
6456

6557
## Deprecate a module version
@@ -80,7 +72,7 @@ This endpoint allows you to deprecate a specific module version. Deprecating a m
8072

8173
| Status | Response | Reason |
8274
| :---- | :---- | :---- |
83-
| [200](https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/200) | [JSON API document](http://terraform/cloud-docs/api-docs#json-api-documents) | Successfully deprecated a module version. |
75+
| [200](https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/200) | [JSON API document](/terraform/cloud-docs/api-docs#json-api-documents) | Successfully deprecated a module version. |
8476
| [404](https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/404) | [JSON API error object](http://jsonapi.org/format/#error-objects) | This organization is not authorized to deprecate this module version, or the module version does not exist. |
8577
| [422](https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/422) | [JSON API error object](http://jsonapi.org/format/#error-objects) | Malformed request body, for example the request is missing attributes or uses the wrong types. |
8678
| [500](https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/500) or [503](https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/503) | [JSON API error object](http://jsonapi.org/format/#error-objects) | Failure occurred while deprecating a module version. |
@@ -160,7 +152,7 @@ Deprecating a module version adds warnings to the run output of any consumers us
160152

161153
| Status | Response | Reason |
162154
| :---- | :---- | :---- |
163-
| [200](https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/200) | [JSON API document](http:///terraform/cloud-docs/api-docs#json-api-documents) | Successfully reverted a module version’s deprecation status and reinstated that version. |
155+
| [200](https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/200) | [JSON API document](/terraform/cloud-docs/api-docs#json-api-documents) | Successfully reverted a module version’s deprecation status and reinstated that version. |
164156
| [404](https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/404) | [JSON API error object](http://jsonapi.org/format/#error-objects) | This organization is not authorized to revert the depreciation of this module version, or the module version does not exist. |
165157
| [422](https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/422) | [JSON API error object](http://jsonapi.org/format/#error-objects) | Malformed request body, for example the request is missing attributes or uses the wrong types. |
166158
| [500](https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/500) or [503] | [JSON API error object](http://jsonapi.org/format/#error-objects) | Failure occurred while reverting the deprecation of a module version. |
@@ -281,8 +273,6 @@ The response includes multiple versions, and each version has a `deprecation` ke
281273
}
282274
```
283275

284-
<!-- BEGIN: TFC:only name:revoke -->
285-
286276
## Revoke a module version
287277

288278
Use this endpoint to revoke a module version. You must [deprecate a module version](#deprecate-a-module-version) before you can revoke it.
@@ -300,7 +290,7 @@ This endpoint allows you to revoke a specific module version. Revoking a module
300290

301291
| Status | Response | Reason |
302292
| :---- | :---- | :---- |
303-
| [200](https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/200) | [JSON API document](http://terraform/cloud-docs/api-docs#json-api-documents) | Successfully revoked a module version. |
293+
| [200](https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/200) | [JSON API document](/terraform/cloud-docs/api-docs#json-api-documents) | Successfully revoked a module version. |
304294
| [404](https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/404) | [JSON API error object](http://jsonapi.org/format/#error-objects) | This organization is not authorized to revoke this module version, or the module version does not exist. |
305295
| [422](https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/422) | [JSON API error object](http://jsonapi.org/format/#error-objects) | Malformed request body, for example the request is missing attributes or uses the wrong types. |
306296
| [500](https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/500) or [503](https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/503) | [JSON API error object](http://jsonapi.org/format/#error-objects) | Failure occurred while revoking a module version. |
@@ -386,7 +376,7 @@ When you revert the revocation of a module version, HCP Terraform sets that vers
386376

387377
| Status | Response | Reason |
388378
| :---- | :---- | :---- |
389-
| [200](https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/200) | [JSON API document](http:///terraform/cloud-docs/api-docs#json-api-documents) | Successfully reverted a module version’s revocation status and deprecated that version. |
379+
| [200](https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/200) | [JSON API document](/terraform/cloud-docs/api-docs#json-api-documents) | Successfully reverted a module version’s revocation status and deprecated that version. |
390380
| [404](https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/404) | [JSON API error object](http://jsonapi.org/format/#error-objects) | This organization is not authorized to revert the revocation of this module version, or the module version does not exist. |
391381
| [422](https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/422) | [JSON API error object](http://jsonapi.org/format/#error-objects) | Malformed request body, for example the request is missing attributes or uses the wrong types. |
392382
| [500](https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/500) or [503] | [JSON API error object](http://jsonapi.org/format/#error-objects) | Failure occurred while reverting the revocation of a module version. |
@@ -525,5 +515,3 @@ The response includes the revoked versions of this module in the `revoked-versio
525515
},
526516
}
527517
```
528-
529-
<!-- END: TFC:only name:revoke -->

content/terraform-docs-common/docs/cloud-docs/api-docs/run-tasks/run-tasks-integration.mdx

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,12 @@ Refer to [run tasks](/terraform/cloud-docs/api-docs/run-tasks/run-tasks) for the
2727

2828
When a run reaches the appropriate phase and a run task is triggered, HCP Terraform will send a request to the run task's URL.
2929

30+
<!-- BEGIN: TFC:only name:premium -->
31+
3032
Either HCP Terraform itself, or a self-hosted HCP Terraform agent using [request forwarding](/terraform/cloud-docs/agents/request-forwarding) can make the request to a run task's URL. Your organization [must be entitled to `private-run-tasks`](/terraform/cloud-docs/api-docs#feature-entitlements) to use request forwarding.
33+
34+
<!-- END: TFC:only name:premium -->
35+
3136
The service receiving the run task request should respond with `200 OK`, or HCP Terraform will retry to trigger the run task.
3237

3338
`POST :url`

content/terraform-docs-common/docs/cloud-docs/api-docs/run-tasks/run-tasks.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ Properties without a default value are required unless otherwise specified.
8888
| `data.attributes.global-configuration.enabled` | bool | false | (Optional) Whether the task will be associated on all workspaces. |
8989
| `data.attributes.global-configuration.stages` | array | | (Optional) An array of strings representing the stages of the run lifecycle when the run task should begin. Must be one or more of `"pre_plan"`, `"post_plan"`, `"pre_apply"`, or `"post_apply"`. |
9090
| `data.attributes.global-configuration.enforcement-level` | string | | (Optional) The enforcement level of the workspace task. Must be `"advisory"` or `"mandatory"`. |
91-
| `data.relationships.agent-pool.data.id` | string | | (Optional) The agent pool that HCP Terraform uses to make requests for the run task. Requires the [`private_run_tasks` feature entitlement](/terraform/cloud-docs/api-docs#feature-entitlements) and a self-hosted HCP Terraform agent with [request forwarding](/terraform/cloud-docs/agents/request-forwarding). |
91+
| `data.relationships.agent-pool.data.id` | string | | (Optional) The agent pool that HCP Terraform uses to make requests for the run task. Requires [HCP Terraform Premium plan](https://www.hashicorp.com/en/pricing?tab=terraform), the [`private_run_tasks` feature entitlement](/terraform/cloud-docs/api-docs#feature-entitlements), and a self-hosted HCP Terraform agent with [request forwarding](/terraform/cloud-docs/agents/request-forwarding). |
9292

9393
### Sample Payload
9494

content/terraform-docs-common/docs/cloud-docs/integrations/kubernetes/setup.mdx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,13 +6,13 @@ description: >-
66

77
# Set up the HCP Terraform Operator for Kubernetes
88

9-
The HCP Terraform Operator for Kubernetes' CustomResourceDefinitions (CRD) allow you to dynamically create HCP Terraform workspaces with Terraform modules, populate workspace variables, and provision infrastructure with Terraform runs.
9+
The HCP Terraform Operator for Kubernetes' CustomResourceDefinitions (CRD) allow you to dynamically create HCP Terraform workspaces with Terraform modules, populate workspace variables, and provision infrastructure with Terraform runs.
1010

1111
You can install the operator with the official [HashiCorp Helm chart](https://github.com/hashicorp/hcp-terraform-operator).
1212

1313
## Prerequisites
1414

15-
All HCP Terraform users can use the HCP Terraform Operator for Kubernetes. You can use the operator to manage the supported features that your organization's pricing tier enables.
15+
All HCP Terraform users can use the HCP Terraform Operator for Kubernetes. You can use the operator to manage the supported features that your organization's pricing tier enables.
1616

1717

1818
## Networking requirements
@@ -72,7 +72,7 @@ The HCP Terraform Operator for Kubernetes supports the following versions:
7272

7373
```shell-session
7474
$ helm install --namespace ${RELEASE_NAMESPACE} hashicorp/hcp-terraform-operator tfc-operator
75-
```
75+
```
7676
When deploying in self-managed Terraform Enterprise, you must set the `operator.tfeAddress` to the specific hostname of the Terraform Enterprise instance:
7777

7878
```shell-session
@@ -99,6 +99,6 @@ The HCP Terraform Operator for Kubernetes supports the following versions:
9999

100100
When a new version of the HCP Terraform Operator for Kubernetes Helm Chart is available from the HashiCorp Helm repository, you can upgrade with the following command.
101101

102-
```
102+
```shell-session
103103
helm upgrade --namespace ${RELEASE_NAMESPACE} hashicorp/hcp-terraform-operator tfc-operator
104104
```

content/terraform-docs-common/docs/cloud-docs/registry/index.mdx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,9 @@ HCP Terraform's private registry works similarly to the [public Terraform Regist
1313

1414
[Public modules and providers](/terraform/cloud-docs/registry/add) are hosted on the public Terraform Registry and HCP Terraform can automatically synchronize them to an organization's private registry. This lets you clearly designate which public providers and modules are recommended for the organization and makes their supporting documentation and examples centrally accessible.
1515

16+
<!-- BEGIN: TFC:only name:namespaces -->
1617
For more information about publishing artifacts to the public registry with an HCP Terraform organization, refer to [Namespaces](/terraform/cloud-docs/public-namespace).
18+
<!-- END: TFC:only name:namespaces -->
1719

1820
-> **Note:** Your Terraform Enterprise instance must allow access to `registry.terraform.io`, `https://yy0ffni7mf-dsn.algolia.net/` and `github.com`.
1921

0 commit comments

Comments
 (0)