Skip to content

Commit f003551

Browse files
Update export-v2.md
1 parent 0ebae69 commit f003551

File tree

1 file changed

+3
-12
lines changed

1 file changed

+3
-12
lines changed

templates/guides/export-v2.md

Lines changed: 3 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -6,22 +6,13 @@ description: |-
66
---
77

88
## Export Utility
9+
Windows: `terraform-provider-dynatrace.exe -export [-ref] [-id] [-flat] [-exclude] [<resourcename>[=<id>]]`
910

10-
### Command Line Syntax
11-
Invoking the export functionality requires
12-
* The environment variable `DYNATRACE_ENV_URL` as the URL of your Dynatrace environment
13-
* The environment variable `DYNATRACE_API_TOKEN` as the API Token of your Dynatrace environment
14-
* Optionally the environment variable `DYNATRACE_TARGET_FOLDER`. If it's not set, the output folder `./configuration` is assumed
15-
16-
Windows: `terraform-provider-dynatrace.exe -export [-v] [-ref] [-id] [-migrate] [-exclude] [<resourcename>[=<id>]]`
17-
18-
Linux: `./terraform-provider-dynatrace -export [-v] [-ref] [-id] [-migrate] [-exclude] [<resourcename>[=<id>]]`
11+
Linux: `./terraform-provider-dynatrace -export [-ref] [-id] [-flat] [-exclude] [<resourcename>[=<id>]]`
1912
### Options
20-
* `-v` Enable verbose logging
2113
* `-ref` Enable resources with data sources and dependencies
2214
* `-id` Enable commented id output in resource files
23-
* `-migrate` Enable output specific to environment migration
24-
- Removes node IDs from private synthetic locations
15+
* `-flat` All downloaded resources end up directly within the target folder - no module structure will be created
2516
* `-exclude` Exclude specified resource(s) from export
2617

2718
**NOTE:** Dashboards (because there could be thousands of them) are currently excluded from the export unless the resource is directly specified in the command line arguments.

0 commit comments

Comments
 (0)