Skip to content

Releases: dynatrace-oss/terraform-provider-dynatrace

v1.54.0

18 Mar 15:42

Choose a tag to compare

Important Changes (Repeat - Reminder)

The following resources can result in non-empty plans due to a recent update in the REST API. Starting with v287, the API will return the Settings 2.0 ID of any referenced Management Zone ID of the schemas below instead of the configuration V1 ID that it previously returned. In order to resolve this issue, please update any Management Zone references from legacy_id to id. Any hardcoded Management Zone will need to be updated to the Settings 2.0 ID equivalent to result in a non-empty plan.

  • builtin:alerting.profile
  • builtin:appsec.notification-alerting-profile
  • builtin:failure-detection.environment.rules
  • builtin:service-detection.external-web-request
  • builtin:service-detection.external-web-service
  • builtin:service-detection.full-web-request
  • builtin:service-detection.full-web-service

New Resources

  • dynatrace_db_app_feature_flags covers configuration for database app feature flags (only to be used with direction by Dynatrace ONE)
  • dynatrace_infraops_app_feature_flags covers configuration for infrastructure and operations app feature flags (only to be used with direction by Dynatrace ONE)

Improvements

  • #412 - All Settings 2.0 resources will now be passing a repairInput query parameter to allow lenient validation. This is an enhancement for maintaining schemas and backwards compatibility for older clusters.

Schema Updates

The following resources got updated to be compatible with the most recent schema version of Dynatrace:

  • dynatrace_web_app_javascript_updates
  • dynatrace_url_based_sampling

v1.53.0

14 Mar 16:08

Choose a tag to compare

Important Changes (Repeat - Reminder)

The following resources can result in non-empty plans due to a recent update in the REST API. Starting with v287, the API will return the Settings 2.0 ID of any referenced Management Zone ID of the schemas below instead of the configuration V1 ID that it previously returned. In order to resolve this issue, please update any Management Zone references from legacy_id to id. Any hardcoded Management Zone will need to be updated to the Settings 2.0 ID equivalent to result in a non-empty plan.

  • builtin:alerting.profile
  • builtin:appsec.notification-alerting-profile
  • builtin:failure-detection.environment.rules
  • builtin:service-detection.external-web-request
  • builtin:service-detection.external-web-service
  • builtin:service-detection.full-web-request
  • builtin:service-detection.full-web-service

New Resources

  • dynatrace_hub_extension_config and dynatrace_hub_extension_active_version cover configuration Extensions that are eligible to get installed via Dynatrace Hub.

New Data Sources

  • dynatrace_hub_items covers querying for components that are available on the Dynatrace Hub, like Extensions or Technologies

Bug Fixes

#418 - Deleting dynatrace_environment resource instances was not always possible in combination with licensing constraints
#421 - Resource dynatrace_ownership_teams insisted on specifying a url within the contact_details when the integration_type was either SLACK. That attribute is however optional in such a case

Improvements

  • dynatrace_log_processing now offers the attribute insert_after - which allows for defining the order of multiple resource instances of type dynatrace_log_processing

v1.52.0

07 Mar 10:24

Choose a tag to compare

Important Changes

The following resources can result in non-empty plans due to a recent update in the REST API. Starting with v287, the API will return the Settings 2.0 ID of any referenced Management Zone ID of the schemas below instead of the configuration V1 ID that it previously returned. In order to resolve this issue, please update any Management Zone references from legacy_id to id. Any hardcoded Management Zone will need to be updated to the Settings 2.0 ID equivalent to result in a non-empty plan.

  • builtin:alerting.profile
  • builtin:appsec.notification-alerting-profile
  • builtin:failure-detection.environment.rules
  • builtin:service-detection.external-web-request
  • builtin:service-detection.external-web-service
  • builtin:service-detection.full-web-request
  • builtin:service-detection.full-web-service

New Resources

  • dynatrace_managed_network_zones covers configuration for Managed cluster network zones

New Data Sources

  • dynatrace_management_zone_v2 covers queries for the ID of a management zone based on name. This new v2 data source will only require the settings.read scope since it is using the Settings 2.0 API. This will be used as the default for Management Zone dependencies in the export utility.

Improvements

  • Introduced export capability for dynatrace_policy_bindings and dynatrace_mgmz_permission

Schema Updates

The following resources got updated to be compatible with the most recent schema version of Dynatrace:

  • dynatrace_business_events_oneagent
  • dynatrace_calculated_service_metric
  • dynatrace_credentials
  • dynatrace_request_attribute
  • dynatrace_web_application

v1.51.0

29 Feb 17:59

Choose a tag to compare

New Resources

  • dynatrace_http_monitor_script introduces the ability to maintain HTTP Requests outside of resource dynatrace_http_monitor.

Bug Fixes

  • #407 - dynatrace_webhook_notification with secret_url ended up with non-empty plans
  • The attribute urls of resource dynatrace_dashboard_sharing wasn't flagged as Optional

Improvements

  • Introduced export capability for dynatrace_user_group
  • Introduced export capability for dynatrace_user
  • The new optional attribute mode for resource dynatrace_opentelemetry_metrics now allows for multiple resource instances to maintain independent subsets of attributes.

v1.50.0

22 Feb 20:27

Choose a tag to compare

New Resources

  • dynatrace_iam_policy_bindings_v2 covers binding policies to user groups via Account Management API for SaaS Accounts. This resource works similar to dynatrace_iam_policy_bindings, but also allows for specifying parameters and metadata to the bindings.
  • dynatrace_kubernetes_app covers configuration to enable the new Kubernetes app.
  • dynatrace_grail_metrics_allowall covers configuration to allow all custom metric ingestion to Grail.
  • dynatrace_grail_metrics_allowlist covers allow list configuration of custom metric ingestion to Grail.
  • dynatrace_web_app_beacon_endpoint covers configuration for web application beacon endpoint.
  • dynatrace_web_app_custom_config_properties covers configuration for web application custom configuration properties.
  • dynatrace_web_app_injection_cookie covers configuration for web application cookies.

Bug Fixes

  • #398 - Updated dynatrace_aws_service resource dimensions field to an ordered list. Pending R&D fix, dimensions will be switched back to an unordered list.

Improvements

  • Introduced export capability for dynatrace_policy

Schema Updates

The following resources got updated to be compatible with the most recent schema version of Dynatrace:

  • dynatrace_iam_group
  • dynatrace_iam_permission
  • dynatrace_process_availability

v1.49.2

09 Feb 14:26

Choose a tag to compare

Bug Fixes

  • #394 - Resolved dynatrace_management_zone_v2 issue where case_sensitive false was being driven to null with AZURE_ENTITY_NAME condition.
  • #395 - Resolved dynatrace_calculated_service_metric issue where the UniversalTag was not being properly unmarshalled.
  • #397 - Resolved dynatrace_aws_credentials issue where supported services were being deleted and tags_to_monitor were being shuffled.

Schema Updates

The following resource was updated to be compatible with the most recent schema version of Dynatrace:

  • dynatrace_disk_options

v1.49.1

05 Feb 19:09

Choose a tag to compare

  • Fixed missing documentation from v1.49.0

v1.49.0

25 Jan 10:30
9e5aee5

Choose a tag to compare

New Resources

  • dynatrace_attribute_block_list covers configuration for OpenTracing and OpenTelemetry attribute block-list
  • dynatrace_attributes_preferences covers configuration for OpenTracing and OpenTelemetry attribute preferences
  • dynatrace_crashdump_analytics covers configuration for crash dump analytics
  • dynatrace_app_monitoring covers configuration for Dynatrace app monitoring
  • dynatrace_grail_security_context covers configuration for Grail security context
  • dynatrace_site_reliability_guardian covers configuration for Site Reliability Guardian
  • dynatrace_automation_workflow_jira covers configuration for Jira for Workflows
  • dynatrace_automation_workflow_slack covers configuration for Slack for Workflows

Bug Fixes

  • #386 - Terrafrom Provider for AWS treats an optional entityFilter block as required and errors out
  • Applying an entity_selector for resource dynatrace_management_zone_v2 in heredoc syntax led to non-empty plans
  • Applying dynatrace_service_anomalies_v2 without a scope leads to provider crash

Updated Schemas for existing resources

  • dynatrace_os_services
  • dynatrace_host_monitoring_advanced

v1.48.1

21 Dec 10:03

Choose a tag to compare

Bug Fixes

  • #384 - The documentation for dynatrace_alerting contained an outdated set of possible operators for text filters
  • #382 - Creating a resource dynatrace_platform_bucket returned too early with success - before the whole Dynatrace Cluster was aware of the bucket
  • #383 - Updated and corrected the example in the documentation for dynatrace_aws_service

v1.48.0

18 Dec 14:40

Choose a tag to compare

New Resources and Data Sources

  • The data source dynatrace_remote_environments covers queries for remote environments

Important Changes

The resource dynatrace_aws_credentials cannot get used anymore for managing supported services. The block supported_services_to_monitor is still supported but will be ignored. In order to manage supported services the resource dynatrace_aws_service needs to get used from now on. The attribute remove_defaults is still available - signalling to Terraform that any services Dynatrace assigns by default to these credentials will get purged upon creation. Subsequent updates won't be affected by remove_defaults, though.

Bug Fixes

  • #372 - Exporting dynatrace_log_processing containing %{if content was not possible
  • #370 - Export for dynatrace_iam_policy and dynatrace_iam_policy_bindings found not entries
  • #371 - HTTP 400 from API when applying a Workflow with CRON trigger
  • #373 - dynatrace_automation_workflow didn't take the attribute private = false into consideration
  • #380 - Documentation for dynatrace_pg_alerting incomplete

Improvements

  • #374 - dynatrace_credentials now supports the attribute scope and scopes (introduced by REST API 1.281)
  • #377 - Data Source dynatrace_entities now populates the attribute last_seen_tms for every entity in order to allow for predictable sorting

Schema Updates

The following resources got updated to be compatible with the most recent schema version of Dynatrace:

  • dynatrace_webhook_notification
  • dynatrace_log_metrics
  • dynatrace_log_oneagent
  • dynatrace_builtin_process_monitoring
  • dynatrace_oneagent_side_masking
  • dynatrace_hub_subscriptions
  • dynatrace_mobile_notifications
  • dynatrace_request_attribute
  • dynatrace_trello_notification
  • dynatrace_webhook_notification