Releases: dynatrace-oss/terraform-provider-dynatrace
v1.22.1
- Fixed #210
- The
-datasourcesargument for the export functionality wrongfully deleted generated module folders in certain cases - Introduced the environment variable
DYNATRACE_HTTP_ERROR_RESPONSE_HEADERSto allow for diagnosing the origin ofBAD REQUESTresponses.
v1.22.0
New Resources
dynatrace_browser_monitor_outageintroduces configuration for browser monitor outage handling (Certains field(s) of this resource has overlap with another, please refer to the resource docs for additional info)dynatrace_http_monitor_outageintroduces configuration for HTTP monitor outage handling (Certains field(s) of this resource has overlap with another, please refer to the resource docs for additional info)dynatrace_cloudapp_workloaddetectionmerges processes of similar workloads into process groups, and consequently, services. Please note that fine-grained process detection rules will still be applied, while ignoring container or platform specific propertiesdynatrace_mainframe_transaction_monitoringcovers additional monitoring settings for CICS and IMS transactionsdynatrace_monitored_technologies_apachecovers configuration to enable/disable Apache HTTP Server monitoringdynatrace_monitored_technologies_dotnetcovers configuration to enable/disable .NET monitoringdynatrace_monitored_technologies_gocovers configuration to enable/disable Golang monitoringdynatrace_monitored_technologies_iiscovers configuration to enable/disable IIS monitoringdynatrace_monitored_technologies_javacovers configuration to enable/disable Java monitoringdynatrace_monitored_technologies_nginxcovers configuration to enable/disable Nginx monitoringdynatrace_monitored_technologies_nodejscovers configuration to enable/disable NodeJS monitoringdynatrace_monitored_technologies_opentracingcovers configuration to enable/disable OpenTracing monitoringdynatrace_monitored_technologies_phpcovers configuration to enable/disable PHP monitoringdynatrace_monitored_technologies_varnishcovers configuration to enable/disable Varnish monitoringdynatrace_monitored_technologies_wsmbcovers configuration to enable/disable IBM Integration Bus | IBM App Connect Enterprise monitoringdynatrace_process_visibilitycovers configuration for process instance snapshotsdynatrace_rum_host_headerscovers configuration for identifying host names for real user monitoringdynatrace_rum_ip_determinationcovers configuration for identifying client IP addresses for real user monitoringdynatrace_mobile_app_request_errorscovers configuration for mobile application request errorsdynatrace_transaction_start_filterscovers customization of CICS and IMS Monitoringdynatrace_oneagent_featuresallows for enabling and disabling OneAgent Features (Sensors, ...)dynatrace_rum_overload_preventioncovers configuration for real user monitoring overload preventiondynatrace_rum_advanced_correlationcovers configuration for real user monitoring advanced correlationdynatrace_web_app_beacon_originscovers configuration for web application beacon origin allowlistdynatrace_web_app_resource_typescovers configuration for web application resource typesdynatrace_generic_typescovers configuration for custom topology generic typesdynatrace_generic_relationshipscovers configuration for custom topology relationships
Improvements
- Attempting to delete a resource the REST API considers non-deletable doesn't lead to an error anymore
- #168 - Properties
sharedandsharing_detailsfor resourcedynatrace_dashboardare now deprecated (in favor ofdynatrace_dashboard_sharing) - #105 - Changing the metric key of
calculated_service_metricnow automatically re-creates the resource - #89 -
dynatrace_dashboard_sharingretries to create the resource in case the cluster is not yet fully aware of the existence of the dashboard referred to - Clarified API Token requirements for resource
dynatrace_credentials. Thanks to @paulmorar for contributing - The data sources
dynatrace_management_zoneanddynatrace_alerting_profilenow offer the attributelegacy_idso they can get referred to from resources with non Settings 2.0 scope - Introduced the environment variables
DYNATRACE_SOURCE_ENV_URLandDYNATRACE_SOURCE_API_TOKENfor the export functionality. The environment variablesDYNATRACE_ENV_URLandDYNATRACE_API_TOKENare still supported, but the new variable names are being preferred. This is meant to prevent unintentionally pushing resources that have just been exported into the same environment again. - Introduced the option
-datasourcesfor the export functionality. When specified, dependencies of resources todynatrace_management_zone,dynatrace_management_zone_v2,dynatrace_alerting_profile,dynatrace_alerting,dynatrace_request_attributeanddynatrace_web_applicationwill generate data sources instead of exporting these resources.
Bug Fixes
- Fixed #198 - Unable to modify the custom application configuration due to "IconType"
- Fixed #202 - non empty plans for dynatrace_json_dashboard with external JSON source
- Fixed #204 - Incorrect Bearer Token and Credential handling for resources
dynatrace_iam_useranddynatrace_iam_group - Fixed #207 - White Space changes in Entity Selectors of dynatrace_management_zone may lead to non empty plan
- The attributes of Data Sources generated by the export functionality are now getting properly escaped
v1.21.0
New Resources
dynatrace_rum_provider_breakdownintroduces configuration for provider breakdown rules for real user monitoringdynatrace_user_experience_scoreintroduces configuration for real user monitoring user experience scoredynatrace_web_app_resource_cleanupintroduces configuration for resource URL cleanup rules for real user monitoringdynatrace_update_windowsintroduces configuration for maintenance windows for OneAgent updatesdynatrace_process_group_detection_flagsintroduces configuration to enable or disable built-in process group detection rulesdynatrace_process_group_monitoringintroduces configuration to enable or disable monitoring for certain process groupsdynatrace_process_group_simple_detectionintroduces configuration for process group simple detection rulesdynatrace_log_metricsintroduces configuration for log metricsdynatrace_browser_monitor_performanceintroduces configuration for browser monitor performance thresholdsdynatrace_http_monitor_performanceintroduces configuration for HTTP monitor performance thresholdsdynatrace_http_monitor_cookiesintroduces configuration for HTTP monitor cookiesdynatrace_session_replay_web_privacyintroduces configuration for Session Replay data privacydynatrace_session_replay_resource_captureintroduces configuration for Session Replay resource capturedynatrace_usability_analyticsintroduces detection of usability issues within your applicationdynatrace_synthetic_availabilityintroduces synthetic maintenance window configuration
Bug Fixes
- Fixed #197 -
dynatrace_synthetic_locationsresolved issue with empty locations - Fixed #199 - Resolved issue with shared cache folder across multiple providers running in parallel
- Fixed #200 - Updated
dynatrace_aws_credentialsExternalID field to computed
v1.20.0
New Resources
dynatrace_connectivity_alertsintroduces configuration for process group connectivity alertsdynatrace_declarative_groupingintroduces configuration for declarative process groupingdynatrace_host_monitoringintroduces configuration for host monitoringdynatrace_rum_ip_locationsintroduces configuration for IP address mapping rules for real user monitoringdynatrace_process_group_rumintroduces real user monitoring configuration for process groupsdynatrace_web_app_enablementintroduces configuration for web application enablement and cost control (Certains field(s) of this resource has overlap with another, please refer to the resource docs for additional info)dynatrace_mobile_app_enablementintroduces configuration for mobile application enablement and cost control (Certains field(s) of this resource has overlap with another, please refer to the resource docs for additional info)dynatrace_custom_app_enablementintroduces configuration for custom application enablement and cost control (Certains field(s) of this resource has overlap with another, please refer to the resource docs for additional info)
Additional Improvements
dynatrace_custom_anomaliesadded Management Zone dependency
Bug Fixes
- Fixed #183
dynatrace_network_zoneadded the ability to set a custom name - Fixed #186
dynatrace_environmentfix for creating an environment when log monitoring is disabled - Fixed #191
dynatrace_custom_servicefix for error "unable to determine technology" - Fixed #193 added improvements to resolve rate limiting challenges
- Fixed #194
dynatrace_application_data_privacy,dynatrace_application_error_rulesresolved ID misalignment issues - Fixed #195
dynatrace_api_tokenresolved issue with blank token dynatrace_management_zone_v2fixed occasional non-empty plans during update
v1.19.0
New Resources
dynatrace_service_anomalies_v2introduces configuration for service related performance anomaliesdynatrace_database_anomalies_v2introduces configuration for database related performance anomaliesdynatrace_process_monitoring_rulesintroduces configuration for custom process monitoring rulesdynatrace_disk_anomalies_v2introduces configuration for disk related performance anomaliesdynatrace_disk_specific_anomalies_v2introduces configuration for specific disk level performance anomaliesdynatrace_host_anomalies_v2introduces configration for host related performance anomaliesdynatrace_custom_app_anomaliesintroduces configuration for custom application related performance anomaliesdynatrace_custom_app_crash_rateintroduces configuration for custom application crash rate increasedynatrace_process_monitoringintroduces configuration for process monitoring rulesdynatrace_process_availabilityintroduces configuration for monitoring availability of certain processesdynatrace_process_group_detectionintroduces configuration to adapt the detection logic for deep monitored processesdynatrace_mobile_app_anomaliesintroduces configuration for mobile application related performance anomaliesdynatrace_mobile_app_crash_rateintroduces configuration for mobile application crash rate increasedynatrace_web_app_anomaliesintroduces configuration for web application related performance anomaliesdynatrace_muted_requestsintroduces configuration for specifying muted requests for a particular service
New Data Sources
dynatrace_management_zonesallows querying for all Management Zones
Additional Improvements
- The export utility has been updated to download all resources in parallel by default
dynatrace_management_zonehas been updated with unordered listsdynatrace_azure_credentialsdisabled the property "supporting_services" since it is now deprecated within the REST APIdynatrace_dashboardintroduced "auto_refresh_disabled" for dashboard tiles- Thanks to @98christianp the
dynatrace_servicedata source has added functionality for the contains and equals operator
Bug Fixes
- Fixed #184 - Dashboard sharing was reporting a status code error 204 (expected 201)
- Fixed #187 - Dashboard sharing permissions issue has been resolved
v1.18.1
New Resources
dynatrace_pg_alertingintroduces configuration for process group availability monitoringdynatrace_custom_tagsintroduces configuration for custom/manual tags
New Data Sources
dynatrace_entityallows querying a specific entity by its name and typedynatrace_entitiesallows querying all entities by its type
Additional Improvements
-
The full source code of this project is now contained within one repository.
-
Certain resources required
-parallelism=1to be specified forterraform apply. This is not necessary anymore. -
The resource
dynatrace_alerting,dynatrace_management_zone_v2,dynatrace_maintenancenow offer a computed attributedlegacy_id. These resources are using the newSettings 2.0API Endpoint - which unfortunately produces IDs that cannot directly be used within settings based on theConfiguration API. When e.g. configuring a resourcedynatrace_notification(based onConfiguration API) and want to refer to an Alerting Profile configured viadynatrace_alerting(Settings 2.0), you can now refer to the Alerting Profile usingdynatrace_alerting.<resourcename>.legacy_id. -
Resources containing multi-line strings are now able to safely use Heredoc syntax without
terraform planacting up. -
terraform-provider-dynatrace -exportdownloads resources now in parallel -
terraform-provider-dynatrace -exportgenerates direct references to resources instead of using data sources -
#176:
dynatrace_aws_credentialsnow allows for managing Supported Services via WebUI only (Terraform ignores them) -
Improved
dynatrace_http_monitor- Support for adapting request timeout
- Client certificates
- Request and Response Body aswell as Header Values are not getting stored during execution
Bug Fixes
- Fixed
dynatrace_autotag,dynatrace_management_zone,dynatrace_mangement_zone_v2where the order of rules led to non empty plans - Fixed
dynatrace_request_attributeis now able to handle theenabledproperty
v1.17.0
New Resources
dynatrace_ddu_poolintroduces configuration for DDU pools - define monthly or yearly limits for DDU consumption on a per-environment basisdynatrace_pg_anomaliesintroduces configuration for process group anomaly detection
New Data Sources
dynatrace_entityallows querying a specific entity by its name and typedynatrace_entitiesallows querying all entities by its type
Additional Improvements
- IAM AccountID may now get specified with or without the urn:dtaccount: prefix
Bug Fixes
- Fixed #173 -
dynatrace_network_zonefixed AltZones field type - Fixed #108 -
dynatrace_slocorrected JSON description field - Fixed
dynatrace_json_dashboardunmarshaling to avoid non-empty plans
v1.16.0
New Resources
dynatrace_network_zoneallows for configuring network zones. The resourcedynatrace_network_zonesintroduced in an earlier release just allowed for enabling or disabling them.dynatrace_metric_eventscovers configuration for custom metric events based on the Settings 2.0 REST API.dynatrace_json_dashboardintroduces an alternative todynatrace_dashboard. It enables you to manage dashboards as JSON code instead of using the HCL syntax. Dashboards represent the one resource that can get downloaded via WebUI directly - as JSON code. Hence a lot of demand from the community to be able to directly create resources via JSON content.dynatrace_management_zone_v2covers configuration of Management Zones based on the Settings 2.0 REST API. The resourcedynatrace_management_zone, which is based on the Configuration REST API is still available as an alternative. Just be aware of the fact, that theIDof this resource only makes sense to get referred to by resources that are also based on the Settings 2.0 API.dynatrace_iam_useranddynatrace_iam_groupintroduces user and group management for SaaS Accounts. In order to use these resources you need to configure an OAuth Client. Further details about that can be found within the documentation of both resources. The current implementation does not yet support configuration of Policies. We will take care of that with the next release.dynatrace_api_tokenallows for creating API Tokens. Please be aware that this resource will introduce sensitive data within your Terraform State as plain text.
New Data Source
dynatrace_calculated_service_metricallows querying a specific calculated service metric by name
Additional Improvements
dynatrace_http_monitoranddynatrace_browser_monitorare now offering the ability to configure the number of consecutive runs viaglobal_outage_policyblock. Thanks to @tshortess for contributing.
Bug Fixes
-exportdidn't properly escape variables for JSON encoded strings
v1.15.0
Exportv2
A new and improved version of the export utility is now available, the detailed documentation is available on the Terraform Registry
- Data source references automatically generated in resources
- Data source blocks created for dependencies in data_source.tf file(s)
- Creation of all resources required based off of dependencies
- Resources organized in modules with preconfigured main.tf based on output
- Pre-populated providers.tf file in the parent folder and all modules
- Option to include ID as a commented line in generated resources
- Option to include/exclude specific resource IDs from export
New Resources
dynatrace_credentialsallows creating credentials in the vaultdynatrace_synthetic_locationallows configuring a private synthetic location
New Data Source
dynatrace_calculated_service_metricallows querying a specific calculated service metric by name
Additional Improvements
- Introduced retry functionality for
dynatrace_calculated_service_metric - Updated
dynatrace_span_attributeresource to ignore create on keys that already exist - Updated
dynatrace_credentialsdelete to destroy HTTP monitor used for external vaults dynatrace_span_attributethat already existed upon create will not get deleted by terraform destroy- Introduced properties name and index for dimensions in resource
dynatrace_custom_anomalies - Introduced the attribute application_type for resource
dynatrace_mobile_application - Updated schema for
dynatrace_span_capture_rule - Introduced retry functionality with suggested alternative for metric_selector when applying
dynatrace_custom_anomalies - Updated schema for
dynatrace_resource_attributes
Bug Fixes
- #152 Crash when adding exported
dynatrace_request_attributeto another tenant - Technology field was missing in
dynatrace_custom_service - Applying
dynatrace_custom_servicefails when file matchers are empty - Applying empty permissions for
dynatrace_dashboard_sharingand deleting never worked dynatrace_synthetic_locationnever matched against existing values- #163
dynatrace_maintenancefailed to apply with disable_synthetic = false or when omitted dynatrace_web_applicationcontained flawed attribute block browserRestrictions (instead of restrictions) upon export- Comparisons of kind boolean within resource
dynatrace_calculated_service_metricare now required attributes - Updated optional fields within resource
dynatrace_mobile_application - Fixed handling of
mobile,touch_enabledandmaskedindynatrace_browser_monitor
v1.14.1
Improved Resources
- The rules within
dynatrace_autotagand the conditions within these rules are no longer required to be an ordered list. The decision for that change got triggered by #132. Any existing.tffiles or states will not be affected and will continue to work as expected. You will however notice a different behavior when usingterraform plan. - The resource
dynatrace_dashboardallows for configuring the attributepresetwithin thedashboard_metadatasection. Although that attribute is also configurable via resourcedynatrace_dashboard_sharing, the Dynatrace REST API also evaluates that flag when updating dashboards specifcally. In order to prevent contradictions as seen in #150 allowing for configuration in both places was unavoidable on short notice.