Releases: dynatrace-oss/terraform-provider-dynatrace
v1.35.2
We apologize for two flawed releases in a row. Releases v1.35.0 and v1.35.1 got pushed out too hastily.
Again, here are the release notes for v1.35.x.
New Resources
dynatrace_custom_devicecovers the configuration of Custom Devices. Thanks @vlad-preutu for contributing the source code!dynatrace_k8s_monitoringcovers the configuration for Kubernetes monitoring settings
Improvements
- The documentation of
dynatrace_aws_servicecontained invalid examples. Thanks @agentreno for fixing that! - The documentation in the Terraform Registry now contains an up-to-date list of permissions for the API Tokens
- The documentation of resources utilizing deprecated REST APIs of Dynatrace (e.g.
dynatrace_management_zone) now contains a note at the very beginning, recommending a different resource. - String attributes of all resources are now less likely to produce a non-empty plan when heredoc syntax is being used
Bug Fixes
- #295 - The provider complained about the missing provider properties
dt_env_urlanddt_api_tokeneven if non of the configured resources or data sources depended on them (e.g.dynatrace_iam_user)
Updated Resources
The following resources have been updated to support the most recent Schema Version offered by the Dynatrace API - supporting the most recent set of attributes and their documentation offered by the API
dynatrace_vmwaredynatrace_extension_execution_controllerdynatrace_log_graildynatrace_alertingdynatrace_webhook_notificationdynatrace_management_zone_v2dynatrace_webhook_notificationdynatrace_kubernetesdynatrace_log_oneagent
v1.35.1
This is just a hotfix release for v1.35.0. The provider itself didn't change, but small changes to the export functionality:
- Removed unnecessary debug output
- The command line flags
-import-stateand-import-state-v2didn't get evaluated properly
v1.35.0
New Resources
dynatrace_custom_devicecovers the configuration of Custom Devices. Thanks @vlad-preutu for contributing the source code!
Improvements
- The documentation of
dynatrace_aws_servicecontained invalid examples. Thanks @agentreno for fixing that! - The documentation in the Terraform Registry now contains an up-to-date list of permissions for the API Tokens
- The documentation of resources utilizing deprecated REST APIs of Dynatrace (e.g.
dynatrace_management_zone) now contains a note at the very beginning, recommending a different resource. - String attributes of all resources are now less likely to produce a non-empty plan when heredoc syntax is being used
Bug Fixes
- #295 - The provider complained about the missing provider properties
dt_env_urlanddt_api_tokeneven if non of the configured resources or data sources depended on them (e.g.dynatrace_iam_user)
Updated Resources
The following resources have been updated to support the most recent Schema Version offered by the Dynatrace API - supporting the most recent set of attributes and their documentation offered by the API
dynatrace_vmwaredynatrace_extension_execution_controllerdynatrace_log_graildynatrace_alertingdynatrace_webhook_notificationdynatrace_management_zone_v2dynatrace_webhook_notificationdynatrace_kubernetesdynatrace_k8s_monitoringdynatrace_log_oneagent
v1.34.0
New Resources
dynatrace_limit_outbound_connectionscovers configuration for limiting outbound connections running in the Dynatrace JavaScript runtime.dynatrace_span_eventscovers configuration for span events.dynatrace_vmwarecovers configuration for VMware.dynatrace_web_app_key_performance_customcovers configuration for apdex threshold configuration for custom actions.dynatrace_web_app_key_performance_loadcovers configuration for apdex threshold configuration for load actions.dynatrace_web_app_key_performance_xhrcovers configuration for apdex threshold configuration for XHR actions.
New Data Sources
dynatrace_synthetic_nodescovers queries for synthetic nodes.dynatrace_tenantis a pseudo data source, it evaluates based on the configuration of the provider environment ID.
Improvements
- The export utility now allows resources
dynatrace_iam_useranddynatrace_iam_groupexport with dependencies.
Bug Fixes
- #276 -
dynatrace_entitydata source produced an ID even if no entity matched the given name - #278 -
dynatrace_synthetic_locationresource of type Kubernetes asked for non-existent attributes - #279 -
dynatrace_browser_monitorresource fieldkey_performance_metricswas incorrectly marked as optional - #280 - Improved error checking to validate the environment URL and API token are set
- #282 -
dynatrace_web_applicationresource could produce non-empty plans
v1.33.0
New Resources
dynatrace_builtin_process_monitoringcovers configuration for built-in process monitoring rules.
New Data Sources
- Data Source
dynatrace_azure_credentialscovers queries for Azure credentials. - Data Source
dynatrace_aws_credentialscovers queries for AWS credentials. - Data Source
dynatrace_update_windowscovers queries for maintenance windows for OneAgent updates. - Data Source
dynatrace_failure_detection_parameterscovers queries for failure detection parameters.
Improvements
- Data Sources
dynatrace_entityanddynatrace_entitiesare now offering properties for the queried entities
Bug Fixes
dynatrace_dashboard_sharingcan now safely get used for Dashboards that are flagged aspreset- The export functionality now continues postprocessing even when network / server side errors occur
- Using the switch
-datasourceswith the export functionality didn't clean up temporary resource folders - #273 -
dynatrace_application_detection_ruleproduced non empty plans when attributenamewas not specified
Updated Resources
The following resources have been updated to support the most recent Schema Version offered by the Dynatrace API - supporting the most recent set of attributes and their documentation offered by the API
dynatrace_data_privacydynatrace_generic_typesdynatrace_host_monitoringdynatrace_log_bucketsdynatrace_log_custom_sourcedynatrace_log_processingdynatrace_metric_eventsdynatrace_metric_metadatadynatrace_opentelemetry_metricsdynatrace_ownership_configdynatrace_ownership_teamsdynatrace_service_external_web_requestdynatrace_data_privacydynatrace_generic_typesdynatrace_service_external_web_servicedynatrace_service_full_web_requestdynatrace_service_full_web_servicedynatrace_usability_analyticsdynatrace_service_anomalies_v2dynatrace_resource_attributesdynatrace_span_attributedynatrace_queue_sharing_groupsdynatrace_maintenancedynatrace_management_zone_v2dynatrace_servicenow_notification
v1.32.1
- Updated
dynatrace_k8s_workload_anomaliesschema to v1.8 - Updated
dynatrace_container_technologyschema to v1.0.7
v1.32.0
New Resources and Data Sources
- Resource
dynatrace_aws_servicecovers configuration of Supported Services for AWS Credentials. - Data Source
dynatrace_aws_supported_servicesallows you to query for all supported services configurable fro AWS Credentials.
Bug Fixes
- #267 - The schema for
meta_datablocks of resourcedynatrace_metric_eventsgot accidentally changed with the previous release. - #261 - The token value of resource
dynatrace_api_tokenwas getting cleared within the Terraform State during subsequent executions ofterraform apply
Documentation Improvements
- The documentation for resources that are meanwhile considered deprecated by Dynatrace now refers to the resource that should be used instead (e.g.
dynatrace_alerting_profileis deprecated, thereforedynatrace_alertingshould be used). Be aware that we will flag these resources as deprecated on Terraform Schema Level in one of the upcoming releases. They may still be used, but the Dynatrace API Endpoints they are using are likely not fully covering all possible configuration options. - For several resources certain fields have overlap with other resources (e.g.
dynatrace_application_error_rulesis partially covered by eitherdynatrace_web_app_request_errorsordynatrace_web_app_custom_errors). The documentation of these resources contains a hint about that fact in order to prevent users from configuring contradictory/inconsistent settings. - The documentation contains a note for resources that are excluded by default by the export functionality.
- #269 - The documentation of
dynatrace_autotag_v2now contains a sample for how to use themetric_selectorattribute - #270 - Added clarifying comments for the attributes
dynamic_keyanddynamic_key_sourceof resourcedynatrace_management_zone_v2
v1.31.0
New Resources and Data Sources
- Resource
dynatrace_azure_servicecovers configuration of Supported Services for Azure Credentials. actions](https://www.dynatrace.com/support/help/platform-modules/digital-experience/web-applications/additional-configuration/configure-apdex-web) - Data Source
dynatrace_azure_supported_servicesallows you to query for all supported services configurable fro Azure Credentials.
Bug Fixes
- #240 - The resource dynatrace_custom_tag had no effect on entities that were not reachable with the default timeframe of 24h. That timeframe has now been changed to the last 3 years.
- #259 - REST API rejects payload for
dynatrace_browser_monitorin certain cases - #263 - The Data Source
dynatrace_entitiesproduced empty results in most cases
Documentation
- Introduced environment migration documentation using the export utility and Terraform
Additional Improvements
- The resource
dynatrace_credentialsis using now the environment V2 API under the hoods. - The resource
dynatrace_metric_eventssupports the latest schema version offered by Dynatrace (1.0.3 => 1.0.13) - The data source
dynatrace_entitynow allows for specifying the attributeentity_selector - The data source
dynatrace_entitiesnow covers any existing entities of the last 3 years
v1.30.2
Bug Fixes
- #247 -
dynatrace_browser_monitorcontaining key stroke events could not get applied - #251 - The attribute
accept_any_certificateof resourcedynatrace_browser_monitorcould not get applied - #246 - The attribute
idofuser_tagsin resourcedynatrace_web_applicationis now getting managed by Terraform in order to allow for conveniently add and remove such tags - #253 - The export functionality is now able to find the terraform CLI on all Linux distributions
- #240 - The resource
dynatrace_custom_taghad no effect on entities that were not reachable with the default timeframe of 24h. That timeframe has now been changed to the last 3 years. - On Mac workstations and some Linux systems the provider wasn't able to produce debug logs
Additional Improvements
- #249 - The resource
dynatrace_slo_v2now offers the attributelegacy_id - The export functionality is now merging directly dependent resources (privacy settings, error rules) into the same .tf file as
dynatrace_web_application - The export functionality is now merging directly dependent resources into the same .tf file as
dynatrace_mobile_application
v1.30.1
- Disabled the resources below since the API endpoints no longer exist
dynatrace_web_app_key_performance_loaddynatrace_web_app_key_performance_xhrdynatrace_web_app_key_performance_custom