oracle-terraform-modules/terraform-oci-iam

modules/iam-compartment/README.md - contradiction on "enable_delete" flag

Closed this issue · 0 comments

aorcl commented

lines 7 to 8:

- `true`: terraform will only remove the compartment from the configuration (the actual OCI resource is not deleted, only the terraform representation is deleted
- `false`: terraform will actually delete the compartment from OCI.

line 52

enable_delete | If omitted or set to false the provider will implicitly import the compartment if there is a name collision, and will not actually delete the compartment on destroy or removal of the resource declaration. If set to true, the provider will throw an error on a name collision with another compartment, and will attempt to delete the compartment on destroy or removal of the resource declaration. | false