Skip to content

Commit 3efe5e8

Browse files
Correct triple-negative documentation. (#12436)
1 parent 2f5a307 commit 3efe5e8

File tree

2 files changed

+7
-6
lines changed

2 files changed

+7
-6
lines changed

mmv1/products/oracledatabase/CloudVmCluster.yaml

+3-3
Original file line numberDiff line numberDiff line change
@@ -84,9 +84,9 @@ virtual_fields:
8484
- name: 'deletion_protection'
8585
type: Boolean
8686
default_value: true
87-
description: 'Whether or not to allow Terraform to destroy the instance.
88-
Unless this field is set to false in Terraform state, a terraform destroy
89-
or terraform apply that would delete the instance will fail.'
87+
description: 'Whether Terraform will be prevented from destroying the cluster.
88+
Deleting this cluster via terraform destroy or terraform apply will only
89+
succeed if this field is false in the Terraform state.'
9090
parameters:
9191
- name: 'location'
9292
type: String

mmv1/third_party/terraform/website/docs/r/container_cluster.html.markdown

+4-3
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).

0 commit comments

Comments
 (0)