diff --git a/datadog/cassettes/TestAccDatadogDashboardQueryTable.freeze b/datadog/cassettes/TestAccDatadogDashboardQueryTable.freeze index 4e82e73bcb..24e7a3a1c2 100644 --- a/datadog/cassettes/TestAccDatadogDashboardQueryTable.freeze +++ b/datadog/cassettes/TestAccDatadogDashboardQueryTable.freeze @@ -1 +1 @@ -2020-10-08T11:18:13.912621-04:00 \ No newline at end of file +2020-10-08T11:35:19.509608-04:00 \ No newline at end of file diff --git a/datadog/cassettes/TestAccDatadogDashboardQueryTable.yaml b/datadog/cassettes/TestAccDatadogDashboardQueryTable.yaml index b6b2aa01d6..a0818e383a 100644 --- a/datadog/cassettes/TestAccDatadogDashboardQueryTable.yaml +++ b/datadog/cassettes/TestAccDatadogDashboardQueryTable.yaml @@ -3,7 +3,7 @@ version: 1 interactions: - request: body: | - {"description":"Created using the Datadog provider in Terraform","id":"","is_read_only":true,"layout_type":"ordered","notify_list":[],"template_variable_presets":[],"template_variables":[],"title":"tf-TestAccDatadogDashboardQueryTable-local-1602170293","widgets":[{"definition":{"requests":[{"aggregator":"max","alias":"cpu user","cell_display_mode":["number"],"conditional_formats":[{"comparator":"\u003c","hide_value":false,"palette":"white_on_green","value":90},{"comparator":"\u003e=","hide_value":false,"palette":"white_on_red","value":90}],"limit":25,"order":"desc","q":"avg:system.cpu.user{account:prod} by {service, team}"},{"aggregator":"last","alias":"system load","cell_display_mode":["number"],"conditional_formats":[{"comparator":"\u003e","hide_value":false,"palette":"custom_bg","value":50}],"q":"avg:system.load.1{*} by {service, team}"}],"time":{"live_span":"1d"},"title":"system.cpu.user, system.load.1","title_align":"right","title_size":"16","type":"query_table"}},{"definition":{"requests":[{"apm_stats_query":{"env":"env","name":"name","primary_tag":"tag:*","row_type":"resource","service":"service"}}],"type":"query_table"}}]} + {"description":"Created using the Datadog provider in Terraform","id":"","is_read_only":true,"layout_type":"ordered","notify_list":[],"template_variable_presets":[],"template_variables":[],"title":"tf-TestAccDatadogDashboardQueryTable-local-1602171319","widgets":[{"definition":{"has_search_bar":"auto","requests":[{"aggregator":"max","alias":"cpu user","cell_display_mode":["number"],"conditional_formats":[{"comparator":"\u003c","hide_value":false,"palette":"white_on_green","value":90},{"comparator":"\u003e=","hide_value":false,"palette":"white_on_red","value":90}],"limit":25,"order":"desc","q":"avg:system.cpu.user{account:prod} by {service, team}"},{"aggregator":"last","alias":"system load","cell_display_mode":["number"],"conditional_formats":[{"comparator":"\u003e","hide_value":false,"palette":"custom_bg","value":50}],"q":"avg:system.load.1{*} by {service, team}"}],"time":{"live_span":"1d"},"title":"system.cpu.user, system.load.1","title_align":"right","title_size":"16","type":"query_table"}},{"definition":{"has_search_bar":"never","requests":[{"apm_stats_query":{"env":"env","name":"name","primary_tag":"tag:*","row_type":"resource","service":"service"}}],"type":"query_table"}}]} form: {} headers: Accept: @@ -16,20 +16,20 @@ interactions: - terraform-provider-datadog/dev (terraform 1.15.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.9+dev (go go1.13.1; os darwin; arch amd64) X-Datadog-Parent-Id: - - "6422533173626014336" + - "1624212122165675798" X-Datadog-Sampling-Priority: - "1" X-Datadog-Trace-Id: - - "2061375795733494952" + - "1649686095348874835" url: https://api.datadoghq.com/api/v1/dashboard method: POST response: body: '{"notify_list":[],"description":"Created using the Datadog provider in - Terraform","author_name":null,"template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"arg-jy7-4an","title":"tf-TestAccDatadogDashboardQueryTable-local-1602170293","url":"/dashboard/arg-jy7-4an/tf-testaccdatadogdashboardquerytable-local-1602170293","created_at":"2020-10-08T15:18:17.798481+00:00","modified_at":"2020-10-08T15:18:17.798481+00:00","author_handle":"frog@datadoghq.com","widgets":[{"definition":{"title_size":"16","title":"system.cpu.user, - system.load.1","title_align":"right","time":{"live_span":"1d"},"requests":[{"aggregator":"max","cell_display_mode":["number"],"conditional_formats":[{"palette":"white_on_green","hide_value":false,"value":90,"comparator":"<"},{"palette":"white_on_red","hide_value":false,"value":90,"comparator":">="}],"q":"avg:system.cpu.user{account:prod} + Terraform","author_name":null,"template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"td2-rhj-n4s","title":"tf-TestAccDatadogDashboardQueryTable-local-1602171319","url":"/dashboard/td2-rhj-n4s/tf-testaccdatadogdashboardquerytable-local-1602171319","created_at":"2020-10-08T15:35:22.901489+00:00","modified_at":"2020-10-08T15:35:22.901489+00:00","author_handle":"frog@datadoghq.com","widgets":[{"definition":{"title_size":"16","title":"system.cpu.user, + system.load.1","title_align":"right","has_search_bar":"auto","time":{"live_span":"1d"},"requests":[{"aggregator":"max","cell_display_mode":["number"],"conditional_formats":[{"palette":"white_on_green","hide_value":false,"value":90,"comparator":"<"},{"palette":"white_on_red","hide_value":false,"value":90,"comparator":">="}],"q":"avg:system.cpu.user{account:prod} by {service, team}","alias":"cpu user","limit":25,"order":"desc"},{"q":"avg:system.load.1{*} by {service, team}","aggregator":"last","cell_display_mode":["number"],"conditional_formats":[{"palette":"custom_bg","hide_value":false,"value":50,"comparator":">"}],"alias":"system - load"}],"type":"query_table"},"id":4412506929664304},{"definition":{"requests":[{"apm_stats_query":{"primary_tag":"tag:*","row_type":"resource","name":"name","service":"service","env":"env"}}],"type":"query_table"},"id":368314935417995}],"layout_type":"ordered"}' + load"}],"type":"query_table"},"id":6580439254187360},{"definition":{"requests":[{"apm_stats_query":{"primary_tag":"tag:*","row_type":"resource","name":"name","service":"service","env":"env"}}],"type":"query_table","has_search_bar":"never"},"id":193644683220567}],"layout_type":"ordered"}' headers: Cache-Control: - no-cache @@ -40,13 +40,13 @@ interactions: Content-Type: - application/json Date: - - Thu, 08 Oct 2020 15:18:17 GMT + - Thu, 08 Oct 2020 15:35:23 GMT Dd-Pool: - dogweb Pragma: - no-cache Set-Cookie: - - DD-PSHARD=233; Max-Age=604800; Path=/; expires=Thu, 15-Oct-2020 15:18:17 GMT; + - DD-PSHARD=233; Max-Age=604800; Path=/; expires=Thu, 15-Oct-2020 15:35:22 GMT; secure; HttpOnly Strict-Transport-Security: - max-age=15724800; @@ -55,7 +55,7 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Debug: - - Kk/IK0yKFQFO85P6+hozZV6nj4lzf3jJe8dZhRkIu12QKZF7MHi2yPiBbpLyX6Ve + - tn++ajambiboc22yEZp2LPSDqkKgxYU69+naXgFtW57aX7Q9JfJBptYV8xTFKhXT X-Dd-Version: - "35.3163187" X-Frame-Options: @@ -75,20 +75,20 @@ interactions: - terraform-provider-datadog/dev (terraform 1.15.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.9+dev (go go1.13.1; os darwin; arch amd64) X-Datadog-Parent-Id: - - "7359478373654917257" + - "6728941068508527744" X-Datadog-Sampling-Priority: - "1" X-Datadog-Trace-Id: - - "2061375795733494952" - url: https://api.datadoghq.com/api/v1/dashboard/arg-jy7-4an + - "1649686095348874835" + url: https://api.datadoghq.com/api/v1/dashboard/td2-rhj-n4s method: GET response: body: '{"notify_list":[],"description":"Created using the Datadog provider in - Terraform","author_name":null,"template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"arg-jy7-4an","title":"tf-TestAccDatadogDashboardQueryTable-local-1602170293","url":"/dashboard/arg-jy7-4an/tf-testaccdatadogdashboardquerytable-local-1602170293","created_at":"2020-10-08T15:18:17.798481+00:00","modified_at":"2020-10-08T15:18:17.798481+00:00","author_handle":"frog@datadoghq.com","widgets":[{"definition":{"title_size":"16","title":"system.cpu.user, - system.load.1","title_align":"right","time":{"live_span":"1d"},"requests":[{"aggregator":"max","cell_display_mode":["number"],"conditional_formats":[{"palette":"white_on_green","hide_value":false,"value":90,"comparator":"<"},{"palette":"white_on_red","hide_value":false,"value":90,"comparator":">="}],"q":"avg:system.cpu.user{account:prod} + Terraform","author_name":null,"template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"td2-rhj-n4s","title":"tf-TestAccDatadogDashboardQueryTable-local-1602171319","url":"/dashboard/td2-rhj-n4s/tf-testaccdatadogdashboardquerytable-local-1602171319","created_at":"2020-10-08T15:35:22.901489+00:00","modified_at":"2020-10-08T15:35:22.901489+00:00","author_handle":"frog@datadoghq.com","widgets":[{"definition":{"title_size":"16","title":"system.cpu.user, + system.load.1","title_align":"right","has_search_bar":"auto","time":{"live_span":"1d"},"requests":[{"aggregator":"max","cell_display_mode":["number"],"conditional_formats":[{"palette":"white_on_green","hide_value":false,"value":90,"comparator":"<"},{"palette":"white_on_red","hide_value":false,"value":90,"comparator":">="}],"q":"avg:system.cpu.user{account:prod} by {service, team}","alias":"cpu user","limit":25,"order":"desc"},{"q":"avg:system.load.1{*} by {service, team}","aggregator":"last","cell_display_mode":["number"],"conditional_formats":[{"palette":"custom_bg","hide_value":false,"value":50,"comparator":">"}],"alias":"system - load"}],"type":"query_table"},"id":4412506929664304},{"definition":{"requests":[{"apm_stats_query":{"primary_tag":"tag:*","row_type":"resource","name":"name","service":"service","env":"env"}}],"type":"query_table"},"id":368314935417995}],"layout_type":"ordered"}' + load"}],"type":"query_table"},"id":6580439254187360},{"definition":{"requests":[{"apm_stats_query":{"primary_tag":"tag:*","row_type":"resource","name":"name","service":"service","env":"env"}}],"type":"query_table","has_search_bar":"never"},"id":193644683220567}],"layout_type":"ordered"}' headers: Cache-Control: - no-cache @@ -99,13 +99,13 @@ interactions: Content-Type: - application/json Date: - - Thu, 08 Oct 2020 15:18:18 GMT + - Thu, 08 Oct 2020 15:35:23 GMT Dd-Pool: - dogweb Pragma: - no-cache Set-Cookie: - - DD-PSHARD=233; Max-Age=604800; Path=/; expires=Thu, 15-Oct-2020 15:18:18 GMT; + - DD-PSHARD=233; Max-Age=604800; Path=/; expires=Thu, 15-Oct-2020 15:35:23 GMT; secure; HttpOnly Strict-Transport-Security: - max-age=15724800; @@ -114,7 +114,7 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Debug: - - oqlClNgBffXSYxjxM4MXW8YBCUkTvkeEyGekJFD2ia4zlDKNcD3ROot7wMYW8Xj+ + - sbJ6i3VupQQcT7EDgPAdOxGmcKsvZJqf4l3SlQaWZNaaFfahh7BdNF3x5CttmH4Q X-Dd-Version: - "35.3163187" X-Frame-Options: @@ -134,20 +134,20 @@ interactions: - terraform-provider-datadog/dev (terraform 1.15.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.9+dev (go go1.13.1; os darwin; arch amd64) X-Datadog-Parent-Id: - - "8151278952288444782" + - "7791515742309804716" X-Datadog-Sampling-Priority: - "1" X-Datadog-Trace-Id: - - "2061375795733494952" - url: https://api.datadoghq.com/api/v1/dashboard/arg-jy7-4an + - "1649686095348874835" + url: https://api.datadoghq.com/api/v1/dashboard/td2-rhj-n4s method: GET response: body: '{"notify_list":[],"description":"Created using the Datadog provider in - Terraform","author_name":null,"template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"arg-jy7-4an","title":"tf-TestAccDatadogDashboardQueryTable-local-1602170293","url":"/dashboard/arg-jy7-4an/tf-testaccdatadogdashboardquerytable-local-1602170293","created_at":"2020-10-08T15:18:17.798481+00:00","modified_at":"2020-10-08T15:18:17.798481+00:00","author_handle":"frog@datadoghq.com","widgets":[{"definition":{"title_size":"16","title":"system.cpu.user, - system.load.1","title_align":"right","time":{"live_span":"1d"},"requests":[{"aggregator":"max","cell_display_mode":["number"],"conditional_formats":[{"palette":"white_on_green","hide_value":false,"value":90,"comparator":"<"},{"palette":"white_on_red","hide_value":false,"value":90,"comparator":">="}],"q":"avg:system.cpu.user{account:prod} + Terraform","author_name":null,"template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"td2-rhj-n4s","title":"tf-TestAccDatadogDashboardQueryTable-local-1602171319","url":"/dashboard/td2-rhj-n4s/tf-testaccdatadogdashboardquerytable-local-1602171319","created_at":"2020-10-08T15:35:22.901489+00:00","modified_at":"2020-10-08T15:35:22.901489+00:00","author_handle":"frog@datadoghq.com","widgets":[{"definition":{"title_size":"16","title":"system.cpu.user, + system.load.1","title_align":"right","has_search_bar":"auto","time":{"live_span":"1d"},"requests":[{"aggregator":"max","cell_display_mode":["number"],"conditional_formats":[{"palette":"white_on_green","hide_value":false,"value":90,"comparator":"<"},{"palette":"white_on_red","hide_value":false,"value":90,"comparator":">="}],"q":"avg:system.cpu.user{account:prod} by {service, team}","alias":"cpu user","limit":25,"order":"desc"},{"q":"avg:system.load.1{*} by {service, team}","aggregator":"last","cell_display_mode":["number"],"conditional_formats":[{"palette":"custom_bg","hide_value":false,"value":50,"comparator":">"}],"alias":"system - load"}],"type":"query_table"},"id":4412506929664304},{"definition":{"requests":[{"apm_stats_query":{"primary_tag":"tag:*","row_type":"resource","name":"name","service":"service","env":"env"}}],"type":"query_table"},"id":368314935417995}],"layout_type":"ordered"}' + load"}],"type":"query_table"},"id":6580439254187360},{"definition":{"requests":[{"apm_stats_query":{"primary_tag":"tag:*","row_type":"resource","name":"name","service":"service","env":"env"}}],"type":"query_table","has_search_bar":"never"},"id":193644683220567}],"layout_type":"ordered"}' headers: Cache-Control: - no-cache @@ -158,13 +158,13 @@ interactions: Content-Type: - application/json Date: - - Thu, 08 Oct 2020 15:18:18 GMT + - Thu, 08 Oct 2020 15:35:23 GMT Dd-Pool: - dogweb Pragma: - no-cache Set-Cookie: - - DD-PSHARD=233; Max-Age=604800; Path=/; expires=Thu, 15-Oct-2020 15:18:18 GMT; + - DD-PSHARD=233; Max-Age=604800; Path=/; expires=Thu, 15-Oct-2020 15:35:23 GMT; secure; HttpOnly Strict-Transport-Security: - max-age=15724800; @@ -173,7 +173,7 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Debug: - - WmMtMFngDL31sZYuYCiUaMFRtAs90zyIJHnMIoB4iHZztA/Ona9SnOav516bWmh7 + - qKfjlUOd47rTL8Zfe+ult0NC1XrJJZn5FzZo3l0g8EiEJqsLoAxULWUGtB1CS4r/ X-Dd-Version: - "35.3163187" X-Frame-Options: @@ -193,20 +193,20 @@ interactions: - terraform-provider-datadog/dev (terraform 1.15.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.9+dev (go go1.13.1; os darwin; arch amd64) X-Datadog-Parent-Id: - - "1987399745461597386" + - "6258939867393365634" X-Datadog-Sampling-Priority: - "1" X-Datadog-Trace-Id: - - "2061375795733494952" - url: https://api.datadoghq.com/api/v1/dashboard/arg-jy7-4an + - "1649686095348874835" + url: https://api.datadoghq.com/api/v1/dashboard/td2-rhj-n4s method: GET response: body: '{"notify_list":[],"description":"Created using the Datadog provider in - Terraform","author_name":null,"template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"arg-jy7-4an","title":"tf-TestAccDatadogDashboardQueryTable-local-1602170293","url":"/dashboard/arg-jy7-4an/tf-testaccdatadogdashboardquerytable-local-1602170293","created_at":"2020-10-08T15:18:17.798481+00:00","modified_at":"2020-10-08T15:18:17.798481+00:00","author_handle":"frog@datadoghq.com","widgets":[{"definition":{"title_size":"16","title":"system.cpu.user, - system.load.1","title_align":"right","time":{"live_span":"1d"},"requests":[{"aggregator":"max","cell_display_mode":["number"],"conditional_formats":[{"palette":"white_on_green","hide_value":false,"value":90,"comparator":"<"},{"palette":"white_on_red","hide_value":false,"value":90,"comparator":">="}],"q":"avg:system.cpu.user{account:prod} + Terraform","author_name":null,"template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"td2-rhj-n4s","title":"tf-TestAccDatadogDashboardQueryTable-local-1602171319","url":"/dashboard/td2-rhj-n4s/tf-testaccdatadogdashboardquerytable-local-1602171319","created_at":"2020-10-08T15:35:22.901489+00:00","modified_at":"2020-10-08T15:35:22.901489+00:00","author_handle":"frog@datadoghq.com","widgets":[{"definition":{"title_size":"16","title":"system.cpu.user, + system.load.1","title_align":"right","has_search_bar":"auto","time":{"live_span":"1d"},"requests":[{"aggregator":"max","cell_display_mode":["number"],"conditional_formats":[{"palette":"white_on_green","hide_value":false,"value":90,"comparator":"<"},{"palette":"white_on_red","hide_value":false,"value":90,"comparator":">="}],"q":"avg:system.cpu.user{account:prod} by {service, team}","alias":"cpu user","limit":25,"order":"desc"},{"q":"avg:system.load.1{*} by {service, team}","aggregator":"last","cell_display_mode":["number"],"conditional_formats":[{"palette":"custom_bg","hide_value":false,"value":50,"comparator":">"}],"alias":"system - load"}],"type":"query_table"},"id":4412506929664304},{"definition":{"requests":[{"apm_stats_query":{"primary_tag":"tag:*","row_type":"resource","name":"name","service":"service","env":"env"}}],"type":"query_table"},"id":368314935417995}],"layout_type":"ordered"}' + load"}],"type":"query_table"},"id":6580439254187360},{"definition":{"requests":[{"apm_stats_query":{"primary_tag":"tag:*","row_type":"resource","name":"name","service":"service","env":"env"}}],"type":"query_table","has_search_bar":"never"},"id":193644683220567}],"layout_type":"ordered"}' headers: Cache-Control: - no-cache @@ -217,13 +217,13 @@ interactions: Content-Type: - application/json Date: - - Thu, 08 Oct 2020 15:18:21 GMT + - Thu, 08 Oct 2020 15:35:26 GMT Dd-Pool: - dogweb Pragma: - no-cache Set-Cookie: - - DD-PSHARD=233; Max-Age=604800; Path=/; expires=Thu, 15-Oct-2020 15:18:21 GMT; + - DD-PSHARD=233; Max-Age=604800; Path=/; expires=Thu, 15-Oct-2020 15:35:26 GMT; secure; HttpOnly Strict-Transport-Security: - max-age=15724800; @@ -232,7 +232,7 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Debug: - - Wu8XyxdUJ940l1hlQ/4Scl2Xta78KG1wkfVN63sn1HQ3Sk/ZYNPBQ2v2fbOhjvmn + - 60y8fjrf9Lhu8NRmYggZaUH1GQDnKp7ho4emCLNdZoXJeU4a0zvnmPIF2dQ+VP/K X-Dd-Version: - "35.3163187" X-Frame-Options: @@ -252,20 +252,20 @@ interactions: - terraform-provider-datadog/dev (terraform 1.15.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.9+dev (go go1.13.1; os darwin; arch amd64) X-Datadog-Parent-Id: - - "2212069722201506616" + - "1557181377220197860" X-Datadog-Sampling-Priority: - "1" X-Datadog-Trace-Id: - - "2061375795733494952" - url: https://api.datadoghq.com/api/v1/dashboard/arg-jy7-4an + - "1649686095348874835" + url: https://api.datadoghq.com/api/v1/dashboard/td2-rhj-n4s method: GET response: body: '{"notify_list":[],"description":"Created using the Datadog provider in - Terraform","author_name":null,"template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"arg-jy7-4an","title":"tf-TestAccDatadogDashboardQueryTable-local-1602170293","url":"/dashboard/arg-jy7-4an/tf-testaccdatadogdashboardquerytable-local-1602170293","created_at":"2020-10-08T15:18:17.798481+00:00","modified_at":"2020-10-08T15:18:17.798481+00:00","author_handle":"frog@datadoghq.com","widgets":[{"definition":{"title_size":"16","title":"system.cpu.user, - system.load.1","title_align":"right","time":{"live_span":"1d"},"requests":[{"aggregator":"max","cell_display_mode":["number"],"conditional_formats":[{"palette":"white_on_green","hide_value":false,"value":90,"comparator":"<"},{"palette":"white_on_red","hide_value":false,"value":90,"comparator":">="}],"q":"avg:system.cpu.user{account:prod} + Terraform","author_name":null,"template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"td2-rhj-n4s","title":"tf-TestAccDatadogDashboardQueryTable-local-1602171319","url":"/dashboard/td2-rhj-n4s/tf-testaccdatadogdashboardquerytable-local-1602171319","created_at":"2020-10-08T15:35:22.901489+00:00","modified_at":"2020-10-08T15:35:22.901489+00:00","author_handle":"frog@datadoghq.com","widgets":[{"definition":{"title_size":"16","title":"system.cpu.user, + system.load.1","title_align":"right","has_search_bar":"auto","time":{"live_span":"1d"},"requests":[{"aggregator":"max","cell_display_mode":["number"],"conditional_formats":[{"palette":"white_on_green","hide_value":false,"value":90,"comparator":"<"},{"palette":"white_on_red","hide_value":false,"value":90,"comparator":">="}],"q":"avg:system.cpu.user{account:prod} by {service, team}","alias":"cpu user","limit":25,"order":"desc"},{"q":"avg:system.load.1{*} by {service, team}","aggregator":"last","cell_display_mode":["number"],"conditional_formats":[{"palette":"custom_bg","hide_value":false,"value":50,"comparator":">"}],"alias":"system - load"}],"type":"query_table"},"id":4412506929664304},{"definition":{"requests":[{"apm_stats_query":{"primary_tag":"tag:*","row_type":"resource","name":"name","service":"service","env":"env"}}],"type":"query_table"},"id":368314935417995}],"layout_type":"ordered"}' + load"}],"type":"query_table"},"id":6580439254187360},{"definition":{"requests":[{"apm_stats_query":{"primary_tag":"tag:*","row_type":"resource","name":"name","service":"service","env":"env"}}],"type":"query_table","has_search_bar":"never"},"id":193644683220567}],"layout_type":"ordered"}' headers: Cache-Control: - no-cache @@ -276,13 +276,13 @@ interactions: Content-Type: - application/json Date: - - Thu, 08 Oct 2020 15:18:21 GMT + - Thu, 08 Oct 2020 15:35:26 GMT Dd-Pool: - dogweb Pragma: - no-cache Set-Cookie: - - DD-PSHARD=233; Max-Age=604800; Path=/; expires=Thu, 15-Oct-2020 15:18:21 GMT; + - DD-PSHARD=233; Max-Age=604800; Path=/; expires=Thu, 15-Oct-2020 15:35:26 GMT; secure; HttpOnly Strict-Transport-Security: - max-age=15724800; @@ -291,7 +291,7 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Debug: - - V26KHlc/RfdWahgILvghYzp00rgLN6YCNAgg+V0KrlqUWK5TouaimNqGpGYzd/eX + - VbuXVkM6abYwIF9A0EUx/hxlOb2fUYUuj3PZZOBGVUtLSPf9Jpa+BbRUppU4yJ6y X-Dd-Version: - "35.3163187" X-Frame-Options: @@ -311,20 +311,20 @@ interactions: - terraform-provider-datadog/dev (terraform 1.15.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.9+dev (go go1.13.1; os darwin; arch amd64) X-Datadog-Parent-Id: - - "18638439816961092" + - "9030801433464378071" X-Datadog-Sampling-Priority: - "1" X-Datadog-Trace-Id: - - "2061375795733494952" - url: https://api.datadoghq.com/api/v1/dashboard/arg-jy7-4an + - "1649686095348874835" + url: https://api.datadoghq.com/api/v1/dashboard/td2-rhj-n4s method: GET response: body: '{"notify_list":[],"description":"Created using the Datadog provider in - Terraform","author_name":null,"template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"arg-jy7-4an","title":"tf-TestAccDatadogDashboardQueryTable-local-1602170293","url":"/dashboard/arg-jy7-4an/tf-testaccdatadogdashboardquerytable-local-1602170293","created_at":"2020-10-08T15:18:17.798481+00:00","modified_at":"2020-10-08T15:18:17.798481+00:00","author_handle":"frog@datadoghq.com","widgets":[{"definition":{"title_size":"16","title":"system.cpu.user, - system.load.1","title_align":"right","time":{"live_span":"1d"},"requests":[{"aggregator":"max","cell_display_mode":["number"],"conditional_formats":[{"palette":"white_on_green","hide_value":false,"value":90,"comparator":"<"},{"palette":"white_on_red","hide_value":false,"value":90,"comparator":">="}],"q":"avg:system.cpu.user{account:prod} + Terraform","author_name":null,"template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"td2-rhj-n4s","title":"tf-TestAccDatadogDashboardQueryTable-local-1602171319","url":"/dashboard/td2-rhj-n4s/tf-testaccdatadogdashboardquerytable-local-1602171319","created_at":"2020-10-08T15:35:22.901489+00:00","modified_at":"2020-10-08T15:35:22.901489+00:00","author_handle":"frog@datadoghq.com","widgets":[{"definition":{"title_size":"16","title":"system.cpu.user, + system.load.1","title_align":"right","has_search_bar":"auto","time":{"live_span":"1d"},"requests":[{"aggregator":"max","cell_display_mode":["number"],"conditional_formats":[{"palette":"white_on_green","hide_value":false,"value":90,"comparator":"<"},{"palette":"white_on_red","hide_value":false,"value":90,"comparator":">="}],"q":"avg:system.cpu.user{account:prod} by {service, team}","alias":"cpu user","limit":25,"order":"desc"},{"q":"avg:system.load.1{*} by {service, team}","aggregator":"last","cell_display_mode":["number"],"conditional_formats":[{"palette":"custom_bg","hide_value":false,"value":50,"comparator":">"}],"alias":"system - load"}],"type":"query_table"},"id":4412506929664304},{"definition":{"requests":[{"apm_stats_query":{"primary_tag":"tag:*","row_type":"resource","name":"name","service":"service","env":"env"}}],"type":"query_table"},"id":368314935417995}],"layout_type":"ordered"}' + load"}],"type":"query_table"},"id":6580439254187360},{"definition":{"requests":[{"apm_stats_query":{"primary_tag":"tag:*","row_type":"resource","name":"name","service":"service","env":"env"}}],"type":"query_table","has_search_bar":"never"},"id":193644683220567}],"layout_type":"ordered"}' headers: Cache-Control: - no-cache @@ -335,13 +335,13 @@ interactions: Content-Type: - application/json Date: - - Thu, 08 Oct 2020 15:18:24 GMT + - Thu, 08 Oct 2020 15:35:29 GMT Dd-Pool: - dogweb Pragma: - no-cache Set-Cookie: - - DD-PSHARD=233; Max-Age=604800; Path=/; expires=Thu, 15-Oct-2020 15:18:24 GMT; + - DD-PSHARD=233; Max-Age=604800; Path=/; expires=Thu, 15-Oct-2020 15:35:29 GMT; secure; HttpOnly Strict-Transport-Security: - max-age=15724800; @@ -350,7 +350,7 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Debug: - - O3O7xE5uwHtX7J0LqZ8TwbNGWo9Sdsox9lgU7fr/GZp13UzdkbKQZW76fPVpoSDj + - 4zw1NnYiZt4wp0syhFEidO9Mcjc6rfPz6lIvXBSwWuplBSXLVyoWV6VIuyPxYSUD X-Dd-Version: - "35.3163187" X-Frame-Options: @@ -370,20 +370,20 @@ interactions: - terraform-provider-datadog/dev (terraform 1.15.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.9+dev (go go1.13.1; os darwin; arch amd64) X-Datadog-Parent-Id: - - "6601835142270317350" + - "6823762608545994547" X-Datadog-Sampling-Priority: - "1" X-Datadog-Trace-Id: - - "2061375795733494952" - url: https://api.datadoghq.com/api/v1/dashboard/arg-jy7-4an + - "1649686095348874835" + url: https://api.datadoghq.com/api/v1/dashboard/td2-rhj-n4s method: GET response: body: '{"notify_list":[],"description":"Created using the Datadog provider in - Terraform","author_name":null,"template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"arg-jy7-4an","title":"tf-TestAccDatadogDashboardQueryTable-local-1602170293","url":"/dashboard/arg-jy7-4an/tf-testaccdatadogdashboardquerytable-local-1602170293","created_at":"2020-10-08T15:18:17.798481+00:00","modified_at":"2020-10-08T15:18:17.798481+00:00","author_handle":"frog@datadoghq.com","widgets":[{"definition":{"title_size":"16","title":"system.cpu.user, - system.load.1","title_align":"right","time":{"live_span":"1d"},"requests":[{"aggregator":"max","cell_display_mode":["number"],"conditional_formats":[{"palette":"white_on_green","hide_value":false,"value":90,"comparator":"<"},{"palette":"white_on_red","hide_value":false,"value":90,"comparator":">="}],"q":"avg:system.cpu.user{account:prod} + Terraform","author_name":null,"template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"td2-rhj-n4s","title":"tf-TestAccDatadogDashboardQueryTable-local-1602171319","url":"/dashboard/td2-rhj-n4s/tf-testaccdatadogdashboardquerytable-local-1602171319","created_at":"2020-10-08T15:35:22.901489+00:00","modified_at":"2020-10-08T15:35:22.901489+00:00","author_handle":"frog@datadoghq.com","widgets":[{"definition":{"title_size":"16","title":"system.cpu.user, + system.load.1","title_align":"right","has_search_bar":"auto","time":{"live_span":"1d"},"requests":[{"aggregator":"max","cell_display_mode":["number"],"conditional_formats":[{"palette":"white_on_green","hide_value":false,"value":90,"comparator":"<"},{"palette":"white_on_red","hide_value":false,"value":90,"comparator":">="}],"q":"avg:system.cpu.user{account:prod} by {service, team}","alias":"cpu user","limit":25,"order":"desc"},{"q":"avg:system.load.1{*} by {service, team}","aggregator":"last","cell_display_mode":["number"],"conditional_formats":[{"palette":"custom_bg","hide_value":false,"value":50,"comparator":">"}],"alias":"system - load"}],"type":"query_table"},"id":4412506929664304},{"definition":{"requests":[{"apm_stats_query":{"primary_tag":"tag:*","row_type":"resource","name":"name","service":"service","env":"env"}}],"type":"query_table"},"id":368314935417995}],"layout_type":"ordered"}' + load"}],"type":"query_table"},"id":6580439254187360},{"definition":{"requests":[{"apm_stats_query":{"primary_tag":"tag:*","row_type":"resource","name":"name","service":"service","env":"env"}}],"type":"query_table","has_search_bar":"never"},"id":193644683220567}],"layout_type":"ordered"}' headers: Cache-Control: - no-cache @@ -394,13 +394,13 @@ interactions: Content-Type: - application/json Date: - - Thu, 08 Oct 2020 15:18:24 GMT + - Thu, 08 Oct 2020 15:35:29 GMT Dd-Pool: - dogweb Pragma: - no-cache Set-Cookie: - - DD-PSHARD=233; Max-Age=604800; Path=/; expires=Thu, 15-Oct-2020 15:18:24 GMT; + - DD-PSHARD=233; Max-Age=604800; Path=/; expires=Thu, 15-Oct-2020 15:35:29 GMT; secure; HttpOnly Strict-Transport-Security: - max-age=15724800; @@ -409,7 +409,7 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Debug: - - NVdxML/FOEgLJzsz37XLTVVLcoGTHoJzcuGu2ZwX+JAXQfJkO87pOpfJK6E0a8TN + - V26KHlc/RfdWahgILvghYzp00rgLN6YCNAgg+V0KrlqUWK5TouaimNqGpGYzd/eX X-Dd-Version: - "35.3163187" X-Frame-Options: @@ -429,15 +429,15 @@ interactions: - terraform-provider-datadog/dev (terraform 1.15.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.9+dev (go go1.13.1; os darwin; arch amd64) X-Datadog-Parent-Id: - - "4907792771763572601" + - "5158346612022305677" X-Datadog-Sampling-Priority: - "1" X-Datadog-Trace-Id: - - "2061375795733494952" - url: https://api.datadoghq.com/api/v1/dashboard/arg-jy7-4an + - "1649686095348874835" + url: https://api.datadoghq.com/api/v1/dashboard/td2-rhj-n4s method: DELETE response: - body: '{"deleted_dashboard_id":"arg-jy7-4an"}' + body: '{"deleted_dashboard_id":"td2-rhj-n4s"}' headers: Cache-Control: - no-cache @@ -448,13 +448,13 @@ interactions: Content-Type: - application/json Date: - - Thu, 08 Oct 2020 15:19:15 GMT + - Thu, 08 Oct 2020 15:36:19 GMT Dd-Pool: - dogweb Pragma: - no-cache Set-Cookie: - - DD-PSHARD=233; Max-Age=604800; Path=/; expires=Thu, 15-Oct-2020 15:18:26 GMT; + - DD-PSHARD=233; Max-Age=604800; Path=/; expires=Thu, 15-Oct-2020 15:35:31 GMT; secure; HttpOnly Strict-Transport-Security: - max-age=15724800; @@ -463,7 +463,7 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Debug: - - O3O7xE5uwHtX7J0LqZ8TwbNGWo9Sdsox9lgU7fr/GZp13UzdkbKQZW76fPVpoSDj + - laGkCMnt9yzADERvt5/nU5tJ2BKmoQx1BUE4x31rlC7mriAyKM9Zk5E+JikpAz3V X-Dd-Version: - "35.3163187" X-Frame-Options: @@ -483,15 +483,15 @@ interactions: - terraform-provider-datadog/dev (terraform 1.15.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.9+dev (go go1.13.1; os darwin; arch amd64) X-Datadog-Parent-Id: - - "6666894427800950401" + - "2190106516538396478" X-Datadog-Sampling-Priority: - "1" X-Datadog-Trace-Id: - - "2061375795733494952" - url: https://api.datadoghq.com/api/v1/dashboard/arg-jy7-4an + - "1649686095348874835" + url: https://api.datadoghq.com/api/v1/dashboard/td2-rhj-n4s method: GET response: - body: '{"errors": ["Dashboard with ID arg-jy7-4an not found"]}' + body: '{"errors": ["Dashboard with ID td2-rhj-n4s not found"]}' headers: Cache-Control: - no-cache @@ -502,7 +502,7 @@ interactions: Content-Type: - application/json Date: - - Thu, 08 Oct 2020 15:19:15 GMT + - Thu, 08 Oct 2020 15:36:19 GMT Dd-Pool: - dogweb Pragma: diff --git a/datadog/cassettes/TestAccDatadogDashboardQueryTable_import.freeze b/datadog/cassettes/TestAccDatadogDashboardQueryTable_import.freeze index 21d186d5a0..10017e6d1e 100644 --- a/datadog/cassettes/TestAccDatadogDashboardQueryTable_import.freeze +++ b/datadog/cassettes/TestAccDatadogDashboardQueryTable_import.freeze @@ -1 +1 @@ -2020-10-08T11:18:13.915113-04:00 \ No newline at end of file +2020-10-08T11:35:19.510931-04:00 \ No newline at end of file diff --git a/datadog/cassettes/TestAccDatadogDashboardQueryTable_import.yaml b/datadog/cassettes/TestAccDatadogDashboardQueryTable_import.yaml index 130e749375..61408f8667 100644 --- a/datadog/cassettes/TestAccDatadogDashboardQueryTable_import.yaml +++ b/datadog/cassettes/TestAccDatadogDashboardQueryTable_import.yaml @@ -3,7 +3,7 @@ version: 1 interactions: - request: body: | - {"description":"Created using the Datadog provider in Terraform","id":"","is_read_only":true,"layout_type":"ordered","notify_list":[],"template_variable_presets":[],"template_variables":[],"title":"tf-TestAccDatadogDashboardQueryTable_import-local-1602170293","widgets":[{"definition":{"requests":[{"aggregator":"max","alias":"cpu user","cell_display_mode":["number"],"conditional_formats":[{"comparator":"\u003c","hide_value":false,"palette":"white_on_green","value":90},{"comparator":"\u003e=","hide_value":false,"palette":"white_on_red","value":90}],"limit":25,"order":"desc","q":"avg:system.cpu.user{account:prod} by {service, team}"},{"aggregator":"last","alias":"system load","cell_display_mode":["number"],"conditional_formats":[{"comparator":"\u003e","hide_value":false,"palette":"custom_bg","value":50}],"q":"avg:system.load.1{*} by {service, team}"}],"time":{"live_span":"1d"},"title":"system.cpu.user, system.load.1","title_align":"right","title_size":"16","type":"query_table"}},{"definition":{"requests":[{"apm_stats_query":{"env":"env","name":"name","primary_tag":"tag:*","row_type":"resource","service":"service"}}],"type":"query_table"}}]} + {"description":"Created using the Datadog provider in Terraform","id":"","is_read_only":true,"layout_type":"ordered","notify_list":[],"template_variable_presets":[],"template_variables":[],"title":"tf-TestAccDatadogDashboardQueryTable_import-local-1602171319","widgets":[{"definition":{"has_search_bar":"auto","requests":[{"aggregator":"max","alias":"cpu user","cell_display_mode":["number"],"conditional_formats":[{"comparator":"\u003c","hide_value":false,"palette":"white_on_green","value":90},{"comparator":"\u003e=","hide_value":false,"palette":"white_on_red","value":90}],"limit":25,"order":"desc","q":"avg:system.cpu.user{account:prod} by {service, team}"},{"aggregator":"last","alias":"system load","cell_display_mode":["number"],"conditional_formats":[{"comparator":"\u003e","hide_value":false,"palette":"custom_bg","value":50}],"q":"avg:system.load.1{*} by {service, team}"}],"time":{"live_span":"1d"},"title":"system.cpu.user, system.load.1","title_align":"right","title_size":"16","type":"query_table"}},{"definition":{"has_search_bar":"never","requests":[{"apm_stats_query":{"env":"env","name":"name","primary_tag":"tag:*","row_type":"resource","service":"service"}}],"type":"query_table"}}]} form: {} headers: Accept: @@ -16,20 +16,20 @@ interactions: - terraform-provider-datadog/dev (terraform 1.15.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.9+dev (go go1.13.1; os darwin; arch amd64) X-Datadog-Parent-Id: - - "2655847118825114035" + - "7164647872672049933" X-Datadog-Sampling-Priority: - "1" X-Datadog-Trace-Id: - - "679546847650542790" + - "5834955094864223578" url: https://api.datadoghq.com/api/v1/dashboard method: POST response: body: '{"notify_list":[],"description":"Created using the Datadog provider in - Terraform","author_name":null,"template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"4dv-qya-q58","title":"tf-TestAccDatadogDashboardQueryTable_import-local-1602170293","url":"/dashboard/4dv-qya-q58/tf-testaccdatadogdashboardquerytableimport-local-1602170293","created_at":"2020-10-08T15:18:17.799987+00:00","modified_at":"2020-10-08T15:18:17.799987+00:00","author_handle":"frog@datadoghq.com","widgets":[{"definition":{"title_size":"16","title":"system.cpu.user, - system.load.1","title_align":"right","time":{"live_span":"1d"},"requests":[{"aggregator":"max","cell_display_mode":["number"],"conditional_formats":[{"palette":"white_on_green","hide_value":false,"value":90,"comparator":"<"},{"palette":"white_on_red","hide_value":false,"value":90,"comparator":">="}],"q":"avg:system.cpu.user{account:prod} + Terraform","author_name":null,"template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"bmy-2rr-v8z","title":"tf-TestAccDatadogDashboardQueryTable_import-local-1602171319","url":"/dashboard/bmy-2rr-v8z/tf-testaccdatadogdashboardquerytableimport-local-1602171319","created_at":"2020-10-08T15:35:22.822894+00:00","modified_at":"2020-10-08T15:35:22.822894+00:00","author_handle":"frog@datadoghq.com","widgets":[{"definition":{"title_size":"16","title":"system.cpu.user, + system.load.1","title_align":"right","has_search_bar":"auto","time":{"live_span":"1d"},"requests":[{"aggregator":"max","cell_display_mode":["number"],"conditional_formats":[{"palette":"white_on_green","hide_value":false,"value":90,"comparator":"<"},{"palette":"white_on_red","hide_value":false,"value":90,"comparator":">="}],"q":"avg:system.cpu.user{account:prod} by {service, team}","alias":"cpu user","limit":25,"order":"desc"},{"q":"avg:system.load.1{*} by {service, team}","aggregator":"last","cell_display_mode":["number"],"conditional_formats":[{"palette":"custom_bg","hide_value":false,"value":50,"comparator":">"}],"alias":"system - load"}],"type":"query_table"},"id":326236682329194},{"definition":{"requests":[{"apm_stats_query":{"primary_tag":"tag:*","row_type":"resource","name":"name","service":"service","env":"env"}}],"type":"query_table"},"id":2116944074724546}],"layout_type":"ordered"}' + load"}],"type":"query_table"},"id":8314210804814334},{"definition":{"requests":[{"apm_stats_query":{"primary_tag":"tag:*","row_type":"resource","name":"name","service":"service","env":"env"}}],"type":"query_table","has_search_bar":"never"},"id":6359749182825}],"layout_type":"ordered"}' headers: Cache-Control: - no-cache @@ -40,13 +40,13 @@ interactions: Content-Type: - application/json Date: - - Thu, 08 Oct 2020 15:18:18 GMT + - Thu, 08 Oct 2020 15:35:23 GMT Dd-Pool: - dogweb Pragma: - no-cache Set-Cookie: - - DD-PSHARD=233; Max-Age=604800; Path=/; expires=Thu, 15-Oct-2020 15:18:17 GMT; + - DD-PSHARD=233; Max-Age=604800; Path=/; expires=Thu, 15-Oct-2020 15:35:22 GMT; secure; HttpOnly Strict-Transport-Security: - max-age=15724800; @@ -55,7 +55,7 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Debug: - - n9uz1T+WujhmfsGndIdy1tCYb5bh9AzSyYOT5TTjJX23RGEavHxGqcz400IC+bY1 + - EsLH6+rdgSqeLdBeq9HZpt+45W9grH+dHsUtM9XuCxYJqQJyctcAVJKfVBiasXIW X-Dd-Version: - "35.3163187" X-Frame-Options: @@ -75,20 +75,20 @@ interactions: - terraform-provider-datadog/dev (terraform 1.15.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.9+dev (go go1.13.1; os darwin; arch amd64) X-Datadog-Parent-Id: - - "7337386391645838881" + - "7327202380299136054" X-Datadog-Sampling-Priority: - "1" X-Datadog-Trace-Id: - - "679546847650542790" - url: https://api.datadoghq.com/api/v1/dashboard/4dv-qya-q58 + - "5834955094864223578" + url: https://api.datadoghq.com/api/v1/dashboard/bmy-2rr-v8z method: GET response: body: '{"notify_list":[],"description":"Created using the Datadog provider in - Terraform","author_name":null,"template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"4dv-qya-q58","title":"tf-TestAccDatadogDashboardQueryTable_import-local-1602170293","url":"/dashboard/4dv-qya-q58/tf-testaccdatadogdashboardquerytableimport-local-1602170293","created_at":"2020-10-08T15:18:17.799987+00:00","modified_at":"2020-10-08T15:18:17.799987+00:00","author_handle":"frog@datadoghq.com","widgets":[{"definition":{"title_size":"16","title":"system.cpu.user, - system.load.1","title_align":"right","time":{"live_span":"1d"},"requests":[{"aggregator":"max","cell_display_mode":["number"],"conditional_formats":[{"palette":"white_on_green","hide_value":false,"value":90,"comparator":"<"},{"palette":"white_on_red","hide_value":false,"value":90,"comparator":">="}],"q":"avg:system.cpu.user{account:prod} + Terraform","author_name":null,"template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"bmy-2rr-v8z","title":"tf-TestAccDatadogDashboardQueryTable_import-local-1602171319","url":"/dashboard/bmy-2rr-v8z/tf-testaccdatadogdashboardquerytableimport-local-1602171319","created_at":"2020-10-08T15:35:22.822894+00:00","modified_at":"2020-10-08T15:35:22.822894+00:00","author_handle":"frog@datadoghq.com","widgets":[{"definition":{"title_size":"16","title":"system.cpu.user, + system.load.1","title_align":"right","has_search_bar":"auto","time":{"live_span":"1d"},"requests":[{"aggregator":"max","cell_display_mode":["number"],"conditional_formats":[{"palette":"white_on_green","hide_value":false,"value":90,"comparator":"<"},{"palette":"white_on_red","hide_value":false,"value":90,"comparator":">="}],"q":"avg:system.cpu.user{account:prod} by {service, team}","alias":"cpu user","limit":25,"order":"desc"},{"q":"avg:system.load.1{*} by {service, team}","aggregator":"last","cell_display_mode":["number"],"conditional_formats":[{"palette":"custom_bg","hide_value":false,"value":50,"comparator":">"}],"alias":"system - load"}],"type":"query_table"},"id":326236682329194},{"definition":{"requests":[{"apm_stats_query":{"primary_tag":"tag:*","row_type":"resource","name":"name","service":"service","env":"env"}}],"type":"query_table"},"id":2116944074724546}],"layout_type":"ordered"}' + load"}],"type":"query_table"},"id":8314210804814334},{"definition":{"requests":[{"apm_stats_query":{"primary_tag":"tag:*","row_type":"resource","name":"name","service":"service","env":"env"}}],"type":"query_table","has_search_bar":"never"},"id":6359749182825}],"layout_type":"ordered"}' headers: Cache-Control: - no-cache @@ -99,13 +99,13 @@ interactions: Content-Type: - application/json Date: - - Thu, 08 Oct 2020 15:18:18 GMT + - Thu, 08 Oct 2020 15:35:23 GMT Dd-Pool: - dogweb Pragma: - no-cache Set-Cookie: - - DD-PSHARD=233; Max-Age=604800; Path=/; expires=Thu, 15-Oct-2020 15:18:18 GMT; + - DD-PSHARD=233; Max-Age=604800; Path=/; expires=Thu, 15-Oct-2020 15:35:23 GMT; secure; HttpOnly Strict-Transport-Security: - max-age=15724800; @@ -114,7 +114,7 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Debug: - - uHOv5pdB1PveHLHifUeHewDqzfK3bQT4PA6+oh5BOE9GG8iP9eBr1zLtfDAkxY0n + - 554jtl/SJjxTmK4ElYRM70FG0Y8nm2ZpMLRYU7gYOwQo5oClqUW2XRpaqEBdUJZQ X-Dd-Version: - "35.3163187" X-Frame-Options: @@ -134,20 +134,20 @@ interactions: - terraform-provider-datadog/dev (terraform 1.15.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.9+dev (go go1.13.1; os darwin; arch amd64) X-Datadog-Parent-Id: - - "1879174910360263462" + - "3603094192433657846" X-Datadog-Sampling-Priority: - "1" X-Datadog-Trace-Id: - - "679546847650542790" - url: https://api.datadoghq.com/api/v1/dashboard/4dv-qya-q58 + - "5834955094864223578" + url: https://api.datadoghq.com/api/v1/dashboard/bmy-2rr-v8z method: GET response: body: '{"notify_list":[],"description":"Created using the Datadog provider in - Terraform","author_name":null,"template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"4dv-qya-q58","title":"tf-TestAccDatadogDashboardQueryTable_import-local-1602170293","url":"/dashboard/4dv-qya-q58/tf-testaccdatadogdashboardquerytableimport-local-1602170293","created_at":"2020-10-08T15:18:17.799987+00:00","modified_at":"2020-10-08T15:18:17.799987+00:00","author_handle":"frog@datadoghq.com","widgets":[{"definition":{"title_size":"16","title":"system.cpu.user, - system.load.1","title_align":"right","time":{"live_span":"1d"},"requests":[{"aggregator":"max","cell_display_mode":["number"],"conditional_formats":[{"palette":"white_on_green","hide_value":false,"value":90,"comparator":"<"},{"palette":"white_on_red","hide_value":false,"value":90,"comparator":">="}],"q":"avg:system.cpu.user{account:prod} + Terraform","author_name":null,"template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"bmy-2rr-v8z","title":"tf-TestAccDatadogDashboardQueryTable_import-local-1602171319","url":"/dashboard/bmy-2rr-v8z/tf-testaccdatadogdashboardquerytableimport-local-1602171319","created_at":"2020-10-08T15:35:22.822894+00:00","modified_at":"2020-10-08T15:35:22.822894+00:00","author_handle":"frog@datadoghq.com","widgets":[{"definition":{"title_size":"16","title":"system.cpu.user, + system.load.1","title_align":"right","has_search_bar":"auto","time":{"live_span":"1d"},"requests":[{"aggregator":"max","cell_display_mode":["number"],"conditional_formats":[{"palette":"white_on_green","hide_value":false,"value":90,"comparator":"<"},{"palette":"white_on_red","hide_value":false,"value":90,"comparator":">="}],"q":"avg:system.cpu.user{account:prod} by {service, team}","alias":"cpu user","limit":25,"order":"desc"},{"q":"avg:system.load.1{*} by {service, team}","aggregator":"last","cell_display_mode":["number"],"conditional_formats":[{"palette":"custom_bg","hide_value":false,"value":50,"comparator":">"}],"alias":"system - load"}],"type":"query_table"},"id":326236682329194},{"definition":{"requests":[{"apm_stats_query":{"primary_tag":"tag:*","row_type":"resource","name":"name","service":"service","env":"env"}}],"type":"query_table"},"id":2116944074724546}],"layout_type":"ordered"}' + load"}],"type":"query_table"},"id":8314210804814334},{"definition":{"requests":[{"apm_stats_query":{"primary_tag":"tag:*","row_type":"resource","name":"name","service":"service","env":"env"}}],"type":"query_table","has_search_bar":"never"},"id":6359749182825}],"layout_type":"ordered"}' headers: Cache-Control: - no-cache @@ -158,13 +158,13 @@ interactions: Content-Type: - application/json Date: - - Thu, 08 Oct 2020 15:18:21 GMT + - Thu, 08 Oct 2020 15:35:25 GMT Dd-Pool: - dogweb Pragma: - no-cache Set-Cookie: - - DD-PSHARD=233; Max-Age=604800; Path=/; expires=Thu, 15-Oct-2020 15:18:21 GMT; + - DD-PSHARD=233; Max-Age=604800; Path=/; expires=Thu, 15-Oct-2020 15:35:25 GMT; secure; HttpOnly Strict-Transport-Security: - max-age=15724800; @@ -173,7 +173,7 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Debug: - - amxMFAqiSVjNyNv9bH0oCnBEjAVk4yOIMrMQTyRWQ0WFa2JUcjQXHejBMO8Fj7RQ + - XH13bHMKtoQVJueISAFCWP0HSHfKJRB7S49EcUHZy7wuPUHvZ/XfTy/P1yRgU1Db X-Dd-Version: - "35.3163187" X-Frame-Options: @@ -193,20 +193,20 @@ interactions: - terraform-provider-datadog/dev (terraform 1.15.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.9+dev (go go1.13.1; os darwin; arch amd64) X-Datadog-Parent-Id: - - "8961065386625162418" + - "5079915274922593444" X-Datadog-Sampling-Priority: - "1" X-Datadog-Trace-Id: - - "679546847650542790" - url: https://api.datadoghq.com/api/v1/dashboard/4dv-qya-q58 + - "5834955094864223578" + url: https://api.datadoghq.com/api/v1/dashboard/bmy-2rr-v8z method: GET response: body: '{"notify_list":[],"description":"Created using the Datadog provider in - Terraform","author_name":null,"template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"4dv-qya-q58","title":"tf-TestAccDatadogDashboardQueryTable_import-local-1602170293","url":"/dashboard/4dv-qya-q58/tf-testaccdatadogdashboardquerytableimport-local-1602170293","created_at":"2020-10-08T15:18:17.799987+00:00","modified_at":"2020-10-08T15:18:17.799987+00:00","author_handle":"frog@datadoghq.com","widgets":[{"definition":{"title_size":"16","title":"system.cpu.user, - system.load.1","title_align":"right","time":{"live_span":"1d"},"requests":[{"aggregator":"max","cell_display_mode":["number"],"conditional_formats":[{"palette":"white_on_green","hide_value":false,"value":90,"comparator":"<"},{"palette":"white_on_red","hide_value":false,"value":90,"comparator":">="}],"q":"avg:system.cpu.user{account:prod} + Terraform","author_name":null,"template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"bmy-2rr-v8z","title":"tf-TestAccDatadogDashboardQueryTable_import-local-1602171319","url":"/dashboard/bmy-2rr-v8z/tf-testaccdatadogdashboardquerytableimport-local-1602171319","created_at":"2020-10-08T15:35:22.822894+00:00","modified_at":"2020-10-08T15:35:22.822894+00:00","author_handle":"frog@datadoghq.com","widgets":[{"definition":{"title_size":"16","title":"system.cpu.user, + system.load.1","title_align":"right","has_search_bar":"auto","time":{"live_span":"1d"},"requests":[{"aggregator":"max","cell_display_mode":["number"],"conditional_formats":[{"palette":"white_on_green","hide_value":false,"value":90,"comparator":"<"},{"palette":"white_on_red","hide_value":false,"value":90,"comparator":">="}],"q":"avg:system.cpu.user{account:prod} by {service, team}","alias":"cpu user","limit":25,"order":"desc"},{"q":"avg:system.load.1{*} by {service, team}","aggregator":"last","cell_display_mode":["number"],"conditional_formats":[{"palette":"custom_bg","hide_value":false,"value":50,"comparator":">"}],"alias":"system - load"}],"type":"query_table"},"id":326236682329194},{"definition":{"requests":[{"apm_stats_query":{"primary_tag":"tag:*","row_type":"resource","name":"name","service":"service","env":"env"}}],"type":"query_table"},"id":2116944074724546}],"layout_type":"ordered"}' + load"}],"type":"query_table"},"id":8314210804814334},{"definition":{"requests":[{"apm_stats_query":{"primary_tag":"tag:*","row_type":"resource","name":"name","service":"service","env":"env"}}],"type":"query_table","has_search_bar":"never"},"id":6359749182825}],"layout_type":"ordered"}' headers: Cache-Control: - no-cache @@ -217,13 +217,13 @@ interactions: Content-Type: - application/json Date: - - Thu, 08 Oct 2020 15:18:21 GMT + - Thu, 08 Oct 2020 15:35:25 GMT Dd-Pool: - dogweb Pragma: - no-cache Set-Cookie: - - DD-PSHARD=233; Max-Age=604800; Path=/; expires=Thu, 15-Oct-2020 15:18:21 GMT; + - DD-PSHARD=233; Max-Age=604800; Path=/; expires=Thu, 15-Oct-2020 15:35:25 GMT; secure; HttpOnly Strict-Transport-Security: - max-age=15724800; @@ -232,7 +232,7 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Debug: - - 554jtl/SJjxTmK4ElYRM70FG0Y8nm2ZpMLRYU7gYOwQo5oClqUW2XRpaqEBdUJZQ + - R1+MRQNzRD0HfjBgLVIjclr4gto/LBUvaJZAn2oF8rsW7iHushLxjdvt+30jZQLP X-Dd-Version: - "35.3163187" X-Frame-Options: @@ -252,20 +252,20 @@ interactions: - terraform-provider-datadog/dev (terraform 1.15.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.9+dev (go go1.13.1; os darwin; arch amd64) X-Datadog-Parent-Id: - - "835336681879861758" + - "8232825635691705020" X-Datadog-Sampling-Priority: - "1" X-Datadog-Trace-Id: - - "679546847650542790" - url: https://api.datadoghq.com/api/v1/dashboard/4dv-qya-q58 + - "5834955094864223578" + url: https://api.datadoghq.com/api/v1/dashboard/bmy-2rr-v8z method: GET response: body: '{"notify_list":[],"description":"Created using the Datadog provider in - Terraform","author_name":null,"template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"4dv-qya-q58","title":"tf-TestAccDatadogDashboardQueryTable_import-local-1602170293","url":"/dashboard/4dv-qya-q58/tf-testaccdatadogdashboardquerytableimport-local-1602170293","created_at":"2020-10-08T15:18:17.799987+00:00","modified_at":"2020-10-08T15:18:17.799987+00:00","author_handle":"frog@datadoghq.com","widgets":[{"definition":{"title_size":"16","title":"system.cpu.user, - system.load.1","title_align":"right","time":{"live_span":"1d"},"requests":[{"aggregator":"max","cell_display_mode":["number"],"conditional_formats":[{"palette":"white_on_green","hide_value":false,"value":90,"comparator":"<"},{"palette":"white_on_red","hide_value":false,"value":90,"comparator":">="}],"q":"avg:system.cpu.user{account:prod} + Terraform","author_name":null,"template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"bmy-2rr-v8z","title":"tf-TestAccDatadogDashboardQueryTable_import-local-1602171319","url":"/dashboard/bmy-2rr-v8z/tf-testaccdatadogdashboardquerytableimport-local-1602171319","created_at":"2020-10-08T15:35:22.822894+00:00","modified_at":"2020-10-08T15:35:22.822894+00:00","author_handle":"frog@datadoghq.com","widgets":[{"definition":{"title_size":"16","title":"system.cpu.user, + system.load.1","title_align":"right","has_search_bar":"auto","time":{"live_span":"1d"},"requests":[{"aggregator":"max","cell_display_mode":["number"],"conditional_formats":[{"palette":"white_on_green","hide_value":false,"value":90,"comparator":"<"},{"palette":"white_on_red","hide_value":false,"value":90,"comparator":">="}],"q":"avg:system.cpu.user{account:prod} by {service, team}","alias":"cpu user","limit":25,"order":"desc"},{"q":"avg:system.load.1{*} by {service, team}","aggregator":"last","cell_display_mode":["number"],"conditional_formats":[{"palette":"custom_bg","hide_value":false,"value":50,"comparator":">"}],"alias":"system - load"}],"type":"query_table"},"id":326236682329194},{"definition":{"requests":[{"apm_stats_query":{"primary_tag":"tag:*","row_type":"resource","name":"name","service":"service","env":"env"}}],"type":"query_table"},"id":2116944074724546}],"layout_type":"ordered"}' + load"}],"type":"query_table"},"id":8314210804814334},{"definition":{"requests":[{"apm_stats_query":{"primary_tag":"tag:*","row_type":"resource","name":"name","service":"service","env":"env"}}],"type":"query_table","has_search_bar":"never"},"id":6359749182825}],"layout_type":"ordered"}' headers: Cache-Control: - no-cache @@ -276,13 +276,13 @@ interactions: Content-Type: - application/json Date: - - Thu, 08 Oct 2020 15:18:23 GMT + - Thu, 08 Oct 2020 15:35:27 GMT Dd-Pool: - dogweb Pragma: - no-cache Set-Cookie: - - DD-PSHARD=233; Max-Age=604800; Path=/; expires=Thu, 15-Oct-2020 15:18:23 GMT; + - DD-PSHARD=233; Max-Age=604800; Path=/; expires=Thu, 15-Oct-2020 15:35:27 GMT; secure; HttpOnly Strict-Transport-Security: - max-age=15724800; @@ -291,7 +291,7 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Debug: - - 4/n0qOsNbcCLs0O62LExTPssq0SdRyX2Rk0dgQQIozMoViHF7e4pyB0ZeXOioNEA + - Wu8XyxdUJ940l1hlQ/4Scl2Xta78KG1wkfVN63sn1HQ3Sk/ZYNPBQ2v2fbOhjvmn X-Dd-Version: - "35.3163187" X-Frame-Options: @@ -311,20 +311,20 @@ interactions: - terraform-provider-datadog/dev (terraform 1.15.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.9+dev (go go1.13.1; os darwin; arch amd64) X-Datadog-Parent-Id: - - "7694347373020199920" + - "6000344542400383173" X-Datadog-Sampling-Priority: - "1" X-Datadog-Trace-Id: - - "679546847650542790" - url: https://api.datadoghq.com/api/v1/dashboard/4dv-qya-q58 + - "5834955094864223578" + url: https://api.datadoghq.com/api/v1/dashboard/bmy-2rr-v8z method: GET response: body: '{"notify_list":[],"description":"Created using the Datadog provider in - Terraform","author_name":null,"template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"4dv-qya-q58","title":"tf-TestAccDatadogDashboardQueryTable_import-local-1602170293","url":"/dashboard/4dv-qya-q58/tf-testaccdatadogdashboardquerytableimport-local-1602170293","created_at":"2020-10-08T15:18:17.799987+00:00","modified_at":"2020-10-08T15:18:17.799987+00:00","author_handle":"frog@datadoghq.com","widgets":[{"definition":{"title_size":"16","title":"system.cpu.user, - system.load.1","title_align":"right","time":{"live_span":"1d"},"requests":[{"aggregator":"max","cell_display_mode":["number"],"conditional_formats":[{"palette":"white_on_green","hide_value":false,"value":90,"comparator":"<"},{"palette":"white_on_red","hide_value":false,"value":90,"comparator":">="}],"q":"avg:system.cpu.user{account:prod} + Terraform","author_name":null,"template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"bmy-2rr-v8z","title":"tf-TestAccDatadogDashboardQueryTable_import-local-1602171319","url":"/dashboard/bmy-2rr-v8z/tf-testaccdatadogdashboardquerytableimport-local-1602171319","created_at":"2020-10-08T15:35:22.822894+00:00","modified_at":"2020-10-08T15:35:22.822894+00:00","author_handle":"frog@datadoghq.com","widgets":[{"definition":{"title_size":"16","title":"system.cpu.user, + system.load.1","title_align":"right","has_search_bar":"auto","time":{"live_span":"1d"},"requests":[{"aggregator":"max","cell_display_mode":["number"],"conditional_formats":[{"palette":"white_on_green","hide_value":false,"value":90,"comparator":"<"},{"palette":"white_on_red","hide_value":false,"value":90,"comparator":">="}],"q":"avg:system.cpu.user{account:prod} by {service, team}","alias":"cpu user","limit":25,"order":"desc"},{"q":"avg:system.load.1{*} by {service, team}","aggregator":"last","cell_display_mode":["number"],"conditional_formats":[{"palette":"custom_bg","hide_value":false,"value":50,"comparator":">"}],"alias":"system - load"}],"type":"query_table"},"id":326236682329194},{"definition":{"requests":[{"apm_stats_query":{"primary_tag":"tag:*","row_type":"resource","name":"name","service":"service","env":"env"}}],"type":"query_table"},"id":2116944074724546}],"layout_type":"ordered"}' + load"}],"type":"query_table"},"id":8314210804814334},{"definition":{"requests":[{"apm_stats_query":{"primary_tag":"tag:*","row_type":"resource","name":"name","service":"service","env":"env"}}],"type":"query_table","has_search_bar":"never"},"id":6359749182825}],"layout_type":"ordered"}' headers: Cache-Control: - no-cache @@ -335,13 +335,13 @@ interactions: Content-Type: - application/json Date: - - Thu, 08 Oct 2020 15:18:23 GMT + - Thu, 08 Oct 2020 15:35:28 GMT Dd-Pool: - dogweb Pragma: - no-cache Set-Cookie: - - DD-PSHARD=233; Max-Age=604800; Path=/; expires=Thu, 15-Oct-2020 15:18:23 GMT; + - DD-PSHARD=233; Max-Age=604800; Path=/; expires=Thu, 15-Oct-2020 15:35:28 GMT; secure; HttpOnly Strict-Transport-Security: - max-age=15724800; @@ -350,7 +350,7 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Debug: - - +TTazL1HF8qoxYARkG/60PGoq8sbkYkmqeurNry46zV0aHqBZfUrKqxtiyo42NRf + - UPwGSEkEo+aTtV9/qlvsM9xVIKq1xypRG0bv22kO1eeJfu8bY+H+f1xOa3JlvZhZ X-Dd-Version: - "35.3163187" X-Frame-Options: @@ -370,20 +370,20 @@ interactions: - terraform-provider-datadog/dev (terraform 1.15.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.9+dev (go go1.13.1; os darwin; arch amd64) X-Datadog-Parent-Id: - - "5155240415814507101" + - "7119120961712310081" X-Datadog-Sampling-Priority: - "1" X-Datadog-Trace-Id: - - "679546847650542790" - url: https://api.datadoghq.com/api/v1/dashboard/4dv-qya-q58 + - "5834955094864223578" + url: https://api.datadoghq.com/api/v1/dashboard/bmy-2rr-v8z method: GET response: body: '{"notify_list":[],"description":"Created using the Datadog provider in - Terraform","author_name":null,"template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"4dv-qya-q58","title":"tf-TestAccDatadogDashboardQueryTable_import-local-1602170293","url":"/dashboard/4dv-qya-q58/tf-testaccdatadogdashboardquerytableimport-local-1602170293","created_at":"2020-10-08T15:18:17.799987+00:00","modified_at":"2020-10-08T15:18:17.799987+00:00","author_handle":"frog@datadoghq.com","widgets":[{"definition":{"title_size":"16","title":"system.cpu.user, - system.load.1","title_align":"right","time":{"live_span":"1d"},"requests":[{"aggregator":"max","cell_display_mode":["number"],"conditional_formats":[{"palette":"white_on_green","hide_value":false,"value":90,"comparator":"<"},{"palette":"white_on_red","hide_value":false,"value":90,"comparator":">="}],"q":"avg:system.cpu.user{account:prod} + Terraform","author_name":null,"template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"bmy-2rr-v8z","title":"tf-TestAccDatadogDashboardQueryTable_import-local-1602171319","url":"/dashboard/bmy-2rr-v8z/tf-testaccdatadogdashboardquerytableimport-local-1602171319","created_at":"2020-10-08T15:35:22.822894+00:00","modified_at":"2020-10-08T15:35:22.822894+00:00","author_handle":"frog@datadoghq.com","widgets":[{"definition":{"title_size":"16","title":"system.cpu.user, + system.load.1","title_align":"right","has_search_bar":"auto","time":{"live_span":"1d"},"requests":[{"aggregator":"max","cell_display_mode":["number"],"conditional_formats":[{"palette":"white_on_green","hide_value":false,"value":90,"comparator":"<"},{"palette":"white_on_red","hide_value":false,"value":90,"comparator":">="}],"q":"avg:system.cpu.user{account:prod} by {service, team}","alias":"cpu user","limit":25,"order":"desc"},{"q":"avg:system.load.1{*} by {service, team}","aggregator":"last","cell_display_mode":["number"],"conditional_formats":[{"palette":"custom_bg","hide_value":false,"value":50,"comparator":">"}],"alias":"system - load"}],"type":"query_table"},"id":326236682329194},{"definition":{"requests":[{"apm_stats_query":{"primary_tag":"tag:*","row_type":"resource","name":"name","service":"service","env":"env"}}],"type":"query_table"},"id":2116944074724546}],"layout_type":"ordered"}' + load"}],"type":"query_table"},"id":8314210804814334},{"definition":{"requests":[{"apm_stats_query":{"primary_tag":"tag:*","row_type":"resource","name":"name","service":"service","env":"env"}}],"type":"query_table","has_search_bar":"never"},"id":6359749182825}],"layout_type":"ordered"}' headers: Cache-Control: - no-cache @@ -394,13 +394,13 @@ interactions: Content-Type: - application/json Date: - - Thu, 08 Oct 2020 15:18:23 GMT + - Thu, 08 Oct 2020 15:35:28 GMT Dd-Pool: - dogweb Pragma: - no-cache Set-Cookie: - - DD-PSHARD=233; Max-Age=604800; Path=/; expires=Thu, 15-Oct-2020 15:18:23 GMT; + - DD-PSHARD=233; Max-Age=604800; Path=/; expires=Thu, 15-Oct-2020 15:35:28 GMT; secure; HttpOnly Strict-Transport-Security: - max-age=15724800; @@ -409,7 +409,7 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Debug: - - uHOv5pdB1PveHLHifUeHewDqzfK3bQT4PA6+oh5BOE9GG8iP9eBr1zLtfDAkxY0n + - GzqFsJiHmsMG2ZkgPZxP4KU7BbP1543ieTDBlTOcSv7mMVZ5sYoywme9ykeCrzfU X-Dd-Version: - "35.3163187" X-Frame-Options: @@ -429,20 +429,20 @@ interactions: - terraform-provider-datadog/dev (terraform 1.15.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.9+dev (go go1.13.1; os darwin; arch amd64) X-Datadog-Parent-Id: - - "2704175123548945627" + - "6560886569148135516" X-Datadog-Sampling-Priority: - "1" X-Datadog-Trace-Id: - - "679546847650542790" - url: https://api.datadoghq.com/api/v1/dashboard/4dv-qya-q58 + - "5834955094864223578" + url: https://api.datadoghq.com/api/v1/dashboard/bmy-2rr-v8z method: GET response: body: '{"notify_list":[],"description":"Created using the Datadog provider in - Terraform","author_name":null,"template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"4dv-qya-q58","title":"tf-TestAccDatadogDashboardQueryTable_import-local-1602170293","url":"/dashboard/4dv-qya-q58/tf-testaccdatadogdashboardquerytableimport-local-1602170293","created_at":"2020-10-08T15:18:17.799987+00:00","modified_at":"2020-10-08T15:18:17.799987+00:00","author_handle":"frog@datadoghq.com","widgets":[{"definition":{"title_size":"16","title":"system.cpu.user, - system.load.1","title_align":"right","time":{"live_span":"1d"},"requests":[{"aggregator":"max","cell_display_mode":["number"],"conditional_formats":[{"palette":"white_on_green","hide_value":false,"value":90,"comparator":"<"},{"palette":"white_on_red","hide_value":false,"value":90,"comparator":">="}],"q":"avg:system.cpu.user{account:prod} + Terraform","author_name":null,"template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"bmy-2rr-v8z","title":"tf-TestAccDatadogDashboardQueryTable_import-local-1602171319","url":"/dashboard/bmy-2rr-v8z/tf-testaccdatadogdashboardquerytableimport-local-1602171319","created_at":"2020-10-08T15:35:22.822894+00:00","modified_at":"2020-10-08T15:35:22.822894+00:00","author_handle":"frog@datadoghq.com","widgets":[{"definition":{"title_size":"16","title":"system.cpu.user, + system.load.1","title_align":"right","has_search_bar":"auto","time":{"live_span":"1d"},"requests":[{"aggregator":"max","cell_display_mode":["number"],"conditional_formats":[{"palette":"white_on_green","hide_value":false,"value":90,"comparator":"<"},{"palette":"white_on_red","hide_value":false,"value":90,"comparator":">="}],"q":"avg:system.cpu.user{account:prod} by {service, team}","alias":"cpu user","limit":25,"order":"desc"},{"q":"avg:system.load.1{*} by {service, team}","aggregator":"last","cell_display_mode":["number"],"conditional_formats":[{"palette":"custom_bg","hide_value":false,"value":50,"comparator":">"}],"alias":"system - load"}],"type":"query_table"},"id":326236682329194},{"definition":{"requests":[{"apm_stats_query":{"primary_tag":"tag:*","row_type":"resource","name":"name","service":"service","env":"env"}}],"type":"query_table"},"id":2116944074724546}],"layout_type":"ordered"}' + load"}],"type":"query_table"},"id":8314210804814334},{"definition":{"requests":[{"apm_stats_query":{"primary_tag":"tag:*","row_type":"resource","name":"name","service":"service","env":"env"}}],"type":"query_table","has_search_bar":"never"},"id":6359749182825}],"layout_type":"ordered"}' headers: Cache-Control: - no-cache @@ -453,13 +453,13 @@ interactions: Content-Type: - application/json Date: - - Thu, 08 Oct 2020 15:18:25 GMT + - Thu, 08 Oct 2020 15:35:29 GMT Dd-Pool: - dogweb Pragma: - no-cache Set-Cookie: - - DD-PSHARD=233; Max-Age=604800; Path=/; expires=Thu, 15-Oct-2020 15:18:25 GMT; + - DD-PSHARD=233; Max-Age=604800; Path=/; expires=Thu, 15-Oct-2020 15:35:29 GMT; secure; HttpOnly Strict-Transport-Security: - max-age=15724800; @@ -468,7 +468,7 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Debug: - - SRq2Z9lEwLlAnf16mGl+bpeU/aiRKnFBfHHwmTvzUhnzfsNFrKLMMmOgcRDhRFd6 + - oY1U+Bw1sQyS4cySYbM3yP2PHmEdjLzb50z+L43vQMCCtEGfcc06BRHI9VdccfS3 X-Dd-Version: - "35.3163187" X-Frame-Options: @@ -488,20 +488,20 @@ interactions: - terraform-provider-datadog/dev (terraform 1.15.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.9+dev (go go1.13.1; os darwin; arch amd64) X-Datadog-Parent-Id: - - "1271284513208508300" + - "88641240754637753" X-Datadog-Sampling-Priority: - "1" X-Datadog-Trace-Id: - - "679546847650542790" - url: https://api.datadoghq.com/api/v1/dashboard/4dv-qya-q58 + - "5834955094864223578" + url: https://api.datadoghq.com/api/v1/dashboard/bmy-2rr-v8z method: GET response: body: '{"notify_list":[],"description":"Created using the Datadog provider in - Terraform","author_name":null,"template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"4dv-qya-q58","title":"tf-TestAccDatadogDashboardQueryTable_import-local-1602170293","url":"/dashboard/4dv-qya-q58/tf-testaccdatadogdashboardquerytableimport-local-1602170293","created_at":"2020-10-08T15:18:17.799987+00:00","modified_at":"2020-10-08T15:18:17.799987+00:00","author_handle":"frog@datadoghq.com","widgets":[{"definition":{"title_size":"16","title":"system.cpu.user, - system.load.1","title_align":"right","time":{"live_span":"1d"},"requests":[{"aggregator":"max","cell_display_mode":["number"],"conditional_formats":[{"palette":"white_on_green","hide_value":false,"value":90,"comparator":"<"},{"palette":"white_on_red","hide_value":false,"value":90,"comparator":">="}],"q":"avg:system.cpu.user{account:prod} + Terraform","author_name":null,"template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"bmy-2rr-v8z","title":"tf-TestAccDatadogDashboardQueryTable_import-local-1602171319","url":"/dashboard/bmy-2rr-v8z/tf-testaccdatadogdashboardquerytableimport-local-1602171319","created_at":"2020-10-08T15:35:22.822894+00:00","modified_at":"2020-10-08T15:35:22.822894+00:00","author_handle":"frog@datadoghq.com","widgets":[{"definition":{"title_size":"16","title":"system.cpu.user, + system.load.1","title_align":"right","has_search_bar":"auto","time":{"live_span":"1d"},"requests":[{"aggregator":"max","cell_display_mode":["number"],"conditional_formats":[{"palette":"white_on_green","hide_value":false,"value":90,"comparator":"<"},{"palette":"white_on_red","hide_value":false,"value":90,"comparator":">="}],"q":"avg:system.cpu.user{account:prod} by {service, team}","alias":"cpu user","limit":25,"order":"desc"},{"q":"avg:system.load.1{*} by {service, team}","aggregator":"last","cell_display_mode":["number"],"conditional_formats":[{"palette":"custom_bg","hide_value":false,"value":50,"comparator":">"}],"alias":"system - load"}],"type":"query_table"},"id":326236682329194},{"definition":{"requests":[{"apm_stats_query":{"primary_tag":"tag:*","row_type":"resource","name":"name","service":"service","env":"env"}}],"type":"query_table"},"id":2116944074724546}],"layout_type":"ordered"}' + load"}],"type":"query_table"},"id":8314210804814334},{"definition":{"requests":[{"apm_stats_query":{"primary_tag":"tag:*","row_type":"resource","name":"name","service":"service","env":"env"}}],"type":"query_table","has_search_bar":"never"},"id":6359749182825}],"layout_type":"ordered"}' headers: Cache-Control: - no-cache @@ -512,13 +512,13 @@ interactions: Content-Type: - application/json Date: - - Thu, 08 Oct 2020 15:18:25 GMT + - Thu, 08 Oct 2020 15:35:29 GMT Dd-Pool: - dogweb Pragma: - no-cache Set-Cookie: - - DD-PSHARD=233; Max-Age=604800; Path=/; expires=Thu, 15-Oct-2020 15:18:25 GMT; + - DD-PSHARD=233; Max-Age=604800; Path=/; expires=Thu, 15-Oct-2020 15:35:29 GMT; secure; HttpOnly Strict-Transport-Security: - max-age=15724800; @@ -527,7 +527,7 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Debug: - - yd+pYeOoLYl3scuK5ebI9venP8fblf89LZnLn7Z4ciukYCvApwo6pSH57pZYmWRG + - hhAfI9DpjHRbHS2z+2prVh0mHwAun3McFDOF8AzNv8c8J6c/l2q8Kye8syKGTxkY X-Dd-Version: - "35.3163187" X-Frame-Options: @@ -547,15 +547,15 @@ interactions: - terraform-provider-datadog/dev (terraform 1.15.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.9+dev (go go1.13.1; os darwin; arch amd64) X-Datadog-Parent-Id: - - "7091017579607083552" + - "6561567825935583532" X-Datadog-Sampling-Priority: - "1" X-Datadog-Trace-Id: - - "679546847650542790" - url: https://api.datadoghq.com/api/v1/dashboard/4dv-qya-q58 + - "5834955094864223578" + url: https://api.datadoghq.com/api/v1/dashboard/bmy-2rr-v8z method: DELETE response: - body: '{"deleted_dashboard_id":"4dv-qya-q58"}' + body: '{"deleted_dashboard_id":"bmy-2rr-v8z"}' headers: Cache-Control: - no-cache @@ -566,13 +566,13 @@ interactions: Content-Type: - application/json Date: - - Thu, 08 Oct 2020 15:19:19 GMT + - Thu, 08 Oct 2020 15:36:23 GMT Dd-Pool: - dogweb Pragma: - no-cache Set-Cookie: - - DD-PSHARD=233; Max-Age=604800; Path=/; expires=Thu, 15-Oct-2020 15:18:26 GMT; + - DD-PSHARD=233; Max-Age=604800; Path=/; expires=Thu, 15-Oct-2020 15:35:30 GMT; secure; HttpOnly Strict-Transport-Security: - max-age=15724800; @@ -581,7 +581,7 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Debug: - - fHJD0GFesE+geery3W/L2wPUuFg7ZelOB/LsK8Wd1lWCPIWmLYVbvmyVyth3oAaS + - RCObiQ2dtM/JQUOdAbTQmIrpsZR5eT9bZEwE14hAfjq3x8DBTBCy/8ina/nQCRGE X-Dd-Version: - "35.3163187" X-Frame-Options: @@ -601,15 +601,15 @@ interactions: - terraform-provider-datadog/dev (terraform 1.15.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.9+dev (go go1.13.1; os darwin; arch amd64) X-Datadog-Parent-Id: - - "5672160275049536203" + - "4885623841838366257" X-Datadog-Sampling-Priority: - "1" X-Datadog-Trace-Id: - - "679546847650542790" - url: https://api.datadoghq.com/api/v1/dashboard/4dv-qya-q58 + - "5834955094864223578" + url: https://api.datadoghq.com/api/v1/dashboard/bmy-2rr-v8z method: GET response: - body: '{"errors": ["Dashboard with ID 4dv-qya-q58 not found"]}' + body: '{"errors": ["Dashboard with ID bmy-2rr-v8z not found"]}' headers: Cache-Control: - no-cache @@ -620,7 +620,7 @@ interactions: Content-Type: - application/json Date: - - Thu, 08 Oct 2020 15:19:19 GMT + - Thu, 08 Oct 2020 15:36:24 GMT Dd-Pool: - dogweb Pragma: diff --git a/datadog/resource_datadog_dashboard_query_table_test.go b/datadog/resource_datadog_dashboard_query_table_test.go index bb682a69c9..dec1a96746 100644 --- a/datadog/resource_datadog_dashboard_query_table_test.go +++ b/datadog/resource_datadog_dashboard_query_table_test.go @@ -117,6 +117,7 @@ resource "datadog_dashboard" "query_table_dashboard" { alias = "system load" cell_display_mode = ["number"] } + has_search_bar = "auto" } } @@ -131,6 +132,7 @@ resource "datadog_dashboard" "query_table_dashboard" { row_type = "resource" } } + has_search_bar = "never" } } } @@ -186,6 +188,8 @@ var datadogDashboardQueryTableAsserts = []string{ "widget.1.query_table_definition.0.request.0.apm_stats_query.0.row_type = resource", "widget.0.query_table_definition.0.request.0.cell_display_mode.0 = number", "widget.0.query_table_definition.0.request.1.cell_display_mode.0 = number", + "widget.0.query_table_definition.0.has_search_bar = auto", + "widget.1.query_table_definition.0.has_search_bar = never", } func TestAccDatadogDashboardQueryTable(t *testing.T) {