You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: website/docs/guides/resource_discovery.html.markdown
+10-1Lines changed: 10 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -132,7 +132,16 @@ The generated `.tf` files contain the Terraform configuration with the resources
132
132
* 0.11
133
133
* 0.12
134
134
135
-
> **Note**: The compartment export functionality currently supports discovery of the target compartment. The ability to discover resources in child compartments is not yet supported.
135
+
| Arguments | Resources discovered |
136
+
| ----------| -------------------- |
137
+
| compartment_id = \<empty or tenancy ocid\> <br> services= \<empty\> or not specified | all tenancy and compartment scope resources <br> |
138
+
| compartment_id = \<empty or tenancy ocid\> <br> services= \<comma separated list of services\>| tenancy and compartment scope resources for the services specified |
139
+
| compartment_id = \<non-root compartment\> <br> services= \<empty\> or not specified | all compartment scope resources only |
140
+
| compartment_id = \<non-root compartment\> services=\<comma separated list of services\>| compartment scope resources for the services specified<br>tenancy scope resources will not be discovered even if services with such resources are specified |
141
+
142
+
> **Notes**:
143
+
* The compartment export functionality currently supports discovery of the target compartment. The ability to discover resources in child compartments is not yet supported.
144
+
* If using Instance Principals, resources can not be discovered if compartment_id is not specified
0 commit comments