This release doesn't contain any user-facing changes. It's done as a required part of process to finalize the transfer of the provider repository under DataDog GitHub organization: https://github.com/DataDog/terraform-provider-datadog.
FEATURES:
IMPROVEMENTS:
datadog_synthetics_test
: Enable usage ofvalidatesJSONPath
operator (#571)datadog_synthetics_test
: Allow usage of the new assertion format (#571], [#582)datadog_synthetics_test
: Add support forbasicAuth
andquery
(#586)
BUGFIXES:
datadog_downtime
: Replacetime.LoadLocation
by tz.LoadLocation from4d63.com/tz
package (#560)datadog_downtime
: UseTypeSet
for monitor tags to avoid unnecessary diffs (#540)provider
: Respect the debug setting in the new Go Datadog client (#580)
NOTES:
datadog_integration_pagerduty
: This resource is deprecated. You can usedatadog_integration_pagerduty_service_object
resources directly once the integration is activated (#584)
FEATURES:
datadog_logs_archive
: Adddatadog_logs_archive
resource (#544)datadog_integration_azure
: Adddatadog_integration_azure
resource (#556)
FEATURES:
datadog_integration_aws
: Addexcluded_regions
parameter (#549)datadog_dashboard
: AddServiceMap
widget to dashboard (#550)datadog_dashboard
: Addshow_legend
andlegend_size
fields to Distribution widget (#551)datadog_dashboard
: Addnetwork_query
andrum_query
to timeseries widget (#555)datadog_dashboard
: Addevent
,legend_size
andshow_legend
fields to heatmap widget (#554)
IMPROVEMENTS:
datadog_dashboard
: Add readonly url field to dashboard (#558)
IMPROVEMENTS:
BUGFIXES:
datadog_dashboard
: Safely access index field (#536)datadog_dashboard
: Set title and title_align properly on heatmap widget (#539)datadog_ip_ranges
: Fix data source for IPRanges (#542)datadog_monitor
: Fix indent in datadog_monitor docs example (#543) Thanks @nekottyo
NOTES:
datadog_synthetics_test
:SyntheticsDeviceID
should accept all allowed values (#538)- Thanks @razaj92 (#547) who contributed to this release as well.
FEATURES:
provider
: Add support forDD_API_KEY
,DD_APP_KEY
andDD_HOST
env variables (#469)datadog_logs_custom_pipeline
: Add support for lookup processor (#415)datadog_integration_aws_lambda_arn
: Add AWS Log Lambda Integration (#436)datadog_integration_aws_log_collection
: Add AWS Log collection service resource (#437) Thanks @mhaley-miovisiondatadog_dashboard
: Add support for tags_execution (#524)datadog_dashboard
: Addlegend_size
to api request (#421)provider
: Add "validate" option that can disable validation (#474) Thanks @bendrucker
IMPROVEMENTS:
provider
: Harmonized errors across all resources (#450)provider
: Add more infos in user agent header (#455)provider
: Update the api error message (#472)datadog_screenboard
,datadog_timeboard
: Add deprecation messages (#496)provider
: New UserAgent Header (#455), (#510), (#511), and (#512)datadog_integration_aws
: Add full AWS Update support (#521)
BUGFIXES:
datadog_logs_index
: Fail fast if index isn't imported (#452)datadog_integration_aws
: Do not set empty structures in request to create aws integration (#505) Thanks @miguelaferreiradatadog_dashboard
: Add default to deprecatedcount
field to avoid sending 0 (#514)datadog_integration_pagerduty
: Fix perpetual diff in api_token (#518) Thanks @bendruckerdatadog_dashboard
: Add column revamp properties to dashboard log stream widget (#517)
NOTES:
- This release replaces the underlying community driven Datadog API Go client go-datadog-api with the Datadog Official API Go client datadog-api-client-go for all resources listed below:
provider
: Add Datadog Go client API (#477) and (#456)datadog_service_level_objective
: Migrate SLO resource with Datadog Go Client (#490)datadog_metric_metadata
: Migrate metric_metadata resource to use Datadog Go client (#486)datadog_integration_aws
: Migrate AWS resource to use Datadog Go client (#481)datadog_integration_gcp
: Migrate GCP resource to use Datadog Go client (#482)datadog_downtime
: Migrate Downtime resource to use Datadog Go client (#480)datadog_ip_ranges
: Migrate IP Range resource with Datadog Go client (#491)datadog_integration_pagerduty_service_object
: Migrate pagerduty_service_object resource to use Datadog Go client (#488)datadog_logs_index
,datadog_logs_index_order
,datadog_logs_integration_pipeline
,datadog_logs_pipeline_order
: Migrate Logs resources to use Datadog Go client (#483)datadog_monitor
: Migrate monitor resource to use Datadog Go client (#485)datadog_dashboard_list
: Migrate Dashboard_list resource to use Datadog Go client (#479)datadog_integration_aws_log_collection
: Migrate aws_log_collection resource to use Datadog Go client (#501)datadog_logs_custom_pipeline
: Migrate Logs custom pipeline resource to utilize Datadog Go client (#495)datadog_synthetics_test_
: Migrate synthetics resource to utilize Datadog Go Client (#499)datadog_integration_aws_log_collection
,datadog_integration_aws_lambda_arn
: Migrate AWS logs to use the Datadog Go Client (#497)datadog_dashboard
: Migrate dashboard resource to use Datadog Go client (#489)
datadog_screenboard
anddatadog_timeboard
resources are deprecated and should be converted todatadog_dashboard
resources.- Thanks @NeverTwice (#460) and @sepulworld (#506) who contributed to this release as well.
IMPROVEMENTS:
datadog_dashboard
: Addtemplate_variable_presets
parameter (#401)datadog_dashboard
: Add new Monitor Summary widget parameters:summary_type
andshow_last_triggered
(#396)datadog_dashboard
: Hide deprecated Monitor Summary widget parameters:count
andstart
(#403)datadog_monitor
: Improve monitor example with ignoring changes on silenced (#406)datadog_service_level_objective
: Fix optional threshold fields handling when updating (#400)
BUGFIXES:
datadog_downtime
: Gracefully handle recreating downtimes that were canceled manually (#405)datadog_screenboard
: Properly set screenboard attributes from client response to not produce non-empty plans (#404)
NOTES:
- This is the first release to use the new
terraform-plugin-sdk
(#346)
FEATURES:
IMPROVEMENTS:
BUGFIXES:
datadog_service_level_objective
: Fix slo threshold warning value modified when storing the state (#352)datadog_service_level_objective
:monitor_search
schema removed from the SLO resource as it is not yet supported (#358) Thanks @unclebconnordatadog_monitor
: Resolve non empty diff: "no_data_timeframe = 0 -> 10" on plan diff (#384) Thanks @abicky
FEATURES:
datadog_ip_ranges
: New data source for IP ranges (#298)datadog_logs_custom_pipeline
: New resource for custom logs pipelines (#312, #332)datadog_logs_index
: New resource for logs indexes (#326)datadog_logs_index_order
: New resource for logs index ordering (#326)datadog_logs_integration_pipeline
: New resource for integration logs pipelines (#312, #332)datadog_logs_pipeline_order
: New resources for logs pipeline ordering (#312)
IMPROVEMENTS:
datadog_dashboard
: Added documentation ofevent
andaxis
(#314)datadog_screenboard
: Addedcount
as a valid aggregation method (#333)
BUGFIXES:
datadog_dashboard
: Fixed parsing ofcompute.interval
andgroup_by.sort.facet
, markgroup_by.facet
as optional for apm and log queries (#322, #325)datadog_dashboard
: Properly respectshow_legend
(#329)datadog_integration_pagerduty
: Add missing exists methods to prevent failing when resource was manually removed outside of Terraform (#324)datadog_integration_pagerduty_service_object
: Add missing exists methods to prevent failing when resource was manually removed outside of Terraform (#324)
FEATURES:
datadog_dashboard_list
: New resource for dashboard lists (#296)
IMPROVEMENTS:
datadog_dashboard
: Allow specifyingevent
andyaxis
for timeseries definitions (#282)
IMPROVEMENTS:
datadog-dashboards
: Add resources for log, apm and process query in legacy dashboards (#272)
BUGFIXES:
datadog_integration_pagerduty
: Make sure PD services don't get removed by updating PD resource (#304)
FEATURES:
datadog_service_level_objective
: New resource for Service Level Objective (SLO) (#263)
IMPROVEMENTS:
datadog_dashbaord
: Add support for style block in dashboard widgets. (#277)datadog_dashboard
: Add support for metadata block in dashboard widgets (#278)datadog_synthetics_test
: Support SSL synthetics tests. (#279)
BUGFIXES:
datadog_dashboards
: Safely type assert optional fields from log and apm query to avoid a panic if they aren't supplied (#283)datadog_synthetics_test
: Fix follow redirects field to properly apply and save in state. (#256)
FEATURES:
datadog_dashboard
: New Resource combining screenboard and timeboard, allowing a single config to manage all of your Datadog Dashboards. (#249)datadog_integration_pagerduty_service_object
: New Resource that allows the configuration of individual pagerduty services for the Datadog Pagerduty Integration. (#237)
IMPROVEMENTS:
datadog_aws
: Add a mutex around all API operations for this resource. (#254)datadog_downtime
: General improvements around allowing the resource to be ran multiple times without sending any unchanged values for the start/end times. Also fixes non empty diff when monitor_tags isn't set. (#264] [#267)datadog_monitor
: Only add a threshold window if a recovery or trigger window is set. [#260] Thanks @heldersepudatadog_user
: Makeis_admin
computed to continue its deprecation path and avoid spurious diffs. (#251)
NOTES:
- This release includes Terraform SDK upgrade to 0.12.5. (#265)
BUGFIXES:
datadog_monitor
: DiffSuppress the difference betweenmetric alert
andquery alert
no matter what is in the current state and prevent the force recreation of monitors due to this change. (#247)
BUGFIXES:
datadog_monitor
: Don't force the destruction and recreation of a monitor when the type changes betweenmetric alert
andquery alert
. (#242)
NOTES:
datadog_monitor
: The silence attribute is beginning its deprecation process, please usedatadog_downtime
instead (#221)
IMPROVEMENTS:
datadog_monitor
: Use ForceNew when changing the Monitor type (#236)datadog_monitor
: Add default tono data
timeframe of 10 minutes. (#212)datadog_synthetics_test
: Support synthetics monitors in composite monitors. (#222)datadog_downtime
: Add validation to tags, add timezone parameter, improve downtime id handling, add descriptions to fields. (#204)datadog_screenboard
: Add support for metadata alias in graphs. (#215)datadog_screenboard
: Addcustom_bg_color
to graph config. [#189] Thanks @milanvdm- Update the vendored go client to
v2.21.0
. (#230)
BUGFIXES:
datadog_timeboard
: Fix theextra_col
from having a non empty plan when there are no changes. (#231)datadog_timeboard
: Fix theprecision
from having a non empty plan when there are no changes. (#228)datadog_monitor
: Fix the sorting of monitor tags that could lead to a non empty diff. (#214)datadog_monitor
: Properly savequery_config
as to avoid to an improper non empty diff. (#209)datadog_monitor
: Fix and clarify documentation on unmuting monitor scopes. (#202)datadog_screenboard
: Change monitor schema to be of type String instead of Int. [#154] Thanks @mnaboka
IMPROVEMENTS:
datadog_downtime
: Addmonitor_tags
getting and setting (#167)datadog_monitor
: Add support forenable_logs
in log monitors (#151)datadog_monitor
: Add suport forthreshold_windows
attribute (#131)- Support importing dashboards using the new string ID (#184)
- Various documentation fixes and improvements (#152, #171, #176, #178, #180, #183)
NOTES:
- This release includes Terraform SDK upgrade to 0.12.0-rc1. The provider is backwards compatible with Terraform v0.11.X, there should be no significant changes in behavior. Please report any issues to either Terraform issue tracker or to Terraform Datadog Provider issue tracker (#194, #198)
INTERNAL:
- provider: Enable request/response logging in
>=DEBUG
mode (#153)
IMPROVEMENTS:
- Add Synthetics API and Browser tests support + update go-datadog-api to latest. (169)
BUGFIXES:
- Bump go api client to 2.19.0 to fix TileDefStyle.fillMax type errors. (143)(144)
- Fix the usage of
start_date
andend_data
only being read on the first apply. (145)
IMPROVEMENTS:
FEATURES:
- New Resource:
datadog_integration_pagerduty
(135)
BUGFIXES:
- the graph.style.palette_flip field is a boolean but only works if it's passed as a string. (#29)
- datadog_monitor - Removal of 'silenced' resource argument has no practical effect. (#41)
- datadog_screenboard - widget swapping
x
andy
parameters. (#119) - datadog_screenboard - panic: interface conversion: interface {} is string, not float64. (#117)
IMPROVEMENTS:
- Feature Request: AWS Integration. (#76)
- Bump datadog api to v2.18.0 and add support for include units and zero. (#121)
IMPROVEMENTS:
- Add Google Cloud Platform integration (#108)
- Add new hostmap widget options:
node type
,fill_min
andfill_max
. (#106) - Use dates to set downtime interval, improve docs. (#113)
- Bump Terraform provider SDK to latest. (#110)
- Better document
evaluation_delay
option. (#112)
IMPROVEMENTS:
BUGFIXES:
- Allow
new_host_delay
to be unset (#100)
IMPROVEMENTS:
- Add full support for Datadog screenboards (#91)
BUGFIXES:
BUG FIXES:
IMPROVEMENTS:
- Update
go-datadog-api
to v.2.11.0 and move vendoring fromgopkg.in/zorkian/go-datadog-api.v2
togithub.com/zorkian/go-datadog-api
(#84) - Deprecate
is_admin
as part of the work needed to add support foraccess_role
(#85)
IMPROVEMENTS:
- Added more docs detailing expected weird behaviours from the Datadog API. (#79)
- Added support for 'unknown' monitor threshold field. (#45)
- Deprecated the
role
argument forUser
resources since it's now a noop on the Datadog API. (#80)
BUG FIXES:
- Bump
go-datadog-api.v2
to v2.10.0 thus fixing tag removal on monitor updates (#43)
IMPROVEMENTS:
datadog_downtime
- adding support for settingmonitor_id
(#18)
IMPROVEMENTS:
datadog_monitor
- Add support for monitor recovery thresholds (#37)
BUG FIXES:
- Fix issue with DataDog service converting metric alerts to query alerts (#16)
BUG FIXES:
- Fix issue reading resources that have been updated outside of Terraform (#34)
BUG FIXES:
- Improved detection of "drift" when graphs are reconfigured outside of Terraform. (#27)
- Fixed API response decoding error on graphs. (#27)
FEATURES:
- New Resource:
datadog_metric_metadata
(#17)
NOTES:
- Same functionality as that of Terraform 0.9.8. Repacked as part of Provider Splitout