Releases: dynatrace-oss/terraform-provider-dynatrace
v1.54.0
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.profilebuiltin:appsec.notification-alerting-profilebuiltin:failure-detection.environment.rulesbuiltin:service-detection.external-web-requestbuiltin:service-detection.external-web-servicebuiltin:service-detection.full-web-requestbuiltin:service-detection.full-web-service
New Resources
dynatrace_db_app_feature_flagscovers configuration for database app feature flags (only to be used with direction by Dynatrace ONE)dynatrace_infraops_app_feature_flagscovers 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
repairInputquery 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_updatesdynatrace_url_based_sampling
v1.53.0
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.profilebuiltin:appsec.notification-alerting-profilebuiltin:failure-detection.environment.rulesbuiltin:service-detection.external-web-requestbuiltin:service-detection.external-web-servicebuiltin:service-detection.full-web-requestbuiltin:service-detection.full-web-service
New Resources
dynatrace_hub_extension_configanddynatrace_hub_extension_active_versioncover configuration Extensions that are eligible to get installed via Dynatrace Hub.
New Data Sources
dynatrace_hub_itemscovers 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_processingnow offers the attributeinsert_after- which allows for defining the order of multiple resource instances of typedynatrace_log_processing
v1.52.0
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.profilebuiltin:appsec.notification-alerting-profilebuiltin:failure-detection.environment.rulesbuiltin:service-detection.external-web-requestbuiltin:service-detection.external-web-servicebuiltin:service-detection.full-web-requestbuiltin:service-detection.full-web-service
New Resources
dynatrace_managed_network_zonescovers configuration for Managed cluster network zones
New Data Sources
dynatrace_management_zone_v2covers queries for the ID of a management zone based on name. This new v2 data source will only require thesettings.readscope 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_bindingsanddynatrace_mgmz_permission
Schema Updates
The following resources got updated to be compatible with the most recent schema version of Dynatrace:
dynatrace_business_events_oneagentdynatrace_calculated_service_metricdynatrace_credentialsdynatrace_request_attributedynatrace_web_application
v1.51.0
New Resources
dynatrace_http_monitor_scriptintroduces the ability to maintain HTTP Requests outside of resourcedynatrace_http_monitor.
Bug Fixes
- #407 -
dynatrace_webhook_notificationwithsecret_urlended up with non-empty plans - The attribute
urlsof resourcedynatrace_dashboard_sharingwasn't flagged as Optional
Improvements
- Introduced export capability for
dynatrace_user_group - Introduced export capability for
dynatrace_user - The new optional attribute
modefor resourcedynatrace_opentelemetry_metricsnow allows for multiple resource instances to maintain independent subsets of attributes.
v1.50.0
New Resources
dynatrace_iam_policy_bindings_v2covers binding policies to user groups via Account Management API for SaaS Accounts. This resource works similar todynatrace_iam_policy_bindings, but also allows for specifying parameters and metadata to the bindings.dynatrace_kubernetes_appcovers configuration to enable the new Kubernetes app.dynatrace_grail_metrics_allowallcovers configuration to allow all custom metric ingestion to Grail.dynatrace_grail_metrics_allowlistcovers allow list configuration of custom metric ingestion to Grail.dynatrace_web_app_beacon_endpointcovers configuration for web application beacon endpoint.dynatrace_web_app_custom_config_propertiescovers configuration for web application custom configuration properties.dynatrace_web_app_injection_cookiecovers configuration for web application cookies.
Bug Fixes
- #398 - Updated
dynatrace_aws_serviceresourcedimensionsfield to an ordered list. Pending R&D fix,dimensionswill 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_groupdynatrace_iam_permissiondynatrace_process_availability
v1.49.2
Bug Fixes
- #394 - Resolved
dynatrace_management_zone_v2issue wherecase_sensitivefalse was being driven to null withAZURE_ENTITY_NAMEcondition. - #395 - Resolved
dynatrace_calculated_service_metricissue where the UniversalTag was not being properly unmarshalled. - #397 - Resolved
dynatrace_aws_credentialsissue where supported services were being deleted andtags_to_monitorwere 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
- Fixed missing documentation from v1.49.0
v1.49.0
New Resources
dynatrace_attribute_block_listcovers configuration for OpenTracing and OpenTelemetry attribute block-listdynatrace_attributes_preferencescovers configuration for OpenTracing and OpenTelemetry attribute preferencesdynatrace_crashdump_analyticscovers configuration for crash dump analyticsdynatrace_app_monitoringcovers configuration for Dynatrace app monitoringdynatrace_grail_security_contextcovers configuration for Grail security contextdynatrace_site_reliability_guardiancovers configuration for Site Reliability Guardiandynatrace_automation_workflow_jiracovers configuration for Jira for Workflowsdynatrace_automation_workflow_slackcovers 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_selectorfor resourcedynatrace_management_zone_v2in heredoc syntax led to non-empty plans - Applying
dynatrace_service_anomalies_v2without a scope leads to provider crash
Updated Schemas for existing resources
dynatrace_os_servicesdynatrace_host_monitoring_advanced
v1.48.1
Bug Fixes
- #384 - The documentation for
dynatrace_alertingcontained an outdated set of possible operators for text filters - #382 - Creating a resource
dynatrace_platform_bucketreturned 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
New Resources and Data Sources
- The data source
dynatrace_remote_environmentscovers 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_processingcontaining%{ifcontent was not possible - #370 - Export for
dynatrace_iam_policyanddynatrace_iam_policy_bindingsfound not entries - #371 - HTTP 400 from API when applying a Workflow with CRON trigger
- #373 -
dynatrace_automation_workflowdidn't take the attributeprivate = falseinto consideration - #380 - Documentation for
dynatrace_pg_alertingincomplete
Improvements
- #374 -
dynatrace_credentialsnow supports the attributescopeandscopes(introduced by REST API 1.281) - #377 - Data Source
dynatrace_entitiesnow populates the attributelast_seen_tmsfor 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_notificationdynatrace_log_metricsdynatrace_log_oneagentdynatrace_builtin_process_monitoringdynatrace_oneagent_side_maskingdynatrace_hub_subscriptionsdynatrace_mobile_notificationsdynatrace_request_attributedynatrace_trello_notificationdynatrace_webhook_notification