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
* Due to the complexity of dashboards, there may be cases where the `terraform apply` fails after an export. Dashboard validation will be improved in a future release.
Copy file name to clipboardExpand all lines: docs/resources/alerting.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -15,9 +15,9 @@ description: |-
15
15
16
16
## Export Example Usage
17
17
18
-
-`terraform-provider-dynatrace export dynatrace_alerting` downloads all existing alerting profiles configuration
18
+
-`terraform-provider-dynatrace -export dynatrace_alerting` downloads all existing alerting profiles configuration
19
19
20
-
The full documentation of the export feature is available [here](https://registry.terraform.io/providers/dynatrace-oss/dynatrace/latest/docs#exporting-existing-configuration-from-a-dynatrace-environment).
20
+
The full documentation of the export feature is available [here](https://registry.terraform.io/providers/dynatrace-oss/dynatrace/latest/docs/guides/export-v2).
Copy file name to clipboardExpand all lines: docs/resources/ansible_tower_notification.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -15,9 +15,9 @@ description: |-
15
15
16
16
## Export Example Usage
17
17
18
-
-`terraform-provider-dynatrace export dynatrace_ansible_tower_notification` downloads the existing Problem Notifications for Ansible Tower
18
+
-`terraform-provider-dynatrace -export dynatrace_ansible_tower_notification` downloads the existing Problem Notifications for Ansible Tower
19
19
20
-
The full documentation of the export feature is available [here](https://registry.terraform.io/providers/dynatrace-oss/dynatrace/latest/docs#exporting-existing-configuration-from-a-dynatrace-environment).
20
+
The full documentation of the export feature is available [here](https://registry.terraform.io/providers/dynatrace-oss/dynatrace/latest/docs/guides/export-v2).
The resource `dynatrace_api_token` covers configuration for API tokens
6
+
---
7
+
8
+
# dynatrace_api_token (Resource)
9
+
10
+
The token value can be retrieved with `dynatrace_api_token.<#name#>.token` after apply.
11
+
12
+
WARNING: The usage of `dynatrace_api_token` will introduce sensitive data within your Terraform state. The `token` property is flagged as `sensitive`, but the field will be stored as plain-text. More information can be found [here](https://developer.hashicorp.com/terraform/language/state/sensitive-data).
13
+
14
+
## Dynatrace Documentation
15
+
16
+
- Dynatrace API Tokens and authentication - https://www.dynatrace.com/support/help/dynatrace-api/basics/dynatrace-api-authentication
17
+
18
+
- Tokens API v2 - https://www.dynatrace.com/support/help/dynatrace-api/environment-api/tokens-v2
19
+
20
+
## Export Example Usage
21
+
22
+
-`terraform-provider-dynatrace -export dynatrace_api_token` downloads all existing API token configuration
23
+
24
+
The full documentation of the export feature is available [here](https://registry.terraform.io/providers/dynatrace-oss/dynatrace/latest/docs/guides/export-v2).
25
+
26
+
## Resource Example Usage
27
+
28
+
```terraform
29
+
resource "dynatrace_api_token" "#name#" {
30
+
name = "#name#"
31
+
enabled = false
32
+
# personal_access_token = false
33
+
scopes = [ "geographicRegions.read" ]
34
+
}
35
+
```
36
+
37
+
<!-- schema generated by tfplugindocs -->
38
+
## Schema
39
+
40
+
### Required
41
+
42
+
-`name` (String) The name of the token.
43
+
-`scopes` (Set of String) A list of the scopes to be assigned to the token.
44
+
45
+
### Optional
46
+
47
+
-`creation_date` (String) Token creation date in ISO 8601 format (yyyy-MM-dd'T'HH:mm:ss.SSS'Z')
48
+
-`enabled` (Boolean) The token is enabled (true) or disabled (false), default disabled (false).
49
+
-`expiration_date` (String) The expiration date of the token.
50
+
-`last_used_date` (String) Token last used date in ISO 8601 format (yyyy-MM-dd'T'HH:mm:ss.SSS'Z')
51
+
-`last_used_ip_address` (String) Token last used IP address.
52
+
-`modified_date` (String) Token last modified date in ISO 8601 format (yyyy-MM-dd'T'HH:mm:ss.SSS'Z').
53
+
-`owner` (String) The owner of the token
54
+
-`personal_access_token` (Boolean) The token is a personal access token (true) or an API token (false).
55
+
56
+
### Read-Only
57
+
58
+
-`id` (String) The ID of this resource.
59
+
-`token` (String, Sensitive) The secret of the token.
Copy file name to clipboardExpand all lines: docs/resources/application_anomalies.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -15,9 +15,9 @@ description: |-
15
15
16
16
## Export Example Usage
17
17
18
-
-`terraform-provider-dynatrace export dynatrace_application_anomalies` downloads all existing application anomaly detection configuration
18
+
-`terraform-provider-dynatrace -export dynatrace_application_anomalies` downloads all existing application anomaly detection configuration
19
19
20
-
The full documentation of the export feature is available [here](https://registry.terraform.io/providers/dynatrace-oss/dynatrace/latest/docs#exporting-existing-configuration-from-a-dynatrace-environment).
20
+
The full documentation of the export feature is available [here](https://registry.terraform.io/providers/dynatrace-oss/dynatrace/latest/docs/guides/export-v2).
Copy file name to clipboardExpand all lines: docs/resources/application_data_privacy.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -15,9 +15,9 @@ description: |-
15
15
16
16
## Export Example Usage
17
17
18
-
-`terraform-provider-dynatrace export dynatrace_application_data_privacy` downloads all existing application data privacy configuration
18
+
-`terraform-provider-dynatrace -export dynatrace_application_data_privacy` downloads all existing application data privacy configuration
19
19
20
-
The full documentation of the export feature is available [here](https://registry.terraform.io/providers/dynatrace-oss/dynatrace/latest/docs#exporting-existing-configuration-from-a-dynatrace-environment).
20
+
The full documentation of the export feature is available [here](https://registry.terraform.io/providers/dynatrace-oss/dynatrace/latest/docs/guides/export-v2).
Copy file name to clipboardExpand all lines: docs/resources/application_detection_rule.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -15,9 +15,9 @@ description: |-
15
15
16
16
## Export Example Usage
17
17
18
-
-`terraform-provider-dynatrace export dynatrace_application_detection_rule` downloads all existing application detection rule configuration
18
+
-`terraform-provider-dynatrace -export dynatrace_application_detection_rule` downloads all existing application detection rule configuration
19
19
20
-
The full documentation of the export feature is available [here](https://registry.terraform.io/providers/dynatrace-oss/dynatrace/latest/docs#exporting-existing-configuration-from-a-dynatrace-environment).
20
+
The full documentation of the export feature is available [here](https://registry.terraform.io/providers/dynatrace-oss/dynatrace/latest/docs/guides/export-v2).
Copy file name to clipboardExpand all lines: docs/resources/application_error_rules.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -15,9 +15,9 @@ description: |-
15
15
16
16
## Export Example Usage
17
17
18
-
-`terraform-provider-dynatrace export dynatrace_application_error_rules` downloads all existing application error rule configuration
18
+
-`terraform-provider-dynatrace -export dynatrace_application_error_rules` downloads all existing application error rule configuration
19
19
20
-
The full documentation of the export feature is available [here](https://registry.terraform.io/providers/dynatrace-oss/dynatrace/latest/docs#exporting-existing-configuration-from-a-dynatrace-environment).
20
+
The full documentation of the export feature is available [here](https://registry.terraform.io/providers/dynatrace-oss/dynatrace/latest/docs/guides/export-v2).
0 commit comments