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
[Feat.] CCE: deletion protection for cce clusters (#3318)
[Feat.] CCE: deletion protection for cce clusters
Summary of the Pull Request
Add enable_deletion_protection parameter to opentelekomcloud_cce_cluster_v3 resource
Add enable_deletion_protection attribute to CCE cluster data sources
PR Checklist
Refers to: #3300
Tests added/passed.
Documentation updated.
Schema updated.
Release notes added.
Acceptance Steps Performed
Resource test is skipped by default: the test framework always destroys resources after execution, which is expected to fail when deletion protection is enabled. The cluster must be deleted manually after running the test.
=== RUN TestAccCCEClusterV3DataSource_basic
=== PAUSE TestAccCCEClusterV3DataSource_basic
=== CONT TestAccCCEClusterV3DataSource_basic
--- PASS: TestAccCCEClusterV3DataSource_basic (446.07s)
PASS
Process finished with the exit code 0
Reviewed-by: Muneeb H. Jan <muneebhafeezjan@gmail.com>
Reviewed-by: Artem Lifshits
Reviewed-by: Anton Sidelnikov
*`enable_deletion_protection` - (Optional, Boolean, ForceNew) Enable cluster deletion protection. Only effective during cluster creation. Changing this parameter will create a new cluster resource.
305
+
304
306
*`custom_san` - (Optional, List) Specifies the custom san to add to certificate (array of string).
305
307
306
308
*`component_configurations` - (Optional, List) Specifies the kubernetes component configurations.
0 commit comments