Moving a Workspace to a Different Compartment
Move a Data Integration workspace from one compartment to another.
When you move a workspace to a different compartment, all Data Integration resources within that workspace, such as data assets, data flows, tasks, and applications are also moved.
Before you move a workspace, ensure that you add the following policy. The policy ensures that you can check that the target compartment is in a good state after the workspace is moved.
allow service dataintegration to inspect compartments in compartment <target-compartment-name>
- Open the navigation menu and click Analytics & AI. Under Data Lake, click Data Integration.
- On the Data Integration service page, click Workspaces.
- On the Workspaces page, select the compartment that contains the workspace to move.
- From the Actions menu () for the workspace to move, select Move resource.
- In the Move resource dialog box, select the compartment to move the workspace to.
- Click Move resource.
After the workspace is moved to the new compartment, inherent policies apply immediately and affect access to the workspace. See Working with Compartments.
Use the oci data-integration workspace change-compartment command and required parameters to move a workspace to a specified compartment:
oci data-integration workspace change-compartment [OPTIONS]
For a complete list of flags and variable options for CLI commands, see the Command Line Reference.
Run the ChangeCompartment operation to move a workspace to a specified compartment.