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_credentials
allows creating credentials in the vaultdynatrace_synthetic_location
allows configuring a private synthetic location
New Data Source
dynatrace_calculated_service_metric
allows querying a specific calculated service metric by name
Additional Improvements
- Introduced retry functionality for
dynatrace_calculated_service_metric
- Updated
dynatrace_span_attribute
resource to ignore create on keys that already exist - Updated
dynatrace_credentials
delete to destroy HTTP monitor used for external vaults dynatrace_span_attribute
that 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_attribute
to another tenant - Technology field was missing in
dynatrace_custom_service
- Applying
dynatrace_custom_service
fails when file matchers are empty - Applying empty permissions for
dynatrace_dashboard_sharing
and deleting never worked dynatrace_synthetic_location
never matched against existing values- #163
dynatrace_maintenance
failed to apply with disable_synthetic = false or when omitted dynatrace_web_application
contained flawed attribute block browserRestrictions (instead of restrictions) upon export- Comparisons of kind boolean within resource
dynatrace_calculated_service_metric
are now required attributes - Updated optional fields within resource
dynatrace_mobile_application
- Fixed handling of
mobile
,touch_enabled
andmasked
indynatrace_browser_monitor