Skip to content

Commit 78d160c

Browse files
authored
Merge branch 'main' into gm/oraclepluginversionsupdate
2 parents 26730d6 + c6d9f7d commit 78d160c

File tree

16 files changed

+104
-21
lines changed

16 files changed

+104
-21
lines changed

content/terraform-docs-common/docs/cloud-docs/api-docs/oauth-clients.mdx

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -376,6 +376,7 @@ This PATCH endpoint requires a JSON object with the following properties as a re
376376
| `data.attributes.secret` | string | (previous value) | The OAuth client secret. For Bitbucket Data Center, this secret is the text of the SSH private key associated with your Bitbucket Data Center application link. |
377377
| `data.attributes.rsa-public-key` | string | (previous value) | **Required for Bitbucket Data Center in conjunction with the `secret`. Not used for any other providers.** The text of the SSH public key associated with your Bitbucket Data Center application link. |
378378
| `data.attributes.organization-scoped` | boolean | (previous value) | Whether or not the OAuth client is available to all projects and workspaces in the organization. |
379+
| `data.attributes.oauth-token-string` | string | (previous value) | The personal access token string. Set this field to update the token when rotating credentials. Updating this value does not trigger new runs, and HCP Terraform uses the new token for all subsequent runs. |
379380
| `data.relationships.projects` | array\[object] | (previous value) | A list of resource identifier objects that defines which projects are associated with the OAuth client. If `data.attributes.organization-scoped` is set to `false`, the OAuth client is only available to this list of projects. Each object in this list must contain a project `id` and use the `"projects"` type. For example, `{ "id": "prj-AwfuCJTkdai4xj9w", "type": "projects" }`. Sending an empty array clears all project assignments. |
380381
| `data.relationships.agent-pool.data` | object | `{}` | The Agent Pool associated to the VCS connection. This pool will be responsible for forwarding VCS Provider API calls and cloning VCS repositories. |
381382

@@ -389,7 +390,8 @@ This PATCH endpoint requires a JSON object with the following properties as a re
389390
"attributes": {
390391
"key": "key",
391392
"secret": "secret",
392-
"organization-scoped": false
393+
"organization-scoped": false,
394+
"oauth-token-string": "74653028376f0009d0ed81f1b654ac17a"
393395
},
394396
"relationships": {
395397
"projects": {

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

Lines changed: 8 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,7 @@
11
---
22
page_title: Migrate Terraform state to HCP Terraform or Terraform Enterprise
33
description: >-
4-
Learn how to migrate existing Terraform state to HCP Terraform or Terraform Enterprise so that you can manage
5-
existing infrastructure without de-provisioning.
4+
Learn how to migrate existing Terraform state to HCP Terraform or Terraform Enterprise using the CLI, API, or tf-migrate.
65
---
76

87
# Migrate Terraform state to HCP Terraform or Terraform Enterprise
@@ -14,13 +13,13 @@ This topic describes how to migrate existing Terraform state files to HCP Terraf
1413
Perform the following actions to migrate existing resources to one or more workspaces in HCP Terraform or Terraform Enterprise:
1514

1615
1. Stop all Terraform operations associated with the state files.
17-
1. Migrate Terraform state files using either the Terraform CLI or the HCP Terraform or Terraform Enterprise API.
16+
1. Migrate Terraform state files to HCP Terraform or Terraform Enterprise.
1817

1918
You have three options to migrate your state:
2019

2120
1. Manually using the Terraform CLI
22-
1. Automatically using `tf-migrate`
2321
1. Manually using the HCP Terraform API
22+
1. Automatically using `tf-migrate`
2423

2524
## Requirements
2625

@@ -60,10 +59,6 @@ Stop all Terraform operations associated with the state files. This may require
6059

6160
1. Run `terraform init`. Terraform creates any workspaces specified in the configuration if they do not already exist in the organization.
6261

63-
## Migrate state using Terraform migrate
64-
65-
You can use the Terraform migrate CLI tool to automatically migrate state to HCP Terraform and Terraform Enterprise. The tool does not ship with HCP Terraform. You must download and install the binary for the CLI tool separately. Refer to the [Terraform migrate documentation](/terraform/migrate) for more information.
66-
6762
## Migrate state using the API
6863

6964
1. Encode your state files as a base64 string and generate an MD5 hash. The following example generates the string and hash file for a single `terraform.tfstate` file:
@@ -89,6 +84,9 @@ You can use the Terraform migrate CLI tool to automatically migrate state to HCP
8984
Refer to the following external article for an example of how to create a script in Python to automate multiple state files:
9085
[Migrating A Lot of State with Python and the HCP Terraform (previously Terraform Cloud) API](https://medium.com/hashicorp-engineering/migrating-a-lot-of-state-with-python-and-the-terraform-cloud-api-997ec798cd11). The example uses the [Workspaces API](/terraform/cloud-docs/api-docs/workspaces#create-a-workspace) to create the necessary workspaces in HCP Terraform and the [State Versions API](/terraform/cloud-docs/api-docs/state-versions) to migrate the state files to those workspaces.
9186

92-
## Migrate state using Terraform migrate
9387

94-
You can use the Terraform migrate CLI tool to automatically migrate state to HCP Terraform and Terraform Enterprise. The tool does not ship with HCP Terraform. You must download and install the binary for the CLI tool separately. Refer to the [Terraform migrate documentation](/terraform/cloud-docs/migrate/tf-migrate) for more information.
88+
## Migrate state using `tf-migrate`
89+
90+
> **Hands-on:** Complete the [Migrate to HCP Terraform in bulk](/terraform/tutorials/cloud/bulk-migrate-hcp) tutorial to get started with tf-migrate.
91+
92+
You can use the `tf-migrate` CLI tool to automatically migrate state to HCP Terraform and Terraform Enterprise. The tool does not ship with HCP Terraform. You must download and install the binary for the CLI tool separately. Refer to the [`tf-migrate` documentation](/terraform/migrate) for more information.

content/vault/v1.16.x/content/docs/platform/k8s/helm/index.mdx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,8 @@ This page assumes general knowledge of [Helm](https://helm.sh/) and
2020
how to use it. Using Helm to install Vault requires that Helm is
2121
properly installed and configured with your Kubernetes cluster.
2222

23+
@include 'kubernetes-supported-versions.mdx'
24+
2325
## Using the helm chart
2426

2527
Helm must be installed and configured on your machine. Please refer to the [Helm

content/vault/v1.16.x/content/partials/kubernetes-supported-versions.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,10 @@ The following [Kubernetes minor releases][k8s-releases] are currently supported.
44
The latest version is tested against each Kubernetes version. It may work with
55
other versions of Kubernetes, but those are not supported.
66

7+
* 1.33
78
* 1.32
89
* 1.31
910
* 1.30
1011
* 1.29
11-
* 1.28
1212

1313
[k8s-releases]: https://kubernetes.io/releases/

content/vault/v1.18.x/content/api-docs/secret/ldap.mdx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,8 @@ to search and change entry passwords in LDAP.
4242
to use to generate passwords. Note that this accepts the name of the policy, not the policy itself.
4343
- `schema` `(string: "openldap")` - The LDAP schema to use when storing entry passwords.
4444
Valid schemas include `openldap`, `ad`, and `racf`.
45+
- `credential_type` `(string: "password")` - The type of password to generate. Valid values include `password` and `phrase`.
46+
When set to `phrase`, the secrets engine will modify the RACF schema for all static roles to manage password phrases instead of passwords.
4547
- `userdn` `(string: <optional>)` - The base DN under which to perform user search in
4648
[library management](/vault/api-docs/secret/ldap#library-management) and [static roles](/vault/api-docs/secret/ldap#static-roles).
4749
For example, `ou=Users,dc=hashicorp,dc=com`.

content/vault/v1.18.x/content/docs/platform/k8s/helm/index.mdx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,8 @@ This page assumes general knowledge of [Helm](https://helm.sh/) and
1919
how to use it. Using Helm to install Vault requires that Helm is
2020
properly installed and configured with your Kubernetes cluster.
2121

22+
@include 'kubernetes-supported-versions.mdx'
23+
2224
## Using the helm chart
2325

2426
Helm must be installed and configured on your machine. Please refer to the [Helm

content/vault/v1.18.x/content/partials/kubernetes-supported-versions.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,10 @@ The following [Kubernetes minor releases][k8s-releases] are currently supported.
44
The latest version is tested against each Kubernetes version. It may work with
55
other versions of Kubernetes, but those are not supported.
66

7+
* 1.33
78
* 1.32
89
* 1.31
910
* 1.30
1011
* 1.29
11-
* 1.28
1212

1313
[k8s-releases]: https://kubernetes.io/releases/

content/vault/v1.19.x/content/api-docs/secret/ldap.mdx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,8 @@ to search and change entry passwords in LDAP.
4242
to use to generate passwords. Note that this accepts the name of the policy, not the policy itself.
4343
- `schema` `(string: "openldap")` - The LDAP schema to use when storing entry passwords.
4444
Valid schemas include `openldap`, `ad`, and `racf`.
45+
- `credential_type` `(string: "password")` - The type of password to generate. Valid values include `password` and `phrase`.
46+
When set to `phrase`, the secrets engine will modify the RACF schema for all static roles to manage password phrases instead of passwords.
4547
- `userdn` `(string: <optional>)` - The base DN under which to perform user search in
4648
[library management](/vault/api-docs/secret/ldap#library-management) and [static roles](/vault/api-docs/secret/ldap#static-roles).
4749
For example, `ou=Users,dc=hashicorp,dc=com`.

content/vault/v1.19.x/content/docs/deploy/kubernetes/helm/index.mdx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,8 @@ This page assumes general knowledge of [Helm](https://helm.sh/) and
1919
how to use it. Using Helm to install Vault requires that Helm is
2020
properly installed and configured with your Kubernetes cluster.
2121

22+
@include 'kubernetes-supported-versions.mdx'
23+
2224
## Using the Helm chart
2325

2426
Helm must be installed and configured on your machine. Please refer to the [Helm

content/vault/v1.19.x/content/partials/kubernetes-supported-versions.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,10 @@ The following [Kubernetes minor releases][k8s-releases] are currently supported.
44
The latest version is tested against each Kubernetes version. It may work with
55
other versions of Kubernetes, but those are not supported.
66

7+
* 1.33
78
* 1.32
89
* 1.31
910
* 1.30
1011
* 1.29
11-
* 1.28
1212

1313
[k8s-releases]: https://kubernetes.io/releases/

0 commit comments

Comments
 (0)