github dynatrace-oss/terraform-provider-dynatrace v1.95.0

6 hours ago

New resources

  • dynatrace_hub_extension_v2_config: New resource for managing extension configurations via the platform endpoint. Supports OAuth and platform tokens. Unlike dynatrace_hub_extension_config, extensions are not automatically installed.

New fields / breaking changes

  • BREAKING dynatrace_disk_edge_anomaly_detectors: The host_metadata_conditions block has been removed and replaced with detection_conditions, which may include disk_filesystem_condition, disk_total_condition, host_metadata_condition, or local_disk_condition depending on the values of rule_type and property. The scope field now forces resource recreation when changed.
  • dynatrace_container_builtin_rule: Added new optional fields: ignore_open_shift_etcd_namespace, ignore_open_shift_ingress_canary_namespace, ignore_open_shift_kube_apiserver_namespace, ignore_open_shift_machine_config_operator_namespace, ignore_open_shift_monitoring_namespace, ignore_open_shift_ovn_kubernetes_namespace.
  • dynatrace_automation_approval: Added new optional field external_approvals_enabled.
  • dynatrace_k8s_cluster_anomalies: Added validation for cpu_requests_saturation, memory_requests_saturation, monitoring_issues, pods_saturation, and readiness_issues blocks. A configuration must now be specified if enabled is true, and must not be specified if enabled is false.

Deprecated resources

  • dynatrace_hub_extension_config: Deprecated in favor of dynatrace_hub_extension_v2_config. Excluded from default export.

Bug fixes

  • dynatrace_failure_detection_parameters: Fixed flaky creation caused by an unrelated delete error during create due to eventual consistency.
  • dynatrace_boundary (export) - Fixed export to include all boundaries by adding pagination logic.
  • dynatrace_dashboard_general: Fixed flaky creation when referenced resources were just created by adding retry logic.
  • dynatrace_calculated_web_metric: Fixed updates not working. The API only accepts enabled for updates; all other property changes now correctly trigger resource recreation.
  • dynatrace_dql (data source) - Fixed a panic caused by using the wrong type for default_sampling_ratio (was int, corrected to float64).
  • dynatrace_app_monitoring: Fixed non-empty plan after create by setting the correct default value for a computed field.
  • dynatrace_automation_workflow: Fixed creation and updates of SIMPLE workflows by not sending the unsupported result property.
  • dynatrace_disk_edge_anomaly_detectors: The scope field now correctly forces resource recreation when changed.
  • dynatrace_segment: Fixed empty set item bug in includes.items.
  • dynatrace_network_monitor: Fixed empty set item bug in steps.step.request_configurations. Also fixed default values to prevent non-empty plans.
  • dynatrace_http_monitor_cookies: Fixed empty set item bug in cookies.cookie.
  • dynatrace_generic_types: Fixed empty set item bug in rules.rule.attributes.attribute and rules.rule.required_dimensions.required_dimension.
  • dynatrace_generic_relationships: Fixed empty set item bug in sources.source.
  • dynatrace_service_failure: Fixed empty set item bug in exception_rules.custom_error_rules.custom_error_rule.
  • dynatrace_failure_detection_parameters: Fixed empty set item bug in exception_rules.custom_error_rules.custom_error_rule.
  • dynatrace_vulnerability_alerting: Fixed empty set item bug in webhook_configuration.headers.
  • dynatrace_metric_events: Fixed empty set item bug in query_definition.dimension_filter.filter.
  • dynatrace_business_events_oneagent: Fixed empty set item bug in event_data_field_complex and matcher/trigger fields.
  • dynatrace_business_events_oneagent_outgoing: Fixed empty set item bug in trigger and event_data_field_complex fields.
  • Removed duplicate HTTP request/response logging across IAM, platform, and classic API clients.

Misc

  • dynatrace_extension_execution_remote, dynatrace_aws_connection, dynatrace_azure_connection, dynatrace_log_agent_feature_flags: Updated descriptions.
  • Request logging now always includes the request prefix for improved debuggability.

Changelog

  • 05884f2 doc: Update documentation ready for release
  • 4f99488 test: fix example uniqueness
  • 9b352d3 chore(deps): bump goreleaser/goreleaser-action from 7.1.0 to 7.2.1
  • be8a709 fix: flaky dynatrace_failure_detection_parameters creation
  • 5d6c421 test: change build tag to "sequential_integration" for V1
  • 8d9dc4f test: sequential integration testing job
  • 38d1a00 test: add sequential_integration tag to testing tools
  • c531d09 test: change build tag to "sequential_integration"
  • fee6e96 fix: export all boundaries
  • 748c168 refactor: move mocked IAM client to testing utils
  • 64d7ba1 fix: flaky dashboard general creation
  • 84e1dac fix(dynatrace_calculated_web_metric): update didn't work
  • 4bba263 refactor: remove context utility function
  • 6030994 chore: always log request prefix
  • 1ec6f29 test: add logging tests
  • 917c6fd chore: remove scope space and refactor
  • 14ce25a refactor: remove redundant logging var
  • 2c29bbe fix: remove double logging in IAM
  • f88a32a fix: remove double logging
  • 0c744ab feat: deprecate dynatrace_hub_extension_config
  • 427bbcd ci: include extension tests
  • 7794c86 feat: add dynatrace_hub_extension_v2_config resource
  • fca177c refactor: move credential override to hcl folder
  • 188f572 test: change generic settings example
  • 97e9a0d test: replace static object IDs
  • 6bcafe8 test: use actor for anomaly detector
  • 64e362c test: replace static host IDs
  • 1822b1c test: replace static application IDs
  • 06e0faf test: replace static dashboard IDs
  • c4bd55b test: skip deprecated openpipeline schemas
  • b35f963 test(dynatrace_hub_extension_active_version): align extension usage
  • e732e3e test(dynatrace_network_monitor): remove hardcoded location ID
  • f70244b test: Run data source tests automatically in GitHub Workflows
  • 55060ce fix: Use correct payload type for default_sampling_ratio in dynatrace_dql
  • 30eb9be refactor: allow executing a single test case
  • f890731 test: allow executing a single example
  • 252083c feat: update dynatrace_web_app_enablement to 1.9.1
  • 92d2416 feat: update dynatrace_mobile_app_enablement to 2.7.2
  • 386244e feat: update dynatrace_openpipeline_v2_* resources to 1.55
  • 2512be5 feat: update dynatrace_log_sensitive_data_masking to 1.0.18
  • 221b98f feat: update dynatrace_log_events to 3.2.6
  • ad064ef feat: update dynatrace_log_processing to 1.0.27
  • 711edf3 feat: update dynatrace_log_agent_feature_flags to 1.0.4
  • 0bf1cf8 feat: update dynatrace_azure_connection to 0.0.15
  • f0dcdad feat: update dynatrace_aws_connection to 0.0.25
  • 7fddaba feat: update dynatrace_extension_execution_remote to 0.2
  • 514b327 feat: update dynatrace_davis_anomaly_detectors to 1.0.13
  • f34474e feat: update dynatrace_container_builtin_rule to 0.0.4
  • b2aa7fa feat: update dynatrace_automation_approval to 0.4
  • 2f506eb fix(dynatrace_segment): empty set bug
  • 27265af refactor: align type set filtering for dynatrace_iam_policy_bindings_v2
  • 88ddc48 test: align testcase execution for dynatrace_iam_policy_bindings_v2
  • c76eb67 test: add typeSet testcase for dynatrace_iam_group
  • a199703 test: align testcase execution for dynatrace_direct_shares
  • 079cfb9 fix(dynatrace_network_monitor): empty set bug
  • 7ae8ded fix(dynatrace_network_monitor): correctly set defaults
  • 97c9116 test: add typeSet testcase for dynatrace_settings_permissions
  • 8954bf6 test: add typeSet testcase for dynatrace_credentials
  • a86ea9c fix(dynatrace_http_monitor_cookies): empty set bug
  • 94b5259 test: add typeSet testcase for dynatrace_url_based_sampling
  • f0f2637 test: add typeSet testcase for dynatrace_http_monitor_performance
  • 9c57a2e test: add typeSet testcase for dynatrace_browser_monitor_performance
  • 04ff56e test: add typeSet testcase for dynatrace_service_splitting
  • 1b1f1f2 test: add typeSet testcase for dynatrace_rum_provider_breakdown
  • feac158 test: add typeSet testcase for dynatrace_mobile_app_request_errors
  • b091a62 test: add typeSet testcase for dynatrace_resource_attributes
  • 85c6dfa test: add typeSet testcase for dynatrace_process_availability
  • bc8d728 test: align testcase execution for dynatrace_webhook_notification
  • 0d694f3 test: add typeSet testcase for dynatrace_ownership_teams
  • 6d16f66 test: add typeSet testcase for dynatrace_os_services
  • aafbe5c test: add typeSet testcase for dynatrace_opentelemetry_metrics
  • 6e9526f test: add typeSet testcase for dynatrace_openpipeline_v2_user_events_pipelines
  • c2f5d2f test: add typeSet testcase for dynatrace_openpipeline_v2_system_events_pipelines
  • ee0de52 test: add typeSet testcase for dynatrace_openpipeline_v2_security_events_pipelines
  • f3fdbf5 test: add typeSet testcase for dynatrace_openpipeline_v2_logs_pipelines
  • 99ed752 test: add typeSet testcase for dynatrace_openpipeline_v2_events_sdlc_pipelines
  • 4abaa90 test: add typeSet testcase for dynatrace_openpipeline_v2_events_pipelines
  • 1e14941 test: add typeSet testcase for dynatrace_openpipeline_v2_bizevents_pipelines
  • da8daa0 test: add TypeSet testcase for dynatrace_http_monitor
  • d681d19 test: add but exclude testcases for dynatrace_browser_monitor
  • 499455e test: add TypeSet testcases for dynatrace_notification
  • 2b07c53 doc: add example for dashboard sharing
  • 0dd4618 fix(dynatrace_generic_types): empty set bug
  • 8918a6b fix(dynatrace_generic_relationships): empty set bug
  • e949b28 fix(dynatrace_service_failure): empty set bug
  • 99a6ece fix(dynatrace_failure_detection_parameters): empty set bug
  • c77600b fix: dynatrace_app_monitoring showing plan after create
  • d255c21 test: add typeSet testcase for dynatrace_management_zone_v2
  • 4c24fcf test: add typeSet testcase for dynatrace_log_timestamp
  • f2a0eca test: add typeSet testcase for dynatrace_log_sensitive_data_masking
  • 560a21b test: add typeSet testcase for dynatrace_log_storage
  • d6eb366 test: add typeSet testcase for dynatrace_log_events
  • c5a7708 test: add typeSet testcase for dynatrace_log_custom_source
  • dbfc008 test: add typeSet testcase for dynatrace_disk_edge_anomaly_detectors
  • 7164611 test: add typeSet testcase for dynatrace_failure_detection_rule_sets
  • 3f151b1 test: add typeSet testcase for dynatrace_failure_detection_rules
  • 574f6fc test: add typeSet testcase for dynatrace_app_monitoring
  • 575d7c9 test: add typeSet testcase for dynatrace_oneagent_updates
  • 10d7db3 test: add typeSet testcase for dynatrace_davis_anomaly_detectors
  • 0f228b2 test: add typeSet testcase for dynatrace_dashboards_allowlist
  • 42b4fdc chore: remove dlclark/regexp2 lib
  • 486d0e6 chore: remove dead code in string comparison
  • 37f4750 chore(deps): bump github.com/hashicorp/terraform-plugin-docs
  • 7014515 test: fix dynatrace_web_app_custom_config_properties race condition
  • caf7e5d chore(deps): bump goreleaser/goreleaser-action from 7.0.0 to 7.1.0
  • b9954da chore(deps): bump github.com/zclconf/go-cty from 1.18.0 to 1.18.1
  • 3fef252 refactor: Remove redundant casts
  • 3e8416d refactor: Simplify creation of several pointers
  • 6ee2920 refactor: Remove unnecessary functions
  • 8cf269d ci: Add go fix pipeline step
  • 6db78fd chore: Update go to version 1.26.2
  • 67de3ba fix(dynatrace_automation_workflow): don't set result for SIMPLE workflows
  • 9d4bb1c fix: scope for dynatrace_disk_edge_anomaly_detectors resource should force new
  • e0fa280 feat: Update dynatrace_disk_edge_anomaly_detectors resource
  • 5266500 feat: Update dynatrace_k8s_cluster_anomalies resource
  • 85b88e0 refactor: Simplify logic in and around InstallRoundTripper()
  • bdb73fe refactor: Remove unneeded code
  • 739ef3d fix(dynatrace_vulnerability_alerting): empty set bug
  • 185bf4f fix(dynatrace_metric_events): empty set bug
  • b9200a5 fix(dynatrace_business_events_oneagent): empty set bug
  • 572ad58 fix(dynatrace_business_events_oneagent_outgoing): empty set bug
  • 21dbe51 test: add typeSet testcase for dynatrace_api_detection
  • a300e71 test: add typeSet testcase for dynatrace_alerting
  • da97fed test: add typeSet testcase for dynatrace_maintenance
  • 0e23a4a test: add typeSet testcase for dynatrace_automation_business_calendar
  • 487ab4c test: add typeSet testcase for dynatrace_maintenance_window
  • d787595 test: add typeSet testcase for dynatrace_custom_tags
  • 4cd453a test: add typeSet testcase for dynatrace_azure_credentials
  • fd21556 test: add typeSet testcase for dynatrace_aws_credentials
  • 1b85ee3 test: add typeSet testcase for dynatrace_aws_credentials
  • e10ac30 test: add typeSet testcase for dynatrace_autotag_v2
  • 50418f7 refactor: use filter empty utility for filtering workflow tasks
  • 1192245 test: add typeSet testcase for dynatrace_automation_workflow
  • 8bc92ef test: add typeSet testcase for dynatrace_default_launchpad
  • e9a28c1 test: add a testing function that executes test cases (create & update)

Don't miss a new terraform-provider-dynatrace release

NewReleases is sending notifications on new releases.