Open shengjun-zh opened 1 year ago
Thank you for reporting the issue. We observed the affected resources are not provided in the description or it's incorrect. We request you to add it in issue description as mentioned in below format. Example: affected_resources = oci_core_instance , oci_core_instances
If it's not related to any particular resource then mention affected resource as terraform. Example: affected_resources = terraform
As this works through automation, request you to follow exact syntax.
affected_resources = oci_identity_compartment , oci_cloud_guard_security_recipe, oci_sch_service_connector
I am using Resource Manager to create some resources in OCI, and there was an error says "Compartment OCID not found in Compartment Tree". But the log shows this compartment has been created before.(please refer the log below)
Compartment Created at 2023/06/29 07:21:44:
ERROR occurred at 2023/06/29 07:23:22:
In terraform config file, these error resources are configured to refer the created compartment id, so terraform could handle the dependence automatically.
I tested several times, this error didn't happen every time. And even this error happened, the related resources changes. (Not always sch_service_connector and cloud_guard_security_recipe as in the log above.
Please help on this, thanks a lot!
affected_resources = oci_identity_compartment , oci_cloud_guard_security_recipe, oci_sch_service_connector