Generate Terraform for a whole compartment
generate_compartment_terraformDiscover all resources in an OCI compartment and generate a Terraform module with provider variables and one block per resource, including annotated skeletons for unrecognized types.
Instructions
Discover every resource in a compartment and emit a Terraform module (provider variables + one block per resource) to reproduce it. Unrecognised types become annotated skeletons.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| compartmentId | Yes | Compartment OCID |