Skip to content

Commit 4b6a3ca

Browse files
Release v1.25.0
1 parent 9a14346 commit 4b6a3ca

31 files changed

+1766
-17
lines changed

docs/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ Use the links to the left to learn about the available resources and data source
1818
terraform {
1919
required_providers {
2020
dynatrace = {
21-
version = "1.24.0"
21+
version = "1.25.0"
2222
source = "dynatrace-oss/dynatrace"
2323
}
2424
}

docs/resources/alerting.md

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -105,6 +105,7 @@ Optional:
105105
Optional:
106106

107107
- `description` (Block List, Max: 1) Configuration of a matching filter (see [below for nested schema](#nestedblock--filters--filter--custom--description))
108+
- `metadata` (Block List, Max: 1) Configuration of a matching filter (see [below for nested schema](#nestedblock--filters--filter--custom--metadata))
108109
- `title` (Block List, Max: 1) Configuration of a matching filter (see [below for nested schema](#nestedblock--filters--filter--custom--title))
109110

110111
<a id="nestedblock--filters--filter--custom--description"></a>
@@ -122,6 +123,31 @@ Optional:
122123
- `negate` (Boolean) Reverses the comparison **operator**. For example it turns the **begins with** into **does not begin with**
123124

124125

126+
<a id="nestedblock--filters--filter--custom--metadata"></a>
127+
### Nested Schema for `filters.filter.custom.metadata`
128+
129+
Required:
130+
131+
- `items` (Block List, Min: 1, Max: 1) Define filters for event properties. A maximum of 20 properties is allowed. (see [below for nested schema](#nestedblock--filters--filter--custom--metadata--items))
132+
133+
<a id="nestedblock--filters--filter--custom--metadata--items"></a>
134+
### Nested Schema for `filters.filter.custom.metadata.items`
135+
136+
Required:
137+
138+
- `filter` (Block Set, Min: 1) (see [below for nested schema](#nestedblock--filters--filter--custom--metadata--items--filter))
139+
140+
<a id="nestedblock--filters--filter--custom--metadata--items--filter"></a>
141+
### Nested Schema for `filters.filter.custom.metadata.items.filter`
142+
143+
Required:
144+
145+
- `key` (String) Type 'dt.' for key hints.
146+
- `value` (String) Value
147+
148+
149+
150+
125151
<a id="nestedblock--filters--filter--custom--title"></a>
126152
### Nested Schema for `filters.filter.custom.title`
127153

docs/resources/api_detection.md

Lines changed: 73 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,73 @@
1+
---
2+
layout: ""
3+
page_title: dynatrace_api_detection Resource - terraform-provider-dynatrace"
4+
description: |-
5+
The resource `dynatrace_api_detection` covers configuration for API detection rules
6+
---
7+
8+
# dynatrace_api_detection (Resource)
9+
10+
## Dynatrace Documentation
11+
12+
- Custom API definitions - https://www.dynatrace.com/support/help/platform-modules/applications-and-microservices/services/service-monitoring-settings/customize-api-definitions
13+
14+
- Settings API - https://www.dynatrace.com/support/help/dynatrace-api/environment-api/settings (schemaId: `builtin:apis.detection-rules`)
15+
16+
## Export Example Usage
17+
18+
- `terraform-provider-dynatrace -export dynatrace_api_detection` downloads all existing API detection rule configuration
19+
20+
The full documentation of the export feature is available [here](https://registry.terraform.io/providers/dynatrace-oss/dynatrace/latest/docs/guides/export-v2).
21+
22+
## Resource Example Usage
23+
24+
```terraform
25+
resource "dynatrace_api_detection" "#name#" {
26+
api_color = "#5ead35"
27+
api_name = "#name#"
28+
technology = "Go"
29+
third_party_api = false
30+
conditions {
31+
condition {
32+
base = "PACKAGE"
33+
matcher = "BEGINS_WITH"
34+
pattern = "com.terraform"
35+
}
36+
}
37+
}
38+
```
39+
40+
<!-- schema generated by tfplugindocs -->
41+
## Schema
42+
43+
### Required
44+
45+
- `api_color` (String) This color will be used to highlight APIs when viewing code level data, such as distributed traces or method hotspots.
46+
- `api_name` (String) API name
47+
- `third_party_api` (Boolean) This API defines a third party library
48+
49+
### Optional
50+
51+
- `conditions` (Block List, Max: 1) List of conditions (see [below for nested schema](#nestedblock--conditions))
52+
- `technology` (String) Restrict this rule to a specific technology.
53+
54+
### Read-Only
55+
56+
- `id` (String) The ID of this resource.
57+
58+
<a id="nestedblock--conditions"></a>
59+
### Nested Schema for `conditions`
60+
61+
Required:
62+
63+
- `condition` (Block Set, Min: 1) (see [below for nested schema](#nestedblock--conditions--condition))
64+
65+
<a id="nestedblock--conditions--condition"></a>
66+
### Nested Schema for `conditions.condition`
67+
68+
Required:
69+
70+
- `base` (String) Possible Values: `FILE_NAME`, `FQCN`, `PACKAGE`
71+
- `matcher` (String) Possible Values: `BEGINS_WITH`, `CONTAINS`
72+
- `pattern` (String) no documentation available
73+

docs/resources/application_error_rules.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ description: |-
77

88
# dynatrace_application_error_rules (Resource)
99

10-
-> Certain field(s) of this resource has overlap with `dynatrace_web_app_custom_errors`, please review the schema for additional information.
10+
-> Certain field(s) of this resource has overlap with `dynatrace_web_app_request_errors` and `dynatrace_web_app_custom_errors`, please review the schema for additional information.
1111

1212
## Dynatrace Documentation
1313

@@ -26,14 +26,14 @@ The full documentation of the export feature is available [here](https://registr
2626

2727
### Optional
2828

29-
- `custom_errors` (Block List, Max: 1) An ordered list of HTTP errors.
29+
- `custom_errors` (Block List, Max: 1) (Field has overlap with `dynatrace_web_app_custom_errors`) An ordered list of HTTP errors.
3030

3131
Rules are evaluated from top to bottom; the first matching rule applies (see [below for nested schema](#nestedblock--custom_errors))
32-
- `http_errors` (Block List, Max: 1) An ordered list of HTTP errors.
32+
- `http_errors` (Block List, Max: 1) (Field has overlap with `dynatrace_web_app_request_errors`) An ordered list of HTTP errors.
3333

3434
Rules are evaluated from top to bottom; the first matching rule applies (see [below for nested schema](#nestedblock--http_errors))
35-
- `ignore_custom_errors_apdex` (Boolean) Exclude (`true`) or include (`false`) custom errors listed in **customErrorRules** in Apdex calculation
36-
- `ignore_http_errors_apdex` (Boolean) Exclude (`true`) or include (`false`) HTTP errors listed in **httpErrorRules** in Apdex calculation
35+
- `ignore_custom_errors_apdex` (Boolean) (Field has overlap with `dynatrace_web_app_custom_errors`) Exclude (`true`) or include (`false`) custom errors listed in **customErrorRules** in Apdex calculation
36+
- `ignore_http_errors_apdex` (Boolean) (Field has overlap with `dynatrace_web_app_request_errors`) Exclude (`true`) or include (`false`) HTTP errors listed in **httpErrorRules** in Apdex calculation
3737
- `ignore_js_errors_apdex` (Boolean) Exclude (`true`) or include (`false`) JavaScript errors in Apdex calculation
3838
- `web_application_id` (String) The EntityID of the the WebApplication
3939

docs/resources/aws_credentials.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ resource "dynatrace_aws_credentials" "#name#" {
5151
### Optional
5252

5353
- `label` (String) The name of the credentials
54-
- `supporting_services_to_monitor` (Block List) supporting services to be monitored (see [below for nested schema](#nestedblock--supporting_services_to_monitor))
54+
- `supporting_services_to_monitor` (Block Set) supporting services to be monitored (see [below for nested schema](#nestedblock--supporting_services_to_monitor))
5555
- `tags_to_monitor` (Block List, Max: 10) AWS tags to be monitored. You can specify up to 10 tags. Only applicable when the **tagged_only** parameter is set to `true` (see [below for nested schema](#nestedblock--tags_to_monitor))
5656
- `unknowns` (String) Any attributes that aren't yet supported by this provider
5757

@@ -80,7 +80,7 @@ Read-Only:
8080

8181
Optional:
8282

83-
- `monitored_metrics` (Block List) a list of metrics to be monitored for this service (see [below for nested schema](#nestedblock--supporting_services_to_monitor--monitored_metrics))
83+
- `monitored_metrics` (Block Set) a list of metrics to be monitored for this service (see [below for nested schema](#nestedblock--supporting_services_to_monitor--monitored_metrics))
8484
- `name` (String) the name of the supporting service
8585
- `unknowns` (String) Any attributes that aren't yet supported by this provider
8686

@@ -89,7 +89,7 @@ Optional:
8989

9090
Optional:
9191

92-
- `dimensions` (List of String) a list of metric's dimensions names
92+
- `dimensions` (Set of String) a list of metric's dimensions names
9393
- `name` (String) the name of the metric of the supporting service
9494
- `statistic` (String) the statistic (aggregation) to be used for the metric. AVG_MIN_MAX value is 3 statistics at once: AVERAGE, MINIMUM and MAXIMUM
9595
- `unknowns` (String) Any attributes that aren't yet supported by this provider

docs/resources/credentials.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ description: |-
2828
- `external` (Block List, Max: 1) External Vault Configuration (see [below for nested schema](#nestedblock--external))
2929
- `format` (String) The certificate format. Possible values are `PEM`, `PKCS12` and `UNKNOWN`.
3030
- `owner_access_only` (Boolean) The credentials set is available to every user (`false`) or to owner only (`true`)
31-
- `password` (String, Sensitive) The password of the credential.
31+
- `password` (String, Sensitive) The password of the credential. Note: Terraform treats an empty string for a value as if the attribute was absent. If you want to set an empty password, use the value `--empty--`.
3232
- `public` (Boolean) For certificate authentication specifies whether it's public certificate auth (`true`) or not (`false`).
3333
- `token` (String, Sensitive) Token in the string format. Specifying a token implies `Token Authentication`.
3434
- `username` (String, Sensitive) The username of the credentials set.
Lines changed: 65 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,65 @@
1+
---
2+
layout: ""
3+
page_title: dynatrace_dashboards_general Resource - terraform-provider-dynatrace"
4+
description: |-
5+
The resource `dynatrace_dashboards_general` covers configuration for general dashboard settings
6+
---
7+
8+
# dynatrace_dashboards_general (Resource)
9+
10+
## Dynatrace Documentation
11+
12+
- Dashboards - https://www.dynatrace.com/support/help/observe-and-explore/dashboards
13+
14+
- Settings API - https://www.dynatrace.com/support/help/dynatrace-api/environment-api/settings (schemaId: `builtin:dashboards.general`)
15+
16+
## Export Example Usage
17+
18+
- `terraform-provider-dynatrace -export dynatrace_dashboards_general` downloads all existing general dashboard settings
19+
20+
The full documentation of the export feature is available [here](https://registry.terraform.io/providers/dynatrace-oss/dynatrace/latest/docs/guides/export-v2).
21+
22+
## Resource Example Usage
23+
24+
```terraform
25+
resource "dynatrace_dashboards_general" "#name#" {
26+
enable_public_sharing = false
27+
default_dashboard_list {
28+
default_dashboard {
29+
dashboard = "00000000-0000-0000-0000-000000000000"
30+
user_group = "00000000-0000-0000-0000-000000000000"
31+
}
32+
}
33+
}
34+
```
35+
36+
<!-- schema generated by tfplugindocs -->
37+
## Schema
38+
39+
### Required
40+
41+
- `enable_public_sharing` (Boolean) Allow users to grant anonymous access to dashboards. No sign-in will be required to view those dashboards read-only.
42+
43+
### Optional
44+
45+
- `default_dashboard_list` (Block List, Max: 1) Configure home dashboard for selected user group. The selected preset dashboard will be loaded as default landing page for this environment. (see [below for nested schema](#nestedblock--default_dashboard_list))
46+
47+
### Read-Only
48+
49+
- `id` (String) The ID of this resource.
50+
51+
<a id="nestedblock--default_dashboard_list"></a>
52+
### Nested Schema for `default_dashboard_list`
53+
54+
Required:
55+
56+
- `default_dashboard` (Block List, Min: 1) (see [below for nested schema](#nestedblock--default_dashboard_list--default_dashboard))
57+
58+
<a id="nestedblock--default_dashboard_list--default_dashboard"></a>
59+
### Nested Schema for `default_dashboard_list.default_dashboard`
60+
61+
Required:
62+
63+
- `dashboard` (String) Preset dashboard to show as default landing page
64+
- `user_group` (String) Show selected dashboard by default for this user group
65+
Lines changed: 62 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,62 @@
1+
---
2+
layout: ""
3+
page_title: dynatrace_dashboards_presets Resource - terraform-provider-dynatrace"
4+
description: |-
5+
The resource `dynatrace_dashboards_presets` covers configuration for dashboard preset settings
6+
---
7+
8+
# dynatrace_dashboards_presets (Resource)
9+
10+
## Dynatrace Documentation
11+
12+
- Preset Dynatrace dashboards - https://www.dynatrace.com/support/help/observe-and-explore/dashboards/dashboards/dashboards-preset
13+
14+
- Settings API - https://www.dynatrace.com/support/help/dynatrace-api/environment-api/settings (schemaId: `builtin:dashboards.presets`)
15+
16+
## Export Example Usage
17+
18+
- `terraform-provider-dynatrace -export dynatrace_dashboards_presets` downloads all existing dashboard preset settings
19+
20+
The full documentation of the export feature is available [here](https://registry.terraform.io/providers/dynatrace-oss/dynatrace/latest/docs/guides/export-v2).
21+
22+
## Resource Example Usage
23+
24+
```terraform
25+
resource "dynatrace_dashboards_presets" "#name#" {
26+
enable_dashboard_presets = true
27+
dashboard_presets_list {
28+
dashboard_presets {
29+
dashboard_preset = "00000000-0000-0000-0000-000000000000"
30+
user_group = "00000000-0000-0000-0000-000000000000"
31+
}
32+
}
33+
}
34+
```
35+
36+
<!-- schema generated by tfplugindocs -->
37+
## Schema
38+
39+
### Required
40+
41+
- `dashboard_presets_list` (Block List, Min: 1, Max: 1) Show selected preset to respective user group only. (see [below for nested schema](#nestedblock--dashboard_presets_list))
42+
- `enable_dashboard_presets` (Boolean) Dashboard presets are visible to all users by default. For a pristine environment you may disable them entirely or opt to manually limit visibility to selected user groups.
43+
44+
### Read-Only
45+
46+
- `id` (String) The ID of this resource.
47+
48+
<a id="nestedblock--dashboard_presets_list"></a>
49+
### Nested Schema for `dashboard_presets_list`
50+
51+
Required:
52+
53+
- `dashboard_presets` (Block List, Min: 1) (see [below for nested schema](#nestedblock--dashboard_presets_list--dashboard_presets))
54+
55+
<a id="nestedblock--dashboard_presets_list--dashboard_presets"></a>
56+
### Nested Schema for `dashboard_presets_list.dashboard_presets`
57+
58+
Required:
59+
60+
- `dashboard_preset` (String) Dashboard preset to limit visibility for
61+
- `user_group` (String) User group to show selected dashboard preset to
62+

docs/resources/eula_settings.md

Lines changed: 45 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,45 @@
1+
---
2+
layout: ""
3+
page_title: dynatrace_eula_settings Resource - terraform-provider-dynatrace"
4+
description: |-
5+
The resource `dynatrace_eula_settings` covers configuration for display of the clickwrap agreement
6+
---
7+
8+
# dynatrace_eula_settings (Resource)
9+
10+
## Dynatrace Documentation
11+
12+
- Display clickwrap agreement to new users - https://www.dynatrace.com/support/help/manage/access-control/user-management-and-sso/clickwrap-agreement
13+
14+
- Settings API - https://www.dynatrace.com/support/help/dynatrace-api/environment-api/settings (schemaId: `builtin:eula-settings`)
15+
16+
## Export Example Usage
17+
18+
- `terraform-provider-dynatrace -export dynatrace_eula_settings` downloads existing clickwrap agreement configuration
19+
20+
The full documentation of the export feature is available [here](https://registry.terraform.io/providers/dynatrace-oss/dynatrace/latest/docs/guides/export-v2).
21+
22+
## Resource Example Usage
23+
24+
```terraform
25+
resource "dynatrace_eula_settings" "#name#" {
26+
scope = "environment"
27+
enable_eula = true
28+
}
29+
```
30+
31+
<!-- schema generated by tfplugindocs -->
32+
## Schema
33+
34+
### Required
35+
36+
- `enable_eula` (Boolean) Display end user terms to new users logging in to the environment
37+
38+
### Optional
39+
40+
- `scope` (String) The scope of this setting (environment)
41+
42+
### Read-Only
43+
44+
- `id` (String) The ID of this resource.
45+

docs/resources/extension_execution_controller.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,10 +24,10 @@ The full documentation of the export feature is available [here](https://registr
2424
```terraform
2525
resource "dynatrace_extension_execution_controller" "#name#" {
2626
enabled = true
27-
ingest_active = true
27+
ingest_active = false
2828
performance_profile = "DEFAULT"
2929
scope = "environment"
30-
statsd_active = true
30+
statsd_active = false
3131
}
3232
```
3333

0 commit comments

Comments
 (0)