Skip to content

Commit 8333b0a

Browse files
fix: add data_wo_version
1 parent 3f116bb commit 8333b0a

File tree

5 files changed

+998
-185
lines changed

5 files changed

+998
-185
lines changed

docs/resources/secret_version.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,8 @@ The following arguments are supported:
3838

3939
- `secret_id` - (Required) The ID of the secret associated with the version.
4040
- `data` - (Optional) The data payload of the secret version. Must not exceed 64KiB in size (e.g. `my-secret-version-payload`). Only one of `data` or `data_wo` should be specified. Find out more on the [data section](/#data-information).
41-
- `data_wo` - (Optional) The data payload of the secret version. Must not exceed 64KiB in size (e.g. `my-secret-version-payload`). Only one of `data` or `data_wo` should be specified. `data_wo` will not be set in the Terraform state. Find out more on the [data section](/#data-information).
41+
- `data_wo` - (Optional) The data payload of your secret version in [write-only](https://developer.hashicorp.com/terraform/language/manage-sensitive-data/write-only) mode. Must not exceed 64KiB in size (e.g. `my-secret-version-payload`). Only one of `data` or `data_wo` should be specified. `data_wo` will not be set in the Terraform state. To update the `data_wo`, you must also update the `data_wo_version`. Find out more on the [data section](/#data-information).
42+
- `data_wo_version` - (Optional) The version of the [write-only](https://developer.hashicorp.com/terraform/language/manage-sensitive-data/write-only) data. To update the `data_wo`, you must also update the `data_wo_version`.
4243
- `description` - (Optional) Description of the secret version (e.g. `my-new-description`).
4344
- `region` - (Defaults to the region specified in the [provider configuration](../index.md#region)). The [region](../guides/regions_and_zones.md#regions) where the resource exists.
4445

0 commit comments

Comments
 (0)