You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# Skipping the sweeper because we need to force-delete clusters.
64
66
exclude_sweeper: true
65
67
include_in_tgc_next: true
@@ -139,9 +141,17 @@ virtual_fields:
139
141
Policy to determine if the cluster should be deleted forcefully.
140
142
Deleting a cluster forcefully, deletes the cluster and all its associated instances within the cluster.
141
143
Deleting a Secondary cluster with a secondary instance REQUIRES setting deletion_policy = "FORCE" otherwise an error is returned. This is needed as there is no support to delete just the secondary instance, and the only way to delete secondary instance is to delete the associated secondary cluster forcefully which also deletes the secondary instance.
142
-
Possible values: DEFAULT, FORCE
144
+
145
+
When a 'terraform destroy' or 'terraform apply' would delete the resource,
146
+
the command will fail if this field is set to "PREVENT" in Terraform state.
147
+
When set to "ABANDON", the command will remove the resource from Terraform
148
+
management without updating or deleting the resource in the API.
149
+
When set to "DELETE", the command will behave as if set to "DEFAULT".
150
+
151
+
Possible values: DEFAULT, FORCE, PREVENT, ABANDON, DELETE
143
152
type: String
144
-
default_value: "DEFAULT"
153
+
#excluded from generation due to Universal Deletion Policy
154
+
exclude: true
145
155
- name: 'deletion_protection'
146
156
description: |
147
157
Whether Terraform will be prevented from destroying the cluster.
Policy to control how the repository and its child resources are deleted. When set to `FORCE`, any child resources of this repository will also be deleted. Possible values: `DELETE`, `FORCE`. Defaults to `DELETE`.
96
-
default_value: 'DELETE'
97
-
enum_values:
98
-
- 'DELETE'
99
-
- 'FORCE'
96
+
Policy to control how the repository and its child resources are deleted.
97
+
When set to `FORCE`, any child resources of this repository will also be deleted.
98
+
99
+
When a 'terraform destroy' or 'terraform apply' would delete the resource,
100
+
the command will fail if this field is set to "PREVENT" in Terraform state.
101
+
When set to "ABANDON", the command will remove the resource from Terraform
102
+
management without updating or deleting the resource in the API.
103
+
104
+
Possible values: `DELETE`, `FORCE`, 'PREVENT', 'ABANDON'. Defaults to `DELETE`.
105
+
#excluded from generation due to Universal Deletion Policy
0 commit comments