Adding Unmanaged Resources

Add existing resources to a stack in Resource Manager.

Note

Some steps in these instructions use Terraform CLI; most steps use the Oracle Cloud Infrastructure Console.
  1. Gather information about the unmanaged resources that you want to add: Note their OCIDs.

    Unmanaged resources are created outside Resource Manager.

    Tip

    You can generate a Terraform configuration that lists all resources in a compartment. For instructions, see Creating a Stack from an Existing Compartment.
  2. Manually update the downloaded Terraform configuration to include the unmanaged resource previously identified.

    If any unresolved drift remains in the drift detection report, address those differences in your manual update.

  3. Congratulations! You have successfully added previously unmanaged resources to the stack. The added resources are now managed by Resource Manager.

Was this article helpful?