oci-cli
oci-cli copied to clipboard
bug: oci cli doesn't respect delete protection lock set by terraform oci provider
when creating comparting using terraform oci provider resource, oci_identity_compartment, there is a default enable_delete = false setting to protect the compartment from being deleted. However, with the default setting, terraform cli cannot delete the compartment, oci cli doesn't respect the setting and still can delete the compartment.
Hi @luckeyca Thanks for reporting that. OCI CLI does not use the same config/setting that OCI Terraform is using, but we will look into adding this feature to CLI as well. Thanks