Creating a Stack from an Existing Compartment

Using resource discovery, create a stack in Resource Manager based on an existing compartment to generate a Terraform configuration that describes the compartment's resources.

For more information about resource discovery, see Resource Discovery.

What to Do Next

You can download the generated Terraform configuration file. You can also re-create infrastructure in another compartment.

Note

Alternatively, you can view the generated Terraform configuration file in Code Editor. For more information, see Editing a Configuration Using Code Editor.

Was this article helpful?