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
+9Lines changed: 9 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -333,6 +333,15 @@ Example for specifying multiple filters
333
333
```
334
334
--filter="Type=oci_core_vcn" --filter="AttrName=dns_label;Value=test" // discover resources of type oci_core_vcn such that they have dns_label attribute value as test
335
335
```
336
+
### Discover all resources
337
+
338
+
If TF_DISCOVER_ALL_STATES is set to 1, then Resource Discovery will try to discover all resources irrespective of
339
+
their lifecycle state.
340
+
341
+
```
342
+
export TF_DISCOVER_ALL_STATES=1
343
+
```
344
+
336
345
337
346
### Supported Resources
338
347
As of this writing, the list of Terraform services and resources that can be discovered by the command is as follows.
0 commit comments