Skip to content

Commit 1f51b98

Browse files
Correct triple-negative documentation. (#12436) (#20494)
[upstream:3efe5e8d936af37f8512d3670812f0a06eb56f30] Signed-off-by: Modular Magician <[email protected]>
1 parent 9e85da5 commit 1f51b98

File tree

4 files changed

+9
-5
lines changed

4 files changed

+9
-5
lines changed

.changelog/12436.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
```release-note:note
2+
Corrected documentation for `deletion_protection` in Oracle and GKE clusters.
3+
```

google/services/oracledatabase/resource_oracle_database_cloud_vm_cluster.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -410,7 +410,7 @@ projects/{project}/locations/{region}/cloudVmClusters/{cloud_vm_cluster}`,
410410
"deletion_protection": {
411411
Type: schema.TypeBool,
412412
Optional: true,
413-
Description: `Whether or not to allow Terraform to destroy the instance. Unless this field is set to false in Terraform state, a terraform destroy or terraform apply that would delete the instance will fail.`,
413+
Description: `Whether Terraform will be prevented from destroying the cluster. Deleting this cluster via terraform destroy or terraform apply will only succeed if this field is false in the Terraform state.`,
414414
Default: true,
415415
},
416416
"project": {

website/docs/r/container_cluster.html.markdown

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -121,9 +121,10 @@ locations. In contrast, in a regional cluster, cluster master nodes are present
121121
in multiple zones in the region. For that reason, regional clusters should be
122122
preferred.
123123

124-
* `deletion_protection` - (Optional) Whether or not to allow Terraform to destroy
125-
the cluster. Unless this field is set to false in Terraform state, a
126-
`terraform destroy` or `terraform apply` that would delete the cluster will fail.
124+
* `deletion_protection` - (Optional) Whether Terraform will be prevented from
125+
destroying the cluster. Deleting this cluster via `terraform destroy` or
126+
`terraform apply` will only succeed if this field is `false` in the Terraform
127+
state.
127128

128129
* `addons_config` - (Optional) The configuration for addons supported by GKE.
129130
Structure is [documented below](#nested_addons_config).

website/docs/r/oracle_database_cloud_vm_cluster.html.markdown

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -209,7 +209,7 @@ The following arguments are supported:
209209
* `project` - (Optional) The ID of the project in which the resource belongs.
210210
If it is not provided, the provider project is used.
211211

212-
* `deletion_protection` - (Optional) Whether or not to allow Terraform to destroy the instance. Unless this field is set to false in Terraform state, a terraform destroy or terraform apply that would delete the instance will fail.
212+
* `deletion_protection` - (Optional) Whether Terraform will be prevented from destroying the cluster. Deleting this cluster via terraform destroy or terraform apply will only succeed if this field is false in the Terraform state.
213213

214214
<a name="nested_properties"></a>The `properties` block supports:
215215

0 commit comments

Comments
 (0)