From 818f814d0e0b29c55a05b01e7ca4040e09d7d064 Mon Sep 17 00:00:00 2001 From: Qin Cheng Chen Date: Tue, 11 May 2021 11:05:15 -0400 Subject: [PATCH 01/22] [graph-editor] Add support for context menu override for custom_links --- datadog/resource_datadog_dashboard.go | 22 ++++++++++++++++++---- 1 file changed, 18 insertions(+), 4 deletions(-) diff --git a/datadog/resource_datadog_dashboard.go b/datadog/resource_datadog_dashboard.go index dac0fdfdc..e0ed8079a 100644 --- a/datadog/resource_datadog_dashboard.go +++ b/datadog/resource_datadog_dashboard.go @@ -6047,14 +6047,28 @@ func buildTerraformWidgetConditionalFormat(datadogWidgetConditionalFormat *[]dat func getWidgetCustomLinkSchema() map[string]*schema.Schema { return map[string]*schema.Schema{ "label": { - Description: "The label for the custom link URL.", - Type: schema.TypeString, - Required: true, + Description: "The label for the custom link URL.", + Type: schema.TypeString, + Required: false, + ConflictsWith: []string{"is_hidden", "override_label"}, }, "link": { Description: "The URL of the custom link.", Type: schema.TypeString, - Required: true, + Required: false, + }, + "is_hidden": { + Description: "The flag for toggling context menu link visibility", + Type: schema.TypeBool, + Required: false, + ConflictsWith: []string{"label"}, + }, + "override_label": { + Description: "The label id that refers to a context menu link item", + Type: schema.TypeString, + Required: false, + ValidateFunc: validation.StringIsNotEmpty, + ConflictsWith: []string{"label"}, }, } } From c5c898639082736b0debec8e8a965c21108d08fe Mon Sep 17 00:00:00 2001 From: Qin Cheng Chen Date: Thu, 13 May 2021 10:35:43 -0400 Subject: [PATCH 02/22] stash --- datadog/resource_datadog_dashboard.go | 32 +++++++++++++++---- ...esource_datadog_service_level_objective.go | 29 +++++++++-------- go.mod | 2 ++ 3 files changed, 42 insertions(+), 21 deletions(-) diff --git a/datadog/resource_datadog_dashboard.go b/datadog/resource_datadog_dashboard.go index 8d8048efc..1ef1973f6 100644 --- a/datadog/resource_datadog_dashboard.go +++ b/datadog/resource_datadog_dashboard.go @@ -6207,9 +6207,18 @@ func buildDatadogWidgetCustomLinks(terraformWidgetCustomLinks *[]interface{}) *[ datadogWidgetCustomLinks := make([]datadogV1.WidgetCustomLink, len(*terraformWidgetCustomLinks)) for i, customLink := range *terraformWidgetCustomLinks { terraformCustomLink := customLink.(map[string]interface{}) - datadogWidgetCustomLink := datadogV1.WidgetCustomLink{ - Label: terraformCustomLink["label"].(string), - Link: terraformCustomLink["link"].(string), + datadogWidgetCustomLink := datadogV1.WidgetCustomLink{} + if v, ok := terraformCustomLink["label"].(string); ok { + datadogWidgetCustomLink.SetLabel(v) + } + if v, ok := terraformCustomLink["link"].(string); ok { + datadogWidgetCustomLink.SetLink(v) + } + if v, ok := terraformCustomLink["override_label"].(string); ok { + datadogWidgetCustomLink.SetOverrideLabel(v) + } + if v, ok := terraformCustomLink["is_hidden"].(bool); ok { + datadogWidgetCustomLink.SetIsHidden(v) } datadogWidgetCustomLinks[i] = datadogWidgetCustomLink } @@ -6219,10 +6228,19 @@ func buildTerraformWidgetCustomLinks(datadogWidgetCustomLinks *[]datadogV1.Widge terraformWidgetCustomLinks := make([]map[string]string, len(*datadogWidgetCustomLinks)) for i, customLink := range *datadogWidgetCustomLinks { terraformWidgetCustomLink := map[string]string{} - // Required params - terraformWidgetCustomLink["label"] = customLink.GetLabel() - terraformWidgetCustomLink["link"] = customLink.GetLink() - + // Optional params + if v, ok := customLink.GetLabelOk(); ok { + terraformWidgetCustomLink["label"] = *v + } + if v, ok := customLink.GetLinkOk(); ok { + terraformWidgetCustomLink["link"] = *v + } + if v, ok := customLink.GetOverrideLabelOk(); ok { + terraformWidgetCustomLink["override_label"] = *v + } + if v, ok := customLink.GetIsHiddenOk(); ok { + terraformWidgetCustomLink["is_hidden"] = strconv.FormatBool(*v) + } terraformWidgetCustomLinks[i] = terraformWidgetCustomLink } return &terraformWidgetCustomLinks diff --git a/datadog/resource_datadog_service_level_objective.go b/datadog/resource_datadog_service_level_objective.go index 4d4e4534a..380d93c4d 100644 --- a/datadog/resource_datadog_service_level_objective.go +++ b/datadog/resource_datadog_service_level_objective.go @@ -349,20 +349,21 @@ func resourceDatadogServiceLevelObjectiveCreate(d *schema.ResourceData, meta int } func resourceDatadogServiceLevelObjectiveRead(d *schema.ResourceData, meta interface{}) error { - providerConf := meta.(*ProviderConfiguration) - datadogClientV1 := providerConf.DatadogClientV1 - authV1 := providerConf.AuthV1 - - sloResp, httpresp, err := datadogClientV1.ServiceLevelObjectivesApi.GetSLO(authV1, d.Id()) - if err != nil { - if httpresp != nil && httpresp.StatusCode == 404 { - d.SetId("") - return nil - } - return utils.TranslateClientError(err, "error getting service level objective") - } - - return updateSLOState(d, sloResp.Data) + // providerConf := meta.(*ProviderConfiguration) + // datadogClientV1 := providerConf.DatadogClientV1 + // authV1 := providerConf.AuthV1 + + // sloResp, httpresp, err := datadogClientV1.ServiceLevelObjectivesApi.GetSLO(authV1, d.Id()) + // if err != nil { + // if httpresp != nil && httpresp.StatusCode == 404 { + // d.SetId("") + // return nil + // } + // return utils.TranslateClientError(err, "error getting service level objective") + // } + + // return updateSLOState(d, sloResp.Data) + return nil } func updateSLOState(d *schema.ResourceData, slo *datadogV1.ServiceLevelObjective) error { diff --git a/go.mod b/go.mod index d00822865..019781508 100644 --- a/go.mod +++ b/go.mod @@ -31,3 +31,5 @@ replace github.com/hashicorp/terraform-plugin-docs v0.4.0 => github.com/zippolyt // Use branch of dd-trace-go for additional APM features replace gopkg.in/DataDog/dd-trace-go.v1 => github.com/DataDog/dd-trace-go v1.29.0-alpha.1.0.20210128154316-c84d7933b726 + +replace github.com/DataDog/datadog-api-client-go => ../datadog-api-spec/generated/datadog-api-client-go \ No newline at end of file From 3e4389803927605dda2cf3d57cfc281c8a6a082e Mon Sep 17 00:00:00 2001 From: Qin Cheng Chen Date: Thu, 13 May 2021 14:05:58 -0400 Subject: [PATCH 03/22] ready for review --- datadog/resource_datadog_dashboard.go | 38 ++++++++++++--------------- 1 file changed, 17 insertions(+), 21 deletions(-) diff --git a/datadog/resource_datadog_dashboard.go b/datadog/resource_datadog_dashboard.go index 1ef1973f6..52fc99a9f 100644 --- a/datadog/resource_datadog_dashboard.go +++ b/datadog/resource_datadog_dashboard.go @@ -6178,28 +6178,24 @@ func buildTerraformWidgetConditionalFormat(datadogWidgetConditionalFormat *[]dat func getWidgetCustomLinkSchema() map[string]*schema.Schema { return map[string]*schema.Schema{ "label": { - Description: "The label for the custom link URL.", - Type: schema.TypeString, - Required: false, - ConflictsWith: []string{"is_hidden", "override_label"}, + Description: "The label for the custom link URL.", + Type: schema.TypeString, + Optional: true, }, "link": { Description: "The URL of the custom link.", Type: schema.TypeString, - Required: false, + Optional: true, }, "is_hidden": { - Description: "The flag for toggling context menu link visibility", - Type: schema.TypeBool, - Required: false, - ConflictsWith: []string{"label"}, + Description: "The flag for toggling context menu link visibility", + Type: schema.TypeBool, + Optional: true, }, "override_label": { - Description: "The label id that refers to a context menu link item", - Type: schema.TypeString, - Required: false, - ValidateFunc: validation.StringIsNotEmpty, - ConflictsWith: []string{"label"}, + Description: "The label id that refers to a context menu link item", + Type: schema.TypeString, + Optional: true, }, } } @@ -6208,13 +6204,13 @@ func buildDatadogWidgetCustomLinks(terraformWidgetCustomLinks *[]interface{}) *[ for i, customLink := range *terraformWidgetCustomLinks { terraformCustomLink := customLink.(map[string]interface{}) datadogWidgetCustomLink := datadogV1.WidgetCustomLink{} - if v, ok := terraformCustomLink["label"].(string); ok { + if v, ok := terraformCustomLink["label"].(string); ok && len(v) > 0 { datadogWidgetCustomLink.SetLabel(v) } - if v, ok := terraformCustomLink["link"].(string); ok { + if v, ok := terraformCustomLink["link"].(string); ok && len(v) > 0 { datadogWidgetCustomLink.SetLink(v) } - if v, ok := terraformCustomLink["override_label"].(string); ok { + if v, ok := terraformCustomLink["override_label"].(string); ok && len(v) > 0 { datadogWidgetCustomLink.SetOverrideLabel(v) } if v, ok := terraformCustomLink["is_hidden"].(bool); ok { @@ -6224,10 +6220,10 @@ func buildDatadogWidgetCustomLinks(terraformWidgetCustomLinks *[]interface{}) *[ } return &datadogWidgetCustomLinks } -func buildTerraformWidgetCustomLinks(datadogWidgetCustomLinks *[]datadogV1.WidgetCustomLink) *[]map[string]string { - terraformWidgetCustomLinks := make([]map[string]string, len(*datadogWidgetCustomLinks)) +func buildTerraformWidgetCustomLinks(datadogWidgetCustomLinks *[]datadogV1.WidgetCustomLink) *[]map[string]interface{} { + terraformWidgetCustomLinks := make([]map[string]interface{}, len(*datadogWidgetCustomLinks)) for i, customLink := range *datadogWidgetCustomLinks { - terraformWidgetCustomLink := map[string]string{} + terraformWidgetCustomLink := map[string]interface{}{} // Optional params if v, ok := customLink.GetLabelOk(); ok { terraformWidgetCustomLink["label"] = *v @@ -6239,7 +6235,7 @@ func buildTerraformWidgetCustomLinks(datadogWidgetCustomLinks *[]datadogV1.Widge terraformWidgetCustomLink["override_label"] = *v } if v, ok := customLink.GetIsHiddenOk(); ok { - terraformWidgetCustomLink["is_hidden"] = strconv.FormatBool(*v) + terraformWidgetCustomLink["is_hidden"] = *v } terraformWidgetCustomLinks[i] = terraformWidgetCustomLink } From 452045b913cd53ea891e4df21d06dc410ceeaa6b Mon Sep 17 00:00:00 2001 From: Qin Cheng Chen Date: Thu, 13 May 2021 14:07:03 -0400 Subject: [PATCH 04/22] clean up changes --- ...esource_datadog_service_level_objective.go | 29 +++++++++---------- go.mod | 2 -- 2 files changed, 14 insertions(+), 17 deletions(-) diff --git a/datadog/resource_datadog_service_level_objective.go b/datadog/resource_datadog_service_level_objective.go index 380d93c4d..4d4e4534a 100644 --- a/datadog/resource_datadog_service_level_objective.go +++ b/datadog/resource_datadog_service_level_objective.go @@ -349,21 +349,20 @@ func resourceDatadogServiceLevelObjectiveCreate(d *schema.ResourceData, meta int } func resourceDatadogServiceLevelObjectiveRead(d *schema.ResourceData, meta interface{}) error { - // providerConf := meta.(*ProviderConfiguration) - // datadogClientV1 := providerConf.DatadogClientV1 - // authV1 := providerConf.AuthV1 - - // sloResp, httpresp, err := datadogClientV1.ServiceLevelObjectivesApi.GetSLO(authV1, d.Id()) - // if err != nil { - // if httpresp != nil && httpresp.StatusCode == 404 { - // d.SetId("") - // return nil - // } - // return utils.TranslateClientError(err, "error getting service level objective") - // } - - // return updateSLOState(d, sloResp.Data) - return nil + providerConf := meta.(*ProviderConfiguration) + datadogClientV1 := providerConf.DatadogClientV1 + authV1 := providerConf.AuthV1 + + sloResp, httpresp, err := datadogClientV1.ServiceLevelObjectivesApi.GetSLO(authV1, d.Id()) + if err != nil { + if httpresp != nil && httpresp.StatusCode == 404 { + d.SetId("") + return nil + } + return utils.TranslateClientError(err, "error getting service level objective") + } + + return updateSLOState(d, sloResp.Data) } func updateSLOState(d *schema.ResourceData, slo *datadogV1.ServiceLevelObjective) error { diff --git a/go.mod b/go.mod index 019781508..d00822865 100644 --- a/go.mod +++ b/go.mod @@ -31,5 +31,3 @@ replace github.com/hashicorp/terraform-plugin-docs v0.4.0 => github.com/zippolyt // Use branch of dd-trace-go for additional APM features replace gopkg.in/DataDog/dd-trace-go.v1 => github.com/DataDog/dd-trace-go v1.29.0-alpha.1.0.20210128154316-c84d7933b726 - -replace github.com/DataDog/datadog-api-client-go => ../datadog-api-spec/generated/datadog-api-client-go \ No newline at end of file From e63eed47b348f1129e3eb340bf4bcc0a47323ff3 Mon Sep 17 00:00:00 2001 From: Qin Cheng Chen Date: Fri, 14 May 2021 11:28:01 -0400 Subject: [PATCH 05/22] update logic to handle field selection --- datadog/resource_datadog_dashboard.go | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/datadog/resource_datadog_dashboard.go b/datadog/resource_datadog_dashboard.go index 52fc99a9f..ba69e37f3 100644 --- a/datadog/resource_datadog_dashboard.go +++ b/datadog/resource_datadog_dashboard.go @@ -6204,18 +6204,19 @@ func buildDatadogWidgetCustomLinks(terraformWidgetCustomLinks *[]interface{}) *[ for i, customLink := range *terraformWidgetCustomLinks { terraformCustomLink := customLink.(map[string]interface{}) datadogWidgetCustomLink := datadogV1.WidgetCustomLink{} - if v, ok := terraformCustomLink["label"].(string); ok && len(v) > 0 { - datadogWidgetCustomLink.SetLabel(v) - } - if v, ok := terraformCustomLink["link"].(string); ok && len(v) > 0 { - datadogWidgetCustomLink.SetLink(v) - } if v, ok := terraformCustomLink["override_label"].(string); ok && len(v) > 0 { datadogWidgetCustomLink.SetOverrideLabel(v) } - if v, ok := terraformCustomLink["is_hidden"].(bool); ok { + // if override_label is provided, it would context menu override, thus omit label field + if v, ok := terraformCustomLink["label"].(string); ok && len(v) > 0 && !datadogWidgetCustomLink.HasOverrideLabel() { + datadogWidgetCustomLink.SetLabel(v) + } + if v, ok := terraformCustomLink["is_hidden"].(bool); ok && v && datadogWidgetCustomLink.HasOverrideLabel() { datadogWidgetCustomLink.SetIsHidden(v) } + if v, ok := terraformCustomLink["link"].(string); ok && len(v) > 0 { + datadogWidgetCustomLink.SetLink(v) + } datadogWidgetCustomLinks[i] = datadogWidgetCustomLink } return &datadogWidgetCustomLinks From 9a8c24817d22c411b754b6db6505a01c314f064f Mon Sep 17 00:00:00 2001 From: Qin Cheng Chen Date: Wed, 19 May 2021 11:53:38 -0400 Subject: [PATCH 06/22] update client --- go.mod | 2 +- go.sum | 22 ++++++++++------------ 2 files changed, 11 insertions(+), 13 deletions(-) diff --git a/go.mod b/go.mod index d00822865..99b677d7f 100644 --- a/go.mod +++ b/go.mod @@ -1,7 +1,7 @@ module github.com/terraform-providers/terraform-provider-datadog require ( - github.com/DataDog/datadog-api-client-go v1.0.0-beta.20.0.20210429154130-55f70a86d7db + github.com/DataDog/datadog-api-client-go v1.0.0-beta.22.0.20210519072410-7770af3e7bf2 github.com/DataDog/datadog-go v3.6.0+incompatible // indirect github.com/cenkalti/backoff v2.1.1+incompatible // indirect github.com/dnaeon/go-vcr v1.0.1 diff --git a/go.sum b/go.sum index f00a0bbd4..805678ac7 100644 --- a/go.sum +++ b/go.sum @@ -34,8 +34,8 @@ cloud.google.com/go/storage v1.10.0/go.mod h1:FLPqc6j+Ki4BU591ie1oL6qBQGu2Bl/tZ9 dmitri.shuralyov.com/gpu/mtl v0.0.0-20190408044501-666a987793e9/go.mod h1:H6x//7gZCb22OMCxBHrMx7a5I7Hp++hsVxbQ4BYO7hU= github.com/BurntSushi/toml v0.3.1/go.mod h1:xHWCNGjB5oqiDr8zfno3MHue2Ht5sIBksp03qcyfWMU= github.com/BurntSushi/xgb v0.0.0-20160522181843-27f122750802/go.mod h1:IVnqGOEym/WlBOVXweHU+Q+/VP0lqqI8lqeDx9IjBqo= -github.com/DataDog/datadog-api-client-go v1.0.0-beta.20.0.20210429154130-55f70a86d7db h1:JT57mNYtK280s0YXe+ZL9liD7/JFDYK8+LfwgC/fFTQ= -github.com/DataDog/datadog-api-client-go v1.0.0-beta.20.0.20210429154130-55f70a86d7db/go.mod h1:T4YUFSUXoBbhxY5qq5V/1llk5U1o6vTjYFS3dk3uH74= +github.com/DataDog/datadog-api-client-go v1.0.0-beta.22.0.20210519072410-7770af3e7bf2 h1:bJcNCYf58gkOdAg47G1JD5BxormLsSQxa/JM/O5QfII= +github.com/DataDog/datadog-api-client-go v1.0.0-beta.22.0.20210519072410-7770af3e7bf2/go.mod h1:tDLS5DpiVB5myIJMRHXx/pdAn8b5IPeI38HrZruQCOE= github.com/DataDog/datadog-go v3.6.0+incompatible h1:ILg7c5Y1KvZFDOaVS0higGmJ5Fal5O1KQrkrT9j6dSM= github.com/DataDog/datadog-go v3.6.0+incompatible/go.mod h1:LButxg5PwREeZtORoXG3tL4fMGNddJ+vMq1mwgfaqoQ= github.com/DataDog/dd-trace-go v1.29.0-alpha.1.0.20210128154316-c84d7933b726 h1:E6y5wxU93et78p5JhD1tl/QDdFofxiSadMJ2p0AqO4Y= @@ -51,10 +51,8 @@ github.com/agext/levenshtein v1.2.1/go.mod h1:JEDfjyjHDjOF/1e4FlBE/PkbqA9OfWu2ki github.com/agext/levenshtein v1.2.2 h1:0S/Yg6LYmFJ5stwQeRp6EeOcCbj7xiqQSdNelsXvaqE= github.com/agext/levenshtein v1.2.2/go.mod h1:JEDfjyjHDjOF/1e4FlBE/PkbqA9OfWu2ki2W0IB5558= github.com/agl/ed25519 v0.0.0-20170116200512-5312a6153412/go.mod h1:WPjqKcmVOxf0XSf3YxCJs6N6AOSrOx3obionmG7T0y0= -github.com/alcortesm/tgz v0.0.0-20161220082320-9c5fe88206d7 h1:uSoVVbwJiQipAclBbw+8quDsfcvFjOpI5iCf4p/cqCs= github.com/alcortesm/tgz v0.0.0-20161220082320-9c5fe88206d7/go.mod h1:6zEj6s6u/ghQa61ZWa/C2Aw3RkjiTBOix7dkqa1VLIs= github.com/andybalholm/crlf v0.0.0-20171020200849-670099aa064f/go.mod h1:k8feO4+kXDxro6ErPXBRTJ/ro2mf0SsFG8s7doP9kJE= -github.com/anmitsu/go-shlex v0.0.0-20161002113705-648efa622239 h1:kFOfPq6dUM1hTo4JG6LR5AXSUEsOjtdm0kw0FtQtMJA= github.com/anmitsu/go-shlex v0.0.0-20161002113705-648efa622239/go.mod h1:2FmKhYUyUczH0OGQWaF5ceTx0UBShxjsH6f8oGKYe2c= github.com/apparentlymart/go-cidr v1.0.1 h1:NmIwLZ/KdsjIUlhf+/Np40atNXm/+lZ5txfTJ/SpF+U= github.com/apparentlymart/go-cidr v1.0.1/go.mod h1:EBcsNrHc3zQeuaeCeCtQruQm+n9/YjEn/vI25Lg7Gwc= @@ -68,7 +66,6 @@ github.com/apparentlymart/go-textseg/v12 v12.0.0/go.mod h1:S/4uRK2UtaQttw1GenVJE github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310/go.mod h1:ufUuZ+zHj4x4TnLV4JWEpy2hxWSpsRywHrMgIH9cCH8= github.com/armon/go-radix v1.0.0 h1:F4z6KzEeeQIMeLFa97iZU6vupzoecKdU5TX24SNppXI= github.com/armon/go-radix v1.0.0/go.mod h1:ufUuZ+zHj4x4TnLV4JWEpy2hxWSpsRywHrMgIH9cCH8= -github.com/armon/go-socks5 v0.0.0-20160902184237-e75332964ef5 h1:0CwZNZbxp69SHPdPJAN/hZIm0C4OItdklCFmMRWYpio= github.com/armon/go-socks5 v0.0.0-20160902184237-e75332964ef5/go.mod h1:wHh0iHkYZB8zMSxRWpUBQtwG5a7fFgvEO+odwuTv2gs= github.com/aslakhellesoy/gox v1.0.100/go.mod h1:AJl542QsKKG96COVsv0N74HHzVQgDIQPceVUh1aeU2M= github.com/aws/aws-sdk-go v1.15.78/go.mod h1:E3/ieXAlvM0XWO57iftYVDLLvQ824smPP3ATZkfNZeM= @@ -106,11 +103,8 @@ github.com/envoyproxy/protoc-gen-validate v0.1.0/go.mod h1:iSmxcyjqTsJpI2R4NaDN7 github.com/fatih/color v1.7.0/go.mod h1:Zm6kSWBoL9eyXnKyktHP6abPY2pDugNf5KwzbycvMj4= github.com/fatih/color v1.9.0 h1:8xPHl4/q1VyqGIPif1F+1V3Y3lSmrq01EabUW3CoW5s= github.com/fatih/color v1.9.0/go.mod h1:eQcE1qtQxscV5RaZvpXrrb8Drkc3/DdQ+uUYCNjL+zU= -github.com/flynn/go-shlex v0.0.0-20150515145356-3f9db97f8568 h1:BHsljHzVlRcyQhjrss6TZTdY2VfCqZPbv5k3iBFa2ZQ= github.com/flynn/go-shlex v0.0.0-20150515145356-3f9db97f8568/go.mod h1:xEzjJPgXI435gkrCt3MPfRiAkVrwSbHsst4LCFVfpJc= -github.com/gliderlabs/ssh v0.2.2 h1:6zsha5zo/TWhRhwqCD3+EarCAgZ2yN28ipRnGPnwkI0= github.com/gliderlabs/ssh v0.2.2/go.mod h1:U7qILu1NlMHj9FlMhZLlkCdDnU1DBEAqr0aevW3Awn0= -github.com/go-bdd/assert v0.0.0-20190820124234-20d47a68475d h1:zQazu3kApPoajWmXj9zFpCNE+UDefwwFRijKjzvHNCM= github.com/go-bdd/assert v0.0.0-20190820124234-20d47a68475d/go.mod h1:dOoqt7g2I/fpR7/Pyz0P19J3xjDj5lsHn3v9EaFLRjM= github.com/go-bdd/gobdd v1.1.3 h1:eirGvZ9gMz6clOo2k6O7+Ys3iHAaFZoRQXVwV76B3JI= github.com/go-bdd/gobdd v1.1.3/go.mod h1:Q3mXpW/Qm9GJCPLxFCTXdTtRBdHzcTfrbeLlaqAPtXM= @@ -118,7 +112,6 @@ github.com/go-git/gcfg v1.5.0 h1:Q5ViNfGF8zFgyJWPqYwA7qGFoMTEiBmdlkcfRmpIMa4= github.com/go-git/gcfg v1.5.0/go.mod h1:5m20vg6GwYabIxaOonVkTdrILxQMpEShl1xiMF4ua+E= github.com/go-git/go-billy/v5 v5.0.0 h1:7NQHvd9FVid8VL4qVUMm8XifBK+2xCoZ2lSk0agRrHM= github.com/go-git/go-billy/v5 v5.0.0/go.mod h1:pmpqyWchKfYfrkb/UVH4otLvyi/5gJlGI4Hb3ZqZ3W0= -github.com/go-git/go-git-fixtures/v4 v4.0.1 h1:q+IFMfLx200Q3scvt2hN79JsEzy4AmBTp/pqnefH+Bc= github.com/go-git/go-git-fixtures/v4 v4.0.1/go.mod h1:m+ICp2rF3jDhFgEZ/8yziagdT1C+ZpZcrJjappBCDSw= github.com/go-git/go-git/v5 v5.1.0 h1:HxJn9g/E7eYvKW3Fm7Jt4ee8LXfPOm/H1cdDu8vEssk= github.com/go-git/go-git/v5 v5.1.0/go.mod h1:ZKfuPUoY1ZqIG4QG9BDBh3G4gLM5zvPuSJAozQrZuyM= @@ -464,8 +457,9 @@ golang.org/x/net v0.0.0-20200506145744-7e3656a0809f/go.mod h1:qpuaurCH72eLCgpAm/ golang.org/x/net v0.0.0-20200513185701-a91f0712d120/go.mod h1:qpuaurCH72eLCgpAm/N6yyVIVM9cpaDIP3A8BGJEC5A= golang.org/x/net v0.0.0-20200520182314-0ba52f642ac2/go.mod h1:qpuaurCH72eLCgpAm/N6yyVIVM9cpaDIP3A8BGJEC5A= golang.org/x/net v0.0.0-20200625001655-4c5254603344/go.mod h1:/O7V0waA8r7cgGh81Ro3o1hOxt32SMVPicZroKQ2sZA= -golang.org/x/net v0.0.0-20200707034311-ab3426394381 h1:VXak5I6aEWmAXeQjA+QSZzlgNrpq9mjcfDemuexIKsU= golang.org/x/net v0.0.0-20200707034311-ab3426394381/go.mod h1:/O7V0waA8r7cgGh81Ro3o1hOxt32SMVPicZroKQ2sZA= +golang.org/x/net v0.0.0-20210405180319-a5a99cb37ef4 h1:4nGaVu0QrbjT/AK2PRLuQfQuh6DJve+pELhqTdAj3x0= +golang.org/x/net v0.0.0-20210405180319-a5a99cb37ef4/go.mod h1:p54w0d4576C0XHj96bSt6lcn1PtDYWL6XObtHCRCNQM= golang.org/x/oauth2 v0.0.0-20180821212333-d2e6202438be/go.mod h1:N/0e6XlmueqKjAGxoOufVs8QHGRruUQn6yWY3a++T0U= golang.org/x/oauth2 v0.0.0-20190226205417-e64efc72b421/go.mod h1:gOpvHmFTYa4IltrdGE7lF6nIHvwfUNPOp7c8zoXwtLw= golang.org/x/oauth2 v0.0.0-20190604053449-0f29369cfe45/go.mod h1:gOpvHmFTYa4IltrdGE7lF6nIHvwfUNPOp7c8zoXwtLw= @@ -480,6 +474,7 @@ golang.org/x/sync v0.0.0-20190423024810-112230192c58/go.mod h1:RxMgew5VJxzue5/jJ golang.org/x/sync v0.0.0-20190911185100-cd5d95a43a6e/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= golang.org/x/sync v0.0.0-20200317015054-43a5402ce75a/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= golang.org/x/sync v0.0.0-20200625203802-6e8e738ad208/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= +golang.org/x/sync v0.0.0-20210220032951-036812b2e83c/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= golang.org/x/sys v0.0.0-20180823144017-11551d06cbcc/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= golang.org/x/sys v0.0.0-20180830151530-49385e6e1522/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= golang.org/x/sys v0.0.0-20180905080454-ebe1bf3edb33/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= @@ -509,12 +504,15 @@ golang.org/x/sys v0.0.0-20200223170610-d5e6a3e2c0ae/go.mod h1:h1NjWce9XRLGQEsW7w golang.org/x/sys v0.0.0-20200302150141-5c8b2ff67527/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20200323222414-85ca7c5b95cd/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20200331124033-c3d80250170d/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20200420163511-1957bb5e6d1f/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20200501052902-10377860bb8e/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20200511232937-7e40ca221e25/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20200515095857-1151b9dac4a9/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20200523222454-059865788121 h1:rITEj+UZHYC927n8GT97eC3zrpzXdb/voyeOuVKS46o= golang.org/x/sys v0.0.0-20200523222454-059865788121/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20201119102817-f84b799fce68/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20210330210617-4fbd30eecc44/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20210510120138-977fb7262007 h1:gG67DSER+11cZvqIMb8S8bt0vZtiN6xWYARwirrOSfE= +golang.org/x/sys v0.0.0-20210510120138-977fb7262007/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= +golang.org/x/term v0.0.0-20201126162022-7de9c90e9dd1/go.mod h1:bj7SfCRtBDWHUb9snDiAeCFNEtKQo2Wmx5Cou7ajbmo= golang.org/x/text v0.0.0-20170915032832-14c0d48ead0c/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ= golang.org/x/text v0.3.0/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ= golang.org/x/text v0.3.1-0.20180807135948-17ff2d5776d2/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ= From 42e231baf1d5146298e39f7263e08ae4315f000f Mon Sep 17 00:00:00 2001 From: Qin Cheng Chen Date: Wed, 19 May 2021 12:01:15 -0400 Subject: [PATCH 07/22] revert change --- go.sum | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/go.sum b/go.sum index 59086c40a..81d44edb9 100644 --- a/go.sum +++ b/go.sum @@ -51,8 +51,10 @@ github.com/agext/levenshtein v1.2.1/go.mod h1:JEDfjyjHDjOF/1e4FlBE/PkbqA9OfWu2ki github.com/agext/levenshtein v1.2.2 h1:0S/Yg6LYmFJ5stwQeRp6EeOcCbj7xiqQSdNelsXvaqE= github.com/agext/levenshtein v1.2.2/go.mod h1:JEDfjyjHDjOF/1e4FlBE/PkbqA9OfWu2ki2W0IB5558= github.com/agl/ed25519 v0.0.0-20170116200512-5312a6153412/go.mod h1:WPjqKcmVOxf0XSf3YxCJs6N6AOSrOx3obionmG7T0y0= +github.com/alcortesm/tgz v0.0.0-20161220082320-9c5fe88206d7 h1:uSoVVbwJiQipAclBbw+8quDsfcvFjOpI5iCf4p/cqCs= github.com/alcortesm/tgz v0.0.0-20161220082320-9c5fe88206d7/go.mod h1:6zEj6s6u/ghQa61ZWa/C2Aw3RkjiTBOix7dkqa1VLIs= github.com/andybalholm/crlf v0.0.0-20171020200849-670099aa064f/go.mod h1:k8feO4+kXDxro6ErPXBRTJ/ro2mf0SsFG8s7doP9kJE= +github.com/anmitsu/go-shlex v0.0.0-20161002113705-648efa622239 h1:kFOfPq6dUM1hTo4JG6LR5AXSUEsOjtdm0kw0FtQtMJA= github.com/anmitsu/go-shlex v0.0.0-20161002113705-648efa622239/go.mod h1:2FmKhYUyUczH0OGQWaF5ceTx0UBShxjsH6f8oGKYe2c= github.com/apparentlymart/go-cidr v1.0.1 h1:NmIwLZ/KdsjIUlhf+/Np40atNXm/+lZ5txfTJ/SpF+U= github.com/apparentlymart/go-cidr v1.0.1/go.mod h1:EBcsNrHc3zQeuaeCeCtQruQm+n9/YjEn/vI25Lg7Gwc= @@ -66,6 +68,7 @@ github.com/apparentlymart/go-textseg/v12 v12.0.0/go.mod h1:S/4uRK2UtaQttw1GenVJE github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310/go.mod h1:ufUuZ+zHj4x4TnLV4JWEpy2hxWSpsRywHrMgIH9cCH8= github.com/armon/go-radix v1.0.0 h1:F4z6KzEeeQIMeLFa97iZU6vupzoecKdU5TX24SNppXI= github.com/armon/go-radix v1.0.0/go.mod h1:ufUuZ+zHj4x4TnLV4JWEpy2hxWSpsRywHrMgIH9cCH8= +github.com/armon/go-socks5 v0.0.0-20160902184237-e75332964ef5 h1:0CwZNZbxp69SHPdPJAN/hZIm0C4OItdklCFmMRWYpio= github.com/armon/go-socks5 v0.0.0-20160902184237-e75332964ef5/go.mod h1:wHh0iHkYZB8zMSxRWpUBQtwG5a7fFgvEO+odwuTv2gs= github.com/aslakhellesoy/gox v1.0.100/go.mod h1:AJl542QsKKG96COVsv0N74HHzVQgDIQPceVUh1aeU2M= github.com/aws/aws-sdk-go v1.15.78/go.mod h1:E3/ieXAlvM0XWO57iftYVDLLvQ824smPP3ATZkfNZeM= @@ -103,8 +106,11 @@ github.com/envoyproxy/protoc-gen-validate v0.1.0/go.mod h1:iSmxcyjqTsJpI2R4NaDN7 github.com/fatih/color v1.7.0/go.mod h1:Zm6kSWBoL9eyXnKyktHP6abPY2pDugNf5KwzbycvMj4= github.com/fatih/color v1.9.0 h1:8xPHl4/q1VyqGIPif1F+1V3Y3lSmrq01EabUW3CoW5s= github.com/fatih/color v1.9.0/go.mod h1:eQcE1qtQxscV5RaZvpXrrb8Drkc3/DdQ+uUYCNjL+zU= +github.com/flynn/go-shlex v0.0.0-20150515145356-3f9db97f8568 h1:BHsljHzVlRcyQhjrss6TZTdY2VfCqZPbv5k3iBFa2ZQ= github.com/flynn/go-shlex v0.0.0-20150515145356-3f9db97f8568/go.mod h1:xEzjJPgXI435gkrCt3MPfRiAkVrwSbHsst4LCFVfpJc= +github.com/gliderlabs/ssh v0.2.2 h1:6zsha5zo/TWhRhwqCD3+EarCAgZ2yN28ipRnGPnwkI0= github.com/gliderlabs/ssh v0.2.2/go.mod h1:U7qILu1NlMHj9FlMhZLlkCdDnU1DBEAqr0aevW3Awn0= +github.com/go-bdd/assert v0.0.0-20190820124234-20d47a68475d h1:zQazu3kApPoajWmXj9zFpCNE+UDefwwFRijKjzvHNCM= github.com/go-bdd/assert v0.0.0-20190820124234-20d47a68475d/go.mod h1:dOoqt7g2I/fpR7/Pyz0P19J3xjDj5lsHn3v9EaFLRjM= github.com/go-bdd/gobdd v1.1.3 h1:eirGvZ9gMz6clOo2k6O7+Ys3iHAaFZoRQXVwV76B3JI= github.com/go-bdd/gobdd v1.1.3/go.mod h1:Q3mXpW/Qm9GJCPLxFCTXdTtRBdHzcTfrbeLlaqAPtXM= @@ -112,6 +118,7 @@ github.com/go-git/gcfg v1.5.0 h1:Q5ViNfGF8zFgyJWPqYwA7qGFoMTEiBmdlkcfRmpIMa4= github.com/go-git/gcfg v1.5.0/go.mod h1:5m20vg6GwYabIxaOonVkTdrILxQMpEShl1xiMF4ua+E= github.com/go-git/go-billy/v5 v5.0.0 h1:7NQHvd9FVid8VL4qVUMm8XifBK+2xCoZ2lSk0agRrHM= github.com/go-git/go-billy/v5 v5.0.0/go.mod h1:pmpqyWchKfYfrkb/UVH4otLvyi/5gJlGI4Hb3ZqZ3W0= +github.com/go-git/go-git-fixtures/v4 v4.0.1 h1:q+IFMfLx200Q3scvt2hN79JsEzy4AmBTp/pqnefH+Bc= github.com/go-git/go-git-fixtures/v4 v4.0.1/go.mod h1:m+ICp2rF3jDhFgEZ/8yziagdT1C+ZpZcrJjappBCDSw= github.com/go-git/go-git/v5 v5.1.0 h1:HxJn9g/E7eYvKW3Fm7Jt4ee8LXfPOm/H1cdDu8vEssk= github.com/go-git/go-git/v5 v5.1.0/go.mod h1:ZKfuPUoY1ZqIG4QG9BDBh3G4gLM5zvPuSJAozQrZuyM= @@ -457,6 +464,7 @@ golang.org/x/net v0.0.0-20200506145744-7e3656a0809f/go.mod h1:qpuaurCH72eLCgpAm/ golang.org/x/net v0.0.0-20200513185701-a91f0712d120/go.mod h1:qpuaurCH72eLCgpAm/N6yyVIVM9cpaDIP3A8BGJEC5A= golang.org/x/net v0.0.0-20200520182314-0ba52f642ac2/go.mod h1:qpuaurCH72eLCgpAm/N6yyVIVM9cpaDIP3A8BGJEC5A= golang.org/x/net v0.0.0-20200625001655-4c5254603344/go.mod h1:/O7V0waA8r7cgGh81Ro3o1hOxt32SMVPicZroKQ2sZA= +golang.org/x/net v0.0.0-20200707034311-ab3426394381 h1:VXak5I6aEWmAXeQjA+QSZzlgNrpq9mjcfDemuexIKsU= golang.org/x/net v0.0.0-20200707034311-ab3426394381/go.mod h1:/O7V0waA8r7cgGh81Ro3o1hOxt32SMVPicZroKQ2sZA= golang.org/x/net v0.0.0-20210405180319-a5a99cb37ef4 h1:4nGaVu0QrbjT/AK2PRLuQfQuh6DJve+pELhqTdAj3x0= golang.org/x/net v0.0.0-20210405180319-a5a99cb37ef4/go.mod h1:p54w0d4576C0XHj96bSt6lcn1PtDYWL6XObtHCRCNQM= @@ -507,6 +515,7 @@ golang.org/x/sys v0.0.0-20200331124033-c3d80250170d/go.mod h1:h1NjWce9XRLGQEsW7w golang.org/x/sys v0.0.0-20200501052902-10377860bb8e/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20200511232937-7e40ca221e25/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20200515095857-1151b9dac4a9/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20200523222454-059865788121 h1:rITEj+UZHYC927n8GT97eC3zrpzXdb/voyeOuVKS46o= golang.org/x/sys v0.0.0-20200523222454-059865788121/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20201119102817-f84b799fce68/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20210330210617-4fbd30eecc44/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= From 3b1d57b1b94a9439b3940fbe934db4abd77f31f7 Mon Sep 17 00:00:00 2001 From: Qin Cheng Chen Date: Wed, 19 May 2021 12:13:29 -0400 Subject: [PATCH 08/22] make docs --- docs/resources/dashboard.md | 80 +++++++++++++++++++++++++++---------- 1 file changed, 60 insertions(+), 20 deletions(-) diff --git a/docs/resources/dashboard.md b/docs/resources/dashboard.md index 9c032c67c..4daa169c3 100644 --- a/docs/resources/dashboard.md +++ b/docs/resources/dashboard.md @@ -772,10 +772,12 @@ Optional: ### Nested Schema for `widget.change_definition.custom_link` -Required: +Optional: +- **is_hidden** (Boolean) The flag for toggling context menu link visibility - **label** (String) The label for the custom link URL. - **link** (String) The URL of the custom link. +- **override_label** (String) The label id that refers to a context menu link item @@ -1496,10 +1498,12 @@ Required: ### Nested Schema for `widget.geomap_definition.custom_link` -Required: +Optional: +- **is_hidden** (Boolean) The flag for toggling context menu link visibility - **label** (String) The label for the custom link URL. - **link** (String) The URL of the custom link. +- **override_label** (String) The label id that refers to a context menu link item @@ -1887,10 +1891,12 @@ Optional: ### Nested Schema for `widget.group_definition.widget.change_definition.custom_link` -Required: +Optional: +- **is_hidden** (Boolean) The flag for toggling context menu link visibility - **label** (String) The label for the custom link URL. - **link** (String) The URL of the custom link. +- **override_label** (String) The label id that refers to a context menu link item @@ -2611,10 +2617,12 @@ Required: ### Nested Schema for `widget.group_definition.widget.geomap_definition.custom_link` -Required: +Optional: +- **is_hidden** (Boolean) The flag for toggling context menu link visibility - **label** (String) The label for the custom link URL. - **link** (String) The URL of the custom link. +- **override_label** (String) The label id that refers to a context menu link item @@ -2921,10 +2929,12 @@ Optional: ### Nested Schema for `widget.group_definition.widget.heatmap_definition.custom_link` -Required: +Optional: +- **is_hidden** (Boolean) The flag for toggling context menu link visibility - **label** (String) The label for the custom link URL. - **link** (String) The URL of the custom link. +- **override_label** (String) The label id that refers to a context menu link item @@ -3276,10 +3286,12 @@ Optional: ### Nested Schema for `widget.group_definition.widget.hostmap_definition.custom_link` -Required: +Optional: +- **is_hidden** (Boolean) The flag for toggling context menu link visibility - **label** (String) The label for the custom link URL. - **link** (String) The URL of the custom link. +- **override_label** (String) The label id that refers to a context menu link item @@ -4006,10 +4018,12 @@ Optional: ### Nested Schema for `widget.group_definition.widget.query_table_definition.custom_link` -Required: +Optional: +- **is_hidden** (Boolean) The flag for toggling context menu link visibility - **label** (String) The label for the custom link URL. - **link** (String) The URL of the custom link. +- **override_label** (String) The label id that refers to a context menu link item @@ -4385,10 +4399,12 @@ Optional: ### Nested Schema for `widget.group_definition.widget.query_value_definition.custom_link` -Required: +Optional: +- **is_hidden** (Boolean) The flag for toggling context menu link visibility - **label** (String) The label for the custom link URL. - **link** (String) The URL of the custom link. +- **override_label** (String) The label id that refers to a context menu link item @@ -4857,10 +4873,12 @@ Optional: ### Nested Schema for `widget.group_definition.widget.scatterplot_definition.custom_link` -Required: +Optional: +- **is_hidden** (Boolean) The flag for toggling context menu link visibility - **label** (String) The label for the custom link URL. - **link** (String) The URL of the custom link. +- **override_label** (String) The label id that refers to a context menu link item @@ -5526,10 +5544,12 @@ Optional: ### Nested Schema for `widget.group_definition.widget.servicemap_definition.custom_link` -Required: +Optional: +- **is_hidden** (Boolean) The flag for toggling context menu link visibility - **label** (String) The label for the custom link URL. - **link** (String) The URL of the custom link. +- **override_label** (String) The label id that refers to a context menu link item @@ -5557,10 +5577,12 @@ Optional: ### Nested Schema for `widget.group_definition.widget.timeseries_definition.custom_link` -Required: +Optional: +- **is_hidden** (Boolean) The flag for toggling context menu link visibility - **label** (String) The label for the custom link URL. - **link** (String) The URL of the custom link. +- **override_label** (String) The label id that refers to a context menu link item @@ -6148,10 +6170,12 @@ Optional: ### Nested Schema for `widget.group_definition.widget.toplist_definition.custom_link` -Required: +Optional: +- **is_hidden** (Boolean) The flag for toggling context menu link visibility - **label** (String) The label for the custom link URL. - **link** (String) The URL of the custom link. +- **override_label** (String) The label id that refers to a context menu link item @@ -6672,10 +6696,12 @@ Optional: ### Nested Schema for `widget.heatmap_definition.custom_link` -Required: +Optional: +- **is_hidden** (Boolean) The flag for toggling context menu link visibility - **label** (String) The label for the custom link URL. - **link** (String) The URL of the custom link. +- **override_label** (String) The label id that refers to a context menu link item @@ -7027,10 +7053,12 @@ Optional: ### Nested Schema for `widget.hostmap_definition.custom_link` -Required: +Optional: +- **is_hidden** (Boolean) The flag for toggling context menu link visibility - **label** (String) The label for the custom link URL. - **link** (String) The URL of the custom link. +- **override_label** (String) The label id that refers to a context menu link item @@ -7757,10 +7785,12 @@ Optional: ### Nested Schema for `widget.query_table_definition.custom_link` -Required: +Optional: +- **is_hidden** (Boolean) The flag for toggling context menu link visibility - **label** (String) The label for the custom link URL. - **link** (String) The URL of the custom link. +- **override_label** (String) The label id that refers to a context menu link item @@ -8136,10 +8166,12 @@ Optional: ### Nested Schema for `widget.query_value_definition.custom_link` -Required: +Optional: +- **is_hidden** (Boolean) The flag for toggling context menu link visibility - **label** (String) The label for the custom link URL. - **link** (String) The URL of the custom link. +- **override_label** (String) The label id that refers to a context menu link item @@ -8608,10 +8640,12 @@ Optional: ### Nested Schema for `widget.scatterplot_definition.custom_link` -Required: +Optional: +- **is_hidden** (Boolean) The flag for toggling context menu link visibility - **label** (String) The label for the custom link URL. - **link** (String) The URL of the custom link. +- **override_label** (String) The label id that refers to a context menu link item @@ -9277,10 +9311,12 @@ Optional: ### Nested Schema for `widget.servicemap_definition.custom_link` -Required: +Optional: +- **is_hidden** (Boolean) The flag for toggling context menu link visibility - **label** (String) The label for the custom link URL. - **link** (String) The URL of the custom link. +- **override_label** (String) The label id that refers to a context menu link item @@ -9308,10 +9344,12 @@ Optional: ### Nested Schema for `widget.timeseries_definition.custom_link` -Required: +Optional: +- **is_hidden** (Boolean) The flag for toggling context menu link visibility - **label** (String) The label for the custom link URL. - **link** (String) The URL of the custom link. +- **override_label** (String) The label id that refers to a context menu link item @@ -9899,10 +9937,12 @@ Optional: ### Nested Schema for `widget.toplist_definition.custom_link` -Required: +Optional: +- **is_hidden** (Boolean) The flag for toggling context menu link visibility - **label** (String) The label for the custom link URL. - **link** (String) The URL of the custom link. +- **override_label** (String) The label id that refers to a context menu link item From 5353998d9505c60ca28fa11b54415000328073cf Mon Sep 17 00:00:00 2001 From: Qin Cheng Chen Date: Mon, 24 May 2021 10:42:58 -0400 Subject: [PATCH 09/22] add test --- .../TestAccDatadogDashboardAlertGraph.freeze | 2 +- ...ccDatadogDashboardAlertGraph_import.freeze | 2 +- .../TestAccDatadogDashboardAlertValue.freeze | 2 +- ...ccDatadogDashboardAlertValue_import.freeze | 2 +- .../TestAccDatadogDashboardChange.freeze | 2 +- .../TestAccDatadogDashboardChange.yaml | 189 ++++------------ ...estAccDatadogDashboardChange_import.freeze | 2 +- .../TestAccDatadogDashboardChange_import.yaml | 201 ++++------------ .../TestAccDatadogDashboardCheckStatus.freeze | 2 +- ...cDatadogDashboardCheckStatus_import.freeze | 2 +- .../TestAccDatadogDashboardDatasource.freeze | 2 +- ...TestAccDatadogDashboardDistribution.freeze | 2 +- ...DatadogDashboardDistribution_import.freeze | 2 +- .../TestAccDatadogDashboardEventStream.freeze | 2 +- ...cDatadogDashboardEventStream_import.freeze | 2 +- ...estAccDatadogDashboardEventTimeline.freeze | 2 +- ...atadogDashboardEventTimeline_import.freeze | 2 +- .../TestAccDatadogDashboardFormula.freeze | 2 +- ...stAccDatadogDashboardFormula_import.freeze | 2 +- .../TestAccDatadogDashboardFreeText.freeze | 2 +- ...tAccDatadogDashboardFreeText_import.freeze | 2 +- .../TestAccDatadogDashboardGeomap.freeze | 2 +- .../TestAccDatadogDashboardGeomap.yaml | 82 +++---- ...estAccDatadogDashboardGeomapFormula.freeze | 2 +- .../TestAccDatadogDashboardGeomapFormula.yaml | 82 +++---- ...atadogDashboardGeomapFormula_import.freeze | 2 +- ...cDatadogDashboardGeomapFormula_import.yaml | 94 ++++---- ...estAccDatadogDashboardGeomap_import.freeze | 2 +- .../TestAccDatadogDashboardGeomap_import.yaml | 94 ++++---- .../TestAccDatadogDashboardHeatMap.freeze | 2 +- .../TestAccDatadogDashboardHeatMap.yaml | 184 ++++----------- ...stAccDatadogDashboardHeatMap_import.freeze | 2 +- ...TestAccDatadogDashboardHeatMap_import.yaml | 195 ++++------------ .../TestAccDatadogDashboardHostMap.freeze | 2 +- .../TestAccDatadogDashboardHostMap.yaml | 164 ++++---------- ...stAccDatadogDashboardHostMap_import.freeze | 2 +- ...TestAccDatadogDashboardHostMap_import.yaml | 189 ++++------------ .../TestAccDatadogDashboardIFrame.freeze | 2 +- ...estAccDatadogDashboardIFrame_import.freeze | 2 +- .../TestAccDatadogDashboardImage.freeze | 2 +- ...TestAccDatadogDashboardImage_import.freeze | 2 +- ...atadogDashboardJSONBasicScreenboard.freeze | 2 +- ...cDatadogDashboardJSONBasicTimeboard.freeze | 2 +- .../TestAccDatadogDashboardJSONImport.freeze | 2 +- ...stAccDatadogDashboardLayoutForceNew.freeze | 2 +- ...stAccDatadogDashboardListDatasource.freeze | 2 +- .../TestAccDatadogDashboardLogStream.freeze | 2 +- ...tAccDatadogDashboardLogStreamLogSet.freeze | 2 +- ...adogDashboardLogStreamLogSet_import.freeze | 2 +- ...AccDatadogDashboardLogStream_import.freeze | 2 +- ...TestAccDatadogDashboardManageStatus.freeze | 2 +- ...DatadogDashboardManageStatus_import.freeze | 2 +- .../TestAccDatadogDashboardNote.freeze | 2 +- ...AccDatadogDashboardNoteContentError.freeze | 2 +- .../TestAccDatadogDashboardNote_import.freeze | 2 +- .../TestAccDatadogDashboardQueryTable.freeze | 2 +- .../TestAccDatadogDashboardQueryTable.yaml | 194 ++++------------ ...ccDatadogDashboardQueryTable_import.freeze | 2 +- ...tAccDatadogDashboardQueryTable_import.yaml | 201 ++++------------ .../TestAccDatadogDashboardQueryValue.freeze | 2 +- .../TestAccDatadogDashboardQueryValue.yaml | 164 ++++---------- ...ccDatadogDashboardQueryValueFormula.freeze | 2 +- ...tAccDatadogDashboardQueryValueFormula.yaml | 82 +++---- ...ogDashboardQueryValueFormula_import.freeze | 2 +- ...adogDashboardQueryValueFormula_import.yaml | 92 ++++---- ...ccDatadogDashboardQueryValue_import.freeze | 2 +- ...tAccDatadogDashboardQueryValue_import.yaml | 183 ++++----------- .../TestAccDatadogDashboardSLO.freeze | 2 +- .../TestAccDatadogDashboardSLO_import.freeze | 2 +- .../TestAccDatadogDashboardScatterplot.freeze | 2 +- .../TestAccDatadogDashboardScatterplot.yaml | 214 ++++-------------- ...cDatadogDashboardScatterplot_import.freeze | 2 +- ...AccDatadogDashboardScatterplot_import.yaml | 213 ++++------------- .../TestAccDatadogDashboardServiceMap.freeze | 2 +- .../TestAccDatadogDashboardServiceMap.yaml | 80 +++---- ...ccDatadogDashboardServiceMap_import.freeze | 2 +- ...tAccDatadogDashboardServiceMap_import.yaml | 94 ++++---- .../TestAccDatadogDashboardTimeseries.freeze | 2 +- ...adogDashboardTimeseriesMultiCompute.freeze | 2 +- ...atadogDashboardTimeseriesMultiCompute.yaml | 82 +++---- ...hboardTimeseriesMultiCompute_import.freeze | 2 +- ...ashboardTimeseriesMultiCompute_import.yaml | 94 ++++---- ...ccDatadogDashboardTimeseries_import.freeze | 2 +- .../TestAccDatadogDashboardTopList.freeze | 2 +- .../TestAccDatadogDashboardTopList.yaml | 82 +++---- ...stAccDatadogDashboardTopListFormula.freeze | 2 +- ...TestAccDatadogDashboardTopListFormula.yaml | 82 +++---- ...tadogDashboardTopListFormula_import.freeze | 2 +- ...DatadogDashboardTopListFormula_import.yaml | 94 ++++---- ...stAccDatadogDashboardTopList_import.freeze | 2 +- ...TestAccDatadogDashboardTopList_import.yaml | 94 ++++---- ...TestAccDatadogDashboardTraceService.freeze | 2 +- ...DatadogDashboardTraceService_import.freeze | 2 +- .../TestAccDatadogDashboard_import.freeze | 2 +- .../TestAccDatadogDashboard_update.freeze | 2 +- .../TestAccDatadogDowntimeDates.freeze | 2 +- ...TestAccDatadogDowntimeDatesConflict.freeze | 2 +- .../TestAccDatadogDowntime_Basic.freeze | 2 +- ...tAccDatadogDowntime_BasicMultiScope.freeze | 2 +- ...ccDatadogDowntime_BasicNoRecurrence.freeze | 2 +- ...ogDowntime_BasicUntilDateRecurrence.freeze | 2 +- ...ime_BasicUntilOccurrencesRecurrence.freeze | 2 +- ...AccDatadogDowntime_BasicWithMonitor.freeze | 2 +- ...atadogDowntime_BasicWithMonitorTags.freeze | 2 +- .../TestAccDatadogDowntime_DiffStart.freeze | 2 +- .../TestAccDatadogDowntime_RRule.freeze | 2 +- ...stAccDatadogDowntime_TrimWhitespace.freeze | 2 +- .../TestAccDatadogDowntime_Updated.freeze | 2 +- ...AccDatadogDowntime_WeekDayRecurring.freeze | 2 +- .../TestAccDatadogFreeDashboard.freeze | 2 +- .../TestAccDatadogIntegrationAWS.freeze | 2 +- ...stAccDatadogIntegrationAWSLambdaArn.freeze | 2 +- ...cDatadogIntegrationAWSLogCollection.freeze | 2 +- ...atadogIntegrationAwsTagFilter_Basic.freeze | 2 +- .../TestAccDatadogIntegrationAzure.freeze | 2 +- .../TestAccDatadogIntegrationGCP.freeze | 2 +- ...grationPagerdutyServiceObject_Basic.freeze | 2 +- ...ccDatadogIntegrationPagerduty_Basic.freeze | 2 +- ...ionPagerduty_Migrate2ServiceObjects.freeze | 2 +- ...dogIntegrationPagerduty_TwoServices.freeze | 2 +- ...atadogIntegrationSlackChannel_Basic.freeze | 2 +- ...tadogIntegrationSlackChannel_Import.freeze | 2 +- ...cDatadogIpRangesDatasource_existing.freeze | 2 +- ...estAccDatadogLogsArchiveAzure_basic.freeze | 2 +- ...dogLogsArchiveAzure_basicDeprecated.freeze | 2 +- .../TestAccDatadogLogsArchiveGCS_basic.freeze | 2 +- ...tadogLogsArchiveGCS_basicDeprecated.freeze | 2 +- ...estAccDatadogLogsArchiveOrder_basic.freeze | 2 +- ...estAccDatadogLogsArchiveOrder_empty.freeze | 2 +- ...AccDatadogLogsArchiveS3Update_basic.freeze | 2 +- .../TestAccDatadogLogsArchiveS3_basic.freeze | 2 +- ...atadogLogsArchiveS3_basicDeprecated.freeze | 2 +- .../TestAccDatadogLogsMetric_Basic.freeze | 2 +- .../TestAccDatadogLogsMetric_import.freeze | 2 +- ...DatadogLogsPipelineEmptyFilterQuery.freeze | 2 +- .../TestAccDatadogLogsPipeline_basic.freeze | 2 +- .../TestAccDatadogMetricMetadata_Basic.freeze | 2 +- ...estAccDatadogMetricMetadata_Updated.freeze | 2 +- ...DatadogMetricTagConfiguration_Error.freeze | 2 +- .../TestAccDatadogMonitorDatasource.freeze | 2 +- ...AccDatadogMonitorServiceCheck_Basic.freeze | 2 +- .../TestAccDatadogMonitor_Basic.freeze | 2 +- ...stAccDatadogMonitor_BasicNoTreshold.freeze | 2 +- ...stAccDatadogMonitor_Basic_float_int.freeze | 2 +- ...ogMonitor_ComposeWithSyntheticsTest.freeze | 2 +- .../TestAccDatadogMonitor_Log.freeze | 2 +- ...ccDatadogMonitor_NoThresholdWindows.freeze | 2 +- ...stAccDatadogMonitor_RestrictedRoles.freeze | 2 +- ...DatadogMonitor_SilencedUpdateNoDiff.freeze | 2 +- ...tAccDatadogMonitor_ThresholdWindows.freeze | 2 +- ...estAccDatadogMonitor_TrimWhitespace.freeze | 2 +- .../TestAccDatadogMonitor_Updated.freeze | 2 +- ...cDatadogMonitor_UpdatedToRemoveTags.freeze | 2 +- .../TestAccDatadogMonitor_ZeroDelay.freeze | 2 +- .../TestAccDatadogMonitorsDatasource.freeze | 2 +- ...TestAccDatadogPermissionsDatasource.freeze | 2 +- .../TestAccDatadogRoleDatasource.freeze | 2 +- .../TestAccDatadogRoleDatasourceError.freeze | 2 +- ...tAccDatadogRoleDatasourceExactMatch.freeze | 2 +- .../TestAccDatadogRole_CreateUpdate.freeze | 2 +- .../TestAccDatadogRole_InvalidPerm.freeze | 2 +- .../TestAccDatadogScreenboard_update.freeze | 2 +- ...SecurityMonitoringDefaultRule_Basic.freeze | 2 +- ...dogSecurityMonitoringRuleDatasource.freeze | 2 +- ...DatadogSecurityMonitoringRule_Basic.freeze | 2 +- ...atadogSecurityMonitoringRule_Import.freeze | 2 +- ...tyMonitoringRule_OnlyRequiredFields.freeze | 2 +- ...adogServiceLevelObjectiveDatasource.freeze | 2 +- ...cDatadogServiceLevelObjective_Basic.freeze | 2 +- ...erviceLevelObjective_InvalidMonitor.freeze | 2 +- ...dogServiceLevelObjectivesDatasource.freeze | 2 +- .../TestAccDatadogSloCorrection_Basic.freeze | 2 +- ...TestAccDatadogSloCorrection_Updated.freeze | 2 +- ...stAccDatadogSyntheticsAPITest_Basic.freeze | 2 +- ...ogSyntheticsAPITest_BasicDeprecated.freeze | 2 +- ...csAPITest_BasicNewAssertionsOptions.freeze | 2 +- ...AccDatadogSyntheticsAPITest_Updated.freeze | 2 +- ...SyntheticsAPITest_UpdatedDeprecated.freeze | 2 +- ...APITest_UpdatedNewAssertionsOptions.freeze | 2 +- ...atadogSyntheticsAPITest_importBasic.freeze | 2 +- ...wserTestBrowserNewBrowserStep_Basic.freeze | 2 +- ...csBrowserTestBrowserVariables_Basic.freeze | 2 +- ...cDatadogSyntheticsBrowserTest_Basic.freeze | 2 +- ...atadogSyntheticsBrowserTest_Updated.freeze | 2 +- ...ogSyntheticsBrowserTest_importBasic.freeze | 2 +- ...stAccDatadogSyntheticsDNSTest_Basic.freeze | 2 +- ...AccDatadogSyntheticsDNSTest_Updated.freeze | 2 +- ...atadogSyntheticsDNSTest_importBasic.freeze | 2 +- ...theticsGlobalVariableFromTest_Basic.freeze | 2 +- ...yntheticsGlobalVariableSecure_Basic.freeze | 2 +- ...theticsGlobalVariableSecure_Updated.freeze | 2 +- ...tadogSyntheticsGlobalVariable_Basic.freeze | 2 +- ...dogSyntheticsGlobalVariable_Updated.freeze | 2 +- ...yntheticsGlobalVariable_importBasic.freeze | 2 +- ...tAccDatadogSyntheticsICMPTest_Basic.freeze | 2 +- ...adogSyntheticsPrivateLocation_Basic.freeze | 2 +- ...ogSyntheticsPrivateLocation_Updated.freeze | 2 +- ...ntheticsPrivateLocation_importBasic.freeze | 2 +- ...csSSLMissingTagsAttributeTest_Basic.freeze | 2 +- ...stAccDatadogSyntheticsSSLTest_Basic.freeze | 2 +- ...AccDatadogSyntheticsSSLTest_Updated.freeze | 2 +- ...atadogSyntheticsSSLTest_importBasic.freeze | 2 +- ...stAccDatadogSyntheticsTCPTest_Basic.freeze | 2 +- ...AccDatadogSyntheticsTCPTest_Updated.freeze | 2 +- ...atadogSyntheticsTCPTest_importBasic.freeze | 2 +- ...tadogSyntheticsTestBrowserMML_Basic.freeze | 2 +- ...dogSyntheticsTestMultistepApi_Basic.freeze | 2 +- .../TestAccDatadogTimeboard_update.freeze | 2 +- .../TestAccDatadogUser_Existing.freeze | 2 +- .../TestAccDatadogUser_Invitation.freeze | 2 +- .../TestAccDatadogUser_NoInvitation.freeze | 2 +- .../TestAccDatadogUser_RoleDatasource.freeze | 2 +- .../TestAccDatadogUser_UpdateRole.freeze | 2 +- .../TestAccDatadogUser_Updated.freeze | 2 +- ...cDatatogSyntheticsLocation_existing.freeze | 2 +- ...stAccLogsCustomPipeline_importBasic.freeze | 2 +- .../TestDatadogDashListImport.freeze | 2 +- .../TestDatadogDashListInDashboard.freeze | 2 +- .../TestDatadogDowntime_import.freeze | 2 +- ...tDatadogIntegrationPagerduty_import.freeze | 2 +- .../TestDatadogMonitor_import.freeze | 2 +- ...atadogMonitor_importNoDataTimeFrame.freeze | 2 +- ...stDatadogMonitor_import_no_recovery.freeze | 2 +- .../cassettes/TestDatadogUser_import.freeze | 2 +- datadog/tests/cassettes/TestProvider.freeze | 2 +- .../resource_datadog_dashboard_change_test.go | 10 +- .../resource_datadog_dashboard_geomap_test.go | 10 +- ...resource_datadog_dashboard_heatmap_test.go | 10 +- ...resource_datadog_dashboard_hostmap_test.go | 10 +- ...urce_datadog_dashboard_query_table_test.go | 10 +- ...urce_datadog_dashboard_query_value_test.go | 10 +- ...urce_datadog_dashboard_scatterplot_test.go | 10 +- ...urce_datadog_dashboard_service_map_test.go | 10 +- ...ource_datadog_dashboard_timeseries_test.go | 10 +- ...esource_datadog_dashboard_top_list_test.go | 10 +- 235 files changed, 1431 insertions(+), 2586 deletions(-) diff --git a/datadog/tests/cassettes/TestAccDatadogDashboardAlertGraph.freeze b/datadog/tests/cassettes/TestAccDatadogDashboardAlertGraph.freeze index 6e130c250..a3e4ffe93 100644 --- a/datadog/tests/cassettes/TestAccDatadogDashboardAlertGraph.freeze +++ b/datadog/tests/cassettes/TestAccDatadogDashboardAlertGraph.freeze @@ -1 +1 @@ -2021-01-28T17:18:24.91386+01:00 \ No newline at end of file +2021-05-24T10:37:36.508601-04:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogDashboardAlertGraph_import.freeze b/datadog/tests/cassettes/TestAccDatadogDashboardAlertGraph_import.freeze index 424253059..b92682839 100644 --- a/datadog/tests/cassettes/TestAccDatadogDashboardAlertGraph_import.freeze +++ b/datadog/tests/cassettes/TestAccDatadogDashboardAlertGraph_import.freeze @@ -1 +1 @@ -2020-12-31T15:42:08.091095+01:00 \ No newline at end of file +2021-05-24T10:37:36.502284-04:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogDashboardAlertValue.freeze b/datadog/tests/cassettes/TestAccDatadogDashboardAlertValue.freeze index 2083ccfa6..ffa86adc0 100644 --- a/datadog/tests/cassettes/TestAccDatadogDashboardAlertValue.freeze +++ b/datadog/tests/cassettes/TestAccDatadogDashboardAlertValue.freeze @@ -1 +1 @@ -2021-01-28T17:18:24.927493+01:00 \ No newline at end of file +2021-05-24T10:37:36.501919-04:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogDashboardAlertValue_import.freeze b/datadog/tests/cassettes/TestAccDatadogDashboardAlertValue_import.freeze index 265acfde4..ec8c28075 100644 --- a/datadog/tests/cassettes/TestAccDatadogDashboardAlertValue_import.freeze +++ b/datadog/tests/cassettes/TestAccDatadogDashboardAlertValue_import.freeze @@ -1 +1 @@ -2020-12-31T15:42:08.096666+01:00 \ No newline at end of file +2021-05-24T10:37:36.407806-04:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogDashboardChange.freeze b/datadog/tests/cassettes/TestAccDatadogDashboardChange.freeze index c90806e91..751753736 100644 --- a/datadog/tests/cassettes/TestAccDatadogDashboardChange.freeze +++ b/datadog/tests/cassettes/TestAccDatadogDashboardChange.freeze @@ -1 +1 @@ -2021-01-28T17:18:24.942622+01:00 \ No newline at end of file +2021-05-24T10:37:36.43577-04:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogDashboardChange.yaml b/datadog/tests/cassettes/TestAccDatadogDashboardChange.yaml index 02da189ce..bc2f79607 100644 --- a/datadog/tests/cassettes/TestAccDatadogDashboardChange.yaml +++ b/datadog/tests/cassettes/TestAccDatadogDashboardChange.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-TestAccDatadogDashboardChange-local-1611850704","widgets":[{"definition":{"requests":[{"increase_good":false,"q":"sum:system.cpu.user{*} by {service,account}","show_present":false}],"type":"change"}},{"definition":{"custom_links":[{"label":"Test Custom Link label","link":"https://app.datadoghq.com/dashboard/lists"}],"requests":[{"change_type":"absolute","compare_to":"day_before","increase_good":false,"order_by":"change","order_dir":"desc","q":"sum:system.cpu.user{*} by {service,account}","show_present":true}],"time":{"live_span":"1h"},"title":"Sum of system.cpu.user over * by service,account","title_align":"left","title_size":"16","type":"change"}},{"definition":{"custom_links":[{"label":"Test Custom Link label","link":"https://app.datadoghq.com/dashboard/lists"}],"requests":[{"change_type":"absolute","compare_to":"day_before","increase_good":false,"order_by":"change","order_dir":"desc","q":"sum:system.cpu.user{*} by {service,account}","show_present":true}],"time":{"live_span":"1h"},"title":"Sum of system.cpu.user over * by service,account","title_align":"left","title_size":"16","type":"change"}}]} + {"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-TestAccDatadogDashboardChange-local-1621865327","widgets":[{"definition":{"requests":[{"increase_good":false,"q":"sum:system.cpu.user{*} by {service,account}","show_present":false}],"type":"change"}},{"definition":{"custom_links":[{"label":"Test Custom Link label","link":"https://app.datadoghq.com/dashboard/lists"},{"is_hidden":true,"link":"https://app.datadoghq.com/dashboard/lists","override_label":"logs"}],"requests":[{"change_type":"absolute","compare_to":"day_before","increase_good":false,"order_by":"change","order_dir":"desc","q":"sum:system.cpu.user{*} by {service,account}","show_present":true}],"time":{"live_span":"1h"},"title":"Sum of system.cpu.user over * by service,account","title_align":"left","title_size":"16","type":"change"}},{"definition":{"custom_links":[{"label":"Test Custom Link label","link":"https://app.datadoghq.com/dashboard/lists"}],"requests":[{"change_type":"absolute","compare_to":"day_before","increase_good":false,"order_by":"change","order_dir":"desc","q":"sum:system.cpu.user{*} by {service,account}","show_present":true}],"time":{"live_span":"1h"},"title":"Sum of system.cpu.user over * by service,account","title_align":"left","title_size":"16","type":"change"}}]} form: {} headers: Accept: @@ -13,26 +13,11 @@ interactions: Dd-Operation-Id: - CreateDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 1.15.0; terraform-cli 0.12.7-sdk) - datadog-api-client-go/1.0.0-beta.14 (go go1.15.4; os darwin; arch amd64) - X-Datadog-Parent-Id: - - "3315534880340101607" - X-Datadog-Sampling-Priority: - - "1" - X-Datadog-Trace-Id: - - "5843149382491789292" + - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) 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":"uuw-3pg-534","title":"tf-TestAccDatadogDashboardChange-local-1611850704","url":"/dashboard/uuw-3pg-534/tf-testaccdatadogdashboardchange-local-1611850704","created_at":"2021-01-28T16:43:57.046067+00:00","modified_at":"2021-01-28T16:43:57.046067+00:00","author_handle":"frog@datadoghq.com","widgets":[{"definition":{"requests":[{"q":"sum:system.cpu.user{*} - by {service,account}","show_present":false,"increase_good":false}],"type":"change"},"id":3110332253128132},{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test - Custom Link label"}],"title_size":"16","title":"Sum of system.cpu.user over - * by service,account","title_align":"left","time":{"live_span":"1h"},"requests":[{"change_type":"absolute","order_dir":"desc","compare_to":"day_before","q":"sum:system.cpu.user{*} - by {service,account}","show_present":true,"increase_good":false,"order_by":"change"}],"type":"change"},"id":2019754692625709},{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test - Custom Link label"}],"title_size":"16","title":"Sum of system.cpu.user over - * by service,account","title_align":"left","time":{"live_span":"1h"},"requests":[{"change_type":"absolute","order_dir":"desc","compare_to":"day_before","q":"sum:system.cpu.user{*} - by {service,account}","show_present":true,"increase_good":false,"order_by":"change"}],"type":"change"},"id":3404570797187644}],"layout_type":"ordered"}' + body: '{"notify_list":[],"description":"Created using the Datadog provider in Terraform","restricted_roles":["043a2842-e140-11e8-bb04-7fd10177666e","08604de8-1dca-11eb-800c-9f5f55ff734d","1302282c-b93b-11eb-a436-da7ad0900002","16169788-28e4-11eb-832c-fb84162ef3eb","17d73994-7531-11eb-94b9-da7ad0900002","284d8b66-93f9-11eb-9c37-da7ad0900002","4de53192-9946-11eb-9cee-da7ad0900002","62cbc476-5c16-11eb-8e98-0388ea7a41f8","657de3a2-29f8-11eb-83b5-6b8ebfb2f184","6bf314be-5c16-11eb-8e98-2356ea436065","7a83f306-96ca-11eb-9c74-da7ad0900002","9b3ab170-b768-11eb-a45a-da7ad0900002","e82bf27a-986c-11eb-9cba-da7ad0900002","f257ba30-dbb2-11ea-a5ff-5fd1d308318a"],"author_name":"Qin Chen","template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"57r-5zz-jqw","title":"tf-TestAccDatadogDashboardChange-local-1621865327","url":"/dashboard/57r-5zz-jqw/tf-testaccdatadogdashboardchange-local-1621865327","created_at":"2021-05-24T14:08:48.616136+00:00","modified_at":"2021-05-24T14:08:48.616136+00:00","author_handle":"qin.chen@datadoghq.com","widgets":[{"definition":{"requests":[{"q":"sum:system.cpu.user{*} by {service,account}","show_present":false,"increase_good":false}],"type":"change"},"id":5933131819232183},{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test Custom Link label"},{"override_label":"logs","is_hidden":true,"link":"https://app.datadoghq.com/dashboard/lists"}],"title_size":"16","title":"Sum of system.cpu.user over * by service,account","title_align":"left","time":{"live_span":"1h"},"requests":[{"change_type":"absolute","order_dir":"desc","compare_to":"day_before","q":"sum:system.cpu.user{*} by {service,account}","show_present":true,"increase_good":false,"order_by":"change"}],"type":"change"},"id":5081916014344885},{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test Custom Link label"}],"title_size":"16","title":"Sum of system.cpu.user over * by service,account","title_align":"left","time":{"live_span":"1h"},"requests":[{"change_type":"absolute","order_dir":"desc","compare_to":"day_before","q":"sum:system.cpu.user{*} by {service,account}","show_present":true,"increase_good":false,"order_by":"change"}],"type":"change"},"id":2636154791238909}],"layout_type":"ordered"}' headers: Cache-Control: - no-cache @@ -43,12 +28,9 @@ interactions: Content-Type: - application/json Date: - - Thu, 28 Jan 2021 16:44:00 GMT + - Mon, 24 May 2021 14:08:48 GMT Pragma: - no-cache - Set-Cookie: - - DD-PSHARD=233; Max-Age=604800; Path=/; expires=Thu, 04-Feb-2021 16:43:56 GMT; - secure; HttpOnly Strict-Transport-Security: - max-age=15724800; Vary: @@ -56,9 +38,9 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Debug: - - nLnnBNvlCFDECRnZvzDb0z4sAO35G+IMidcAs8vrCKyjvsKWE8Yd9S3n6OjZ1qRN + - Um4CoU685QqAscnxhS5BD+goWu2yX1Jd4zCfGzSsEvPPIm1qURZaF8dlLl/OEY4I X-Dd-Version: - - "35.3796727" + - "35.4593741" X-Frame-Options: - SAMEORIGIN status: 200 OK @@ -73,26 +55,11 @@ interactions: Dd-Operation-Id: - GetDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 1.15.0; terraform-cli 0.12.7-sdk) - datadog-api-client-go/1.0.0-beta.14 (go go1.15.4; os darwin; arch amd64) - X-Datadog-Parent-Id: - - "7666263833395106958" - X-Datadog-Sampling-Priority: - - "1" - X-Datadog-Trace-Id: - - "5843149382491789292" - url: https://api.datadoghq.com/api/v1/dashboard/uuw-3pg-534 + - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) + url: https://api.datadoghq.com/api/v1/dashboard/57r-5zz-jqw 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":"uuw-3pg-534","title":"tf-TestAccDatadogDashboardChange-local-1611850704","url":"/dashboard/uuw-3pg-534/tf-testaccdatadogdashboardchange-local-1611850704","created_at":"2021-01-28T16:43:57.046067+00:00","modified_at":"2021-01-28T16:43:57.046067+00:00","author_handle":"frog@datadoghq.com","widgets":[{"definition":{"requests":[{"q":"sum:system.cpu.user{*} - by {service,account}","show_present":false,"increase_good":false}],"type":"change"},"id":3110332253128132},{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test - Custom Link label"}],"title_size":"16","title":"Sum of system.cpu.user over - * by service,account","title_align":"left","time":{"live_span":"1h"},"requests":[{"change_type":"absolute","order_dir":"desc","compare_to":"day_before","q":"sum:system.cpu.user{*} - by {service,account}","show_present":true,"increase_good":false,"order_by":"change"}],"type":"change"},"id":2019754692625709},{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test - Custom Link label"}],"title_size":"16","title":"Sum of system.cpu.user over - * by service,account","title_align":"left","time":{"live_span":"1h"},"requests":[{"change_type":"absolute","order_dir":"desc","compare_to":"day_before","q":"sum:system.cpu.user{*} - by {service,account}","show_present":true,"increase_good":false,"order_by":"change"}],"type":"change"},"id":3404570797187644}],"layout_type":"ordered"}' + body: '{"notify_list":[],"description":"Created using the Datadog provider in Terraform","restricted_roles":["284d8b66-93f9-11eb-9c37-da7ad0900002","043a2842-e140-11e8-bb04-7fd10177666e","657de3a2-29f8-11eb-83b5-6b8ebfb2f184","e82bf27a-986c-11eb-9cba-da7ad0900002","f257ba30-dbb2-11ea-a5ff-5fd1d308318a","6bf314be-5c16-11eb-8e98-2356ea436065","62cbc476-5c16-11eb-8e98-0388ea7a41f8","08604de8-1dca-11eb-800c-9f5f55ff734d","9b3ab170-b768-11eb-a45a-da7ad0900002","7a83f306-96ca-11eb-9c74-da7ad0900002","16169788-28e4-11eb-832c-fb84162ef3eb","4de53192-9946-11eb-9cee-da7ad0900002","1302282c-b93b-11eb-a436-da7ad0900002","17d73994-7531-11eb-94b9-da7ad0900002"],"author_name":"Qin Chen","template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"57r-5zz-jqw","title":"tf-TestAccDatadogDashboardChange-local-1621865327","url":"/dashboard/57r-5zz-jqw/tf-testaccdatadogdashboardchange-local-1621865327","created_at":"2021-05-24T14:08:48.616136+00:00","modified_at":"2021-05-24T14:08:48.616136+00:00","author_handle":"qin.chen@datadoghq.com","widgets":[{"definition":{"requests":[{"q":"sum:system.cpu.user{*} by {service,account}","show_present":false,"increase_good":false}],"type":"change"},"id":5933131819232183},{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test Custom Link label"},{"override_label":"logs","is_hidden":true,"link":"https://app.datadoghq.com/dashboard/lists"}],"title_size":"16","title":"Sum of system.cpu.user over * by service,account","title_align":"left","time":{"live_span":"1h"},"requests":[{"change_type":"absolute","order_dir":"desc","compare_to":"day_before","q":"sum:system.cpu.user{*} by {service,account}","show_present":true,"increase_good":false,"order_by":"change"}],"type":"change"},"id":5081916014344885},{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test Custom Link label"}],"title_size":"16","title":"Sum of system.cpu.user over * by service,account","title_align":"left","time":{"live_span":"1h"},"requests":[{"change_type":"absolute","order_dir":"desc","compare_to":"day_before","q":"sum:system.cpu.user{*} by {service,account}","show_present":true,"increase_good":false,"order_by":"change"}],"type":"change"},"id":2636154791238909}],"layout_type":"ordered"}' headers: Cache-Control: - no-cache @@ -103,12 +70,9 @@ interactions: Content-Type: - application/json Date: - - Thu, 28 Jan 2021 16:44:00 GMT + - Mon, 24 May 2021 14:08:48 GMT Pragma: - no-cache - Set-Cookie: - - DD-PSHARD=233; Max-Age=604800; Path=/; expires=Thu, 04-Feb-2021 16:44:00 GMT; - secure; HttpOnly Strict-Transport-Security: - max-age=15724800; Vary: @@ -116,9 +80,9 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Debug: - - F5gm0Rce1/Abr9/0Fw8HAqWfiz0FdiH8er/AXnN6lOn3L6KyGgbsLCwgPlob1No8 + - l4HFlaRP3QwYSqoGKhzbYfv7zgkK63HIRR7YkyVYZspq0lGjjTBwoK8V/alf+XYt X-Dd-Version: - - "35.3796727" + - "35.4593741" X-Frame-Options: - SAMEORIGIN status: 200 OK @@ -133,26 +97,11 @@ interactions: Dd-Operation-Id: - GetDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 1.15.0; terraform-cli 0.12.7-sdk) - datadog-api-client-go/1.0.0-beta.14 (go go1.15.4; os darwin; arch amd64) - X-Datadog-Parent-Id: - - "4860992487830051307" - X-Datadog-Sampling-Priority: - - "1" - X-Datadog-Trace-Id: - - "5843149382491789292" - url: https://api.datadoghq.com/api/v1/dashboard/uuw-3pg-534 + - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) + url: https://api.datadoghq.com/api/v1/dashboard/57r-5zz-jqw 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":"uuw-3pg-534","title":"tf-TestAccDatadogDashboardChange-local-1611850704","url":"/dashboard/uuw-3pg-534/tf-testaccdatadogdashboardchange-local-1611850704","created_at":"2021-01-28T16:43:57.046067+00:00","modified_at":"2021-01-28T16:43:57.046067+00:00","author_handle":"frog@datadoghq.com","widgets":[{"definition":{"requests":[{"q":"sum:system.cpu.user{*} - by {service,account}","show_present":false,"increase_good":false}],"type":"change"},"id":3110332253128132},{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test - Custom Link label"}],"title_size":"16","title":"Sum of system.cpu.user over - * by service,account","title_align":"left","time":{"live_span":"1h"},"requests":[{"change_type":"absolute","order_dir":"desc","compare_to":"day_before","q":"sum:system.cpu.user{*} - by {service,account}","show_present":true,"increase_good":false,"order_by":"change"}],"type":"change"},"id":2019754692625709},{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test - Custom Link label"}],"title_size":"16","title":"Sum of system.cpu.user over - * by service,account","title_align":"left","time":{"live_span":"1h"},"requests":[{"change_type":"absolute","order_dir":"desc","compare_to":"day_before","q":"sum:system.cpu.user{*} - by {service,account}","show_present":true,"increase_good":false,"order_by":"change"}],"type":"change"},"id":3404570797187644}],"layout_type":"ordered"}' + body: '{"notify_list":[],"description":"Created using the Datadog provider in Terraform","restricted_roles":["284d8b66-93f9-11eb-9c37-da7ad0900002","043a2842-e140-11e8-bb04-7fd10177666e","657de3a2-29f8-11eb-83b5-6b8ebfb2f184","e82bf27a-986c-11eb-9cba-da7ad0900002","f257ba30-dbb2-11ea-a5ff-5fd1d308318a","6bf314be-5c16-11eb-8e98-2356ea436065","62cbc476-5c16-11eb-8e98-0388ea7a41f8","08604de8-1dca-11eb-800c-9f5f55ff734d","9b3ab170-b768-11eb-a45a-da7ad0900002","7a83f306-96ca-11eb-9c74-da7ad0900002","16169788-28e4-11eb-832c-fb84162ef3eb","4de53192-9946-11eb-9cee-da7ad0900002","1302282c-b93b-11eb-a436-da7ad0900002","17d73994-7531-11eb-94b9-da7ad0900002"],"author_name":"Qin Chen","template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"57r-5zz-jqw","title":"tf-TestAccDatadogDashboardChange-local-1621865327","url":"/dashboard/57r-5zz-jqw/tf-testaccdatadogdashboardchange-local-1621865327","created_at":"2021-05-24T14:08:48.616136+00:00","modified_at":"2021-05-24T14:08:48.616136+00:00","author_handle":"qin.chen@datadoghq.com","widgets":[{"definition":{"requests":[{"q":"sum:system.cpu.user{*} by {service,account}","show_present":false,"increase_good":false}],"type":"change"},"id":5933131819232183},{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test Custom Link label"},{"override_label":"logs","is_hidden":true,"link":"https://app.datadoghq.com/dashboard/lists"}],"title_size":"16","title":"Sum of system.cpu.user over * by service,account","title_align":"left","time":{"live_span":"1h"},"requests":[{"change_type":"absolute","order_dir":"desc","compare_to":"day_before","q":"sum:system.cpu.user{*} by {service,account}","show_present":true,"increase_good":false,"order_by":"change"}],"type":"change"},"id":5081916014344885},{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test Custom Link label"}],"title_size":"16","title":"Sum of system.cpu.user over * by service,account","title_align":"left","time":{"live_span":"1h"},"requests":[{"change_type":"absolute","order_dir":"desc","compare_to":"day_before","q":"sum:system.cpu.user{*} by {service,account}","show_present":true,"increase_good":false,"order_by":"change"}],"type":"change"},"id":2636154791238909}],"layout_type":"ordered"}' headers: Cache-Control: - no-cache @@ -163,12 +112,9 @@ interactions: Content-Type: - application/json Date: - - Thu, 28 Jan 2021 16:44:05 GMT + - Mon, 24 May 2021 14:08:48 GMT Pragma: - no-cache - Set-Cookie: - - DD-PSHARD=233; Max-Age=604800; Path=/; expires=Thu, 04-Feb-2021 16:44:05 GMT; - secure; HttpOnly Strict-Transport-Security: - max-age=15724800; Vary: @@ -176,9 +122,9 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Debug: - - Um4CoU685QqAscnxhS5BD+goWu2yX1Jd4zCfGzSsEvPPIm1qURZaF8dlLl/OEY4I + - Wjq53IVIwnB4SiR238oOYgHFMq/ZYP0LQ/Dv8C2fFLBwTje/dWJHu6pI6vIOK1zG X-Dd-Version: - - "35.3796727" + - "35.4593741" X-Frame-Options: - SAMEORIGIN status: 200 OK @@ -193,26 +139,11 @@ interactions: Dd-Operation-Id: - GetDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 1.15.0; terraform-cli 0.12.7-sdk) - datadog-api-client-go/1.0.0-beta.14 (go go1.15.4; os darwin; arch amd64) - X-Datadog-Parent-Id: - - "3065467534916572459" - X-Datadog-Sampling-Priority: - - "1" - X-Datadog-Trace-Id: - - "5843149382491789292" - url: https://api.datadoghq.com/api/v1/dashboard/uuw-3pg-534 + - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) + url: https://api.datadoghq.com/api/v1/dashboard/57r-5zz-jqw 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":"uuw-3pg-534","title":"tf-TestAccDatadogDashboardChange-local-1611850704","url":"/dashboard/uuw-3pg-534/tf-testaccdatadogdashboardchange-local-1611850704","created_at":"2021-01-28T16:43:57.046067+00:00","modified_at":"2021-01-28T16:43:57.046067+00:00","author_handle":"frog@datadoghq.com","widgets":[{"definition":{"requests":[{"q":"sum:system.cpu.user{*} - by {service,account}","show_present":false,"increase_good":false}],"type":"change"},"id":3110332253128132},{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test - Custom Link label"}],"title_size":"16","title":"Sum of system.cpu.user over - * by service,account","title_align":"left","time":{"live_span":"1h"},"requests":[{"change_type":"absolute","order_dir":"desc","compare_to":"day_before","q":"sum:system.cpu.user{*} - by {service,account}","show_present":true,"increase_good":false,"order_by":"change"}],"type":"change"},"id":2019754692625709},{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test - Custom Link label"}],"title_size":"16","title":"Sum of system.cpu.user over - * by service,account","title_align":"left","time":{"live_span":"1h"},"requests":[{"change_type":"absolute","order_dir":"desc","compare_to":"day_before","q":"sum:system.cpu.user{*} - by {service,account}","show_present":true,"increase_good":false,"order_by":"change"}],"type":"change"},"id":3404570797187644}],"layout_type":"ordered"}' + body: '{"notify_list":[],"description":"Created using the Datadog provider in Terraform","restricted_roles":["284d8b66-93f9-11eb-9c37-da7ad0900002","043a2842-e140-11e8-bb04-7fd10177666e","657de3a2-29f8-11eb-83b5-6b8ebfb2f184","e82bf27a-986c-11eb-9cba-da7ad0900002","f257ba30-dbb2-11ea-a5ff-5fd1d308318a","6bf314be-5c16-11eb-8e98-2356ea436065","62cbc476-5c16-11eb-8e98-0388ea7a41f8","08604de8-1dca-11eb-800c-9f5f55ff734d","9b3ab170-b768-11eb-a45a-da7ad0900002","7a83f306-96ca-11eb-9c74-da7ad0900002","16169788-28e4-11eb-832c-fb84162ef3eb","4de53192-9946-11eb-9cee-da7ad0900002","1302282c-b93b-11eb-a436-da7ad0900002","17d73994-7531-11eb-94b9-da7ad0900002"],"author_name":"Qin Chen","template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"57r-5zz-jqw","title":"tf-TestAccDatadogDashboardChange-local-1621865327","url":"/dashboard/57r-5zz-jqw/tf-testaccdatadogdashboardchange-local-1621865327","created_at":"2021-05-24T14:08:48.616136+00:00","modified_at":"2021-05-24T14:08:48.616136+00:00","author_handle":"qin.chen@datadoghq.com","widgets":[{"definition":{"requests":[{"q":"sum:system.cpu.user{*} by {service,account}","show_present":false,"increase_good":false}],"type":"change"},"id":5933131819232183},{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test Custom Link label"},{"override_label":"logs","is_hidden":true,"link":"https://app.datadoghq.com/dashboard/lists"}],"title_size":"16","title":"Sum of system.cpu.user over * by service,account","title_align":"left","time":{"live_span":"1h"},"requests":[{"change_type":"absolute","order_dir":"desc","compare_to":"day_before","q":"sum:system.cpu.user{*} by {service,account}","show_present":true,"increase_good":false,"order_by":"change"}],"type":"change"},"id":5081916014344885},{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test Custom Link label"}],"title_size":"16","title":"Sum of system.cpu.user over * by service,account","title_align":"left","time":{"live_span":"1h"},"requests":[{"change_type":"absolute","order_dir":"desc","compare_to":"day_before","q":"sum:system.cpu.user{*} by {service,account}","show_present":true,"increase_good":false,"order_by":"change"}],"type":"change"},"id":2636154791238909}],"layout_type":"ordered"}' headers: Cache-Control: - no-cache @@ -223,12 +154,9 @@ interactions: Content-Type: - application/json Date: - - Thu, 28 Jan 2021 16:44:49 GMT + - Mon, 24 May 2021 14:08:49 GMT Pragma: - no-cache - Set-Cookie: - - DD-PSHARD=233; Max-Age=604800; Path=/; expires=Thu, 04-Feb-2021 16:44:49 GMT; - secure; HttpOnly Strict-Transport-Security: - max-age=15724800; Vary: @@ -236,9 +164,9 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Debug: - - B1nwy/pPNqX+q4pQT22cdp1QCexE35IF8qwSHy0Nf7IW0Y881qtn4tXN1lpmzaKc + - tpRCH6w417YjBovRJ8VmtuXmNONVYiRp2c8d2AxjPdGBn8PCtgG4vAztrx3qUZAN X-Dd-Version: - - "35.3796727" + - "35.4593741" X-Frame-Options: - SAMEORIGIN status: 200 OK @@ -253,26 +181,11 @@ interactions: Dd-Operation-Id: - GetDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 1.15.0; terraform-cli 0.12.7-sdk) - datadog-api-client-go/1.0.0-beta.14 (go go1.15.4; os darwin; arch amd64) - X-Datadog-Parent-Id: - - "4770318777100850077" - X-Datadog-Sampling-Priority: - - "1" - X-Datadog-Trace-Id: - - "5843149382491789292" - url: https://api.datadoghq.com/api/v1/dashboard/uuw-3pg-534 + - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) + url: https://api.datadoghq.com/api/v1/dashboard/57r-5zz-jqw 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":"uuw-3pg-534","title":"tf-TestAccDatadogDashboardChange-local-1611850704","url":"/dashboard/uuw-3pg-534/tf-testaccdatadogdashboardchange-local-1611850704","created_at":"2021-01-28T16:43:57.046067+00:00","modified_at":"2021-01-28T16:43:57.046067+00:00","author_handle":"frog@datadoghq.com","widgets":[{"definition":{"requests":[{"q":"sum:system.cpu.user{*} - by {service,account}","show_present":false,"increase_good":false}],"type":"change"},"id":3110332253128132},{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test - Custom Link label"}],"title_size":"16","title":"Sum of system.cpu.user over - * by service,account","title_align":"left","time":{"live_span":"1h"},"requests":[{"change_type":"absolute","order_dir":"desc","compare_to":"day_before","q":"sum:system.cpu.user{*} - by {service,account}","show_present":true,"increase_good":false,"order_by":"change"}],"type":"change"},"id":2019754692625709},{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test - Custom Link label"}],"title_size":"16","title":"Sum of system.cpu.user over - * by service,account","title_align":"left","time":{"live_span":"1h"},"requests":[{"change_type":"absolute","order_dir":"desc","compare_to":"day_before","q":"sum:system.cpu.user{*} - by {service,account}","show_present":true,"increase_good":false,"order_by":"change"}],"type":"change"},"id":3404570797187644}],"layout_type":"ordered"}' + body: '{"notify_list":[],"description":"Created using the Datadog provider in Terraform","restricted_roles":["284d8b66-93f9-11eb-9c37-da7ad0900002","043a2842-e140-11e8-bb04-7fd10177666e","657de3a2-29f8-11eb-83b5-6b8ebfb2f184","e82bf27a-986c-11eb-9cba-da7ad0900002","f257ba30-dbb2-11ea-a5ff-5fd1d308318a","6bf314be-5c16-11eb-8e98-2356ea436065","62cbc476-5c16-11eb-8e98-0388ea7a41f8","08604de8-1dca-11eb-800c-9f5f55ff734d","9b3ab170-b768-11eb-a45a-da7ad0900002","7a83f306-96ca-11eb-9c74-da7ad0900002","16169788-28e4-11eb-832c-fb84162ef3eb","4de53192-9946-11eb-9cee-da7ad0900002","1302282c-b93b-11eb-a436-da7ad0900002","17d73994-7531-11eb-94b9-da7ad0900002"],"author_name":"Qin Chen","template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"57r-5zz-jqw","title":"tf-TestAccDatadogDashboardChange-local-1621865327","url":"/dashboard/57r-5zz-jqw/tf-testaccdatadogdashboardchange-local-1621865327","created_at":"2021-05-24T14:08:48.616136+00:00","modified_at":"2021-05-24T14:08:48.616136+00:00","author_handle":"qin.chen@datadoghq.com","widgets":[{"definition":{"requests":[{"q":"sum:system.cpu.user{*} by {service,account}","show_present":false,"increase_good":false}],"type":"change"},"id":5933131819232183},{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test Custom Link label"},{"override_label":"logs","is_hidden":true,"link":"https://app.datadoghq.com/dashboard/lists"}],"title_size":"16","title":"Sum of system.cpu.user over * by service,account","title_align":"left","time":{"live_span":"1h"},"requests":[{"change_type":"absolute","order_dir":"desc","compare_to":"day_before","q":"sum:system.cpu.user{*} by {service,account}","show_present":true,"increase_good":false,"order_by":"change"}],"type":"change"},"id":5081916014344885},{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test Custom Link label"}],"title_size":"16","title":"Sum of system.cpu.user over * by service,account","title_align":"left","time":{"live_span":"1h"},"requests":[{"change_type":"absolute","order_dir":"desc","compare_to":"day_before","q":"sum:system.cpu.user{*} by {service,account}","show_present":true,"increase_good":false,"order_by":"change"}],"type":"change"},"id":2636154791238909}],"layout_type":"ordered"}' headers: Cache-Control: - no-cache @@ -283,12 +196,9 @@ interactions: Content-Type: - application/json Date: - - Thu, 28 Jan 2021 16:46:05 GMT + - Mon, 24 May 2021 14:08:50 GMT Pragma: - no-cache - Set-Cookie: - - DD-PSHARD=233; Max-Age=604800; Path=/; expires=Thu, 04-Feb-2021 16:46:05 GMT; - secure; HttpOnly Strict-Transport-Security: - max-age=15724800; Vary: @@ -296,9 +206,9 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Debug: - - /L+SFFO+m1pPY+hRCpk5325fvfrNl0KmiquUNJolBN/5hu3HIwflqjZSbJ6NxDFG + - nLnnBNvlCFDECRnZvzDb0z4sAO35G+IMidcAs8vrCKyjvsKWE8Yd9S3n6OjZ1qRN X-Dd-Version: - - "35.3796727" + - "35.4593741" X-Frame-Options: - SAMEORIGIN status: 200 OK @@ -313,18 +223,11 @@ interactions: Dd-Operation-Id: - DeleteDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 1.15.0; terraform-cli 0.12.7-sdk) - datadog-api-client-go/1.0.0-beta.14 (go go1.15.4; os darwin; arch amd64) - X-Datadog-Parent-Id: - - "2675159928189944347" - X-Datadog-Sampling-Priority: - - "1" - X-Datadog-Trace-Id: - - "5843149382491789292" - url: https://api.datadoghq.com/api/v1/dashboard/uuw-3pg-534 + - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) + url: https://api.datadoghq.com/api/v1/dashboard/57r-5zz-jqw method: DELETE response: - body: '{"deleted_dashboard_id":"uuw-3pg-534"}' + body: '{"deleted_dashboard_id":"57r-5zz-jqw"}' headers: Cache-Control: - no-cache @@ -335,12 +238,9 @@ interactions: Content-Type: - application/json Date: - - Thu, 28 Jan 2021 16:47:02 GMT + - Mon, 24 May 2021 14:08:50 GMT Pragma: - no-cache - Set-Cookie: - - DD-PSHARD=233; Max-Age=604800; Path=/; expires=Thu, 04-Feb-2021 16:47:02 GMT; - secure; HttpOnly Strict-Transport-Security: - max-age=15724800; Vary: @@ -348,9 +248,9 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Debug: - - bgHykj7A9bfZx0Y5ZO3swhhp5tGUSNJHqFWR868+qg087CYrDOd5hQslC+noiEtH + - dPySkcOzIZtKyMKDAAzuysY3gNGGj6RtYogGuSb76E8mPvoqzREyRp6lPYm91hQU X-Dd-Version: - - "35.3796727" + - "35.4593741" X-Frame-Options: - SAMEORIGIN status: 200 OK @@ -365,18 +265,11 @@ interactions: Dd-Operation-Id: - GetDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 1.15.0; terraform-cli 0.12.7-sdk) - datadog-api-client-go/1.0.0-beta.14 (go go1.15.4; os darwin; arch amd64) - X-Datadog-Parent-Id: - - "6281533561525923360" - X-Datadog-Sampling-Priority: - - "1" - X-Datadog-Trace-Id: - - "5843149382491789292" - url: https://api.datadoghq.com/api/v1/dashboard/uuw-3pg-534 + - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) + url: https://api.datadoghq.com/api/v1/dashboard/57r-5zz-jqw method: GET response: - body: '{"errors": ["Dashboard with ID uuw-3pg-534 not found"]}' + body: '{"errors": ["Dashboard with ID 57r-5zz-jqw not found"]}' headers: Cache-Control: - no-cache @@ -387,7 +280,7 @@ interactions: Content-Type: - application/json Date: - - Thu, 28 Jan 2021 16:47:07 GMT + - Mon, 24 May 2021 14:08:50 GMT Pragma: - no-cache Strict-Transport-Security: @@ -397,7 +290,7 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Version: - - "35.3796727" + - "35.4593741" X-Frame-Options: - SAMEORIGIN status: 404 Not Found diff --git a/datadog/tests/cassettes/TestAccDatadogDashboardChange_import.freeze b/datadog/tests/cassettes/TestAccDatadogDashboardChange_import.freeze index 287650608..e69bf587c 100644 --- a/datadog/tests/cassettes/TestAccDatadogDashboardChange_import.freeze +++ b/datadog/tests/cassettes/TestAccDatadogDashboardChange_import.freeze @@ -1 +1 @@ -2020-12-31T15:42:08.103145+01:00 \ No newline at end of file +2021-05-24T10:37:36.437498-04:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogDashboardChange_import.yaml b/datadog/tests/cassettes/TestAccDatadogDashboardChange_import.yaml index db022f64d..1e61d6f44 100644 --- a/datadog/tests/cassettes/TestAccDatadogDashboardChange_import.yaml +++ b/datadog/tests/cassettes/TestAccDatadogDashboardChange_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-TestAccDatadogDashboardChange_import-local-1609425728","widgets":[{"definition":{"requests":[{"increase_good":false,"q":"sum:system.cpu.user{*} by {service,account}","show_present":false}],"type":"change"}},{"definition":{"custom_links":[{"label":"Test Custom Link label","link":"https://app.datadoghq.com/dashboard/lists"}],"requests":[{"change_type":"absolute","compare_to":"day_before","increase_good":false,"order_by":"change","order_dir":"desc","q":"sum:system.cpu.user{*} by {service,account}","show_present":true}],"time":{"live_span":"1h"},"title":"Sum of system.cpu.user over * by service,account","title_align":"left","title_size":"16","type":"change"}}]} + {"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-TestAccDatadogDashboardChange_import-local-1621865327","widgets":[{"definition":{"requests":[{"increase_good":false,"q":"sum:system.cpu.user{*} by {service,account}","show_present":false}],"type":"change"}},{"definition":{"custom_links":[{"label":"Test Custom Link label","link":"https://app.datadoghq.com/dashboard/lists"}],"requests":[{"change_type":"absolute","compare_to":"day_before","increase_good":false,"order_by":"change","order_dir":"desc","q":"sum:system.cpu.user{*} by {service,account}","show_present":true}],"time":{"live_span":"1h"},"title":"Sum of system.cpu.user over * by service,account","title_align":"left","title_size":"16","type":"change"}}]} form: {} headers: Accept: @@ -13,23 +13,11 @@ interactions: Dd-Operation-Id: - CreateDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 1.15.0; terraform-cli 0.12.7-sdk) - datadog-api-client-go/1.0.0-beta.13+dev (go go1.15.4; os darwin; arch amd64) - X-Datadog-Parent-Id: - - "1853406817859842867" - X-Datadog-Sampling-Priority: - - "1" - X-Datadog-Trace-Id: - - "5769151533183827587" + - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) 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":"wkv-yrc-625","title":"tf-TestAccDatadogDashboardChange_import-local-1609425728","url":"/dashboard/wkv-yrc-625/tf-testaccdatadogdashboardchangeimport-local-1609425728","created_at":"2020-12-31T14:52:50.243433+00:00","modified_at":"2020-12-31T14:52:50.243433+00:00","author_handle":"frog@datadoghq.com","widgets":[{"definition":{"requests":[{"q":"sum:system.cpu.user{*} - by {service,account}","show_present":false,"increase_good":false}],"type":"change"},"id":6028833218915409},{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test - Custom Link label"}],"title_size":"16","title":"Sum of system.cpu.user over - * by service,account","title_align":"left","time":{"live_span":"1h"},"requests":[{"change_type":"absolute","order_dir":"desc","compare_to":"day_before","q":"sum:system.cpu.user{*} - by {service,account}","show_present":true,"increase_good":false,"order_by":"change"}],"type":"change"},"id":3813596531466177}],"layout_type":"ordered"}' + body: '{"notify_list":[],"description":"Created using the Datadog provider in Terraform","restricted_roles":["043a2842-e140-11e8-bb04-7fd10177666e","08604de8-1dca-11eb-800c-9f5f55ff734d","1302282c-b93b-11eb-a436-da7ad0900002","16169788-28e4-11eb-832c-fb84162ef3eb","17d73994-7531-11eb-94b9-da7ad0900002","284d8b66-93f9-11eb-9c37-da7ad0900002","4de53192-9946-11eb-9cee-da7ad0900002","62cbc476-5c16-11eb-8e98-0388ea7a41f8","657de3a2-29f8-11eb-83b5-6b8ebfb2f184","6bf314be-5c16-11eb-8e98-2356ea436065","7a83f306-96ca-11eb-9c74-da7ad0900002","9b3ab170-b768-11eb-a45a-da7ad0900002","e82bf27a-986c-11eb-9cba-da7ad0900002","f257ba30-dbb2-11ea-a5ff-5fd1d308318a"],"author_name":"Qin Chen","template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"vi4-7tc-wm9","title":"tf-TestAccDatadogDashboardChange_import-local-1621865327","url":"/dashboard/vi4-7tc-wm9/tf-testaccdatadogdashboardchangeimport-local-1621865327","created_at":"2021-05-24T14:08:48.626102+00:00","modified_at":"2021-05-24T14:08:48.626102+00:00","author_handle":"qin.chen@datadoghq.com","widgets":[{"definition":{"requests":[{"q":"sum:system.cpu.user{*} by {service,account}","show_present":false,"increase_good":false}],"type":"change"},"id":8750702730431955},{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test Custom Link label"}],"title_size":"16","title":"Sum of system.cpu.user over * by service,account","title_align":"left","time":{"live_span":"1h"},"requests":[{"change_type":"absolute","order_dir":"desc","compare_to":"day_before","q":"sum:system.cpu.user{*} by {service,account}","show_present":true,"increase_good":false,"order_by":"change"}],"type":"change"},"id":2194015777792038}],"layout_type":"ordered"}' headers: Cache-Control: - no-cache @@ -40,12 +28,9 @@ interactions: Content-Type: - application/json Date: - - Thu, 31 Dec 2020 14:52:53 GMT + - Mon, 24 May 2021 14:08:48 GMT Pragma: - no-cache - Set-Cookie: - - DD-PSHARD=233; Max-Age=604800; Path=/; expires=Thu, 07-Jan-2021 14:52:50 GMT; - secure; HttpOnly Strict-Transport-Security: - max-age=15724800; Vary: @@ -53,9 +38,9 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Debug: - - PJZiHVb0oXD9IRg/OcDxfMo7GtrlXRAN6F62/T7X/NaBstj6dM2xawF737azAs+y + - PhosSd3Ch1B6B0DXI71steKUi7XhPDttnPiIP1NdXTw0VJNWpoUnYyBmODS5ne3q X-Dd-Version: - - "35.3622023" + - "35.4593741" X-Frame-Options: - SAMEORIGIN status: 200 OK @@ -70,23 +55,11 @@ interactions: Dd-Operation-Id: - GetDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 1.15.0; terraform-cli 0.12.7-sdk) - datadog-api-client-go/1.0.0-beta.13+dev (go go1.15.4; os darwin; arch amd64) - X-Datadog-Parent-Id: - - "5783629463375126940" - X-Datadog-Sampling-Priority: - - "1" - X-Datadog-Trace-Id: - - "5769151533183827587" - url: https://api.datadoghq.com/api/v1/dashboard/wkv-yrc-625 + - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) + url: https://api.datadoghq.com/api/v1/dashboard/vi4-7tc-wm9 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":"wkv-yrc-625","title":"tf-TestAccDatadogDashboardChange_import-local-1609425728","url":"/dashboard/wkv-yrc-625/tf-testaccdatadogdashboardchangeimport-local-1609425728","created_at":"2020-12-31T14:52:50.243433+00:00","modified_at":"2020-12-31T14:52:50.243433+00:00","author_handle":"frog@datadoghq.com","widgets":[{"definition":{"requests":[{"q":"sum:system.cpu.user{*} - by {service,account}","show_present":false,"increase_good":false}],"type":"change"},"id":6028833218915409},{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test - Custom Link label"}],"title_size":"16","title":"Sum of system.cpu.user over - * by service,account","title_align":"left","time":{"live_span":"1h"},"requests":[{"change_type":"absolute","order_dir":"desc","compare_to":"day_before","q":"sum:system.cpu.user{*} - by {service,account}","show_present":true,"increase_good":false,"order_by":"change"}],"type":"change"},"id":3813596531466177}],"layout_type":"ordered"}' + body: '{"notify_list":[],"description":"Created using the Datadog provider in Terraform","restricted_roles":["284d8b66-93f9-11eb-9c37-da7ad0900002","043a2842-e140-11e8-bb04-7fd10177666e","657de3a2-29f8-11eb-83b5-6b8ebfb2f184","e82bf27a-986c-11eb-9cba-da7ad0900002","f257ba30-dbb2-11ea-a5ff-5fd1d308318a","6bf314be-5c16-11eb-8e98-2356ea436065","62cbc476-5c16-11eb-8e98-0388ea7a41f8","08604de8-1dca-11eb-800c-9f5f55ff734d","9b3ab170-b768-11eb-a45a-da7ad0900002","7a83f306-96ca-11eb-9c74-da7ad0900002","16169788-28e4-11eb-832c-fb84162ef3eb","4de53192-9946-11eb-9cee-da7ad0900002","1302282c-b93b-11eb-a436-da7ad0900002","17d73994-7531-11eb-94b9-da7ad0900002"],"author_name":"Qin Chen","template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"vi4-7tc-wm9","title":"tf-TestAccDatadogDashboardChange_import-local-1621865327","url":"/dashboard/vi4-7tc-wm9/tf-testaccdatadogdashboardchangeimport-local-1621865327","created_at":"2021-05-24T14:08:48.626102+00:00","modified_at":"2021-05-24T14:08:48.626102+00:00","author_handle":"qin.chen@datadoghq.com","widgets":[{"definition":{"requests":[{"q":"sum:system.cpu.user{*} by {service,account}","show_present":false,"increase_good":false}],"type":"change"},"id":8750702730431955},{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test Custom Link label"}],"title_size":"16","title":"Sum of system.cpu.user over * by service,account","title_align":"left","time":{"live_span":"1h"},"requests":[{"change_type":"absolute","order_dir":"desc","compare_to":"day_before","q":"sum:system.cpu.user{*} by {service,account}","show_present":true,"increase_good":false,"order_by":"change"}],"type":"change"},"id":2194015777792038}],"layout_type":"ordered"}' headers: Cache-Control: - no-cache @@ -97,12 +70,9 @@ interactions: Content-Type: - application/json Date: - - Thu, 31 Dec 2020 14:52:53 GMT + - Mon, 24 May 2021 14:08:48 GMT Pragma: - no-cache - Set-Cookie: - - DD-PSHARD=233; Max-Age=604800; Path=/; expires=Thu, 07-Jan-2021 14:52:53 GMT; - secure; HttpOnly Strict-Transport-Security: - max-age=15724800; Vary: @@ -110,9 +80,9 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Debug: - - FHfHzbfIddsg0sQ7IeNBOxLqb5wz+d6n32kEDCDFZtJpoagPnr4KgZnA3JebHBTT + - Um4CoU685QqAscnxhS5BD+goWu2yX1Jd4zCfGzSsEvPPIm1qURZaF8dlLl/OEY4I X-Dd-Version: - - "35.3622023" + - "35.4593741" X-Frame-Options: - SAMEORIGIN status: 200 OK @@ -127,23 +97,11 @@ interactions: Dd-Operation-Id: - GetDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 1.15.0; terraform-cli 0.12.7-sdk) - datadog-api-client-go/1.0.0-beta.13+dev (go go1.15.4; os darwin; arch amd64) - X-Datadog-Parent-Id: - - "9156044777915634943" - X-Datadog-Sampling-Priority: - - "1" - X-Datadog-Trace-Id: - - "5769151533183827587" - url: https://api.datadoghq.com/api/v1/dashboard/wkv-yrc-625 + - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) + url: https://api.datadoghq.com/api/v1/dashboard/vi4-7tc-wm9 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":"wkv-yrc-625","title":"tf-TestAccDatadogDashboardChange_import-local-1609425728","url":"/dashboard/wkv-yrc-625/tf-testaccdatadogdashboardchangeimport-local-1609425728","created_at":"2020-12-31T14:52:50.243433+00:00","modified_at":"2020-12-31T14:52:50.243433+00:00","author_handle":"frog@datadoghq.com","widgets":[{"definition":{"requests":[{"q":"sum:system.cpu.user{*} - by {service,account}","show_present":false,"increase_good":false}],"type":"change"},"id":6028833218915409},{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test - Custom Link label"}],"title_size":"16","title":"Sum of system.cpu.user over - * by service,account","title_align":"left","time":{"live_span":"1h"},"requests":[{"change_type":"absolute","order_dir":"desc","compare_to":"day_before","q":"sum:system.cpu.user{*} - by {service,account}","show_present":true,"increase_good":false,"order_by":"change"}],"type":"change"},"id":3813596531466177}],"layout_type":"ordered"}' + body: '{"notify_list":[],"description":"Created using the Datadog provider in Terraform","restricted_roles":["284d8b66-93f9-11eb-9c37-da7ad0900002","043a2842-e140-11e8-bb04-7fd10177666e","657de3a2-29f8-11eb-83b5-6b8ebfb2f184","e82bf27a-986c-11eb-9cba-da7ad0900002","f257ba30-dbb2-11ea-a5ff-5fd1d308318a","6bf314be-5c16-11eb-8e98-2356ea436065","62cbc476-5c16-11eb-8e98-0388ea7a41f8","08604de8-1dca-11eb-800c-9f5f55ff734d","9b3ab170-b768-11eb-a45a-da7ad0900002","7a83f306-96ca-11eb-9c74-da7ad0900002","16169788-28e4-11eb-832c-fb84162ef3eb","4de53192-9946-11eb-9cee-da7ad0900002","1302282c-b93b-11eb-a436-da7ad0900002","17d73994-7531-11eb-94b9-da7ad0900002"],"author_name":"Qin Chen","template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"vi4-7tc-wm9","title":"tf-TestAccDatadogDashboardChange_import-local-1621865327","url":"/dashboard/vi4-7tc-wm9/tf-testaccdatadogdashboardchangeimport-local-1621865327","created_at":"2021-05-24T14:08:48.626102+00:00","modified_at":"2021-05-24T14:08:48.626102+00:00","author_handle":"qin.chen@datadoghq.com","widgets":[{"definition":{"requests":[{"q":"sum:system.cpu.user{*} by {service,account}","show_present":false,"increase_good":false}],"type":"change"},"id":8750702730431955},{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test Custom Link label"}],"title_size":"16","title":"Sum of system.cpu.user over * by service,account","title_align":"left","time":{"live_span":"1h"},"requests":[{"change_type":"absolute","order_dir":"desc","compare_to":"day_before","q":"sum:system.cpu.user{*} by {service,account}","show_present":true,"increase_good":false,"order_by":"change"}],"type":"change"},"id":2194015777792038}],"layout_type":"ordered"}' headers: Cache-Control: - no-cache @@ -154,12 +112,9 @@ interactions: Content-Type: - application/json Date: - - Thu, 31 Dec 2020 14:53:00 GMT + - Mon, 24 May 2021 14:08:49 GMT Pragma: - no-cache - Set-Cookie: - - DD-PSHARD=233; Max-Age=604800; Path=/; expires=Thu, 07-Jan-2021 14:53:00 GMT; - secure; HttpOnly Strict-Transport-Security: - max-age=15724800; Vary: @@ -167,9 +122,9 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Debug: - - x0lXQI7rzyICHjQ6egBdIXvv6oH1uc+zPjPKGBnD3VLYo8imKB14VpRl9Uf7xZN/ + - B1nwy/pPNqX+q4pQT22cdp1QCexE35IF8qwSHy0Nf7IW0Y881qtn4tXN1lpmzaKc X-Dd-Version: - - "35.3622023" + - "35.4593741" X-Frame-Options: - SAMEORIGIN status: 200 OK @@ -184,23 +139,11 @@ interactions: Dd-Operation-Id: - GetDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 1.15.0; terraform-cli 0.12.7-sdk) - datadog-api-client-go/1.0.0-beta.13+dev (go go1.15.4; os darwin; arch amd64) - X-Datadog-Parent-Id: - - "6391889243783665519" - X-Datadog-Sampling-Priority: - - "1" - X-Datadog-Trace-Id: - - "5769151533183827587" - url: https://api.datadoghq.com/api/v1/dashboard/wkv-yrc-625 + - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) + url: https://api.datadoghq.com/api/v1/dashboard/vi4-7tc-wm9 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":"wkv-yrc-625","title":"tf-TestAccDatadogDashboardChange_import-local-1609425728","url":"/dashboard/wkv-yrc-625/tf-testaccdatadogdashboardchangeimport-local-1609425728","created_at":"2020-12-31T14:52:50.243433+00:00","modified_at":"2020-12-31T14:52:50.243433+00:00","author_handle":"frog@datadoghq.com","widgets":[{"definition":{"requests":[{"q":"sum:system.cpu.user{*} - by {service,account}","show_present":false,"increase_good":false}],"type":"change"},"id":6028833218915409},{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test - Custom Link label"}],"title_size":"16","title":"Sum of system.cpu.user over - * by service,account","title_align":"left","time":{"live_span":"1h"},"requests":[{"change_type":"absolute","order_dir":"desc","compare_to":"day_before","q":"sum:system.cpu.user{*} - by {service,account}","show_present":true,"increase_good":false,"order_by":"change"}],"type":"change"},"id":3813596531466177}],"layout_type":"ordered"}' + body: '{"notify_list":[],"description":"Created using the Datadog provider in Terraform","restricted_roles":["284d8b66-93f9-11eb-9c37-da7ad0900002","043a2842-e140-11e8-bb04-7fd10177666e","657de3a2-29f8-11eb-83b5-6b8ebfb2f184","e82bf27a-986c-11eb-9cba-da7ad0900002","f257ba30-dbb2-11ea-a5ff-5fd1d308318a","6bf314be-5c16-11eb-8e98-2356ea436065","62cbc476-5c16-11eb-8e98-0388ea7a41f8","08604de8-1dca-11eb-800c-9f5f55ff734d","9b3ab170-b768-11eb-a45a-da7ad0900002","7a83f306-96ca-11eb-9c74-da7ad0900002","16169788-28e4-11eb-832c-fb84162ef3eb","4de53192-9946-11eb-9cee-da7ad0900002","1302282c-b93b-11eb-a436-da7ad0900002","17d73994-7531-11eb-94b9-da7ad0900002"],"author_name":"Qin Chen","template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"vi4-7tc-wm9","title":"tf-TestAccDatadogDashboardChange_import-local-1621865327","url":"/dashboard/vi4-7tc-wm9/tf-testaccdatadogdashboardchangeimport-local-1621865327","created_at":"2021-05-24T14:08:48.626102+00:00","modified_at":"2021-05-24T14:08:48.626102+00:00","author_handle":"qin.chen@datadoghq.com","widgets":[{"definition":{"requests":[{"q":"sum:system.cpu.user{*} by {service,account}","show_present":false,"increase_good":false}],"type":"change"},"id":8750702730431955},{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test Custom Link label"}],"title_size":"16","title":"Sum of system.cpu.user over * by service,account","title_align":"left","time":{"live_span":"1h"},"requests":[{"change_type":"absolute","order_dir":"desc","compare_to":"day_before","q":"sum:system.cpu.user{*} by {service,account}","show_present":true,"increase_good":false,"order_by":"change"}],"type":"change"},"id":2194015777792038}],"layout_type":"ordered"}' headers: Cache-Control: - no-cache @@ -211,12 +154,9 @@ interactions: Content-Type: - application/json Date: - - Thu, 31 Dec 2020 14:53:06 GMT + - Mon, 24 May 2021 14:08:49 GMT Pragma: - no-cache - Set-Cookie: - - DD-PSHARD=233; Max-Age=604800; Path=/; expires=Thu, 07-Jan-2021 14:53:06 GMT; - secure; HttpOnly Strict-Transport-Security: - max-age=15724800; Vary: @@ -224,9 +164,9 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Debug: - - ERAR+wIpkUrPjdmF8Izu2K5/ZMTkW0RxdMJp2EI5/HgIxQDnb5krpGDLSDYaD2KU + - 25u1gDlL724DHllbjFT4BhOLorBTilh+aah2uWAUEjFC/+rjczJdiyWrV/HwLwe/ X-Dd-Version: - - "35.3622023" + - "35.4593741" X-Frame-Options: - SAMEORIGIN status: 200 OK @@ -241,23 +181,11 @@ interactions: Dd-Operation-Id: - GetDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 1.15.0; terraform-cli 0.12.7-sdk) - datadog-api-client-go/1.0.0-beta.13+dev (go go1.15.4; os darwin; arch amd64) - X-Datadog-Parent-Id: - - "5646558347051298009" - X-Datadog-Sampling-Priority: - - "1" - X-Datadog-Trace-Id: - - "5769151533183827587" - url: https://api.datadoghq.com/api/v1/dashboard/wkv-yrc-625 + - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) + url: https://api.datadoghq.com/api/v1/dashboard/vi4-7tc-wm9 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":"wkv-yrc-625","title":"tf-TestAccDatadogDashboardChange_import-local-1609425728","url":"/dashboard/wkv-yrc-625/tf-testaccdatadogdashboardchangeimport-local-1609425728","created_at":"2020-12-31T14:52:50.243433+00:00","modified_at":"2020-12-31T14:52:50.243433+00:00","author_handle":"frog@datadoghq.com","widgets":[{"definition":{"requests":[{"q":"sum:system.cpu.user{*} - by {service,account}","show_present":false,"increase_good":false}],"type":"change"},"id":6028833218915409},{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test - Custom Link label"}],"title_size":"16","title":"Sum of system.cpu.user over - * by service,account","title_align":"left","time":{"live_span":"1h"},"requests":[{"change_type":"absolute","order_dir":"desc","compare_to":"day_before","q":"sum:system.cpu.user{*} - by {service,account}","show_present":true,"increase_good":false,"order_by":"change"}],"type":"change"},"id":3813596531466177}],"layout_type":"ordered"}' + body: '{"notify_list":[],"description":"Created using the Datadog provider in Terraform","restricted_roles":["284d8b66-93f9-11eb-9c37-da7ad0900002","043a2842-e140-11e8-bb04-7fd10177666e","657de3a2-29f8-11eb-83b5-6b8ebfb2f184","e82bf27a-986c-11eb-9cba-da7ad0900002","f257ba30-dbb2-11ea-a5ff-5fd1d308318a","6bf314be-5c16-11eb-8e98-2356ea436065","62cbc476-5c16-11eb-8e98-0388ea7a41f8","08604de8-1dca-11eb-800c-9f5f55ff734d","9b3ab170-b768-11eb-a45a-da7ad0900002","7a83f306-96ca-11eb-9c74-da7ad0900002","16169788-28e4-11eb-832c-fb84162ef3eb","4de53192-9946-11eb-9cee-da7ad0900002","1302282c-b93b-11eb-a436-da7ad0900002","17d73994-7531-11eb-94b9-da7ad0900002"],"author_name":"Qin Chen","template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"vi4-7tc-wm9","title":"tf-TestAccDatadogDashboardChange_import-local-1621865327","url":"/dashboard/vi4-7tc-wm9/tf-testaccdatadogdashboardchangeimport-local-1621865327","created_at":"2021-05-24T14:08:48.626102+00:00","modified_at":"2021-05-24T14:08:48.626102+00:00","author_handle":"qin.chen@datadoghq.com","widgets":[{"definition":{"requests":[{"q":"sum:system.cpu.user{*} by {service,account}","show_present":false,"increase_good":false}],"type":"change"},"id":8750702730431955},{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test Custom Link label"}],"title_size":"16","title":"Sum of system.cpu.user over * by service,account","title_align":"left","time":{"live_span":"1h"},"requests":[{"change_type":"absolute","order_dir":"desc","compare_to":"day_before","q":"sum:system.cpu.user{*} by {service,account}","show_present":true,"increase_good":false,"order_by":"change"}],"type":"change"},"id":2194015777792038}],"layout_type":"ordered"}' headers: Cache-Control: - no-cache @@ -268,12 +196,9 @@ interactions: Content-Type: - application/json Date: - - Thu, 31 Dec 2020 14:53:07 GMT + - Mon, 24 May 2021 14:08:49 GMT Pragma: - no-cache - Set-Cookie: - - DD-PSHARD=233; Max-Age=604800; Path=/; expires=Thu, 07-Jan-2021 14:53:07 GMT; - secure; HttpOnly Strict-Transport-Security: - max-age=15724800; Vary: @@ -281,9 +206,9 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Debug: - - O3O7xE5uwHtX7J0LqZ8TwbNGWo9Sdsox9lgU7fr/GZp13UzdkbKQZW76fPVpoSDj + - dPySkcOzIZtKyMKDAAzuysY3gNGGj6RtYogGuSb76E8mPvoqzREyRp6lPYm91hQU X-Dd-Version: - - "35.3622023" + - "35.4593741" X-Frame-Options: - SAMEORIGIN status: 200 OK @@ -298,23 +223,11 @@ interactions: Dd-Operation-Id: - GetDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 1.15.0; terraform-cli 0.12.7-sdk) - datadog-api-client-go/1.0.0-beta.13+dev (go go1.15.4; os darwin; arch amd64) - X-Datadog-Parent-Id: - - "1396954380889078408" - X-Datadog-Sampling-Priority: - - "1" - X-Datadog-Trace-Id: - - "5769151533183827587" - url: https://api.datadoghq.com/api/v1/dashboard/wkv-yrc-625 + - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) + url: https://api.datadoghq.com/api/v1/dashboard/vi4-7tc-wm9 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":"wkv-yrc-625","title":"tf-TestAccDatadogDashboardChange_import-local-1609425728","url":"/dashboard/wkv-yrc-625/tf-testaccdatadogdashboardchangeimport-local-1609425728","created_at":"2020-12-31T14:52:50.243433+00:00","modified_at":"2020-12-31T14:52:50.243433+00:00","author_handle":"frog@datadoghq.com","widgets":[{"definition":{"requests":[{"q":"sum:system.cpu.user{*} - by {service,account}","show_present":false,"increase_good":false}],"type":"change"},"id":6028833218915409},{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test - Custom Link label"}],"title_size":"16","title":"Sum of system.cpu.user over - * by service,account","title_align":"left","time":{"live_span":"1h"},"requests":[{"change_type":"absolute","order_dir":"desc","compare_to":"day_before","q":"sum:system.cpu.user{*} - by {service,account}","show_present":true,"increase_good":false,"order_by":"change"}],"type":"change"},"id":3813596531466177}],"layout_type":"ordered"}' + body: '{"notify_list":[],"description":"Created using the Datadog provider in Terraform","restricted_roles":["284d8b66-93f9-11eb-9c37-da7ad0900002","043a2842-e140-11e8-bb04-7fd10177666e","657de3a2-29f8-11eb-83b5-6b8ebfb2f184","e82bf27a-986c-11eb-9cba-da7ad0900002","f257ba30-dbb2-11ea-a5ff-5fd1d308318a","6bf314be-5c16-11eb-8e98-2356ea436065","62cbc476-5c16-11eb-8e98-0388ea7a41f8","08604de8-1dca-11eb-800c-9f5f55ff734d","9b3ab170-b768-11eb-a45a-da7ad0900002","7a83f306-96ca-11eb-9c74-da7ad0900002","16169788-28e4-11eb-832c-fb84162ef3eb","4de53192-9946-11eb-9cee-da7ad0900002","1302282c-b93b-11eb-a436-da7ad0900002","17d73994-7531-11eb-94b9-da7ad0900002"],"author_name":"Qin Chen","template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"vi4-7tc-wm9","title":"tf-TestAccDatadogDashboardChange_import-local-1621865327","url":"/dashboard/vi4-7tc-wm9/tf-testaccdatadogdashboardchangeimport-local-1621865327","created_at":"2021-05-24T14:08:48.626102+00:00","modified_at":"2021-05-24T14:08:48.626102+00:00","author_handle":"qin.chen@datadoghq.com","widgets":[{"definition":{"requests":[{"q":"sum:system.cpu.user{*} by {service,account}","show_present":false,"increase_good":false}],"type":"change"},"id":8750702730431955},{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test Custom Link label"}],"title_size":"16","title":"Sum of system.cpu.user over * by service,account","title_align":"left","time":{"live_span":"1h"},"requests":[{"change_type":"absolute","order_dir":"desc","compare_to":"day_before","q":"sum:system.cpu.user{*} by {service,account}","show_present":true,"increase_good":false,"order_by":"change"}],"type":"change"},"id":2194015777792038}],"layout_type":"ordered"}' headers: Cache-Control: - no-cache @@ -325,12 +238,9 @@ interactions: Content-Type: - application/json Date: - - Thu, 31 Dec 2020 14:53:10 GMT + - Mon, 24 May 2021 14:08:50 GMT Pragma: - no-cache - Set-Cookie: - - DD-PSHARD=233; Max-Age=604800; Path=/; expires=Thu, 07-Jan-2021 14:53:10 GMT; - secure; HttpOnly Strict-Transport-Security: - max-age=15724800; Vary: @@ -338,9 +248,9 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Debug: - - sNqZRJv4/cBfvxvWCdEugoEuJbBVq4bkZ/uRRvyXEc9lrDGBw7yRKeuVLRAm5ziA + - L3ULR3HwCWYmEqCWGz2Yob3chcH4pjowBacBXkncP7o+/uPqKt9yGEYf/g1AJPzQ X-Dd-Version: - - "34.3622270" + - "35.4593741" X-Frame-Options: - SAMEORIGIN status: 200 OK @@ -355,18 +265,11 @@ interactions: Dd-Operation-Id: - DeleteDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 1.15.0; terraform-cli 0.12.7-sdk) - datadog-api-client-go/1.0.0-beta.13+dev (go go1.15.4; os darwin; arch amd64) - X-Datadog-Parent-Id: - - "2064907982149854901" - X-Datadog-Sampling-Priority: - - "1" - X-Datadog-Trace-Id: - - "5769151533183827587" - url: https://api.datadoghq.com/api/v1/dashboard/wkv-yrc-625 + - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) + url: https://api.datadoghq.com/api/v1/dashboard/vi4-7tc-wm9 method: DELETE response: - body: '{"deleted_dashboard_id":"wkv-yrc-625"}' + body: '{"deleted_dashboard_id":"vi4-7tc-wm9"}' headers: Cache-Control: - no-cache @@ -377,12 +280,9 @@ interactions: Content-Type: - application/json Date: - - Thu, 31 Dec 2020 14:53:13 GMT + - Mon, 24 May 2021 14:08:50 GMT Pragma: - no-cache - Set-Cookie: - - DD-PSHARD=233; Max-Age=604800; Path=/; expires=Thu, 07-Jan-2021 14:53:13 GMT; - secure; HttpOnly Strict-Transport-Security: - max-age=15724800; Vary: @@ -390,9 +290,9 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Debug: - - 35J49GdWRZ44BXWQv5M8k5DMOKDsnUL/+b8VnKl01OT828ngNdfZvXJ9jRXKLHFA + - gYZcaADwbKcv7Hm19HJx6WsLoKuOijDWAt2viPeCfWqUgyKY+9e1xZdmMJeXV3YV X-Dd-Version: - - "35.3622023" + - "35.4593741" X-Frame-Options: - SAMEORIGIN status: 200 OK @@ -407,18 +307,11 @@ interactions: Dd-Operation-Id: - GetDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 1.15.0; terraform-cli 0.12.7-sdk) - datadog-api-client-go/1.0.0-beta.13+dev (go go1.15.4; os darwin; arch amd64) - X-Datadog-Parent-Id: - - "416394946025378214" - X-Datadog-Sampling-Priority: - - "1" - X-Datadog-Trace-Id: - - "5769151533183827587" - url: https://api.datadoghq.com/api/v1/dashboard/wkv-yrc-625 + - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) + url: https://api.datadoghq.com/api/v1/dashboard/vi4-7tc-wm9 method: GET response: - body: '{"errors": ["Dashboard with ID wkv-yrc-625 not found"]}' + body: '{"errors": ["Dashboard with ID vi4-7tc-wm9 not found"]}' headers: Cache-Control: - no-cache @@ -429,7 +322,7 @@ interactions: Content-Type: - application/json Date: - - Thu, 31 Dec 2020 14:53:14 GMT + - Mon, 24 May 2021 14:08:50 GMT Pragma: - no-cache Strict-Transport-Security: @@ -439,7 +332,7 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Version: - - "35.3622023" + - "35.4593741" X-Frame-Options: - SAMEORIGIN status: 404 Not Found diff --git a/datadog/tests/cassettes/TestAccDatadogDashboardCheckStatus.freeze b/datadog/tests/cassettes/TestAccDatadogDashboardCheckStatus.freeze index 2c964a438..accc26640 100644 --- a/datadog/tests/cassettes/TestAccDatadogDashboardCheckStatus.freeze +++ b/datadog/tests/cassettes/TestAccDatadogDashboardCheckStatus.freeze @@ -1 +1 @@ -2021-01-28T17:18:24.968915+01:00 \ No newline at end of file +2021-05-24T10:37:36.435024-04:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogDashboardCheckStatus_import.freeze b/datadog/tests/cassettes/TestAccDatadogDashboardCheckStatus_import.freeze index 5a0c753e4..626232882 100644 --- a/datadog/tests/cassettes/TestAccDatadogDashboardCheckStatus_import.freeze +++ b/datadog/tests/cassettes/TestAccDatadogDashboardCheckStatus_import.freeze @@ -1 +1 @@ -2020-12-31T15:42:08.108147+01:00 \ No newline at end of file +2021-05-24T10:37:36.432597-04:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogDashboardDatasource.freeze b/datadog/tests/cassettes/TestAccDatadogDashboardDatasource.freeze index e9accd5a5..face0c7b9 100644 --- a/datadog/tests/cassettes/TestAccDatadogDashboardDatasource.freeze +++ b/datadog/tests/cassettes/TestAccDatadogDashboardDatasource.freeze @@ -1 +1 @@ -2021-01-28T17:18:24.901762+01:00 \ No newline at end of file +2021-05-24T10:37:36.544895-04:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogDashboardDistribution.freeze b/datadog/tests/cassettes/TestAccDatadogDashboardDistribution.freeze index f0bcf169f..40385308f 100644 --- a/datadog/tests/cassettes/TestAccDatadogDashboardDistribution.freeze +++ b/datadog/tests/cassettes/TestAccDatadogDashboardDistribution.freeze @@ -1 +1 @@ -2021-01-28T17:18:24.975309+01:00 \ No newline at end of file +2021-05-24T10:37:36.42686-04:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogDashboardDistribution_import.freeze b/datadog/tests/cassettes/TestAccDatadogDashboardDistribution_import.freeze index 5e23f481b..bf5d2efd8 100644 --- a/datadog/tests/cassettes/TestAccDatadogDashboardDistribution_import.freeze +++ b/datadog/tests/cassettes/TestAccDatadogDashboardDistribution_import.freeze @@ -1 +1 @@ -2020-12-31T15:42:08.11141+01:00 \ No newline at end of file +2021-05-24T10:37:36.426662-04:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogDashboardEventStream.freeze b/datadog/tests/cassettes/TestAccDatadogDashboardEventStream.freeze index 7c98588aa..b2d1cd7f2 100644 --- a/datadog/tests/cassettes/TestAccDatadogDashboardEventStream.freeze +++ b/datadog/tests/cassettes/TestAccDatadogDashboardEventStream.freeze @@ -1 +1 @@ -2021-05-14T09:04:20.836181+02:00 \ No newline at end of file +2021-05-24T10:37:36.428304-04:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogDashboardEventStream_import.freeze b/datadog/tests/cassettes/TestAccDatadogDashboardEventStream_import.freeze index fa95e6991..af708e0d1 100644 --- a/datadog/tests/cassettes/TestAccDatadogDashboardEventStream_import.freeze +++ b/datadog/tests/cassettes/TestAccDatadogDashboardEventStream_import.freeze @@ -1 +1 @@ -2021-05-14T09:04:20.836255+02:00 \ No newline at end of file +2021-05-24T10:37:36.424755-04:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogDashboardEventTimeline.freeze b/datadog/tests/cassettes/TestAccDatadogDashboardEventTimeline.freeze index 6ba451e74..e2a05f190 100644 --- a/datadog/tests/cassettes/TestAccDatadogDashboardEventTimeline.freeze +++ b/datadog/tests/cassettes/TestAccDatadogDashboardEventTimeline.freeze @@ -1 +1 @@ -2021-05-14T08:59:48.845828+02:00 \ No newline at end of file +2021-05-24T10:37:36.426298-04:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogDashboardEventTimeline_import.freeze b/datadog/tests/cassettes/TestAccDatadogDashboardEventTimeline_import.freeze index fa8912e9a..f367df213 100644 --- a/datadog/tests/cassettes/TestAccDatadogDashboardEventTimeline_import.freeze +++ b/datadog/tests/cassettes/TestAccDatadogDashboardEventTimeline_import.freeze @@ -1 +1 @@ -2021-05-14T08:59:48.845889+02:00 \ No newline at end of file +2021-05-24T10:37:36.4206-04:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogDashboardFormula.freeze b/datadog/tests/cassettes/TestAccDatadogDashboardFormula.freeze index 80f094777..1f2f7446f 100644 --- a/datadog/tests/cassettes/TestAccDatadogDashboardFormula.freeze +++ b/datadog/tests/cassettes/TestAccDatadogDashboardFormula.freeze @@ -1 +1 @@ -2021-02-24T11:27:37.338898-05:00 \ No newline at end of file +2021-05-24T10:37:36.316716-04:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogDashboardFormula_import.freeze b/datadog/tests/cassettes/TestAccDatadogDashboardFormula_import.freeze index f5a888f99..f4af31e33 100644 --- a/datadog/tests/cassettes/TestAccDatadogDashboardFormula_import.freeze +++ b/datadog/tests/cassettes/TestAccDatadogDashboardFormula_import.freeze @@ -1 +1 @@ -2021-02-24T11:27:37.338907-05:00 \ No newline at end of file +2021-05-24T10:37:36.318651-04:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogDashboardFreeText.freeze b/datadog/tests/cassettes/TestAccDatadogDashboardFreeText.freeze index f88763ea0..210f944ad 100644 --- a/datadog/tests/cassettes/TestAccDatadogDashboardFreeText.freeze +++ b/datadog/tests/cassettes/TestAccDatadogDashboardFreeText.freeze @@ -1 +1 @@ -2021-05-03T11:40:17.559383+02:00 \ No newline at end of file +2021-05-24T10:37:36.421028-04:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogDashboardFreeText_import.freeze b/datadog/tests/cassettes/TestAccDatadogDashboardFreeText_import.freeze index 78c8d5b5f..c5c239505 100644 --- a/datadog/tests/cassettes/TestAccDatadogDashboardFreeText_import.freeze +++ b/datadog/tests/cassettes/TestAccDatadogDashboardFreeText_import.freeze @@ -1 +1 @@ -2021-05-03T11:40:37.002672+02:00 \ No newline at end of file +2021-05-24T10:37:36.418018-04:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogDashboardGeomap.freeze b/datadog/tests/cassettes/TestAccDatadogDashboardGeomap.freeze index 8ca2823e9..3196271d2 100644 --- a/datadog/tests/cassettes/TestAccDatadogDashboardGeomap.freeze +++ b/datadog/tests/cassettes/TestAccDatadogDashboardGeomap.freeze @@ -1 +1 @@ -2021-04-27T08:58:27.619962+02:00 \ No newline at end of file +2021-05-24T10:37:36.416536-04:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogDashboardGeomap.yaml b/datadog/tests/cassettes/TestAccDatadogDashboardGeomap.yaml index 102e0b283..6e3c088f9 100644 --- a/datadog/tests/cassettes/TestAccDatadogDashboardGeomap.yaml +++ b/datadog/tests/cassettes/TestAccDatadogDashboardGeomap.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-TestAccDatadogDashboardGeomap-local-1619506707","widgets":[{"definition":{"requests":[{"q":"avg:system.load.1{*}"}],"style":{"palette":"hostmap_blues","palette_flip":false},"type":"geomap","view":{"focus":"WORLD"}}},{"definition":{"custom_links":[{"label":"Test Custom Link label","link":"https://app.datadoghq.com/dashboard/lists"}],"requests":[{"log_query":{"compute":{"aggregation":"count"},"index":"*","search":{"query":""}}}],"style":{"palette":"hostmap_blues","palette_flip":false},"time":{"live_span":"1h"},"type":"geomap","view":{"focus":"WORLD"}}},{"definition":{"requests":[{"rum_query":{"compute":{"aggregation":"count"},"index":"*","search":{"query":""}}}],"style":{"palette":"hostmap_blues","palette_flip":false},"time":{"live_span":"4h"},"type":"geomap","view":{"focus":"WORLD"}}}]} + {"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-TestAccDatadogDashboardGeomap-local-1621865532","widgets":[{"definition":{"requests":[{"q":"avg:system.load.1{*}"}],"style":{"palette":"hostmap_blues","palette_flip":false},"type":"geomap","view":{"focus":"WORLD"}}},{"definition":{"custom_links":[{"label":"Test Custom Link label","link":"https://app.datadoghq.com/dashboard/lists"},{"is_hidden":true,"link":"https://app.datadoghq.com/dashboard/lists","override_label":"logs"}],"requests":[{"log_query":{"compute":{"aggregation":"count"},"index":"*","search":{"query":""}}}],"style":{"palette":"hostmap_blues","palette_flip":false},"time":{"live_span":"1h"},"type":"geomap","view":{"focus":"WORLD"}}},{"definition":{"requests":[{"rum_query":{"compute":{"aggregation":"count"},"index":"*","search":{"query":""}}}],"style":{"palette":"hostmap_blues","palette_flip":false},"time":{"live_span":"4h"},"type":"geomap","view":{"focus":"WORLD"}}}]} form: {} headers: Accept: @@ -13,11 +13,11 @@ interactions: Dd-Operation-Id: - CreateDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.19 (go go1.15.7; os darwin; arch amd64) + - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) 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":"3s6-igk-ih5","title":"tf-TestAccDatadogDashboardGeomap-local-1619506707","url":"/dashboard/3s6-igk-ih5/tf-testaccdatadogdashboardgeomap-local-1619506707","created_at":"2021-04-27T06:58:29.156444+00:00","modified_at":"2021-04-27T06:58:29.156444+00:00","author_handle":"frog@datadoghq.com","widgets":[{"definition":{"requests":[{"q":"avg:system.load.1{*}"}],"type":"geomap","style":{"palette":"hostmap_blues","palette_flip":false},"view":{"focus":"WORLD"}},"id":2235960280314117},{"definition":{"style":{"palette":"hostmap_blues","palette_flip":false},"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test Custom Link label"}],"time":{"live_span":"1h"},"requests":[{"log_query":{"index":"*","search":{"query":""},"compute":{"aggregation":"count"}}}],"type":"geomap","view":{"focus":"WORLD"}},"id":481676151794705},{"definition":{"requests":[{"rum_query":{"index":"*","search":{"query":""},"compute":{"aggregation":"count"}}}],"view":{"focus":"WORLD"},"type":"geomap","style":{"palette":"hostmap_blues","palette_flip":false},"time":{"live_span":"4h"}},"id":2786918167906999}],"layout_type":"ordered"}' + body: '{"notify_list":[],"description":"Created using the Datadog provider in Terraform","restricted_roles":["043a2842-e140-11e8-bb04-7fd10177666e","08604de8-1dca-11eb-800c-9f5f55ff734d","1302282c-b93b-11eb-a436-da7ad0900002","16169788-28e4-11eb-832c-fb84162ef3eb","17d73994-7531-11eb-94b9-da7ad0900002","284d8b66-93f9-11eb-9c37-da7ad0900002","4de53192-9946-11eb-9cee-da7ad0900002","62cbc476-5c16-11eb-8e98-0388ea7a41f8","657de3a2-29f8-11eb-83b5-6b8ebfb2f184","6bf314be-5c16-11eb-8e98-2356ea436065","7a83f306-96ca-11eb-9c74-da7ad0900002","9b3ab170-b768-11eb-a45a-da7ad0900002","e82bf27a-986c-11eb-9cba-da7ad0900002","f257ba30-dbb2-11ea-a5ff-5fd1d308318a"],"author_name":"Qin Chen","template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"h82-9st-jkz","title":"tf-TestAccDatadogDashboardGeomap-local-1621865532","url":"/dashboard/h82-9st-jkz/tf-testaccdatadogdashboardgeomap-local-1621865532","created_at":"2021-05-24T14:12:14.619413+00:00","modified_at":"2021-05-24T14:12:14.619413+00:00","author_handle":"qin.chen@datadoghq.com","widgets":[{"definition":{"requests":[{"q":"avg:system.load.1{*}"}],"type":"geomap","style":{"palette":"hostmap_blues","palette_flip":false},"view":{"focus":"WORLD"}},"id":604630031891501},{"definition":{"style":{"palette":"hostmap_blues","palette_flip":false},"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test Custom Link label"},{"override_label":"logs","is_hidden":true,"link":"https://app.datadoghq.com/dashboard/lists"}],"time":{"live_span":"1h"},"requests":[{"log_query":{"index":"*","search":{"query":""},"compute":{"aggregation":"count"}}}],"type":"geomap","view":{"focus":"WORLD"}},"id":1964070055336822},{"definition":{"requests":[{"rum_query":{"index":"*","search":{"query":""},"compute":{"aggregation":"count"}}}],"view":{"focus":"WORLD"},"type":"geomap","style":{"palette":"hostmap_blues","palette_flip":false},"time":{"live_span":"4h"}},"id":7318753936109029}],"layout_type":"ordered"}' headers: Cache-Control: - no-cache @@ -28,7 +28,7 @@ interactions: Content-Type: - application/json Date: - - Tue, 27 Apr 2021 06:58:32 GMT + - Mon, 24 May 2021 14:12:14 GMT Pragma: - no-cache Strict-Transport-Security: @@ -38,9 +38,9 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Debug: - - gYZcaADwbKcv7Hm19HJx6WsLoKuOijDWAt2viPeCfWqUgyKY+9e1xZdmMJeXV3YV + - HbtaOKlJ6OCrx9tMXO6ivMTrEM+g0c93HDp08trmOmgdHozC5J+vn10F0H4WPjCU X-Dd-Version: - - "35.4397207" + - "35.4593741" X-Frame-Options: - SAMEORIGIN status: 200 OK @@ -55,11 +55,11 @@ interactions: Dd-Operation-Id: - GetDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.19 (go go1.15.7; os darwin; arch amd64) - url: https://api.datadoghq.com/api/v1/dashboard/3s6-igk-ih5 + - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) + url: https://api.datadoghq.com/api/v1/dashboard/h82-9st-jkz 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":"3s6-igk-ih5","title":"tf-TestAccDatadogDashboardGeomap-local-1619506707","url":"/dashboard/3s6-igk-ih5/tf-testaccdatadogdashboardgeomap-local-1619506707","created_at":"2021-04-27T06:58:29.156444+00:00","modified_at":"2021-04-27T06:58:29.156444+00:00","author_handle":"frog@datadoghq.com","widgets":[{"definition":{"requests":[{"q":"avg:system.load.1{*}"}],"type":"geomap","style":{"palette":"hostmap_blues","palette_flip":false},"view":{"focus":"WORLD"}},"id":2235960280314117},{"definition":{"style":{"palette":"hostmap_blues","palette_flip":false},"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test Custom Link label"}],"time":{"live_span":"1h"},"requests":[{"log_query":{"index":"*","search":{"query":""},"compute":{"aggregation":"count"}}}],"type":"geomap","view":{"focus":"WORLD"}},"id":481676151794705},{"definition":{"requests":[{"rum_query":{"index":"*","search":{"query":""},"compute":{"aggregation":"count"}}}],"view":{"focus":"WORLD"},"type":"geomap","style":{"palette":"hostmap_blues","palette_flip":false},"time":{"live_span":"4h"}},"id":2786918167906999}],"layout_type":"ordered"}' + body: '{"notify_list":[],"description":"Created using the Datadog provider in Terraform","restricted_roles":["284d8b66-93f9-11eb-9c37-da7ad0900002","043a2842-e140-11e8-bb04-7fd10177666e","657de3a2-29f8-11eb-83b5-6b8ebfb2f184","e82bf27a-986c-11eb-9cba-da7ad0900002","f257ba30-dbb2-11ea-a5ff-5fd1d308318a","6bf314be-5c16-11eb-8e98-2356ea436065","62cbc476-5c16-11eb-8e98-0388ea7a41f8","08604de8-1dca-11eb-800c-9f5f55ff734d","9b3ab170-b768-11eb-a45a-da7ad0900002","7a83f306-96ca-11eb-9c74-da7ad0900002","16169788-28e4-11eb-832c-fb84162ef3eb","4de53192-9946-11eb-9cee-da7ad0900002","1302282c-b93b-11eb-a436-da7ad0900002","17d73994-7531-11eb-94b9-da7ad0900002"],"author_name":"Qin Chen","template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"h82-9st-jkz","title":"tf-TestAccDatadogDashboardGeomap-local-1621865532","url":"/dashboard/h82-9st-jkz/tf-testaccdatadogdashboardgeomap-local-1621865532","created_at":"2021-05-24T14:12:14.619413+00:00","modified_at":"2021-05-24T14:12:14.619413+00:00","author_handle":"qin.chen@datadoghq.com","widgets":[{"definition":{"requests":[{"q":"avg:system.load.1{*}"}],"type":"geomap","style":{"palette":"hostmap_blues","palette_flip":false},"view":{"focus":"WORLD"}},"id":604630031891501},{"definition":{"style":{"palette":"hostmap_blues","palette_flip":false},"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test Custom Link label"},{"override_label":"logs","is_hidden":true,"link":"https://app.datadoghq.com/dashboard/lists"}],"time":{"live_span":"1h"},"requests":[{"log_query":{"index":"*","search":{"query":""},"compute":{"aggregation":"count"}}}],"type":"geomap","view":{"focus":"WORLD"}},"id":1964070055336822},{"definition":{"requests":[{"rum_query":{"index":"*","search":{"query":""},"compute":{"aggregation":"count"}}}],"view":{"focus":"WORLD"},"type":"geomap","style":{"palette":"hostmap_blues","palette_flip":false},"time":{"live_span":"4h"}},"id":7318753936109029}],"layout_type":"ordered"}' headers: Cache-Control: - no-cache @@ -70,7 +70,7 @@ interactions: Content-Type: - application/json Date: - - Tue, 27 Apr 2021 06:58:32 GMT + - Mon, 24 May 2021 14:12:14 GMT Pragma: - no-cache Strict-Transport-Security: @@ -80,9 +80,9 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Debug: - - twvpGlmuom5y6A0pjGtXzTf554cmwJgTcCZ71fK4H/RDi+v5ehBK0zQiRcTJQG5C + - S1wfaMZOKGT/IoMw6fqAwAwGWo2vQ44sjF3YzuETnQfxZO2T5eJbs0aX3UKb9Dwu X-Dd-Version: - - "35.4397207" + - "35.4593741" X-Frame-Options: - SAMEORIGIN status: 200 OK @@ -97,11 +97,11 @@ interactions: Dd-Operation-Id: - GetDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.19 (go go1.15.7; os darwin; arch amd64) - url: https://api.datadoghq.com/api/v1/dashboard/3s6-igk-ih5 + - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) + url: https://api.datadoghq.com/api/v1/dashboard/h82-9st-jkz 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":"3s6-igk-ih5","title":"tf-TestAccDatadogDashboardGeomap-local-1619506707","url":"/dashboard/3s6-igk-ih5/tf-testaccdatadogdashboardgeomap-local-1619506707","created_at":"2021-04-27T06:58:29.156444+00:00","modified_at":"2021-04-27T06:58:29.156444+00:00","author_handle":"frog@datadoghq.com","widgets":[{"definition":{"requests":[{"q":"avg:system.load.1{*}"}],"type":"geomap","style":{"palette":"hostmap_blues","palette_flip":false},"view":{"focus":"WORLD"}},"id":2235960280314117},{"definition":{"style":{"palette":"hostmap_blues","palette_flip":false},"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test Custom Link label"}],"time":{"live_span":"1h"},"requests":[{"log_query":{"index":"*","search":{"query":""},"compute":{"aggregation":"count"}}}],"type":"geomap","view":{"focus":"WORLD"}},"id":481676151794705},{"definition":{"requests":[{"rum_query":{"index":"*","search":{"query":""},"compute":{"aggregation":"count"}}}],"view":{"focus":"WORLD"},"type":"geomap","style":{"palette":"hostmap_blues","palette_flip":false},"time":{"live_span":"4h"}},"id":2786918167906999}],"layout_type":"ordered"}' + body: '{"notify_list":[],"description":"Created using the Datadog provider in Terraform","restricted_roles":["284d8b66-93f9-11eb-9c37-da7ad0900002","043a2842-e140-11e8-bb04-7fd10177666e","657de3a2-29f8-11eb-83b5-6b8ebfb2f184","e82bf27a-986c-11eb-9cba-da7ad0900002","f257ba30-dbb2-11ea-a5ff-5fd1d308318a","6bf314be-5c16-11eb-8e98-2356ea436065","62cbc476-5c16-11eb-8e98-0388ea7a41f8","08604de8-1dca-11eb-800c-9f5f55ff734d","9b3ab170-b768-11eb-a45a-da7ad0900002","7a83f306-96ca-11eb-9c74-da7ad0900002","16169788-28e4-11eb-832c-fb84162ef3eb","4de53192-9946-11eb-9cee-da7ad0900002","1302282c-b93b-11eb-a436-da7ad0900002","17d73994-7531-11eb-94b9-da7ad0900002"],"author_name":"Qin Chen","template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"h82-9st-jkz","title":"tf-TestAccDatadogDashboardGeomap-local-1621865532","url":"/dashboard/h82-9st-jkz/tf-testaccdatadogdashboardgeomap-local-1621865532","created_at":"2021-05-24T14:12:14.619413+00:00","modified_at":"2021-05-24T14:12:14.619413+00:00","author_handle":"qin.chen@datadoghq.com","widgets":[{"definition":{"requests":[{"q":"avg:system.load.1{*}"}],"type":"geomap","style":{"palette":"hostmap_blues","palette_flip":false},"view":{"focus":"WORLD"}},"id":604630031891501},{"definition":{"style":{"palette":"hostmap_blues","palette_flip":false},"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test Custom Link label"},{"override_label":"logs","is_hidden":true,"link":"https://app.datadoghq.com/dashboard/lists"}],"time":{"live_span":"1h"},"requests":[{"log_query":{"index":"*","search":{"query":""},"compute":{"aggregation":"count"}}}],"type":"geomap","view":{"focus":"WORLD"}},"id":1964070055336822},{"definition":{"requests":[{"rum_query":{"index":"*","search":{"query":""},"compute":{"aggregation":"count"}}}],"view":{"focus":"WORLD"},"type":"geomap","style":{"palette":"hostmap_blues","palette_flip":false},"time":{"live_span":"4h"}},"id":7318753936109029}],"layout_type":"ordered"}' headers: Cache-Control: - no-cache @@ -112,7 +112,7 @@ interactions: Content-Type: - application/json Date: - - Tue, 27 Apr 2021 06:58:32 GMT + - Mon, 24 May 2021 14:12:14 GMT Pragma: - no-cache Strict-Transport-Security: @@ -122,9 +122,9 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Debug: - - F5gm0Rce1/Abr9/0Fw8HAqWfiz0FdiH8er/AXnN6lOn3L6KyGgbsLCwgPlob1No8 + - mNzaoDhdDKO7t4QSrAe5X7pHd0bJND187D+vRbwoluXouE2m1UaQQX0RGCvRpLVE X-Dd-Version: - - "35.4397207" + - "35.4593741" X-Frame-Options: - SAMEORIGIN status: 200 OK @@ -139,11 +139,11 @@ interactions: Dd-Operation-Id: - GetDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.19 (go go1.15.7; os darwin; arch amd64) - url: https://api.datadoghq.com/api/v1/dashboard/3s6-igk-ih5 + - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) + url: https://api.datadoghq.com/api/v1/dashboard/h82-9st-jkz 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":"3s6-igk-ih5","title":"tf-TestAccDatadogDashboardGeomap-local-1619506707","url":"/dashboard/3s6-igk-ih5/tf-testaccdatadogdashboardgeomap-local-1619506707","created_at":"2021-04-27T06:58:29.156444+00:00","modified_at":"2021-04-27T06:58:29.156444+00:00","author_handle":"frog@datadoghq.com","widgets":[{"definition":{"requests":[{"q":"avg:system.load.1{*}"}],"type":"geomap","style":{"palette":"hostmap_blues","palette_flip":false},"view":{"focus":"WORLD"}},"id":2235960280314117},{"definition":{"style":{"palette":"hostmap_blues","palette_flip":false},"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test Custom Link label"}],"time":{"live_span":"1h"},"requests":[{"log_query":{"index":"*","search":{"query":""},"compute":{"aggregation":"count"}}}],"type":"geomap","view":{"focus":"WORLD"}},"id":481676151794705},{"definition":{"requests":[{"rum_query":{"index":"*","search":{"query":""},"compute":{"aggregation":"count"}}}],"view":{"focus":"WORLD"},"type":"geomap","style":{"palette":"hostmap_blues","palette_flip":false},"time":{"live_span":"4h"}},"id":2786918167906999}],"layout_type":"ordered"}' + body: '{"notify_list":[],"description":"Created using the Datadog provider in Terraform","restricted_roles":["284d8b66-93f9-11eb-9c37-da7ad0900002","043a2842-e140-11e8-bb04-7fd10177666e","657de3a2-29f8-11eb-83b5-6b8ebfb2f184","e82bf27a-986c-11eb-9cba-da7ad0900002","f257ba30-dbb2-11ea-a5ff-5fd1d308318a","6bf314be-5c16-11eb-8e98-2356ea436065","62cbc476-5c16-11eb-8e98-0388ea7a41f8","08604de8-1dca-11eb-800c-9f5f55ff734d","9b3ab170-b768-11eb-a45a-da7ad0900002","7a83f306-96ca-11eb-9c74-da7ad0900002","16169788-28e4-11eb-832c-fb84162ef3eb","4de53192-9946-11eb-9cee-da7ad0900002","1302282c-b93b-11eb-a436-da7ad0900002","17d73994-7531-11eb-94b9-da7ad0900002"],"author_name":"Qin Chen","template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"h82-9st-jkz","title":"tf-TestAccDatadogDashboardGeomap-local-1621865532","url":"/dashboard/h82-9st-jkz/tf-testaccdatadogdashboardgeomap-local-1621865532","created_at":"2021-05-24T14:12:14.619413+00:00","modified_at":"2021-05-24T14:12:14.619413+00:00","author_handle":"qin.chen@datadoghq.com","widgets":[{"definition":{"requests":[{"q":"avg:system.load.1{*}"}],"type":"geomap","style":{"palette":"hostmap_blues","palette_flip":false},"view":{"focus":"WORLD"}},"id":604630031891501},{"definition":{"style":{"palette":"hostmap_blues","palette_flip":false},"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test Custom Link label"},{"override_label":"logs","is_hidden":true,"link":"https://app.datadoghq.com/dashboard/lists"}],"time":{"live_span":"1h"},"requests":[{"log_query":{"index":"*","search":{"query":""},"compute":{"aggregation":"count"}}}],"type":"geomap","view":{"focus":"WORLD"}},"id":1964070055336822},{"definition":{"requests":[{"rum_query":{"index":"*","search":{"query":""},"compute":{"aggregation":"count"}}}],"view":{"focus":"WORLD"},"type":"geomap","style":{"palette":"hostmap_blues","palette_flip":false},"time":{"live_span":"4h"}},"id":7318753936109029}],"layout_type":"ordered"}' headers: Cache-Control: - no-cache @@ -154,7 +154,7 @@ interactions: Content-Type: - application/json Date: - - Tue, 27 Apr 2021 06:58:33 GMT + - Mon, 24 May 2021 14:12:15 GMT Pragma: - no-cache Strict-Transport-Security: @@ -164,9 +164,9 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Debug: - - tpRCH6w417YjBovRJ8VmtuXmNONVYiRp2c8d2AxjPdGBn8PCtgG4vAztrx3qUZAN + - l8RQo2maZqJf6GFThBbKNE6dvthz6njusVtau3dPXJWL2RLFoN81H+BLPB/1xgs1 X-Dd-Version: - - "35.4397207" + - "35.4593741" X-Frame-Options: - SAMEORIGIN status: 200 OK @@ -181,11 +181,11 @@ interactions: Dd-Operation-Id: - GetDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.19 (go go1.15.7; os darwin; arch amd64) - url: https://api.datadoghq.com/api/v1/dashboard/3s6-igk-ih5 + - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) + url: https://api.datadoghq.com/api/v1/dashboard/h82-9st-jkz 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":"3s6-igk-ih5","title":"tf-TestAccDatadogDashboardGeomap-local-1619506707","url":"/dashboard/3s6-igk-ih5/tf-testaccdatadogdashboardgeomap-local-1619506707","created_at":"2021-04-27T06:58:29.156444+00:00","modified_at":"2021-04-27T06:58:29.156444+00:00","author_handle":"frog@datadoghq.com","widgets":[{"definition":{"requests":[{"q":"avg:system.load.1{*}"}],"type":"geomap","style":{"palette":"hostmap_blues","palette_flip":false},"view":{"focus":"WORLD"}},"id":2235960280314117},{"definition":{"style":{"palette":"hostmap_blues","palette_flip":false},"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test Custom Link label"}],"time":{"live_span":"1h"},"requests":[{"log_query":{"index":"*","search":{"query":""},"compute":{"aggregation":"count"}}}],"type":"geomap","view":{"focus":"WORLD"}},"id":481676151794705},{"definition":{"requests":[{"rum_query":{"index":"*","search":{"query":""},"compute":{"aggregation":"count"}}}],"view":{"focus":"WORLD"},"type":"geomap","style":{"palette":"hostmap_blues","palette_flip":false},"time":{"live_span":"4h"}},"id":2786918167906999}],"layout_type":"ordered"}' + body: '{"notify_list":[],"description":"Created using the Datadog provider in Terraform","restricted_roles":["284d8b66-93f9-11eb-9c37-da7ad0900002","043a2842-e140-11e8-bb04-7fd10177666e","657de3a2-29f8-11eb-83b5-6b8ebfb2f184","e82bf27a-986c-11eb-9cba-da7ad0900002","f257ba30-dbb2-11ea-a5ff-5fd1d308318a","6bf314be-5c16-11eb-8e98-2356ea436065","62cbc476-5c16-11eb-8e98-0388ea7a41f8","08604de8-1dca-11eb-800c-9f5f55ff734d","9b3ab170-b768-11eb-a45a-da7ad0900002","7a83f306-96ca-11eb-9c74-da7ad0900002","16169788-28e4-11eb-832c-fb84162ef3eb","4de53192-9946-11eb-9cee-da7ad0900002","1302282c-b93b-11eb-a436-da7ad0900002","17d73994-7531-11eb-94b9-da7ad0900002"],"author_name":"Qin Chen","template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"h82-9st-jkz","title":"tf-TestAccDatadogDashboardGeomap-local-1621865532","url":"/dashboard/h82-9st-jkz/tf-testaccdatadogdashboardgeomap-local-1621865532","created_at":"2021-05-24T14:12:14.619413+00:00","modified_at":"2021-05-24T14:12:14.619413+00:00","author_handle":"qin.chen@datadoghq.com","widgets":[{"definition":{"requests":[{"q":"avg:system.load.1{*}"}],"type":"geomap","style":{"palette":"hostmap_blues","palette_flip":false},"view":{"focus":"WORLD"}},"id":604630031891501},{"definition":{"style":{"palette":"hostmap_blues","palette_flip":false},"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test Custom Link label"},{"override_label":"logs","is_hidden":true,"link":"https://app.datadoghq.com/dashboard/lists"}],"time":{"live_span":"1h"},"requests":[{"log_query":{"index":"*","search":{"query":""},"compute":{"aggregation":"count"}}}],"type":"geomap","view":{"focus":"WORLD"}},"id":1964070055336822},{"definition":{"requests":[{"rum_query":{"index":"*","search":{"query":""},"compute":{"aggregation":"count"}}}],"view":{"focus":"WORLD"},"type":"geomap","style":{"palette":"hostmap_blues","palette_flip":false},"time":{"live_span":"4h"}},"id":7318753936109029}],"layout_type":"ordered"}' headers: Cache-Control: - no-cache @@ -196,7 +196,7 @@ interactions: Content-Type: - application/json Date: - - Tue, 27 Apr 2021 06:58:33 GMT + - Mon, 24 May 2021 14:12:17 GMT Pragma: - no-cache Strict-Transport-Security: @@ -206,9 +206,9 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Debug: - - mNzaoDhdDKO7t4QSrAe5X7pHd0bJND187D+vRbwoluXouE2m1UaQQX0RGCvRpLVE + - PhosSd3Ch1B6B0DXI71steKUi7XhPDttnPiIP1NdXTw0VJNWpoUnYyBmODS5ne3q X-Dd-Version: - - "35.4397207" + - "35.4593741" X-Frame-Options: - SAMEORIGIN status: 200 OK @@ -223,11 +223,11 @@ interactions: Dd-Operation-Id: - DeleteDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.19 (go go1.15.7; os darwin; arch amd64) - url: https://api.datadoghq.com/api/v1/dashboard/3s6-igk-ih5 + - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) + url: https://api.datadoghq.com/api/v1/dashboard/h82-9st-jkz method: DELETE response: - body: '{"deleted_dashboard_id":"3s6-igk-ih5"}' + body: '{"deleted_dashboard_id":"h82-9st-jkz"}' headers: Cache-Control: - no-cache @@ -238,7 +238,7 @@ interactions: Content-Type: - application/json Date: - - Tue, 27 Apr 2021 06:58:34 GMT + - Mon, 24 May 2021 14:12:18 GMT Pragma: - no-cache Strict-Transport-Security: @@ -248,9 +248,9 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Debug: - - Um4CoU685QqAscnxhS5BD+goWu2yX1Jd4zCfGzSsEvPPIm1qURZaF8dlLl/OEY4I + - dPySkcOzIZtKyMKDAAzuysY3gNGGj6RtYogGuSb76E8mPvoqzREyRp6lPYm91hQU X-Dd-Version: - - "35.4397207" + - "35.4593741" X-Frame-Options: - SAMEORIGIN status: 200 OK @@ -265,11 +265,11 @@ interactions: Dd-Operation-Id: - GetDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.19 (go go1.15.7; os darwin; arch amd64) - url: https://api.datadoghq.com/api/v1/dashboard/3s6-igk-ih5 + - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) + url: https://api.datadoghq.com/api/v1/dashboard/h82-9st-jkz method: GET response: - body: '{"errors": ["Dashboard with ID 3s6-igk-ih5 not found"]}' + body: '{"errors": ["Dashboard with ID h82-9st-jkz not found"]}' headers: Cache-Control: - no-cache @@ -280,7 +280,7 @@ interactions: Content-Type: - application/json Date: - - Tue, 27 Apr 2021 06:58:34 GMT + - Mon, 24 May 2021 14:12:18 GMT Pragma: - no-cache Strict-Transport-Security: @@ -290,7 +290,7 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Version: - - "35.4397207" + - "35.4593741" X-Frame-Options: - SAMEORIGIN status: 404 Not Found diff --git a/datadog/tests/cassettes/TestAccDatadogDashboardGeomapFormula.freeze b/datadog/tests/cassettes/TestAccDatadogDashboardGeomapFormula.freeze index 12046087a..f1246b86c 100644 --- a/datadog/tests/cassettes/TestAccDatadogDashboardGeomapFormula.freeze +++ b/datadog/tests/cassettes/TestAccDatadogDashboardGeomapFormula.freeze @@ -1 +1 @@ -2021-04-27T08:58:27.619933+02:00 \ No newline at end of file +2021-05-24T10:37:36.417899-04:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogDashboardGeomapFormula.yaml b/datadog/tests/cassettes/TestAccDatadogDashboardGeomapFormula.yaml index d8271a5a9..8b9d8e09b 100644 --- a/datadog/tests/cassettes/TestAccDatadogDashboardGeomapFormula.yaml +++ b/datadog/tests/cassettes/TestAccDatadogDashboardGeomapFormula.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-TestAccDatadogDashboardGeomapFormula-local-1619506707","widgets":[{"definition":{"requests":[{"formulas":[{"formula":"query1 + query2","limit":{"count":10,"order":"asc"}}],"queries":[{"aggregator":"sum","data_source":"metrics","name":"query1","query":"avg:system.cpu.system{*} by {datacenter}"},{"aggregator":"sum","data_source":"metrics","name":"query2","query":"avg:system.load.1{*} by {datacenter}"}],"response_format":"scalar"}],"style":{"palette":"hostmap_blues","palette_flip":false},"type":"geomap","view":{"focus":"WORLD"}}},{"definition":{"requests":[{"formulas":[{"formula":"query1","limit":{"count":25,"order":"desc"}}],"queries":[{"compute":{"aggregation":"count"},"data_source":"rum","indexes":["*"],"name":"query1","search":{"query":"abc"}}],"response_format":"scalar"}],"style":{"palette":"hostmap_blues","palette_flip":false},"type":"geomap","view":{"focus":"WORLD"}}},{"definition":{"custom_links":[{"label":"my custom link","link":"https://app.datadoghq.com/dashboard/lists"}],"requests":[{"formulas":[{"formula":"query1"}],"queries":[{"compute":{"aggregation":"count"},"data_source":"security_signals","indexes":["*"],"name":"query1"}],"response_format":"scalar"}],"style":{"palette":"hostmap_blues","palette_flip":false},"time":{"live_span":"4h"},"type":"geomap","view":{"focus":"WORLD"}}}]} + {"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-TestAccDatadogDashboardGeomapFormula-local-1621865532","widgets":[{"definition":{"requests":[{"formulas":[{"formula":"query1 + query2","limit":{"count":10,"order":"asc"}}],"queries":[{"aggregator":"sum","data_source":"metrics","name":"query1","query":"avg:system.cpu.system{*} by {datacenter}"},{"aggregator":"sum","data_source":"metrics","name":"query2","query":"avg:system.load.1{*} by {datacenter}"}],"response_format":"scalar"}],"style":{"palette":"hostmap_blues","palette_flip":false},"type":"geomap","view":{"focus":"WORLD"}}},{"definition":{"requests":[{"formulas":[{"formula":"query1","limit":{"count":25,"order":"desc"}}],"queries":[{"compute":{"aggregation":"count"},"data_source":"rum","indexes":["*"],"name":"query1","search":{"query":"abc"}}],"response_format":"scalar"}],"style":{"palette":"hostmap_blues","palette_flip":false},"type":"geomap","view":{"focus":"WORLD"}}},{"definition":{"custom_links":[{"label":"my custom link","link":"https://app.datadoghq.com/dashboard/lists"}],"requests":[{"formulas":[{"formula":"query1"}],"queries":[{"compute":{"aggregation":"count"},"data_source":"security_signals","indexes":["*"],"name":"query1"}],"response_format":"scalar"}],"style":{"palette":"hostmap_blues","palette_flip":false},"time":{"live_span":"4h"},"type":"geomap","view":{"focus":"WORLD"}}}]} form: {} headers: Accept: @@ -13,11 +13,11 @@ interactions: Dd-Operation-Id: - CreateDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.19 (go go1.15.7; os darwin; arch amd64) + - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) 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":"3jk-mfp-nsn","title":"tf-TestAccDatadogDashboardGeomapFormula-local-1619506707","url":"/dashboard/3jk-mfp-nsn/tf-testaccdatadogdashboardgeomapformula-local-1619506707","created_at":"2021-04-27T06:58:29.303490+00:00","modified_at":"2021-04-27T06:58:29.303490+00:00","author_handle":"frog@datadoghq.com","widgets":[{"definition":{"requests":[{"formulas":[{"formula":"query1 + query2","limit":{"count":10,"order":"asc"}}],"response_format":"scalar","queries":[{"aggregator":"sum","data_source":"metrics","name":"query1","query":"avg:system.cpu.system{*} by {datacenter}"},{"aggregator":"sum","data_source":"metrics","name":"query2","query":"avg:system.load.1{*} by {datacenter}"}]}],"type":"geomap","style":{"palette":"hostmap_blues","palette_flip":false},"view":{"focus":"WORLD"}},"id":1149146342854926},{"definition":{"requests":[{"formulas":[{"formula":"query1","limit":{"count":25,"order":"desc"}}],"response_format":"scalar","queries":[{"search":{"query":"abc"},"data_source":"rum","compute":{"aggregation":"count"},"name":"query1","indexes":["*"]}]}],"type":"geomap","style":{"palette":"hostmap_blues","palette_flip":false},"view":{"focus":"WORLD"}},"id":5478869481740425},{"definition":{"style":{"palette":"hostmap_blues","palette_flip":false},"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"my custom link"}],"time":{"live_span":"4h"},"requests":[{"formulas":[{"formula":"query1"}],"response_format":"scalar","queries":[{"data_source":"security_signals","compute":{"aggregation":"count"},"name":"query1","indexes":["*"]}]}],"type":"geomap","view":{"focus":"WORLD"}},"id":18914160855721}],"layout_type":"ordered"}' + body: '{"notify_list":[],"description":"Created using the Datadog provider in Terraform","restricted_roles":["043a2842-e140-11e8-bb04-7fd10177666e","08604de8-1dca-11eb-800c-9f5f55ff734d","1302282c-b93b-11eb-a436-da7ad0900002","16169788-28e4-11eb-832c-fb84162ef3eb","17d73994-7531-11eb-94b9-da7ad0900002","284d8b66-93f9-11eb-9c37-da7ad0900002","4de53192-9946-11eb-9cee-da7ad0900002","62cbc476-5c16-11eb-8e98-0388ea7a41f8","657de3a2-29f8-11eb-83b5-6b8ebfb2f184","6bf314be-5c16-11eb-8e98-2356ea436065","7a83f306-96ca-11eb-9c74-da7ad0900002","9b3ab170-b768-11eb-a45a-da7ad0900002","e82bf27a-986c-11eb-9cba-da7ad0900002","f257ba30-dbb2-11ea-a5ff-5fd1d308318a"],"author_name":"Qin Chen","template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"kcf-6ad-98z","title":"tf-TestAccDatadogDashboardGeomapFormula-local-1621865532","url":"/dashboard/kcf-6ad-98z/tf-testaccdatadogdashboardgeomapformula-local-1621865532","created_at":"2021-05-24T14:12:14.618486+00:00","modified_at":"2021-05-24T14:12:14.618486+00:00","author_handle":"qin.chen@datadoghq.com","widgets":[{"definition":{"requests":[{"formulas":[{"formula":"query1 + query2","limit":{"count":10,"order":"asc"}}],"response_format":"scalar","queries":[{"aggregator":"sum","data_source":"metrics","name":"query1","query":"avg:system.cpu.system{*} by {datacenter}"},{"aggregator":"sum","data_source":"metrics","name":"query2","query":"avg:system.load.1{*} by {datacenter}"}]}],"type":"geomap","style":{"palette":"hostmap_blues","palette_flip":false},"view":{"focus":"WORLD"}},"id":2268144336676381},{"definition":{"requests":[{"formulas":[{"formula":"query1","limit":{"count":25,"order":"desc"}}],"response_format":"scalar","queries":[{"search":{"query":"abc"},"data_source":"rum","compute":{"aggregation":"count"},"name":"query1","indexes":["*"]}]}],"type":"geomap","style":{"palette":"hostmap_blues","palette_flip":false},"view":{"focus":"WORLD"}},"id":8386462263259333},{"definition":{"style":{"palette":"hostmap_blues","palette_flip":false},"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"my custom link"}],"time":{"live_span":"4h"},"requests":[{"formulas":[{"formula":"query1"}],"response_format":"scalar","queries":[{"data_source":"security_signals","compute":{"aggregation":"count"},"name":"query1","indexes":["*"]}]}],"type":"geomap","view":{"focus":"WORLD"}},"id":2274084357526136}],"layout_type":"ordered"}' headers: Cache-Control: - no-cache @@ -28,7 +28,7 @@ interactions: Content-Type: - application/json Date: - - Tue, 27 Apr 2021 06:58:32 GMT + - Mon, 24 May 2021 14:12:14 GMT Pragma: - no-cache Strict-Transport-Security: @@ -38,9 +38,9 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Debug: - - Um4CoU685QqAscnxhS5BD+goWu2yX1Jd4zCfGzSsEvPPIm1qURZaF8dlLl/OEY4I + - Wjq53IVIwnB4SiR238oOYgHFMq/ZYP0LQ/Dv8C2fFLBwTje/dWJHu6pI6vIOK1zG X-Dd-Version: - - "35.4397207" + - "35.4593741" X-Frame-Options: - SAMEORIGIN status: 200 OK @@ -55,11 +55,11 @@ interactions: Dd-Operation-Id: - GetDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.19 (go go1.15.7; os darwin; arch amd64) - url: https://api.datadoghq.com/api/v1/dashboard/3jk-mfp-nsn + - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) + url: https://api.datadoghq.com/api/v1/dashboard/kcf-6ad-98z 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":"3jk-mfp-nsn","title":"tf-TestAccDatadogDashboardGeomapFormula-local-1619506707","url":"/dashboard/3jk-mfp-nsn/tf-testaccdatadogdashboardgeomapformula-local-1619506707","created_at":"2021-04-27T06:58:29.303490+00:00","modified_at":"2021-04-27T06:58:29.303490+00:00","author_handle":"frog@datadoghq.com","widgets":[{"definition":{"requests":[{"formulas":[{"formula":"query1 + query2","limit":{"count":10,"order":"asc"}}],"response_format":"scalar","queries":[{"aggregator":"sum","data_source":"metrics","name":"query1","query":"avg:system.cpu.system{*} by {datacenter}"},{"aggregator":"sum","data_source":"metrics","name":"query2","query":"avg:system.load.1{*} by {datacenter}"}]}],"type":"geomap","style":{"palette":"hostmap_blues","palette_flip":false},"view":{"focus":"WORLD"}},"id":1149146342854926},{"definition":{"requests":[{"formulas":[{"formula":"query1","limit":{"count":25,"order":"desc"}}],"response_format":"scalar","queries":[{"search":{"query":"abc"},"data_source":"rum","compute":{"aggregation":"count"},"name":"query1","indexes":["*"]}]}],"type":"geomap","style":{"palette":"hostmap_blues","palette_flip":false},"view":{"focus":"WORLD"}},"id":5478869481740425},{"definition":{"style":{"palette":"hostmap_blues","palette_flip":false},"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"my custom link"}],"time":{"live_span":"4h"},"requests":[{"formulas":[{"formula":"query1"}],"response_format":"scalar","queries":[{"data_source":"security_signals","compute":{"aggregation":"count"},"name":"query1","indexes":["*"]}]}],"type":"geomap","view":{"focus":"WORLD"}},"id":18914160855721}],"layout_type":"ordered"}' + body: '{"notify_list":[],"description":"Created using the Datadog provider in Terraform","restricted_roles":["284d8b66-93f9-11eb-9c37-da7ad0900002","043a2842-e140-11e8-bb04-7fd10177666e","657de3a2-29f8-11eb-83b5-6b8ebfb2f184","e82bf27a-986c-11eb-9cba-da7ad0900002","f257ba30-dbb2-11ea-a5ff-5fd1d308318a","6bf314be-5c16-11eb-8e98-2356ea436065","62cbc476-5c16-11eb-8e98-0388ea7a41f8","08604de8-1dca-11eb-800c-9f5f55ff734d","9b3ab170-b768-11eb-a45a-da7ad0900002","7a83f306-96ca-11eb-9c74-da7ad0900002","16169788-28e4-11eb-832c-fb84162ef3eb","4de53192-9946-11eb-9cee-da7ad0900002","1302282c-b93b-11eb-a436-da7ad0900002","17d73994-7531-11eb-94b9-da7ad0900002"],"author_name":"Qin Chen","template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"kcf-6ad-98z","title":"tf-TestAccDatadogDashboardGeomapFormula-local-1621865532","url":"/dashboard/kcf-6ad-98z/tf-testaccdatadogdashboardgeomapformula-local-1621865532","created_at":"2021-05-24T14:12:14.618486+00:00","modified_at":"2021-05-24T14:12:14.618486+00:00","author_handle":"qin.chen@datadoghq.com","widgets":[{"definition":{"requests":[{"formulas":[{"formula":"query1 + query2","limit":{"count":10,"order":"asc"}}],"response_format":"scalar","queries":[{"aggregator":"sum","data_source":"metrics","name":"query1","query":"avg:system.cpu.system{*} by {datacenter}"},{"aggregator":"sum","data_source":"metrics","name":"query2","query":"avg:system.load.1{*} by {datacenter}"}]}],"type":"geomap","style":{"palette":"hostmap_blues","palette_flip":false},"view":{"focus":"WORLD"}},"id":2268144336676381},{"definition":{"requests":[{"formulas":[{"formula":"query1","limit":{"count":25,"order":"desc"}}],"response_format":"scalar","queries":[{"search":{"query":"abc"},"data_source":"rum","compute":{"aggregation":"count"},"name":"query1","indexes":["*"]}]}],"type":"geomap","style":{"palette":"hostmap_blues","palette_flip":false},"view":{"focus":"WORLD"}},"id":8386462263259333},{"definition":{"style":{"palette":"hostmap_blues","palette_flip":false},"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"my custom link"}],"time":{"live_span":"4h"},"requests":[{"formulas":[{"formula":"query1"}],"response_format":"scalar","queries":[{"data_source":"security_signals","compute":{"aggregation":"count"},"name":"query1","indexes":["*"]}]}],"type":"geomap","view":{"focus":"WORLD"}},"id":2274084357526136}],"layout_type":"ordered"}' headers: Cache-Control: - no-cache @@ -70,7 +70,7 @@ interactions: Content-Type: - application/json Date: - - Tue, 27 Apr 2021 06:58:32 GMT + - Mon, 24 May 2021 14:12:14 GMT Pragma: - no-cache Strict-Transport-Security: @@ -80,9 +80,9 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Debug: - - SY1h8ScsWq+kYmtbh63ltMLFAZsQjqfrgvdfAoRX+9TzT1sgMBRYaFRwfWWRRe9a + - bgHykj7A9bfZx0Y5ZO3swhhp5tGUSNJHqFWR868+qg087CYrDOd5hQslC+noiEtH X-Dd-Version: - - "35.4397207" + - "35.4593741" X-Frame-Options: - SAMEORIGIN status: 200 OK @@ -97,11 +97,11 @@ interactions: Dd-Operation-Id: - GetDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.19 (go go1.15.7; os darwin; arch amd64) - url: https://api.datadoghq.com/api/v1/dashboard/3jk-mfp-nsn + - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) + url: https://api.datadoghq.com/api/v1/dashboard/kcf-6ad-98z 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":"3jk-mfp-nsn","title":"tf-TestAccDatadogDashboardGeomapFormula-local-1619506707","url":"/dashboard/3jk-mfp-nsn/tf-testaccdatadogdashboardgeomapformula-local-1619506707","created_at":"2021-04-27T06:58:29.303490+00:00","modified_at":"2021-04-27T06:58:29.303490+00:00","author_handle":"frog@datadoghq.com","widgets":[{"definition":{"requests":[{"formulas":[{"formula":"query1 + query2","limit":{"count":10,"order":"asc"}}],"response_format":"scalar","queries":[{"aggregator":"sum","data_source":"metrics","name":"query1","query":"avg:system.cpu.system{*} by {datacenter}"},{"aggregator":"sum","data_source":"metrics","name":"query2","query":"avg:system.load.1{*} by {datacenter}"}]}],"type":"geomap","style":{"palette":"hostmap_blues","palette_flip":false},"view":{"focus":"WORLD"}},"id":1149146342854926},{"definition":{"requests":[{"formulas":[{"formula":"query1","limit":{"count":25,"order":"desc"}}],"response_format":"scalar","queries":[{"search":{"query":"abc"},"data_source":"rum","compute":{"aggregation":"count"},"name":"query1","indexes":["*"]}]}],"type":"geomap","style":{"palette":"hostmap_blues","palette_flip":false},"view":{"focus":"WORLD"}},"id":5478869481740425},{"definition":{"style":{"palette":"hostmap_blues","palette_flip":false},"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"my custom link"}],"time":{"live_span":"4h"},"requests":[{"formulas":[{"formula":"query1"}],"response_format":"scalar","queries":[{"data_source":"security_signals","compute":{"aggregation":"count"},"name":"query1","indexes":["*"]}]}],"type":"geomap","view":{"focus":"WORLD"}},"id":18914160855721}],"layout_type":"ordered"}' + body: '{"notify_list":[],"description":"Created using the Datadog provider in Terraform","restricted_roles":["284d8b66-93f9-11eb-9c37-da7ad0900002","043a2842-e140-11e8-bb04-7fd10177666e","657de3a2-29f8-11eb-83b5-6b8ebfb2f184","e82bf27a-986c-11eb-9cba-da7ad0900002","f257ba30-dbb2-11ea-a5ff-5fd1d308318a","6bf314be-5c16-11eb-8e98-2356ea436065","62cbc476-5c16-11eb-8e98-0388ea7a41f8","08604de8-1dca-11eb-800c-9f5f55ff734d","9b3ab170-b768-11eb-a45a-da7ad0900002","7a83f306-96ca-11eb-9c74-da7ad0900002","16169788-28e4-11eb-832c-fb84162ef3eb","4de53192-9946-11eb-9cee-da7ad0900002","1302282c-b93b-11eb-a436-da7ad0900002","17d73994-7531-11eb-94b9-da7ad0900002"],"author_name":"Qin Chen","template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"kcf-6ad-98z","title":"tf-TestAccDatadogDashboardGeomapFormula-local-1621865532","url":"/dashboard/kcf-6ad-98z/tf-testaccdatadogdashboardgeomapformula-local-1621865532","created_at":"2021-05-24T14:12:14.618486+00:00","modified_at":"2021-05-24T14:12:14.618486+00:00","author_handle":"qin.chen@datadoghq.com","widgets":[{"definition":{"requests":[{"formulas":[{"formula":"query1 + query2","limit":{"count":10,"order":"asc"}}],"response_format":"scalar","queries":[{"aggregator":"sum","data_source":"metrics","name":"query1","query":"avg:system.cpu.system{*} by {datacenter}"},{"aggregator":"sum","data_source":"metrics","name":"query2","query":"avg:system.load.1{*} by {datacenter}"}]}],"type":"geomap","style":{"palette":"hostmap_blues","palette_flip":false},"view":{"focus":"WORLD"}},"id":2268144336676381},{"definition":{"requests":[{"formulas":[{"formula":"query1","limit":{"count":25,"order":"desc"}}],"response_format":"scalar","queries":[{"search":{"query":"abc"},"data_source":"rum","compute":{"aggregation":"count"},"name":"query1","indexes":["*"]}]}],"type":"geomap","style":{"palette":"hostmap_blues","palette_flip":false},"view":{"focus":"WORLD"}},"id":8386462263259333},{"definition":{"style":{"palette":"hostmap_blues","palette_flip":false},"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"my custom link"}],"time":{"live_span":"4h"},"requests":[{"formulas":[{"formula":"query1"}],"response_format":"scalar","queries":[{"data_source":"security_signals","compute":{"aggregation":"count"},"name":"query1","indexes":["*"]}]}],"type":"geomap","view":{"focus":"WORLD"}},"id":2274084357526136}],"layout_type":"ordered"}' headers: Cache-Control: - no-cache @@ -112,7 +112,7 @@ interactions: Content-Type: - application/json Date: - - Tue, 27 Apr 2021 06:58:32 GMT + - Mon, 24 May 2021 14:12:14 GMT Pragma: - no-cache Strict-Transport-Security: @@ -122,9 +122,9 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Debug: - - SY1h8ScsWq+kYmtbh63ltMLFAZsQjqfrgvdfAoRX+9TzT1sgMBRYaFRwfWWRRe9a + - S1wfaMZOKGT/IoMw6fqAwAwGWo2vQ44sjF3YzuETnQfxZO2T5eJbs0aX3UKb9Dwu X-Dd-Version: - - "35.4397207" + - "35.4593741" X-Frame-Options: - SAMEORIGIN status: 200 OK @@ -139,11 +139,11 @@ interactions: Dd-Operation-Id: - GetDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.19 (go go1.15.7; os darwin; arch amd64) - url: https://api.datadoghq.com/api/v1/dashboard/3jk-mfp-nsn + - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) + url: https://api.datadoghq.com/api/v1/dashboard/kcf-6ad-98z 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":"3jk-mfp-nsn","title":"tf-TestAccDatadogDashboardGeomapFormula-local-1619506707","url":"/dashboard/3jk-mfp-nsn/tf-testaccdatadogdashboardgeomapformula-local-1619506707","created_at":"2021-04-27T06:58:29.303490+00:00","modified_at":"2021-04-27T06:58:29.303490+00:00","author_handle":"frog@datadoghq.com","widgets":[{"definition":{"requests":[{"formulas":[{"formula":"query1 + query2","limit":{"count":10,"order":"asc"}}],"response_format":"scalar","queries":[{"aggregator":"sum","data_source":"metrics","name":"query1","query":"avg:system.cpu.system{*} by {datacenter}"},{"aggregator":"sum","data_source":"metrics","name":"query2","query":"avg:system.load.1{*} by {datacenter}"}]}],"type":"geomap","style":{"palette":"hostmap_blues","palette_flip":false},"view":{"focus":"WORLD"}},"id":1149146342854926},{"definition":{"requests":[{"formulas":[{"formula":"query1","limit":{"count":25,"order":"desc"}}],"response_format":"scalar","queries":[{"search":{"query":"abc"},"data_source":"rum","compute":{"aggregation":"count"},"name":"query1","indexes":["*"]}]}],"type":"geomap","style":{"palette":"hostmap_blues","palette_flip":false},"view":{"focus":"WORLD"}},"id":5478869481740425},{"definition":{"style":{"palette":"hostmap_blues","palette_flip":false},"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"my custom link"}],"time":{"live_span":"4h"},"requests":[{"formulas":[{"formula":"query1"}],"response_format":"scalar","queries":[{"data_source":"security_signals","compute":{"aggregation":"count"},"name":"query1","indexes":["*"]}]}],"type":"geomap","view":{"focus":"WORLD"}},"id":18914160855721}],"layout_type":"ordered"}' + body: '{"notify_list":[],"description":"Created using the Datadog provider in Terraform","restricted_roles":["284d8b66-93f9-11eb-9c37-da7ad0900002","043a2842-e140-11e8-bb04-7fd10177666e","657de3a2-29f8-11eb-83b5-6b8ebfb2f184","e82bf27a-986c-11eb-9cba-da7ad0900002","f257ba30-dbb2-11ea-a5ff-5fd1d308318a","6bf314be-5c16-11eb-8e98-2356ea436065","62cbc476-5c16-11eb-8e98-0388ea7a41f8","08604de8-1dca-11eb-800c-9f5f55ff734d","9b3ab170-b768-11eb-a45a-da7ad0900002","7a83f306-96ca-11eb-9c74-da7ad0900002","16169788-28e4-11eb-832c-fb84162ef3eb","4de53192-9946-11eb-9cee-da7ad0900002","1302282c-b93b-11eb-a436-da7ad0900002","17d73994-7531-11eb-94b9-da7ad0900002"],"author_name":"Qin Chen","template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"kcf-6ad-98z","title":"tf-TestAccDatadogDashboardGeomapFormula-local-1621865532","url":"/dashboard/kcf-6ad-98z/tf-testaccdatadogdashboardgeomapformula-local-1621865532","created_at":"2021-05-24T14:12:14.618486+00:00","modified_at":"2021-05-24T14:12:14.618486+00:00","author_handle":"qin.chen@datadoghq.com","widgets":[{"definition":{"requests":[{"formulas":[{"formula":"query1 + query2","limit":{"count":10,"order":"asc"}}],"response_format":"scalar","queries":[{"aggregator":"sum","data_source":"metrics","name":"query1","query":"avg:system.cpu.system{*} by {datacenter}"},{"aggregator":"sum","data_source":"metrics","name":"query2","query":"avg:system.load.1{*} by {datacenter}"}]}],"type":"geomap","style":{"palette":"hostmap_blues","palette_flip":false},"view":{"focus":"WORLD"}},"id":2268144336676381},{"definition":{"requests":[{"formulas":[{"formula":"query1","limit":{"count":25,"order":"desc"}}],"response_format":"scalar","queries":[{"search":{"query":"abc"},"data_source":"rum","compute":{"aggregation":"count"},"name":"query1","indexes":["*"]}]}],"type":"geomap","style":{"palette":"hostmap_blues","palette_flip":false},"view":{"focus":"WORLD"}},"id":8386462263259333},{"definition":{"style":{"palette":"hostmap_blues","palette_flip":false},"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"my custom link"}],"time":{"live_span":"4h"},"requests":[{"formulas":[{"formula":"query1"}],"response_format":"scalar","queries":[{"data_source":"security_signals","compute":{"aggregation":"count"},"name":"query1","indexes":["*"]}]}],"type":"geomap","view":{"focus":"WORLD"}},"id":2274084357526136}],"layout_type":"ordered"}' headers: Cache-Control: - no-cache @@ -154,7 +154,7 @@ interactions: Content-Type: - application/json Date: - - Tue, 27 Apr 2021 06:58:33 GMT + - Mon, 24 May 2021 14:12:15 GMT Pragma: - no-cache Strict-Transport-Security: @@ -164,9 +164,9 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Debug: - - dPySkcOzIZtKyMKDAAzuysY3gNGGj6RtYogGuSb76E8mPvoqzREyRp6lPYm91hQU + - LcgNasIYBRkNppmD6mCKE9J6iv0eEjosuuHR5V5zw2fWbR54i39C8dhdK8zDq/40 X-Dd-Version: - - "35.4397207" + - "35.4593741" X-Frame-Options: - SAMEORIGIN status: 200 OK @@ -181,11 +181,11 @@ interactions: Dd-Operation-Id: - GetDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.19 (go go1.15.7; os darwin; arch amd64) - url: https://api.datadoghq.com/api/v1/dashboard/3jk-mfp-nsn + - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) + url: https://api.datadoghq.com/api/v1/dashboard/kcf-6ad-98z 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":"3jk-mfp-nsn","title":"tf-TestAccDatadogDashboardGeomapFormula-local-1619506707","url":"/dashboard/3jk-mfp-nsn/tf-testaccdatadogdashboardgeomapformula-local-1619506707","created_at":"2021-04-27T06:58:29.303490+00:00","modified_at":"2021-04-27T06:58:29.303490+00:00","author_handle":"frog@datadoghq.com","widgets":[{"definition":{"requests":[{"formulas":[{"formula":"query1 + query2","limit":{"count":10,"order":"asc"}}],"response_format":"scalar","queries":[{"aggregator":"sum","data_source":"metrics","name":"query1","query":"avg:system.cpu.system{*} by {datacenter}"},{"aggregator":"sum","data_source":"metrics","name":"query2","query":"avg:system.load.1{*} by {datacenter}"}]}],"type":"geomap","style":{"palette":"hostmap_blues","palette_flip":false},"view":{"focus":"WORLD"}},"id":1149146342854926},{"definition":{"requests":[{"formulas":[{"formula":"query1","limit":{"count":25,"order":"desc"}}],"response_format":"scalar","queries":[{"search":{"query":"abc"},"data_source":"rum","compute":{"aggregation":"count"},"name":"query1","indexes":["*"]}]}],"type":"geomap","style":{"palette":"hostmap_blues","palette_flip":false},"view":{"focus":"WORLD"}},"id":5478869481740425},{"definition":{"style":{"palette":"hostmap_blues","palette_flip":false},"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"my custom link"}],"time":{"live_span":"4h"},"requests":[{"formulas":[{"formula":"query1"}],"response_format":"scalar","queries":[{"data_source":"security_signals","compute":{"aggregation":"count"},"name":"query1","indexes":["*"]}]}],"type":"geomap","view":{"focus":"WORLD"}},"id":18914160855721}],"layout_type":"ordered"}' + body: '{"notify_list":[],"description":"Created using the Datadog provider in Terraform","restricted_roles":["284d8b66-93f9-11eb-9c37-da7ad0900002","043a2842-e140-11e8-bb04-7fd10177666e","657de3a2-29f8-11eb-83b5-6b8ebfb2f184","e82bf27a-986c-11eb-9cba-da7ad0900002","f257ba30-dbb2-11ea-a5ff-5fd1d308318a","6bf314be-5c16-11eb-8e98-2356ea436065","62cbc476-5c16-11eb-8e98-0388ea7a41f8","08604de8-1dca-11eb-800c-9f5f55ff734d","9b3ab170-b768-11eb-a45a-da7ad0900002","7a83f306-96ca-11eb-9c74-da7ad0900002","16169788-28e4-11eb-832c-fb84162ef3eb","4de53192-9946-11eb-9cee-da7ad0900002","1302282c-b93b-11eb-a436-da7ad0900002","17d73994-7531-11eb-94b9-da7ad0900002"],"author_name":"Qin Chen","template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"kcf-6ad-98z","title":"tf-TestAccDatadogDashboardGeomapFormula-local-1621865532","url":"/dashboard/kcf-6ad-98z/tf-testaccdatadogdashboardgeomapformula-local-1621865532","created_at":"2021-05-24T14:12:14.618486+00:00","modified_at":"2021-05-24T14:12:14.618486+00:00","author_handle":"qin.chen@datadoghq.com","widgets":[{"definition":{"requests":[{"formulas":[{"formula":"query1 + query2","limit":{"count":10,"order":"asc"}}],"response_format":"scalar","queries":[{"aggregator":"sum","data_source":"metrics","name":"query1","query":"avg:system.cpu.system{*} by {datacenter}"},{"aggregator":"sum","data_source":"metrics","name":"query2","query":"avg:system.load.1{*} by {datacenter}"}]}],"type":"geomap","style":{"palette":"hostmap_blues","palette_flip":false},"view":{"focus":"WORLD"}},"id":2268144336676381},{"definition":{"requests":[{"formulas":[{"formula":"query1","limit":{"count":25,"order":"desc"}}],"response_format":"scalar","queries":[{"search":{"query":"abc"},"data_source":"rum","compute":{"aggregation":"count"},"name":"query1","indexes":["*"]}]}],"type":"geomap","style":{"palette":"hostmap_blues","palette_flip":false},"view":{"focus":"WORLD"}},"id":8386462263259333},{"definition":{"style":{"palette":"hostmap_blues","palette_flip":false},"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"my custom link"}],"time":{"live_span":"4h"},"requests":[{"formulas":[{"formula":"query1"}],"response_format":"scalar","queries":[{"data_source":"security_signals","compute":{"aggregation":"count"},"name":"query1","indexes":["*"]}]}],"type":"geomap","view":{"focus":"WORLD"}},"id":2274084357526136}],"layout_type":"ordered"}' headers: Cache-Control: - no-cache @@ -196,7 +196,7 @@ interactions: Content-Type: - application/json Date: - - Tue, 27 Apr 2021 06:58:34 GMT + - Mon, 24 May 2021 14:12:17 GMT Pragma: - no-cache Strict-Transport-Security: @@ -206,9 +206,9 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Debug: - - dCmL/3rURV6BPeaqeP3Rxigq41m5CAb17XjrRE42uZ01zpr07HVhbL5/3TWMkvgu + - PhosSd3Ch1B6B0DXI71steKUi7XhPDttnPiIP1NdXTw0VJNWpoUnYyBmODS5ne3q X-Dd-Version: - - "35.4397207" + - "35.4593741" X-Frame-Options: - SAMEORIGIN status: 200 OK @@ -223,11 +223,11 @@ interactions: Dd-Operation-Id: - DeleteDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.19 (go go1.15.7; os darwin; arch amd64) - url: https://api.datadoghq.com/api/v1/dashboard/3jk-mfp-nsn + - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) + url: https://api.datadoghq.com/api/v1/dashboard/kcf-6ad-98z method: DELETE response: - body: '{"deleted_dashboard_id":"3jk-mfp-nsn"}' + body: '{"deleted_dashboard_id":"kcf-6ad-98z"}' headers: Cache-Control: - no-cache @@ -238,7 +238,7 @@ interactions: Content-Type: - application/json Date: - - Tue, 27 Apr 2021 06:58:34 GMT + - Mon, 24 May 2021 14:12:18 GMT Pragma: - no-cache Strict-Transport-Security: @@ -248,9 +248,9 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Debug: - - mNzaoDhdDKO7t4QSrAe5X7pHd0bJND187D+vRbwoluXouE2m1UaQQX0RGCvRpLVE + - l4HFlaRP3QwYSqoGKhzbYfv7zgkK63HIRR7YkyVYZspq0lGjjTBwoK8V/alf+XYt X-Dd-Version: - - "35.4397207" + - "35.4593741" X-Frame-Options: - SAMEORIGIN status: 200 OK @@ -265,11 +265,11 @@ interactions: Dd-Operation-Id: - GetDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.19 (go go1.15.7; os darwin; arch amd64) - url: https://api.datadoghq.com/api/v1/dashboard/3jk-mfp-nsn + - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) + url: https://api.datadoghq.com/api/v1/dashboard/kcf-6ad-98z method: GET response: - body: '{"errors": ["Dashboard with ID 3jk-mfp-nsn not found"]}' + body: '{"errors": ["Dashboard with ID kcf-6ad-98z not found"]}' headers: Cache-Control: - no-cache @@ -280,7 +280,7 @@ interactions: Content-Type: - application/json Date: - - Tue, 27 Apr 2021 06:58:34 GMT + - Mon, 24 May 2021 14:12:18 GMT Pragma: - no-cache Strict-Transport-Security: @@ -290,7 +290,7 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Version: - - "35.4397207" + - "35.4593741" X-Frame-Options: - SAMEORIGIN status: 404 Not Found diff --git a/datadog/tests/cassettes/TestAccDatadogDashboardGeomapFormula_import.freeze b/datadog/tests/cassettes/TestAccDatadogDashboardGeomapFormula_import.freeze index a807f71eb..0cb2c0234 100644 --- a/datadog/tests/cassettes/TestAccDatadogDashboardGeomapFormula_import.freeze +++ b/datadog/tests/cassettes/TestAccDatadogDashboardGeomapFormula_import.freeze @@ -1 +1 @@ -2021-04-27T08:58:27.620391+02:00 \ No newline at end of file +2021-05-24T10:37:36.413764-04:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogDashboardGeomapFormula_import.yaml b/datadog/tests/cassettes/TestAccDatadogDashboardGeomapFormula_import.yaml index 01b977dab..e7bd1e9b8 100644 --- a/datadog/tests/cassettes/TestAccDatadogDashboardGeomapFormula_import.yaml +++ b/datadog/tests/cassettes/TestAccDatadogDashboardGeomapFormula_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-TestAccDatadogDashboardGeomapFormula_import-local-1619506707","widgets":[{"definition":{"requests":[{"formulas":[{"formula":"query1 + query2","limit":{"count":10,"order":"asc"}}],"queries":[{"aggregator":"sum","data_source":"metrics","name":"query1","query":"avg:system.cpu.system{*} by {datacenter}"},{"aggregator":"sum","data_source":"metrics","name":"query2","query":"avg:system.load.1{*} by {datacenter}"}],"response_format":"scalar"}],"style":{"palette":"hostmap_blues","palette_flip":false},"type":"geomap","view":{"focus":"WORLD"}}},{"definition":{"requests":[{"formulas":[{"formula":"query1","limit":{"count":25,"order":"desc"}}],"queries":[{"compute":{"aggregation":"count"},"data_source":"rum","indexes":["*"],"name":"query1","search":{"query":"abc"}}],"response_format":"scalar"}],"style":{"palette":"hostmap_blues","palette_flip":false},"type":"geomap","view":{"focus":"WORLD"}}},{"definition":{"custom_links":[{"label":"my custom link","link":"https://app.datadoghq.com/dashboard/lists"}],"requests":[{"formulas":[{"formula":"query1"}],"queries":[{"compute":{"aggregation":"count"},"data_source":"security_signals","indexes":["*"],"name":"query1"}],"response_format":"scalar"}],"style":{"palette":"hostmap_blues","palette_flip":false},"time":{"live_span":"4h"},"type":"geomap","view":{"focus":"WORLD"}}}]} + {"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-TestAccDatadogDashboardGeomapFormula_import-local-1621865532","widgets":[{"definition":{"requests":[{"formulas":[{"formula":"query1 + query2","limit":{"count":10,"order":"asc"}}],"queries":[{"aggregator":"sum","data_source":"metrics","name":"query1","query":"avg:system.cpu.system{*} by {datacenter}"},{"aggregator":"sum","data_source":"metrics","name":"query2","query":"avg:system.load.1{*} by {datacenter}"}],"response_format":"scalar"}],"style":{"palette":"hostmap_blues","palette_flip":false},"type":"geomap","view":{"focus":"WORLD"}}},{"definition":{"requests":[{"formulas":[{"formula":"query1","limit":{"count":25,"order":"desc"}}],"queries":[{"compute":{"aggregation":"count"},"data_source":"rum","indexes":["*"],"name":"query1","search":{"query":"abc"}}],"response_format":"scalar"}],"style":{"palette":"hostmap_blues","palette_flip":false},"type":"geomap","view":{"focus":"WORLD"}}},{"definition":{"custom_links":[{"label":"my custom link","link":"https://app.datadoghq.com/dashboard/lists"}],"requests":[{"formulas":[{"formula":"query1"}],"queries":[{"compute":{"aggregation":"count"},"data_source":"security_signals","indexes":["*"],"name":"query1"}],"response_format":"scalar"}],"style":{"palette":"hostmap_blues","palette_flip":false},"time":{"live_span":"4h"},"type":"geomap","view":{"focus":"WORLD"}}}]} form: {} headers: Accept: @@ -13,11 +13,11 @@ interactions: Dd-Operation-Id: - CreateDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.19 (go go1.15.7; os darwin; arch amd64) + - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) 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":"myq-qpv-k3m","title":"tf-TestAccDatadogDashboardGeomapFormula_import-local-1619506707","url":"/dashboard/myq-qpv-k3m/tf-testaccdatadogdashboardgeomapformulaimport-local-1619506707","created_at":"2021-04-27T06:58:29.153119+00:00","modified_at":"2021-04-27T06:58:29.153119+00:00","author_handle":"frog@datadoghq.com","widgets":[{"definition":{"requests":[{"formulas":[{"formula":"query1 + query2","limit":{"count":10,"order":"asc"}}],"response_format":"scalar","queries":[{"aggregator":"sum","data_source":"metrics","name":"query1","query":"avg:system.cpu.system{*} by {datacenter}"},{"aggregator":"sum","data_source":"metrics","name":"query2","query":"avg:system.load.1{*} by {datacenter}"}]}],"type":"geomap","style":{"palette":"hostmap_blues","palette_flip":false},"view":{"focus":"WORLD"}},"id":5661738832269822},{"definition":{"requests":[{"formulas":[{"formula":"query1","limit":{"count":25,"order":"desc"}}],"response_format":"scalar","queries":[{"search":{"query":"abc"},"data_source":"rum","compute":{"aggregation":"count"},"name":"query1","indexes":["*"]}]}],"type":"geomap","style":{"palette":"hostmap_blues","palette_flip":false},"view":{"focus":"WORLD"}},"id":8505986293990458},{"definition":{"style":{"palette":"hostmap_blues","palette_flip":false},"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"my custom link"}],"time":{"live_span":"4h"},"requests":[{"formulas":[{"formula":"query1"}],"response_format":"scalar","queries":[{"data_source":"security_signals","compute":{"aggregation":"count"},"name":"query1","indexes":["*"]}]}],"type":"geomap","view":{"focus":"WORLD"}},"id":3442821028347668}],"layout_type":"ordered"}' + body: '{"notify_list":[],"description":"Created using the Datadog provider in Terraform","restricted_roles":["043a2842-e140-11e8-bb04-7fd10177666e","08604de8-1dca-11eb-800c-9f5f55ff734d","1302282c-b93b-11eb-a436-da7ad0900002","16169788-28e4-11eb-832c-fb84162ef3eb","17d73994-7531-11eb-94b9-da7ad0900002","284d8b66-93f9-11eb-9c37-da7ad0900002","4de53192-9946-11eb-9cee-da7ad0900002","62cbc476-5c16-11eb-8e98-0388ea7a41f8","657de3a2-29f8-11eb-83b5-6b8ebfb2f184","6bf314be-5c16-11eb-8e98-2356ea436065","7a83f306-96ca-11eb-9c74-da7ad0900002","9b3ab170-b768-11eb-a45a-da7ad0900002","e82bf27a-986c-11eb-9cba-da7ad0900002","f257ba30-dbb2-11ea-a5ff-5fd1d308318a"],"author_name":"Qin Chen","template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"7ae-m9q-p3n","title":"tf-TestAccDatadogDashboardGeomapFormula_import-local-1621865532","url":"/dashboard/7ae-m9q-p3n/tf-testaccdatadogdashboardgeomapformulaimport-local-1621865532","created_at":"2021-05-24T14:12:14.626751+00:00","modified_at":"2021-05-24T14:12:14.626751+00:00","author_handle":"qin.chen@datadoghq.com","widgets":[{"definition":{"requests":[{"formulas":[{"formula":"query1 + query2","limit":{"count":10,"order":"asc"}}],"response_format":"scalar","queries":[{"aggregator":"sum","data_source":"metrics","name":"query1","query":"avg:system.cpu.system{*} by {datacenter}"},{"aggregator":"sum","data_source":"metrics","name":"query2","query":"avg:system.load.1{*} by {datacenter}"}]}],"type":"geomap","style":{"palette":"hostmap_blues","palette_flip":false},"view":{"focus":"WORLD"}},"id":5028785782563077},{"definition":{"requests":[{"formulas":[{"formula":"query1","limit":{"count":25,"order":"desc"}}],"response_format":"scalar","queries":[{"search":{"query":"abc"},"data_source":"rum","compute":{"aggregation":"count"},"name":"query1","indexes":["*"]}]}],"type":"geomap","style":{"palette":"hostmap_blues","palette_flip":false},"view":{"focus":"WORLD"}},"id":5380773396990314},{"definition":{"style":{"palette":"hostmap_blues","palette_flip":false},"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"my custom link"}],"time":{"live_span":"4h"},"requests":[{"formulas":[{"formula":"query1"}],"response_format":"scalar","queries":[{"data_source":"security_signals","compute":{"aggregation":"count"},"name":"query1","indexes":["*"]}]}],"type":"geomap","view":{"focus":"WORLD"}},"id":473765914880492}],"layout_type":"ordered"}' headers: Cache-Control: - no-cache @@ -28,7 +28,7 @@ interactions: Content-Type: - application/json Date: - - Tue, 27 Apr 2021 06:58:32 GMT + - Mon, 24 May 2021 14:12:14 GMT Pragma: - no-cache Strict-Transport-Security: @@ -38,9 +38,9 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Debug: - - PhosSd3Ch1B6B0DXI71steKUi7XhPDttnPiIP1NdXTw0VJNWpoUnYyBmODS5ne3q + - gYZcaADwbKcv7Hm19HJx6WsLoKuOijDWAt2viPeCfWqUgyKY+9e1xZdmMJeXV3YV X-Dd-Version: - - "35.4397207" + - "35.4593741" X-Frame-Options: - SAMEORIGIN status: 200 OK @@ -55,11 +55,11 @@ interactions: Dd-Operation-Id: - GetDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.19 (go go1.15.7; os darwin; arch amd64) - url: https://api.datadoghq.com/api/v1/dashboard/myq-qpv-k3m + - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) + url: https://api.datadoghq.com/api/v1/dashboard/7ae-m9q-p3n 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":"myq-qpv-k3m","title":"tf-TestAccDatadogDashboardGeomapFormula_import-local-1619506707","url":"/dashboard/myq-qpv-k3m/tf-testaccdatadogdashboardgeomapformulaimport-local-1619506707","created_at":"2021-04-27T06:58:29.153119+00:00","modified_at":"2021-04-27T06:58:29.153119+00:00","author_handle":"frog@datadoghq.com","widgets":[{"definition":{"requests":[{"formulas":[{"formula":"query1 + query2","limit":{"count":10,"order":"asc"}}],"response_format":"scalar","queries":[{"aggregator":"sum","data_source":"metrics","name":"query1","query":"avg:system.cpu.system{*} by {datacenter}"},{"aggregator":"sum","data_source":"metrics","name":"query2","query":"avg:system.load.1{*} by {datacenter}"}]}],"type":"geomap","style":{"palette":"hostmap_blues","palette_flip":false},"view":{"focus":"WORLD"}},"id":5661738832269822},{"definition":{"requests":[{"formulas":[{"formula":"query1","limit":{"count":25,"order":"desc"}}],"response_format":"scalar","queries":[{"search":{"query":"abc"},"data_source":"rum","compute":{"aggregation":"count"},"name":"query1","indexes":["*"]}]}],"type":"geomap","style":{"palette":"hostmap_blues","palette_flip":false},"view":{"focus":"WORLD"}},"id":8505986293990458},{"definition":{"style":{"palette":"hostmap_blues","palette_flip":false},"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"my custom link"}],"time":{"live_span":"4h"},"requests":[{"formulas":[{"formula":"query1"}],"response_format":"scalar","queries":[{"data_source":"security_signals","compute":{"aggregation":"count"},"name":"query1","indexes":["*"]}]}],"type":"geomap","view":{"focus":"WORLD"}},"id":3442821028347668}],"layout_type":"ordered"}' + body: '{"notify_list":[],"description":"Created using the Datadog provider in Terraform","restricted_roles":["284d8b66-93f9-11eb-9c37-da7ad0900002","043a2842-e140-11e8-bb04-7fd10177666e","657de3a2-29f8-11eb-83b5-6b8ebfb2f184","e82bf27a-986c-11eb-9cba-da7ad0900002","f257ba30-dbb2-11ea-a5ff-5fd1d308318a","6bf314be-5c16-11eb-8e98-2356ea436065","62cbc476-5c16-11eb-8e98-0388ea7a41f8","08604de8-1dca-11eb-800c-9f5f55ff734d","9b3ab170-b768-11eb-a45a-da7ad0900002","7a83f306-96ca-11eb-9c74-da7ad0900002","16169788-28e4-11eb-832c-fb84162ef3eb","4de53192-9946-11eb-9cee-da7ad0900002","1302282c-b93b-11eb-a436-da7ad0900002","17d73994-7531-11eb-94b9-da7ad0900002"],"author_name":"Qin Chen","template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"7ae-m9q-p3n","title":"tf-TestAccDatadogDashboardGeomapFormula_import-local-1621865532","url":"/dashboard/7ae-m9q-p3n/tf-testaccdatadogdashboardgeomapformulaimport-local-1621865532","created_at":"2021-05-24T14:12:14.626751+00:00","modified_at":"2021-05-24T14:12:14.626751+00:00","author_handle":"qin.chen@datadoghq.com","widgets":[{"definition":{"requests":[{"formulas":[{"formula":"query1 + query2","limit":{"count":10,"order":"asc"}}],"response_format":"scalar","queries":[{"aggregator":"sum","data_source":"metrics","name":"query1","query":"avg:system.cpu.system{*} by {datacenter}"},{"aggregator":"sum","data_source":"metrics","name":"query2","query":"avg:system.load.1{*} by {datacenter}"}]}],"type":"geomap","style":{"palette":"hostmap_blues","palette_flip":false},"view":{"focus":"WORLD"}},"id":5028785782563077},{"definition":{"requests":[{"formulas":[{"formula":"query1","limit":{"count":25,"order":"desc"}}],"response_format":"scalar","queries":[{"search":{"query":"abc"},"data_source":"rum","compute":{"aggregation":"count"},"name":"query1","indexes":["*"]}]}],"type":"geomap","style":{"palette":"hostmap_blues","palette_flip":false},"view":{"focus":"WORLD"}},"id":5380773396990314},{"definition":{"style":{"palette":"hostmap_blues","palette_flip":false},"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"my custom link"}],"time":{"live_span":"4h"},"requests":[{"formulas":[{"formula":"query1"}],"response_format":"scalar","queries":[{"data_source":"security_signals","compute":{"aggregation":"count"},"name":"query1","indexes":["*"]}]}],"type":"geomap","view":{"focus":"WORLD"}},"id":473765914880492}],"layout_type":"ordered"}' headers: Cache-Control: - no-cache @@ -70,7 +70,7 @@ interactions: Content-Type: - application/json Date: - - Tue, 27 Apr 2021 06:58:32 GMT + - Mon, 24 May 2021 14:12:14 GMT Pragma: - no-cache Strict-Transport-Security: @@ -80,9 +80,9 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Debug: - - tpRCH6w417YjBovRJ8VmtuXmNONVYiRp2c8d2AxjPdGBn8PCtgG4vAztrx3qUZAN + - SY1h8ScsWq+kYmtbh63ltMLFAZsQjqfrgvdfAoRX+9TzT1sgMBRYaFRwfWWRRe9a X-Dd-Version: - - "35.4397207" + - "35.4593741" X-Frame-Options: - SAMEORIGIN status: 200 OK @@ -97,11 +97,11 @@ interactions: Dd-Operation-Id: - GetDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.19 (go go1.15.7; os darwin; arch amd64) - url: https://api.datadoghq.com/api/v1/dashboard/myq-qpv-k3m + - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) + url: https://api.datadoghq.com/api/v1/dashboard/7ae-m9q-p3n 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":"myq-qpv-k3m","title":"tf-TestAccDatadogDashboardGeomapFormula_import-local-1619506707","url":"/dashboard/myq-qpv-k3m/tf-testaccdatadogdashboardgeomapformulaimport-local-1619506707","created_at":"2021-04-27T06:58:29.153119+00:00","modified_at":"2021-04-27T06:58:29.153119+00:00","author_handle":"frog@datadoghq.com","widgets":[{"definition":{"requests":[{"formulas":[{"formula":"query1 + query2","limit":{"count":10,"order":"asc"}}],"response_format":"scalar","queries":[{"aggregator":"sum","data_source":"metrics","name":"query1","query":"avg:system.cpu.system{*} by {datacenter}"},{"aggregator":"sum","data_source":"metrics","name":"query2","query":"avg:system.load.1{*} by {datacenter}"}]}],"type":"geomap","style":{"palette":"hostmap_blues","palette_flip":false},"view":{"focus":"WORLD"}},"id":5661738832269822},{"definition":{"requests":[{"formulas":[{"formula":"query1","limit":{"count":25,"order":"desc"}}],"response_format":"scalar","queries":[{"search":{"query":"abc"},"data_source":"rum","compute":{"aggregation":"count"},"name":"query1","indexes":["*"]}]}],"type":"geomap","style":{"palette":"hostmap_blues","palette_flip":false},"view":{"focus":"WORLD"}},"id":8505986293990458},{"definition":{"style":{"palette":"hostmap_blues","palette_flip":false},"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"my custom link"}],"time":{"live_span":"4h"},"requests":[{"formulas":[{"formula":"query1"}],"response_format":"scalar","queries":[{"data_source":"security_signals","compute":{"aggregation":"count"},"name":"query1","indexes":["*"]}]}],"type":"geomap","view":{"focus":"WORLD"}},"id":3442821028347668}],"layout_type":"ordered"}' + body: '{"notify_list":[],"description":"Created using the Datadog provider in Terraform","restricted_roles":["284d8b66-93f9-11eb-9c37-da7ad0900002","043a2842-e140-11e8-bb04-7fd10177666e","657de3a2-29f8-11eb-83b5-6b8ebfb2f184","e82bf27a-986c-11eb-9cba-da7ad0900002","f257ba30-dbb2-11ea-a5ff-5fd1d308318a","6bf314be-5c16-11eb-8e98-2356ea436065","62cbc476-5c16-11eb-8e98-0388ea7a41f8","08604de8-1dca-11eb-800c-9f5f55ff734d","9b3ab170-b768-11eb-a45a-da7ad0900002","7a83f306-96ca-11eb-9c74-da7ad0900002","16169788-28e4-11eb-832c-fb84162ef3eb","4de53192-9946-11eb-9cee-da7ad0900002","1302282c-b93b-11eb-a436-da7ad0900002","17d73994-7531-11eb-94b9-da7ad0900002"],"author_name":"Qin Chen","template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"7ae-m9q-p3n","title":"tf-TestAccDatadogDashboardGeomapFormula_import-local-1621865532","url":"/dashboard/7ae-m9q-p3n/tf-testaccdatadogdashboardgeomapformulaimport-local-1621865532","created_at":"2021-05-24T14:12:14.626751+00:00","modified_at":"2021-05-24T14:12:14.626751+00:00","author_handle":"qin.chen@datadoghq.com","widgets":[{"definition":{"requests":[{"formulas":[{"formula":"query1 + query2","limit":{"count":10,"order":"asc"}}],"response_format":"scalar","queries":[{"aggregator":"sum","data_source":"metrics","name":"query1","query":"avg:system.cpu.system{*} by {datacenter}"},{"aggregator":"sum","data_source":"metrics","name":"query2","query":"avg:system.load.1{*} by {datacenter}"}]}],"type":"geomap","style":{"palette":"hostmap_blues","palette_flip":false},"view":{"focus":"WORLD"}},"id":5028785782563077},{"definition":{"requests":[{"formulas":[{"formula":"query1","limit":{"count":25,"order":"desc"}}],"response_format":"scalar","queries":[{"search":{"query":"abc"},"data_source":"rum","compute":{"aggregation":"count"},"name":"query1","indexes":["*"]}]}],"type":"geomap","style":{"palette":"hostmap_blues","palette_flip":false},"view":{"focus":"WORLD"}},"id":5380773396990314},{"definition":{"style":{"palette":"hostmap_blues","palette_flip":false},"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"my custom link"}],"time":{"live_span":"4h"},"requests":[{"formulas":[{"formula":"query1"}],"response_format":"scalar","queries":[{"data_source":"security_signals","compute":{"aggregation":"count"},"name":"query1","indexes":["*"]}]}],"type":"geomap","view":{"focus":"WORLD"}},"id":473765914880492}],"layout_type":"ordered"}' headers: Cache-Control: - no-cache @@ -112,7 +112,7 @@ interactions: Content-Type: - application/json Date: - - Tue, 27 Apr 2021 06:58:33 GMT + - Mon, 24 May 2021 14:12:15 GMT Pragma: - no-cache Strict-Transport-Security: @@ -122,9 +122,9 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Debug: - - dPySkcOzIZtKyMKDAAzuysY3gNGGj6RtYogGuSb76E8mPvoqzREyRp6lPYm91hQU + - dCmL/3rURV6BPeaqeP3Rxigq41m5CAb17XjrRE42uZ01zpr07HVhbL5/3TWMkvgu X-Dd-Version: - - "35.4397207" + - "35.4593741" X-Frame-Options: - SAMEORIGIN status: 200 OK @@ -139,11 +139,11 @@ interactions: Dd-Operation-Id: - GetDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.19 (go go1.15.7; os darwin; arch amd64) - url: https://api.datadoghq.com/api/v1/dashboard/myq-qpv-k3m + - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) + url: https://api.datadoghq.com/api/v1/dashboard/7ae-m9q-p3n 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":"myq-qpv-k3m","title":"tf-TestAccDatadogDashboardGeomapFormula_import-local-1619506707","url":"/dashboard/myq-qpv-k3m/tf-testaccdatadogdashboardgeomapformulaimport-local-1619506707","created_at":"2021-04-27T06:58:29.153119+00:00","modified_at":"2021-04-27T06:58:29.153119+00:00","author_handle":"frog@datadoghq.com","widgets":[{"definition":{"requests":[{"formulas":[{"formula":"query1 + query2","limit":{"count":10,"order":"asc"}}],"response_format":"scalar","queries":[{"aggregator":"sum","data_source":"metrics","name":"query1","query":"avg:system.cpu.system{*} by {datacenter}"},{"aggregator":"sum","data_source":"metrics","name":"query2","query":"avg:system.load.1{*} by {datacenter}"}]}],"type":"geomap","style":{"palette":"hostmap_blues","palette_flip":false},"view":{"focus":"WORLD"}},"id":5661738832269822},{"definition":{"requests":[{"formulas":[{"formula":"query1","limit":{"count":25,"order":"desc"}}],"response_format":"scalar","queries":[{"search":{"query":"abc"},"data_source":"rum","compute":{"aggregation":"count"},"name":"query1","indexes":["*"]}]}],"type":"geomap","style":{"palette":"hostmap_blues","palette_flip":false},"view":{"focus":"WORLD"}},"id":8505986293990458},{"definition":{"style":{"palette":"hostmap_blues","palette_flip":false},"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"my custom link"}],"time":{"live_span":"4h"},"requests":[{"formulas":[{"formula":"query1"}],"response_format":"scalar","queries":[{"data_source":"security_signals","compute":{"aggregation":"count"},"name":"query1","indexes":["*"]}]}],"type":"geomap","view":{"focus":"WORLD"}},"id":3442821028347668}],"layout_type":"ordered"}' + body: '{"notify_list":[],"description":"Created using the Datadog provider in Terraform","restricted_roles":["284d8b66-93f9-11eb-9c37-da7ad0900002","043a2842-e140-11e8-bb04-7fd10177666e","657de3a2-29f8-11eb-83b5-6b8ebfb2f184","e82bf27a-986c-11eb-9cba-da7ad0900002","f257ba30-dbb2-11ea-a5ff-5fd1d308318a","6bf314be-5c16-11eb-8e98-2356ea436065","62cbc476-5c16-11eb-8e98-0388ea7a41f8","08604de8-1dca-11eb-800c-9f5f55ff734d","9b3ab170-b768-11eb-a45a-da7ad0900002","7a83f306-96ca-11eb-9c74-da7ad0900002","16169788-28e4-11eb-832c-fb84162ef3eb","4de53192-9946-11eb-9cee-da7ad0900002","1302282c-b93b-11eb-a436-da7ad0900002","17d73994-7531-11eb-94b9-da7ad0900002"],"author_name":"Qin Chen","template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"7ae-m9q-p3n","title":"tf-TestAccDatadogDashboardGeomapFormula_import-local-1621865532","url":"/dashboard/7ae-m9q-p3n/tf-testaccdatadogdashboardgeomapformulaimport-local-1621865532","created_at":"2021-05-24T14:12:14.626751+00:00","modified_at":"2021-05-24T14:12:14.626751+00:00","author_handle":"qin.chen@datadoghq.com","widgets":[{"definition":{"requests":[{"formulas":[{"formula":"query1 + query2","limit":{"count":10,"order":"asc"}}],"response_format":"scalar","queries":[{"aggregator":"sum","data_source":"metrics","name":"query1","query":"avg:system.cpu.system{*} by {datacenter}"},{"aggregator":"sum","data_source":"metrics","name":"query2","query":"avg:system.load.1{*} by {datacenter}"}]}],"type":"geomap","style":{"palette":"hostmap_blues","palette_flip":false},"view":{"focus":"WORLD"}},"id":5028785782563077},{"definition":{"requests":[{"formulas":[{"formula":"query1","limit":{"count":25,"order":"desc"}}],"response_format":"scalar","queries":[{"search":{"query":"abc"},"data_source":"rum","compute":{"aggregation":"count"},"name":"query1","indexes":["*"]}]}],"type":"geomap","style":{"palette":"hostmap_blues","palette_flip":false},"view":{"focus":"WORLD"}},"id":5380773396990314},{"definition":{"style":{"palette":"hostmap_blues","palette_flip":false},"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"my custom link"}],"time":{"live_span":"4h"},"requests":[{"formulas":[{"formula":"query1"}],"response_format":"scalar","queries":[{"data_source":"security_signals","compute":{"aggregation":"count"},"name":"query1","indexes":["*"]}]}],"type":"geomap","view":{"focus":"WORLD"}},"id":473765914880492}],"layout_type":"ordered"}' headers: Cache-Control: - no-cache @@ -154,7 +154,7 @@ interactions: Content-Type: - application/json Date: - - Tue, 27 Apr 2021 06:58:33 GMT + - Mon, 24 May 2021 14:12:16 GMT Pragma: - no-cache Strict-Transport-Security: @@ -164,9 +164,9 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Debug: - - l8RQo2maZqJf6GFThBbKNE6dvthz6njusVtau3dPXJWL2RLFoN81H+BLPB/1xgs1 + - tpRCH6w417YjBovRJ8VmtuXmNONVYiRp2c8d2AxjPdGBn8PCtgG4vAztrx3qUZAN X-Dd-Version: - - "35.4397207" + - "35.4593741" X-Frame-Options: - SAMEORIGIN status: 200 OK @@ -181,11 +181,11 @@ interactions: Dd-Operation-Id: - GetDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.19 (go go1.15.7; os darwin; arch amd64) - url: https://api.datadoghq.com/api/v1/dashboard/myq-qpv-k3m + - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) + url: https://api.datadoghq.com/api/v1/dashboard/7ae-m9q-p3n 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":"myq-qpv-k3m","title":"tf-TestAccDatadogDashboardGeomapFormula_import-local-1619506707","url":"/dashboard/myq-qpv-k3m/tf-testaccdatadogdashboardgeomapformulaimport-local-1619506707","created_at":"2021-04-27T06:58:29.153119+00:00","modified_at":"2021-04-27T06:58:29.153119+00:00","author_handle":"frog@datadoghq.com","widgets":[{"definition":{"requests":[{"formulas":[{"formula":"query1 + query2","limit":{"count":10,"order":"asc"}}],"response_format":"scalar","queries":[{"aggregator":"sum","data_source":"metrics","name":"query1","query":"avg:system.cpu.system{*} by {datacenter}"},{"aggregator":"sum","data_source":"metrics","name":"query2","query":"avg:system.load.1{*} by {datacenter}"}]}],"type":"geomap","style":{"palette":"hostmap_blues","palette_flip":false},"view":{"focus":"WORLD"}},"id":5661738832269822},{"definition":{"requests":[{"formulas":[{"formula":"query1","limit":{"count":25,"order":"desc"}}],"response_format":"scalar","queries":[{"search":{"query":"abc"},"data_source":"rum","compute":{"aggregation":"count"},"name":"query1","indexes":["*"]}]}],"type":"geomap","style":{"palette":"hostmap_blues","palette_flip":false},"view":{"focus":"WORLD"}},"id":8505986293990458},{"definition":{"style":{"palette":"hostmap_blues","palette_flip":false},"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"my custom link"}],"time":{"live_span":"4h"},"requests":[{"formulas":[{"formula":"query1"}],"response_format":"scalar","queries":[{"data_source":"security_signals","compute":{"aggregation":"count"},"name":"query1","indexes":["*"]}]}],"type":"geomap","view":{"focus":"WORLD"}},"id":3442821028347668}],"layout_type":"ordered"}' + body: '{"notify_list":[],"description":"Created using the Datadog provider in Terraform","restricted_roles":["284d8b66-93f9-11eb-9c37-da7ad0900002","043a2842-e140-11e8-bb04-7fd10177666e","657de3a2-29f8-11eb-83b5-6b8ebfb2f184","e82bf27a-986c-11eb-9cba-da7ad0900002","f257ba30-dbb2-11ea-a5ff-5fd1d308318a","6bf314be-5c16-11eb-8e98-2356ea436065","62cbc476-5c16-11eb-8e98-0388ea7a41f8","08604de8-1dca-11eb-800c-9f5f55ff734d","9b3ab170-b768-11eb-a45a-da7ad0900002","7a83f306-96ca-11eb-9c74-da7ad0900002","16169788-28e4-11eb-832c-fb84162ef3eb","4de53192-9946-11eb-9cee-da7ad0900002","1302282c-b93b-11eb-a436-da7ad0900002","17d73994-7531-11eb-94b9-da7ad0900002"],"author_name":"Qin Chen","template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"7ae-m9q-p3n","title":"tf-TestAccDatadogDashboardGeomapFormula_import-local-1621865532","url":"/dashboard/7ae-m9q-p3n/tf-testaccdatadogdashboardgeomapformulaimport-local-1621865532","created_at":"2021-05-24T14:12:14.626751+00:00","modified_at":"2021-05-24T14:12:14.626751+00:00","author_handle":"qin.chen@datadoghq.com","widgets":[{"definition":{"requests":[{"formulas":[{"formula":"query1 + query2","limit":{"count":10,"order":"asc"}}],"response_format":"scalar","queries":[{"aggregator":"sum","data_source":"metrics","name":"query1","query":"avg:system.cpu.system{*} by {datacenter}"},{"aggregator":"sum","data_source":"metrics","name":"query2","query":"avg:system.load.1{*} by {datacenter}"}]}],"type":"geomap","style":{"palette":"hostmap_blues","palette_flip":false},"view":{"focus":"WORLD"}},"id":5028785782563077},{"definition":{"requests":[{"formulas":[{"formula":"query1","limit":{"count":25,"order":"desc"}}],"response_format":"scalar","queries":[{"search":{"query":"abc"},"data_source":"rum","compute":{"aggregation":"count"},"name":"query1","indexes":["*"]}]}],"type":"geomap","style":{"palette":"hostmap_blues","palette_flip":false},"view":{"focus":"WORLD"}},"id":5380773396990314},{"definition":{"style":{"palette":"hostmap_blues","palette_flip":false},"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"my custom link"}],"time":{"live_span":"4h"},"requests":[{"formulas":[{"formula":"query1"}],"response_format":"scalar","queries":[{"data_source":"security_signals","compute":{"aggregation":"count"},"name":"query1","indexes":["*"]}]}],"type":"geomap","view":{"focus":"WORLD"}},"id":473765914880492}],"layout_type":"ordered"}' headers: Cache-Control: - no-cache @@ -196,7 +196,7 @@ interactions: Content-Type: - application/json Date: - - Tue, 27 Apr 2021 06:58:34 GMT + - Mon, 24 May 2021 14:12:16 GMT Pragma: - no-cache Strict-Transport-Security: @@ -206,9 +206,9 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Debug: - - nLnnBNvlCFDECRnZvzDb0z4sAO35G+IMidcAs8vrCKyjvsKWE8Yd9S3n6OjZ1qRN + - HbtaOKlJ6OCrx9tMXO6ivMTrEM+g0c93HDp08trmOmgdHozC5J+vn10F0H4WPjCU X-Dd-Version: - - "35.4397207" + - "35.4593741" X-Frame-Options: - SAMEORIGIN status: 200 OK @@ -223,11 +223,11 @@ interactions: Dd-Operation-Id: - GetDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.19 (go go1.15.7; os darwin; arch amd64) - url: https://api.datadoghq.com/api/v1/dashboard/myq-qpv-k3m + - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) + url: https://api.datadoghq.com/api/v1/dashboard/7ae-m9q-p3n 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":"myq-qpv-k3m","title":"tf-TestAccDatadogDashboardGeomapFormula_import-local-1619506707","url":"/dashboard/myq-qpv-k3m/tf-testaccdatadogdashboardgeomapformulaimport-local-1619506707","created_at":"2021-04-27T06:58:29.153119+00:00","modified_at":"2021-04-27T06:58:29.153119+00:00","author_handle":"frog@datadoghq.com","widgets":[{"definition":{"requests":[{"formulas":[{"formula":"query1 + query2","limit":{"count":10,"order":"asc"}}],"response_format":"scalar","queries":[{"aggregator":"sum","data_source":"metrics","name":"query1","query":"avg:system.cpu.system{*} by {datacenter}"},{"aggregator":"sum","data_source":"metrics","name":"query2","query":"avg:system.load.1{*} by {datacenter}"}]}],"type":"geomap","style":{"palette":"hostmap_blues","palette_flip":false},"view":{"focus":"WORLD"}},"id":5661738832269822},{"definition":{"requests":[{"formulas":[{"formula":"query1","limit":{"count":25,"order":"desc"}}],"response_format":"scalar","queries":[{"search":{"query":"abc"},"data_source":"rum","compute":{"aggregation":"count"},"name":"query1","indexes":["*"]}]}],"type":"geomap","style":{"palette":"hostmap_blues","palette_flip":false},"view":{"focus":"WORLD"}},"id":8505986293990458},{"definition":{"style":{"palette":"hostmap_blues","palette_flip":false},"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"my custom link"}],"time":{"live_span":"4h"},"requests":[{"formulas":[{"formula":"query1"}],"response_format":"scalar","queries":[{"data_source":"security_signals","compute":{"aggregation":"count"},"name":"query1","indexes":["*"]}]}],"type":"geomap","view":{"focus":"WORLD"}},"id":3442821028347668}],"layout_type":"ordered"}' + body: '{"notify_list":[],"description":"Created using the Datadog provider in Terraform","restricted_roles":["284d8b66-93f9-11eb-9c37-da7ad0900002","043a2842-e140-11e8-bb04-7fd10177666e","657de3a2-29f8-11eb-83b5-6b8ebfb2f184","e82bf27a-986c-11eb-9cba-da7ad0900002","f257ba30-dbb2-11ea-a5ff-5fd1d308318a","6bf314be-5c16-11eb-8e98-2356ea436065","62cbc476-5c16-11eb-8e98-0388ea7a41f8","08604de8-1dca-11eb-800c-9f5f55ff734d","9b3ab170-b768-11eb-a45a-da7ad0900002","7a83f306-96ca-11eb-9c74-da7ad0900002","16169788-28e4-11eb-832c-fb84162ef3eb","4de53192-9946-11eb-9cee-da7ad0900002","1302282c-b93b-11eb-a436-da7ad0900002","17d73994-7531-11eb-94b9-da7ad0900002"],"author_name":"Qin Chen","template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"7ae-m9q-p3n","title":"tf-TestAccDatadogDashboardGeomapFormula_import-local-1621865532","url":"/dashboard/7ae-m9q-p3n/tf-testaccdatadogdashboardgeomapformulaimport-local-1621865532","created_at":"2021-05-24T14:12:14.626751+00:00","modified_at":"2021-05-24T14:12:14.626751+00:00","author_handle":"qin.chen@datadoghq.com","widgets":[{"definition":{"requests":[{"formulas":[{"formula":"query1 + query2","limit":{"count":10,"order":"asc"}}],"response_format":"scalar","queries":[{"aggregator":"sum","data_source":"metrics","name":"query1","query":"avg:system.cpu.system{*} by {datacenter}"},{"aggregator":"sum","data_source":"metrics","name":"query2","query":"avg:system.load.1{*} by {datacenter}"}]}],"type":"geomap","style":{"palette":"hostmap_blues","palette_flip":false},"view":{"focus":"WORLD"}},"id":5028785782563077},{"definition":{"requests":[{"formulas":[{"formula":"query1","limit":{"count":25,"order":"desc"}}],"response_format":"scalar","queries":[{"search":{"query":"abc"},"data_source":"rum","compute":{"aggregation":"count"},"name":"query1","indexes":["*"]}]}],"type":"geomap","style":{"palette":"hostmap_blues","palette_flip":false},"view":{"focus":"WORLD"}},"id":5380773396990314},{"definition":{"style":{"palette":"hostmap_blues","palette_flip":false},"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"my custom link"}],"time":{"live_span":"4h"},"requests":[{"formulas":[{"formula":"query1"}],"response_format":"scalar","queries":[{"data_source":"security_signals","compute":{"aggregation":"count"},"name":"query1","indexes":["*"]}]}],"type":"geomap","view":{"focus":"WORLD"}},"id":473765914880492}],"layout_type":"ordered"}' headers: Cache-Control: - no-cache @@ -238,7 +238,7 @@ interactions: Content-Type: - application/json Date: - - Tue, 27 Apr 2021 06:58:34 GMT + - Mon, 24 May 2021 14:12:17 GMT Pragma: - no-cache Strict-Transport-Security: @@ -248,9 +248,9 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Debug: - - twvpGlmuom5y6A0pjGtXzTf554cmwJgTcCZ71fK4H/RDi+v5ehBK0zQiRcTJQG5C + - Um4CoU685QqAscnxhS5BD+goWu2yX1Jd4zCfGzSsEvPPIm1qURZaF8dlLl/OEY4I X-Dd-Version: - - "35.4397207" + - "35.4593741" X-Frame-Options: - SAMEORIGIN status: 200 OK @@ -265,11 +265,11 @@ interactions: Dd-Operation-Id: - DeleteDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.19 (go go1.15.7; os darwin; arch amd64) - url: https://api.datadoghq.com/api/v1/dashboard/myq-qpv-k3m + - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) + url: https://api.datadoghq.com/api/v1/dashboard/7ae-m9q-p3n method: DELETE response: - body: '{"deleted_dashboard_id":"myq-qpv-k3m"}' + body: '{"deleted_dashboard_id":"7ae-m9q-p3n"}' headers: Cache-Control: - no-cache @@ -280,7 +280,7 @@ interactions: Content-Type: - application/json Date: - - Tue, 27 Apr 2021 06:58:34 GMT + - Mon, 24 May 2021 14:12:18 GMT Pragma: - no-cache Strict-Transport-Security: @@ -290,9 +290,9 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Debug: - - 5gfwVh/5HZ+AnGd/Di93w3NEWC6KMHT9KzmHEiRJmNdOjBtAsbOcgVFyqEChw71h + - B1nwy/pPNqX+q4pQT22cdp1QCexE35IF8qwSHy0Nf7IW0Y881qtn4tXN1lpmzaKc X-Dd-Version: - - "35.4397207" + - "35.4593741" X-Frame-Options: - SAMEORIGIN status: 200 OK @@ -307,11 +307,11 @@ interactions: Dd-Operation-Id: - GetDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.19 (go go1.15.7; os darwin; arch amd64) - url: https://api.datadoghq.com/api/v1/dashboard/myq-qpv-k3m + - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) + url: https://api.datadoghq.com/api/v1/dashboard/7ae-m9q-p3n method: GET response: - body: '{"errors": ["Dashboard with ID myq-qpv-k3m not found"]}' + body: '{"errors": ["Dashboard with ID 7ae-m9q-p3n not found"]}' headers: Cache-Control: - no-cache @@ -322,7 +322,7 @@ interactions: Content-Type: - application/json Date: - - Tue, 27 Apr 2021 06:58:35 GMT + - Mon, 24 May 2021 14:12:18 GMT Pragma: - no-cache Strict-Transport-Security: @@ -332,7 +332,7 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Version: - - "35.4397207" + - "35.4593741" X-Frame-Options: - SAMEORIGIN status: 404 Not Found diff --git a/datadog/tests/cassettes/TestAccDatadogDashboardGeomap_import.freeze b/datadog/tests/cassettes/TestAccDatadogDashboardGeomap_import.freeze index c9fd84193..cc6992dab 100644 --- a/datadog/tests/cassettes/TestAccDatadogDashboardGeomap_import.freeze +++ b/datadog/tests/cassettes/TestAccDatadogDashboardGeomap_import.freeze @@ -1 +1 @@ -2021-04-27T08:58:27.619914+02:00 \ No newline at end of file +2021-05-24T10:37:36.41674-04:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogDashboardGeomap_import.yaml b/datadog/tests/cassettes/TestAccDatadogDashboardGeomap_import.yaml index b9c3cd1d8..96888d048 100644 --- a/datadog/tests/cassettes/TestAccDatadogDashboardGeomap_import.yaml +++ b/datadog/tests/cassettes/TestAccDatadogDashboardGeomap_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-TestAccDatadogDashboardGeomap_import-local-1619506707","widgets":[{"definition":{"requests":[{"q":"avg:system.load.1{*}"}],"style":{"palette":"hostmap_blues","palette_flip":false},"type":"geomap","view":{"focus":"WORLD"}}},{"definition":{"custom_links":[{"label":"Test Custom Link label","link":"https://app.datadoghq.com/dashboard/lists"}],"requests":[{"log_query":{"compute":{"aggregation":"count"},"index":"*","search":{"query":""}}}],"style":{"palette":"hostmap_blues","palette_flip":false},"time":{"live_span":"1h"},"type":"geomap","view":{"focus":"WORLD"}}},{"definition":{"requests":[{"rum_query":{"compute":{"aggregation":"count"},"index":"*","search":{"query":""}}}],"style":{"palette":"hostmap_blues","palette_flip":false},"time":{"live_span":"4h"},"type":"geomap","view":{"focus":"WORLD"}}}]} + {"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-TestAccDatadogDashboardGeomap_import-local-1621865532","widgets":[{"definition":{"requests":[{"q":"avg:system.load.1{*}"}],"style":{"palette":"hostmap_blues","palette_flip":false},"type":"geomap","view":{"focus":"WORLD"}}},{"definition":{"custom_links":[{"label":"Test Custom Link label","link":"https://app.datadoghq.com/dashboard/lists"},{"is_hidden":true,"link":"https://app.datadoghq.com/dashboard/lists","override_label":"logs"}],"requests":[{"log_query":{"compute":{"aggregation":"count"},"index":"*","search":{"query":""}}}],"style":{"palette":"hostmap_blues","palette_flip":false},"time":{"live_span":"1h"},"type":"geomap","view":{"focus":"WORLD"}}},{"definition":{"requests":[{"rum_query":{"compute":{"aggregation":"count"},"index":"*","search":{"query":""}}}],"style":{"palette":"hostmap_blues","palette_flip":false},"time":{"live_span":"4h"},"type":"geomap","view":{"focus":"WORLD"}}}]} form: {} headers: Accept: @@ -13,11 +13,11 @@ interactions: Dd-Operation-Id: - CreateDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.19 (go go1.15.7; os darwin; arch amd64) + - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) 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":"r87-rkv-9zm","title":"tf-TestAccDatadogDashboardGeomap_import-local-1619506707","url":"/dashboard/r87-rkv-9zm/tf-testaccdatadogdashboardgeomapimport-local-1619506707","created_at":"2021-04-27T06:58:29.156112+00:00","modified_at":"2021-04-27T06:58:29.156112+00:00","author_handle":"frog@datadoghq.com","widgets":[{"definition":{"requests":[{"q":"avg:system.load.1{*}"}],"type":"geomap","style":{"palette":"hostmap_blues","palette_flip":false},"view":{"focus":"WORLD"}},"id":4639613529631183},{"definition":{"style":{"palette":"hostmap_blues","palette_flip":false},"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test Custom Link label"}],"time":{"live_span":"1h"},"requests":[{"log_query":{"index":"*","search":{"query":""},"compute":{"aggregation":"count"}}}],"type":"geomap","view":{"focus":"WORLD"}},"id":658528929802208},{"definition":{"requests":[{"rum_query":{"index":"*","search":{"query":""},"compute":{"aggregation":"count"}}}],"view":{"focus":"WORLD"},"type":"geomap","style":{"palette":"hostmap_blues","palette_flip":false},"time":{"live_span":"4h"}},"id":8526536237626829}],"layout_type":"ordered"}' + body: '{"notify_list":[],"description":"Created using the Datadog provider in Terraform","restricted_roles":["043a2842-e140-11e8-bb04-7fd10177666e","08604de8-1dca-11eb-800c-9f5f55ff734d","1302282c-b93b-11eb-a436-da7ad0900002","16169788-28e4-11eb-832c-fb84162ef3eb","17d73994-7531-11eb-94b9-da7ad0900002","284d8b66-93f9-11eb-9c37-da7ad0900002","4de53192-9946-11eb-9cee-da7ad0900002","62cbc476-5c16-11eb-8e98-0388ea7a41f8","657de3a2-29f8-11eb-83b5-6b8ebfb2f184","6bf314be-5c16-11eb-8e98-2356ea436065","7a83f306-96ca-11eb-9c74-da7ad0900002","9b3ab170-b768-11eb-a45a-da7ad0900002","e82bf27a-986c-11eb-9cba-da7ad0900002","f257ba30-dbb2-11ea-a5ff-5fd1d308318a"],"author_name":"Qin Chen","template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"ndy-e6k-9mi","title":"tf-TestAccDatadogDashboardGeomap_import-local-1621865532","url":"/dashboard/ndy-e6k-9mi/tf-testaccdatadogdashboardgeomapimport-local-1621865532","created_at":"2021-05-24T14:12:14.627372+00:00","modified_at":"2021-05-24T14:12:14.627372+00:00","author_handle":"qin.chen@datadoghq.com","widgets":[{"definition":{"requests":[{"q":"avg:system.load.1{*}"}],"type":"geomap","style":{"palette":"hostmap_blues","palette_flip":false},"view":{"focus":"WORLD"}},"id":535389993629925},{"definition":{"style":{"palette":"hostmap_blues","palette_flip":false},"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test Custom Link label"},{"override_label":"logs","is_hidden":true,"link":"https://app.datadoghq.com/dashboard/lists"}],"time":{"live_span":"1h"},"requests":[{"log_query":{"index":"*","search":{"query":""},"compute":{"aggregation":"count"}}}],"type":"geomap","view":{"focus":"WORLD"}},"id":2251700787348910},{"definition":{"requests":[{"rum_query":{"index":"*","search":{"query":""},"compute":{"aggregation":"count"}}}],"view":{"focus":"WORLD"},"type":"geomap","style":{"palette":"hostmap_blues","palette_flip":false},"time":{"live_span":"4h"}},"id":4590262193228478}],"layout_type":"ordered"}' headers: Cache-Control: - no-cache @@ -28,7 +28,7 @@ interactions: Content-Type: - application/json Date: - - Tue, 27 Apr 2021 06:58:32 GMT + - Mon, 24 May 2021 14:12:14 GMT Pragma: - no-cache Strict-Transport-Security: @@ -38,9 +38,9 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Debug: - - tpRCH6w417YjBovRJ8VmtuXmNONVYiRp2c8d2AxjPdGBn8PCtgG4vAztrx3qUZAN + - l8RQo2maZqJf6GFThBbKNE6dvthz6njusVtau3dPXJWL2RLFoN81H+BLPB/1xgs1 X-Dd-Version: - - "35.4397207" + - "35.4593741" X-Frame-Options: - SAMEORIGIN status: 200 OK @@ -55,11 +55,11 @@ interactions: Dd-Operation-Id: - GetDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.19 (go go1.15.7; os darwin; arch amd64) - url: https://api.datadoghq.com/api/v1/dashboard/r87-rkv-9zm + - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) + url: https://api.datadoghq.com/api/v1/dashboard/ndy-e6k-9mi 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":"r87-rkv-9zm","title":"tf-TestAccDatadogDashboardGeomap_import-local-1619506707","url":"/dashboard/r87-rkv-9zm/tf-testaccdatadogdashboardgeomapimport-local-1619506707","created_at":"2021-04-27T06:58:29.156112+00:00","modified_at":"2021-04-27T06:58:29.156112+00:00","author_handle":"frog@datadoghq.com","widgets":[{"definition":{"requests":[{"q":"avg:system.load.1{*}"}],"type":"geomap","style":{"palette":"hostmap_blues","palette_flip":false},"view":{"focus":"WORLD"}},"id":4639613529631183},{"definition":{"style":{"palette":"hostmap_blues","palette_flip":false},"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test Custom Link label"}],"time":{"live_span":"1h"},"requests":[{"log_query":{"index":"*","search":{"query":""},"compute":{"aggregation":"count"}}}],"type":"geomap","view":{"focus":"WORLD"}},"id":658528929802208},{"definition":{"requests":[{"rum_query":{"index":"*","search":{"query":""},"compute":{"aggregation":"count"}}}],"view":{"focus":"WORLD"},"type":"geomap","style":{"palette":"hostmap_blues","palette_flip":false},"time":{"live_span":"4h"}},"id":8526536237626829}],"layout_type":"ordered"}' + body: '{"notify_list":[],"description":"Created using the Datadog provider in Terraform","restricted_roles":["284d8b66-93f9-11eb-9c37-da7ad0900002","043a2842-e140-11e8-bb04-7fd10177666e","657de3a2-29f8-11eb-83b5-6b8ebfb2f184","e82bf27a-986c-11eb-9cba-da7ad0900002","f257ba30-dbb2-11ea-a5ff-5fd1d308318a","6bf314be-5c16-11eb-8e98-2356ea436065","62cbc476-5c16-11eb-8e98-0388ea7a41f8","08604de8-1dca-11eb-800c-9f5f55ff734d","9b3ab170-b768-11eb-a45a-da7ad0900002","7a83f306-96ca-11eb-9c74-da7ad0900002","16169788-28e4-11eb-832c-fb84162ef3eb","4de53192-9946-11eb-9cee-da7ad0900002","1302282c-b93b-11eb-a436-da7ad0900002","17d73994-7531-11eb-94b9-da7ad0900002"],"author_name":"Qin Chen","template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"ndy-e6k-9mi","title":"tf-TestAccDatadogDashboardGeomap_import-local-1621865532","url":"/dashboard/ndy-e6k-9mi/tf-testaccdatadogdashboardgeomapimport-local-1621865532","created_at":"2021-05-24T14:12:14.627372+00:00","modified_at":"2021-05-24T14:12:14.627372+00:00","author_handle":"qin.chen@datadoghq.com","widgets":[{"definition":{"requests":[{"q":"avg:system.load.1{*}"}],"type":"geomap","style":{"palette":"hostmap_blues","palette_flip":false},"view":{"focus":"WORLD"}},"id":535389993629925},{"definition":{"style":{"palette":"hostmap_blues","palette_flip":false},"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test Custom Link label"},{"override_label":"logs","is_hidden":true,"link":"https://app.datadoghq.com/dashboard/lists"}],"time":{"live_span":"1h"},"requests":[{"log_query":{"index":"*","search":{"query":""},"compute":{"aggregation":"count"}}}],"type":"geomap","view":{"focus":"WORLD"}},"id":2251700787348910},{"definition":{"requests":[{"rum_query":{"index":"*","search":{"query":""},"compute":{"aggregation":"count"}}}],"view":{"focus":"WORLD"},"type":"geomap","style":{"palette":"hostmap_blues","palette_flip":false},"time":{"live_span":"4h"}},"id":4590262193228478}],"layout_type":"ordered"}' headers: Cache-Control: - no-cache @@ -70,7 +70,7 @@ interactions: Content-Type: - application/json Date: - - Tue, 27 Apr 2021 06:58:32 GMT + - Mon, 24 May 2021 14:12:14 GMT Pragma: - no-cache Strict-Transport-Security: @@ -80,9 +80,9 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Debug: - - l8RQo2maZqJf6GFThBbKNE6dvthz6njusVtau3dPXJWL2RLFoN81H+BLPB/1xgs1 + - vdJ3/nHEY1ioXQ6pQrBVvsQK1s4yyc+wufBMPSoXql71qZVuP/xMdtNo6DafhOAk X-Dd-Version: - - "35.4397207" + - "35.4593741" X-Frame-Options: - SAMEORIGIN status: 200 OK @@ -97,11 +97,11 @@ interactions: Dd-Operation-Id: - GetDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.19 (go go1.15.7; os darwin; arch amd64) - url: https://api.datadoghq.com/api/v1/dashboard/r87-rkv-9zm + - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) + url: https://api.datadoghq.com/api/v1/dashboard/ndy-e6k-9mi 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":"r87-rkv-9zm","title":"tf-TestAccDatadogDashboardGeomap_import-local-1619506707","url":"/dashboard/r87-rkv-9zm/tf-testaccdatadogdashboardgeomapimport-local-1619506707","created_at":"2021-04-27T06:58:29.156112+00:00","modified_at":"2021-04-27T06:58:29.156112+00:00","author_handle":"frog@datadoghq.com","widgets":[{"definition":{"requests":[{"q":"avg:system.load.1{*}"}],"type":"geomap","style":{"palette":"hostmap_blues","palette_flip":false},"view":{"focus":"WORLD"}},"id":4639613529631183},{"definition":{"style":{"palette":"hostmap_blues","palette_flip":false},"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test Custom Link label"}],"time":{"live_span":"1h"},"requests":[{"log_query":{"index":"*","search":{"query":""},"compute":{"aggregation":"count"}}}],"type":"geomap","view":{"focus":"WORLD"}},"id":658528929802208},{"definition":{"requests":[{"rum_query":{"index":"*","search":{"query":""},"compute":{"aggregation":"count"}}}],"view":{"focus":"WORLD"},"type":"geomap","style":{"palette":"hostmap_blues","palette_flip":false},"time":{"live_span":"4h"}},"id":8526536237626829}],"layout_type":"ordered"}' + body: '{"notify_list":[],"description":"Created using the Datadog provider in Terraform","restricted_roles":["284d8b66-93f9-11eb-9c37-da7ad0900002","043a2842-e140-11e8-bb04-7fd10177666e","657de3a2-29f8-11eb-83b5-6b8ebfb2f184","e82bf27a-986c-11eb-9cba-da7ad0900002","f257ba30-dbb2-11ea-a5ff-5fd1d308318a","6bf314be-5c16-11eb-8e98-2356ea436065","62cbc476-5c16-11eb-8e98-0388ea7a41f8","08604de8-1dca-11eb-800c-9f5f55ff734d","9b3ab170-b768-11eb-a45a-da7ad0900002","7a83f306-96ca-11eb-9c74-da7ad0900002","16169788-28e4-11eb-832c-fb84162ef3eb","4de53192-9946-11eb-9cee-da7ad0900002","1302282c-b93b-11eb-a436-da7ad0900002","17d73994-7531-11eb-94b9-da7ad0900002"],"author_name":"Qin Chen","template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"ndy-e6k-9mi","title":"tf-TestAccDatadogDashboardGeomap_import-local-1621865532","url":"/dashboard/ndy-e6k-9mi/tf-testaccdatadogdashboardgeomapimport-local-1621865532","created_at":"2021-05-24T14:12:14.627372+00:00","modified_at":"2021-05-24T14:12:14.627372+00:00","author_handle":"qin.chen@datadoghq.com","widgets":[{"definition":{"requests":[{"q":"avg:system.load.1{*}"}],"type":"geomap","style":{"palette":"hostmap_blues","palette_flip":false},"view":{"focus":"WORLD"}},"id":535389993629925},{"definition":{"style":{"palette":"hostmap_blues","palette_flip":false},"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test Custom Link label"},{"override_label":"logs","is_hidden":true,"link":"https://app.datadoghq.com/dashboard/lists"}],"time":{"live_span":"1h"},"requests":[{"log_query":{"index":"*","search":{"query":""},"compute":{"aggregation":"count"}}}],"type":"geomap","view":{"focus":"WORLD"}},"id":2251700787348910},{"definition":{"requests":[{"rum_query":{"index":"*","search":{"query":""},"compute":{"aggregation":"count"}}}],"view":{"focus":"WORLD"},"type":"geomap","style":{"palette":"hostmap_blues","palette_flip":false},"time":{"live_span":"4h"}},"id":4590262193228478}],"layout_type":"ordered"}' headers: Cache-Control: - no-cache @@ -112,7 +112,7 @@ interactions: Content-Type: - application/json Date: - - Tue, 27 Apr 2021 06:58:33 GMT + - Mon, 24 May 2021 14:12:15 GMT Pragma: - no-cache Strict-Transport-Security: @@ -122,9 +122,9 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Debug: - - 25u1gDlL724DHllbjFT4BhOLorBTilh+aah2uWAUEjFC/+rjczJdiyWrV/HwLwe/ + - tpRCH6w417YjBovRJ8VmtuXmNONVYiRp2c8d2AxjPdGBn8PCtgG4vAztrx3qUZAN X-Dd-Version: - - "35.4397207" + - "35.4593741" X-Frame-Options: - SAMEORIGIN status: 200 OK @@ -139,11 +139,11 @@ interactions: Dd-Operation-Id: - GetDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.19 (go go1.15.7; os darwin; arch amd64) - url: https://api.datadoghq.com/api/v1/dashboard/r87-rkv-9zm + - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) + url: https://api.datadoghq.com/api/v1/dashboard/ndy-e6k-9mi 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":"r87-rkv-9zm","title":"tf-TestAccDatadogDashboardGeomap_import-local-1619506707","url":"/dashboard/r87-rkv-9zm/tf-testaccdatadogdashboardgeomapimport-local-1619506707","created_at":"2021-04-27T06:58:29.156112+00:00","modified_at":"2021-04-27T06:58:29.156112+00:00","author_handle":"frog@datadoghq.com","widgets":[{"definition":{"requests":[{"q":"avg:system.load.1{*}"}],"type":"geomap","style":{"palette":"hostmap_blues","palette_flip":false},"view":{"focus":"WORLD"}},"id":4639613529631183},{"definition":{"style":{"palette":"hostmap_blues","palette_flip":false},"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test Custom Link label"}],"time":{"live_span":"1h"},"requests":[{"log_query":{"index":"*","search":{"query":""},"compute":{"aggregation":"count"}}}],"type":"geomap","view":{"focus":"WORLD"}},"id":658528929802208},{"definition":{"requests":[{"rum_query":{"index":"*","search":{"query":""},"compute":{"aggregation":"count"}}}],"view":{"focus":"WORLD"},"type":"geomap","style":{"palette":"hostmap_blues","palette_flip":false},"time":{"live_span":"4h"}},"id":8526536237626829}],"layout_type":"ordered"}' + body: '{"notify_list":[],"description":"Created using the Datadog provider in Terraform","restricted_roles":["284d8b66-93f9-11eb-9c37-da7ad0900002","043a2842-e140-11e8-bb04-7fd10177666e","657de3a2-29f8-11eb-83b5-6b8ebfb2f184","e82bf27a-986c-11eb-9cba-da7ad0900002","f257ba30-dbb2-11ea-a5ff-5fd1d308318a","6bf314be-5c16-11eb-8e98-2356ea436065","62cbc476-5c16-11eb-8e98-0388ea7a41f8","08604de8-1dca-11eb-800c-9f5f55ff734d","9b3ab170-b768-11eb-a45a-da7ad0900002","7a83f306-96ca-11eb-9c74-da7ad0900002","16169788-28e4-11eb-832c-fb84162ef3eb","4de53192-9946-11eb-9cee-da7ad0900002","1302282c-b93b-11eb-a436-da7ad0900002","17d73994-7531-11eb-94b9-da7ad0900002"],"author_name":"Qin Chen","template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"ndy-e6k-9mi","title":"tf-TestAccDatadogDashboardGeomap_import-local-1621865532","url":"/dashboard/ndy-e6k-9mi/tf-testaccdatadogdashboardgeomapimport-local-1621865532","created_at":"2021-05-24T14:12:14.627372+00:00","modified_at":"2021-05-24T14:12:14.627372+00:00","author_handle":"qin.chen@datadoghq.com","widgets":[{"definition":{"requests":[{"q":"avg:system.load.1{*}"}],"type":"geomap","style":{"palette":"hostmap_blues","palette_flip":false},"view":{"focus":"WORLD"}},"id":535389993629925},{"definition":{"style":{"palette":"hostmap_blues","palette_flip":false},"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test Custom Link label"},{"override_label":"logs","is_hidden":true,"link":"https://app.datadoghq.com/dashboard/lists"}],"time":{"live_span":"1h"},"requests":[{"log_query":{"index":"*","search":{"query":""},"compute":{"aggregation":"count"}}}],"type":"geomap","view":{"focus":"WORLD"}},"id":2251700787348910},{"definition":{"requests":[{"rum_query":{"index":"*","search":{"query":""},"compute":{"aggregation":"count"}}}],"view":{"focus":"WORLD"},"type":"geomap","style":{"palette":"hostmap_blues","palette_flip":false},"time":{"live_span":"4h"}},"id":4590262193228478}],"layout_type":"ordered"}' headers: Cache-Control: - no-cache @@ -154,7 +154,7 @@ interactions: Content-Type: - application/json Date: - - Tue, 27 Apr 2021 06:58:33 GMT + - Mon, 24 May 2021 14:12:16 GMT Pragma: - no-cache Strict-Transport-Security: @@ -164,9 +164,9 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Debug: - - Wjq53IVIwnB4SiR238oOYgHFMq/ZYP0LQ/Dv8C2fFLBwTje/dWJHu6pI6vIOK1zG + - Um4CoU685QqAscnxhS5BD+goWu2yX1Jd4zCfGzSsEvPPIm1qURZaF8dlLl/OEY4I X-Dd-Version: - - "35.4397207" + - "35.4593741" X-Frame-Options: - SAMEORIGIN status: 200 OK @@ -181,11 +181,11 @@ interactions: Dd-Operation-Id: - GetDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.19 (go go1.15.7; os darwin; arch amd64) - url: https://api.datadoghq.com/api/v1/dashboard/r87-rkv-9zm + - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) + url: https://api.datadoghq.com/api/v1/dashboard/ndy-e6k-9mi 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":"r87-rkv-9zm","title":"tf-TestAccDatadogDashboardGeomap_import-local-1619506707","url":"/dashboard/r87-rkv-9zm/tf-testaccdatadogdashboardgeomapimport-local-1619506707","created_at":"2021-04-27T06:58:29.156112+00:00","modified_at":"2021-04-27T06:58:29.156112+00:00","author_handle":"frog@datadoghq.com","widgets":[{"definition":{"requests":[{"q":"avg:system.load.1{*}"}],"type":"geomap","style":{"palette":"hostmap_blues","palette_flip":false},"view":{"focus":"WORLD"}},"id":4639613529631183},{"definition":{"style":{"palette":"hostmap_blues","palette_flip":false},"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test Custom Link label"}],"time":{"live_span":"1h"},"requests":[{"log_query":{"index":"*","search":{"query":""},"compute":{"aggregation":"count"}}}],"type":"geomap","view":{"focus":"WORLD"}},"id":658528929802208},{"definition":{"requests":[{"rum_query":{"index":"*","search":{"query":""},"compute":{"aggregation":"count"}}}],"view":{"focus":"WORLD"},"type":"geomap","style":{"palette":"hostmap_blues","palette_flip":false},"time":{"live_span":"4h"}},"id":8526536237626829}],"layout_type":"ordered"}' + body: '{"notify_list":[],"description":"Created using the Datadog provider in Terraform","restricted_roles":["284d8b66-93f9-11eb-9c37-da7ad0900002","043a2842-e140-11e8-bb04-7fd10177666e","657de3a2-29f8-11eb-83b5-6b8ebfb2f184","e82bf27a-986c-11eb-9cba-da7ad0900002","f257ba30-dbb2-11ea-a5ff-5fd1d308318a","6bf314be-5c16-11eb-8e98-2356ea436065","62cbc476-5c16-11eb-8e98-0388ea7a41f8","08604de8-1dca-11eb-800c-9f5f55ff734d","9b3ab170-b768-11eb-a45a-da7ad0900002","7a83f306-96ca-11eb-9c74-da7ad0900002","16169788-28e4-11eb-832c-fb84162ef3eb","4de53192-9946-11eb-9cee-da7ad0900002","1302282c-b93b-11eb-a436-da7ad0900002","17d73994-7531-11eb-94b9-da7ad0900002"],"author_name":"Qin Chen","template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"ndy-e6k-9mi","title":"tf-TestAccDatadogDashboardGeomap_import-local-1621865532","url":"/dashboard/ndy-e6k-9mi/tf-testaccdatadogdashboardgeomapimport-local-1621865532","created_at":"2021-05-24T14:12:14.627372+00:00","modified_at":"2021-05-24T14:12:14.627372+00:00","author_handle":"qin.chen@datadoghq.com","widgets":[{"definition":{"requests":[{"q":"avg:system.load.1{*}"}],"type":"geomap","style":{"palette":"hostmap_blues","palette_flip":false},"view":{"focus":"WORLD"}},"id":535389993629925},{"definition":{"style":{"palette":"hostmap_blues","palette_flip":false},"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test Custom Link label"},{"override_label":"logs","is_hidden":true,"link":"https://app.datadoghq.com/dashboard/lists"}],"time":{"live_span":"1h"},"requests":[{"log_query":{"index":"*","search":{"query":""},"compute":{"aggregation":"count"}}}],"type":"geomap","view":{"focus":"WORLD"}},"id":2251700787348910},{"definition":{"requests":[{"rum_query":{"index":"*","search":{"query":""},"compute":{"aggregation":"count"}}}],"view":{"focus":"WORLD"},"type":"geomap","style":{"palette":"hostmap_blues","palette_flip":false},"time":{"live_span":"4h"}},"id":4590262193228478}],"layout_type":"ordered"}' headers: Cache-Control: - no-cache @@ -196,7 +196,7 @@ interactions: Content-Type: - application/json Date: - - Tue, 27 Apr 2021 06:58:33 GMT + - Mon, 24 May 2021 14:12:16 GMT Pragma: - no-cache Strict-Transport-Security: @@ -206,9 +206,9 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Debug: - - /L+SFFO+m1pPY+hRCpk5325fvfrNl0KmiquUNJolBN/5hu3HIwflqjZSbJ6NxDFG + - 5gfwVh/5HZ+AnGd/Di93w3NEWC6KMHT9KzmHEiRJmNdOjBtAsbOcgVFyqEChw71h X-Dd-Version: - - "35.4397207" + - "35.4593741" X-Frame-Options: - SAMEORIGIN status: 200 OK @@ -223,11 +223,11 @@ interactions: Dd-Operation-Id: - GetDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.19 (go go1.15.7; os darwin; arch amd64) - url: https://api.datadoghq.com/api/v1/dashboard/r87-rkv-9zm + - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) + url: https://api.datadoghq.com/api/v1/dashboard/ndy-e6k-9mi 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":"r87-rkv-9zm","title":"tf-TestAccDatadogDashboardGeomap_import-local-1619506707","url":"/dashboard/r87-rkv-9zm/tf-testaccdatadogdashboardgeomapimport-local-1619506707","created_at":"2021-04-27T06:58:29.156112+00:00","modified_at":"2021-04-27T06:58:29.156112+00:00","author_handle":"frog@datadoghq.com","widgets":[{"definition":{"requests":[{"q":"avg:system.load.1{*}"}],"type":"geomap","style":{"palette":"hostmap_blues","palette_flip":false},"view":{"focus":"WORLD"}},"id":4639613529631183},{"definition":{"style":{"palette":"hostmap_blues","palette_flip":false},"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test Custom Link label"}],"time":{"live_span":"1h"},"requests":[{"log_query":{"index":"*","search":{"query":""},"compute":{"aggregation":"count"}}}],"type":"geomap","view":{"focus":"WORLD"}},"id":658528929802208},{"definition":{"requests":[{"rum_query":{"index":"*","search":{"query":""},"compute":{"aggregation":"count"}}}],"view":{"focus":"WORLD"},"type":"geomap","style":{"palette":"hostmap_blues","palette_flip":false},"time":{"live_span":"4h"}},"id":8526536237626829}],"layout_type":"ordered"}' + body: '{"notify_list":[],"description":"Created using the Datadog provider in Terraform","restricted_roles":["284d8b66-93f9-11eb-9c37-da7ad0900002","043a2842-e140-11e8-bb04-7fd10177666e","657de3a2-29f8-11eb-83b5-6b8ebfb2f184","e82bf27a-986c-11eb-9cba-da7ad0900002","f257ba30-dbb2-11ea-a5ff-5fd1d308318a","6bf314be-5c16-11eb-8e98-2356ea436065","62cbc476-5c16-11eb-8e98-0388ea7a41f8","08604de8-1dca-11eb-800c-9f5f55ff734d","9b3ab170-b768-11eb-a45a-da7ad0900002","7a83f306-96ca-11eb-9c74-da7ad0900002","16169788-28e4-11eb-832c-fb84162ef3eb","4de53192-9946-11eb-9cee-da7ad0900002","1302282c-b93b-11eb-a436-da7ad0900002","17d73994-7531-11eb-94b9-da7ad0900002"],"author_name":"Qin Chen","template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"ndy-e6k-9mi","title":"tf-TestAccDatadogDashboardGeomap_import-local-1621865532","url":"/dashboard/ndy-e6k-9mi/tf-testaccdatadogdashboardgeomapimport-local-1621865532","created_at":"2021-05-24T14:12:14.627372+00:00","modified_at":"2021-05-24T14:12:14.627372+00:00","author_handle":"qin.chen@datadoghq.com","widgets":[{"definition":{"requests":[{"q":"avg:system.load.1{*}"}],"type":"geomap","style":{"palette":"hostmap_blues","palette_flip":false},"view":{"focus":"WORLD"}},"id":535389993629925},{"definition":{"style":{"palette":"hostmap_blues","palette_flip":false},"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test Custom Link label"},{"override_label":"logs","is_hidden":true,"link":"https://app.datadoghq.com/dashboard/lists"}],"time":{"live_span":"1h"},"requests":[{"log_query":{"index":"*","search":{"query":""},"compute":{"aggregation":"count"}}}],"type":"geomap","view":{"focus":"WORLD"}},"id":2251700787348910},{"definition":{"requests":[{"rum_query":{"index":"*","search":{"query":""},"compute":{"aggregation":"count"}}}],"view":{"focus":"WORLD"},"type":"geomap","style":{"palette":"hostmap_blues","palette_flip":false},"time":{"live_span":"4h"}},"id":4590262193228478}],"layout_type":"ordered"}' headers: Cache-Control: - no-cache @@ -238,7 +238,7 @@ interactions: Content-Type: - application/json Date: - - Tue, 27 Apr 2021 06:58:34 GMT + - Mon, 24 May 2021 14:12:17 GMT Pragma: - no-cache Strict-Transport-Security: @@ -248,9 +248,9 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Debug: - - F5gm0Rce1/Abr9/0Fw8HAqWfiz0FdiH8er/AXnN6lOn3L6KyGgbsLCwgPlob1No8 + - bgHykj7A9bfZx0Y5ZO3swhhp5tGUSNJHqFWR868+qg087CYrDOd5hQslC+noiEtH X-Dd-Version: - - "35.4397207" + - "35.4593741" X-Frame-Options: - SAMEORIGIN status: 200 OK @@ -265,11 +265,11 @@ interactions: Dd-Operation-Id: - DeleteDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.19 (go go1.15.7; os darwin; arch amd64) - url: https://api.datadoghq.com/api/v1/dashboard/r87-rkv-9zm + - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) + url: https://api.datadoghq.com/api/v1/dashboard/ndy-e6k-9mi method: DELETE response: - body: '{"deleted_dashboard_id":"r87-rkv-9zm"}' + body: '{"deleted_dashboard_id":"ndy-e6k-9mi"}' headers: Cache-Control: - no-cache @@ -280,7 +280,7 @@ interactions: Content-Type: - application/json Date: - - Tue, 27 Apr 2021 06:58:34 GMT + - Mon, 24 May 2021 14:12:18 GMT Pragma: - no-cache Strict-Transport-Security: @@ -290,9 +290,9 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Debug: - - 2328yjLSqI4XmR1pVqrPRR/SFcQsbafjEpPmZx7/3PfxUK1nJQQsX+wrMelyVyj+ + - L3ULR3HwCWYmEqCWGz2Yob3chcH4pjowBacBXkncP7o+/uPqKt9yGEYf/g1AJPzQ X-Dd-Version: - - "35.4397207" + - "35.4593741" X-Frame-Options: - SAMEORIGIN status: 200 OK @@ -307,11 +307,11 @@ interactions: Dd-Operation-Id: - GetDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.19 (go go1.15.7; os darwin; arch amd64) - url: https://api.datadoghq.com/api/v1/dashboard/r87-rkv-9zm + - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) + url: https://api.datadoghq.com/api/v1/dashboard/ndy-e6k-9mi method: GET response: - body: '{"errors": ["Dashboard with ID r87-rkv-9zm not found"]}' + body: '{"errors": ["Dashboard with ID ndy-e6k-9mi not found"]}' headers: Cache-Control: - no-cache @@ -322,7 +322,7 @@ interactions: Content-Type: - application/json Date: - - Tue, 27 Apr 2021 06:58:34 GMT + - Mon, 24 May 2021 14:12:18 GMT Pragma: - no-cache Strict-Transport-Security: @@ -332,7 +332,7 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Version: - - "35.4397207" + - "35.4593741" X-Frame-Options: - SAMEORIGIN status: 404 Not Found diff --git a/datadog/tests/cassettes/TestAccDatadogDashboardHeatMap.freeze b/datadog/tests/cassettes/TestAccDatadogDashboardHeatMap.freeze index 74f1eb009..18b3388c0 100644 --- a/datadog/tests/cassettes/TestAccDatadogDashboardHeatMap.freeze +++ b/datadog/tests/cassettes/TestAccDatadogDashboardHeatMap.freeze @@ -1 +1 @@ -2021-01-28T17:18:25.050258+01:00 \ No newline at end of file +2021-05-24T10:37:36.412883-04:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogDashboardHeatMap.yaml b/datadog/tests/cassettes/TestAccDatadogDashboardHeatMap.yaml index 4ff104ca9..8b47e41f6 100644 --- a/datadog/tests/cassettes/TestAccDatadogDashboardHeatMap.yaml +++ b/datadog/tests/cassettes/TestAccDatadogDashboardHeatMap.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-TestAccDatadogDashboardHeatMap-local-1611850705","widgets":[{"definition":{"custom_links":[{"label":"Test Custom Link label","link":"https://app.datadoghq.com/dashboard/lists"}],"events":[{"q":"env:prod","tags_execution":"and"}],"legend_size":"2","requests":[{"q":"avg:system.cpu.user{account:prod} by {app}","style":{"palette":"blue"}}],"show_legend":true,"time":{"live_span":"1mo"},"title":"Avg of system.cpu.user over account:prod by app","title_align":"center","title_size":"16","type":"heatmap","yaxis":{"include_zero":false,"max":"100"}}},{"definition":{"custom_links":[{"label":"Test Custom Link label","link":"https://app.datadoghq.com/dashboard/lists"}],"events":[{"q":"env:prod","tags_execution":"and"}],"legend_size":"2","requests":[{"q":"avg:system.cpu.user{account:prod} by {app}","style":{"palette":"blue"}}],"show_legend":true,"time":{"live_span":"1mo"},"title":"Avg of system.cpu.user over account:prod by app","title_align":"center","title_size":"16","type":"heatmap","yaxis":{"include_zero":false,"max":"100"}}}]} + {"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-TestAccDatadogDashboardHeatMap-local-1621865697","widgets":[{"definition":{"custom_links":[{"label":"Test Custom Link label","link":"https://app.datadoghq.com/dashboard/lists"},{"is_hidden":true,"link":"https://app.datadoghq.com/dashboard/lists","override_label":"logs"}],"events":[{"q":"env:prod","tags_execution":"and"}],"legend_size":"2","requests":[{"q":"avg:system.cpu.user{account:prod} by {app}","style":{"palette":"blue"}}],"show_legend":true,"time":{"live_span":"1mo"},"title":"Avg of system.cpu.user over account:prod by app","title_align":"center","title_size":"16","type":"heatmap","yaxis":{"include_zero":false,"max":"100"}}},{"definition":{"custom_links":[{"label":"Test Custom Link label","link":"https://app.datadoghq.com/dashboard/lists"}],"events":[{"q":"env:prod","tags_execution":"and"}],"legend_size":"2","requests":[{"q":"avg:system.cpu.user{account:prod} by {app}","style":{"palette":"blue"}}],"show_legend":true,"time":{"live_span":"1mo"},"title":"Avg of system.cpu.user over account:prod by app","title_align":"center","title_size":"16","type":"heatmap","yaxis":{"include_zero":false,"max":"100"}}}]} form: {} headers: Accept: @@ -13,25 +13,11 @@ interactions: Dd-Operation-Id: - CreateDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 1.15.0; terraform-cli 0.12.7-sdk) - datadog-api-client-go/1.0.0-beta.14 (go go1.15.4; os darwin; arch amd64) - X-Datadog-Parent-Id: - - "5999241310095311328" - X-Datadog-Sampling-Priority: - - "1" - X-Datadog-Trace-Id: - - "5891668597073950423" + - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) 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":"7bt-j9y-cz2","title":"tf-TestAccDatadogDashboardHeatMap-local-1611850705","url":"/dashboard/7bt-j9y-cz2/tf-testaccdatadogdashboardheatmap-local-1611850705","created_at":"2021-01-28T16:30:16.239397+00:00","modified_at":"2021-01-28T16:30:16.239397+00:00","author_handle":"frog@datadoghq.com","widgets":[{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test - Custom Link label"}],"title_size":"16","yaxis":{"include_zero":false,"max":"100"},"title_align":"center","events":[{"q":"env:prod","tags_execution":"and"}],"show_legend":true,"time":{"live_span":"1mo"},"title":"Avg - of system.cpu.user over account:prod by app","legend_size":"2","type":"heatmap","requests":[{"q":"avg:system.cpu.user{account:prod} - by {app}","style":{"palette":"blue"}}]},"id":4585604018940408},{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test - Custom Link label"}],"title_size":"16","yaxis":{"include_zero":false,"max":"100"},"title_align":"center","events":[{"q":"env:prod","tags_execution":"and"}],"show_legend":true,"time":{"live_span":"1mo"},"title":"Avg - of system.cpu.user over account:prod by app","legend_size":"2","type":"heatmap","requests":[{"q":"avg:system.cpu.user{account:prod} - by {app}","style":{"palette":"blue"}}]},"id":3903032546507783}],"layout_type":"ordered"}' + body: '{"notify_list":[],"description":"Created using the Datadog provider in Terraform","restricted_roles":["043a2842-e140-11e8-bb04-7fd10177666e","08604de8-1dca-11eb-800c-9f5f55ff734d","1302282c-b93b-11eb-a436-da7ad0900002","16169788-28e4-11eb-832c-fb84162ef3eb","17d73994-7531-11eb-94b9-da7ad0900002","284d8b66-93f9-11eb-9c37-da7ad0900002","4de53192-9946-11eb-9cee-da7ad0900002","62cbc476-5c16-11eb-8e98-0388ea7a41f8","657de3a2-29f8-11eb-83b5-6b8ebfb2f184","6bf314be-5c16-11eb-8e98-2356ea436065","7a83f306-96ca-11eb-9c74-da7ad0900002","9b3ab170-b768-11eb-a45a-da7ad0900002","e82bf27a-986c-11eb-9cba-da7ad0900002","f257ba30-dbb2-11ea-a5ff-5fd1d308318a"],"author_name":"Qin Chen","template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"xrx-h6j-gtf","title":"tf-TestAccDatadogDashboardHeatMap-local-1621865697","url":"/dashboard/xrx-h6j-gtf/tf-testaccdatadogdashboardheatmap-local-1621865697","created_at":"2021-05-24T14:14:58.175946+00:00","modified_at":"2021-05-24T14:14:58.175946+00:00","author_handle":"qin.chen@datadoghq.com","widgets":[{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test Custom Link label"},{"override_label":"logs","is_hidden":true,"link":"https://app.datadoghq.com/dashboard/lists"}],"title_size":"16","yaxis":{"include_zero":false,"max":"100"},"title_align":"center","events":[{"q":"env:prod","tags_execution":"and"}],"show_legend":true,"time":{"live_span":"1mo"},"title":"Avg of system.cpu.user over account:prod by app","legend_size":"2","type":"heatmap","requests":[{"q":"avg:system.cpu.user{account:prod} by {app}","style":{"palette":"blue"}}]},"id":1088240529084957},{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test Custom Link label"}],"title_size":"16","yaxis":{"include_zero":false,"max":"100"},"title_align":"center","events":[{"q":"env:prod","tags_execution":"and"}],"show_legend":true,"time":{"live_span":"1mo"},"title":"Avg of system.cpu.user over account:prod by app","legend_size":"2","type":"heatmap","requests":[{"q":"avg:system.cpu.user{account:prod} by {app}","style":{"palette":"blue"}}]},"id":6435336799935690}],"layout_type":"ordered"}' headers: Cache-Control: - no-cache @@ -42,12 +28,9 @@ interactions: Content-Type: - application/json Date: - - Thu, 28 Jan 2021 16:30:18 GMT + - Mon, 24 May 2021 14:14:58 GMT Pragma: - no-cache - Set-Cookie: - - DD-PSHARD=233; Max-Age=604800; Path=/; expires=Thu, 04-Feb-2021 16:30:16 GMT; - secure; HttpOnly Strict-Transport-Security: - max-age=15724800; Vary: @@ -55,9 +38,9 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Debug: - - fIO2C4qGDheGHy4YbS+r3a3CXbh4cbRo7roILOimQyiHGjQdOat0cIpWCkupM1uX + - gYZcaADwbKcv7Hm19HJx6WsLoKuOijDWAt2viPeCfWqUgyKY+9e1xZdmMJeXV3YV X-Dd-Version: - - "35.3796727" + - "35.4593741" X-Frame-Options: - SAMEORIGIN status: 200 OK @@ -72,25 +55,11 @@ interactions: Dd-Operation-Id: - GetDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 1.15.0; terraform-cli 0.12.7-sdk) - datadog-api-client-go/1.0.0-beta.14 (go go1.15.4; os darwin; arch amd64) - X-Datadog-Parent-Id: - - "2988234453758747373" - X-Datadog-Sampling-Priority: - - "1" - X-Datadog-Trace-Id: - - "5891668597073950423" - url: https://api.datadoghq.com/api/v1/dashboard/7bt-j9y-cz2 + - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) + url: https://api.datadoghq.com/api/v1/dashboard/xrx-h6j-gtf 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":"7bt-j9y-cz2","title":"tf-TestAccDatadogDashboardHeatMap-local-1611850705","url":"/dashboard/7bt-j9y-cz2/tf-testaccdatadogdashboardheatmap-local-1611850705","created_at":"2021-01-28T16:30:16.239397+00:00","modified_at":"2021-01-28T16:30:16.239397+00:00","author_handle":"frog@datadoghq.com","widgets":[{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test - Custom Link label"}],"title_size":"16","yaxis":{"include_zero":false,"max":"100"},"title_align":"center","events":[{"q":"env:prod","tags_execution":"and"}],"show_legend":true,"time":{"live_span":"1mo"},"title":"Avg - of system.cpu.user over account:prod by app","legend_size":"2","type":"heatmap","requests":[{"q":"avg:system.cpu.user{account:prod} - by {app}","style":{"palette":"blue"}}]},"id":4585604018940408},{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test - Custom Link label"}],"title_size":"16","yaxis":{"include_zero":false,"max":"100"},"title_align":"center","events":[{"q":"env:prod","tags_execution":"and"}],"show_legend":true,"time":{"live_span":"1mo"},"title":"Avg - of system.cpu.user over account:prod by app","legend_size":"2","type":"heatmap","requests":[{"q":"avg:system.cpu.user{account:prod} - by {app}","style":{"palette":"blue"}}]},"id":3903032546507783}],"layout_type":"ordered"}' + body: '{"notify_list":[],"description":"Created using the Datadog provider in Terraform","restricted_roles":["284d8b66-93f9-11eb-9c37-da7ad0900002","043a2842-e140-11e8-bb04-7fd10177666e","657de3a2-29f8-11eb-83b5-6b8ebfb2f184","e82bf27a-986c-11eb-9cba-da7ad0900002","f257ba30-dbb2-11ea-a5ff-5fd1d308318a","6bf314be-5c16-11eb-8e98-2356ea436065","62cbc476-5c16-11eb-8e98-0388ea7a41f8","08604de8-1dca-11eb-800c-9f5f55ff734d","9b3ab170-b768-11eb-a45a-da7ad0900002","7a83f306-96ca-11eb-9c74-da7ad0900002","16169788-28e4-11eb-832c-fb84162ef3eb","4de53192-9946-11eb-9cee-da7ad0900002","1302282c-b93b-11eb-a436-da7ad0900002","17d73994-7531-11eb-94b9-da7ad0900002"],"author_name":"Qin Chen","template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"xrx-h6j-gtf","title":"tf-TestAccDatadogDashboardHeatMap-local-1621865697","url":"/dashboard/xrx-h6j-gtf/tf-testaccdatadogdashboardheatmap-local-1621865697","created_at":"2021-05-24T14:14:58.175946+00:00","modified_at":"2021-05-24T14:14:58.175946+00:00","author_handle":"qin.chen@datadoghq.com","widgets":[{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test Custom Link label"},{"override_label":"logs","is_hidden":true,"link":"https://app.datadoghq.com/dashboard/lists"}],"title_size":"16","yaxis":{"include_zero":false,"max":"100"},"title_align":"center","events":[{"q":"env:prod","tags_execution":"and"}],"show_legend":true,"time":{"live_span":"1mo"},"title":"Avg of system.cpu.user over account:prod by app","legend_size":"2","type":"heatmap","requests":[{"q":"avg:system.cpu.user{account:prod} by {app}","style":{"palette":"blue"}}]},"id":1088240529084957},{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test Custom Link label"}],"title_size":"16","yaxis":{"include_zero":false,"max":"100"},"title_align":"center","events":[{"q":"env:prod","tags_execution":"and"}],"show_legend":true,"time":{"live_span":"1mo"},"title":"Avg of system.cpu.user over account:prod by app","legend_size":"2","type":"heatmap","requests":[{"q":"avg:system.cpu.user{account:prod} by {app}","style":{"palette":"blue"}}]},"id":6435336799935690}],"layout_type":"ordered"}' headers: Cache-Control: - no-cache @@ -101,12 +70,9 @@ interactions: Content-Type: - application/json Date: - - Thu, 28 Jan 2021 16:30:18 GMT + - Mon, 24 May 2021 14:14:58 GMT Pragma: - no-cache - Set-Cookie: - - DD-PSHARD=233; Max-Age=604800; Path=/; expires=Thu, 04-Feb-2021 16:30:18 GMT; - secure; HttpOnly Strict-Transport-Security: - max-age=15724800; Vary: @@ -114,9 +80,9 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Debug: - - dPySkcOzIZtKyMKDAAzuysY3gNGGj6RtYogGuSb76E8mPvoqzREyRp6lPYm91hQU + - LcgNasIYBRkNppmD6mCKE9J6iv0eEjosuuHR5V5zw2fWbR54i39C8dhdK8zDq/40 X-Dd-Version: - - "35.3796727" + - "35.4593741" X-Frame-Options: - SAMEORIGIN status: 200 OK @@ -131,25 +97,11 @@ interactions: Dd-Operation-Id: - GetDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 1.15.0; terraform-cli 0.12.7-sdk) - datadog-api-client-go/1.0.0-beta.14 (go go1.15.4; os darwin; arch amd64) - X-Datadog-Parent-Id: - - "1977841625779192068" - X-Datadog-Sampling-Priority: - - "1" - X-Datadog-Trace-Id: - - "5891668597073950423" - url: https://api.datadoghq.com/api/v1/dashboard/7bt-j9y-cz2 + - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) + url: https://api.datadoghq.com/api/v1/dashboard/xrx-h6j-gtf 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":"7bt-j9y-cz2","title":"tf-TestAccDatadogDashboardHeatMap-local-1611850705","url":"/dashboard/7bt-j9y-cz2/tf-testaccdatadogdashboardheatmap-local-1611850705","created_at":"2021-01-28T16:30:16.239397+00:00","modified_at":"2021-01-28T16:30:16.239397+00:00","author_handle":"frog@datadoghq.com","widgets":[{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test - Custom Link label"}],"title_size":"16","yaxis":{"include_zero":false,"max":"100"},"title_align":"center","events":[{"q":"env:prod","tags_execution":"and"}],"show_legend":true,"time":{"live_span":"1mo"},"title":"Avg - of system.cpu.user over account:prod by app","legend_size":"2","type":"heatmap","requests":[{"q":"avg:system.cpu.user{account:prod} - by {app}","style":{"palette":"blue"}}]},"id":4585604018940408},{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test - Custom Link label"}],"title_size":"16","yaxis":{"include_zero":false,"max":"100"},"title_align":"center","events":[{"q":"env:prod","tags_execution":"and"}],"show_legend":true,"time":{"live_span":"1mo"},"title":"Avg - of system.cpu.user over account:prod by app","legend_size":"2","type":"heatmap","requests":[{"q":"avg:system.cpu.user{account:prod} - by {app}","style":{"palette":"blue"}}]},"id":3903032546507783}],"layout_type":"ordered"}' + body: '{"notify_list":[],"description":"Created using the Datadog provider in Terraform","restricted_roles":["284d8b66-93f9-11eb-9c37-da7ad0900002","043a2842-e140-11e8-bb04-7fd10177666e","657de3a2-29f8-11eb-83b5-6b8ebfb2f184","e82bf27a-986c-11eb-9cba-da7ad0900002","f257ba30-dbb2-11ea-a5ff-5fd1d308318a","6bf314be-5c16-11eb-8e98-2356ea436065","62cbc476-5c16-11eb-8e98-0388ea7a41f8","08604de8-1dca-11eb-800c-9f5f55ff734d","9b3ab170-b768-11eb-a45a-da7ad0900002","7a83f306-96ca-11eb-9c74-da7ad0900002","16169788-28e4-11eb-832c-fb84162ef3eb","4de53192-9946-11eb-9cee-da7ad0900002","1302282c-b93b-11eb-a436-da7ad0900002","17d73994-7531-11eb-94b9-da7ad0900002"],"author_name":"Qin Chen","template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"xrx-h6j-gtf","title":"tf-TestAccDatadogDashboardHeatMap-local-1621865697","url":"/dashboard/xrx-h6j-gtf/tf-testaccdatadogdashboardheatmap-local-1621865697","created_at":"2021-05-24T14:14:58.175946+00:00","modified_at":"2021-05-24T14:14:58.175946+00:00","author_handle":"qin.chen@datadoghq.com","widgets":[{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test Custom Link label"},{"override_label":"logs","is_hidden":true,"link":"https://app.datadoghq.com/dashboard/lists"}],"title_size":"16","yaxis":{"include_zero":false,"max":"100"},"title_align":"center","events":[{"q":"env:prod","tags_execution":"and"}],"show_legend":true,"time":{"live_span":"1mo"},"title":"Avg of system.cpu.user over account:prod by app","legend_size":"2","type":"heatmap","requests":[{"q":"avg:system.cpu.user{account:prod} by {app}","style":{"palette":"blue"}}]},"id":1088240529084957},{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test Custom Link label"}],"title_size":"16","yaxis":{"include_zero":false,"max":"100"},"title_align":"center","events":[{"q":"env:prod","tags_execution":"and"}],"show_legend":true,"time":{"live_span":"1mo"},"title":"Avg of system.cpu.user over account:prod by app","legend_size":"2","type":"heatmap","requests":[{"q":"avg:system.cpu.user{account:prod} by {app}","style":{"palette":"blue"}}]},"id":6435336799935690}],"layout_type":"ordered"}' headers: Cache-Control: - no-cache @@ -160,12 +112,9 @@ interactions: Content-Type: - application/json Date: - - Thu, 28 Jan 2021 16:30:22 GMT + - Mon, 24 May 2021 14:14:58 GMT Pragma: - no-cache - Set-Cookie: - - DD-PSHARD=233; Max-Age=604800; Path=/; expires=Thu, 04-Feb-2021 16:30:22 GMT; - secure; HttpOnly Strict-Transport-Security: - max-age=15724800; Vary: @@ -173,9 +122,9 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Debug: - - F5gm0Rce1/Abr9/0Fw8HAqWfiz0FdiH8er/AXnN6lOn3L6KyGgbsLCwgPlob1No8 + - LcgNasIYBRkNppmD6mCKE9J6iv0eEjosuuHR5V5zw2fWbR54i39C8dhdK8zDq/40 X-Dd-Version: - - "35.3796727" + - "35.4593741" X-Frame-Options: - SAMEORIGIN status: 200 OK @@ -190,25 +139,11 @@ interactions: Dd-Operation-Id: - GetDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 1.15.0; terraform-cli 0.12.7-sdk) - datadog-api-client-go/1.0.0-beta.14 (go go1.15.4; os darwin; arch amd64) - X-Datadog-Parent-Id: - - "3175188000611291445" - X-Datadog-Sampling-Priority: - - "1" - X-Datadog-Trace-Id: - - "5891668597073950423" - url: https://api.datadoghq.com/api/v1/dashboard/7bt-j9y-cz2 + - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) + url: https://api.datadoghq.com/api/v1/dashboard/xrx-h6j-gtf 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":"7bt-j9y-cz2","title":"tf-TestAccDatadogDashboardHeatMap-local-1611850705","url":"/dashboard/7bt-j9y-cz2/tf-testaccdatadogdashboardheatmap-local-1611850705","created_at":"2021-01-28T16:30:16.239397+00:00","modified_at":"2021-01-28T16:30:16.239397+00:00","author_handle":"frog@datadoghq.com","widgets":[{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test - Custom Link label"}],"title_size":"16","yaxis":{"include_zero":false,"max":"100"},"title_align":"center","events":[{"q":"env:prod","tags_execution":"and"}],"show_legend":true,"time":{"live_span":"1mo"},"title":"Avg - of system.cpu.user over account:prod by app","legend_size":"2","type":"heatmap","requests":[{"q":"avg:system.cpu.user{account:prod} - by {app}","style":{"palette":"blue"}}]},"id":4585604018940408},{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test - Custom Link label"}],"title_size":"16","yaxis":{"include_zero":false,"max":"100"},"title_align":"center","events":[{"q":"env:prod","tags_execution":"and"}],"show_legend":true,"time":{"live_span":"1mo"},"title":"Avg - of system.cpu.user over account:prod by app","legend_size":"2","type":"heatmap","requests":[{"q":"avg:system.cpu.user{account:prod} - by {app}","style":{"palette":"blue"}}]},"id":3903032546507783}],"layout_type":"ordered"}' + body: '{"notify_list":[],"description":"Created using the Datadog provider in Terraform","restricted_roles":["284d8b66-93f9-11eb-9c37-da7ad0900002","043a2842-e140-11e8-bb04-7fd10177666e","657de3a2-29f8-11eb-83b5-6b8ebfb2f184","e82bf27a-986c-11eb-9cba-da7ad0900002","f257ba30-dbb2-11ea-a5ff-5fd1d308318a","6bf314be-5c16-11eb-8e98-2356ea436065","62cbc476-5c16-11eb-8e98-0388ea7a41f8","08604de8-1dca-11eb-800c-9f5f55ff734d","9b3ab170-b768-11eb-a45a-da7ad0900002","7a83f306-96ca-11eb-9c74-da7ad0900002","16169788-28e4-11eb-832c-fb84162ef3eb","4de53192-9946-11eb-9cee-da7ad0900002","1302282c-b93b-11eb-a436-da7ad0900002","17d73994-7531-11eb-94b9-da7ad0900002"],"author_name":"Qin Chen","template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"xrx-h6j-gtf","title":"tf-TestAccDatadogDashboardHeatMap-local-1621865697","url":"/dashboard/xrx-h6j-gtf/tf-testaccdatadogdashboardheatmap-local-1621865697","created_at":"2021-05-24T14:14:58.175946+00:00","modified_at":"2021-05-24T14:14:58.175946+00:00","author_handle":"qin.chen@datadoghq.com","widgets":[{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test Custom Link label"},{"override_label":"logs","is_hidden":true,"link":"https://app.datadoghq.com/dashboard/lists"}],"title_size":"16","yaxis":{"include_zero":false,"max":"100"},"title_align":"center","events":[{"q":"env:prod","tags_execution":"and"}],"show_legend":true,"time":{"live_span":"1mo"},"title":"Avg of system.cpu.user over account:prod by app","legend_size":"2","type":"heatmap","requests":[{"q":"avg:system.cpu.user{account:prod} by {app}","style":{"palette":"blue"}}]},"id":1088240529084957},{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test Custom Link label"}],"title_size":"16","yaxis":{"include_zero":false,"max":"100"},"title_align":"center","events":[{"q":"env:prod","tags_execution":"and"}],"show_legend":true,"time":{"live_span":"1mo"},"title":"Avg of system.cpu.user over account:prod by app","legend_size":"2","type":"heatmap","requests":[{"q":"avg:system.cpu.user{account:prod} by {app}","style":{"palette":"blue"}}]},"id":6435336799935690}],"layout_type":"ordered"}' headers: Cache-Control: - no-cache @@ -219,12 +154,9 @@ interactions: Content-Type: - application/json Date: - - Thu, 28 Jan 2021 16:30:41 GMT + - Mon, 24 May 2021 14:14:59 GMT Pragma: - no-cache - Set-Cookie: - - DD-PSHARD=233; Max-Age=604800; Path=/; expires=Thu, 04-Feb-2021 16:30:41 GMT; - secure; HttpOnly Strict-Transport-Security: - max-age=15724800; Vary: @@ -232,9 +164,9 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Debug: - - l8RQo2maZqJf6GFThBbKNE6dvthz6njusVtau3dPXJWL2RLFoN81H+BLPB/1xgs1 + - l4HFlaRP3QwYSqoGKhzbYfv7zgkK63HIRR7YkyVYZspq0lGjjTBwoK8V/alf+XYt X-Dd-Version: - - "35.3796727" + - "35.4593741" X-Frame-Options: - SAMEORIGIN status: 200 OK @@ -249,25 +181,11 @@ interactions: Dd-Operation-Id: - GetDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 1.15.0; terraform-cli 0.12.7-sdk) - datadog-api-client-go/1.0.0-beta.14 (go go1.15.4; os darwin; arch amd64) - X-Datadog-Parent-Id: - - "6853614977436934061" - X-Datadog-Sampling-Priority: - - "1" - X-Datadog-Trace-Id: - - "5891668597073950423" - url: https://api.datadoghq.com/api/v1/dashboard/7bt-j9y-cz2 + - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) + url: https://api.datadoghq.com/api/v1/dashboard/xrx-h6j-gtf 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":"7bt-j9y-cz2","title":"tf-TestAccDatadogDashboardHeatMap-local-1611850705","url":"/dashboard/7bt-j9y-cz2/tf-testaccdatadogdashboardheatmap-local-1611850705","created_at":"2021-01-28T16:30:16.239397+00:00","modified_at":"2021-01-28T16:30:16.239397+00:00","author_handle":"frog@datadoghq.com","widgets":[{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test - Custom Link label"}],"title_size":"16","yaxis":{"include_zero":false,"max":"100"},"title_align":"center","events":[{"q":"env:prod","tags_execution":"and"}],"show_legend":true,"time":{"live_span":"1mo"},"title":"Avg - of system.cpu.user over account:prod by app","legend_size":"2","type":"heatmap","requests":[{"q":"avg:system.cpu.user{account:prod} - by {app}","style":{"palette":"blue"}}]},"id":4585604018940408},{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test - Custom Link label"}],"title_size":"16","yaxis":{"include_zero":false,"max":"100"},"title_align":"center","events":[{"q":"env:prod","tags_execution":"and"}],"show_legend":true,"time":{"live_span":"1mo"},"title":"Avg - of system.cpu.user over account:prod by app","legend_size":"2","type":"heatmap","requests":[{"q":"avg:system.cpu.user{account:prod} - by {app}","style":{"palette":"blue"}}]},"id":3903032546507783}],"layout_type":"ordered"}' + body: '{"notify_list":[],"description":"Created using the Datadog provider in Terraform","restricted_roles":["284d8b66-93f9-11eb-9c37-da7ad0900002","043a2842-e140-11e8-bb04-7fd10177666e","657de3a2-29f8-11eb-83b5-6b8ebfb2f184","e82bf27a-986c-11eb-9cba-da7ad0900002","f257ba30-dbb2-11ea-a5ff-5fd1d308318a","6bf314be-5c16-11eb-8e98-2356ea436065","62cbc476-5c16-11eb-8e98-0388ea7a41f8","08604de8-1dca-11eb-800c-9f5f55ff734d","9b3ab170-b768-11eb-a45a-da7ad0900002","7a83f306-96ca-11eb-9c74-da7ad0900002","16169788-28e4-11eb-832c-fb84162ef3eb","4de53192-9946-11eb-9cee-da7ad0900002","1302282c-b93b-11eb-a436-da7ad0900002","17d73994-7531-11eb-94b9-da7ad0900002"],"author_name":"Qin Chen","template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"xrx-h6j-gtf","title":"tf-TestAccDatadogDashboardHeatMap-local-1621865697","url":"/dashboard/xrx-h6j-gtf/tf-testaccdatadogdashboardheatmap-local-1621865697","created_at":"2021-05-24T14:14:58.175946+00:00","modified_at":"2021-05-24T14:14:58.175946+00:00","author_handle":"qin.chen@datadoghq.com","widgets":[{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test Custom Link label"},{"override_label":"logs","is_hidden":true,"link":"https://app.datadoghq.com/dashboard/lists"}],"title_size":"16","yaxis":{"include_zero":false,"max":"100"},"title_align":"center","events":[{"q":"env:prod","tags_execution":"and"}],"show_legend":true,"time":{"live_span":"1mo"},"title":"Avg of system.cpu.user over account:prod by app","legend_size":"2","type":"heatmap","requests":[{"q":"avg:system.cpu.user{account:prod} by {app}","style":{"palette":"blue"}}]},"id":1088240529084957},{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test Custom Link label"}],"title_size":"16","yaxis":{"include_zero":false,"max":"100"},"title_align":"center","events":[{"q":"env:prod","tags_execution":"and"}],"show_legend":true,"time":{"live_span":"1mo"},"title":"Avg of system.cpu.user over account:prod by app","legend_size":"2","type":"heatmap","requests":[{"q":"avg:system.cpu.user{account:prod} by {app}","style":{"palette":"blue"}}]},"id":6435336799935690}],"layout_type":"ordered"}' headers: Cache-Control: - no-cache @@ -278,12 +196,9 @@ interactions: Content-Type: - application/json Date: - - Thu, 28 Jan 2021 16:31:08 GMT + - Mon, 24 May 2021 14:14:59 GMT Pragma: - no-cache - Set-Cookie: - - DD-PSHARD=233; Max-Age=604800; Path=/; expires=Thu, 04-Feb-2021 16:31:08 GMT; - secure; HttpOnly Strict-Transport-Security: - max-age=15724800; Vary: @@ -291,9 +206,9 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Debug: - - Um4CoU685QqAscnxhS5BD+goWu2yX1Jd4zCfGzSsEvPPIm1qURZaF8dlLl/OEY4I + - L3ULR3HwCWYmEqCWGz2Yob3chcH4pjowBacBXkncP7o+/uPqKt9yGEYf/g1AJPzQ X-Dd-Version: - - "35.3796727" + - "35.4593741" X-Frame-Options: - SAMEORIGIN status: 200 OK @@ -308,18 +223,11 @@ interactions: Dd-Operation-Id: - DeleteDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 1.15.0; terraform-cli 0.12.7-sdk) - datadog-api-client-go/1.0.0-beta.14 (go go1.15.4; os darwin; arch amd64) - X-Datadog-Parent-Id: - - "5871179064288638447" - X-Datadog-Sampling-Priority: - - "1" - X-Datadog-Trace-Id: - - "5891668597073950423" - url: https://api.datadoghq.com/api/v1/dashboard/7bt-j9y-cz2 + - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) + url: https://api.datadoghq.com/api/v1/dashboard/xrx-h6j-gtf method: DELETE response: - body: '{"deleted_dashboard_id":"7bt-j9y-cz2"}' + body: '{"deleted_dashboard_id":"xrx-h6j-gtf"}' headers: Cache-Control: - no-cache @@ -330,12 +238,9 @@ interactions: Content-Type: - application/json Date: - - Thu, 28 Jan 2021 16:31:27 GMT + - Mon, 24 May 2021 14:15:00 GMT Pragma: - no-cache - Set-Cookie: - - DD-PSHARD=233; Max-Age=604800; Path=/; expires=Thu, 04-Feb-2021 16:31:27 GMT; - secure; HttpOnly Strict-Transport-Security: - max-age=15724800; Vary: @@ -343,9 +248,9 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Debug: - - dCmL/3rURV6BPeaqeP3Rxigq41m5CAb17XjrRE42uZ01zpr07HVhbL5/3TWMkvgu + - 25u1gDlL724DHllbjFT4BhOLorBTilh+aah2uWAUEjFC/+rjczJdiyWrV/HwLwe/ X-Dd-Version: - - "35.3796727" + - "35.4593741" X-Frame-Options: - SAMEORIGIN status: 200 OK @@ -360,18 +265,11 @@ interactions: Dd-Operation-Id: - GetDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 1.15.0; terraform-cli 0.12.7-sdk) - datadog-api-client-go/1.0.0-beta.14 (go go1.15.4; os darwin; arch amd64) - X-Datadog-Parent-Id: - - "1413959832923641636" - X-Datadog-Sampling-Priority: - - "1" - X-Datadog-Trace-Id: - - "5891668597073950423" - url: https://api.datadoghq.com/api/v1/dashboard/7bt-j9y-cz2 + - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) + url: https://api.datadoghq.com/api/v1/dashboard/xrx-h6j-gtf method: GET response: - body: '{"errors": ["Dashboard with ID 7bt-j9y-cz2 not found"]}' + body: '{"errors": ["Dashboard with ID xrx-h6j-gtf not found"]}' headers: Cache-Control: - no-cache @@ -382,7 +280,7 @@ interactions: Content-Type: - application/json Date: - - Thu, 28 Jan 2021 16:31:33 GMT + - Mon, 24 May 2021 14:15:00 GMT Pragma: - no-cache Strict-Transport-Security: @@ -392,7 +290,7 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Version: - - "35.3796727" + - "35.4593741" X-Frame-Options: - SAMEORIGIN status: 404 Not Found diff --git a/datadog/tests/cassettes/TestAccDatadogDashboardHeatMap_import.freeze b/datadog/tests/cassettes/TestAccDatadogDashboardHeatMap_import.freeze index 259275627..9571498f8 100644 --- a/datadog/tests/cassettes/TestAccDatadogDashboardHeatMap_import.freeze +++ b/datadog/tests/cassettes/TestAccDatadogDashboardHeatMap_import.freeze @@ -1 +1 @@ -2020-12-31T15:42:08.128735+01:00 \ No newline at end of file +2021-05-24T10:37:36.410592-04:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogDashboardHeatMap_import.yaml b/datadog/tests/cassettes/TestAccDatadogDashboardHeatMap_import.yaml index 69b9d3282..771c67708 100644 --- a/datadog/tests/cassettes/TestAccDatadogDashboardHeatMap_import.yaml +++ b/datadog/tests/cassettes/TestAccDatadogDashboardHeatMap_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-TestAccDatadogDashboardHeatMap_import-local-1609425728","widgets":[{"definition":{"custom_links":[{"label":"Test Custom Link label","link":"https://app.datadoghq.com/dashboard/lists"}],"events":[{"q":"env:prod","tags_execution":"and"}],"legend_size":"2","requests":[{"q":"avg:system.cpu.user{account:prod} by {app}","style":{"palette":"blue"}}],"show_legend":true,"time":{"live_span":"1mo"},"title":"Avg of system.cpu.user over account:prod by app","title_align":"center","title_size":"16","type":"heatmap","yaxis":{"include_zero":false,"max":"100"}}}]} + {"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-TestAccDatadogDashboardHeatMap_import-local-1621865697","widgets":[{"definition":{"custom_links":[{"label":"Test Custom Link label","link":"https://app.datadoghq.com/dashboard/lists"}],"events":[{"q":"env:prod","tags_execution":"and"}],"legend_size":"2","requests":[{"q":"avg:system.cpu.user{account:prod} by {app}","style":{"palette":"blue"}}],"show_legend":true,"time":{"live_span":"1mo"},"title":"Avg of system.cpu.user over account:prod by app","title_align":"center","title_size":"16","type":"heatmap","yaxis":{"include_zero":false,"max":"100"}}}]} form: {} headers: Accept: @@ -13,22 +13,11 @@ interactions: Dd-Operation-Id: - CreateDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 1.15.0; terraform-cli 0.12.7-sdk) - datadog-api-client-go/1.0.0-beta.13+dev (go go1.15.4; os darwin; arch amd64) - X-Datadog-Parent-Id: - - "3234382076819980218" - X-Datadog-Sampling-Priority: - - "1" - X-Datadog-Trace-Id: - - "6732252647846019286" + - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) 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":"yez-qg9-8fv","title":"tf-TestAccDatadogDashboardHeatMap_import-local-1609425728","url":"/dashboard/yez-qg9-8fv/tf-testaccdatadogdashboardheatmapimport-local-1609425728","created_at":"2020-12-31T14:45:08.676029+00:00","modified_at":"2020-12-31T14:45:08.676029+00:00","author_handle":"frog@datadoghq.com","widgets":[{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test - Custom Link label"}],"title_size":"16","yaxis":{"include_zero":false,"max":"100"},"title_align":"center","events":[{"q":"env:prod","tags_execution":"and"}],"show_legend":true,"time":{"live_span":"1mo"},"title":"Avg - of system.cpu.user over account:prod by app","legend_size":"2","type":"heatmap","requests":[{"q":"avg:system.cpu.user{account:prod} - by {app}","style":{"palette":"blue"}}]},"id":8106593886592065}],"layout_type":"ordered"}' + body: '{"notify_list":[],"description":"Created using the Datadog provider in Terraform","restricted_roles":["043a2842-e140-11e8-bb04-7fd10177666e","08604de8-1dca-11eb-800c-9f5f55ff734d","1302282c-b93b-11eb-a436-da7ad0900002","16169788-28e4-11eb-832c-fb84162ef3eb","17d73994-7531-11eb-94b9-da7ad0900002","284d8b66-93f9-11eb-9c37-da7ad0900002","4de53192-9946-11eb-9cee-da7ad0900002","62cbc476-5c16-11eb-8e98-0388ea7a41f8","657de3a2-29f8-11eb-83b5-6b8ebfb2f184","6bf314be-5c16-11eb-8e98-2356ea436065","7a83f306-96ca-11eb-9c74-da7ad0900002","9b3ab170-b768-11eb-a45a-da7ad0900002","e82bf27a-986c-11eb-9cba-da7ad0900002","f257ba30-dbb2-11ea-a5ff-5fd1d308318a"],"author_name":"Qin Chen","template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"xd8-fr3-xcu","title":"tf-TestAccDatadogDashboardHeatMap_import-local-1621865697","url":"/dashboard/xd8-fr3-xcu/tf-testaccdatadogdashboardheatmapimport-local-1621865697","created_at":"2021-05-24T14:14:58.165583+00:00","modified_at":"2021-05-24T14:14:58.165583+00:00","author_handle":"qin.chen@datadoghq.com","widgets":[{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test Custom Link label"}],"title_size":"16","yaxis":{"include_zero":false,"max":"100"},"title_align":"center","events":[{"q":"env:prod","tags_execution":"and"}],"show_legend":true,"time":{"live_span":"1mo"},"title":"Avg of system.cpu.user over account:prod by app","legend_size":"2","type":"heatmap","requests":[{"q":"avg:system.cpu.user{account:prod} by {app}","style":{"palette":"blue"}}]},"id":862187101608283}],"layout_type":"ordered"}' headers: Cache-Control: - no-cache @@ -39,12 +28,9 @@ interactions: Content-Type: - application/json Date: - - Thu, 31 Dec 2020 14:45:11 GMT + - Mon, 24 May 2021 14:14:58 GMT Pragma: - no-cache - Set-Cookie: - - DD-PSHARD=233; Max-Age=604800; Path=/; expires=Thu, 07-Jan-2021 14:45:08 GMT; - secure; HttpOnly Strict-Transport-Security: - max-age=15724800; Vary: @@ -52,9 +38,9 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Debug: - - s8aX5NtChXwcC0ZqCGPgUtbvI/yT4gadlVvE6/Mqbm4BIdrCBC60TudMJNU/SbvE + - tpRCH6w417YjBovRJ8VmtuXmNONVYiRp2c8d2AxjPdGBn8PCtgG4vAztrx3qUZAN X-Dd-Version: - - "35.3622023" + - "35.4593741" X-Frame-Options: - SAMEORIGIN status: 200 OK @@ -69,22 +55,11 @@ interactions: Dd-Operation-Id: - GetDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 1.15.0; terraform-cli 0.12.7-sdk) - datadog-api-client-go/1.0.0-beta.13+dev (go go1.15.4; os darwin; arch amd64) - X-Datadog-Parent-Id: - - "8167564615853058123" - X-Datadog-Sampling-Priority: - - "1" - X-Datadog-Trace-Id: - - "6732252647846019286" - url: https://api.datadoghq.com/api/v1/dashboard/yez-qg9-8fv + - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) + url: https://api.datadoghq.com/api/v1/dashboard/xd8-fr3-xcu 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":"yez-qg9-8fv","title":"tf-TestAccDatadogDashboardHeatMap_import-local-1609425728","url":"/dashboard/yez-qg9-8fv/tf-testaccdatadogdashboardheatmapimport-local-1609425728","created_at":"2020-12-31T14:45:08.676029+00:00","modified_at":"2020-12-31T14:45:08.676029+00:00","author_handle":"frog@datadoghq.com","widgets":[{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test - Custom Link label"}],"title_size":"16","yaxis":{"include_zero":false,"max":"100"},"title_align":"center","events":[{"q":"env:prod","tags_execution":"and"}],"show_legend":true,"time":{"live_span":"1mo"},"title":"Avg - of system.cpu.user over account:prod by app","legend_size":"2","type":"heatmap","requests":[{"q":"avg:system.cpu.user{account:prod} - by {app}","style":{"palette":"blue"}}]},"id":8106593886592065}],"layout_type":"ordered"}' + body: '{"notify_list":[],"description":"Created using the Datadog provider in Terraform","restricted_roles":["284d8b66-93f9-11eb-9c37-da7ad0900002","043a2842-e140-11e8-bb04-7fd10177666e","657de3a2-29f8-11eb-83b5-6b8ebfb2f184","e82bf27a-986c-11eb-9cba-da7ad0900002","f257ba30-dbb2-11ea-a5ff-5fd1d308318a","6bf314be-5c16-11eb-8e98-2356ea436065","62cbc476-5c16-11eb-8e98-0388ea7a41f8","08604de8-1dca-11eb-800c-9f5f55ff734d","9b3ab170-b768-11eb-a45a-da7ad0900002","7a83f306-96ca-11eb-9c74-da7ad0900002","16169788-28e4-11eb-832c-fb84162ef3eb","4de53192-9946-11eb-9cee-da7ad0900002","1302282c-b93b-11eb-a436-da7ad0900002","17d73994-7531-11eb-94b9-da7ad0900002"],"author_name":"Qin Chen","template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"xd8-fr3-xcu","title":"tf-TestAccDatadogDashboardHeatMap_import-local-1621865697","url":"/dashboard/xd8-fr3-xcu/tf-testaccdatadogdashboardheatmapimport-local-1621865697","created_at":"2021-05-24T14:14:58.165583+00:00","modified_at":"2021-05-24T14:14:58.165583+00:00","author_handle":"qin.chen@datadoghq.com","widgets":[{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test Custom Link label"}],"title_size":"16","yaxis":{"include_zero":false,"max":"100"},"title_align":"center","events":[{"q":"env:prod","tags_execution":"and"}],"show_legend":true,"time":{"live_span":"1mo"},"title":"Avg of system.cpu.user over account:prod by app","legend_size":"2","type":"heatmap","requests":[{"q":"avg:system.cpu.user{account:prod} by {app}","style":{"palette":"blue"}}]},"id":862187101608283}],"layout_type":"ordered"}' headers: Cache-Control: - no-cache @@ -95,12 +70,9 @@ interactions: Content-Type: - application/json Date: - - Thu, 31 Dec 2020 14:45:11 GMT + - Mon, 24 May 2021 14:14:58 GMT Pragma: - no-cache - Set-Cookie: - - DD-PSHARD=233; Max-Age=604800; Path=/; expires=Thu, 07-Jan-2021 14:45:11 GMT; - secure; HttpOnly Strict-Transport-Security: - max-age=15724800; Vary: @@ -108,9 +80,9 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Debug: - - 4XEHrKCjPbSbs1iu1F78+tH4eaIPZCq+IGDoHN/GQcOsLq6w3Zzz7ZK1RqpTUzFS + - S1wfaMZOKGT/IoMw6fqAwAwGWo2vQ44sjF3YzuETnQfxZO2T5eJbs0aX3UKb9Dwu X-Dd-Version: - - "35.3622023" + - "35.4593741" X-Frame-Options: - SAMEORIGIN status: 200 OK @@ -125,22 +97,11 @@ interactions: Dd-Operation-Id: - GetDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 1.15.0; terraform-cli 0.12.7-sdk) - datadog-api-client-go/1.0.0-beta.13+dev (go go1.15.4; os darwin; arch amd64) - X-Datadog-Parent-Id: - - "7076069615041458796" - X-Datadog-Sampling-Priority: - - "1" - X-Datadog-Trace-Id: - - "6732252647846019286" - url: https://api.datadoghq.com/api/v1/dashboard/yez-qg9-8fv + - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) + url: https://api.datadoghq.com/api/v1/dashboard/xd8-fr3-xcu 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":"yez-qg9-8fv","title":"tf-TestAccDatadogDashboardHeatMap_import-local-1609425728","url":"/dashboard/yez-qg9-8fv/tf-testaccdatadogdashboardheatmapimport-local-1609425728","created_at":"2020-12-31T14:45:08.676029+00:00","modified_at":"2020-12-31T14:45:08.676029+00:00","author_handle":"frog@datadoghq.com","widgets":[{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test - Custom Link label"}],"title_size":"16","yaxis":{"include_zero":false,"max":"100"},"title_align":"center","events":[{"q":"env:prod","tags_execution":"and"}],"show_legend":true,"time":{"live_span":"1mo"},"title":"Avg - of system.cpu.user over account:prod by app","legend_size":"2","type":"heatmap","requests":[{"q":"avg:system.cpu.user{account:prod} - by {app}","style":{"palette":"blue"}}]},"id":8106593886592065}],"layout_type":"ordered"}' + body: '{"notify_list":[],"description":"Created using the Datadog provider in Terraform","restricted_roles":["284d8b66-93f9-11eb-9c37-da7ad0900002","043a2842-e140-11e8-bb04-7fd10177666e","657de3a2-29f8-11eb-83b5-6b8ebfb2f184","e82bf27a-986c-11eb-9cba-da7ad0900002","f257ba30-dbb2-11ea-a5ff-5fd1d308318a","6bf314be-5c16-11eb-8e98-2356ea436065","62cbc476-5c16-11eb-8e98-0388ea7a41f8","08604de8-1dca-11eb-800c-9f5f55ff734d","9b3ab170-b768-11eb-a45a-da7ad0900002","7a83f306-96ca-11eb-9c74-da7ad0900002","16169788-28e4-11eb-832c-fb84162ef3eb","4de53192-9946-11eb-9cee-da7ad0900002","1302282c-b93b-11eb-a436-da7ad0900002","17d73994-7531-11eb-94b9-da7ad0900002"],"author_name":"Qin Chen","template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"xd8-fr3-xcu","title":"tf-TestAccDatadogDashboardHeatMap_import-local-1621865697","url":"/dashboard/xd8-fr3-xcu/tf-testaccdatadogdashboardheatmapimport-local-1621865697","created_at":"2021-05-24T14:14:58.165583+00:00","modified_at":"2021-05-24T14:14:58.165583+00:00","author_handle":"qin.chen@datadoghq.com","widgets":[{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test Custom Link label"}],"title_size":"16","yaxis":{"include_zero":false,"max":"100"},"title_align":"center","events":[{"q":"env:prod","tags_execution":"and"}],"show_legend":true,"time":{"live_span":"1mo"},"title":"Avg of system.cpu.user over account:prod by app","legend_size":"2","type":"heatmap","requests":[{"q":"avg:system.cpu.user{account:prod} by {app}","style":{"palette":"blue"}}]},"id":862187101608283}],"layout_type":"ordered"}' headers: Cache-Control: - no-cache @@ -151,12 +112,9 @@ interactions: Content-Type: - application/json Date: - - Thu, 31 Dec 2020 14:45:15 GMT + - Mon, 24 May 2021 14:14:58 GMT Pragma: - no-cache - Set-Cookie: - - DD-PSHARD=233; Max-Age=604800; Path=/; expires=Thu, 07-Jan-2021 14:45:15 GMT; - secure; HttpOnly Strict-Transport-Security: - max-age=15724800; Vary: @@ -164,9 +122,9 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Debug: - - 5Vp6Lwv2kl5vwmtrK8x4SHT87up1E/Mb5wu+zWq1n+sTPuGmJfRlxsKBupN/GCCj + - HbtaOKlJ6OCrx9tMXO6ivMTrEM+g0c93HDp08trmOmgdHozC5J+vn10F0H4WPjCU X-Dd-Version: - - "35.3622023" + - "35.4593741" X-Frame-Options: - SAMEORIGIN status: 200 OK @@ -181,22 +139,11 @@ interactions: Dd-Operation-Id: - GetDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 1.15.0; terraform-cli 0.12.7-sdk) - datadog-api-client-go/1.0.0-beta.13+dev (go go1.15.4; os darwin; arch amd64) - X-Datadog-Parent-Id: - - "1115722478119058440" - X-Datadog-Sampling-Priority: - - "1" - X-Datadog-Trace-Id: - - "6732252647846019286" - url: https://api.datadoghq.com/api/v1/dashboard/yez-qg9-8fv + - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) + url: https://api.datadoghq.com/api/v1/dashboard/xd8-fr3-xcu 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":"yez-qg9-8fv","title":"tf-TestAccDatadogDashboardHeatMap_import-local-1609425728","url":"/dashboard/yez-qg9-8fv/tf-testaccdatadogdashboardheatmapimport-local-1609425728","created_at":"2020-12-31T14:45:08.676029+00:00","modified_at":"2020-12-31T14:45:08.676029+00:00","author_handle":"frog@datadoghq.com","widgets":[{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test - Custom Link label"}],"title_size":"16","yaxis":{"include_zero":false,"max":"100"},"title_align":"center","events":[{"q":"env:prod","tags_execution":"and"}],"show_legend":true,"time":{"live_span":"1mo"},"title":"Avg - of system.cpu.user over account:prod by app","legend_size":"2","type":"heatmap","requests":[{"q":"avg:system.cpu.user{account:prod} - by {app}","style":{"palette":"blue"}}]},"id":8106593886592065}],"layout_type":"ordered"}' + body: '{"notify_list":[],"description":"Created using the Datadog provider in Terraform","restricted_roles":["284d8b66-93f9-11eb-9c37-da7ad0900002","043a2842-e140-11e8-bb04-7fd10177666e","657de3a2-29f8-11eb-83b5-6b8ebfb2f184","e82bf27a-986c-11eb-9cba-da7ad0900002","f257ba30-dbb2-11ea-a5ff-5fd1d308318a","6bf314be-5c16-11eb-8e98-2356ea436065","62cbc476-5c16-11eb-8e98-0388ea7a41f8","08604de8-1dca-11eb-800c-9f5f55ff734d","9b3ab170-b768-11eb-a45a-da7ad0900002","7a83f306-96ca-11eb-9c74-da7ad0900002","16169788-28e4-11eb-832c-fb84162ef3eb","4de53192-9946-11eb-9cee-da7ad0900002","1302282c-b93b-11eb-a436-da7ad0900002","17d73994-7531-11eb-94b9-da7ad0900002"],"author_name":"Qin Chen","template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"xd8-fr3-xcu","title":"tf-TestAccDatadogDashboardHeatMap_import-local-1621865697","url":"/dashboard/xd8-fr3-xcu/tf-testaccdatadogdashboardheatmapimport-local-1621865697","created_at":"2021-05-24T14:14:58.165583+00:00","modified_at":"2021-05-24T14:14:58.165583+00:00","author_handle":"qin.chen@datadoghq.com","widgets":[{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test Custom Link label"}],"title_size":"16","yaxis":{"include_zero":false,"max":"100"},"title_align":"center","events":[{"q":"env:prod","tags_execution":"and"}],"show_legend":true,"time":{"live_span":"1mo"},"title":"Avg of system.cpu.user over account:prod by app","legend_size":"2","type":"heatmap","requests":[{"q":"avg:system.cpu.user{account:prod} by {app}","style":{"palette":"blue"}}]},"id":862187101608283}],"layout_type":"ordered"}' headers: Cache-Control: - no-cache @@ -207,12 +154,9 @@ interactions: Content-Type: - application/json Date: - - Thu, 31 Dec 2020 14:45:21 GMT + - Mon, 24 May 2021 14:14:59 GMT Pragma: - no-cache - Set-Cookie: - - DD-PSHARD=233; Max-Age=604800; Path=/; expires=Thu, 07-Jan-2021 14:45:21 GMT; - secure; HttpOnly Strict-Transport-Security: - max-age=15724800; Vary: @@ -220,9 +164,9 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Debug: - - i3kq+QX78RffjnNgnM5zmiWzGMsFnhM4liQTSNUgnpglr14R7eRaqNxK/q9SML9W + - S1wfaMZOKGT/IoMw6fqAwAwGWo2vQ44sjF3YzuETnQfxZO2T5eJbs0aX3UKb9Dwu X-Dd-Version: - - "35.3622023" + - "35.4593741" X-Frame-Options: - SAMEORIGIN status: 200 OK @@ -237,22 +181,11 @@ interactions: Dd-Operation-Id: - GetDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 1.15.0; terraform-cli 0.12.7-sdk) - datadog-api-client-go/1.0.0-beta.13+dev (go go1.15.4; os darwin; arch amd64) - X-Datadog-Parent-Id: - - "6741075994713136037" - X-Datadog-Sampling-Priority: - - "1" - X-Datadog-Trace-Id: - - "6732252647846019286" - url: https://api.datadoghq.com/api/v1/dashboard/yez-qg9-8fv + - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) + url: https://api.datadoghq.com/api/v1/dashboard/xd8-fr3-xcu 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":"yez-qg9-8fv","title":"tf-TestAccDatadogDashboardHeatMap_import-local-1609425728","url":"/dashboard/yez-qg9-8fv/tf-testaccdatadogdashboardheatmapimport-local-1609425728","created_at":"2020-12-31T14:45:08.676029+00:00","modified_at":"2020-12-31T14:45:08.676029+00:00","author_handle":"frog@datadoghq.com","widgets":[{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test - Custom Link label"}],"title_size":"16","yaxis":{"include_zero":false,"max":"100"},"title_align":"center","events":[{"q":"env:prod","tags_execution":"and"}],"show_legend":true,"time":{"live_span":"1mo"},"title":"Avg - of system.cpu.user over account:prod by app","legend_size":"2","type":"heatmap","requests":[{"q":"avg:system.cpu.user{account:prod} - by {app}","style":{"palette":"blue"}}]},"id":8106593886592065}],"layout_type":"ordered"}' + body: '{"notify_list":[],"description":"Created using the Datadog provider in Terraform","restricted_roles":["284d8b66-93f9-11eb-9c37-da7ad0900002","043a2842-e140-11e8-bb04-7fd10177666e","657de3a2-29f8-11eb-83b5-6b8ebfb2f184","e82bf27a-986c-11eb-9cba-da7ad0900002","f257ba30-dbb2-11ea-a5ff-5fd1d308318a","6bf314be-5c16-11eb-8e98-2356ea436065","62cbc476-5c16-11eb-8e98-0388ea7a41f8","08604de8-1dca-11eb-800c-9f5f55ff734d","9b3ab170-b768-11eb-a45a-da7ad0900002","7a83f306-96ca-11eb-9c74-da7ad0900002","16169788-28e4-11eb-832c-fb84162ef3eb","4de53192-9946-11eb-9cee-da7ad0900002","1302282c-b93b-11eb-a436-da7ad0900002","17d73994-7531-11eb-94b9-da7ad0900002"],"author_name":"Qin Chen","template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"xd8-fr3-xcu","title":"tf-TestAccDatadogDashboardHeatMap_import-local-1621865697","url":"/dashboard/xd8-fr3-xcu/tf-testaccdatadogdashboardheatmapimport-local-1621865697","created_at":"2021-05-24T14:14:58.165583+00:00","modified_at":"2021-05-24T14:14:58.165583+00:00","author_handle":"qin.chen@datadoghq.com","widgets":[{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test Custom Link label"}],"title_size":"16","yaxis":{"include_zero":false,"max":"100"},"title_align":"center","events":[{"q":"env:prod","tags_execution":"and"}],"show_legend":true,"time":{"live_span":"1mo"},"title":"Avg of system.cpu.user over account:prod by app","legend_size":"2","type":"heatmap","requests":[{"q":"avg:system.cpu.user{account:prod} by {app}","style":{"palette":"blue"}}]},"id":862187101608283}],"layout_type":"ordered"}' headers: Cache-Control: - no-cache @@ -263,12 +196,9 @@ interactions: Content-Type: - application/json Date: - - Thu, 31 Dec 2020 14:45:22 GMT + - Mon, 24 May 2021 14:14:59 GMT Pragma: - no-cache - Set-Cookie: - - DD-PSHARD=233; Max-Age=604800; Path=/; expires=Thu, 07-Jan-2021 14:45:22 GMT; - secure; HttpOnly Strict-Transport-Security: - max-age=15724800; Vary: @@ -276,9 +206,9 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Debug: - - 31eicEjxYTxSLxektw5aBz/E28bM+OyxrRypgA6xUJO+JbzAYFmeBL8/VQhw6pBg + - 5gfwVh/5HZ+AnGd/Di93w3NEWC6KMHT9KzmHEiRJmNdOjBtAsbOcgVFyqEChw71h X-Dd-Version: - - "35.3622023" + - "35.4593741" X-Frame-Options: - SAMEORIGIN status: 200 OK @@ -293,22 +223,11 @@ interactions: Dd-Operation-Id: - GetDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 1.15.0; terraform-cli 0.12.7-sdk) - datadog-api-client-go/1.0.0-beta.13+dev (go go1.15.4; os darwin; arch amd64) - X-Datadog-Parent-Id: - - "4958483915648688498" - X-Datadog-Sampling-Priority: - - "1" - X-Datadog-Trace-Id: - - "6732252647846019286" - url: https://api.datadoghq.com/api/v1/dashboard/yez-qg9-8fv + - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) + url: https://api.datadoghq.com/api/v1/dashboard/xd8-fr3-xcu 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":"yez-qg9-8fv","title":"tf-TestAccDatadogDashboardHeatMap_import-local-1609425728","url":"/dashboard/yez-qg9-8fv/tf-testaccdatadogdashboardheatmapimport-local-1609425728","created_at":"2020-12-31T14:45:08.676029+00:00","modified_at":"2020-12-31T14:45:08.676029+00:00","author_handle":"frog@datadoghq.com","widgets":[{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test - Custom Link label"}],"title_size":"16","yaxis":{"include_zero":false,"max":"100"},"title_align":"center","events":[{"q":"env:prod","tags_execution":"and"}],"show_legend":true,"time":{"live_span":"1mo"},"title":"Avg - of system.cpu.user over account:prod by app","legend_size":"2","type":"heatmap","requests":[{"q":"avg:system.cpu.user{account:prod} - by {app}","style":{"palette":"blue"}}]},"id":8106593886592065}],"layout_type":"ordered"}' + body: '{"notify_list":[],"description":"Created using the Datadog provider in Terraform","restricted_roles":["284d8b66-93f9-11eb-9c37-da7ad0900002","043a2842-e140-11e8-bb04-7fd10177666e","657de3a2-29f8-11eb-83b5-6b8ebfb2f184","e82bf27a-986c-11eb-9cba-da7ad0900002","f257ba30-dbb2-11ea-a5ff-5fd1d308318a","6bf314be-5c16-11eb-8e98-2356ea436065","62cbc476-5c16-11eb-8e98-0388ea7a41f8","08604de8-1dca-11eb-800c-9f5f55ff734d","9b3ab170-b768-11eb-a45a-da7ad0900002","7a83f306-96ca-11eb-9c74-da7ad0900002","16169788-28e4-11eb-832c-fb84162ef3eb","4de53192-9946-11eb-9cee-da7ad0900002","1302282c-b93b-11eb-a436-da7ad0900002","17d73994-7531-11eb-94b9-da7ad0900002"],"author_name":"Qin Chen","template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"xd8-fr3-xcu","title":"tf-TestAccDatadogDashboardHeatMap_import-local-1621865697","url":"/dashboard/xd8-fr3-xcu/tf-testaccdatadogdashboardheatmapimport-local-1621865697","created_at":"2021-05-24T14:14:58.165583+00:00","modified_at":"2021-05-24T14:14:58.165583+00:00","author_handle":"qin.chen@datadoghq.com","widgets":[{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test Custom Link label"}],"title_size":"16","yaxis":{"include_zero":false,"max":"100"},"title_align":"center","events":[{"q":"env:prod","tags_execution":"and"}],"show_legend":true,"time":{"live_span":"1mo"},"title":"Avg of system.cpu.user over account:prod by app","legend_size":"2","type":"heatmap","requests":[{"q":"avg:system.cpu.user{account:prod} by {app}","style":{"palette":"blue"}}]},"id":862187101608283}],"layout_type":"ordered"}' headers: Cache-Control: - no-cache @@ -319,12 +238,9 @@ interactions: Content-Type: - application/json Date: - - Thu, 31 Dec 2020 14:45:24 GMT + - Mon, 24 May 2021 14:14:59 GMT Pragma: - no-cache - Set-Cookie: - - DD-PSHARD=233; Max-Age=604800; Path=/; expires=Thu, 07-Jan-2021 14:45:24 GMT; - secure; HttpOnly Strict-Transport-Security: - max-age=15724800; Vary: @@ -332,9 +248,9 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Debug: - - iYSQoeIUH6tZkV8oNBADyUh0i8imvOo9jWWOUgywP9QJ7opgBoT0cWGeCUTl7m+0 + - 2328yjLSqI4XmR1pVqrPRR/SFcQsbafjEpPmZx7/3PfxUK1nJQQsX+wrMelyVyj+ X-Dd-Version: - - "35.3622023" + - "35.4593741" X-Frame-Options: - SAMEORIGIN status: 200 OK @@ -349,18 +265,11 @@ interactions: Dd-Operation-Id: - DeleteDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 1.15.0; terraform-cli 0.12.7-sdk) - datadog-api-client-go/1.0.0-beta.13+dev (go go1.15.4; os darwin; arch amd64) - X-Datadog-Parent-Id: - - "5850231971055168278" - X-Datadog-Sampling-Priority: - - "1" - X-Datadog-Trace-Id: - - "6732252647846019286" - url: https://api.datadoghq.com/api/v1/dashboard/yez-qg9-8fv + - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) + url: https://api.datadoghq.com/api/v1/dashboard/xd8-fr3-xcu method: DELETE response: - body: '{"deleted_dashboard_id":"yez-qg9-8fv"}' + body: '{"deleted_dashboard_id":"xd8-fr3-xcu"}' headers: Cache-Control: - no-cache @@ -371,12 +280,9 @@ interactions: Content-Type: - application/json Date: - - Thu, 31 Dec 2020 14:45:29 GMT + - Mon, 24 May 2021 14:15:00 GMT Pragma: - no-cache - Set-Cookie: - - DD-PSHARD=233; Max-Age=604800; Path=/; expires=Thu, 07-Jan-2021 14:45:29 GMT; - secure; HttpOnly Strict-Transport-Security: - max-age=15724800; Vary: @@ -384,9 +290,9 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Debug: - - o+DMvNLOJQfXAHeLjo7w9XOcTGCirWOThygGIHqmoMaQl6AzYuGlAbNkOlAzbCRq + - nLnnBNvlCFDECRnZvzDb0z4sAO35G+IMidcAs8vrCKyjvsKWE8Yd9S3n6OjZ1qRN X-Dd-Version: - - "35.3622023" + - "35.4593741" X-Frame-Options: - SAMEORIGIN status: 200 OK @@ -401,18 +307,11 @@ interactions: Dd-Operation-Id: - GetDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 1.15.0; terraform-cli 0.12.7-sdk) - datadog-api-client-go/1.0.0-beta.13+dev (go go1.15.4; os darwin; arch amd64) - X-Datadog-Parent-Id: - - "4813718520690249870" - X-Datadog-Sampling-Priority: - - "1" - X-Datadog-Trace-Id: - - "6732252647846019286" - url: https://api.datadoghq.com/api/v1/dashboard/yez-qg9-8fv + - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) + url: https://api.datadoghq.com/api/v1/dashboard/xd8-fr3-xcu method: GET response: - body: '{"errors": ["Dashboard with ID yez-qg9-8fv not found"]}' + body: '{"errors": ["Dashboard with ID xd8-fr3-xcu not found"]}' headers: Cache-Control: - no-cache @@ -423,7 +322,7 @@ interactions: Content-Type: - application/json Date: - - Thu, 31 Dec 2020 14:45:30 GMT + - Mon, 24 May 2021 14:15:00 GMT Pragma: - no-cache Strict-Transport-Security: @@ -433,7 +332,7 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Version: - - "35.3622023" + - "35.4593741" X-Frame-Options: - SAMEORIGIN status: 404 Not Found diff --git a/datadog/tests/cassettes/TestAccDatadogDashboardHostMap.freeze b/datadog/tests/cassettes/TestAccDatadogDashboardHostMap.freeze index fd6f9e2a4..5bf42f88c 100644 --- a/datadog/tests/cassettes/TestAccDatadogDashboardHostMap.freeze +++ b/datadog/tests/cassettes/TestAccDatadogDashboardHostMap.freeze @@ -1 +1 @@ -2021-01-28T17:18:25.058707+01:00 \ No newline at end of file +2021-05-24T10:37:36.415753-04:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogDashboardHostMap.yaml b/datadog/tests/cassettes/TestAccDatadogDashboardHostMap.yaml index 7affd45ce..ad8ed0d7a 100644 --- a/datadog/tests/cassettes/TestAccDatadogDashboardHostMap.yaml +++ b/datadog/tests/cassettes/TestAccDatadogDashboardHostMap.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-TestAccDatadogDashboardHostMap-local-1611850705","widgets":[{"definition":{"custom_links":[{"label":"Test Custom Link label","link":"https://app.datadoghq.com/dashboard/lists"}],"group":["region"],"no_group_hosts":true,"no_metric_hosts":true,"node_type":"host","requests":{"fill":{"q":"avg:system.cpu.idle{env:prod} by {host}"},"size":{"q":"max:system.cpu.user{env:prod} by {host}"}},"scope":["env:prod"],"style":{"fill_max":"30","fill_min":"10","palette":"YlOrRd","palette_flip":true},"title":"system.cpu.idle, system.cpu.user","title_align":"right","title_size":"16","type":"hostmap"}}]} + {"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-TestAccDatadogDashboardHostMap-local-1621865946","widgets":[{"definition":{"custom_links":[{"label":"Test Custom Link label","link":"https://app.datadoghq.com/dashboard/lists"},{"is_hidden":true,"link":"https://app.datadoghq.com/dashboard/lists","override_label":"logs"}],"group":["region"],"no_group_hosts":true,"no_metric_hosts":true,"node_type":"host","requests":{"fill":{"q":"avg:system.cpu.idle{env:prod} by {host}"},"size":{"q":"max:system.cpu.user{env:prod} by {host}"}},"scope":["env:prod"],"style":{"fill_max":"30","fill_min":"10","palette":"YlOrRd","palette_flip":true},"title":"system.cpu.idle, system.cpu.user","title_align":"right","title_size":"16","type":"hostmap"}}]} form: {} headers: Accept: @@ -13,21 +13,11 @@ interactions: Dd-Operation-Id: - CreateDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 1.15.0; terraform-cli 0.12.7-sdk) - datadog-api-client-go/1.0.0-beta.14 (go go1.15.4; os darwin; arch amd64) - X-Datadog-Parent-Id: - - "8653800911770846961" - X-Datadog-Sampling-Priority: - - "1" - X-Datadog-Trace-Id: - - "8991564635414322782" + - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) 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":"da9-c9h-f7j","title":"tf-TestAccDatadogDashboardHostMap-local-1611850705","url":"/dashboard/da9-c9h-f7j/tf-testaccdatadogdashboardhostmap-local-1611850705","created_at":"2021-01-28T16:29:40.919405+00:00","modified_at":"2021-01-28T16:29:40.919405+00:00","author_handle":"frog@datadoghq.com","widgets":[{"definition":{"style":{"fill_min":"10","fill_max":"30","palette":"YlOrRd","palette_flip":true},"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test - Custom Link label"}],"title_size":"16","title":"system.cpu.idle, system.cpu.user","title_align":"right","node_type":"host","no_metric_hosts":true,"group":["region"],"requests":{"size":{"q":"max:system.cpu.user{env:prod} - by {host}"},"fill":{"q":"avg:system.cpu.idle{env:prod} by {host}"}},"no_group_hosts":true,"type":"hostmap","scope":["env:prod"]},"id":8478660964564960}],"layout_type":"ordered"}' + body: '{"notify_list":[],"description":"Created using the Datadog provider in Terraform","restricted_roles":["043a2842-e140-11e8-bb04-7fd10177666e","08604de8-1dca-11eb-800c-9f5f55ff734d","1302282c-b93b-11eb-a436-da7ad0900002","16169788-28e4-11eb-832c-fb84162ef3eb","17d73994-7531-11eb-94b9-da7ad0900002","284d8b66-93f9-11eb-9c37-da7ad0900002","4de53192-9946-11eb-9cee-da7ad0900002","62cbc476-5c16-11eb-8e98-0388ea7a41f8","657de3a2-29f8-11eb-83b5-6b8ebfb2f184","6bf314be-5c16-11eb-8e98-2356ea436065","7a83f306-96ca-11eb-9c74-da7ad0900002","9b3ab170-b768-11eb-a45a-da7ad0900002","e82bf27a-986c-11eb-9cba-da7ad0900002","f257ba30-dbb2-11ea-a5ff-5fd1d308318a"],"author_name":"Qin Chen","template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"yix-z4w-x4f","title":"tf-TestAccDatadogDashboardHostMap-local-1621865946","url":"/dashboard/yix-z4w-x4f/tf-testaccdatadogdashboardhostmap-local-1621865946","created_at":"2021-05-24T14:19:07.913479+00:00","modified_at":"2021-05-24T14:19:07.913479+00:00","author_handle":"qin.chen@datadoghq.com","widgets":[{"definition":{"style":{"fill_min":"10","fill_max":"30","palette":"YlOrRd","palette_flip":true},"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test Custom Link label"},{"override_label":"logs","is_hidden":true,"link":"https://app.datadoghq.com/dashboard/lists"}],"title_size":"16","title":"system.cpu.idle, system.cpu.user","title_align":"right","node_type":"host","no_metric_hosts":true,"group":["region"],"requests":{"size":{"q":"max:system.cpu.user{env:prod} by {host}"},"fill":{"q":"avg:system.cpu.idle{env:prod} by {host}"}},"no_group_hosts":true,"type":"hostmap","scope":["env:prod"]},"id":8469184671469714}],"layout_type":"ordered"}' headers: Cache-Control: - no-cache @@ -38,12 +28,9 @@ interactions: Content-Type: - application/json Date: - - Thu, 28 Jan 2021 16:29:43 GMT + - Mon, 24 May 2021 14:19:08 GMT Pragma: - no-cache - Set-Cookie: - - DD-PSHARD=233; Max-Age=604800; Path=/; expires=Thu, 04-Feb-2021 16:29:40 GMT; - secure; HttpOnly Strict-Transport-Security: - max-age=15724800; Vary: @@ -51,9 +38,9 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Debug: - - tpRCH6w417YjBovRJ8VmtuXmNONVYiRp2c8d2AxjPdGBn8PCtgG4vAztrx3qUZAN + - l8RQo2maZqJf6GFThBbKNE6dvthz6njusVtau3dPXJWL2RLFoN81H+BLPB/1xgs1 X-Dd-Version: - - "35.3796727" + - "35.4593741" X-Frame-Options: - SAMEORIGIN status: 200 OK @@ -68,21 +55,11 @@ interactions: Dd-Operation-Id: - GetDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 1.15.0; terraform-cli 0.12.7-sdk) - datadog-api-client-go/1.0.0-beta.14 (go go1.15.4; os darwin; arch amd64) - X-Datadog-Parent-Id: - - "8255645740105467286" - X-Datadog-Sampling-Priority: - - "1" - X-Datadog-Trace-Id: - - "8991564635414322782" - url: https://api.datadoghq.com/api/v1/dashboard/da9-c9h-f7j + - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) + url: https://api.datadoghq.com/api/v1/dashboard/yix-z4w-x4f 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":"da9-c9h-f7j","title":"tf-TestAccDatadogDashboardHostMap-local-1611850705","url":"/dashboard/da9-c9h-f7j/tf-testaccdatadogdashboardhostmap-local-1611850705","created_at":"2021-01-28T16:29:40.919405+00:00","modified_at":"2021-01-28T16:29:40.919405+00:00","author_handle":"frog@datadoghq.com","widgets":[{"definition":{"style":{"fill_min":"10","fill_max":"30","palette":"YlOrRd","palette_flip":true},"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test - Custom Link label"}],"title_size":"16","title":"system.cpu.idle, system.cpu.user","title_align":"right","node_type":"host","no_metric_hosts":true,"group":["region"],"requests":{"size":{"q":"max:system.cpu.user{env:prod} - by {host}"},"fill":{"q":"avg:system.cpu.idle{env:prod} by {host}"}},"no_group_hosts":true,"type":"hostmap","scope":["env:prod"]},"id":8478660964564960}],"layout_type":"ordered"}' + body: '{"notify_list":[],"description":"Created using the Datadog provider in Terraform","restricted_roles":["284d8b66-93f9-11eb-9c37-da7ad0900002","043a2842-e140-11e8-bb04-7fd10177666e","657de3a2-29f8-11eb-83b5-6b8ebfb2f184","e82bf27a-986c-11eb-9cba-da7ad0900002","f257ba30-dbb2-11ea-a5ff-5fd1d308318a","6bf314be-5c16-11eb-8e98-2356ea436065","62cbc476-5c16-11eb-8e98-0388ea7a41f8","08604de8-1dca-11eb-800c-9f5f55ff734d","9b3ab170-b768-11eb-a45a-da7ad0900002","7a83f306-96ca-11eb-9c74-da7ad0900002","16169788-28e4-11eb-832c-fb84162ef3eb","4de53192-9946-11eb-9cee-da7ad0900002","1302282c-b93b-11eb-a436-da7ad0900002","17d73994-7531-11eb-94b9-da7ad0900002"],"author_name":"Qin Chen","template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"yix-z4w-x4f","title":"tf-TestAccDatadogDashboardHostMap-local-1621865946","url":"/dashboard/yix-z4w-x4f/tf-testaccdatadogdashboardhostmap-local-1621865946","created_at":"2021-05-24T14:19:07.913479+00:00","modified_at":"2021-05-24T14:19:07.913479+00:00","author_handle":"qin.chen@datadoghq.com","widgets":[{"definition":{"style":{"fill_min":"10","fill_max":"30","palette":"YlOrRd","palette_flip":true},"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test Custom Link label"},{"override_label":"logs","is_hidden":true,"link":"https://app.datadoghq.com/dashboard/lists"}],"title_size":"16","title":"system.cpu.idle, system.cpu.user","title_align":"right","node_type":"host","no_metric_hosts":true,"group":["region"],"requests":{"size":{"q":"max:system.cpu.user{env:prod} by {host}"},"fill":{"q":"avg:system.cpu.idle{env:prod} by {host}"}},"no_group_hosts":true,"type":"hostmap","scope":["env:prod"]},"id":8469184671469714}],"layout_type":"ordered"}' headers: Cache-Control: - no-cache @@ -93,12 +70,9 @@ interactions: Content-Type: - application/json Date: - - Thu, 28 Jan 2021 16:29:43 GMT + - Mon, 24 May 2021 14:19:08 GMT Pragma: - no-cache - Set-Cookie: - - DD-PSHARD=233; Max-Age=604800; Path=/; expires=Thu, 04-Feb-2021 16:29:43 GMT; - secure; HttpOnly Strict-Transport-Security: - max-age=15724800; Vary: @@ -106,9 +80,9 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Debug: - - l8RQo2maZqJf6GFThBbKNE6dvthz6njusVtau3dPXJWL2RLFoN81H+BLPB/1xgs1 + - B1nwy/pPNqX+q4pQT22cdp1QCexE35IF8qwSHy0Nf7IW0Y881qtn4tXN1lpmzaKc X-Dd-Version: - - "35.3796727" + - "35.4593741" X-Frame-Options: - SAMEORIGIN status: 200 OK @@ -123,21 +97,11 @@ interactions: Dd-Operation-Id: - GetDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 1.15.0; terraform-cli 0.12.7-sdk) - datadog-api-client-go/1.0.0-beta.14 (go go1.15.4; os darwin; arch amd64) - X-Datadog-Parent-Id: - - "6001430156344937790" - X-Datadog-Sampling-Priority: - - "1" - X-Datadog-Trace-Id: - - "8991564635414322782" - url: https://api.datadoghq.com/api/v1/dashboard/da9-c9h-f7j + - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) + url: https://api.datadoghq.com/api/v1/dashboard/yix-z4w-x4f 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":"da9-c9h-f7j","title":"tf-TestAccDatadogDashboardHostMap-local-1611850705","url":"/dashboard/da9-c9h-f7j/tf-testaccdatadogdashboardhostmap-local-1611850705","created_at":"2021-01-28T16:29:40.919405+00:00","modified_at":"2021-01-28T16:29:40.919405+00:00","author_handle":"frog@datadoghq.com","widgets":[{"definition":{"style":{"fill_min":"10","fill_max":"30","palette":"YlOrRd","palette_flip":true},"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test - Custom Link label"}],"title_size":"16","title":"system.cpu.idle, system.cpu.user","title_align":"right","node_type":"host","no_metric_hosts":true,"group":["region"],"requests":{"size":{"q":"max:system.cpu.user{env:prod} - by {host}"},"fill":{"q":"avg:system.cpu.idle{env:prod} by {host}"}},"no_group_hosts":true,"type":"hostmap","scope":["env:prod"]},"id":8478660964564960}],"layout_type":"ordered"}' + body: '{"notify_list":[],"description":"Created using the Datadog provider in Terraform","restricted_roles":["284d8b66-93f9-11eb-9c37-da7ad0900002","043a2842-e140-11e8-bb04-7fd10177666e","657de3a2-29f8-11eb-83b5-6b8ebfb2f184","e82bf27a-986c-11eb-9cba-da7ad0900002","f257ba30-dbb2-11ea-a5ff-5fd1d308318a","6bf314be-5c16-11eb-8e98-2356ea436065","62cbc476-5c16-11eb-8e98-0388ea7a41f8","08604de8-1dca-11eb-800c-9f5f55ff734d","9b3ab170-b768-11eb-a45a-da7ad0900002","7a83f306-96ca-11eb-9c74-da7ad0900002","16169788-28e4-11eb-832c-fb84162ef3eb","4de53192-9946-11eb-9cee-da7ad0900002","1302282c-b93b-11eb-a436-da7ad0900002","17d73994-7531-11eb-94b9-da7ad0900002"],"author_name":"Qin Chen","template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"yix-z4w-x4f","title":"tf-TestAccDatadogDashboardHostMap-local-1621865946","url":"/dashboard/yix-z4w-x4f/tf-testaccdatadogdashboardhostmap-local-1621865946","created_at":"2021-05-24T14:19:07.913479+00:00","modified_at":"2021-05-24T14:19:07.913479+00:00","author_handle":"qin.chen@datadoghq.com","widgets":[{"definition":{"style":{"fill_min":"10","fill_max":"30","palette":"YlOrRd","palette_flip":true},"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test Custom Link label"},{"override_label":"logs","is_hidden":true,"link":"https://app.datadoghq.com/dashboard/lists"}],"title_size":"16","title":"system.cpu.idle, system.cpu.user","title_align":"right","node_type":"host","no_metric_hosts":true,"group":["region"],"requests":{"size":{"q":"max:system.cpu.user{env:prod} by {host}"},"fill":{"q":"avg:system.cpu.idle{env:prod} by {host}"}},"no_group_hosts":true,"type":"hostmap","scope":["env:prod"]},"id":8469184671469714}],"layout_type":"ordered"}' headers: Cache-Control: - no-cache @@ -148,12 +112,9 @@ interactions: Content-Type: - application/json Date: - - Thu, 28 Jan 2021 16:29:46 GMT + - Mon, 24 May 2021 14:19:08 GMT Pragma: - no-cache - Set-Cookie: - - DD-PSHARD=233; Max-Age=604800; Path=/; expires=Thu, 04-Feb-2021 16:29:46 GMT; - secure; HttpOnly Strict-Transport-Security: - max-age=15724800; Vary: @@ -161,9 +122,9 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Debug: - - fIO2C4qGDheGHy4YbS+r3a3CXbh4cbRo7roILOimQyiHGjQdOat0cIpWCkupM1uX + - dCmL/3rURV6BPeaqeP3Rxigq41m5CAb17XjrRE42uZ01zpr07HVhbL5/3TWMkvgu X-Dd-Version: - - "35.3796727" + - "35.4593741" X-Frame-Options: - SAMEORIGIN status: 200 OK @@ -178,21 +139,11 @@ interactions: Dd-Operation-Id: - GetDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 1.15.0; terraform-cli 0.12.7-sdk) - datadog-api-client-go/1.0.0-beta.14 (go go1.15.4; os darwin; arch amd64) - X-Datadog-Parent-Id: - - "5932362522035802989" - X-Datadog-Sampling-Priority: - - "1" - X-Datadog-Trace-Id: - - "8991564635414322782" - url: https://api.datadoghq.com/api/v1/dashboard/da9-c9h-f7j + - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) + url: https://api.datadoghq.com/api/v1/dashboard/yix-z4w-x4f 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":"da9-c9h-f7j","title":"tf-TestAccDatadogDashboardHostMap-local-1611850705","url":"/dashboard/da9-c9h-f7j/tf-testaccdatadogdashboardhostmap-local-1611850705","created_at":"2021-01-28T16:29:40.919405+00:00","modified_at":"2021-01-28T16:29:40.919405+00:00","author_handle":"frog@datadoghq.com","widgets":[{"definition":{"style":{"fill_min":"10","fill_max":"30","palette":"YlOrRd","palette_flip":true},"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test - Custom Link label"}],"title_size":"16","title":"system.cpu.idle, system.cpu.user","title_align":"right","node_type":"host","no_metric_hosts":true,"group":["region"],"requests":{"size":{"q":"max:system.cpu.user{env:prod} - by {host}"},"fill":{"q":"avg:system.cpu.idle{env:prod} by {host}"}},"no_group_hosts":true,"type":"hostmap","scope":["env:prod"]},"id":8478660964564960}],"layout_type":"ordered"}' + body: '{"notify_list":[],"description":"Created using the Datadog provider in Terraform","restricted_roles":["284d8b66-93f9-11eb-9c37-da7ad0900002","043a2842-e140-11e8-bb04-7fd10177666e","657de3a2-29f8-11eb-83b5-6b8ebfb2f184","e82bf27a-986c-11eb-9cba-da7ad0900002","f257ba30-dbb2-11ea-a5ff-5fd1d308318a","6bf314be-5c16-11eb-8e98-2356ea436065","62cbc476-5c16-11eb-8e98-0388ea7a41f8","08604de8-1dca-11eb-800c-9f5f55ff734d","9b3ab170-b768-11eb-a45a-da7ad0900002","7a83f306-96ca-11eb-9c74-da7ad0900002","16169788-28e4-11eb-832c-fb84162ef3eb","4de53192-9946-11eb-9cee-da7ad0900002","1302282c-b93b-11eb-a436-da7ad0900002","17d73994-7531-11eb-94b9-da7ad0900002"],"author_name":"Qin Chen","template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"yix-z4w-x4f","title":"tf-TestAccDatadogDashboardHostMap-local-1621865946","url":"/dashboard/yix-z4w-x4f/tf-testaccdatadogdashboardhostmap-local-1621865946","created_at":"2021-05-24T14:19:07.913479+00:00","modified_at":"2021-05-24T14:19:07.913479+00:00","author_handle":"qin.chen@datadoghq.com","widgets":[{"definition":{"style":{"fill_min":"10","fill_max":"30","palette":"YlOrRd","palette_flip":true},"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test Custom Link label"},{"override_label":"logs","is_hidden":true,"link":"https://app.datadoghq.com/dashboard/lists"}],"title_size":"16","title":"system.cpu.idle, system.cpu.user","title_align":"right","node_type":"host","no_metric_hosts":true,"group":["region"],"requests":{"size":{"q":"max:system.cpu.user{env:prod} by {host}"},"fill":{"q":"avg:system.cpu.idle{env:prod} by {host}"}},"no_group_hosts":true,"type":"hostmap","scope":["env:prod"]},"id":8469184671469714}],"layout_type":"ordered"}' headers: Cache-Control: - no-cache @@ -203,12 +154,9 @@ interactions: Content-Type: - application/json Date: - - Thu, 28 Jan 2021 16:30:05 GMT + - Mon, 24 May 2021 14:19:08 GMT Pragma: - no-cache - Set-Cookie: - - DD-PSHARD=233; Max-Age=604800; Path=/; expires=Thu, 04-Feb-2021 16:30:05 GMT; - secure; HttpOnly Strict-Transport-Security: - max-age=15724800; Vary: @@ -216,9 +164,9 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Debug: - - LcgNasIYBRkNppmD6mCKE9J6iv0eEjosuuHR5V5zw2fWbR54i39C8dhdK8zDq/40 + - 25u1gDlL724DHllbjFT4BhOLorBTilh+aah2uWAUEjFC/+rjczJdiyWrV/HwLwe/ X-Dd-Version: - - "35.3796727" + - "35.4593741" X-Frame-Options: - SAMEORIGIN status: 200 OK @@ -233,21 +181,11 @@ interactions: Dd-Operation-Id: - GetDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 1.15.0; terraform-cli 0.12.7-sdk) - datadog-api-client-go/1.0.0-beta.14 (go go1.15.4; os darwin; arch amd64) - X-Datadog-Parent-Id: - - "8241916226846992032" - X-Datadog-Sampling-Priority: - - "1" - X-Datadog-Trace-Id: - - "8991564635414322782" - url: https://api.datadoghq.com/api/v1/dashboard/da9-c9h-f7j + - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) + url: https://api.datadoghq.com/api/v1/dashboard/yix-z4w-x4f 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":"da9-c9h-f7j","title":"tf-TestAccDatadogDashboardHostMap-local-1611850705","url":"/dashboard/da9-c9h-f7j/tf-testaccdatadogdashboardhostmap-local-1611850705","created_at":"2021-01-28T16:29:40.919405+00:00","modified_at":"2021-01-28T16:29:40.919405+00:00","author_handle":"frog@datadoghq.com","widgets":[{"definition":{"style":{"fill_min":"10","fill_max":"30","palette":"YlOrRd","palette_flip":true},"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test - Custom Link label"}],"title_size":"16","title":"system.cpu.idle, system.cpu.user","title_align":"right","node_type":"host","no_metric_hosts":true,"group":["region"],"requests":{"size":{"q":"max:system.cpu.user{env:prod} - by {host}"},"fill":{"q":"avg:system.cpu.idle{env:prod} by {host}"}},"no_group_hosts":true,"type":"hostmap","scope":["env:prod"]},"id":8478660964564960}],"layout_type":"ordered"}' + body: '{"notify_list":[],"description":"Created using the Datadog provider in Terraform","restricted_roles":["284d8b66-93f9-11eb-9c37-da7ad0900002","043a2842-e140-11e8-bb04-7fd10177666e","657de3a2-29f8-11eb-83b5-6b8ebfb2f184","e82bf27a-986c-11eb-9cba-da7ad0900002","f257ba30-dbb2-11ea-a5ff-5fd1d308318a","6bf314be-5c16-11eb-8e98-2356ea436065","62cbc476-5c16-11eb-8e98-0388ea7a41f8","08604de8-1dca-11eb-800c-9f5f55ff734d","9b3ab170-b768-11eb-a45a-da7ad0900002","7a83f306-96ca-11eb-9c74-da7ad0900002","16169788-28e4-11eb-832c-fb84162ef3eb","4de53192-9946-11eb-9cee-da7ad0900002","1302282c-b93b-11eb-a436-da7ad0900002","17d73994-7531-11eb-94b9-da7ad0900002"],"author_name":"Qin Chen","template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"yix-z4w-x4f","title":"tf-TestAccDatadogDashboardHostMap-local-1621865946","url":"/dashboard/yix-z4w-x4f/tf-testaccdatadogdashboardhostmap-local-1621865946","created_at":"2021-05-24T14:19:07.913479+00:00","modified_at":"2021-05-24T14:19:07.913479+00:00","author_handle":"qin.chen@datadoghq.com","widgets":[{"definition":{"style":{"fill_min":"10","fill_max":"30","palette":"YlOrRd","palette_flip":true},"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test Custom Link label"},{"override_label":"logs","is_hidden":true,"link":"https://app.datadoghq.com/dashboard/lists"}],"title_size":"16","title":"system.cpu.idle, system.cpu.user","title_align":"right","node_type":"host","no_metric_hosts":true,"group":["region"],"requests":{"size":{"q":"max:system.cpu.user{env:prod} by {host}"},"fill":{"q":"avg:system.cpu.idle{env:prod} by {host}"}},"no_group_hosts":true,"type":"hostmap","scope":["env:prod"]},"id":8469184671469714}],"layout_type":"ordered"}' headers: Cache-Control: - no-cache @@ -258,12 +196,9 @@ interactions: Content-Type: - application/json Date: - - Thu, 28 Jan 2021 16:30:26 GMT + - Mon, 24 May 2021 14:19:09 GMT Pragma: - no-cache - Set-Cookie: - - DD-PSHARD=233; Max-Age=604800; Path=/; expires=Thu, 04-Feb-2021 16:30:26 GMT; - secure; HttpOnly Strict-Transport-Security: - max-age=15724800; Vary: @@ -271,9 +206,9 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Debug: - - S1wfaMZOKGT/IoMw6fqAwAwGWo2vQ44sjF3YzuETnQfxZO2T5eJbs0aX3UKb9Dwu + - LcgNasIYBRkNppmD6mCKE9J6iv0eEjosuuHR5V5zw2fWbR54i39C8dhdK8zDq/40 X-Dd-Version: - - "35.3796727" + - "35.4593741" X-Frame-Options: - SAMEORIGIN status: 200 OK @@ -288,18 +223,11 @@ interactions: Dd-Operation-Id: - DeleteDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 1.15.0; terraform-cli 0.12.7-sdk) - datadog-api-client-go/1.0.0-beta.14 (go go1.15.4; os darwin; arch amd64) - X-Datadog-Parent-Id: - - "7478077213042494201" - X-Datadog-Sampling-Priority: - - "1" - X-Datadog-Trace-Id: - - "8991564635414322782" - url: https://api.datadoghq.com/api/v1/dashboard/da9-c9h-f7j + - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) + url: https://api.datadoghq.com/api/v1/dashboard/yix-z4w-x4f method: DELETE response: - body: '{"deleted_dashboard_id":"da9-c9h-f7j"}' + body: '{"deleted_dashboard_id":"yix-z4w-x4f"}' headers: Cache-Control: - no-cache @@ -310,12 +238,9 @@ interactions: Content-Type: - application/json Date: - - Thu, 28 Jan 2021 16:30:39 GMT + - Mon, 24 May 2021 14:19:09 GMT Pragma: - no-cache - Set-Cookie: - - DD-PSHARD=233; Max-Age=604800; Path=/; expires=Thu, 04-Feb-2021 16:30:39 GMT; - secure; HttpOnly Strict-Transport-Security: - max-age=15724800; Vary: @@ -323,9 +248,9 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Debug: - - JpIJLwIH2nFlZOC+u71rq7aAOL43MLZN3MUsL+gpYHdZz5QLUOG8Jysf8kVK6tPU + - F5gm0Rce1/Abr9/0Fw8HAqWfiz0FdiH8er/AXnN6lOn3L6KyGgbsLCwgPlob1No8 X-Dd-Version: - - "35.3796727" + - "35.4593741" X-Frame-Options: - SAMEORIGIN status: 200 OK @@ -340,18 +265,11 @@ interactions: Dd-Operation-Id: - GetDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 1.15.0; terraform-cli 0.12.7-sdk) - datadog-api-client-go/1.0.0-beta.14 (go go1.15.4; os darwin; arch amd64) - X-Datadog-Parent-Id: - - "2886792618007604408" - X-Datadog-Sampling-Priority: - - "1" - X-Datadog-Trace-Id: - - "8991564635414322782" - url: https://api.datadoghq.com/api/v1/dashboard/da9-c9h-f7j + - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) + url: https://api.datadoghq.com/api/v1/dashboard/yix-z4w-x4f method: GET response: - body: '{"errors": ["Dashboard with ID da9-c9h-f7j not found"]}' + body: '{"errors": ["Dashboard with ID yix-z4w-x4f not found"]}' headers: Cache-Control: - no-cache @@ -362,7 +280,7 @@ interactions: Content-Type: - application/json Date: - - Thu, 28 Jan 2021 16:30:45 GMT + - Mon, 24 May 2021 14:19:09 GMT Pragma: - no-cache Strict-Transport-Security: @@ -372,7 +290,7 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Version: - - "35.3796727" + - "35.4593741" X-Frame-Options: - SAMEORIGIN status: 404 Not Found diff --git a/datadog/tests/cassettes/TestAccDatadogDashboardHostMap_import.freeze b/datadog/tests/cassettes/TestAccDatadogDashboardHostMap_import.freeze index 1c58f4921..3a6efdee6 100644 --- a/datadog/tests/cassettes/TestAccDatadogDashboardHostMap_import.freeze +++ b/datadog/tests/cassettes/TestAccDatadogDashboardHostMap_import.freeze @@ -1 +1 @@ -2020-12-31T15:42:08.134677+01:00 \ No newline at end of file +2021-05-24T10:37:36.409021-04:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogDashboardHostMap_import.yaml b/datadog/tests/cassettes/TestAccDatadogDashboardHostMap_import.yaml index 40e585eca..2fc65c221 100644 --- a/datadog/tests/cassettes/TestAccDatadogDashboardHostMap_import.yaml +++ b/datadog/tests/cassettes/TestAccDatadogDashboardHostMap_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-TestAccDatadogDashboardHostMap_import-local-1609425728","widgets":[{"definition":{"custom_links":[{"label":"Test Custom Link label","link":"https://app.datadoghq.com/dashboard/lists"}],"group":["region"],"no_group_hosts":true,"no_metric_hosts":true,"node_type":"host","requests":{"fill":{"q":"avg:system.cpu.idle{env:prod} by {host}"},"size":{"q":"max:system.cpu.user{env:prod} by {host}"}},"scope":["env:prod"],"style":{"fill_max":"30","fill_min":"10","palette":"YlOrRd","palette_flip":true},"title":"system.cpu.idle, system.cpu.user","title_align":"right","title_size":"16","type":"hostmap"}}]} + {"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-TestAccDatadogDashboardHostMap_import-local-1621865946","widgets":[{"definition":{"custom_links":[{"label":"Test Custom Link label","link":"https://app.datadoghq.com/dashboard/lists"},{"is_hidden":true,"link":"https://app.datadoghq.com/dashboard/lists","override_label":"logs"}],"group":["region"],"no_group_hosts":true,"no_metric_hosts":true,"node_type":"host","requests":{"fill":{"q":"avg:system.cpu.idle{env:prod} by {host}"},"size":{"q":"max:system.cpu.user{env:prod} by {host}"}},"scope":["env:prod"],"style":{"fill_max":"30","fill_min":"10","palette":"YlOrRd","palette_flip":true},"title":"system.cpu.idle, system.cpu.user","title_align":"right","title_size":"16","type":"hostmap"}}]} form: {} headers: Accept: @@ -13,21 +13,11 @@ interactions: Dd-Operation-Id: - CreateDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 1.15.0; terraform-cli 0.12.7-sdk) - datadog-api-client-go/1.0.0-beta.13+dev (go go1.15.4; os darwin; arch amd64) - X-Datadog-Parent-Id: - - "8944213038793338757" - X-Datadog-Sampling-Priority: - - "1" - X-Datadog-Trace-Id: - - "2739794689485606521" + - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) 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":"p29-57k-8pd","title":"tf-TestAccDatadogDashboardHostMap_import-local-1609425728","url":"/dashboard/p29-57k-8pd/tf-testaccdatadogdashboardhostmapimport-local-1609425728","created_at":"2020-12-31T14:50:59.334281+00:00","modified_at":"2020-12-31T14:50:59.334281+00:00","author_handle":"frog@datadoghq.com","widgets":[{"definition":{"style":{"fill_min":"10","fill_max":"30","palette":"YlOrRd","palette_flip":true},"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test - Custom Link label"}],"title_size":"16","title":"system.cpu.idle, system.cpu.user","title_align":"right","node_type":"host","no_metric_hosts":true,"group":["region"],"requests":{"size":{"q":"max:system.cpu.user{env:prod} - by {host}"},"fill":{"q":"avg:system.cpu.idle{env:prod} by {host}"}},"no_group_hosts":true,"type":"hostmap","scope":["env:prod"]},"id":2214229596739543}],"layout_type":"ordered"}' + body: '{"notify_list":[],"description":"Created using the Datadog provider in Terraform","restricted_roles":["043a2842-e140-11e8-bb04-7fd10177666e","08604de8-1dca-11eb-800c-9f5f55ff734d","1302282c-b93b-11eb-a436-da7ad0900002","16169788-28e4-11eb-832c-fb84162ef3eb","17d73994-7531-11eb-94b9-da7ad0900002","284d8b66-93f9-11eb-9c37-da7ad0900002","4de53192-9946-11eb-9cee-da7ad0900002","62cbc476-5c16-11eb-8e98-0388ea7a41f8","657de3a2-29f8-11eb-83b5-6b8ebfb2f184","6bf314be-5c16-11eb-8e98-2356ea436065","7a83f306-96ca-11eb-9c74-da7ad0900002","9b3ab170-b768-11eb-a45a-da7ad0900002","e82bf27a-986c-11eb-9cba-da7ad0900002","f257ba30-dbb2-11ea-a5ff-5fd1d308318a"],"author_name":"Qin Chen","template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"97e-w2j-vma","title":"tf-TestAccDatadogDashboardHostMap_import-local-1621865946","url":"/dashboard/97e-w2j-vma/tf-testaccdatadogdashboardhostmapimport-local-1621865946","created_at":"2021-05-24T14:19:07.924292+00:00","modified_at":"2021-05-24T14:19:07.924292+00:00","author_handle":"qin.chen@datadoghq.com","widgets":[{"definition":{"style":{"fill_min":"10","fill_max":"30","palette":"YlOrRd","palette_flip":true},"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test Custom Link label"},{"override_label":"logs","is_hidden":true,"link":"https://app.datadoghq.com/dashboard/lists"}],"title_size":"16","title":"system.cpu.idle, system.cpu.user","title_align":"right","node_type":"host","no_metric_hosts":true,"group":["region"],"requests":{"size":{"q":"max:system.cpu.user{env:prod} by {host}"},"fill":{"q":"avg:system.cpu.idle{env:prod} by {host}"}},"no_group_hosts":true,"type":"hostmap","scope":["env:prod"]},"id":3234523286199271}],"layout_type":"ordered"}' headers: Cache-Control: - no-cache @@ -38,12 +28,9 @@ interactions: Content-Type: - application/json Date: - - Thu, 31 Dec 2020 14:51:02 GMT + - Mon, 24 May 2021 14:19:08 GMT Pragma: - no-cache - Set-Cookie: - - DD-PSHARD=233; Max-Age=604800; Path=/; expires=Thu, 07-Jan-2021 14:50:59 GMT; - secure; HttpOnly Strict-Transport-Security: - max-age=15724800; Vary: @@ -51,9 +38,9 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Debug: - - F+MB1uJtICegWSQGMRxkng/mFaS+IzSp7MVdNCMxEuNz7Df8CVcsilcdpPZyVGTp + - LcgNasIYBRkNppmD6mCKE9J6iv0eEjosuuHR5V5zw2fWbR54i39C8dhdK8zDq/40 X-Dd-Version: - - "35.3622023" + - "35.4593741" X-Frame-Options: - SAMEORIGIN status: 200 OK @@ -68,21 +55,11 @@ interactions: Dd-Operation-Id: - GetDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 1.15.0; terraform-cli 0.12.7-sdk) - datadog-api-client-go/1.0.0-beta.13+dev (go go1.15.4; os darwin; arch amd64) - X-Datadog-Parent-Id: - - "1092537733275737457" - X-Datadog-Sampling-Priority: - - "1" - X-Datadog-Trace-Id: - - "2739794689485606521" - url: https://api.datadoghq.com/api/v1/dashboard/p29-57k-8pd + - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) + url: https://api.datadoghq.com/api/v1/dashboard/97e-w2j-vma 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":"p29-57k-8pd","title":"tf-TestAccDatadogDashboardHostMap_import-local-1609425728","url":"/dashboard/p29-57k-8pd/tf-testaccdatadogdashboardhostmapimport-local-1609425728","created_at":"2020-12-31T14:50:59.334281+00:00","modified_at":"2020-12-31T14:50:59.334281+00:00","author_handle":"frog@datadoghq.com","widgets":[{"definition":{"style":{"fill_min":"10","fill_max":"30","palette":"YlOrRd","palette_flip":true},"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test - Custom Link label"}],"title_size":"16","title":"system.cpu.idle, system.cpu.user","title_align":"right","node_type":"host","no_metric_hosts":true,"group":["region"],"requests":{"size":{"q":"max:system.cpu.user{env:prod} - by {host}"},"fill":{"q":"avg:system.cpu.idle{env:prod} by {host}"}},"no_group_hosts":true,"type":"hostmap","scope":["env:prod"]},"id":2214229596739543}],"layout_type":"ordered"}' + body: '{"notify_list":[],"description":"Created using the Datadog provider in Terraform","restricted_roles":["284d8b66-93f9-11eb-9c37-da7ad0900002","043a2842-e140-11e8-bb04-7fd10177666e","657de3a2-29f8-11eb-83b5-6b8ebfb2f184","e82bf27a-986c-11eb-9cba-da7ad0900002","f257ba30-dbb2-11ea-a5ff-5fd1d308318a","6bf314be-5c16-11eb-8e98-2356ea436065","62cbc476-5c16-11eb-8e98-0388ea7a41f8","08604de8-1dca-11eb-800c-9f5f55ff734d","9b3ab170-b768-11eb-a45a-da7ad0900002","7a83f306-96ca-11eb-9c74-da7ad0900002","16169788-28e4-11eb-832c-fb84162ef3eb","4de53192-9946-11eb-9cee-da7ad0900002","1302282c-b93b-11eb-a436-da7ad0900002","17d73994-7531-11eb-94b9-da7ad0900002"],"author_name":"Qin Chen","template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"97e-w2j-vma","title":"tf-TestAccDatadogDashboardHostMap_import-local-1621865946","url":"/dashboard/97e-w2j-vma/tf-testaccdatadogdashboardhostmapimport-local-1621865946","created_at":"2021-05-24T14:19:07.924292+00:00","modified_at":"2021-05-24T14:19:07.924292+00:00","author_handle":"qin.chen@datadoghq.com","widgets":[{"definition":{"style":{"fill_min":"10","fill_max":"30","palette":"YlOrRd","palette_flip":true},"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test Custom Link label"},{"override_label":"logs","is_hidden":true,"link":"https://app.datadoghq.com/dashboard/lists"}],"title_size":"16","title":"system.cpu.idle, system.cpu.user","title_align":"right","node_type":"host","no_metric_hosts":true,"group":["region"],"requests":{"size":{"q":"max:system.cpu.user{env:prod} by {host}"},"fill":{"q":"avg:system.cpu.idle{env:prod} by {host}"}},"no_group_hosts":true,"type":"hostmap","scope":["env:prod"]},"id":3234523286199271}],"layout_type":"ordered"}' headers: Cache-Control: - no-cache @@ -93,12 +70,9 @@ interactions: Content-Type: - application/json Date: - - Thu, 31 Dec 2020 14:51:02 GMT + - Mon, 24 May 2021 14:19:08 GMT Pragma: - no-cache - Set-Cookie: - - DD-PSHARD=233; Max-Age=604800; Path=/; expires=Thu, 07-Jan-2021 14:51:02 GMT; - secure; HttpOnly Strict-Transport-Security: - max-age=15724800; Vary: @@ -106,9 +80,9 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Debug: - - FP8Y2ks6/+u/R8ikARtQQYvp9IVj9nSQPYtAt3WVuBjumgKP35t8vnUuGfeHdr64 + - mNzaoDhdDKO7t4QSrAe5X7pHd0bJND187D+vRbwoluXouE2m1UaQQX0RGCvRpLVE X-Dd-Version: - - "35.3622023" + - "35.4593741" X-Frame-Options: - SAMEORIGIN status: 200 OK @@ -123,21 +97,11 @@ interactions: Dd-Operation-Id: - GetDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 1.15.0; terraform-cli 0.12.7-sdk) - datadog-api-client-go/1.0.0-beta.13+dev (go go1.15.4; os darwin; arch amd64) - X-Datadog-Parent-Id: - - "1237230546142331088" - X-Datadog-Sampling-Priority: - - "1" - X-Datadog-Trace-Id: - - "2739794689485606521" - url: https://api.datadoghq.com/api/v1/dashboard/p29-57k-8pd + - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) + url: https://api.datadoghq.com/api/v1/dashboard/97e-w2j-vma 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":"p29-57k-8pd","title":"tf-TestAccDatadogDashboardHostMap_import-local-1609425728","url":"/dashboard/p29-57k-8pd/tf-testaccdatadogdashboardhostmapimport-local-1609425728","created_at":"2020-12-31T14:50:59.334281+00:00","modified_at":"2020-12-31T14:50:59.334281+00:00","author_handle":"frog@datadoghq.com","widgets":[{"definition":{"style":{"fill_min":"10","fill_max":"30","palette":"YlOrRd","palette_flip":true},"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test - Custom Link label"}],"title_size":"16","title":"system.cpu.idle, system.cpu.user","title_align":"right","node_type":"host","no_metric_hosts":true,"group":["region"],"requests":{"size":{"q":"max:system.cpu.user{env:prod} - by {host}"},"fill":{"q":"avg:system.cpu.idle{env:prod} by {host}"}},"no_group_hosts":true,"type":"hostmap","scope":["env:prod"]},"id":2214229596739543}],"layout_type":"ordered"}' + body: '{"notify_list":[],"description":"Created using the Datadog provider in Terraform","restricted_roles":["284d8b66-93f9-11eb-9c37-da7ad0900002","043a2842-e140-11e8-bb04-7fd10177666e","657de3a2-29f8-11eb-83b5-6b8ebfb2f184","e82bf27a-986c-11eb-9cba-da7ad0900002","f257ba30-dbb2-11ea-a5ff-5fd1d308318a","6bf314be-5c16-11eb-8e98-2356ea436065","62cbc476-5c16-11eb-8e98-0388ea7a41f8","08604de8-1dca-11eb-800c-9f5f55ff734d","9b3ab170-b768-11eb-a45a-da7ad0900002","7a83f306-96ca-11eb-9c74-da7ad0900002","16169788-28e4-11eb-832c-fb84162ef3eb","4de53192-9946-11eb-9cee-da7ad0900002","1302282c-b93b-11eb-a436-da7ad0900002","17d73994-7531-11eb-94b9-da7ad0900002"],"author_name":"Qin Chen","template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"97e-w2j-vma","title":"tf-TestAccDatadogDashboardHostMap_import-local-1621865946","url":"/dashboard/97e-w2j-vma/tf-testaccdatadogdashboardhostmapimport-local-1621865946","created_at":"2021-05-24T14:19:07.924292+00:00","modified_at":"2021-05-24T14:19:07.924292+00:00","author_handle":"qin.chen@datadoghq.com","widgets":[{"definition":{"style":{"fill_min":"10","fill_max":"30","palette":"YlOrRd","palette_flip":true},"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test Custom Link label"},{"override_label":"logs","is_hidden":true,"link":"https://app.datadoghq.com/dashboard/lists"}],"title_size":"16","title":"system.cpu.idle, system.cpu.user","title_align":"right","node_type":"host","no_metric_hosts":true,"group":["region"],"requests":{"size":{"q":"max:system.cpu.user{env:prod} by {host}"},"fill":{"q":"avg:system.cpu.idle{env:prod} by {host}"}},"no_group_hosts":true,"type":"hostmap","scope":["env:prod"]},"id":3234523286199271}],"layout_type":"ordered"}' headers: Cache-Control: - no-cache @@ -148,12 +112,9 @@ interactions: Content-Type: - application/json Date: - - Thu, 31 Dec 2020 14:51:10 GMT + - Mon, 24 May 2021 14:19:08 GMT Pragma: - no-cache - Set-Cookie: - - DD-PSHARD=233; Max-Age=604800; Path=/; expires=Thu, 07-Jan-2021 14:51:10 GMT; - secure; HttpOnly Strict-Transport-Security: - max-age=15724800; Vary: @@ -161,9 +122,9 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Debug: - - 5H2EXEXOPQC4s7BfWBFjlM6rKywFNh1Cf33eK1xYuPFdBfR+3y2m7Dyr75gZ4kw1 + - 25u1gDlL724DHllbjFT4BhOLorBTilh+aah2uWAUEjFC/+rjczJdiyWrV/HwLwe/ X-Dd-Version: - - "35.3622023" + - "35.4593741" X-Frame-Options: - SAMEORIGIN status: 200 OK @@ -178,21 +139,11 @@ interactions: Dd-Operation-Id: - GetDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 1.15.0; terraform-cli 0.12.7-sdk) - datadog-api-client-go/1.0.0-beta.13+dev (go go1.15.4; os darwin; arch amd64) - X-Datadog-Parent-Id: - - "5543219010307706643" - X-Datadog-Sampling-Priority: - - "1" - X-Datadog-Trace-Id: - - "2739794689485606521" - url: https://api.datadoghq.com/api/v1/dashboard/p29-57k-8pd + - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) + url: https://api.datadoghq.com/api/v1/dashboard/97e-w2j-vma 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":"p29-57k-8pd","title":"tf-TestAccDatadogDashboardHostMap_import-local-1609425728","url":"/dashboard/p29-57k-8pd/tf-testaccdatadogdashboardhostmapimport-local-1609425728","created_at":"2020-12-31T14:50:59.334281+00:00","modified_at":"2020-12-31T14:50:59.334281+00:00","author_handle":"frog@datadoghq.com","widgets":[{"definition":{"style":{"fill_min":"10","fill_max":"30","palette":"YlOrRd","palette_flip":true},"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test - Custom Link label"}],"title_size":"16","title":"system.cpu.idle, system.cpu.user","title_align":"right","node_type":"host","no_metric_hosts":true,"group":["region"],"requests":{"size":{"q":"max:system.cpu.user{env:prod} - by {host}"},"fill":{"q":"avg:system.cpu.idle{env:prod} by {host}"}},"no_group_hosts":true,"type":"hostmap","scope":["env:prod"]},"id":2214229596739543}],"layout_type":"ordered"}' + body: '{"notify_list":[],"description":"Created using the Datadog provider in Terraform","restricted_roles":["284d8b66-93f9-11eb-9c37-da7ad0900002","043a2842-e140-11e8-bb04-7fd10177666e","657de3a2-29f8-11eb-83b5-6b8ebfb2f184","e82bf27a-986c-11eb-9cba-da7ad0900002","f257ba30-dbb2-11ea-a5ff-5fd1d308318a","6bf314be-5c16-11eb-8e98-2356ea436065","62cbc476-5c16-11eb-8e98-0388ea7a41f8","08604de8-1dca-11eb-800c-9f5f55ff734d","9b3ab170-b768-11eb-a45a-da7ad0900002","7a83f306-96ca-11eb-9c74-da7ad0900002","16169788-28e4-11eb-832c-fb84162ef3eb","4de53192-9946-11eb-9cee-da7ad0900002","1302282c-b93b-11eb-a436-da7ad0900002","17d73994-7531-11eb-94b9-da7ad0900002"],"author_name":"Qin Chen","template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"97e-w2j-vma","title":"tf-TestAccDatadogDashboardHostMap_import-local-1621865946","url":"/dashboard/97e-w2j-vma/tf-testaccdatadogdashboardhostmapimport-local-1621865946","created_at":"2021-05-24T14:19:07.924292+00:00","modified_at":"2021-05-24T14:19:07.924292+00:00","author_handle":"qin.chen@datadoghq.com","widgets":[{"definition":{"style":{"fill_min":"10","fill_max":"30","palette":"YlOrRd","palette_flip":true},"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test Custom Link label"},{"override_label":"logs","is_hidden":true,"link":"https://app.datadoghq.com/dashboard/lists"}],"title_size":"16","title":"system.cpu.idle, system.cpu.user","title_align":"right","node_type":"host","no_metric_hosts":true,"group":["region"],"requests":{"size":{"q":"max:system.cpu.user{env:prod} by {host}"},"fill":{"q":"avg:system.cpu.idle{env:prod} by {host}"}},"no_group_hosts":true,"type":"hostmap","scope":["env:prod"]},"id":3234523286199271}],"layout_type":"ordered"}' headers: Cache-Control: - no-cache @@ -203,12 +154,9 @@ interactions: Content-Type: - application/json Date: - - Thu, 31 Dec 2020 14:51:15 GMT + - Mon, 24 May 2021 14:19:08 GMT Pragma: - no-cache - Set-Cookie: - - DD-PSHARD=233; Max-Age=604800; Path=/; expires=Thu, 07-Jan-2021 14:51:15 GMT; - secure; HttpOnly Strict-Transport-Security: - max-age=15724800; Vary: @@ -216,9 +164,9 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Debug: - - XhN3sROXhRtxvw2F+uRtJTWMwUQRYhDKBCNr1DfCqtzQgh490ZXtNSOhIx1TzG8K + - dCmL/3rURV6BPeaqeP3Rxigq41m5CAb17XjrRE42uZ01zpr07HVhbL5/3TWMkvgu X-Dd-Version: - - "35.3622023" + - "35.4593741" X-Frame-Options: - SAMEORIGIN status: 200 OK @@ -233,21 +181,11 @@ interactions: Dd-Operation-Id: - GetDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 1.15.0; terraform-cli 0.12.7-sdk) - datadog-api-client-go/1.0.0-beta.13+dev (go go1.15.4; os darwin; arch amd64) - X-Datadog-Parent-Id: - - "7549632547262040597" - X-Datadog-Sampling-Priority: - - "1" - X-Datadog-Trace-Id: - - "2739794689485606521" - url: https://api.datadoghq.com/api/v1/dashboard/p29-57k-8pd + - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) + url: https://api.datadoghq.com/api/v1/dashboard/97e-w2j-vma 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":"p29-57k-8pd","title":"tf-TestAccDatadogDashboardHostMap_import-local-1609425728","url":"/dashboard/p29-57k-8pd/tf-testaccdatadogdashboardhostmapimport-local-1609425728","created_at":"2020-12-31T14:50:59.334281+00:00","modified_at":"2020-12-31T14:50:59.334281+00:00","author_handle":"frog@datadoghq.com","widgets":[{"definition":{"style":{"fill_min":"10","fill_max":"30","palette":"YlOrRd","palette_flip":true},"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test - Custom Link label"}],"title_size":"16","title":"system.cpu.idle, system.cpu.user","title_align":"right","node_type":"host","no_metric_hosts":true,"group":["region"],"requests":{"size":{"q":"max:system.cpu.user{env:prod} - by {host}"},"fill":{"q":"avg:system.cpu.idle{env:prod} by {host}"}},"no_group_hosts":true,"type":"hostmap","scope":["env:prod"]},"id":2214229596739543}],"layout_type":"ordered"}' + body: '{"notify_list":[],"description":"Created using the Datadog provider in Terraform","restricted_roles":["284d8b66-93f9-11eb-9c37-da7ad0900002","043a2842-e140-11e8-bb04-7fd10177666e","657de3a2-29f8-11eb-83b5-6b8ebfb2f184","e82bf27a-986c-11eb-9cba-da7ad0900002","f257ba30-dbb2-11ea-a5ff-5fd1d308318a","6bf314be-5c16-11eb-8e98-2356ea436065","62cbc476-5c16-11eb-8e98-0388ea7a41f8","08604de8-1dca-11eb-800c-9f5f55ff734d","9b3ab170-b768-11eb-a45a-da7ad0900002","7a83f306-96ca-11eb-9c74-da7ad0900002","16169788-28e4-11eb-832c-fb84162ef3eb","4de53192-9946-11eb-9cee-da7ad0900002","1302282c-b93b-11eb-a436-da7ad0900002","17d73994-7531-11eb-94b9-da7ad0900002"],"author_name":"Qin Chen","template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"97e-w2j-vma","title":"tf-TestAccDatadogDashboardHostMap_import-local-1621865946","url":"/dashboard/97e-w2j-vma/tf-testaccdatadogdashboardhostmapimport-local-1621865946","created_at":"2021-05-24T14:19:07.924292+00:00","modified_at":"2021-05-24T14:19:07.924292+00:00","author_handle":"qin.chen@datadoghq.com","widgets":[{"definition":{"style":{"fill_min":"10","fill_max":"30","palette":"YlOrRd","palette_flip":true},"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test Custom Link label"},{"override_label":"logs","is_hidden":true,"link":"https://app.datadoghq.com/dashboard/lists"}],"title_size":"16","title":"system.cpu.idle, system.cpu.user","title_align":"right","node_type":"host","no_metric_hosts":true,"group":["region"],"requests":{"size":{"q":"max:system.cpu.user{env:prod} by {host}"},"fill":{"q":"avg:system.cpu.idle{env:prod} by {host}"}},"no_group_hosts":true,"type":"hostmap","scope":["env:prod"]},"id":3234523286199271}],"layout_type":"ordered"}' headers: Cache-Control: - no-cache @@ -258,12 +196,9 @@ interactions: Content-Type: - application/json Date: - - Thu, 31 Dec 2020 14:51:16 GMT + - Mon, 24 May 2021 14:19:09 GMT Pragma: - no-cache - Set-Cookie: - - DD-PSHARD=233; Max-Age=604800; Path=/; expires=Thu, 07-Jan-2021 14:51:15 GMT; - secure; HttpOnly Strict-Transport-Security: - max-age=15724800; Vary: @@ -271,9 +206,9 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Debug: - - 1KMr27QHAQHDfYPOMxdkaV+JBh/1ku8yD6KIlLr2d217iUuzksir9gh+Nfb7tVhq + - B1nwy/pPNqX+q4pQT22cdp1QCexE35IF8qwSHy0Nf7IW0Y881qtn4tXN1lpmzaKc X-Dd-Version: - - "35.3622023" + - "35.4593741" X-Frame-Options: - SAMEORIGIN status: 200 OK @@ -288,21 +223,11 @@ interactions: Dd-Operation-Id: - GetDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 1.15.0; terraform-cli 0.12.7-sdk) - datadog-api-client-go/1.0.0-beta.13+dev (go go1.15.4; os darwin; arch amd64) - X-Datadog-Parent-Id: - - "2385193848772403889" - X-Datadog-Sampling-Priority: - - "1" - X-Datadog-Trace-Id: - - "2739794689485606521" - url: https://api.datadoghq.com/api/v1/dashboard/p29-57k-8pd + - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) + url: https://api.datadoghq.com/api/v1/dashboard/97e-w2j-vma 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":"p29-57k-8pd","title":"tf-TestAccDatadogDashboardHostMap_import-local-1609425728","url":"/dashboard/p29-57k-8pd/tf-testaccdatadogdashboardhostmapimport-local-1609425728","created_at":"2020-12-31T14:50:59.334281+00:00","modified_at":"2020-12-31T14:50:59.334281+00:00","author_handle":"frog@datadoghq.com","widgets":[{"definition":{"style":{"fill_min":"10","fill_max":"30","palette":"YlOrRd","palette_flip":true},"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test - Custom Link label"}],"title_size":"16","title":"system.cpu.idle, system.cpu.user","title_align":"right","node_type":"host","no_metric_hosts":true,"group":["region"],"requests":{"size":{"q":"max:system.cpu.user{env:prod} - by {host}"},"fill":{"q":"avg:system.cpu.idle{env:prod} by {host}"}},"no_group_hosts":true,"type":"hostmap","scope":["env:prod"]},"id":2214229596739543}],"layout_type":"ordered"}' + body: '{"notify_list":[],"description":"Created using the Datadog provider in Terraform","restricted_roles":["284d8b66-93f9-11eb-9c37-da7ad0900002","043a2842-e140-11e8-bb04-7fd10177666e","657de3a2-29f8-11eb-83b5-6b8ebfb2f184","e82bf27a-986c-11eb-9cba-da7ad0900002","f257ba30-dbb2-11ea-a5ff-5fd1d308318a","6bf314be-5c16-11eb-8e98-2356ea436065","62cbc476-5c16-11eb-8e98-0388ea7a41f8","08604de8-1dca-11eb-800c-9f5f55ff734d","9b3ab170-b768-11eb-a45a-da7ad0900002","7a83f306-96ca-11eb-9c74-da7ad0900002","16169788-28e4-11eb-832c-fb84162ef3eb","4de53192-9946-11eb-9cee-da7ad0900002","1302282c-b93b-11eb-a436-da7ad0900002","17d73994-7531-11eb-94b9-da7ad0900002"],"author_name":"Qin Chen","template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"97e-w2j-vma","title":"tf-TestAccDatadogDashboardHostMap_import-local-1621865946","url":"/dashboard/97e-w2j-vma/tf-testaccdatadogdashboardhostmapimport-local-1621865946","created_at":"2021-05-24T14:19:07.924292+00:00","modified_at":"2021-05-24T14:19:07.924292+00:00","author_handle":"qin.chen@datadoghq.com","widgets":[{"definition":{"style":{"fill_min":"10","fill_max":"30","palette":"YlOrRd","palette_flip":true},"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test Custom Link label"},{"override_label":"logs","is_hidden":true,"link":"https://app.datadoghq.com/dashboard/lists"}],"title_size":"16","title":"system.cpu.idle, system.cpu.user","title_align":"right","node_type":"host","no_metric_hosts":true,"group":["region"],"requests":{"size":{"q":"max:system.cpu.user{env:prod} by {host}"},"fill":{"q":"avg:system.cpu.idle{env:prod} by {host}"}},"no_group_hosts":true,"type":"hostmap","scope":["env:prod"]},"id":3234523286199271}],"layout_type":"ordered"}' headers: Cache-Control: - no-cache @@ -313,12 +238,9 @@ interactions: Content-Type: - application/json Date: - - Thu, 31 Dec 2020 14:51:18 GMT + - Mon, 24 May 2021 14:19:09 GMT Pragma: - no-cache - Set-Cookie: - - DD-PSHARD=233; Max-Age=604800; Path=/; expires=Thu, 07-Jan-2021 14:51:18 GMT; - secure; HttpOnly Strict-Transport-Security: - max-age=15724800; Vary: @@ -326,9 +248,9 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Debug: - - k7TyfVVSwexDGVT9BY0DK6mAmUeZON/G+RdNqRYdH6H7rBeq1MzNVYFK01AYXFlT + - SY1h8ScsWq+kYmtbh63ltMLFAZsQjqfrgvdfAoRX+9TzT1sgMBRYaFRwfWWRRe9a X-Dd-Version: - - "35.3622023" + - "35.4593741" X-Frame-Options: - SAMEORIGIN status: 200 OK @@ -343,18 +265,11 @@ interactions: Dd-Operation-Id: - DeleteDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 1.15.0; terraform-cli 0.12.7-sdk) - datadog-api-client-go/1.0.0-beta.13+dev (go go1.15.4; os darwin; arch amd64) - X-Datadog-Parent-Id: - - "5290657460457601368" - X-Datadog-Sampling-Priority: - - "1" - X-Datadog-Trace-Id: - - "2739794689485606521" - url: https://api.datadoghq.com/api/v1/dashboard/p29-57k-8pd + - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) + url: https://api.datadoghq.com/api/v1/dashboard/97e-w2j-vma method: DELETE response: - body: '{"deleted_dashboard_id":"p29-57k-8pd"}' + body: '{"deleted_dashboard_id":"97e-w2j-vma"}' headers: Cache-Control: - no-cache @@ -365,12 +280,9 @@ interactions: Content-Type: - application/json Date: - - Thu, 31 Dec 2020 14:51:21 GMT + - Mon, 24 May 2021 14:19:09 GMT Pragma: - no-cache - Set-Cookie: - - DD-PSHARD=233; Max-Age=604800; Path=/; expires=Thu, 07-Jan-2021 14:51:21 GMT; - secure; HttpOnly Strict-Transport-Security: - max-age=15724800; Vary: @@ -378,9 +290,9 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Debug: - - 2vDhfmOEUBStl6KJFsHicYMybqtUSJ6AfSEVJTVlECBUwTgB5ievW7vT4NcYmXtK + - nLnnBNvlCFDECRnZvzDb0z4sAO35G+IMidcAs8vrCKyjvsKWE8Yd9S3n6OjZ1qRN X-Dd-Version: - - "35.3622023" + - "35.4593741" X-Frame-Options: - SAMEORIGIN status: 200 OK @@ -395,18 +307,11 @@ interactions: Dd-Operation-Id: - GetDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 1.15.0; terraform-cli 0.12.7-sdk) - datadog-api-client-go/1.0.0-beta.13+dev (go go1.15.4; os darwin; arch amd64) - X-Datadog-Parent-Id: - - "6806828832598169664" - X-Datadog-Sampling-Priority: - - "1" - X-Datadog-Trace-Id: - - "2739794689485606521" - url: https://api.datadoghq.com/api/v1/dashboard/p29-57k-8pd + - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) + url: https://api.datadoghq.com/api/v1/dashboard/97e-w2j-vma method: GET response: - body: '{"errors": ["Dashboard with ID p29-57k-8pd not found"]}' + body: '{"errors": ["Dashboard with ID 97e-w2j-vma not found"]}' headers: Cache-Control: - no-cache @@ -417,7 +322,7 @@ interactions: Content-Type: - application/json Date: - - Thu, 31 Dec 2020 14:51:21 GMT + - Mon, 24 May 2021 14:19:09 GMT Pragma: - no-cache Strict-Transport-Security: @@ -427,7 +332,7 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Version: - - "35.3622023" + - "35.4593741" X-Frame-Options: - SAMEORIGIN status: 404 Not Found diff --git a/datadog/tests/cassettes/TestAccDatadogDashboardIFrame.freeze b/datadog/tests/cassettes/TestAccDatadogDashboardIFrame.freeze index e465b31e5..e1460e80e 100644 --- a/datadog/tests/cassettes/TestAccDatadogDashboardIFrame.freeze +++ b/datadog/tests/cassettes/TestAccDatadogDashboardIFrame.freeze @@ -1 +1 @@ -2021-05-03T11:40:46.105451+02:00 \ No newline at end of file +2021-05-24T10:37:36.30005-04:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogDashboardIFrame_import.freeze b/datadog/tests/cassettes/TestAccDatadogDashboardIFrame_import.freeze index 797631a6e..1063387c4 100644 --- a/datadog/tests/cassettes/TestAccDatadogDashboardIFrame_import.freeze +++ b/datadog/tests/cassettes/TestAccDatadogDashboardIFrame_import.freeze @@ -1 +1 @@ -2021-05-03T11:41:05.327088+02:00 \ No newline at end of file +2021-05-24T10:37:36.291183-04:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogDashboardImage.freeze b/datadog/tests/cassettes/TestAccDatadogDashboardImage.freeze index 58d99d020..98e68d2c3 100644 --- a/datadog/tests/cassettes/TestAccDatadogDashboardImage.freeze +++ b/datadog/tests/cassettes/TestAccDatadogDashboardImage.freeze @@ -1 +1 @@ -2021-05-03T11:41:13.225832+02:00 \ No newline at end of file +2021-05-24T10:37:36.407671-04:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogDashboardImage_import.freeze b/datadog/tests/cassettes/TestAccDatadogDashboardImage_import.freeze index 6f73a730a..5d59082bb 100644 --- a/datadog/tests/cassettes/TestAccDatadogDashboardImage_import.freeze +++ b/datadog/tests/cassettes/TestAccDatadogDashboardImage_import.freeze @@ -1 +1 @@ -2021-05-03T11:41:21.605052+02:00 \ No newline at end of file +2021-05-24T10:37:36.406752-04:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogDashboardJSONBasicScreenboard.freeze b/datadog/tests/cassettes/TestAccDatadogDashboardJSONBasicScreenboard.freeze index 9a22834db..021c43205 100644 --- a/datadog/tests/cassettes/TestAccDatadogDashboardJSONBasicScreenboard.freeze +++ b/datadog/tests/cassettes/TestAccDatadogDashboardJSONBasicScreenboard.freeze @@ -1 +1 @@ -2021-04-16T11:11:15.425478+02:00 \ No newline at end of file +2021-05-24T10:37:36.402428-04:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogDashboardJSONBasicTimeboard.freeze b/datadog/tests/cassettes/TestAccDatadogDashboardJSONBasicTimeboard.freeze index af8c4991d..54d5953d9 100644 --- a/datadog/tests/cassettes/TestAccDatadogDashboardJSONBasicTimeboard.freeze +++ b/datadog/tests/cassettes/TestAccDatadogDashboardJSONBasicTimeboard.freeze @@ -1 +1 @@ -2021-04-16T11:11:15.425425+02:00 \ No newline at end of file +2021-05-24T10:37:36.40493-04:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogDashboardJSONImport.freeze b/datadog/tests/cassettes/TestAccDatadogDashboardJSONImport.freeze index 6ce8f891c..78d057ae9 100644 --- a/datadog/tests/cassettes/TestAccDatadogDashboardJSONImport.freeze +++ b/datadog/tests/cassettes/TestAccDatadogDashboardJSONImport.freeze @@ -1 +1 @@ -2021-04-16T11:11:15.421867+02:00 \ No newline at end of file +2021-05-24T10:37:36.1894-04:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogDashboardLayoutForceNew.freeze b/datadog/tests/cassettes/TestAccDatadogDashboardLayoutForceNew.freeze index 6c8f5e36c..0bcf2bbd9 100644 --- a/datadog/tests/cassettes/TestAccDatadogDashboardLayoutForceNew.freeze +++ b/datadog/tests/cassettes/TestAccDatadogDashboardLayoutForceNew.freeze @@ -1 +1 @@ -2021-05-03T11:38:12.213597+02:00 \ No newline at end of file +2021-05-24T10:37:36.319479-04:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogDashboardListDatasource.freeze b/datadog/tests/cassettes/TestAccDatadogDashboardListDatasource.freeze index 96be67356..148e243dd 100644 --- a/datadog/tests/cassettes/TestAccDatadogDashboardListDatasource.freeze +++ b/datadog/tests/cassettes/TestAccDatadogDashboardListDatasource.freeze @@ -1 +1 @@ -2021-01-28T17:18:24.8916+01:00 \ No newline at end of file +2021-05-24T10:37:36.28206-04:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogDashboardLogStream.freeze b/datadog/tests/cassettes/TestAccDatadogDashboardLogStream.freeze index ecd3913b5..b95569aec 100644 --- a/datadog/tests/cassettes/TestAccDatadogDashboardLogStream.freeze +++ b/datadog/tests/cassettes/TestAccDatadogDashboardLogStream.freeze @@ -1 +1 @@ -2021-05-14T09:02:36.084132+02:00 \ No newline at end of file +2021-05-24T10:37:36.40768-04:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogDashboardLogStreamLogSet.freeze b/datadog/tests/cassettes/TestAccDatadogDashboardLogStreamLogSet.freeze index 180d284c3..a81b076bc 100644 --- a/datadog/tests/cassettes/TestAccDatadogDashboardLogStreamLogSet.freeze +++ b/datadog/tests/cassettes/TestAccDatadogDashboardLogStreamLogSet.freeze @@ -1 +1 @@ -2021-05-14T09:02:36.0833+02:00 \ No newline at end of file +2021-05-24T10:37:36.405393-04:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogDashboardLogStreamLogSet_import.freeze b/datadog/tests/cassettes/TestAccDatadogDashboardLogStreamLogSet_import.freeze index 419eae5c1..68515be2b 100644 --- a/datadog/tests/cassettes/TestAccDatadogDashboardLogStreamLogSet_import.freeze +++ b/datadog/tests/cassettes/TestAccDatadogDashboardLogStreamLogSet_import.freeze @@ -1 +1 @@ -2021-05-14T09:02:36.083981+02:00 \ No newline at end of file +2021-05-24T10:37:36.397105-04:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogDashboardLogStream_import.freeze b/datadog/tests/cassettes/TestAccDatadogDashboardLogStream_import.freeze index a6f80571f..9491df68a 100644 --- a/datadog/tests/cassettes/TestAccDatadogDashboardLogStream_import.freeze +++ b/datadog/tests/cassettes/TestAccDatadogDashboardLogStream_import.freeze @@ -1 +1 @@ -2021-05-14T09:02:36.083518+02:00 \ No newline at end of file +2021-05-24T10:37:36.398807-04:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogDashboardManageStatus.freeze b/datadog/tests/cassettes/TestAccDatadogDashboardManageStatus.freeze index e17da19d3..33adfa5f6 100644 --- a/datadog/tests/cassettes/TestAccDatadogDashboardManageStatus.freeze +++ b/datadog/tests/cassettes/TestAccDatadogDashboardManageStatus.freeze @@ -1 +1 @@ -2021-05-03T11:42:20.12836+02:00 \ No newline at end of file +2021-05-24T10:37:36.397133-04:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogDashboardManageStatus_import.freeze b/datadog/tests/cassettes/TestAccDatadogDashboardManageStatus_import.freeze index d0b99be3d..b5ce32f63 100644 --- a/datadog/tests/cassettes/TestAccDatadogDashboardManageStatus_import.freeze +++ b/datadog/tests/cassettes/TestAccDatadogDashboardManageStatus_import.freeze @@ -1 +1 @@ -2021-05-03T11:42:36.831554+02:00 \ No newline at end of file +2021-05-24T10:37:36.394374-04:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogDashboardNote.freeze b/datadog/tests/cassettes/TestAccDatadogDashboardNote.freeze index 3b88eb513..cbe1cb967 100644 --- a/datadog/tests/cassettes/TestAccDatadogDashboardNote.freeze +++ b/datadog/tests/cassettes/TestAccDatadogDashboardNote.freeze @@ -1 +1 @@ -2021-05-03T11:42:45.118614+02:00 \ No newline at end of file +2021-05-24T10:37:36.393198-04:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogDashboardNoteContentError.freeze b/datadog/tests/cassettes/TestAccDatadogDashboardNoteContentError.freeze index 7006a9d73..e8810582d 100644 --- a/datadog/tests/cassettes/TestAccDatadogDashboardNoteContentError.freeze +++ b/datadog/tests/cassettes/TestAccDatadogDashboardNoteContentError.freeze @@ -1 +1 @@ -2021-05-03T11:42:44.991214+02:00 \ No newline at end of file +2021-05-24T10:37:36.198244-04:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogDashboardNote_import.freeze b/datadog/tests/cassettes/TestAccDatadogDashboardNote_import.freeze index c83deafa4..fa038bedd 100644 --- a/datadog/tests/cassettes/TestAccDatadogDashboardNote_import.freeze +++ b/datadog/tests/cassettes/TestAccDatadogDashboardNote_import.freeze @@ -1 +1 @@ -2021-05-03T11:42:52.35047+02:00 \ No newline at end of file +2021-05-24T10:37:36.392667-04:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogDashboardQueryTable.freeze b/datadog/tests/cassettes/TestAccDatadogDashboardQueryTable.freeze index 5933add15..4e4e33812 100644 --- a/datadog/tests/cassettes/TestAccDatadogDashboardQueryTable.freeze +++ b/datadog/tests/cassettes/TestAccDatadogDashboardQueryTable.freeze @@ -1 +1 @@ -2021-01-28T17:18:26.710414+01:00 \ No newline at end of file +2021-05-24T10:37:36.39171-04:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogDashboardQueryTable.yaml b/datadog/tests/cassettes/TestAccDatadogDashboardQueryTable.yaml index 97d1a600d..7a5070b41 100644 --- a/datadog/tests/cassettes/TestAccDatadogDashboardQueryTable.yaml +++ b/datadog/tests/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-1611850706","widgets":[{"definition":{"custom_links":[{"label":"Test Custom Link label","link":"https://app.datadoghq.com/dashboard/lists"}],"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"}},{"definition":{"custom_links":[{"label":"Test Custom Link label","link":"https://app.datadoghq.com/dashboard/lists"}],"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"}}]} + {"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-1621866428","widgets":[{"definition":{"custom_links":[{"label":"Test Custom Link label","link":"https://app.datadoghq.com/dashboard/lists"},{"is_hidden":true,"link":"https://app.datadoghq.com/dashboard/lists","override_label":"logs"}],"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"}},{"definition":{"custom_links":[{"label":"Test Custom Link label","link":"https://app.datadoghq.com/dashboard/lists"}],"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"}}]} form: {} headers: Accept: @@ -13,27 +13,11 @@ interactions: Dd-Operation-Id: - CreateDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 1.15.0; terraform-cli 0.12.7-sdk) - datadog-api-client-go/1.0.0-beta.14 (go go1.15.4; os darwin; arch amd64) - X-Datadog-Parent-Id: - - "8793205380101584558" - X-Datadog-Sampling-Priority: - - "1" - X-Datadog-Trace-Id: - - "4039463757613215528" + - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) 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":"8zg-d7s-757","title":"tf-TestAccDatadogDashboardQueryTable-local-1611850706","url":"/dashboard/8zg-d7s-757/tf-testaccdatadogdashboardquerytable-local-1611850706","created_at":"2021-01-28T16:53:24.002488+00:00","modified_at":"2021-01-28T16:53:24.002488+00:00","author_handle":"frog@datadoghq.com","widgets":[{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test - Custom Link label"}],"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":1893447401771171},{"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":3995972679179259},{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test - Custom Link label"}],"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":1441244812108593}],"layout_type":"ordered"}' + body: '{"notify_list":[],"description":"Created using the Datadog provider in Terraform","restricted_roles":["043a2842-e140-11e8-bb04-7fd10177666e","08604de8-1dca-11eb-800c-9f5f55ff734d","1302282c-b93b-11eb-a436-da7ad0900002","16169788-28e4-11eb-832c-fb84162ef3eb","17d73994-7531-11eb-94b9-da7ad0900002","284d8b66-93f9-11eb-9c37-da7ad0900002","4de53192-9946-11eb-9cee-da7ad0900002","62cbc476-5c16-11eb-8e98-0388ea7a41f8","657de3a2-29f8-11eb-83b5-6b8ebfb2f184","6bf314be-5c16-11eb-8e98-2356ea436065","7a83f306-96ca-11eb-9c74-da7ad0900002","9b3ab170-b768-11eb-a45a-da7ad0900002","e82bf27a-986c-11eb-9cba-da7ad0900002","f257ba30-dbb2-11ea-a5ff-5fd1d308318a"],"author_name":"Qin Chen","template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"jqi-izu-j9c","title":"tf-TestAccDatadogDashboardQueryTable-local-1621866428","url":"/dashboard/jqi-izu-j9c/tf-testaccdatadogdashboardquerytable-local-1621866428","created_at":"2021-05-24T14:27:09.277200+00:00","modified_at":"2021-05-24T14:27:09.277200+00:00","author_handle":"qin.chen@datadoghq.com","widgets":[{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test Custom Link label"},{"override_label":"logs","is_hidden":true,"link":"https://app.datadoghq.com/dashboard/lists"}],"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":7939157875240907},{"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":8729354964050902},{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test Custom Link label"}],"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":1246600605990537}],"layout_type":"ordered"}' headers: Cache-Control: - no-cache @@ -44,12 +28,9 @@ interactions: Content-Type: - application/json Date: - - Thu, 28 Jan 2021 16:53:26 GMT + - Mon, 24 May 2021 14:27:09 GMT Pragma: - no-cache - Set-Cookie: - - DD-PSHARD=233; Max-Age=604800; Path=/; expires=Thu, 04-Feb-2021 16:53:23 GMT; - secure; HttpOnly Strict-Transport-Security: - max-age=15724800; Vary: @@ -57,9 +38,9 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Debug: - - B1nwy/pPNqX+q4pQT22cdp1QCexE35IF8qwSHy0Nf7IW0Y881qtn4tXN1lpmzaKc + - LcgNasIYBRkNppmD6mCKE9J6iv0eEjosuuHR5V5zw2fWbR54i39C8dhdK8zDq/40 X-Dd-Version: - - "35.3796727" + - "35.4593741" X-Frame-Options: - SAMEORIGIN status: 200 OK @@ -74,27 +55,11 @@ interactions: Dd-Operation-Id: - GetDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 1.15.0; terraform-cli 0.12.7-sdk) - datadog-api-client-go/1.0.0-beta.14 (go go1.15.4; os darwin; arch amd64) - X-Datadog-Parent-Id: - - "3163355225308224934" - X-Datadog-Sampling-Priority: - - "1" - X-Datadog-Trace-Id: - - "4039463757613215528" - url: https://api.datadoghq.com/api/v1/dashboard/8zg-d7s-757 + - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) + url: https://api.datadoghq.com/api/v1/dashboard/jqi-izu-j9c 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":"8zg-d7s-757","title":"tf-TestAccDatadogDashboardQueryTable-local-1611850706","url":"/dashboard/8zg-d7s-757/tf-testaccdatadogdashboardquerytable-local-1611850706","created_at":"2021-01-28T16:53:24.002488+00:00","modified_at":"2021-01-28T16:53:24.002488+00:00","author_handle":"frog@datadoghq.com","widgets":[{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test - Custom Link label"}],"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":1893447401771171},{"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":3995972679179259},{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test - Custom Link label"}],"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":1441244812108593}],"layout_type":"ordered"}' + body: '{"notify_list":[],"description":"Created using the Datadog provider in Terraform","restricted_roles":["284d8b66-93f9-11eb-9c37-da7ad0900002","043a2842-e140-11e8-bb04-7fd10177666e","657de3a2-29f8-11eb-83b5-6b8ebfb2f184","e82bf27a-986c-11eb-9cba-da7ad0900002","f257ba30-dbb2-11ea-a5ff-5fd1d308318a","6bf314be-5c16-11eb-8e98-2356ea436065","62cbc476-5c16-11eb-8e98-0388ea7a41f8","08604de8-1dca-11eb-800c-9f5f55ff734d","9b3ab170-b768-11eb-a45a-da7ad0900002","7a83f306-96ca-11eb-9c74-da7ad0900002","16169788-28e4-11eb-832c-fb84162ef3eb","4de53192-9946-11eb-9cee-da7ad0900002","1302282c-b93b-11eb-a436-da7ad0900002","17d73994-7531-11eb-94b9-da7ad0900002"],"author_name":"Qin Chen","template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"jqi-izu-j9c","title":"tf-TestAccDatadogDashboardQueryTable-local-1621866428","url":"/dashboard/jqi-izu-j9c/tf-testaccdatadogdashboardquerytable-local-1621866428","created_at":"2021-05-24T14:27:09.277200+00:00","modified_at":"2021-05-24T14:27:09.277200+00:00","author_handle":"qin.chen@datadoghq.com","widgets":[{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test Custom Link label"},{"override_label":"logs","is_hidden":true,"link":"https://app.datadoghq.com/dashboard/lists"}],"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":7939157875240907},{"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":8729354964050902},{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test Custom Link label"}],"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":1246600605990537}],"layout_type":"ordered"}' headers: Cache-Control: - no-cache @@ -105,12 +70,9 @@ interactions: Content-Type: - application/json Date: - - Thu, 28 Jan 2021 16:53:27 GMT + - Mon, 24 May 2021 14:27:09 GMT Pragma: - no-cache - Set-Cookie: - - DD-PSHARD=233; Max-Age=604800; Path=/; expires=Thu, 04-Feb-2021 16:53:26 GMT; - secure; HttpOnly Strict-Transport-Security: - max-age=15724800; Vary: @@ -118,9 +80,9 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Debug: - - Wjq53IVIwnB4SiR238oOYgHFMq/ZYP0LQ/Dv8C2fFLBwTje/dWJHu6pI6vIOK1zG + - HbtaOKlJ6OCrx9tMXO6ivMTrEM+g0c93HDp08trmOmgdHozC5J+vn10F0H4WPjCU X-Dd-Version: - - "35.3796727" + - "35.4593741" X-Frame-Options: - SAMEORIGIN status: 200 OK @@ -135,27 +97,11 @@ interactions: Dd-Operation-Id: - GetDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 1.15.0; terraform-cli 0.12.7-sdk) - datadog-api-client-go/1.0.0-beta.14 (go go1.15.4; os darwin; arch amd64) - X-Datadog-Parent-Id: - - "8574705736898556086" - X-Datadog-Sampling-Priority: - - "1" - X-Datadog-Trace-Id: - - "4039463757613215528" - url: https://api.datadoghq.com/api/v1/dashboard/8zg-d7s-757 + - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) + url: https://api.datadoghq.com/api/v1/dashboard/jqi-izu-j9c 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":"8zg-d7s-757","title":"tf-TestAccDatadogDashboardQueryTable-local-1611850706","url":"/dashboard/8zg-d7s-757/tf-testaccdatadogdashboardquerytable-local-1611850706","created_at":"2021-01-28T16:53:24.002488+00:00","modified_at":"2021-01-28T16:53:24.002488+00:00","author_handle":"frog@datadoghq.com","widgets":[{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test - Custom Link label"}],"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":1893447401771171},{"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":3995972679179259},{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test - Custom Link label"}],"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":1441244812108593}],"layout_type":"ordered"}' + body: '{"notify_list":[],"description":"Created using the Datadog provider in Terraform","restricted_roles":["284d8b66-93f9-11eb-9c37-da7ad0900002","043a2842-e140-11e8-bb04-7fd10177666e","657de3a2-29f8-11eb-83b5-6b8ebfb2f184","e82bf27a-986c-11eb-9cba-da7ad0900002","f257ba30-dbb2-11ea-a5ff-5fd1d308318a","6bf314be-5c16-11eb-8e98-2356ea436065","62cbc476-5c16-11eb-8e98-0388ea7a41f8","08604de8-1dca-11eb-800c-9f5f55ff734d","9b3ab170-b768-11eb-a45a-da7ad0900002","7a83f306-96ca-11eb-9c74-da7ad0900002","16169788-28e4-11eb-832c-fb84162ef3eb","4de53192-9946-11eb-9cee-da7ad0900002","1302282c-b93b-11eb-a436-da7ad0900002","17d73994-7531-11eb-94b9-da7ad0900002"],"author_name":"Qin Chen","template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"jqi-izu-j9c","title":"tf-TestAccDatadogDashboardQueryTable-local-1621866428","url":"/dashboard/jqi-izu-j9c/tf-testaccdatadogdashboardquerytable-local-1621866428","created_at":"2021-05-24T14:27:09.277200+00:00","modified_at":"2021-05-24T14:27:09.277200+00:00","author_handle":"qin.chen@datadoghq.com","widgets":[{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test Custom Link label"},{"override_label":"logs","is_hidden":true,"link":"https://app.datadoghq.com/dashboard/lists"}],"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":7939157875240907},{"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":8729354964050902},{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test Custom Link label"}],"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":1246600605990537}],"layout_type":"ordered"}' headers: Cache-Control: - no-cache @@ -166,12 +112,9 @@ interactions: Content-Type: - application/json Date: - - Thu, 28 Jan 2021 16:53:31 GMT + - Mon, 24 May 2021 14:27:09 GMT Pragma: - no-cache - Set-Cookie: - - DD-PSHARD=233; Max-Age=604800; Path=/; expires=Thu, 04-Feb-2021 16:53:31 GMT; - secure; HttpOnly Strict-Transport-Security: - max-age=15724800; Vary: @@ -179,9 +122,9 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Debug: - - fIO2C4qGDheGHy4YbS+r3a3CXbh4cbRo7roILOimQyiHGjQdOat0cIpWCkupM1uX + - 5gfwVh/5HZ+AnGd/Di93w3NEWC6KMHT9KzmHEiRJmNdOjBtAsbOcgVFyqEChw71h X-Dd-Version: - - "35.3796727" + - "35.4593741" X-Frame-Options: - SAMEORIGIN status: 200 OK @@ -196,27 +139,11 @@ interactions: Dd-Operation-Id: - GetDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 1.15.0; terraform-cli 0.12.7-sdk) - datadog-api-client-go/1.0.0-beta.14 (go go1.15.4; os darwin; arch amd64) - X-Datadog-Parent-Id: - - "8440398045012381880" - X-Datadog-Sampling-Priority: - - "1" - X-Datadog-Trace-Id: - - "4039463757613215528" - url: https://api.datadoghq.com/api/v1/dashboard/8zg-d7s-757 + - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) + url: https://api.datadoghq.com/api/v1/dashboard/jqi-izu-j9c 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":"8zg-d7s-757","title":"tf-TestAccDatadogDashboardQueryTable-local-1611850706","url":"/dashboard/8zg-d7s-757/tf-testaccdatadogdashboardquerytable-local-1611850706","created_at":"2021-01-28T16:53:24.002488+00:00","modified_at":"2021-01-28T16:53:24.002488+00:00","author_handle":"frog@datadoghq.com","widgets":[{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test - Custom Link label"}],"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":1893447401771171},{"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":3995972679179259},{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test - Custom Link label"}],"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":1441244812108593}],"layout_type":"ordered"}' + body: '{"notify_list":[],"description":"Created using the Datadog provider in Terraform","restricted_roles":["284d8b66-93f9-11eb-9c37-da7ad0900002","043a2842-e140-11e8-bb04-7fd10177666e","657de3a2-29f8-11eb-83b5-6b8ebfb2f184","e82bf27a-986c-11eb-9cba-da7ad0900002","f257ba30-dbb2-11ea-a5ff-5fd1d308318a","6bf314be-5c16-11eb-8e98-2356ea436065","62cbc476-5c16-11eb-8e98-0388ea7a41f8","08604de8-1dca-11eb-800c-9f5f55ff734d","9b3ab170-b768-11eb-a45a-da7ad0900002","7a83f306-96ca-11eb-9c74-da7ad0900002","16169788-28e4-11eb-832c-fb84162ef3eb","4de53192-9946-11eb-9cee-da7ad0900002","1302282c-b93b-11eb-a436-da7ad0900002","17d73994-7531-11eb-94b9-da7ad0900002"],"author_name":"Qin Chen","template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"jqi-izu-j9c","title":"tf-TestAccDatadogDashboardQueryTable-local-1621866428","url":"/dashboard/jqi-izu-j9c/tf-testaccdatadogdashboardquerytable-local-1621866428","created_at":"2021-05-24T14:27:09.277200+00:00","modified_at":"2021-05-24T14:27:09.277200+00:00","author_handle":"qin.chen@datadoghq.com","widgets":[{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test Custom Link label"},{"override_label":"logs","is_hidden":true,"link":"https://app.datadoghq.com/dashboard/lists"}],"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":7939157875240907},{"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":8729354964050902},{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test Custom Link label"}],"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":1246600605990537}],"layout_type":"ordered"}' headers: Cache-Control: - no-cache @@ -227,12 +154,9 @@ interactions: Content-Type: - application/json Date: - - Thu, 28 Jan 2021 16:54:11 GMT + - Mon, 24 May 2021 14:27:10 GMT Pragma: - no-cache - Set-Cookie: - - DD-PSHARD=233; Max-Age=604800; Path=/; expires=Thu, 04-Feb-2021 16:54:11 GMT; - secure; HttpOnly Strict-Transport-Security: - max-age=15724800; Vary: @@ -240,9 +164,9 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Debug: - - l8RQo2maZqJf6GFThBbKNE6dvthz6njusVtau3dPXJWL2RLFoN81H+BLPB/1xgs1 + - JpIJLwIH2nFlZOC+u71rq7aAOL43MLZN3MUsL+gpYHdZz5QLUOG8Jysf8kVK6tPU X-Dd-Version: - - "35.3796727" + - "35.4593741" X-Frame-Options: - SAMEORIGIN status: 200 OK @@ -257,27 +181,11 @@ interactions: Dd-Operation-Id: - GetDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 1.15.0; terraform-cli 0.12.7-sdk) - datadog-api-client-go/1.0.0-beta.14 (go go1.15.4; os darwin; arch amd64) - X-Datadog-Parent-Id: - - "4135944249129305703" - X-Datadog-Sampling-Priority: - - "1" - X-Datadog-Trace-Id: - - "4039463757613215528" - url: https://api.datadoghq.com/api/v1/dashboard/8zg-d7s-757 + - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) + url: https://api.datadoghq.com/api/v1/dashboard/jqi-izu-j9c 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":"8zg-d7s-757","title":"tf-TestAccDatadogDashboardQueryTable-local-1611850706","url":"/dashboard/8zg-d7s-757/tf-testaccdatadogdashboardquerytable-local-1611850706","created_at":"2021-01-28T16:53:24.002488+00:00","modified_at":"2021-01-28T16:53:24.002488+00:00","author_handle":"frog@datadoghq.com","widgets":[{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test - Custom Link label"}],"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":1893447401771171},{"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":3995972679179259},{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test - Custom Link label"}],"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":1441244812108593}],"layout_type":"ordered"}' + body: '{"notify_list":[],"description":"Created using the Datadog provider in Terraform","restricted_roles":["284d8b66-93f9-11eb-9c37-da7ad0900002","043a2842-e140-11e8-bb04-7fd10177666e","657de3a2-29f8-11eb-83b5-6b8ebfb2f184","e82bf27a-986c-11eb-9cba-da7ad0900002","f257ba30-dbb2-11ea-a5ff-5fd1d308318a","6bf314be-5c16-11eb-8e98-2356ea436065","62cbc476-5c16-11eb-8e98-0388ea7a41f8","08604de8-1dca-11eb-800c-9f5f55ff734d","9b3ab170-b768-11eb-a45a-da7ad0900002","7a83f306-96ca-11eb-9c74-da7ad0900002","16169788-28e4-11eb-832c-fb84162ef3eb","4de53192-9946-11eb-9cee-da7ad0900002","1302282c-b93b-11eb-a436-da7ad0900002","17d73994-7531-11eb-94b9-da7ad0900002"],"author_name":"Qin Chen","template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"jqi-izu-j9c","title":"tf-TestAccDatadogDashboardQueryTable-local-1621866428","url":"/dashboard/jqi-izu-j9c/tf-testaccdatadogdashboardquerytable-local-1621866428","created_at":"2021-05-24T14:27:09.277200+00:00","modified_at":"2021-05-24T14:27:09.277200+00:00","author_handle":"qin.chen@datadoghq.com","widgets":[{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test Custom Link label"},{"override_label":"logs","is_hidden":true,"link":"https://app.datadoghq.com/dashboard/lists"}],"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":7939157875240907},{"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":8729354964050902},{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test Custom Link label"}],"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":1246600605990537}],"layout_type":"ordered"}' headers: Cache-Control: - no-cache @@ -288,12 +196,9 @@ interactions: Content-Type: - application/json Date: - - Thu, 28 Jan 2021 16:54:55 GMT + - Mon, 24 May 2021 14:27:10 GMT Pragma: - no-cache - Set-Cookie: - - DD-PSHARD=233; Max-Age=604800; Path=/; expires=Thu, 04-Feb-2021 16:54:55 GMT; - secure; HttpOnly Strict-Transport-Security: - max-age=15724800; Vary: @@ -301,9 +206,9 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Debug: - - JpIJLwIH2nFlZOC+u71rq7aAOL43MLZN3MUsL+gpYHdZz5QLUOG8Jysf8kVK6tPU + - 5gfwVh/5HZ+AnGd/Di93w3NEWC6KMHT9KzmHEiRJmNdOjBtAsbOcgVFyqEChw71h X-Dd-Version: - - "35.3796727" + - "35.4593741" X-Frame-Options: - SAMEORIGIN status: 200 OK @@ -318,18 +223,11 @@ interactions: Dd-Operation-Id: - DeleteDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 1.15.0; terraform-cli 0.12.7-sdk) - datadog-api-client-go/1.0.0-beta.14 (go go1.15.4; os darwin; arch amd64) - X-Datadog-Parent-Id: - - "5482077103767240987" - X-Datadog-Sampling-Priority: - - "1" - X-Datadog-Trace-Id: - - "4039463757613215528" - url: https://api.datadoghq.com/api/v1/dashboard/8zg-d7s-757 + - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) + url: https://api.datadoghq.com/api/v1/dashboard/jqi-izu-j9c method: DELETE response: - body: '{"deleted_dashboard_id":"8zg-d7s-757"}' + body: '{"deleted_dashboard_id":"jqi-izu-j9c"}' headers: Cache-Control: - no-cache @@ -340,12 +238,9 @@ interactions: Content-Type: - application/json Date: - - Thu, 28 Jan 2021 16:55:29 GMT + - Mon, 24 May 2021 14:27:11 GMT Pragma: - no-cache - Set-Cookie: - - DD-PSHARD=233; Max-Age=604800; Path=/; expires=Thu, 04-Feb-2021 16:55:29 GMT; - secure; HttpOnly Strict-Transport-Security: - max-age=15724800; Vary: @@ -353,9 +248,9 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Debug: - - JpIJLwIH2nFlZOC+u71rq7aAOL43MLZN3MUsL+gpYHdZz5QLUOG8Jysf8kVK6tPU + - gYZcaADwbKcv7Hm19HJx6WsLoKuOijDWAt2viPeCfWqUgyKY+9e1xZdmMJeXV3YV X-Dd-Version: - - "35.3796727" + - "35.4593741" X-Frame-Options: - SAMEORIGIN status: 200 OK @@ -370,18 +265,11 @@ interactions: Dd-Operation-Id: - GetDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 1.15.0; terraform-cli 0.12.7-sdk) - datadog-api-client-go/1.0.0-beta.14 (go go1.15.4; os darwin; arch amd64) - X-Datadog-Parent-Id: - - "8706400379738087899" - X-Datadog-Sampling-Priority: - - "1" - X-Datadog-Trace-Id: - - "4039463757613215528" - url: https://api.datadoghq.com/api/v1/dashboard/8zg-d7s-757 + - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) + url: https://api.datadoghq.com/api/v1/dashboard/jqi-izu-j9c method: GET response: - body: '{"errors": ["Dashboard with ID 8zg-d7s-757 not found"]}' + body: '{"errors": ["Dashboard with ID jqi-izu-j9c not found"]}' headers: Cache-Control: - no-cache @@ -392,7 +280,7 @@ interactions: Content-Type: - application/json Date: - - Thu, 28 Jan 2021 16:55:33 GMT + - Mon, 24 May 2021 14:27:11 GMT Pragma: - no-cache Strict-Transport-Security: @@ -402,7 +290,7 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Version: - - "35.3796727" + - "35.4593741" X-Frame-Options: - SAMEORIGIN status: 404 Not Found diff --git a/datadog/tests/cassettes/TestAccDatadogDashboardQueryTable_import.freeze b/datadog/tests/cassettes/TestAccDatadogDashboardQueryTable_import.freeze index 46e361f93..fd2cfe6e4 100644 --- a/datadog/tests/cassettes/TestAccDatadogDashboardQueryTable_import.freeze +++ b/datadog/tests/cassettes/TestAccDatadogDashboardQueryTable_import.freeze @@ -1 +1 @@ -2020-12-31T15:42:08.733512+01:00 \ No newline at end of file +2021-05-24T10:37:36.391114-04:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogDashboardQueryTable_import.yaml b/datadog/tests/cassettes/TestAccDatadogDashboardQueryTable_import.yaml index d07be9163..9164331ad 100644 --- a/datadog/tests/cassettes/TestAccDatadogDashboardQueryTable_import.yaml +++ b/datadog/tests/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-1609425728","widgets":[{"definition":{"custom_links":[{"label":"Test Custom Link label","link":"https://app.datadoghq.com/dashboard/lists"}],"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"}}]} + {"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-1621866428","widgets":[{"definition":{"custom_links":[{"label":"Test Custom Link label","link":"https://app.datadoghq.com/dashboard/lists"}],"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: @@ -13,23 +13,11 @@ interactions: Dd-Operation-Id: - CreateDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 1.15.0; terraform-cli 0.12.7-sdk) - datadog-api-client-go/1.0.0-beta.13+dev (go go1.15.4; os darwin; arch amd64) - X-Datadog-Parent-Id: - - "2588213728048144463" - X-Datadog-Sampling-Priority: - - "1" - X-Datadog-Trace-Id: - - "818246369330373136" + - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) 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":"rfs-j7f-z3w","title":"tf-TestAccDatadogDashboardQueryTable_import-local-1609425728","url":"/dashboard/rfs-j7f-z3w/tf-testaccdatadogdashboardquerytableimport-local-1609425728","created_at":"2020-12-31T14:48:35.445038+00:00","modified_at":"2020-12-31T14:48:35.445038+00:00","author_handle":"frog@datadoghq.com","widgets":[{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test - Custom Link label"}],"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":6371468778699834},{"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":2642202490964359}],"layout_type":"ordered"}' + body: '{"notify_list":[],"description":"Created using the Datadog provider in Terraform","restricted_roles":["043a2842-e140-11e8-bb04-7fd10177666e","08604de8-1dca-11eb-800c-9f5f55ff734d","1302282c-b93b-11eb-a436-da7ad0900002","16169788-28e4-11eb-832c-fb84162ef3eb","17d73994-7531-11eb-94b9-da7ad0900002","284d8b66-93f9-11eb-9c37-da7ad0900002","4de53192-9946-11eb-9cee-da7ad0900002","62cbc476-5c16-11eb-8e98-0388ea7a41f8","657de3a2-29f8-11eb-83b5-6b8ebfb2f184","6bf314be-5c16-11eb-8e98-2356ea436065","7a83f306-96ca-11eb-9c74-da7ad0900002","9b3ab170-b768-11eb-a45a-da7ad0900002","e82bf27a-986c-11eb-9cba-da7ad0900002","f257ba30-dbb2-11ea-a5ff-5fd1d308318a"],"author_name":"Qin Chen","template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"hn7-kj3-4qc","title":"tf-TestAccDatadogDashboardQueryTable_import-local-1621866428","url":"/dashboard/hn7-kj3-4qc/tf-testaccdatadogdashboardquerytableimport-local-1621866428","created_at":"2021-05-24T14:27:09.269639+00:00","modified_at":"2021-05-24T14:27:09.269639+00:00","author_handle":"qin.chen@datadoghq.com","widgets":[{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test Custom Link label"}],"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":4393119968061687},{"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":2908359000708043}],"layout_type":"ordered"}' headers: Cache-Control: - no-cache @@ -40,12 +28,9 @@ interactions: Content-Type: - application/json Date: - - Thu, 31 Dec 2020 14:48:37 GMT + - Mon, 24 May 2021 14:27:09 GMT Pragma: - no-cache - Set-Cookie: - - DD-PSHARD=233; Max-Age=604800; Path=/; expires=Thu, 07-Jan-2021 14:48:35 GMT; - secure; HttpOnly Strict-Transport-Security: - max-age=15724800; Vary: @@ -53,9 +38,9 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Debug: - - QgQu/iPnCQXRgWPQKBm0M4xipFcbwl50MnRHSjKNayyZv/6KjuJNpOhY5+udaeL8 + - Um4CoU685QqAscnxhS5BD+goWu2yX1Jd4zCfGzSsEvPPIm1qURZaF8dlLl/OEY4I X-Dd-Version: - - "35.3622023" + - "35.4593741" X-Frame-Options: - SAMEORIGIN status: 200 OK @@ -70,23 +55,11 @@ interactions: Dd-Operation-Id: - GetDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 1.15.0; terraform-cli 0.12.7-sdk) - datadog-api-client-go/1.0.0-beta.13+dev (go go1.15.4; os darwin; arch amd64) - X-Datadog-Parent-Id: - - "8839388325963418503" - X-Datadog-Sampling-Priority: - - "1" - X-Datadog-Trace-Id: - - "818246369330373136" - url: https://api.datadoghq.com/api/v1/dashboard/rfs-j7f-z3w + - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) + url: https://api.datadoghq.com/api/v1/dashboard/hn7-kj3-4qc 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":"rfs-j7f-z3w","title":"tf-TestAccDatadogDashboardQueryTable_import-local-1609425728","url":"/dashboard/rfs-j7f-z3w/tf-testaccdatadogdashboardquerytableimport-local-1609425728","created_at":"2020-12-31T14:48:35.445038+00:00","modified_at":"2020-12-31T14:48:35.445038+00:00","author_handle":"frog@datadoghq.com","widgets":[{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test - Custom Link label"}],"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":6371468778699834},{"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":2642202490964359}],"layout_type":"ordered"}' + body: '{"notify_list":[],"description":"Created using the Datadog provider in Terraform","restricted_roles":["284d8b66-93f9-11eb-9c37-da7ad0900002","043a2842-e140-11e8-bb04-7fd10177666e","657de3a2-29f8-11eb-83b5-6b8ebfb2f184","e82bf27a-986c-11eb-9cba-da7ad0900002","f257ba30-dbb2-11ea-a5ff-5fd1d308318a","6bf314be-5c16-11eb-8e98-2356ea436065","62cbc476-5c16-11eb-8e98-0388ea7a41f8","08604de8-1dca-11eb-800c-9f5f55ff734d","9b3ab170-b768-11eb-a45a-da7ad0900002","7a83f306-96ca-11eb-9c74-da7ad0900002","16169788-28e4-11eb-832c-fb84162ef3eb","4de53192-9946-11eb-9cee-da7ad0900002","1302282c-b93b-11eb-a436-da7ad0900002","17d73994-7531-11eb-94b9-da7ad0900002"],"author_name":"Qin Chen","template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"hn7-kj3-4qc","title":"tf-TestAccDatadogDashboardQueryTable_import-local-1621866428","url":"/dashboard/hn7-kj3-4qc/tf-testaccdatadogdashboardquerytableimport-local-1621866428","created_at":"2021-05-24T14:27:09.269639+00:00","modified_at":"2021-05-24T14:27:09.269639+00:00","author_handle":"qin.chen@datadoghq.com","widgets":[{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test Custom Link label"}],"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":4393119968061687},{"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":2908359000708043}],"layout_type":"ordered"}' headers: Cache-Control: - no-cache @@ -97,12 +70,9 @@ interactions: Content-Type: - application/json Date: - - Thu, 31 Dec 2020 14:48:38 GMT + - Mon, 24 May 2021 14:27:09 GMT Pragma: - no-cache - Set-Cookie: - - DD-PSHARD=233; Max-Age=604800; Path=/; expires=Thu, 07-Jan-2021 14:48:37 GMT; - secure; HttpOnly Strict-Transport-Security: - max-age=15724800; Vary: @@ -110,9 +80,9 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Debug: - - VbuXVkM6abYwIF9A0EUx/hxlOb2fUYUuj3PZZOBGVUtLSPf9Jpa+BbRUppU4yJ6y + - HbtaOKlJ6OCrx9tMXO6ivMTrEM+g0c93HDp08trmOmgdHozC5J+vn10F0H4WPjCU X-Dd-Version: - - "35.3622023" + - "35.4593741" X-Frame-Options: - SAMEORIGIN status: 200 OK @@ -127,23 +97,11 @@ interactions: Dd-Operation-Id: - GetDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 1.15.0; terraform-cli 0.12.7-sdk) - datadog-api-client-go/1.0.0-beta.13+dev (go go1.15.4; os darwin; arch amd64) - X-Datadog-Parent-Id: - - "1581430682514189755" - X-Datadog-Sampling-Priority: - - "1" - X-Datadog-Trace-Id: - - "818246369330373136" - url: https://api.datadoghq.com/api/v1/dashboard/rfs-j7f-z3w + - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) + url: https://api.datadoghq.com/api/v1/dashboard/hn7-kj3-4qc 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":"rfs-j7f-z3w","title":"tf-TestAccDatadogDashboardQueryTable_import-local-1609425728","url":"/dashboard/rfs-j7f-z3w/tf-testaccdatadogdashboardquerytableimport-local-1609425728","created_at":"2020-12-31T14:48:35.445038+00:00","modified_at":"2020-12-31T14:48:35.445038+00:00","author_handle":"frog@datadoghq.com","widgets":[{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test - Custom Link label"}],"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":6371468778699834},{"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":2642202490964359}],"layout_type":"ordered"}' + body: '{"notify_list":[],"description":"Created using the Datadog provider in Terraform","restricted_roles":["284d8b66-93f9-11eb-9c37-da7ad0900002","043a2842-e140-11e8-bb04-7fd10177666e","657de3a2-29f8-11eb-83b5-6b8ebfb2f184","e82bf27a-986c-11eb-9cba-da7ad0900002","f257ba30-dbb2-11ea-a5ff-5fd1d308318a","6bf314be-5c16-11eb-8e98-2356ea436065","62cbc476-5c16-11eb-8e98-0388ea7a41f8","08604de8-1dca-11eb-800c-9f5f55ff734d","9b3ab170-b768-11eb-a45a-da7ad0900002","7a83f306-96ca-11eb-9c74-da7ad0900002","16169788-28e4-11eb-832c-fb84162ef3eb","4de53192-9946-11eb-9cee-da7ad0900002","1302282c-b93b-11eb-a436-da7ad0900002","17d73994-7531-11eb-94b9-da7ad0900002"],"author_name":"Qin Chen","template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"hn7-kj3-4qc","title":"tf-TestAccDatadogDashboardQueryTable_import-local-1621866428","url":"/dashboard/hn7-kj3-4qc/tf-testaccdatadogdashboardquerytableimport-local-1621866428","created_at":"2021-05-24T14:27:09.269639+00:00","modified_at":"2021-05-24T14:27:09.269639+00:00","author_handle":"qin.chen@datadoghq.com","widgets":[{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test Custom Link label"}],"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":4393119968061687},{"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":2908359000708043}],"layout_type":"ordered"}' headers: Cache-Control: - no-cache @@ -154,12 +112,9 @@ interactions: Content-Type: - application/json Date: - - Thu, 31 Dec 2020 14:48:45 GMT + - Mon, 24 May 2021 14:27:10 GMT Pragma: - no-cache - Set-Cookie: - - DD-PSHARD=233; Max-Age=604800; Path=/; expires=Thu, 07-Jan-2021 14:48:45 GMT; - secure; HttpOnly Strict-Transport-Security: - max-age=15724800; Vary: @@ -167,9 +122,9 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Debug: - - kz7POzMRR1DtZrw59X15p2pAWXtFgVtBoSlzXFcGszy5lhwGx7f8GB820VUZODrm + - dCmL/3rURV6BPeaqeP3Rxigq41m5CAb17XjrRE42uZ01zpr07HVhbL5/3TWMkvgu X-Dd-Version: - - "35.3622023" + - "35.4593741" X-Frame-Options: - SAMEORIGIN status: 200 OK @@ -184,23 +139,11 @@ interactions: Dd-Operation-Id: - GetDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 1.15.0; terraform-cli 0.12.7-sdk) - datadog-api-client-go/1.0.0-beta.13+dev (go go1.15.4; os darwin; arch amd64) - X-Datadog-Parent-Id: - - "3302742889560888471" - X-Datadog-Sampling-Priority: - - "1" - X-Datadog-Trace-Id: - - "818246369330373136" - url: https://api.datadoghq.com/api/v1/dashboard/rfs-j7f-z3w + - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) + url: https://api.datadoghq.com/api/v1/dashboard/hn7-kj3-4qc 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":"rfs-j7f-z3w","title":"tf-TestAccDatadogDashboardQueryTable_import-local-1609425728","url":"/dashboard/rfs-j7f-z3w/tf-testaccdatadogdashboardquerytableimport-local-1609425728","created_at":"2020-12-31T14:48:35.445038+00:00","modified_at":"2020-12-31T14:48:35.445038+00:00","author_handle":"frog@datadoghq.com","widgets":[{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test - Custom Link label"}],"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":6371468778699834},{"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":2642202490964359}],"layout_type":"ordered"}' + body: '{"notify_list":[],"description":"Created using the Datadog provider in Terraform","restricted_roles":["284d8b66-93f9-11eb-9c37-da7ad0900002","043a2842-e140-11e8-bb04-7fd10177666e","657de3a2-29f8-11eb-83b5-6b8ebfb2f184","e82bf27a-986c-11eb-9cba-da7ad0900002","f257ba30-dbb2-11ea-a5ff-5fd1d308318a","6bf314be-5c16-11eb-8e98-2356ea436065","62cbc476-5c16-11eb-8e98-0388ea7a41f8","08604de8-1dca-11eb-800c-9f5f55ff734d","9b3ab170-b768-11eb-a45a-da7ad0900002","7a83f306-96ca-11eb-9c74-da7ad0900002","16169788-28e4-11eb-832c-fb84162ef3eb","4de53192-9946-11eb-9cee-da7ad0900002","1302282c-b93b-11eb-a436-da7ad0900002","17d73994-7531-11eb-94b9-da7ad0900002"],"author_name":"Qin Chen","template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"hn7-kj3-4qc","title":"tf-TestAccDatadogDashboardQueryTable_import-local-1621866428","url":"/dashboard/hn7-kj3-4qc/tf-testaccdatadogdashboardquerytableimport-local-1621866428","created_at":"2021-05-24T14:27:09.269639+00:00","modified_at":"2021-05-24T14:27:09.269639+00:00","author_handle":"qin.chen@datadoghq.com","widgets":[{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test Custom Link label"}],"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":4393119968061687},{"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":2908359000708043}],"layout_type":"ordered"}' headers: Cache-Control: - no-cache @@ -211,12 +154,9 @@ interactions: Content-Type: - application/json Date: - - Thu, 31 Dec 2020 14:48:51 GMT + - Mon, 24 May 2021 14:27:10 GMT Pragma: - no-cache - Set-Cookie: - - DD-PSHARD=233; Max-Age=604800; Path=/; expires=Thu, 07-Jan-2021 14:48:51 GMT; - secure; HttpOnly Strict-Transport-Security: - max-age=15724800; Vary: @@ -224,9 +164,9 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Debug: - - motUb+3MrSbL60qP2VQvKfticEMFw/ITb9aZ1t0IvCT8MphWULXKj1d6mnYOkJDn + - mNzaoDhdDKO7t4QSrAe5X7pHd0bJND187D+vRbwoluXouE2m1UaQQX0RGCvRpLVE X-Dd-Version: - - "35.3622023" + - "35.4593741" X-Frame-Options: - SAMEORIGIN status: 200 OK @@ -241,23 +181,11 @@ interactions: Dd-Operation-Id: - GetDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 1.15.0; terraform-cli 0.12.7-sdk) - datadog-api-client-go/1.0.0-beta.13+dev (go go1.15.4; os darwin; arch amd64) - X-Datadog-Parent-Id: - - "5921398266116834616" - X-Datadog-Sampling-Priority: - - "1" - X-Datadog-Trace-Id: - - "818246369330373136" - url: https://api.datadoghq.com/api/v1/dashboard/rfs-j7f-z3w + - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) + url: https://api.datadoghq.com/api/v1/dashboard/hn7-kj3-4qc 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":"rfs-j7f-z3w","title":"tf-TestAccDatadogDashboardQueryTable_import-local-1609425728","url":"/dashboard/rfs-j7f-z3w/tf-testaccdatadogdashboardquerytableimport-local-1609425728","created_at":"2020-12-31T14:48:35.445038+00:00","modified_at":"2020-12-31T14:48:35.445038+00:00","author_handle":"frog@datadoghq.com","widgets":[{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test - Custom Link label"}],"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":6371468778699834},{"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":2642202490964359}],"layout_type":"ordered"}' + body: '{"notify_list":[],"description":"Created using the Datadog provider in Terraform","restricted_roles":["284d8b66-93f9-11eb-9c37-da7ad0900002","043a2842-e140-11e8-bb04-7fd10177666e","657de3a2-29f8-11eb-83b5-6b8ebfb2f184","e82bf27a-986c-11eb-9cba-da7ad0900002","f257ba30-dbb2-11ea-a5ff-5fd1d308318a","6bf314be-5c16-11eb-8e98-2356ea436065","62cbc476-5c16-11eb-8e98-0388ea7a41f8","08604de8-1dca-11eb-800c-9f5f55ff734d","9b3ab170-b768-11eb-a45a-da7ad0900002","7a83f306-96ca-11eb-9c74-da7ad0900002","16169788-28e4-11eb-832c-fb84162ef3eb","4de53192-9946-11eb-9cee-da7ad0900002","1302282c-b93b-11eb-a436-da7ad0900002","17d73994-7531-11eb-94b9-da7ad0900002"],"author_name":"Qin Chen","template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"hn7-kj3-4qc","title":"tf-TestAccDatadogDashboardQueryTable_import-local-1621866428","url":"/dashboard/hn7-kj3-4qc/tf-testaccdatadogdashboardquerytableimport-local-1621866428","created_at":"2021-05-24T14:27:09.269639+00:00","modified_at":"2021-05-24T14:27:09.269639+00:00","author_handle":"qin.chen@datadoghq.com","widgets":[{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test Custom Link label"}],"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":4393119968061687},{"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":2908359000708043}],"layout_type":"ordered"}' headers: Cache-Control: - no-cache @@ -268,12 +196,9 @@ interactions: Content-Type: - application/json Date: - - Thu, 31 Dec 2020 14:48:52 GMT + - Mon, 24 May 2021 14:27:10 GMT Pragma: - no-cache - Set-Cookie: - - DD-PSHARD=233; Max-Age=604800; Path=/; expires=Thu, 07-Jan-2021 14:48:52 GMT; - secure; HttpOnly Strict-Transport-Security: - max-age=15724800; Vary: @@ -281,9 +206,9 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Debug: - - 2vDhfmOEUBStl6KJFsHicYMybqtUSJ6AfSEVJTVlECBUwTgB5ievW7vT4NcYmXtK + - gYZcaADwbKcv7Hm19HJx6WsLoKuOijDWAt2viPeCfWqUgyKY+9e1xZdmMJeXV3YV X-Dd-Version: - - "35.3622023" + - "35.4593741" X-Frame-Options: - SAMEORIGIN status: 200 OK @@ -298,23 +223,11 @@ interactions: Dd-Operation-Id: - GetDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 1.15.0; terraform-cli 0.12.7-sdk) - datadog-api-client-go/1.0.0-beta.13+dev (go go1.15.4; os darwin; arch amd64) - X-Datadog-Parent-Id: - - "5620322239328072346" - X-Datadog-Sampling-Priority: - - "1" - X-Datadog-Trace-Id: - - "818246369330373136" - url: https://api.datadoghq.com/api/v1/dashboard/rfs-j7f-z3w + - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) + url: https://api.datadoghq.com/api/v1/dashboard/hn7-kj3-4qc 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":"rfs-j7f-z3w","title":"tf-TestAccDatadogDashboardQueryTable_import-local-1609425728","url":"/dashboard/rfs-j7f-z3w/tf-testaccdatadogdashboardquerytableimport-local-1609425728","created_at":"2020-12-31T14:48:35.445038+00:00","modified_at":"2020-12-31T14:48:35.445038+00:00","author_handle":"frog@datadoghq.com","widgets":[{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test - Custom Link label"}],"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":6371468778699834},{"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":2642202490964359}],"layout_type":"ordered"}' + body: '{"notify_list":[],"description":"Created using the Datadog provider in Terraform","restricted_roles":["284d8b66-93f9-11eb-9c37-da7ad0900002","043a2842-e140-11e8-bb04-7fd10177666e","657de3a2-29f8-11eb-83b5-6b8ebfb2f184","e82bf27a-986c-11eb-9cba-da7ad0900002","f257ba30-dbb2-11ea-a5ff-5fd1d308318a","6bf314be-5c16-11eb-8e98-2356ea436065","62cbc476-5c16-11eb-8e98-0388ea7a41f8","08604de8-1dca-11eb-800c-9f5f55ff734d","9b3ab170-b768-11eb-a45a-da7ad0900002","7a83f306-96ca-11eb-9c74-da7ad0900002","16169788-28e4-11eb-832c-fb84162ef3eb","4de53192-9946-11eb-9cee-da7ad0900002","1302282c-b93b-11eb-a436-da7ad0900002","17d73994-7531-11eb-94b9-da7ad0900002"],"author_name":"Qin Chen","template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"hn7-kj3-4qc","title":"tf-TestAccDatadogDashboardQueryTable_import-local-1621866428","url":"/dashboard/hn7-kj3-4qc/tf-testaccdatadogdashboardquerytableimport-local-1621866428","created_at":"2021-05-24T14:27:09.269639+00:00","modified_at":"2021-05-24T14:27:09.269639+00:00","author_handle":"qin.chen@datadoghq.com","widgets":[{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test Custom Link label"}],"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":4393119968061687},{"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":2908359000708043}],"layout_type":"ordered"}' headers: Cache-Control: - no-cache @@ -325,12 +238,9 @@ interactions: Content-Type: - application/json Date: - - Thu, 31 Dec 2020 14:48:55 GMT + - Mon, 24 May 2021 14:27:11 GMT Pragma: - no-cache - Set-Cookie: - - DD-PSHARD=233; Max-Age=604800; Path=/; expires=Thu, 07-Jan-2021 14:48:55 GMT; - secure; HttpOnly Strict-Transport-Security: - max-age=15724800; Vary: @@ -338,9 +248,9 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Debug: - - Eb2J7DZKGMCxUULFPVCE5N014uh3tvnvHgnaA7NVroaoqvWd6z7v+RZklq5100Rp + - JpIJLwIH2nFlZOC+u71rq7aAOL43MLZN3MUsL+gpYHdZz5QLUOG8Jysf8kVK6tPU X-Dd-Version: - - "35.3622023" + - "35.4593741" X-Frame-Options: - SAMEORIGIN status: 200 OK @@ -355,18 +265,11 @@ interactions: Dd-Operation-Id: - DeleteDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 1.15.0; terraform-cli 0.12.7-sdk) - datadog-api-client-go/1.0.0-beta.13+dev (go go1.15.4; os darwin; arch amd64) - X-Datadog-Parent-Id: - - "587203187233318342" - X-Datadog-Sampling-Priority: - - "1" - X-Datadog-Trace-Id: - - "818246369330373136" - url: https://api.datadoghq.com/api/v1/dashboard/rfs-j7f-z3w + - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) + url: https://api.datadoghq.com/api/v1/dashboard/hn7-kj3-4qc method: DELETE response: - body: '{"deleted_dashboard_id":"rfs-j7f-z3w"}' + body: '{"deleted_dashboard_id":"hn7-kj3-4qc"}' headers: Cache-Control: - no-cache @@ -377,12 +280,9 @@ interactions: Content-Type: - application/json Date: - - Thu, 31 Dec 2020 14:49:00 GMT + - Mon, 24 May 2021 14:27:11 GMT Pragma: - no-cache - Set-Cookie: - - DD-PSHARD=233; Max-Age=604800; Path=/; expires=Thu, 07-Jan-2021 14:48:59 GMT; - secure; HttpOnly Strict-Transport-Security: - max-age=15724800; Vary: @@ -390,9 +290,9 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Debug: - - 5H2EXEXOPQC4s7BfWBFjlM6rKywFNh1Cf33eK1xYuPFdBfR+3y2m7Dyr75gZ4kw1 + - LcgNasIYBRkNppmD6mCKE9J6iv0eEjosuuHR5V5zw2fWbR54i39C8dhdK8zDq/40 X-Dd-Version: - - "35.3622023" + - "35.4593741" X-Frame-Options: - SAMEORIGIN status: 200 OK @@ -407,18 +307,11 @@ interactions: Dd-Operation-Id: - GetDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 1.15.0; terraform-cli 0.12.7-sdk) - datadog-api-client-go/1.0.0-beta.13+dev (go go1.15.4; os darwin; arch amd64) - X-Datadog-Parent-Id: - - "2626856029091684221" - X-Datadog-Sampling-Priority: - - "1" - X-Datadog-Trace-Id: - - "818246369330373136" - url: https://api.datadoghq.com/api/v1/dashboard/rfs-j7f-z3w + - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) + url: https://api.datadoghq.com/api/v1/dashboard/hn7-kj3-4qc method: GET response: - body: '{"errors": ["Dashboard with ID rfs-j7f-z3w not found"]}' + body: '{"errors": ["Dashboard with ID hn7-kj3-4qc not found"]}' headers: Cache-Control: - no-cache @@ -429,7 +322,7 @@ interactions: Content-Type: - application/json Date: - - Thu, 31 Dec 2020 14:49:00 GMT + - Mon, 24 May 2021 14:27:11 GMT Pragma: - no-cache Strict-Transport-Security: @@ -439,7 +332,7 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Version: - - "35.3622023" + - "35.4593741" X-Frame-Options: - SAMEORIGIN status: 404 Not Found diff --git a/datadog/tests/cassettes/TestAccDatadogDashboardQueryValue.freeze b/datadog/tests/cassettes/TestAccDatadogDashboardQueryValue.freeze index a46e9f109..125bc1d96 100644 --- a/datadog/tests/cassettes/TestAccDatadogDashboardQueryValue.freeze +++ b/datadog/tests/cassettes/TestAccDatadogDashboardQueryValue.freeze @@ -1 +1 @@ -2021-01-28T17:18:26.717647+01:00 \ No newline at end of file +2021-05-24T10:37:36.389897-04:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogDashboardQueryValue.yaml b/datadog/tests/cassettes/TestAccDatadogDashboardQueryValue.yaml index c5f515ad2..d86ee9832 100644 --- a/datadog/tests/cassettes/TestAccDatadogDashboardQueryValue.yaml +++ b/datadog/tests/cassettes/TestAccDatadogDashboardQueryValue.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-TestAccDatadogDashboardQueryValue-local-1611850706","widgets":[{"definition":{"autoscale":true,"custom_links":[{"label":"Test Custom Link label","link":"https://app.datadoghq.com/dashboard/lists"}],"custom_unit":"Gib","precision":3,"requests":[{"aggregator":"max","conditional_formats":[{"comparator":"\u003c","hide_value":false,"palette":"white_on_red","value":9},{"comparator":"\u003e=","hide_value":false,"palette":"white_on_green","value":9}],"q":"avg:system.mem.free{account:prod}"}],"time":{"live_span":"1h"},"title":"Avg of system.mem.free over account:prod","title_align":"center","title_size":"16","type":"query_value"}},{"definition":{"autoscale":true,"custom_links":[{"label":"Test Custom Link label","link":"https://app.datadoghq.com/dashboard/lists"}],"custom_unit":"Gib","precision":3,"requests":[{"aggregator":"max","conditional_formats":[{"comparator":"\u003c","hide_value":false,"palette":"white_on_red","value":9},{"comparator":"\u003e=","hide_value":false,"palette":"white_on_green","value":9}],"q":"avg:system.mem.free{account:prod}"}],"time":{"live_span":"1h"},"title":"Avg of system.mem.free over account:prod","title_align":"center","title_size":"16","type":"query_value"}}]} + {"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-TestAccDatadogDashboardQueryValue-local-1621866546","widgets":[{"definition":{"autoscale":true,"custom_links":[{"label":"Test Custom Link label","link":"https://app.datadoghq.com/dashboard/lists"},{"is_hidden":true,"link":"https://app.datadoghq.com/dashboard/lists","override_label":"logs"}],"custom_unit":"Gib","precision":3,"requests":[{"aggregator":"max","conditional_formats":[{"comparator":"\u003c","hide_value":false,"palette":"white_on_red","value":9},{"comparator":"\u003e=","hide_value":false,"palette":"white_on_green","value":9}],"q":"avg:system.mem.free{account:prod}"}],"time":{"live_span":"1h"},"title":"Avg of system.mem.free over account:prod","title_align":"center","title_size":"16","type":"query_value"}},{"definition":{"autoscale":true,"custom_links":[{"label":"Test Custom Link label","link":"https://app.datadoghq.com/dashboard/lists"}],"custom_unit":"Gib","precision":3,"requests":[{"aggregator":"max","conditional_formats":[{"comparator":"\u003c","hide_value":false,"palette":"white_on_red","value":9},{"comparator":"\u003e=","hide_value":false,"palette":"white_on_green","value":9}],"q":"avg:system.mem.free{account:prod}"}],"time":{"live_span":"1h"},"title":"Avg of system.mem.free over account:prod","title_align":"center","title_size":"16","type":"query_value"}}]} form: {} headers: Accept: @@ -13,21 +13,11 @@ interactions: Dd-Operation-Id: - CreateDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 1.15.0; terraform-cli 0.12.7-sdk) - datadog-api-client-go/1.0.0-beta.14 (go go1.15.4; os darwin; arch amd64) - X-Datadog-Parent-Id: - - "2202314009423799226" - X-Datadog-Sampling-Priority: - - "1" - X-Datadog-Trace-Id: - - "397224732840668741" + - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) 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":"hus-jgv-77b","title":"tf-TestAccDatadogDashboardQueryValue-local-1611850706","url":"/dashboard/hus-jgv-77b/tf-testaccdatadogdashboardqueryvalue-local-1611850706","created_at":"2021-01-28T16:50:30.753575+00:00","modified_at":"2021-01-28T16:50:30.753575+00:00","author_handle":"frog@datadoghq.com","widgets":[{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test - Custom Link label"}],"autoscale":true,"title":"Avg of system.mem.free over account:prod","title_align":"center","custom_unit":"Gib","precision":3,"time":{"live_span":"1h"},"title_size":"16","requests":[{"q":"avg:system.mem.free{account:prod}","aggregator":"max","conditional_formats":[{"palette":"white_on_red","hide_value":false,"value":9,"comparator":"<"},{"palette":"white_on_green","hide_value":false,"value":9,"comparator":">="}]}],"type":"query_value"},"id":990149644927115},{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test - Custom Link label"}],"autoscale":true,"title":"Avg of system.mem.free over account:prod","title_align":"center","custom_unit":"Gib","precision":3,"time":{"live_span":"1h"},"title_size":"16","requests":[{"q":"avg:system.mem.free{account:prod}","aggregator":"max","conditional_formats":[{"palette":"white_on_red","hide_value":false,"value":9,"comparator":"<"},{"palette":"white_on_green","hide_value":false,"value":9,"comparator":">="}]}],"type":"query_value"},"id":1618808372174177}],"layout_type":"ordered"}' + body: '{"notify_list":[],"description":"Created using the Datadog provider in Terraform","restricted_roles":["043a2842-e140-11e8-bb04-7fd10177666e","08604de8-1dca-11eb-800c-9f5f55ff734d","1302282c-b93b-11eb-a436-da7ad0900002","16169788-28e4-11eb-832c-fb84162ef3eb","17d73994-7531-11eb-94b9-da7ad0900002","284d8b66-93f9-11eb-9c37-da7ad0900002","4de53192-9946-11eb-9cee-da7ad0900002","62cbc476-5c16-11eb-8e98-0388ea7a41f8","657de3a2-29f8-11eb-83b5-6b8ebfb2f184","6bf314be-5c16-11eb-8e98-2356ea436065","7a83f306-96ca-11eb-9c74-da7ad0900002","9b3ab170-b768-11eb-a45a-da7ad0900002","e82bf27a-986c-11eb-9cba-da7ad0900002","f257ba30-dbb2-11ea-a5ff-5fd1d308318a"],"author_name":"Qin Chen","template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"s83-apt-4te","title":"tf-TestAccDatadogDashboardQueryValue-local-1621866546","url":"/dashboard/s83-apt-4te/tf-testaccdatadogdashboardqueryvalue-local-1621866546","created_at":"2021-05-24T14:29:08.010427+00:00","modified_at":"2021-05-24T14:29:08.010427+00:00","author_handle":"qin.chen@datadoghq.com","widgets":[{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test Custom Link label"},{"override_label":"logs","is_hidden":true,"link":"https://app.datadoghq.com/dashboard/lists"}],"autoscale":true,"title":"Avg of system.mem.free over account:prod","title_align":"center","custom_unit":"Gib","precision":3,"time":{"live_span":"1h"},"title_size":"16","requests":[{"q":"avg:system.mem.free{account:prod}","aggregator":"max","conditional_formats":[{"palette":"white_on_red","hide_value":false,"value":9,"comparator":"<"},{"palette":"white_on_green","hide_value":false,"value":9,"comparator":">="}]}],"type":"query_value"},"id":8097641153429972},{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test Custom Link label"}],"autoscale":true,"title":"Avg of system.mem.free over account:prod","title_align":"center","custom_unit":"Gib","precision":3,"time":{"live_span":"1h"},"title_size":"16","requests":[{"q":"avg:system.mem.free{account:prod}","aggregator":"max","conditional_formats":[{"palette":"white_on_red","hide_value":false,"value":9,"comparator":"<"},{"palette":"white_on_green","hide_value":false,"value":9,"comparator":">="}]}],"type":"query_value"},"id":2555906939685569}],"layout_type":"ordered"}' headers: Cache-Control: - no-cache @@ -38,12 +28,9 @@ interactions: Content-Type: - application/json Date: - - Thu, 28 Jan 2021 16:50:34 GMT + - Mon, 24 May 2021 14:29:08 GMT Pragma: - no-cache - Set-Cookie: - - DD-PSHARD=233; Max-Age=604800; Path=/; expires=Thu, 04-Feb-2021 16:50:30 GMT; - secure; HttpOnly Strict-Transport-Security: - max-age=15724800; Vary: @@ -51,9 +38,9 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Debug: - - gYZcaADwbKcv7Hm19HJx6WsLoKuOijDWAt2viPeCfWqUgyKY+9e1xZdmMJeXV3YV + - dCmL/3rURV6BPeaqeP3Rxigq41m5CAb17XjrRE42uZ01zpr07HVhbL5/3TWMkvgu X-Dd-Version: - - "35.3796727" + - "35.4593741" X-Frame-Options: - SAMEORIGIN status: 200 OK @@ -68,21 +55,11 @@ interactions: Dd-Operation-Id: - GetDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 1.15.0; terraform-cli 0.12.7-sdk) - datadog-api-client-go/1.0.0-beta.14 (go go1.15.4; os darwin; arch amd64) - X-Datadog-Parent-Id: - - "3232457727134148500" - X-Datadog-Sampling-Priority: - - "1" - X-Datadog-Trace-Id: - - "397224732840668741" - url: https://api.datadoghq.com/api/v1/dashboard/hus-jgv-77b + - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) + url: https://api.datadoghq.com/api/v1/dashboard/s83-apt-4te 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":"hus-jgv-77b","title":"tf-TestAccDatadogDashboardQueryValue-local-1611850706","url":"/dashboard/hus-jgv-77b/tf-testaccdatadogdashboardqueryvalue-local-1611850706","created_at":"2021-01-28T16:50:30.753575+00:00","modified_at":"2021-01-28T16:50:30.753575+00:00","author_handle":"frog@datadoghq.com","widgets":[{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test - Custom Link label"}],"autoscale":true,"title":"Avg of system.mem.free over account:prod","title_align":"center","custom_unit":"Gib","precision":3,"time":{"live_span":"1h"},"title_size":"16","requests":[{"q":"avg:system.mem.free{account:prod}","aggregator":"max","conditional_formats":[{"palette":"white_on_red","hide_value":false,"value":9,"comparator":"<"},{"palette":"white_on_green","hide_value":false,"value":9,"comparator":">="}]}],"type":"query_value"},"id":990149644927115},{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test - Custom Link label"}],"autoscale":true,"title":"Avg of system.mem.free over account:prod","title_align":"center","custom_unit":"Gib","precision":3,"time":{"live_span":"1h"},"title_size":"16","requests":[{"q":"avg:system.mem.free{account:prod}","aggregator":"max","conditional_formats":[{"palette":"white_on_red","hide_value":false,"value":9,"comparator":"<"},{"palette":"white_on_green","hide_value":false,"value":9,"comparator":">="}]}],"type":"query_value"},"id":1618808372174177}],"layout_type":"ordered"}' + body: '{"notify_list":[],"description":"Created using the Datadog provider in Terraform","restricted_roles":["284d8b66-93f9-11eb-9c37-da7ad0900002","043a2842-e140-11e8-bb04-7fd10177666e","657de3a2-29f8-11eb-83b5-6b8ebfb2f184","e82bf27a-986c-11eb-9cba-da7ad0900002","f257ba30-dbb2-11ea-a5ff-5fd1d308318a","6bf314be-5c16-11eb-8e98-2356ea436065","62cbc476-5c16-11eb-8e98-0388ea7a41f8","08604de8-1dca-11eb-800c-9f5f55ff734d","9b3ab170-b768-11eb-a45a-da7ad0900002","7a83f306-96ca-11eb-9c74-da7ad0900002","16169788-28e4-11eb-832c-fb84162ef3eb","4de53192-9946-11eb-9cee-da7ad0900002","1302282c-b93b-11eb-a436-da7ad0900002","17d73994-7531-11eb-94b9-da7ad0900002"],"author_name":"Qin Chen","template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"s83-apt-4te","title":"tf-TestAccDatadogDashboardQueryValue-local-1621866546","url":"/dashboard/s83-apt-4te/tf-testaccdatadogdashboardqueryvalue-local-1621866546","created_at":"2021-05-24T14:29:08.010427+00:00","modified_at":"2021-05-24T14:29:08.010427+00:00","author_handle":"qin.chen@datadoghq.com","widgets":[{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test Custom Link label"},{"override_label":"logs","is_hidden":true,"link":"https://app.datadoghq.com/dashboard/lists"}],"autoscale":true,"title":"Avg of system.mem.free over account:prod","title_align":"center","custom_unit":"Gib","precision":3,"time":{"live_span":"1h"},"title_size":"16","requests":[{"q":"avg:system.mem.free{account:prod}","aggregator":"max","conditional_formats":[{"palette":"white_on_red","hide_value":false,"value":9,"comparator":"<"},{"palette":"white_on_green","hide_value":false,"value":9,"comparator":">="}]}],"type":"query_value"},"id":8097641153429972},{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test Custom Link label"}],"autoscale":true,"title":"Avg of system.mem.free over account:prod","title_align":"center","custom_unit":"Gib","precision":3,"time":{"live_span":"1h"},"title_size":"16","requests":[{"q":"avg:system.mem.free{account:prod}","aggregator":"max","conditional_formats":[{"palette":"white_on_red","hide_value":false,"value":9,"comparator":"<"},{"palette":"white_on_green","hide_value":false,"value":9,"comparator":">="}]}],"type":"query_value"},"id":2555906939685569}],"layout_type":"ordered"}' headers: Cache-Control: - no-cache @@ -93,12 +70,9 @@ interactions: Content-Type: - application/json Date: - - Thu, 28 Jan 2021 16:50:34 GMT + - Mon, 24 May 2021 14:29:08 GMT Pragma: - no-cache - Set-Cookie: - - DD-PSHARD=233; Max-Age=604800; Path=/; expires=Thu, 04-Feb-2021 16:50:34 GMT; - secure; HttpOnly Strict-Transport-Security: - max-age=15724800; Vary: @@ -106,9 +80,9 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Debug: - - PhosSd3Ch1B6B0DXI71steKUi7XhPDttnPiIP1NdXTw0VJNWpoUnYyBmODS5ne3q + - tpRCH6w417YjBovRJ8VmtuXmNONVYiRp2c8d2AxjPdGBn8PCtgG4vAztrx3qUZAN X-Dd-Version: - - "35.3796727" + - "35.4593741" X-Frame-Options: - SAMEORIGIN status: 200 OK @@ -123,21 +97,11 @@ interactions: Dd-Operation-Id: - GetDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 1.15.0; terraform-cli 0.12.7-sdk) - datadog-api-client-go/1.0.0-beta.14 (go go1.15.4; os darwin; arch amd64) - X-Datadog-Parent-Id: - - "4581757762044360587" - X-Datadog-Sampling-Priority: - - "1" - X-Datadog-Trace-Id: - - "397224732840668741" - url: https://api.datadoghq.com/api/v1/dashboard/hus-jgv-77b + - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) + url: https://api.datadoghq.com/api/v1/dashboard/s83-apt-4te 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":"hus-jgv-77b","title":"tf-TestAccDatadogDashboardQueryValue-local-1611850706","url":"/dashboard/hus-jgv-77b/tf-testaccdatadogdashboardqueryvalue-local-1611850706","created_at":"2021-01-28T16:50:30.753575+00:00","modified_at":"2021-01-28T16:50:30.753575+00:00","author_handle":"frog@datadoghq.com","widgets":[{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test - Custom Link label"}],"autoscale":true,"title":"Avg of system.mem.free over account:prod","title_align":"center","custom_unit":"Gib","precision":3,"time":{"live_span":"1h"},"title_size":"16","requests":[{"q":"avg:system.mem.free{account:prod}","aggregator":"max","conditional_formats":[{"palette":"white_on_red","hide_value":false,"value":9,"comparator":"<"},{"palette":"white_on_green","hide_value":false,"value":9,"comparator":">="}]}],"type":"query_value"},"id":990149644927115},{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test - Custom Link label"}],"autoscale":true,"title":"Avg of system.mem.free over account:prod","title_align":"center","custom_unit":"Gib","precision":3,"time":{"live_span":"1h"},"title_size":"16","requests":[{"q":"avg:system.mem.free{account:prod}","aggregator":"max","conditional_formats":[{"palette":"white_on_red","hide_value":false,"value":9,"comparator":"<"},{"palette":"white_on_green","hide_value":false,"value":9,"comparator":">="}]}],"type":"query_value"},"id":1618808372174177}],"layout_type":"ordered"}' + body: '{"notify_list":[],"description":"Created using the Datadog provider in Terraform","restricted_roles":["284d8b66-93f9-11eb-9c37-da7ad0900002","043a2842-e140-11e8-bb04-7fd10177666e","657de3a2-29f8-11eb-83b5-6b8ebfb2f184","e82bf27a-986c-11eb-9cba-da7ad0900002","f257ba30-dbb2-11ea-a5ff-5fd1d308318a","6bf314be-5c16-11eb-8e98-2356ea436065","62cbc476-5c16-11eb-8e98-0388ea7a41f8","08604de8-1dca-11eb-800c-9f5f55ff734d","9b3ab170-b768-11eb-a45a-da7ad0900002","7a83f306-96ca-11eb-9c74-da7ad0900002","16169788-28e4-11eb-832c-fb84162ef3eb","4de53192-9946-11eb-9cee-da7ad0900002","1302282c-b93b-11eb-a436-da7ad0900002","17d73994-7531-11eb-94b9-da7ad0900002"],"author_name":"Qin Chen","template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"s83-apt-4te","title":"tf-TestAccDatadogDashboardQueryValue-local-1621866546","url":"/dashboard/s83-apt-4te/tf-testaccdatadogdashboardqueryvalue-local-1621866546","created_at":"2021-05-24T14:29:08.010427+00:00","modified_at":"2021-05-24T14:29:08.010427+00:00","author_handle":"qin.chen@datadoghq.com","widgets":[{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test Custom Link label"},{"override_label":"logs","is_hidden":true,"link":"https://app.datadoghq.com/dashboard/lists"}],"autoscale":true,"title":"Avg of system.mem.free over account:prod","title_align":"center","custom_unit":"Gib","precision":3,"time":{"live_span":"1h"},"title_size":"16","requests":[{"q":"avg:system.mem.free{account:prod}","aggregator":"max","conditional_formats":[{"palette":"white_on_red","hide_value":false,"value":9,"comparator":"<"},{"palette":"white_on_green","hide_value":false,"value":9,"comparator":">="}]}],"type":"query_value"},"id":8097641153429972},{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test Custom Link label"}],"autoscale":true,"title":"Avg of system.mem.free over account:prod","title_align":"center","custom_unit":"Gib","precision":3,"time":{"live_span":"1h"},"title_size":"16","requests":[{"q":"avg:system.mem.free{account:prod}","aggregator":"max","conditional_formats":[{"palette":"white_on_red","hide_value":false,"value":9,"comparator":"<"},{"palette":"white_on_green","hide_value":false,"value":9,"comparator":">="}]}],"type":"query_value"},"id":2555906939685569}],"layout_type":"ordered"}' headers: Cache-Control: - no-cache @@ -148,12 +112,9 @@ interactions: Content-Type: - application/json Date: - - Thu, 28 Jan 2021 16:50:38 GMT + - Mon, 24 May 2021 14:29:08 GMT Pragma: - no-cache - Set-Cookie: - - DD-PSHARD=233; Max-Age=604800; Path=/; expires=Thu, 04-Feb-2021 16:50:38 GMT; - secure; HttpOnly Strict-Transport-Security: - max-age=15724800; Vary: @@ -161,9 +122,9 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Debug: - - S1wfaMZOKGT/IoMw6fqAwAwGWo2vQ44sjF3YzuETnQfxZO2T5eJbs0aX3UKb9Dwu + - tpRCH6w417YjBovRJ8VmtuXmNONVYiRp2c8d2AxjPdGBn8PCtgG4vAztrx3qUZAN X-Dd-Version: - - "35.3796727" + - "35.4593741" X-Frame-Options: - SAMEORIGIN status: 200 OK @@ -178,21 +139,11 @@ interactions: Dd-Operation-Id: - GetDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 1.15.0; terraform-cli 0.12.7-sdk) - datadog-api-client-go/1.0.0-beta.14 (go go1.15.4; os darwin; arch amd64) - X-Datadog-Parent-Id: - - "2661568310791873646" - X-Datadog-Sampling-Priority: - - "1" - X-Datadog-Trace-Id: - - "397224732840668741" - url: https://api.datadoghq.com/api/v1/dashboard/hus-jgv-77b + - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) + url: https://api.datadoghq.com/api/v1/dashboard/s83-apt-4te 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":"hus-jgv-77b","title":"tf-TestAccDatadogDashboardQueryValue-local-1611850706","url":"/dashboard/hus-jgv-77b/tf-testaccdatadogdashboardqueryvalue-local-1611850706","created_at":"2021-01-28T16:50:30.753575+00:00","modified_at":"2021-01-28T16:50:30.753575+00:00","author_handle":"frog@datadoghq.com","widgets":[{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test - Custom Link label"}],"autoscale":true,"title":"Avg of system.mem.free over account:prod","title_align":"center","custom_unit":"Gib","precision":3,"time":{"live_span":"1h"},"title_size":"16","requests":[{"q":"avg:system.mem.free{account:prod}","aggregator":"max","conditional_formats":[{"palette":"white_on_red","hide_value":false,"value":9,"comparator":"<"},{"palette":"white_on_green","hide_value":false,"value":9,"comparator":">="}]}],"type":"query_value"},"id":990149644927115},{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test - Custom Link label"}],"autoscale":true,"title":"Avg of system.mem.free over account:prod","title_align":"center","custom_unit":"Gib","precision":3,"time":{"live_span":"1h"},"title_size":"16","requests":[{"q":"avg:system.mem.free{account:prod}","aggregator":"max","conditional_formats":[{"palette":"white_on_red","hide_value":false,"value":9,"comparator":"<"},{"palette":"white_on_green","hide_value":false,"value":9,"comparator":">="}]}],"type":"query_value"},"id":1618808372174177}],"layout_type":"ordered"}' + body: '{"notify_list":[],"description":"Created using the Datadog provider in Terraform","restricted_roles":["284d8b66-93f9-11eb-9c37-da7ad0900002","043a2842-e140-11e8-bb04-7fd10177666e","657de3a2-29f8-11eb-83b5-6b8ebfb2f184","e82bf27a-986c-11eb-9cba-da7ad0900002","f257ba30-dbb2-11ea-a5ff-5fd1d308318a","6bf314be-5c16-11eb-8e98-2356ea436065","62cbc476-5c16-11eb-8e98-0388ea7a41f8","08604de8-1dca-11eb-800c-9f5f55ff734d","9b3ab170-b768-11eb-a45a-da7ad0900002","7a83f306-96ca-11eb-9c74-da7ad0900002","16169788-28e4-11eb-832c-fb84162ef3eb","4de53192-9946-11eb-9cee-da7ad0900002","1302282c-b93b-11eb-a436-da7ad0900002","17d73994-7531-11eb-94b9-da7ad0900002"],"author_name":"Qin Chen","template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"s83-apt-4te","title":"tf-TestAccDatadogDashboardQueryValue-local-1621866546","url":"/dashboard/s83-apt-4te/tf-testaccdatadogdashboardqueryvalue-local-1621866546","created_at":"2021-05-24T14:29:08.010427+00:00","modified_at":"2021-05-24T14:29:08.010427+00:00","author_handle":"qin.chen@datadoghq.com","widgets":[{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test Custom Link label"},{"override_label":"logs","is_hidden":true,"link":"https://app.datadoghq.com/dashboard/lists"}],"autoscale":true,"title":"Avg of system.mem.free over account:prod","title_align":"center","custom_unit":"Gib","precision":3,"time":{"live_span":"1h"},"title_size":"16","requests":[{"q":"avg:system.mem.free{account:prod}","aggregator":"max","conditional_formats":[{"palette":"white_on_red","hide_value":false,"value":9,"comparator":"<"},{"palette":"white_on_green","hide_value":false,"value":9,"comparator":">="}]}],"type":"query_value"},"id":8097641153429972},{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test Custom Link label"}],"autoscale":true,"title":"Avg of system.mem.free over account:prod","title_align":"center","custom_unit":"Gib","precision":3,"time":{"live_span":"1h"},"title_size":"16","requests":[{"q":"avg:system.mem.free{account:prod}","aggregator":"max","conditional_formats":[{"palette":"white_on_red","hide_value":false,"value":9,"comparator":"<"},{"palette":"white_on_green","hide_value":false,"value":9,"comparator":">="}]}],"type":"query_value"},"id":2555906939685569}],"layout_type":"ordered"}' headers: Cache-Control: - no-cache @@ -203,12 +154,9 @@ interactions: Content-Type: - application/json Date: - - Thu, 28 Jan 2021 16:51:12 GMT + - Mon, 24 May 2021 14:29:09 GMT Pragma: - no-cache - Set-Cookie: - - DD-PSHARD=233; Max-Age=604800; Path=/; expires=Thu, 04-Feb-2021 16:51:12 GMT; - secure; HttpOnly Strict-Transport-Security: - max-age=15724800; Vary: @@ -216,9 +164,9 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Debug: - - l4HFlaRP3QwYSqoGKhzbYfv7zgkK63HIRR7YkyVYZspq0lGjjTBwoK8V/alf+XYt + - LcgNasIYBRkNppmD6mCKE9J6iv0eEjosuuHR5V5zw2fWbR54i39C8dhdK8zDq/40 X-Dd-Version: - - "35.3796727" + - "35.4593741" X-Frame-Options: - SAMEORIGIN status: 200 OK @@ -233,21 +181,11 @@ interactions: Dd-Operation-Id: - GetDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 1.15.0; terraform-cli 0.12.7-sdk) - datadog-api-client-go/1.0.0-beta.14 (go go1.15.4; os darwin; arch amd64) - X-Datadog-Parent-Id: - - "315404317565477384" - X-Datadog-Sampling-Priority: - - "1" - X-Datadog-Trace-Id: - - "397224732840668741" - url: https://api.datadoghq.com/api/v1/dashboard/hus-jgv-77b + - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) + url: https://api.datadoghq.com/api/v1/dashboard/s83-apt-4te 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":"hus-jgv-77b","title":"tf-TestAccDatadogDashboardQueryValue-local-1611850706","url":"/dashboard/hus-jgv-77b/tf-testaccdatadogdashboardqueryvalue-local-1611850706","created_at":"2021-01-28T16:50:30.753575+00:00","modified_at":"2021-01-28T16:50:30.753575+00:00","author_handle":"frog@datadoghq.com","widgets":[{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test - Custom Link label"}],"autoscale":true,"title":"Avg of system.mem.free over account:prod","title_align":"center","custom_unit":"Gib","precision":3,"time":{"live_span":"1h"},"title_size":"16","requests":[{"q":"avg:system.mem.free{account:prod}","aggregator":"max","conditional_formats":[{"palette":"white_on_red","hide_value":false,"value":9,"comparator":"<"},{"palette":"white_on_green","hide_value":false,"value":9,"comparator":">="}]}],"type":"query_value"},"id":990149644927115},{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test - Custom Link label"}],"autoscale":true,"title":"Avg of system.mem.free over account:prod","title_align":"center","custom_unit":"Gib","precision":3,"time":{"live_span":"1h"},"title_size":"16","requests":[{"q":"avg:system.mem.free{account:prod}","aggregator":"max","conditional_formats":[{"palette":"white_on_red","hide_value":false,"value":9,"comparator":"<"},{"palette":"white_on_green","hide_value":false,"value":9,"comparator":">="}]}],"type":"query_value"},"id":1618808372174177}],"layout_type":"ordered"}' + body: '{"notify_list":[],"description":"Created using the Datadog provider in Terraform","restricted_roles":["284d8b66-93f9-11eb-9c37-da7ad0900002","043a2842-e140-11e8-bb04-7fd10177666e","657de3a2-29f8-11eb-83b5-6b8ebfb2f184","e82bf27a-986c-11eb-9cba-da7ad0900002","f257ba30-dbb2-11ea-a5ff-5fd1d308318a","6bf314be-5c16-11eb-8e98-2356ea436065","62cbc476-5c16-11eb-8e98-0388ea7a41f8","08604de8-1dca-11eb-800c-9f5f55ff734d","9b3ab170-b768-11eb-a45a-da7ad0900002","7a83f306-96ca-11eb-9c74-da7ad0900002","16169788-28e4-11eb-832c-fb84162ef3eb","4de53192-9946-11eb-9cee-da7ad0900002","1302282c-b93b-11eb-a436-da7ad0900002","17d73994-7531-11eb-94b9-da7ad0900002"],"author_name":"Qin Chen","template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"s83-apt-4te","title":"tf-TestAccDatadogDashboardQueryValue-local-1621866546","url":"/dashboard/s83-apt-4te/tf-testaccdatadogdashboardqueryvalue-local-1621866546","created_at":"2021-05-24T14:29:08.010427+00:00","modified_at":"2021-05-24T14:29:08.010427+00:00","author_handle":"qin.chen@datadoghq.com","widgets":[{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test Custom Link label"},{"override_label":"logs","is_hidden":true,"link":"https://app.datadoghq.com/dashboard/lists"}],"autoscale":true,"title":"Avg of system.mem.free over account:prod","title_align":"center","custom_unit":"Gib","precision":3,"time":{"live_span":"1h"},"title_size":"16","requests":[{"q":"avg:system.mem.free{account:prod}","aggregator":"max","conditional_formats":[{"palette":"white_on_red","hide_value":false,"value":9,"comparator":"<"},{"palette":"white_on_green","hide_value":false,"value":9,"comparator":">="}]}],"type":"query_value"},"id":8097641153429972},{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test Custom Link label"}],"autoscale":true,"title":"Avg of system.mem.free over account:prod","title_align":"center","custom_unit":"Gib","precision":3,"time":{"live_span":"1h"},"title_size":"16","requests":[{"q":"avg:system.mem.free{account:prod}","aggregator":"max","conditional_formats":[{"palette":"white_on_red","hide_value":false,"value":9,"comparator":"<"},{"palette":"white_on_green","hide_value":false,"value":9,"comparator":">="}]}],"type":"query_value"},"id":2555906939685569}],"layout_type":"ordered"}' headers: Cache-Control: - no-cache @@ -258,12 +196,9 @@ interactions: Content-Type: - application/json Date: - - Thu, 28 Jan 2021 16:52:12 GMT + - Mon, 24 May 2021 14:29:10 GMT Pragma: - no-cache - Set-Cookie: - - DD-PSHARD=233; Max-Age=604800; Path=/; expires=Thu, 04-Feb-2021 16:52:11 GMT; - secure; HttpOnly Strict-Transport-Security: - max-age=15724800; Vary: @@ -271,9 +206,9 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Debug: - - Wjq53IVIwnB4SiR238oOYgHFMq/ZYP0LQ/Dv8C2fFLBwTje/dWJHu6pI6vIOK1zG + - F5gm0Rce1/Abr9/0Fw8HAqWfiz0FdiH8er/AXnN6lOn3L6KyGgbsLCwgPlob1No8 X-Dd-Version: - - "35.3796727" + - "35.4593741" X-Frame-Options: - SAMEORIGIN status: 200 OK @@ -288,18 +223,11 @@ interactions: Dd-Operation-Id: - DeleteDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 1.15.0; terraform-cli 0.12.7-sdk) - datadog-api-client-go/1.0.0-beta.14 (go go1.15.4; os darwin; arch amd64) - X-Datadog-Parent-Id: - - "7133999346065199771" - X-Datadog-Sampling-Priority: - - "1" - X-Datadog-Trace-Id: - - "397224732840668741" - url: https://api.datadoghq.com/api/v1/dashboard/hus-jgv-77b + - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) + url: https://api.datadoghq.com/api/v1/dashboard/s83-apt-4te method: DELETE response: - body: '{"deleted_dashboard_id":"hus-jgv-77b"}' + body: '{"deleted_dashboard_id":"s83-apt-4te"}' headers: Cache-Control: - no-cache @@ -310,12 +238,9 @@ interactions: Content-Type: - application/json Date: - - Thu, 28 Jan 2021 16:52:33 GMT + - Mon, 24 May 2021 14:29:10 GMT Pragma: - no-cache - Set-Cookie: - - DD-PSHARD=233; Max-Age=604800; Path=/; expires=Thu, 04-Feb-2021 16:52:33 GMT; - secure; HttpOnly Strict-Transport-Security: - max-age=15724800; Vary: @@ -323,9 +248,9 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Debug: - - bgHykj7A9bfZx0Y5ZO3swhhp5tGUSNJHqFWR868+qg087CYrDOd5hQslC+noiEtH + - 5gfwVh/5HZ+AnGd/Di93w3NEWC6KMHT9KzmHEiRJmNdOjBtAsbOcgVFyqEChw71h X-Dd-Version: - - "35.3796727" + - "35.4593741" X-Frame-Options: - SAMEORIGIN status: 200 OK @@ -340,18 +265,11 @@ interactions: Dd-Operation-Id: - GetDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 1.15.0; terraform-cli 0.12.7-sdk) - datadog-api-client-go/1.0.0-beta.14 (go go1.15.4; os darwin; arch amd64) - X-Datadog-Parent-Id: - - "4076005582612531406" - X-Datadog-Sampling-Priority: - - "1" - X-Datadog-Trace-Id: - - "397224732840668741" - url: https://api.datadoghq.com/api/v1/dashboard/hus-jgv-77b + - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) + url: https://api.datadoghq.com/api/v1/dashboard/s83-apt-4te method: GET response: - body: '{"errors": ["Dashboard with ID hus-jgv-77b not found"]}' + body: '{"errors": ["Dashboard with ID s83-apt-4te not found"]}' headers: Cache-Control: - no-cache @@ -362,7 +280,7 @@ interactions: Content-Type: - application/json Date: - - Thu, 28 Jan 2021 16:52:35 GMT + - Mon, 24 May 2021 14:29:11 GMT Pragma: - no-cache Strict-Transport-Security: @@ -372,7 +290,7 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Version: - - "35.3796727" + - "35.4593741" X-Frame-Options: - SAMEORIGIN status: 404 Not Found diff --git a/datadog/tests/cassettes/TestAccDatadogDashboardQueryValueFormula.freeze b/datadog/tests/cassettes/TestAccDatadogDashboardQueryValueFormula.freeze index 5c128e2bf..5c2d5058c 100644 --- a/datadog/tests/cassettes/TestAccDatadogDashboardQueryValueFormula.freeze +++ b/datadog/tests/cassettes/TestAccDatadogDashboardQueryValueFormula.freeze @@ -1 +1 @@ -2021-02-25T18:39:08.086427-05:00 \ No newline at end of file +2021-05-24T10:37:36.386841-04:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogDashboardQueryValueFormula.yaml b/datadog/tests/cassettes/TestAccDatadogDashboardQueryValueFormula.yaml index 7754b3d31..c23d21ae0 100644 --- a/datadog/tests/cassettes/TestAccDatadogDashboardQueryValueFormula.yaml +++ b/datadog/tests/cassettes/TestAccDatadogDashboardQueryValueFormula.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-TestAccDatadogDashboardQueryValueFormula-local-1614296348","widgets":[{"definition":{"autoscale":false,"precision":0,"requests":[{"formulas":[{"formula":"query1 + query2","limit":{"count":10,"order":"asc"}}],"queries":[{"aggregator":"sum","data_source":"metrics","name":"query1","query":"avg:system.cpu.system{*} by {datacenter}"},{"aggregator":"sum","data_source":"metrics","name":"query2","query":"avg:system.load.1{*} by {datacenter}"}],"response_format":"scalar"}],"type":"query_value"}},{"definition":{"autoscale":false,"precision":0,"requests":[{"formulas":[{"formula":"query1","limit":{"count":25,"order":"desc"}}],"queries":[{"compute":{"aggregation":"count"},"data_source":"rum","indexes":["*"],"name":"query1"}],"response_format":"scalar"}],"type":"query_value"}}]} + {"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-TestAccDatadogDashboardQueryValueFormula-local-1621866546","widgets":[{"definition":{"autoscale":false,"precision":0,"requests":[{"formulas":[{"formula":"query1 + query2","limit":{"count":10,"order":"asc"}}],"queries":[{"aggregator":"sum","data_source":"metrics","name":"query1","query":"avg:system.cpu.system{*} by {datacenter}"},{"aggregator":"sum","data_source":"metrics","name":"query2","query":"avg:system.load.1{*} by {datacenter}"}],"response_format":"scalar"}],"type":"query_value"}},{"definition":{"autoscale":false,"precision":0,"requests":[{"formulas":[{"formula":"query1","limit":{"count":25,"order":"desc"}}],"queries":[{"compute":{"aggregation":"count"},"data_source":"rum","indexes":["*"],"name":"query1"}],"response_format":"scalar"}],"type":"query_value"}}]} form: {} headers: Accept: @@ -13,11 +13,11 @@ interactions: Dd-Operation-Id: - CreateDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.16+dev (go go1.15.6; os darwin; arch amd64) + - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) 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":"6gt-3rp-fj2","title":"tf-TestAccDatadogDashboardQueryValueFormula-local-1614296348","url":"/dashboard/6gt-3rp-fj2/tf-testaccdatadogdashboardqueryvalueformula-local-1614296348","created_at":"2021-02-25T23:39:08.959260+00:00","modified_at":"2021-02-25T23:39:08.959260+00:00","author_handle":"frog@datadoghq.com","widgets":[{"definition":{"type":"query_value","requests":[{"formulas":[{"formula":"query1 + query2","limit":{"count":10,"order":"asc"}}],"response_format":"scalar","queries":[{"aggregator":"sum","data_source":"metrics","name":"query1","query":"avg:system.cpu.system{*} by {datacenter}"},{"aggregator":"sum","data_source":"metrics","name":"query2","query":"avg:system.load.1{*} by {datacenter}"}]}],"autoscale":false,"precision":0},"id":6851875718636234},{"definition":{"type":"query_value","requests":[{"formulas":[{"formula":"query1","limit":{"count":25,"order":"desc"}}],"response_format":"scalar","queries":[{"data_source":"rum","compute":{"aggregation":"count"},"name":"query1","indexes":["*"]}]}],"autoscale":false,"precision":0},"id":6640188580202253}],"layout_type":"ordered"}' + body: '{"notify_list":[],"description":"Created using the Datadog provider in Terraform","restricted_roles":["043a2842-e140-11e8-bb04-7fd10177666e","08604de8-1dca-11eb-800c-9f5f55ff734d","1302282c-b93b-11eb-a436-da7ad0900002","16169788-28e4-11eb-832c-fb84162ef3eb","17d73994-7531-11eb-94b9-da7ad0900002","284d8b66-93f9-11eb-9c37-da7ad0900002","4de53192-9946-11eb-9cee-da7ad0900002","62cbc476-5c16-11eb-8e98-0388ea7a41f8","657de3a2-29f8-11eb-83b5-6b8ebfb2f184","6bf314be-5c16-11eb-8e98-2356ea436065","7a83f306-96ca-11eb-9c74-da7ad0900002","9b3ab170-b768-11eb-a45a-da7ad0900002","e82bf27a-986c-11eb-9cba-da7ad0900002","f257ba30-dbb2-11ea-a5ff-5fd1d308318a"],"author_name":"Qin Chen","template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"v24-rpz-c84","title":"tf-TestAccDatadogDashboardQueryValueFormula-local-1621866546","url":"/dashboard/v24-rpz-c84/tf-testaccdatadogdashboardqueryvalueformula-local-1621866546","created_at":"2021-05-24T14:29:08.000674+00:00","modified_at":"2021-05-24T14:29:08.000674+00:00","author_handle":"qin.chen@datadoghq.com","widgets":[{"definition":{"type":"query_value","requests":[{"formulas":[{"formula":"query1 + query2","limit":{"count":10,"order":"asc"}}],"response_format":"scalar","queries":[{"aggregator":"sum","data_source":"metrics","name":"query1","query":"avg:system.cpu.system{*} by {datacenter}"},{"aggregator":"sum","data_source":"metrics","name":"query2","query":"avg:system.load.1{*} by {datacenter}"}]}],"autoscale":false,"precision":0},"id":4802306324114774},{"definition":{"type":"query_value","requests":[{"formulas":[{"formula":"query1","limit":{"count":25,"order":"desc"}}],"response_format":"scalar","queries":[{"data_source":"rum","compute":{"aggregation":"count"},"name":"query1","indexes":["*"]}]}],"autoscale":false,"precision":0},"id":5322478081247786}],"layout_type":"ordered"}' headers: Cache-Control: - no-cache @@ -28,7 +28,7 @@ interactions: Content-Type: - application/json Date: - - Thu, 25 Feb 2021 23:39:12 GMT + - Mon, 24 May 2021 14:29:08 GMT Pragma: - no-cache Strict-Transport-Security: @@ -38,9 +38,9 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Debug: - - PhosSd3Ch1B6B0DXI71steKUi7XhPDttnPiIP1NdXTw0VJNWpoUnYyBmODS5ne3q + - nLnnBNvlCFDECRnZvzDb0z4sAO35G+IMidcAs8vrCKyjvsKWE8Yd9S3n6OjZ1qRN X-Dd-Version: - - "35.3986175" + - "35.4593741" X-Frame-Options: - SAMEORIGIN status: 200 OK @@ -55,11 +55,11 @@ interactions: Dd-Operation-Id: - GetDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.16+dev (go go1.15.6; os darwin; arch amd64) - url: https://api.datadoghq.com/api/v1/dashboard/6gt-3rp-fj2 + - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) + url: https://api.datadoghq.com/api/v1/dashboard/v24-rpz-c84 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":"6gt-3rp-fj2","title":"tf-TestAccDatadogDashboardQueryValueFormula-local-1614296348","url":"/dashboard/6gt-3rp-fj2/tf-testaccdatadogdashboardqueryvalueformula-local-1614296348","created_at":"2021-02-25T23:39:08.959260+00:00","modified_at":"2021-02-25T23:39:08.959260+00:00","author_handle":"frog@datadoghq.com","widgets":[{"definition":{"type":"query_value","requests":[{"formulas":[{"formula":"query1 + query2","limit":{"count":10,"order":"asc"}}],"response_format":"scalar","queries":[{"aggregator":"sum","data_source":"metrics","name":"query1","query":"avg:system.cpu.system{*} by {datacenter}"},{"aggregator":"sum","data_source":"metrics","name":"query2","query":"avg:system.load.1{*} by {datacenter}"}]}],"autoscale":false,"precision":0},"id":6851875718636234},{"definition":{"type":"query_value","requests":[{"formulas":[{"formula":"query1","limit":{"count":25,"order":"desc"}}],"response_format":"scalar","queries":[{"data_source":"rum","compute":{"aggregation":"count"},"name":"query1","indexes":["*"]}]}],"autoscale":false,"precision":0},"id":6640188580202253}],"layout_type":"ordered"}' + body: '{"notify_list":[],"description":"Created using the Datadog provider in Terraform","restricted_roles":["284d8b66-93f9-11eb-9c37-da7ad0900002","043a2842-e140-11e8-bb04-7fd10177666e","657de3a2-29f8-11eb-83b5-6b8ebfb2f184","e82bf27a-986c-11eb-9cba-da7ad0900002","f257ba30-dbb2-11ea-a5ff-5fd1d308318a","6bf314be-5c16-11eb-8e98-2356ea436065","62cbc476-5c16-11eb-8e98-0388ea7a41f8","08604de8-1dca-11eb-800c-9f5f55ff734d","9b3ab170-b768-11eb-a45a-da7ad0900002","7a83f306-96ca-11eb-9c74-da7ad0900002","16169788-28e4-11eb-832c-fb84162ef3eb","4de53192-9946-11eb-9cee-da7ad0900002","1302282c-b93b-11eb-a436-da7ad0900002","17d73994-7531-11eb-94b9-da7ad0900002"],"author_name":"Qin Chen","template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"v24-rpz-c84","title":"tf-TestAccDatadogDashboardQueryValueFormula-local-1621866546","url":"/dashboard/v24-rpz-c84/tf-testaccdatadogdashboardqueryvalueformula-local-1621866546","created_at":"2021-05-24T14:29:08.000674+00:00","modified_at":"2021-05-24T14:29:08.000674+00:00","author_handle":"qin.chen@datadoghq.com","widgets":[{"definition":{"type":"query_value","requests":[{"formulas":[{"formula":"query1 + query2","limit":{"count":10,"order":"asc"}}],"response_format":"scalar","queries":[{"aggregator":"sum","data_source":"metrics","name":"query1","query":"avg:system.cpu.system{*} by {datacenter}"},{"aggregator":"sum","data_source":"metrics","name":"query2","query":"avg:system.load.1{*} by {datacenter}"}]}],"autoscale":false,"precision":0},"id":4802306324114774},{"definition":{"type":"query_value","requests":[{"formulas":[{"formula":"query1","limit":{"count":25,"order":"desc"}}],"response_format":"scalar","queries":[{"data_source":"rum","compute":{"aggregation":"count"},"name":"query1","indexes":["*"]}]}],"autoscale":false,"precision":0},"id":5322478081247786}],"layout_type":"ordered"}' headers: Cache-Control: - no-cache @@ -70,7 +70,7 @@ interactions: Content-Type: - application/json Date: - - Thu, 25 Feb 2021 23:39:12 GMT + - Mon, 24 May 2021 14:29:08 GMT Pragma: - no-cache Strict-Transport-Security: @@ -80,9 +80,9 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Debug: - - fIO2C4qGDheGHy4YbS+r3a3CXbh4cbRo7roILOimQyiHGjQdOat0cIpWCkupM1uX + - PhosSd3Ch1B6B0DXI71steKUi7XhPDttnPiIP1NdXTw0VJNWpoUnYyBmODS5ne3q X-Dd-Version: - - "35.3986175" + - "35.4593741" X-Frame-Options: - SAMEORIGIN status: 200 OK @@ -97,11 +97,11 @@ interactions: Dd-Operation-Id: - GetDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.16+dev (go go1.15.6; os darwin; arch amd64) - url: https://api.datadoghq.com/api/v1/dashboard/6gt-3rp-fj2 + - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) + url: https://api.datadoghq.com/api/v1/dashboard/v24-rpz-c84 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":"6gt-3rp-fj2","title":"tf-TestAccDatadogDashboardQueryValueFormula-local-1614296348","url":"/dashboard/6gt-3rp-fj2/tf-testaccdatadogdashboardqueryvalueformula-local-1614296348","created_at":"2021-02-25T23:39:08.959260+00:00","modified_at":"2021-02-25T23:39:08.959260+00:00","author_handle":"frog@datadoghq.com","widgets":[{"definition":{"type":"query_value","requests":[{"formulas":[{"formula":"query1 + query2","limit":{"count":10,"order":"asc"}}],"response_format":"scalar","queries":[{"aggregator":"sum","data_source":"metrics","name":"query1","query":"avg:system.cpu.system{*} by {datacenter}"},{"aggregator":"sum","data_source":"metrics","name":"query2","query":"avg:system.load.1{*} by {datacenter}"}]}],"autoscale":false,"precision":0},"id":6851875718636234},{"definition":{"type":"query_value","requests":[{"formulas":[{"formula":"query1","limit":{"count":25,"order":"desc"}}],"response_format":"scalar","queries":[{"data_source":"rum","compute":{"aggregation":"count"},"name":"query1","indexes":["*"]}]}],"autoscale":false,"precision":0},"id":6640188580202253}],"layout_type":"ordered"}' + body: '{"notify_list":[],"description":"Created using the Datadog provider in Terraform","restricted_roles":["284d8b66-93f9-11eb-9c37-da7ad0900002","043a2842-e140-11e8-bb04-7fd10177666e","657de3a2-29f8-11eb-83b5-6b8ebfb2f184","e82bf27a-986c-11eb-9cba-da7ad0900002","f257ba30-dbb2-11ea-a5ff-5fd1d308318a","6bf314be-5c16-11eb-8e98-2356ea436065","62cbc476-5c16-11eb-8e98-0388ea7a41f8","08604de8-1dca-11eb-800c-9f5f55ff734d","9b3ab170-b768-11eb-a45a-da7ad0900002","7a83f306-96ca-11eb-9c74-da7ad0900002","16169788-28e4-11eb-832c-fb84162ef3eb","4de53192-9946-11eb-9cee-da7ad0900002","1302282c-b93b-11eb-a436-da7ad0900002","17d73994-7531-11eb-94b9-da7ad0900002"],"author_name":"Qin Chen","template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"v24-rpz-c84","title":"tf-TestAccDatadogDashboardQueryValueFormula-local-1621866546","url":"/dashboard/v24-rpz-c84/tf-testaccdatadogdashboardqueryvalueformula-local-1621866546","created_at":"2021-05-24T14:29:08.000674+00:00","modified_at":"2021-05-24T14:29:08.000674+00:00","author_handle":"qin.chen@datadoghq.com","widgets":[{"definition":{"type":"query_value","requests":[{"formulas":[{"formula":"query1 + query2","limit":{"count":10,"order":"asc"}}],"response_format":"scalar","queries":[{"aggregator":"sum","data_source":"metrics","name":"query1","query":"avg:system.cpu.system{*} by {datacenter}"},{"aggregator":"sum","data_source":"metrics","name":"query2","query":"avg:system.load.1{*} by {datacenter}"}]}],"autoscale":false,"precision":0},"id":4802306324114774},{"definition":{"type":"query_value","requests":[{"formulas":[{"formula":"query1","limit":{"count":25,"order":"desc"}}],"response_format":"scalar","queries":[{"data_source":"rum","compute":{"aggregation":"count"},"name":"query1","indexes":["*"]}]}],"autoscale":false,"precision":0},"id":5322478081247786}],"layout_type":"ordered"}' headers: Cache-Control: - no-cache @@ -112,7 +112,7 @@ interactions: Content-Type: - application/json Date: - - Thu, 25 Feb 2021 23:39:12 GMT + - Mon, 24 May 2021 14:29:08 GMT Pragma: - no-cache Strict-Transport-Security: @@ -122,9 +122,9 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Debug: - - bgHykj7A9bfZx0Y5ZO3swhhp5tGUSNJHqFWR868+qg087CYrDOd5hQslC+noiEtH + - nLnnBNvlCFDECRnZvzDb0z4sAO35G+IMidcAs8vrCKyjvsKWE8Yd9S3n6OjZ1qRN X-Dd-Version: - - "35.3986175" + - "35.4593741" X-Frame-Options: - SAMEORIGIN status: 200 OK @@ -139,11 +139,11 @@ interactions: Dd-Operation-Id: - GetDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.16+dev (go go1.15.6; os darwin; arch amd64) - url: https://api.datadoghq.com/api/v1/dashboard/6gt-3rp-fj2 + - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) + url: https://api.datadoghq.com/api/v1/dashboard/v24-rpz-c84 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":"6gt-3rp-fj2","title":"tf-TestAccDatadogDashboardQueryValueFormula-local-1614296348","url":"/dashboard/6gt-3rp-fj2/tf-testaccdatadogdashboardqueryvalueformula-local-1614296348","created_at":"2021-02-25T23:39:08.959260+00:00","modified_at":"2021-02-25T23:39:08.959260+00:00","author_handle":"frog@datadoghq.com","widgets":[{"definition":{"type":"query_value","requests":[{"formulas":[{"formula":"query1 + query2","limit":{"count":10,"order":"asc"}}],"response_format":"scalar","queries":[{"aggregator":"sum","data_source":"metrics","name":"query1","query":"avg:system.cpu.system{*} by {datacenter}"},{"aggregator":"sum","data_source":"metrics","name":"query2","query":"avg:system.load.1{*} by {datacenter}"}]}],"autoscale":false,"precision":0},"id":6851875718636234},{"definition":{"type":"query_value","requests":[{"formulas":[{"formula":"query1","limit":{"count":25,"order":"desc"}}],"response_format":"scalar","queries":[{"data_source":"rum","compute":{"aggregation":"count"},"name":"query1","indexes":["*"]}]}],"autoscale":false,"precision":0},"id":6640188580202253}],"layout_type":"ordered"}' + body: '{"notify_list":[],"description":"Created using the Datadog provider in Terraform","restricted_roles":["284d8b66-93f9-11eb-9c37-da7ad0900002","043a2842-e140-11e8-bb04-7fd10177666e","657de3a2-29f8-11eb-83b5-6b8ebfb2f184","e82bf27a-986c-11eb-9cba-da7ad0900002","f257ba30-dbb2-11ea-a5ff-5fd1d308318a","6bf314be-5c16-11eb-8e98-2356ea436065","62cbc476-5c16-11eb-8e98-0388ea7a41f8","08604de8-1dca-11eb-800c-9f5f55ff734d","9b3ab170-b768-11eb-a45a-da7ad0900002","7a83f306-96ca-11eb-9c74-da7ad0900002","16169788-28e4-11eb-832c-fb84162ef3eb","4de53192-9946-11eb-9cee-da7ad0900002","1302282c-b93b-11eb-a436-da7ad0900002","17d73994-7531-11eb-94b9-da7ad0900002"],"author_name":"Qin Chen","template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"v24-rpz-c84","title":"tf-TestAccDatadogDashboardQueryValueFormula-local-1621866546","url":"/dashboard/v24-rpz-c84/tf-testaccdatadogdashboardqueryvalueformula-local-1621866546","created_at":"2021-05-24T14:29:08.000674+00:00","modified_at":"2021-05-24T14:29:08.000674+00:00","author_handle":"qin.chen@datadoghq.com","widgets":[{"definition":{"type":"query_value","requests":[{"formulas":[{"formula":"query1 + query2","limit":{"count":10,"order":"asc"}}],"response_format":"scalar","queries":[{"aggregator":"sum","data_source":"metrics","name":"query1","query":"avg:system.cpu.system{*} by {datacenter}"},{"aggregator":"sum","data_source":"metrics","name":"query2","query":"avg:system.load.1{*} by {datacenter}"}]}],"autoscale":false,"precision":0},"id":4802306324114774},{"definition":{"type":"query_value","requests":[{"formulas":[{"formula":"query1","limit":{"count":25,"order":"desc"}}],"response_format":"scalar","queries":[{"data_source":"rum","compute":{"aggregation":"count"},"name":"query1","indexes":["*"]}]}],"autoscale":false,"precision":0},"id":5322478081247786}],"layout_type":"ordered"}' headers: Cache-Control: - no-cache @@ -154,7 +154,7 @@ interactions: Content-Type: - application/json Date: - - Thu, 25 Feb 2021 23:39:13 GMT + - Mon, 24 May 2021 14:29:09 GMT Pragma: - no-cache Strict-Transport-Security: @@ -164,9 +164,9 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Debug: - - gYZcaADwbKcv7Hm19HJx6WsLoKuOijDWAt2viPeCfWqUgyKY+9e1xZdmMJeXV3YV + - F5gm0Rce1/Abr9/0Fw8HAqWfiz0FdiH8er/AXnN6lOn3L6KyGgbsLCwgPlob1No8 X-Dd-Version: - - "35.3986175" + - "35.4593741" X-Frame-Options: - SAMEORIGIN status: 200 OK @@ -181,11 +181,11 @@ interactions: Dd-Operation-Id: - GetDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.16+dev (go go1.15.6; os darwin; arch amd64) - url: https://api.datadoghq.com/api/v1/dashboard/6gt-3rp-fj2 + - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) + url: https://api.datadoghq.com/api/v1/dashboard/v24-rpz-c84 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":"6gt-3rp-fj2","title":"tf-TestAccDatadogDashboardQueryValueFormula-local-1614296348","url":"/dashboard/6gt-3rp-fj2/tf-testaccdatadogdashboardqueryvalueformula-local-1614296348","created_at":"2021-02-25T23:39:08.959260+00:00","modified_at":"2021-02-25T23:39:08.959260+00:00","author_handle":"frog@datadoghq.com","widgets":[{"definition":{"type":"query_value","requests":[{"formulas":[{"formula":"query1 + query2","limit":{"count":10,"order":"asc"}}],"response_format":"scalar","queries":[{"aggregator":"sum","data_source":"metrics","name":"query1","query":"avg:system.cpu.system{*} by {datacenter}"},{"aggregator":"sum","data_source":"metrics","name":"query2","query":"avg:system.load.1{*} by {datacenter}"}]}],"autoscale":false,"precision":0},"id":6851875718636234},{"definition":{"type":"query_value","requests":[{"formulas":[{"formula":"query1","limit":{"count":25,"order":"desc"}}],"response_format":"scalar","queries":[{"data_source":"rum","compute":{"aggregation":"count"},"name":"query1","indexes":["*"]}]}],"autoscale":false,"precision":0},"id":6640188580202253}],"layout_type":"ordered"}' + body: '{"notify_list":[],"description":"Created using the Datadog provider in Terraform","restricted_roles":["284d8b66-93f9-11eb-9c37-da7ad0900002","043a2842-e140-11e8-bb04-7fd10177666e","657de3a2-29f8-11eb-83b5-6b8ebfb2f184","e82bf27a-986c-11eb-9cba-da7ad0900002","f257ba30-dbb2-11ea-a5ff-5fd1d308318a","6bf314be-5c16-11eb-8e98-2356ea436065","62cbc476-5c16-11eb-8e98-0388ea7a41f8","08604de8-1dca-11eb-800c-9f5f55ff734d","9b3ab170-b768-11eb-a45a-da7ad0900002","7a83f306-96ca-11eb-9c74-da7ad0900002","16169788-28e4-11eb-832c-fb84162ef3eb","4de53192-9946-11eb-9cee-da7ad0900002","1302282c-b93b-11eb-a436-da7ad0900002","17d73994-7531-11eb-94b9-da7ad0900002"],"author_name":"Qin Chen","template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"v24-rpz-c84","title":"tf-TestAccDatadogDashboardQueryValueFormula-local-1621866546","url":"/dashboard/v24-rpz-c84/tf-testaccdatadogdashboardqueryvalueformula-local-1621866546","created_at":"2021-05-24T14:29:08.000674+00:00","modified_at":"2021-05-24T14:29:08.000674+00:00","author_handle":"qin.chen@datadoghq.com","widgets":[{"definition":{"type":"query_value","requests":[{"formulas":[{"formula":"query1 + query2","limit":{"count":10,"order":"asc"}}],"response_format":"scalar","queries":[{"aggregator":"sum","data_source":"metrics","name":"query1","query":"avg:system.cpu.system{*} by {datacenter}"},{"aggregator":"sum","data_source":"metrics","name":"query2","query":"avg:system.load.1{*} by {datacenter}"}]}],"autoscale":false,"precision":0},"id":4802306324114774},{"definition":{"type":"query_value","requests":[{"formulas":[{"formula":"query1","limit":{"count":25,"order":"desc"}}],"response_format":"scalar","queries":[{"data_source":"rum","compute":{"aggregation":"count"},"name":"query1","indexes":["*"]}]}],"autoscale":false,"precision":0},"id":5322478081247786}],"layout_type":"ordered"}' headers: Cache-Control: - no-cache @@ -196,7 +196,7 @@ interactions: Content-Type: - application/json Date: - - Thu, 25 Feb 2021 23:39:13 GMT + - Mon, 24 May 2021 14:29:10 GMT Pragma: - no-cache Strict-Transport-Security: @@ -206,9 +206,9 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Debug: - - bgHykj7A9bfZx0Y5ZO3swhhp5tGUSNJHqFWR868+qg087CYrDOd5hQslC+noiEtH + - Um4CoU685QqAscnxhS5BD+goWu2yX1Jd4zCfGzSsEvPPIm1qURZaF8dlLl/OEY4I X-Dd-Version: - - "35.3986175" + - "35.4593741" X-Frame-Options: - SAMEORIGIN status: 200 OK @@ -223,11 +223,11 @@ interactions: Dd-Operation-Id: - DeleteDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.16+dev (go go1.15.6; os darwin; arch amd64) - url: https://api.datadoghq.com/api/v1/dashboard/6gt-3rp-fj2 + - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) + url: https://api.datadoghq.com/api/v1/dashboard/v24-rpz-c84 method: DELETE response: - body: '{"deleted_dashboard_id":"6gt-3rp-fj2"}' + body: '{"deleted_dashboard_id":"v24-rpz-c84"}' headers: Cache-Control: - no-cache @@ -238,7 +238,7 @@ interactions: Content-Type: - application/json Date: - - Thu, 25 Feb 2021 23:39:13 GMT + - Mon, 24 May 2021 14:29:10 GMT Pragma: - no-cache Strict-Transport-Security: @@ -248,9 +248,9 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Debug: - - PhosSd3Ch1B6B0DXI71steKUi7XhPDttnPiIP1NdXTw0VJNWpoUnYyBmODS5ne3q + - l4HFlaRP3QwYSqoGKhzbYfv7zgkK63HIRR7YkyVYZspq0lGjjTBwoK8V/alf+XYt X-Dd-Version: - - "35.3986175" + - "35.4593741" X-Frame-Options: - SAMEORIGIN status: 200 OK @@ -265,11 +265,11 @@ interactions: Dd-Operation-Id: - GetDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.16+dev (go go1.15.6; os darwin; arch amd64) - url: https://api.datadoghq.com/api/v1/dashboard/6gt-3rp-fj2 + - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) + url: https://api.datadoghq.com/api/v1/dashboard/v24-rpz-c84 method: GET response: - body: '{"errors": ["Dashboard with ID 6gt-3rp-fj2 not found"]}' + body: '{"errors": ["Dashboard with ID v24-rpz-c84 not found"]}' headers: Cache-Control: - no-cache @@ -280,7 +280,7 @@ interactions: Content-Type: - application/json Date: - - Thu, 25 Feb 2021 23:39:13 GMT + - Mon, 24 May 2021 14:29:10 GMT Pragma: - no-cache Strict-Transport-Security: @@ -290,7 +290,7 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Version: - - "35.3986175" + - "35.4593741" X-Frame-Options: - SAMEORIGIN status: 404 Not Found diff --git a/datadog/tests/cassettes/TestAccDatadogDashboardQueryValueFormula_import.freeze b/datadog/tests/cassettes/TestAccDatadogDashboardQueryValueFormula_import.freeze index 3f789bf39..52fa3f2ce 100644 --- a/datadog/tests/cassettes/TestAccDatadogDashboardQueryValueFormula_import.freeze +++ b/datadog/tests/cassettes/TestAccDatadogDashboardQueryValueFormula_import.freeze @@ -1 +1 @@ -2021-02-25T18:39:08.086824-05:00 \ No newline at end of file +2021-05-24T10:37:36.384652-04:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogDashboardQueryValueFormula_import.yaml b/datadog/tests/cassettes/TestAccDatadogDashboardQueryValueFormula_import.yaml index a5f76c46c..8d1121935 100644 --- a/datadog/tests/cassettes/TestAccDatadogDashboardQueryValueFormula_import.yaml +++ b/datadog/tests/cassettes/TestAccDatadogDashboardQueryValueFormula_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-TestAccDatadogDashboardQueryValueFormula_import-local-1614296348","widgets":[{"definition":{"autoscale":false,"precision":0,"requests":[{"formulas":[{"formula":"query1 + query2","limit":{"count":10,"order":"asc"}}],"queries":[{"aggregator":"sum","data_source":"metrics","name":"query1","query":"avg:system.cpu.system{*} by {datacenter}"},{"aggregator":"sum","data_source":"metrics","name":"query2","query":"avg:system.load.1{*} by {datacenter}"}],"response_format":"scalar"}],"type":"query_value"}},{"definition":{"autoscale":false,"precision":0,"requests":[{"formulas":[{"formula":"query1","limit":{"count":25,"order":"desc"}}],"queries":[{"compute":{"aggregation":"count"},"data_source":"rum","indexes":["*"],"name":"query1"}],"response_format":"scalar"}],"type":"query_value"}}]} + {"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-TestAccDatadogDashboardQueryValueFormula_import-local-1621866546","widgets":[{"definition":{"autoscale":false,"precision":0,"requests":[{"formulas":[{"formula":"query1 + query2","limit":{"count":10,"order":"asc"}}],"queries":[{"aggregator":"sum","data_source":"metrics","name":"query1","query":"avg:system.cpu.system{*} by {datacenter}"},{"aggregator":"sum","data_source":"metrics","name":"query2","query":"avg:system.load.1{*} by {datacenter}"}],"response_format":"scalar"}],"type":"query_value"}},{"definition":{"autoscale":false,"precision":0,"requests":[{"formulas":[{"formula":"query1","limit":{"count":25,"order":"desc"}}],"queries":[{"compute":{"aggregation":"count"},"data_source":"rum","indexes":["*"],"name":"query1"}],"response_format":"scalar"}],"type":"query_value"}}]} form: {} headers: Accept: @@ -13,11 +13,11 @@ interactions: Dd-Operation-Id: - CreateDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.16+dev (go go1.15.6; os darwin; arch amd64) + - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) 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":"7fq-hc7-w8z","title":"tf-TestAccDatadogDashboardQueryValueFormula_import-local-1614296348","url":"/dashboard/7fq-hc7-w8z/tf-testaccdatadogdashboardqueryvalueformulaimport-local-1614296348","created_at":"2021-02-25T23:39:08.962468+00:00","modified_at":"2021-02-25T23:39:08.962468+00:00","author_handle":"frog@datadoghq.com","widgets":[{"definition":{"type":"query_value","requests":[{"formulas":[{"formula":"query1 + query2","limit":{"count":10,"order":"asc"}}],"response_format":"scalar","queries":[{"aggregator":"sum","data_source":"metrics","name":"query1","query":"avg:system.cpu.system{*} by {datacenter}"},{"aggregator":"sum","data_source":"metrics","name":"query2","query":"avg:system.load.1{*} by {datacenter}"}]}],"autoscale":false,"precision":0},"id":3695516588483057},{"definition":{"type":"query_value","requests":[{"formulas":[{"formula":"query1","limit":{"count":25,"order":"desc"}}],"response_format":"scalar","queries":[{"data_source":"rum","compute":{"aggregation":"count"},"name":"query1","indexes":["*"]}]}],"autoscale":false,"precision":0},"id":35421410005026}],"layout_type":"ordered"}' + body: '{"notify_list":[],"description":"Created using the Datadog provider in Terraform","restricted_roles":["043a2842-e140-11e8-bb04-7fd10177666e","08604de8-1dca-11eb-800c-9f5f55ff734d","1302282c-b93b-11eb-a436-da7ad0900002","16169788-28e4-11eb-832c-fb84162ef3eb","17d73994-7531-11eb-94b9-da7ad0900002","284d8b66-93f9-11eb-9c37-da7ad0900002","4de53192-9946-11eb-9cee-da7ad0900002","62cbc476-5c16-11eb-8e98-0388ea7a41f8","657de3a2-29f8-11eb-83b5-6b8ebfb2f184","6bf314be-5c16-11eb-8e98-2356ea436065","7a83f306-96ca-11eb-9c74-da7ad0900002","9b3ab170-b768-11eb-a45a-da7ad0900002","e82bf27a-986c-11eb-9cba-da7ad0900002","f257ba30-dbb2-11ea-a5ff-5fd1d308318a"],"author_name":"Qin Chen","template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"u4t-b58-rsh","title":"tf-TestAccDatadogDashboardQueryValueFormula_import-local-1621866546","url":"/dashboard/u4t-b58-rsh/tf-testaccdatadogdashboardqueryvalueformulaimport-local-1621866546","created_at":"2021-05-24T14:29:07.997598+00:00","modified_at":"2021-05-24T14:29:07.997598+00:00","author_handle":"qin.chen@datadoghq.com","widgets":[{"definition":{"type":"query_value","requests":[{"formulas":[{"formula":"query1 + query2","limit":{"count":10,"order":"asc"}}],"response_format":"scalar","queries":[{"aggregator":"sum","data_source":"metrics","name":"query1","query":"avg:system.cpu.system{*} by {datacenter}"},{"aggregator":"sum","data_source":"metrics","name":"query2","query":"avg:system.load.1{*} by {datacenter}"}]}],"autoscale":false,"precision":0},"id":8719702129204699},{"definition":{"type":"query_value","requests":[{"formulas":[{"formula":"query1","limit":{"count":25,"order":"desc"}}],"response_format":"scalar","queries":[{"data_source":"rum","compute":{"aggregation":"count"},"name":"query1","indexes":["*"]}]}],"autoscale":false,"precision":0},"id":8439038873460776}],"layout_type":"ordered"}' headers: Cache-Control: - no-cache @@ -28,7 +28,7 @@ interactions: Content-Type: - application/json Date: - - Thu, 25 Feb 2021 23:39:12 GMT + - Mon, 24 May 2021 14:29:08 GMT Pragma: - no-cache Strict-Transport-Security: @@ -38,9 +38,9 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Debug: - - twvpGlmuom5y6A0pjGtXzTf554cmwJgTcCZ71fK4H/RDi+v5ehBK0zQiRcTJQG5C + - S1wfaMZOKGT/IoMw6fqAwAwGWo2vQ44sjF3YzuETnQfxZO2T5eJbs0aX3UKb9Dwu X-Dd-Version: - - "35.3986175" + - "35.4593741" X-Frame-Options: - SAMEORIGIN status: 200 OK @@ -55,11 +55,11 @@ interactions: Dd-Operation-Id: - GetDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.16+dev (go go1.15.6; os darwin; arch amd64) - url: https://api.datadoghq.com/api/v1/dashboard/7fq-hc7-w8z + - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) + url: https://api.datadoghq.com/api/v1/dashboard/u4t-b58-rsh 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":"7fq-hc7-w8z","title":"tf-TestAccDatadogDashboardQueryValueFormula_import-local-1614296348","url":"/dashboard/7fq-hc7-w8z/tf-testaccdatadogdashboardqueryvalueformulaimport-local-1614296348","created_at":"2021-02-25T23:39:08.962468+00:00","modified_at":"2021-02-25T23:39:08.962468+00:00","author_handle":"frog@datadoghq.com","widgets":[{"definition":{"type":"query_value","requests":[{"formulas":[{"formula":"query1 + query2","limit":{"count":10,"order":"asc"}}],"response_format":"scalar","queries":[{"aggregator":"sum","data_source":"metrics","name":"query1","query":"avg:system.cpu.system{*} by {datacenter}"},{"aggregator":"sum","data_source":"metrics","name":"query2","query":"avg:system.load.1{*} by {datacenter}"}]}],"autoscale":false,"precision":0},"id":3695516588483057},{"definition":{"type":"query_value","requests":[{"formulas":[{"formula":"query1","limit":{"count":25,"order":"desc"}}],"response_format":"scalar","queries":[{"data_source":"rum","compute":{"aggregation":"count"},"name":"query1","indexes":["*"]}]}],"autoscale":false,"precision":0},"id":35421410005026}],"layout_type":"ordered"}' + body: '{"notify_list":[],"description":"Created using the Datadog provider in Terraform","restricted_roles":["284d8b66-93f9-11eb-9c37-da7ad0900002","043a2842-e140-11e8-bb04-7fd10177666e","657de3a2-29f8-11eb-83b5-6b8ebfb2f184","e82bf27a-986c-11eb-9cba-da7ad0900002","f257ba30-dbb2-11ea-a5ff-5fd1d308318a","6bf314be-5c16-11eb-8e98-2356ea436065","62cbc476-5c16-11eb-8e98-0388ea7a41f8","08604de8-1dca-11eb-800c-9f5f55ff734d","9b3ab170-b768-11eb-a45a-da7ad0900002","7a83f306-96ca-11eb-9c74-da7ad0900002","16169788-28e4-11eb-832c-fb84162ef3eb","4de53192-9946-11eb-9cee-da7ad0900002","1302282c-b93b-11eb-a436-da7ad0900002","17d73994-7531-11eb-94b9-da7ad0900002"],"author_name":"Qin Chen","template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"u4t-b58-rsh","title":"tf-TestAccDatadogDashboardQueryValueFormula_import-local-1621866546","url":"/dashboard/u4t-b58-rsh/tf-testaccdatadogdashboardqueryvalueformulaimport-local-1621866546","created_at":"2021-05-24T14:29:07.997598+00:00","modified_at":"2021-05-24T14:29:07.997598+00:00","author_handle":"qin.chen@datadoghq.com","widgets":[{"definition":{"type":"query_value","requests":[{"formulas":[{"formula":"query1 + query2","limit":{"count":10,"order":"asc"}}],"response_format":"scalar","queries":[{"aggregator":"sum","data_source":"metrics","name":"query1","query":"avg:system.cpu.system{*} by {datacenter}"},{"aggregator":"sum","data_source":"metrics","name":"query2","query":"avg:system.load.1{*} by {datacenter}"}]}],"autoscale":false,"precision":0},"id":8719702129204699},{"definition":{"type":"query_value","requests":[{"formulas":[{"formula":"query1","limit":{"count":25,"order":"desc"}}],"response_format":"scalar","queries":[{"data_source":"rum","compute":{"aggregation":"count"},"name":"query1","indexes":["*"]}]}],"autoscale":false,"precision":0},"id":8439038873460776}],"layout_type":"ordered"}' headers: Cache-Control: - no-cache @@ -70,7 +70,7 @@ interactions: Content-Type: - application/json Date: - - Thu, 25 Feb 2021 23:39:12 GMT + - Mon, 24 May 2021 14:29:08 GMT Pragma: - no-cache Strict-Transport-Security: @@ -80,9 +80,9 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Debug: - - tpRCH6w417YjBovRJ8VmtuXmNONVYiRp2c8d2AxjPdGBn8PCtgG4vAztrx3qUZAN + - SY1h8ScsWq+kYmtbh63ltMLFAZsQjqfrgvdfAoRX+9TzT1sgMBRYaFRwfWWRRe9a X-Dd-Version: - - "35.3986175" + - "35.4593741" X-Frame-Options: - SAMEORIGIN status: 200 OK @@ -97,11 +97,11 @@ interactions: Dd-Operation-Id: - GetDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.16+dev (go go1.15.6; os darwin; arch amd64) - url: https://api.datadoghq.com/api/v1/dashboard/7fq-hc7-w8z + - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) + url: https://api.datadoghq.com/api/v1/dashboard/u4t-b58-rsh 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":"7fq-hc7-w8z","title":"tf-TestAccDatadogDashboardQueryValueFormula_import-local-1614296348","url":"/dashboard/7fq-hc7-w8z/tf-testaccdatadogdashboardqueryvalueformulaimport-local-1614296348","created_at":"2021-02-25T23:39:08.962468+00:00","modified_at":"2021-02-25T23:39:08.962468+00:00","author_handle":"frog@datadoghq.com","widgets":[{"definition":{"type":"query_value","requests":[{"formulas":[{"formula":"query1 + query2","limit":{"count":10,"order":"asc"}}],"response_format":"scalar","queries":[{"aggregator":"sum","data_source":"metrics","name":"query1","query":"avg:system.cpu.system{*} by {datacenter}"},{"aggregator":"sum","data_source":"metrics","name":"query2","query":"avg:system.load.1{*} by {datacenter}"}]}],"autoscale":false,"precision":0},"id":3695516588483057},{"definition":{"type":"query_value","requests":[{"formulas":[{"formula":"query1","limit":{"count":25,"order":"desc"}}],"response_format":"scalar","queries":[{"data_source":"rum","compute":{"aggregation":"count"},"name":"query1","indexes":["*"]}]}],"autoscale":false,"precision":0},"id":35421410005026}],"layout_type":"ordered"}' + body: '{"notify_list":[],"description":"Created using the Datadog provider in Terraform","restricted_roles":["284d8b66-93f9-11eb-9c37-da7ad0900002","043a2842-e140-11e8-bb04-7fd10177666e","657de3a2-29f8-11eb-83b5-6b8ebfb2f184","e82bf27a-986c-11eb-9cba-da7ad0900002","f257ba30-dbb2-11ea-a5ff-5fd1d308318a","6bf314be-5c16-11eb-8e98-2356ea436065","62cbc476-5c16-11eb-8e98-0388ea7a41f8","08604de8-1dca-11eb-800c-9f5f55ff734d","9b3ab170-b768-11eb-a45a-da7ad0900002","7a83f306-96ca-11eb-9c74-da7ad0900002","16169788-28e4-11eb-832c-fb84162ef3eb","4de53192-9946-11eb-9cee-da7ad0900002","1302282c-b93b-11eb-a436-da7ad0900002","17d73994-7531-11eb-94b9-da7ad0900002"],"author_name":"Qin Chen","template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"u4t-b58-rsh","title":"tf-TestAccDatadogDashboardQueryValueFormula_import-local-1621866546","url":"/dashboard/u4t-b58-rsh/tf-testaccdatadogdashboardqueryvalueformulaimport-local-1621866546","created_at":"2021-05-24T14:29:07.997598+00:00","modified_at":"2021-05-24T14:29:07.997598+00:00","author_handle":"qin.chen@datadoghq.com","widgets":[{"definition":{"type":"query_value","requests":[{"formulas":[{"formula":"query1 + query2","limit":{"count":10,"order":"asc"}}],"response_format":"scalar","queries":[{"aggregator":"sum","data_source":"metrics","name":"query1","query":"avg:system.cpu.system{*} by {datacenter}"},{"aggregator":"sum","data_source":"metrics","name":"query2","query":"avg:system.load.1{*} by {datacenter}"}]}],"autoscale":false,"precision":0},"id":8719702129204699},{"definition":{"type":"query_value","requests":[{"formulas":[{"formula":"query1","limit":{"count":25,"order":"desc"}}],"response_format":"scalar","queries":[{"data_source":"rum","compute":{"aggregation":"count"},"name":"query1","indexes":["*"]}]}],"autoscale":false,"precision":0},"id":8439038873460776}],"layout_type":"ordered"}' headers: Cache-Control: - no-cache @@ -112,7 +112,7 @@ interactions: Content-Type: - application/json Date: - - Thu, 25 Feb 2021 23:39:13 GMT + - Mon, 24 May 2021 14:29:09 GMT Pragma: - no-cache Strict-Transport-Security: @@ -122,9 +122,9 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Debug: - - vdJ3/nHEY1ioXQ6pQrBVvsQK1s4yyc+wufBMPSoXql71qZVuP/xMdtNo6DafhOAk + - 5gfwVh/5HZ+AnGd/Di93w3NEWC6KMHT9KzmHEiRJmNdOjBtAsbOcgVFyqEChw71h X-Dd-Version: - - "35.3986175" + - "35.4593741" X-Frame-Options: - SAMEORIGIN status: 200 OK @@ -139,11 +139,11 @@ interactions: Dd-Operation-Id: - GetDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.16+dev (go go1.15.6; os darwin; arch amd64) - url: https://api.datadoghq.com/api/v1/dashboard/7fq-hc7-w8z + - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) + url: https://api.datadoghq.com/api/v1/dashboard/u4t-b58-rsh 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":"7fq-hc7-w8z","title":"tf-TestAccDatadogDashboardQueryValueFormula_import-local-1614296348","url":"/dashboard/7fq-hc7-w8z/tf-testaccdatadogdashboardqueryvalueformulaimport-local-1614296348","created_at":"2021-02-25T23:39:08.962468+00:00","modified_at":"2021-02-25T23:39:08.962468+00:00","author_handle":"frog@datadoghq.com","widgets":[{"definition":{"type":"query_value","requests":[{"formulas":[{"formula":"query1 + query2","limit":{"count":10,"order":"asc"}}],"response_format":"scalar","queries":[{"aggregator":"sum","data_source":"metrics","name":"query1","query":"avg:system.cpu.system{*} by {datacenter}"},{"aggregator":"sum","data_source":"metrics","name":"query2","query":"avg:system.load.1{*} by {datacenter}"}]}],"autoscale":false,"precision":0},"id":3695516588483057},{"definition":{"type":"query_value","requests":[{"formulas":[{"formula":"query1","limit":{"count":25,"order":"desc"}}],"response_format":"scalar","queries":[{"data_source":"rum","compute":{"aggregation":"count"},"name":"query1","indexes":["*"]}]}],"autoscale":false,"precision":0},"id":35421410005026}],"layout_type":"ordered"}' + body: '{"notify_list":[],"description":"Created using the Datadog provider in Terraform","restricted_roles":["284d8b66-93f9-11eb-9c37-da7ad0900002","043a2842-e140-11e8-bb04-7fd10177666e","657de3a2-29f8-11eb-83b5-6b8ebfb2f184","e82bf27a-986c-11eb-9cba-da7ad0900002","f257ba30-dbb2-11ea-a5ff-5fd1d308318a","6bf314be-5c16-11eb-8e98-2356ea436065","62cbc476-5c16-11eb-8e98-0388ea7a41f8","08604de8-1dca-11eb-800c-9f5f55ff734d","9b3ab170-b768-11eb-a45a-da7ad0900002","7a83f306-96ca-11eb-9c74-da7ad0900002","16169788-28e4-11eb-832c-fb84162ef3eb","4de53192-9946-11eb-9cee-da7ad0900002","1302282c-b93b-11eb-a436-da7ad0900002","17d73994-7531-11eb-94b9-da7ad0900002"],"author_name":"Qin Chen","template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"u4t-b58-rsh","title":"tf-TestAccDatadogDashboardQueryValueFormula_import-local-1621866546","url":"/dashboard/u4t-b58-rsh/tf-testaccdatadogdashboardqueryvalueformulaimport-local-1621866546","created_at":"2021-05-24T14:29:07.997598+00:00","modified_at":"2021-05-24T14:29:07.997598+00:00","author_handle":"qin.chen@datadoghq.com","widgets":[{"definition":{"type":"query_value","requests":[{"formulas":[{"formula":"query1 + query2","limit":{"count":10,"order":"asc"}}],"response_format":"scalar","queries":[{"aggregator":"sum","data_source":"metrics","name":"query1","query":"avg:system.cpu.system{*} by {datacenter}"},{"aggregator":"sum","data_source":"metrics","name":"query2","query":"avg:system.load.1{*} by {datacenter}"}]}],"autoscale":false,"precision":0},"id":8719702129204699},{"definition":{"type":"query_value","requests":[{"formulas":[{"formula":"query1","limit":{"count":25,"order":"desc"}}],"response_format":"scalar","queries":[{"data_source":"rum","compute":{"aggregation":"count"},"name":"query1","indexes":["*"]}]}],"autoscale":false,"precision":0},"id":8439038873460776}],"layout_type":"ordered"}' headers: Cache-Control: - no-cache @@ -154,7 +154,7 @@ interactions: Content-Type: - application/json Date: - - Thu, 25 Feb 2021 23:39:13 GMT + - Mon, 24 May 2021 14:29:09 GMT Pragma: - no-cache Strict-Transport-Security: @@ -164,9 +164,9 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Debug: - - B1nwy/pPNqX+q4pQT22cdp1QCexE35IF8qwSHy0Nf7IW0Y881qtn4tXN1lpmzaKc + - 5gfwVh/5HZ+AnGd/Di93w3NEWC6KMHT9KzmHEiRJmNdOjBtAsbOcgVFyqEChw71h X-Dd-Version: - - "35.3986175" + - "35.4593741" X-Frame-Options: - SAMEORIGIN status: 200 OK @@ -181,11 +181,11 @@ interactions: Dd-Operation-Id: - GetDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.16+dev (go go1.15.6; os darwin; arch amd64) - url: https://api.datadoghq.com/api/v1/dashboard/7fq-hc7-w8z + - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) + url: https://api.datadoghq.com/api/v1/dashboard/u4t-b58-rsh 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":"7fq-hc7-w8z","title":"tf-TestAccDatadogDashboardQueryValueFormula_import-local-1614296348","url":"/dashboard/7fq-hc7-w8z/tf-testaccdatadogdashboardqueryvalueformulaimport-local-1614296348","created_at":"2021-02-25T23:39:08.962468+00:00","modified_at":"2021-02-25T23:39:08.962468+00:00","author_handle":"frog@datadoghq.com","widgets":[{"definition":{"type":"query_value","requests":[{"formulas":[{"formula":"query1 + query2","limit":{"count":10,"order":"asc"}}],"response_format":"scalar","queries":[{"aggregator":"sum","data_source":"metrics","name":"query1","query":"avg:system.cpu.system{*} by {datacenter}"},{"aggregator":"sum","data_source":"metrics","name":"query2","query":"avg:system.load.1{*} by {datacenter}"}]}],"autoscale":false,"precision":0},"id":3695516588483057},{"definition":{"type":"query_value","requests":[{"formulas":[{"formula":"query1","limit":{"count":25,"order":"desc"}}],"response_format":"scalar","queries":[{"data_source":"rum","compute":{"aggregation":"count"},"name":"query1","indexes":["*"]}]}],"autoscale":false,"precision":0},"id":35421410005026}],"layout_type":"ordered"}' + body: '{"notify_list":[],"description":"Created using the Datadog provider in Terraform","restricted_roles":["284d8b66-93f9-11eb-9c37-da7ad0900002","043a2842-e140-11e8-bb04-7fd10177666e","657de3a2-29f8-11eb-83b5-6b8ebfb2f184","e82bf27a-986c-11eb-9cba-da7ad0900002","f257ba30-dbb2-11ea-a5ff-5fd1d308318a","6bf314be-5c16-11eb-8e98-2356ea436065","62cbc476-5c16-11eb-8e98-0388ea7a41f8","08604de8-1dca-11eb-800c-9f5f55ff734d","9b3ab170-b768-11eb-a45a-da7ad0900002","7a83f306-96ca-11eb-9c74-da7ad0900002","16169788-28e4-11eb-832c-fb84162ef3eb","4de53192-9946-11eb-9cee-da7ad0900002","1302282c-b93b-11eb-a436-da7ad0900002","17d73994-7531-11eb-94b9-da7ad0900002"],"author_name":"Qin Chen","template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"u4t-b58-rsh","title":"tf-TestAccDatadogDashboardQueryValueFormula_import-local-1621866546","url":"/dashboard/u4t-b58-rsh/tf-testaccdatadogdashboardqueryvalueformulaimport-local-1621866546","created_at":"2021-05-24T14:29:07.997598+00:00","modified_at":"2021-05-24T14:29:07.997598+00:00","author_handle":"qin.chen@datadoghq.com","widgets":[{"definition":{"type":"query_value","requests":[{"formulas":[{"formula":"query1 + query2","limit":{"count":10,"order":"asc"}}],"response_format":"scalar","queries":[{"aggregator":"sum","data_source":"metrics","name":"query1","query":"avg:system.cpu.system{*} by {datacenter}"},{"aggregator":"sum","data_source":"metrics","name":"query2","query":"avg:system.load.1{*} by {datacenter}"}]}],"autoscale":false,"precision":0},"id":8719702129204699},{"definition":{"type":"query_value","requests":[{"formulas":[{"formula":"query1","limit":{"count":25,"order":"desc"}}],"response_format":"scalar","queries":[{"data_source":"rum","compute":{"aggregation":"count"},"name":"query1","indexes":["*"]}]}],"autoscale":false,"precision":0},"id":8439038873460776}],"layout_type":"ordered"}' headers: Cache-Control: - no-cache @@ -196,7 +196,7 @@ interactions: Content-Type: - application/json Date: - - Thu, 25 Feb 2021 23:39:13 GMT + - Mon, 24 May 2021 14:29:10 GMT Pragma: - no-cache Strict-Transport-Security: @@ -206,9 +206,9 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Debug: - - S1wfaMZOKGT/IoMw6fqAwAwGWo2vQ44sjF3YzuETnQfxZO2T5eJbs0aX3UKb9Dwu + - dPySkcOzIZtKyMKDAAzuysY3gNGGj6RtYogGuSb76E8mPvoqzREyRp6lPYm91hQU X-Dd-Version: - - "35.3986175" + - "35.4593741" X-Frame-Options: - SAMEORIGIN status: 200 OK @@ -223,11 +223,11 @@ interactions: Dd-Operation-Id: - GetDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.16+dev (go go1.15.6; os darwin; arch amd64) - url: https://api.datadoghq.com/api/v1/dashboard/7fq-hc7-w8z + - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) + url: https://api.datadoghq.com/api/v1/dashboard/u4t-b58-rsh 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":"7fq-hc7-w8z","title":"tf-TestAccDatadogDashboardQueryValueFormula_import-local-1614296348","url":"/dashboard/7fq-hc7-w8z/tf-testaccdatadogdashboardqueryvalueformulaimport-local-1614296348","created_at":"2021-02-25T23:39:08.962468+00:00","modified_at":"2021-02-25T23:39:08.962468+00:00","author_handle":"frog@datadoghq.com","widgets":[{"definition":{"type":"query_value","requests":[{"formulas":[{"formula":"query1 + query2","limit":{"count":10,"order":"asc"}}],"response_format":"scalar","queries":[{"aggregator":"sum","data_source":"metrics","name":"query1","query":"avg:system.cpu.system{*} by {datacenter}"},{"aggregator":"sum","data_source":"metrics","name":"query2","query":"avg:system.load.1{*} by {datacenter}"}]}],"autoscale":false,"precision":0},"id":3695516588483057},{"definition":{"type":"query_value","requests":[{"formulas":[{"formula":"query1","limit":{"count":25,"order":"desc"}}],"response_format":"scalar","queries":[{"data_source":"rum","compute":{"aggregation":"count"},"name":"query1","indexes":["*"]}]}],"autoscale":false,"precision":0},"id":35421410005026}],"layout_type":"ordered"}' + body: '{"notify_list":[],"description":"Created using the Datadog provider in Terraform","restricted_roles":["284d8b66-93f9-11eb-9c37-da7ad0900002","043a2842-e140-11e8-bb04-7fd10177666e","657de3a2-29f8-11eb-83b5-6b8ebfb2f184","e82bf27a-986c-11eb-9cba-da7ad0900002","f257ba30-dbb2-11ea-a5ff-5fd1d308318a","6bf314be-5c16-11eb-8e98-2356ea436065","62cbc476-5c16-11eb-8e98-0388ea7a41f8","08604de8-1dca-11eb-800c-9f5f55ff734d","9b3ab170-b768-11eb-a45a-da7ad0900002","7a83f306-96ca-11eb-9c74-da7ad0900002","16169788-28e4-11eb-832c-fb84162ef3eb","4de53192-9946-11eb-9cee-da7ad0900002","1302282c-b93b-11eb-a436-da7ad0900002","17d73994-7531-11eb-94b9-da7ad0900002"],"author_name":"Qin Chen","template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"u4t-b58-rsh","title":"tf-TestAccDatadogDashboardQueryValueFormula_import-local-1621866546","url":"/dashboard/u4t-b58-rsh/tf-testaccdatadogdashboardqueryvalueformulaimport-local-1621866546","created_at":"2021-05-24T14:29:07.997598+00:00","modified_at":"2021-05-24T14:29:07.997598+00:00","author_handle":"qin.chen@datadoghq.com","widgets":[{"definition":{"type":"query_value","requests":[{"formulas":[{"formula":"query1 + query2","limit":{"count":10,"order":"asc"}}],"response_format":"scalar","queries":[{"aggregator":"sum","data_source":"metrics","name":"query1","query":"avg:system.cpu.system{*} by {datacenter}"},{"aggregator":"sum","data_source":"metrics","name":"query2","query":"avg:system.load.1{*} by {datacenter}"}]}],"autoscale":false,"precision":0},"id":8719702129204699},{"definition":{"type":"query_value","requests":[{"formulas":[{"formula":"query1","limit":{"count":25,"order":"desc"}}],"response_format":"scalar","queries":[{"data_source":"rum","compute":{"aggregation":"count"},"name":"query1","indexes":["*"]}]}],"autoscale":false,"precision":0},"id":8439038873460776}],"layout_type":"ordered"}' headers: Cache-Control: - no-cache @@ -238,7 +238,7 @@ interactions: Content-Type: - application/json Date: - - Thu, 25 Feb 2021 23:39:13 GMT + - Mon, 24 May 2021 14:29:10 GMT Pragma: - no-cache Strict-Transport-Security: @@ -248,9 +248,9 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Debug: - - bgHykj7A9bfZx0Y5ZO3swhhp5tGUSNJHqFWR868+qg087CYrDOd5hQslC+noiEtH + - fIO2C4qGDheGHy4YbS+r3a3CXbh4cbRo7roILOimQyiHGjQdOat0cIpWCkupM1uX X-Dd-Version: - - "35.3986175" + - "35.4593741" X-Frame-Options: - SAMEORIGIN status: 200 OK @@ -265,11 +265,11 @@ interactions: Dd-Operation-Id: - DeleteDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.16+dev (go go1.15.6; os darwin; arch amd64) - url: https://api.datadoghq.com/api/v1/dashboard/7fq-hc7-w8z + - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) + url: https://api.datadoghq.com/api/v1/dashboard/u4t-b58-rsh method: DELETE response: - body: '{"deleted_dashboard_id":"7fq-hc7-w8z"}' + body: '{"deleted_dashboard_id":"u4t-b58-rsh"}' headers: Cache-Control: - no-cache @@ -280,7 +280,7 @@ interactions: Content-Type: - application/json Date: - - Thu, 25 Feb 2021 23:39:13 GMT + - Mon, 24 May 2021 14:29:11 GMT Pragma: - no-cache Strict-Transport-Security: @@ -292,7 +292,7 @@ interactions: X-Dd-Debug: - JpIJLwIH2nFlZOC+u71rq7aAOL43MLZN3MUsL+gpYHdZz5QLUOG8Jysf8kVK6tPU X-Dd-Version: - - "35.3986175" + - "35.4593741" X-Frame-Options: - SAMEORIGIN status: 200 OK @@ -307,11 +307,11 @@ interactions: Dd-Operation-Id: - GetDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.16+dev (go go1.15.6; os darwin; arch amd64) - url: https://api.datadoghq.com/api/v1/dashboard/7fq-hc7-w8z + - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) + url: https://api.datadoghq.com/api/v1/dashboard/u4t-b58-rsh method: GET response: - body: '{"errors": ["Dashboard with ID 7fq-hc7-w8z not found"]}' + body: '{"errors": ["Dashboard with ID u4t-b58-rsh not found"]}' headers: Cache-Control: - no-cache @@ -322,7 +322,7 @@ interactions: Content-Type: - application/json Date: - - Thu, 25 Feb 2021 23:39:14 GMT + - Mon, 24 May 2021 14:29:11 GMT Pragma: - no-cache Strict-Transport-Security: @@ -332,7 +332,7 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Version: - - "35.3986175" + - "35.4593741" X-Frame-Options: - SAMEORIGIN status: 404 Not Found diff --git a/datadog/tests/cassettes/TestAccDatadogDashboardQueryValue_import.freeze b/datadog/tests/cassettes/TestAccDatadogDashboardQueryValue_import.freeze index a966df220..017051caa 100644 --- a/datadog/tests/cassettes/TestAccDatadogDashboardQueryValue_import.freeze +++ b/datadog/tests/cassettes/TestAccDatadogDashboardQueryValue_import.freeze @@ -1 +1 @@ -2020-12-31T15:42:08.737331+01:00 \ No newline at end of file +2021-05-24T10:37:36.390332-04:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogDashboardQueryValue_import.yaml b/datadog/tests/cassettes/TestAccDatadogDashboardQueryValue_import.yaml index 04e3d1a7d..6330507f3 100644 --- a/datadog/tests/cassettes/TestAccDatadogDashboardQueryValue_import.yaml +++ b/datadog/tests/cassettes/TestAccDatadogDashboardQueryValue_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-TestAccDatadogDashboardQueryValue_import-local-1609425728","widgets":[{"definition":{"autoscale":true,"custom_links":[{"label":"Test Custom Link label","link":"https://app.datadoghq.com/dashboard/lists"}],"custom_unit":"Gib","precision":3,"requests":[{"aggregator":"max","conditional_formats":[{"comparator":"\u003c","hide_value":false,"palette":"white_on_red","value":9},{"comparator":"\u003e=","hide_value":false,"palette":"white_on_green","value":9}],"q":"avg:system.mem.free{account:prod}"}],"time":{"live_span":"1h"},"title":"Avg of system.mem.free over account:prod","title_align":"center","title_size":"16","type":"query_value"}}]} + {"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-TestAccDatadogDashboardQueryValue_import-local-1621866546","widgets":[{"definition":{"autoscale":true,"custom_links":[{"label":"Test Custom Link label","link":"https://app.datadoghq.com/dashboard/lists"}],"custom_unit":"Gib","precision":3,"requests":[{"aggregator":"max","conditional_formats":[{"comparator":"\u003c","hide_value":false,"palette":"white_on_red","value":9},{"comparator":"\u003e=","hide_value":false,"palette":"white_on_green","value":9}],"q":"avg:system.mem.free{account:prod}"}],"time":{"live_span":"1h"},"title":"Avg of system.mem.free over account:prod","title_align":"center","title_size":"16","type":"query_value"}}]} form: {} headers: Accept: @@ -13,20 +13,11 @@ interactions: Dd-Operation-Id: - CreateDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 1.15.0; terraform-cli 0.12.7-sdk) - datadog-api-client-go/1.0.0-beta.13+dev (go go1.15.4; os darwin; arch amd64) - X-Datadog-Parent-Id: - - "4563019862769337818" - X-Datadog-Sampling-Priority: - - "1" - X-Datadog-Trace-Id: - - "6696800086964894963" + - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) 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":"n7s-cta-xh6","title":"tf-TestAccDatadogDashboardQueryValue_import-local-1609425728","url":"/dashboard/n7s-cta-xh6/tf-testaccdatadogdashboardqueryvalueimport-local-1609425728","created_at":"2020-12-31T14:48:27.169222+00:00","modified_at":"2020-12-31T14:48:27.169222+00:00","author_handle":"frog@datadoghq.com","widgets":[{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test - Custom Link label"}],"autoscale":true,"title":"Avg of system.mem.free over account:prod","title_align":"center","custom_unit":"Gib","precision":3,"time":{"live_span":"1h"},"title_size":"16","requests":[{"q":"avg:system.mem.free{account:prod}","aggregator":"max","conditional_formats":[{"palette":"white_on_red","hide_value":false,"value":9,"comparator":"<"},{"palette":"white_on_green","hide_value":false,"value":9,"comparator":">="}]}],"type":"query_value"},"id":6328273002183677}],"layout_type":"ordered"}' + body: '{"notify_list":[],"description":"Created using the Datadog provider in Terraform","restricted_roles":["043a2842-e140-11e8-bb04-7fd10177666e","08604de8-1dca-11eb-800c-9f5f55ff734d","1302282c-b93b-11eb-a436-da7ad0900002","16169788-28e4-11eb-832c-fb84162ef3eb","17d73994-7531-11eb-94b9-da7ad0900002","284d8b66-93f9-11eb-9c37-da7ad0900002","4de53192-9946-11eb-9cee-da7ad0900002","62cbc476-5c16-11eb-8e98-0388ea7a41f8","657de3a2-29f8-11eb-83b5-6b8ebfb2f184","6bf314be-5c16-11eb-8e98-2356ea436065","7a83f306-96ca-11eb-9c74-da7ad0900002","9b3ab170-b768-11eb-a45a-da7ad0900002","e82bf27a-986c-11eb-9cba-da7ad0900002","f257ba30-dbb2-11ea-a5ff-5fd1d308318a"],"author_name":"Qin Chen","template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"bce-jum-p9q","title":"tf-TestAccDatadogDashboardQueryValue_import-local-1621866546","url":"/dashboard/bce-jum-p9q/tf-testaccdatadogdashboardqueryvalueimport-local-1621866546","created_at":"2021-05-24T14:29:08.000886+00:00","modified_at":"2021-05-24T14:29:08.000886+00:00","author_handle":"qin.chen@datadoghq.com","widgets":[{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test Custom Link label"}],"autoscale":true,"title":"Avg of system.mem.free over account:prod","title_align":"center","custom_unit":"Gib","precision":3,"time":{"live_span":"1h"},"title_size":"16","requests":[{"q":"avg:system.mem.free{account:prod}","aggregator":"max","conditional_formats":[{"palette":"white_on_red","hide_value":false,"value":9,"comparator":"<"},{"palette":"white_on_green","hide_value":false,"value":9,"comparator":">="}]}],"type":"query_value"},"id":4749539379491735}],"layout_type":"ordered"}' headers: Cache-Control: - no-cache @@ -37,12 +28,9 @@ interactions: Content-Type: - application/json Date: - - Thu, 31 Dec 2020 14:48:29 GMT + - Mon, 24 May 2021 14:29:08 GMT Pragma: - no-cache - Set-Cookie: - - DD-PSHARD=233; Max-Age=604800; Path=/; expires=Thu, 07-Jan-2021 14:48:27 GMT; - secure; HttpOnly Strict-Transport-Security: - max-age=15724800; Vary: @@ -50,9 +38,9 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Debug: - - OqKY7agPmI/v3hVHuBa6xblzuasXfwEx0fPUFdqZoAEPJYT3VaeupIdfNnd+cYH0 + - B1nwy/pPNqX+q4pQT22cdp1QCexE35IF8qwSHy0Nf7IW0Y881qtn4tXN1lpmzaKc X-Dd-Version: - - "35.3622023" + - "35.4593741" X-Frame-Options: - SAMEORIGIN status: 200 OK @@ -67,20 +55,11 @@ interactions: Dd-Operation-Id: - GetDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 1.15.0; terraform-cli 0.12.7-sdk) - datadog-api-client-go/1.0.0-beta.13+dev (go go1.15.4; os darwin; arch amd64) - X-Datadog-Parent-Id: - - "4817756512181113639" - X-Datadog-Sampling-Priority: - - "1" - X-Datadog-Trace-Id: - - "6696800086964894963" - url: https://api.datadoghq.com/api/v1/dashboard/n7s-cta-xh6 + - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) + url: https://api.datadoghq.com/api/v1/dashboard/bce-jum-p9q 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":"n7s-cta-xh6","title":"tf-TestAccDatadogDashboardQueryValue_import-local-1609425728","url":"/dashboard/n7s-cta-xh6/tf-testaccdatadogdashboardqueryvalueimport-local-1609425728","created_at":"2020-12-31T14:48:27.169222+00:00","modified_at":"2020-12-31T14:48:27.169222+00:00","author_handle":"frog@datadoghq.com","widgets":[{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test - Custom Link label"}],"autoscale":true,"title":"Avg of system.mem.free over account:prod","title_align":"center","custom_unit":"Gib","precision":3,"time":{"live_span":"1h"},"title_size":"16","requests":[{"q":"avg:system.mem.free{account:prod}","aggregator":"max","conditional_formats":[{"palette":"white_on_red","hide_value":false,"value":9,"comparator":"<"},{"palette":"white_on_green","hide_value":false,"value":9,"comparator":">="}]}],"type":"query_value"},"id":6328273002183677}],"layout_type":"ordered"}' + body: '{"notify_list":[],"description":"Created using the Datadog provider in Terraform","restricted_roles":["284d8b66-93f9-11eb-9c37-da7ad0900002","043a2842-e140-11e8-bb04-7fd10177666e","657de3a2-29f8-11eb-83b5-6b8ebfb2f184","e82bf27a-986c-11eb-9cba-da7ad0900002","f257ba30-dbb2-11ea-a5ff-5fd1d308318a","6bf314be-5c16-11eb-8e98-2356ea436065","62cbc476-5c16-11eb-8e98-0388ea7a41f8","08604de8-1dca-11eb-800c-9f5f55ff734d","9b3ab170-b768-11eb-a45a-da7ad0900002","7a83f306-96ca-11eb-9c74-da7ad0900002","16169788-28e4-11eb-832c-fb84162ef3eb","4de53192-9946-11eb-9cee-da7ad0900002","1302282c-b93b-11eb-a436-da7ad0900002","17d73994-7531-11eb-94b9-da7ad0900002"],"author_name":"Qin Chen","template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"bce-jum-p9q","title":"tf-TestAccDatadogDashboardQueryValue_import-local-1621866546","url":"/dashboard/bce-jum-p9q/tf-testaccdatadogdashboardqueryvalueimport-local-1621866546","created_at":"2021-05-24T14:29:08.000886+00:00","modified_at":"2021-05-24T14:29:08.000886+00:00","author_handle":"qin.chen@datadoghq.com","widgets":[{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test Custom Link label"}],"autoscale":true,"title":"Avg of system.mem.free over account:prod","title_align":"center","custom_unit":"Gib","precision":3,"time":{"live_span":"1h"},"title_size":"16","requests":[{"q":"avg:system.mem.free{account:prod}","aggregator":"max","conditional_formats":[{"palette":"white_on_red","hide_value":false,"value":9,"comparator":"<"},{"palette":"white_on_green","hide_value":false,"value":9,"comparator":">="}]}],"type":"query_value"},"id":4749539379491735}],"layout_type":"ordered"}' headers: Cache-Control: - no-cache @@ -91,12 +70,9 @@ interactions: Content-Type: - application/json Date: - - Thu, 31 Dec 2020 14:48:29 GMT + - Mon, 24 May 2021 14:29:08 GMT Pragma: - no-cache - Set-Cookie: - - DD-PSHARD=233; Max-Age=604800; Path=/; expires=Thu, 07-Jan-2021 14:48:29 GMT; - secure; HttpOnly Strict-Transport-Security: - max-age=15724800; Vary: @@ -104,9 +80,9 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Debug: - - UPwGSEkEo+aTtV9/qlvsM9xVIKq1xypRG0bv22kO1eeJfu8bY+H+f1xOa3JlvZhZ + - dCmL/3rURV6BPeaqeP3Rxigq41m5CAb17XjrRE42uZ01zpr07HVhbL5/3TWMkvgu X-Dd-Version: - - "35.3622023" + - "35.4593741" X-Frame-Options: - SAMEORIGIN status: 200 OK @@ -121,20 +97,11 @@ interactions: Dd-Operation-Id: - GetDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 1.15.0; terraform-cli 0.12.7-sdk) - datadog-api-client-go/1.0.0-beta.13+dev (go go1.15.4; os darwin; arch amd64) - X-Datadog-Parent-Id: - - "410483925817832805" - X-Datadog-Sampling-Priority: - - "1" - X-Datadog-Trace-Id: - - "6696800086964894963" - url: https://api.datadoghq.com/api/v1/dashboard/n7s-cta-xh6 + - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) + url: https://api.datadoghq.com/api/v1/dashboard/bce-jum-p9q 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":"n7s-cta-xh6","title":"tf-TestAccDatadogDashboardQueryValue_import-local-1609425728","url":"/dashboard/n7s-cta-xh6/tf-testaccdatadogdashboardqueryvalueimport-local-1609425728","created_at":"2020-12-31T14:48:27.169222+00:00","modified_at":"2020-12-31T14:48:27.169222+00:00","author_handle":"frog@datadoghq.com","widgets":[{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test - Custom Link label"}],"autoscale":true,"title":"Avg of system.mem.free over account:prod","title_align":"center","custom_unit":"Gib","precision":3,"time":{"live_span":"1h"},"title_size":"16","requests":[{"q":"avg:system.mem.free{account:prod}","aggregator":"max","conditional_formats":[{"palette":"white_on_red","hide_value":false,"value":9,"comparator":"<"},{"palette":"white_on_green","hide_value":false,"value":9,"comparator":">="}]}],"type":"query_value"},"id":6328273002183677}],"layout_type":"ordered"}' + body: '{"notify_list":[],"description":"Created using the Datadog provider in Terraform","restricted_roles":["284d8b66-93f9-11eb-9c37-da7ad0900002","043a2842-e140-11e8-bb04-7fd10177666e","657de3a2-29f8-11eb-83b5-6b8ebfb2f184","e82bf27a-986c-11eb-9cba-da7ad0900002","f257ba30-dbb2-11ea-a5ff-5fd1d308318a","6bf314be-5c16-11eb-8e98-2356ea436065","62cbc476-5c16-11eb-8e98-0388ea7a41f8","08604de8-1dca-11eb-800c-9f5f55ff734d","9b3ab170-b768-11eb-a45a-da7ad0900002","7a83f306-96ca-11eb-9c74-da7ad0900002","16169788-28e4-11eb-832c-fb84162ef3eb","4de53192-9946-11eb-9cee-da7ad0900002","1302282c-b93b-11eb-a436-da7ad0900002","17d73994-7531-11eb-94b9-da7ad0900002"],"author_name":"Qin Chen","template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"bce-jum-p9q","title":"tf-TestAccDatadogDashboardQueryValue_import-local-1621866546","url":"/dashboard/bce-jum-p9q/tf-testaccdatadogdashboardqueryvalueimport-local-1621866546","created_at":"2021-05-24T14:29:08.000886+00:00","modified_at":"2021-05-24T14:29:08.000886+00:00","author_handle":"qin.chen@datadoghq.com","widgets":[{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test Custom Link label"}],"autoscale":true,"title":"Avg of system.mem.free over account:prod","title_align":"center","custom_unit":"Gib","precision":3,"time":{"live_span":"1h"},"title_size":"16","requests":[{"q":"avg:system.mem.free{account:prod}","aggregator":"max","conditional_formats":[{"palette":"white_on_red","hide_value":false,"value":9,"comparator":"<"},{"palette":"white_on_green","hide_value":false,"value":9,"comparator":">="}]}],"type":"query_value"},"id":4749539379491735}],"layout_type":"ordered"}' headers: Cache-Control: - no-cache @@ -145,12 +112,9 @@ interactions: Content-Type: - application/json Date: - - Thu, 31 Dec 2020 14:48:36 GMT + - Mon, 24 May 2021 14:29:09 GMT Pragma: - no-cache - Set-Cookie: - - DD-PSHARD=233; Max-Age=604800; Path=/; expires=Thu, 07-Jan-2021 14:48:36 GMT; - secure; HttpOnly Strict-Transport-Security: - max-age=15724800; Vary: @@ -158,9 +122,9 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Debug: - - XhN3sROXhRtxvw2F+uRtJTWMwUQRYhDKBCNr1DfCqtzQgh490ZXtNSOhIx1TzG8K + - dPySkcOzIZtKyMKDAAzuysY3gNGGj6RtYogGuSb76E8mPvoqzREyRp6lPYm91hQU X-Dd-Version: - - "35.3622023" + - "35.4593741" X-Frame-Options: - SAMEORIGIN status: 200 OK @@ -175,20 +139,11 @@ interactions: Dd-Operation-Id: - GetDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 1.15.0; terraform-cli 0.12.7-sdk) - datadog-api-client-go/1.0.0-beta.13+dev (go go1.15.4; os darwin; arch amd64) - X-Datadog-Parent-Id: - - "8116908409645718334" - X-Datadog-Sampling-Priority: - - "1" - X-Datadog-Trace-Id: - - "6696800086964894963" - url: https://api.datadoghq.com/api/v1/dashboard/n7s-cta-xh6 + - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) + url: https://api.datadoghq.com/api/v1/dashboard/bce-jum-p9q 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":"n7s-cta-xh6","title":"tf-TestAccDatadogDashboardQueryValue_import-local-1609425728","url":"/dashboard/n7s-cta-xh6/tf-testaccdatadogdashboardqueryvalueimport-local-1609425728","created_at":"2020-12-31T14:48:27.169222+00:00","modified_at":"2020-12-31T14:48:27.169222+00:00","author_handle":"frog@datadoghq.com","widgets":[{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test - Custom Link label"}],"autoscale":true,"title":"Avg of system.mem.free over account:prod","title_align":"center","custom_unit":"Gib","precision":3,"time":{"live_span":"1h"},"title_size":"16","requests":[{"q":"avg:system.mem.free{account:prod}","aggregator":"max","conditional_formats":[{"palette":"white_on_red","hide_value":false,"value":9,"comparator":"<"},{"palette":"white_on_green","hide_value":false,"value":9,"comparator":">="}]}],"type":"query_value"},"id":6328273002183677}],"layout_type":"ordered"}' + body: '{"notify_list":[],"description":"Created using the Datadog provider in Terraform","restricted_roles":["284d8b66-93f9-11eb-9c37-da7ad0900002","043a2842-e140-11e8-bb04-7fd10177666e","657de3a2-29f8-11eb-83b5-6b8ebfb2f184","e82bf27a-986c-11eb-9cba-da7ad0900002","f257ba30-dbb2-11ea-a5ff-5fd1d308318a","6bf314be-5c16-11eb-8e98-2356ea436065","62cbc476-5c16-11eb-8e98-0388ea7a41f8","08604de8-1dca-11eb-800c-9f5f55ff734d","9b3ab170-b768-11eb-a45a-da7ad0900002","7a83f306-96ca-11eb-9c74-da7ad0900002","16169788-28e4-11eb-832c-fb84162ef3eb","4de53192-9946-11eb-9cee-da7ad0900002","1302282c-b93b-11eb-a436-da7ad0900002","17d73994-7531-11eb-94b9-da7ad0900002"],"author_name":"Qin Chen","template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"bce-jum-p9q","title":"tf-TestAccDatadogDashboardQueryValue_import-local-1621866546","url":"/dashboard/bce-jum-p9q/tf-testaccdatadogdashboardqueryvalueimport-local-1621866546","created_at":"2021-05-24T14:29:08.000886+00:00","modified_at":"2021-05-24T14:29:08.000886+00:00","author_handle":"qin.chen@datadoghq.com","widgets":[{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test Custom Link label"}],"autoscale":true,"title":"Avg of system.mem.free over account:prod","title_align":"center","custom_unit":"Gib","precision":3,"time":{"live_span":"1h"},"title_size":"16","requests":[{"q":"avg:system.mem.free{account:prod}","aggregator":"max","conditional_formats":[{"palette":"white_on_red","hide_value":false,"value":9,"comparator":"<"},{"palette":"white_on_green","hide_value":false,"value":9,"comparator":">="}]}],"type":"query_value"},"id":4749539379491735}],"layout_type":"ordered"}' headers: Cache-Control: - no-cache @@ -199,12 +154,9 @@ interactions: Content-Type: - application/json Date: - - Thu, 31 Dec 2020 14:48:39 GMT + - Mon, 24 May 2021 14:29:09 GMT Pragma: - no-cache - Set-Cookie: - - DD-PSHARD=233; Max-Age=604800; Path=/; expires=Thu, 07-Jan-2021 14:48:39 GMT; - secure; HttpOnly Strict-Transport-Security: - max-age=15724800; Vary: @@ -212,9 +164,9 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Debug: - - H6mGk0NVWFFYd9VUP8vVAv2c5S84SY5SnfwDRAyGeGOpnNeKpu2AiMB1a9R6+y9D + - mNzaoDhdDKO7t4QSrAe5X7pHd0bJND187D+vRbwoluXouE2m1UaQQX0RGCvRpLVE X-Dd-Version: - - "35.3622023" + - "35.4593741" X-Frame-Options: - SAMEORIGIN status: 200 OK @@ -229,20 +181,11 @@ interactions: Dd-Operation-Id: - GetDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 1.15.0; terraform-cli 0.12.7-sdk) - datadog-api-client-go/1.0.0-beta.13+dev (go go1.15.4; os darwin; arch amd64) - X-Datadog-Parent-Id: - - "6578142534117566549" - X-Datadog-Sampling-Priority: - - "1" - X-Datadog-Trace-Id: - - "6696800086964894963" - url: https://api.datadoghq.com/api/v1/dashboard/n7s-cta-xh6 + - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) + url: https://api.datadoghq.com/api/v1/dashboard/bce-jum-p9q 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":"n7s-cta-xh6","title":"tf-TestAccDatadogDashboardQueryValue_import-local-1609425728","url":"/dashboard/n7s-cta-xh6/tf-testaccdatadogdashboardqueryvalueimport-local-1609425728","created_at":"2020-12-31T14:48:27.169222+00:00","modified_at":"2020-12-31T14:48:27.169222+00:00","author_handle":"frog@datadoghq.com","widgets":[{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test - Custom Link label"}],"autoscale":true,"title":"Avg of system.mem.free over account:prod","title_align":"center","custom_unit":"Gib","precision":3,"time":{"live_span":"1h"},"title_size":"16","requests":[{"q":"avg:system.mem.free{account:prod}","aggregator":"max","conditional_formats":[{"palette":"white_on_red","hide_value":false,"value":9,"comparator":"<"},{"palette":"white_on_green","hide_value":false,"value":9,"comparator":">="}]}],"type":"query_value"},"id":6328273002183677}],"layout_type":"ordered"}' + body: '{"notify_list":[],"description":"Created using the Datadog provider in Terraform","restricted_roles":["284d8b66-93f9-11eb-9c37-da7ad0900002","043a2842-e140-11e8-bb04-7fd10177666e","657de3a2-29f8-11eb-83b5-6b8ebfb2f184","e82bf27a-986c-11eb-9cba-da7ad0900002","f257ba30-dbb2-11ea-a5ff-5fd1d308318a","6bf314be-5c16-11eb-8e98-2356ea436065","62cbc476-5c16-11eb-8e98-0388ea7a41f8","08604de8-1dca-11eb-800c-9f5f55ff734d","9b3ab170-b768-11eb-a45a-da7ad0900002","7a83f306-96ca-11eb-9c74-da7ad0900002","16169788-28e4-11eb-832c-fb84162ef3eb","4de53192-9946-11eb-9cee-da7ad0900002","1302282c-b93b-11eb-a436-da7ad0900002","17d73994-7531-11eb-94b9-da7ad0900002"],"author_name":"Qin Chen","template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"bce-jum-p9q","title":"tf-TestAccDatadogDashboardQueryValue_import-local-1621866546","url":"/dashboard/bce-jum-p9q/tf-testaccdatadogdashboardqueryvalueimport-local-1621866546","created_at":"2021-05-24T14:29:08.000886+00:00","modified_at":"2021-05-24T14:29:08.000886+00:00","author_handle":"qin.chen@datadoghq.com","widgets":[{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test Custom Link label"}],"autoscale":true,"title":"Avg of system.mem.free over account:prod","title_align":"center","custom_unit":"Gib","precision":3,"time":{"live_span":"1h"},"title_size":"16","requests":[{"q":"avg:system.mem.free{account:prod}","aggregator":"max","conditional_formats":[{"palette":"white_on_red","hide_value":false,"value":9,"comparator":"<"},{"palette":"white_on_green","hide_value":false,"value":9,"comparator":">="}]}],"type":"query_value"},"id":4749539379491735}],"layout_type":"ordered"}' headers: Cache-Control: - no-cache @@ -253,12 +196,9 @@ interactions: Content-Type: - application/json Date: - - Thu, 31 Dec 2020 14:48:41 GMT + - Mon, 24 May 2021 14:29:09 GMT Pragma: - no-cache - Set-Cookie: - - DD-PSHARD=233; Max-Age=604800; Path=/; expires=Thu, 07-Jan-2021 14:48:40 GMT; - secure; HttpOnly Strict-Transport-Security: - max-age=15724800; Vary: @@ -266,9 +206,9 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Debug: - - oY1U+Bw1sQyS4cySYbM3yP2PHmEdjLzb50z+L43vQMCCtEGfcc06BRHI9VdccfS3 + - S1wfaMZOKGT/IoMw6fqAwAwGWo2vQ44sjF3YzuETnQfxZO2T5eJbs0aX3UKb9Dwu X-Dd-Version: - - "35.3622023" + - "35.4593741" X-Frame-Options: - SAMEORIGIN status: 200 OK @@ -283,20 +223,11 @@ interactions: Dd-Operation-Id: - GetDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 1.15.0; terraform-cli 0.12.7-sdk) - datadog-api-client-go/1.0.0-beta.13+dev (go go1.15.4; os darwin; arch amd64) - X-Datadog-Parent-Id: - - "3076415627515219379" - X-Datadog-Sampling-Priority: - - "1" - X-Datadog-Trace-Id: - - "6696800086964894963" - url: https://api.datadoghq.com/api/v1/dashboard/n7s-cta-xh6 + - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) + url: https://api.datadoghq.com/api/v1/dashboard/bce-jum-p9q 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":"n7s-cta-xh6","title":"tf-TestAccDatadogDashboardQueryValue_import-local-1609425728","url":"/dashboard/n7s-cta-xh6/tf-testaccdatadogdashboardqueryvalueimport-local-1609425728","created_at":"2020-12-31T14:48:27.169222+00:00","modified_at":"2020-12-31T14:48:27.169222+00:00","author_handle":"frog@datadoghq.com","widgets":[{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test - Custom Link label"}],"autoscale":true,"title":"Avg of system.mem.free over account:prod","title_align":"center","custom_unit":"Gib","precision":3,"time":{"live_span":"1h"},"title_size":"16","requests":[{"q":"avg:system.mem.free{account:prod}","aggregator":"max","conditional_formats":[{"palette":"white_on_red","hide_value":false,"value":9,"comparator":"<"},{"palette":"white_on_green","hide_value":false,"value":9,"comparator":">="}]}],"type":"query_value"},"id":6328273002183677}],"layout_type":"ordered"}' + body: '{"notify_list":[],"description":"Created using the Datadog provider in Terraform","restricted_roles":["284d8b66-93f9-11eb-9c37-da7ad0900002","043a2842-e140-11e8-bb04-7fd10177666e","657de3a2-29f8-11eb-83b5-6b8ebfb2f184","e82bf27a-986c-11eb-9cba-da7ad0900002","f257ba30-dbb2-11ea-a5ff-5fd1d308318a","6bf314be-5c16-11eb-8e98-2356ea436065","62cbc476-5c16-11eb-8e98-0388ea7a41f8","08604de8-1dca-11eb-800c-9f5f55ff734d","9b3ab170-b768-11eb-a45a-da7ad0900002","7a83f306-96ca-11eb-9c74-da7ad0900002","16169788-28e4-11eb-832c-fb84162ef3eb","4de53192-9946-11eb-9cee-da7ad0900002","1302282c-b93b-11eb-a436-da7ad0900002","17d73994-7531-11eb-94b9-da7ad0900002"],"author_name":"Qin Chen","template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"bce-jum-p9q","title":"tf-TestAccDatadogDashboardQueryValue_import-local-1621866546","url":"/dashboard/bce-jum-p9q/tf-testaccdatadogdashboardqueryvalueimport-local-1621866546","created_at":"2021-05-24T14:29:08.000886+00:00","modified_at":"2021-05-24T14:29:08.000886+00:00","author_handle":"qin.chen@datadoghq.com","widgets":[{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test Custom Link label"}],"autoscale":true,"title":"Avg of system.mem.free over account:prod","title_align":"center","custom_unit":"Gib","precision":3,"time":{"live_span":"1h"},"title_size":"16","requests":[{"q":"avg:system.mem.free{account:prod}","aggregator":"max","conditional_formats":[{"palette":"white_on_red","hide_value":false,"value":9,"comparator":"<"},{"palette":"white_on_green","hide_value":false,"value":9,"comparator":">="}]}],"type":"query_value"},"id":4749539379491735}],"layout_type":"ordered"}' headers: Cache-Control: - no-cache @@ -307,12 +238,9 @@ interactions: Content-Type: - application/json Date: - - Thu, 31 Dec 2020 14:48:44 GMT + - Mon, 24 May 2021 14:29:10 GMT Pragma: - no-cache - Set-Cookie: - - DD-PSHARD=233; Max-Age=604800; Path=/; expires=Thu, 07-Jan-2021 14:48:43 GMT; - secure; HttpOnly Strict-Transport-Security: - max-age=15724800; Vary: @@ -320,9 +248,9 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Debug: - - D6xOASGs+SeSoSr1onTNqEyFDtjQwnjR937DW7eQT5G8CxiOSfzMZ/Hv6SqRh+8b + - Wjq53IVIwnB4SiR238oOYgHFMq/ZYP0LQ/Dv8C2fFLBwTje/dWJHu6pI6vIOK1zG X-Dd-Version: - - "35.3622023" + - "35.4593741" X-Frame-Options: - SAMEORIGIN status: 200 OK @@ -337,18 +265,11 @@ interactions: Dd-Operation-Id: - DeleteDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 1.15.0; terraform-cli 0.12.7-sdk) - datadog-api-client-go/1.0.0-beta.13+dev (go go1.15.4; os darwin; arch amd64) - X-Datadog-Parent-Id: - - "9018745479391485890" - X-Datadog-Sampling-Priority: - - "1" - X-Datadog-Trace-Id: - - "6696800086964894963" - url: https://api.datadoghq.com/api/v1/dashboard/n7s-cta-xh6 + - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) + url: https://api.datadoghq.com/api/v1/dashboard/bce-jum-p9q method: DELETE response: - body: '{"deleted_dashboard_id":"n7s-cta-xh6"}' + body: '{"deleted_dashboard_id":"bce-jum-p9q"}' headers: Cache-Control: - no-cache @@ -359,12 +280,9 @@ interactions: Content-Type: - application/json Date: - - Thu, 31 Dec 2020 14:48:48 GMT + - Mon, 24 May 2021 14:29:10 GMT Pragma: - no-cache - Set-Cookie: - - DD-PSHARD=233; Max-Age=604800; Path=/; expires=Thu, 07-Jan-2021 14:48:48 GMT; - secure; HttpOnly Strict-Transport-Security: - max-age=15724800; Vary: @@ -372,9 +290,9 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Debug: - - 6IhQMEQHjYL1ZYwBd1xPnaqhoM5GIKrVP4vKHrLdyvV0W9ZbpSld8lY0ehD40SZe + - PhosSd3Ch1B6B0DXI71steKUi7XhPDttnPiIP1NdXTw0VJNWpoUnYyBmODS5ne3q X-Dd-Version: - - "35.3622023" + - "35.4593741" X-Frame-Options: - SAMEORIGIN status: 200 OK @@ -389,18 +307,11 @@ interactions: Dd-Operation-Id: - GetDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 1.15.0; terraform-cli 0.12.7-sdk) - datadog-api-client-go/1.0.0-beta.13+dev (go go1.15.4; os darwin; arch amd64) - X-Datadog-Parent-Id: - - "607867210014317417" - X-Datadog-Sampling-Priority: - - "1" - X-Datadog-Trace-Id: - - "6696800086964894963" - url: https://api.datadoghq.com/api/v1/dashboard/n7s-cta-xh6 + - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) + url: https://api.datadoghq.com/api/v1/dashboard/bce-jum-p9q method: GET response: - body: '{"errors": ["Dashboard with ID n7s-cta-xh6 not found"]}' + body: '{"errors": ["Dashboard with ID bce-jum-p9q not found"]}' headers: Cache-Control: - no-cache @@ -411,7 +322,7 @@ interactions: Content-Type: - application/json Date: - - Thu, 31 Dec 2020 14:48:48 GMT + - Mon, 24 May 2021 14:29:10 GMT Pragma: - no-cache Strict-Transport-Security: @@ -421,7 +332,7 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Version: - - "34.3622270" + - "35.4593741" X-Frame-Options: - SAMEORIGIN status: 404 Not Found diff --git a/datadog/tests/cassettes/TestAccDatadogDashboardSLO.freeze b/datadog/tests/cassettes/TestAccDatadogDashboardSLO.freeze index 6e146a214..2d590e0a3 100644 --- a/datadog/tests/cassettes/TestAccDatadogDashboardSLO.freeze +++ b/datadog/tests/cassettes/TestAccDatadogDashboardSLO.freeze @@ -1 +1 @@ -2021-03-23T18:36:20.618813-04:00 \ No newline at end of file +2021-05-24T10:37:36.331871-04:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogDashboardSLO_import.freeze b/datadog/tests/cassettes/TestAccDatadogDashboardSLO_import.freeze index b95d1d7b3..e42b18109 100644 --- a/datadog/tests/cassettes/TestAccDatadogDashboardSLO_import.freeze +++ b/datadog/tests/cassettes/TestAccDatadogDashboardSLO_import.freeze @@ -1 +1 @@ -2021-03-23T18:36:20.618821-04:00 \ No newline at end of file +2021-05-24T10:37:36.331861-04:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogDashboardScatterplot.freeze b/datadog/tests/cassettes/TestAccDatadogDashboardScatterplot.freeze index 2da9f2022..1b8cdbf46 100644 --- a/datadog/tests/cassettes/TestAccDatadogDashboardScatterplot.freeze +++ b/datadog/tests/cassettes/TestAccDatadogDashboardScatterplot.freeze @@ -1 +1 @@ -2021-01-28T17:18:26.725663+01:00 \ No newline at end of file +2021-05-24T10:37:36.298277-04:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogDashboardScatterplot.yaml b/datadog/tests/cassettes/TestAccDatadogDashboardScatterplot.yaml index 15227c96f..e48e5f0c1 100644 --- a/datadog/tests/cassettes/TestAccDatadogDashboardScatterplot.yaml +++ b/datadog/tests/cassettes/TestAccDatadogDashboardScatterplot.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-TestAccDatadogDashboardScatterplot-local-1611850706","widgets":[{"definition":{"color_by_groups":["app"],"custom_links":[{"label":"Test Custom Link label","link":"https://app.datadoghq.com/dashboard/lists"}],"requests":{"x":{"aggregator":"avg","q":"avg:system.cpu.user{account:prod} by {service, team, app}"},"y":{"aggregator":"avg","q":"avg:system.mem.used{env:prod} by {service, team, app}"}},"time":{"live_span":"15m"},"title":"system.mem.used and system.cpu.user by service,team,app colored by app","title_align":"right","title_size":"16","type":"scatterplot","xaxis":{"include_zero":false,"label":"cpu (%)","max":"100","min":"0","scale":"log"},"yaxis":{"include_zero":false,"label":"mem (Gib)","min":"1","scale":"log"}}},{"definition":{"color_by_groups":["app"],"custom_links":[{"label":"Test Custom Link label","link":"https://app.datadoghq.com/dashboard/lists"}],"requests":{"x":{"aggregator":"avg","q":"avg:system.cpu.user{account:prod} by {service, team, app}"},"y":{"aggregator":"avg","q":"avg:system.mem.used{env:prod} by {service, team, app}"}},"time":{"live_span":"15m"},"title":"system.mem.used and system.cpu.user by service,team,app colored by app","title_align":"right","title_size":"16","type":"scatterplot","xaxis":{"include_zero":false,"label":"cpu (%)","max":"100","min":"0","scale":"log"},"yaxis":{"include_zero":false,"label":"mem (Gib)","min":"1","scale":"log"}}}]} + {"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-TestAccDatadogDashboardScatterplot-local-1621866671","widgets":[{"definition":{"color_by_groups":["app"],"custom_links":[{"label":"Test Custom Link label","link":"https://app.datadoghq.com/dashboard/lists"},{"is_hidden":true,"link":"https://app.datadoghq.com/dashboard/lists","override_label":"logs"}],"requests":{"x":{"aggregator":"avg","q":"avg:system.cpu.user{account:prod} by {service, team, app}"},"y":{"aggregator":"avg","q":"avg:system.mem.used{env:prod} by {service, team, app}"}},"time":{"live_span":"15m"},"title":"system.mem.used and system.cpu.user by service,team,app colored by app","title_align":"right","title_size":"16","type":"scatterplot","xaxis":{"include_zero":false,"label":"cpu (%)","max":"100","min":"0","scale":"log"},"yaxis":{"include_zero":false,"label":"mem (Gib)","min":"1","scale":"log"}}},{"definition":{"color_by_groups":["app"],"custom_links":[{"label":"Test Custom Link label","link":"https://app.datadoghq.com/dashboard/lists"}],"requests":{"x":{"aggregator":"avg","q":"avg:system.cpu.user{account:prod} by {service, team, app}"},"y":{"aggregator":"avg","q":"avg:system.mem.used{env:prod} by {service, team, app}"}},"time":{"live_span":"15m"},"title":"system.mem.used and system.cpu.user by service,team,app colored by app","title_align":"right","title_size":"16","type":"scatterplot","xaxis":{"include_zero":false,"label":"cpu (%)","max":"100","min":"0","scale":"log"},"yaxis":{"include_zero":false,"label":"mem (Gib)","min":"1","scale":"log"}}}]} form: {} headers: Accept: @@ -13,31 +13,11 @@ interactions: Dd-Operation-Id: - CreateDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 1.15.0; terraform-cli 0.12.7-sdk) - datadog-api-client-go/1.0.0-beta.14 (go go1.15.4; os darwin; arch amd64) - X-Datadog-Parent-Id: - - "722419173507070389" - X-Datadog-Sampling-Priority: - - "1" - X-Datadog-Trace-Id: - - "6251496224295302927" + - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) 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":"x9v-tdh-64k","title":"tf-TestAccDatadogDashboardScatterplot-local-1611850706","url":"/dashboard/x9v-tdh-64k/tf-testaccdatadogdashboardscatterplot-local-1611850706","created_at":"2021-01-28T16:49:22.693247+00:00","modified_at":"2021-01-28T16:49:22.693247+00:00","author_handle":"frog@datadoghq.com","widgets":[{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test - Custom Link label"}],"title_size":"16","yaxis":{"include_zero":false,"scale":"log","min":"1","label":"mem - (Gib)"},"title_align":"right","color_by_groups":["app"],"xaxis":{"include_zero":false,"max":"100","min":"0","scale":"log","label":"cpu - (%)"},"time":{"live_span":"15m"},"title":"system.mem.used and system.cpu.user - by service,team,app colored by app","requests":{"y":{"q":"avg:system.mem.used{env:prod} - by {service, team, app}","aggregator":"avg"},"x":{"q":"avg:system.cpu.user{account:prod} - by {service, team, app}","aggregator":"avg"}},"type":"scatterplot"},"id":3387263182653338},{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test - Custom Link label"}],"title_size":"16","yaxis":{"include_zero":false,"scale":"log","min":"1","label":"mem - (Gib)"},"title_align":"right","color_by_groups":["app"],"xaxis":{"include_zero":false,"max":"100","min":"0","scale":"log","label":"cpu - (%)"},"time":{"live_span":"15m"},"title":"system.mem.used and system.cpu.user - by service,team,app colored by app","requests":{"y":{"q":"avg:system.mem.used{env:prod} - by {service, team, app}","aggregator":"avg"},"x":{"q":"avg:system.cpu.user{account:prod} - by {service, team, app}","aggregator":"avg"}},"type":"scatterplot"},"id":7872484918933697}],"layout_type":"ordered"}' + body: '{"notify_list":[],"description":"Created using the Datadog provider in Terraform","restricted_roles":["043a2842-e140-11e8-bb04-7fd10177666e","08604de8-1dca-11eb-800c-9f5f55ff734d","1302282c-b93b-11eb-a436-da7ad0900002","16169788-28e4-11eb-832c-fb84162ef3eb","17d73994-7531-11eb-94b9-da7ad0900002","284d8b66-93f9-11eb-9c37-da7ad0900002","4de53192-9946-11eb-9cee-da7ad0900002","62cbc476-5c16-11eb-8e98-0388ea7a41f8","657de3a2-29f8-11eb-83b5-6b8ebfb2f184","6bf314be-5c16-11eb-8e98-2356ea436065","7a83f306-96ca-11eb-9c74-da7ad0900002","9b3ab170-b768-11eb-a45a-da7ad0900002","e82bf27a-986c-11eb-9cba-da7ad0900002","f257ba30-dbb2-11ea-a5ff-5fd1d308318a"],"author_name":"Qin Chen","template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"7hp-h42-dc3","title":"tf-TestAccDatadogDashboardScatterplot-local-1621866671","url":"/dashboard/7hp-h42-dc3/tf-testaccdatadogdashboardscatterplot-local-1621866671","created_at":"2021-05-24T14:31:12.305063+00:00","modified_at":"2021-05-24T14:31:12.305063+00:00","author_handle":"qin.chen@datadoghq.com","widgets":[{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test Custom Link label"},{"override_label":"logs","is_hidden":true,"link":"https://app.datadoghq.com/dashboard/lists"}],"title_size":"16","yaxis":{"include_zero":false,"scale":"log","min":"1","label":"mem (Gib)"},"title_align":"right","color_by_groups":["app"],"xaxis":{"include_zero":false,"max":"100","min":"0","scale":"log","label":"cpu (%)"},"time":{"live_span":"15m"},"title":"system.mem.used and system.cpu.user by service,team,app colored by app","requests":{"y":{"q":"avg:system.mem.used{env:prod} by {service, team, app}","aggregator":"avg"},"x":{"q":"avg:system.cpu.user{account:prod} by {service, team, app}","aggregator":"avg"}},"type":"scatterplot"},"id":7534151761779212},{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test Custom Link label"}],"title_size":"16","yaxis":{"include_zero":false,"scale":"log","min":"1","label":"mem (Gib)"},"title_align":"right","color_by_groups":["app"],"xaxis":{"include_zero":false,"max":"100","min":"0","scale":"log","label":"cpu (%)"},"time":{"live_span":"15m"},"title":"system.mem.used and system.cpu.user by service,team,app colored by app","requests":{"y":{"q":"avg:system.mem.used{env:prod} by {service, team, app}","aggregator":"avg"},"x":{"q":"avg:system.cpu.user{account:prod} by {service, team, app}","aggregator":"avg"}},"type":"scatterplot"},"id":3583701607680569}],"layout_type":"ordered"}' headers: Cache-Control: - no-cache @@ -48,12 +28,9 @@ interactions: Content-Type: - application/json Date: - - Thu, 28 Jan 2021 16:49:25 GMT + - Mon, 24 May 2021 14:31:12 GMT Pragma: - no-cache - Set-Cookie: - - DD-PSHARD=233; Max-Age=604800; Path=/; expires=Thu, 04-Feb-2021 16:49:22 GMT; - secure; HttpOnly Strict-Transport-Security: - max-age=15724800; Vary: @@ -61,9 +38,9 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Debug: - - dCmL/3rURV6BPeaqeP3Rxigq41m5CAb17XjrRE42uZ01zpr07HVhbL5/3TWMkvgu + - 25u1gDlL724DHllbjFT4BhOLorBTilh+aah2uWAUEjFC/+rjczJdiyWrV/HwLwe/ X-Dd-Version: - - "35.3796727" + - "35.4593741" X-Frame-Options: - SAMEORIGIN status: 200 OK @@ -78,31 +55,11 @@ interactions: Dd-Operation-Id: - GetDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 1.15.0; terraform-cli 0.12.7-sdk) - datadog-api-client-go/1.0.0-beta.14 (go go1.15.4; os darwin; arch amd64) - X-Datadog-Parent-Id: - - "5600690351351574193" - X-Datadog-Sampling-Priority: - - "1" - X-Datadog-Trace-Id: - - "6251496224295302927" - url: https://api.datadoghq.com/api/v1/dashboard/x9v-tdh-64k + - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) + url: https://api.datadoghq.com/api/v1/dashboard/7hp-h42-dc3 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":"x9v-tdh-64k","title":"tf-TestAccDatadogDashboardScatterplot-local-1611850706","url":"/dashboard/x9v-tdh-64k/tf-testaccdatadogdashboardscatterplot-local-1611850706","created_at":"2021-01-28T16:49:22.693247+00:00","modified_at":"2021-01-28T16:49:22.693247+00:00","author_handle":"frog@datadoghq.com","widgets":[{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test - Custom Link label"}],"title_size":"16","yaxis":{"include_zero":false,"scale":"log","min":"1","label":"mem - (Gib)"},"title_align":"right","color_by_groups":["app"],"xaxis":{"include_zero":false,"max":"100","min":"0","scale":"log","label":"cpu - (%)"},"time":{"live_span":"15m"},"title":"system.mem.used and system.cpu.user - by service,team,app colored by app","requests":{"y":{"q":"avg:system.mem.used{env:prod} - by {service, team, app}","aggregator":"avg"},"x":{"q":"avg:system.cpu.user{account:prod} - by {service, team, app}","aggregator":"avg"}},"type":"scatterplot"},"id":3387263182653338},{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test - Custom Link label"}],"title_size":"16","yaxis":{"include_zero":false,"scale":"log","min":"1","label":"mem - (Gib)"},"title_align":"right","color_by_groups":["app"],"xaxis":{"include_zero":false,"max":"100","min":"0","scale":"log","label":"cpu - (%)"},"time":{"live_span":"15m"},"title":"system.mem.used and system.cpu.user - by service,team,app colored by app","requests":{"y":{"q":"avg:system.mem.used{env:prod} - by {service, team, app}","aggregator":"avg"},"x":{"q":"avg:system.cpu.user{account:prod} - by {service, team, app}","aggregator":"avg"}},"type":"scatterplot"},"id":7872484918933697}],"layout_type":"ordered"}' + body: '{"notify_list":[],"description":"Created using the Datadog provider in Terraform","restricted_roles":["284d8b66-93f9-11eb-9c37-da7ad0900002","043a2842-e140-11e8-bb04-7fd10177666e","657de3a2-29f8-11eb-83b5-6b8ebfb2f184","e82bf27a-986c-11eb-9cba-da7ad0900002","f257ba30-dbb2-11ea-a5ff-5fd1d308318a","6bf314be-5c16-11eb-8e98-2356ea436065","62cbc476-5c16-11eb-8e98-0388ea7a41f8","08604de8-1dca-11eb-800c-9f5f55ff734d","9b3ab170-b768-11eb-a45a-da7ad0900002","7a83f306-96ca-11eb-9c74-da7ad0900002","16169788-28e4-11eb-832c-fb84162ef3eb","4de53192-9946-11eb-9cee-da7ad0900002","1302282c-b93b-11eb-a436-da7ad0900002","17d73994-7531-11eb-94b9-da7ad0900002"],"author_name":"Qin Chen","template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"7hp-h42-dc3","title":"tf-TestAccDatadogDashboardScatterplot-local-1621866671","url":"/dashboard/7hp-h42-dc3/tf-testaccdatadogdashboardscatterplot-local-1621866671","created_at":"2021-05-24T14:31:12.305063+00:00","modified_at":"2021-05-24T14:31:12.305063+00:00","author_handle":"qin.chen@datadoghq.com","widgets":[{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test Custom Link label"},{"override_label":"logs","is_hidden":true,"link":"https://app.datadoghq.com/dashboard/lists"}],"title_size":"16","yaxis":{"include_zero":false,"scale":"log","min":"1","label":"mem (Gib)"},"title_align":"right","color_by_groups":["app"],"xaxis":{"include_zero":false,"max":"100","min":"0","scale":"log","label":"cpu (%)"},"time":{"live_span":"15m"},"title":"system.mem.used and system.cpu.user by service,team,app colored by app","requests":{"y":{"q":"avg:system.mem.used{env:prod} by {service, team, app}","aggregator":"avg"},"x":{"q":"avg:system.cpu.user{account:prod} by {service, team, app}","aggregator":"avg"}},"type":"scatterplot"},"id":7534151761779212},{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test Custom Link label"}],"title_size":"16","yaxis":{"include_zero":false,"scale":"log","min":"1","label":"mem (Gib)"},"title_align":"right","color_by_groups":["app"],"xaxis":{"include_zero":false,"max":"100","min":"0","scale":"log","label":"cpu (%)"},"time":{"live_span":"15m"},"title":"system.mem.used and system.cpu.user by service,team,app colored by app","requests":{"y":{"q":"avg:system.mem.used{env:prod} by {service, team, app}","aggregator":"avg"},"x":{"q":"avg:system.cpu.user{account:prod} by {service, team, app}","aggregator":"avg"}},"type":"scatterplot"},"id":3583701607680569}],"layout_type":"ordered"}' headers: Cache-Control: - no-cache @@ -113,12 +70,9 @@ interactions: Content-Type: - application/json Date: - - Thu, 28 Jan 2021 16:49:25 GMT + - Mon, 24 May 2021 14:31:12 GMT Pragma: - no-cache - Set-Cookie: - - DD-PSHARD=233; Max-Age=604800; Path=/; expires=Thu, 04-Feb-2021 16:49:25 GMT; - secure; HttpOnly Strict-Transport-Security: - max-age=15724800; Vary: @@ -126,9 +80,9 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Debug: - - HbtaOKlJ6OCrx9tMXO6ivMTrEM+g0c93HDp08trmOmgdHozC5J+vn10F0H4WPjCU + - dPySkcOzIZtKyMKDAAzuysY3gNGGj6RtYogGuSb76E8mPvoqzREyRp6lPYm91hQU X-Dd-Version: - - "35.3796727" + - "35.4593741" X-Frame-Options: - SAMEORIGIN status: 200 OK @@ -143,31 +97,11 @@ interactions: Dd-Operation-Id: - GetDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 1.15.0; terraform-cli 0.12.7-sdk) - datadog-api-client-go/1.0.0-beta.14 (go go1.15.4; os darwin; arch amd64) - X-Datadog-Parent-Id: - - "8080540688691880235" - X-Datadog-Sampling-Priority: - - "1" - X-Datadog-Trace-Id: - - "6251496224295302927" - url: https://api.datadoghq.com/api/v1/dashboard/x9v-tdh-64k + - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) + url: https://api.datadoghq.com/api/v1/dashboard/7hp-h42-dc3 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":"x9v-tdh-64k","title":"tf-TestAccDatadogDashboardScatterplot-local-1611850706","url":"/dashboard/x9v-tdh-64k/tf-testaccdatadogdashboardscatterplot-local-1611850706","created_at":"2021-01-28T16:49:22.693247+00:00","modified_at":"2021-01-28T16:49:22.693247+00:00","author_handle":"frog@datadoghq.com","widgets":[{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test - Custom Link label"}],"title_size":"16","yaxis":{"include_zero":false,"scale":"log","min":"1","label":"mem - (Gib)"},"title_align":"right","color_by_groups":["app"],"xaxis":{"include_zero":false,"max":"100","min":"0","scale":"log","label":"cpu - (%)"},"time":{"live_span":"15m"},"title":"system.mem.used and system.cpu.user - by service,team,app colored by app","requests":{"y":{"q":"avg:system.mem.used{env:prod} - by {service, team, app}","aggregator":"avg"},"x":{"q":"avg:system.cpu.user{account:prod} - by {service, team, app}","aggregator":"avg"}},"type":"scatterplot"},"id":3387263182653338},{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test - Custom Link label"}],"title_size":"16","yaxis":{"include_zero":false,"scale":"log","min":"1","label":"mem - (Gib)"},"title_align":"right","color_by_groups":["app"],"xaxis":{"include_zero":false,"max":"100","min":"0","scale":"log","label":"cpu - (%)"},"time":{"live_span":"15m"},"title":"system.mem.used and system.cpu.user - by service,team,app colored by app","requests":{"y":{"q":"avg:system.mem.used{env:prod} - by {service, team, app}","aggregator":"avg"},"x":{"q":"avg:system.cpu.user{account:prod} - by {service, team, app}","aggregator":"avg"}},"type":"scatterplot"},"id":7872484918933697}],"layout_type":"ordered"}' + body: '{"notify_list":[],"description":"Created using the Datadog provider in Terraform","restricted_roles":["284d8b66-93f9-11eb-9c37-da7ad0900002","043a2842-e140-11e8-bb04-7fd10177666e","657de3a2-29f8-11eb-83b5-6b8ebfb2f184","e82bf27a-986c-11eb-9cba-da7ad0900002","f257ba30-dbb2-11ea-a5ff-5fd1d308318a","6bf314be-5c16-11eb-8e98-2356ea436065","62cbc476-5c16-11eb-8e98-0388ea7a41f8","08604de8-1dca-11eb-800c-9f5f55ff734d","9b3ab170-b768-11eb-a45a-da7ad0900002","7a83f306-96ca-11eb-9c74-da7ad0900002","16169788-28e4-11eb-832c-fb84162ef3eb","4de53192-9946-11eb-9cee-da7ad0900002","1302282c-b93b-11eb-a436-da7ad0900002","17d73994-7531-11eb-94b9-da7ad0900002"],"author_name":"Qin Chen","template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"7hp-h42-dc3","title":"tf-TestAccDatadogDashboardScatterplot-local-1621866671","url":"/dashboard/7hp-h42-dc3/tf-testaccdatadogdashboardscatterplot-local-1621866671","created_at":"2021-05-24T14:31:12.305063+00:00","modified_at":"2021-05-24T14:31:12.305063+00:00","author_handle":"qin.chen@datadoghq.com","widgets":[{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test Custom Link label"},{"override_label":"logs","is_hidden":true,"link":"https://app.datadoghq.com/dashboard/lists"}],"title_size":"16","yaxis":{"include_zero":false,"scale":"log","min":"1","label":"mem (Gib)"},"title_align":"right","color_by_groups":["app"],"xaxis":{"include_zero":false,"max":"100","min":"0","scale":"log","label":"cpu (%)"},"time":{"live_span":"15m"},"title":"system.mem.used and system.cpu.user by service,team,app colored by app","requests":{"y":{"q":"avg:system.mem.used{env:prod} by {service, team, app}","aggregator":"avg"},"x":{"q":"avg:system.cpu.user{account:prod} by {service, team, app}","aggregator":"avg"}},"type":"scatterplot"},"id":7534151761779212},{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test Custom Link label"}],"title_size":"16","yaxis":{"include_zero":false,"scale":"log","min":"1","label":"mem (Gib)"},"title_align":"right","color_by_groups":["app"],"xaxis":{"include_zero":false,"max":"100","min":"0","scale":"log","label":"cpu (%)"},"time":{"live_span":"15m"},"title":"system.mem.used and system.cpu.user by service,team,app colored by app","requests":{"y":{"q":"avg:system.mem.used{env:prod} by {service, team, app}","aggregator":"avg"},"x":{"q":"avg:system.cpu.user{account:prod} by {service, team, app}","aggregator":"avg"}},"type":"scatterplot"},"id":3583701607680569}],"layout_type":"ordered"}' headers: Cache-Control: - no-cache @@ -178,12 +112,9 @@ interactions: Content-Type: - application/json Date: - - Thu, 28 Jan 2021 16:49:31 GMT + - Mon, 24 May 2021 14:31:12 GMT Pragma: - no-cache - Set-Cookie: - - DD-PSHARD=233; Max-Age=604800; Path=/; expires=Thu, 04-Feb-2021 16:49:31 GMT; - secure; HttpOnly Strict-Transport-Security: - max-age=15724800; Vary: @@ -191,9 +122,9 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Debug: - - bgHykj7A9bfZx0Y5ZO3swhhp5tGUSNJHqFWR868+qg087CYrDOd5hQslC+noiEtH + - Um4CoU685QqAscnxhS5BD+goWu2yX1Jd4zCfGzSsEvPPIm1qURZaF8dlLl/OEY4I X-Dd-Version: - - "35.3796727" + - "35.4593741" X-Frame-Options: - SAMEORIGIN status: 200 OK @@ -208,31 +139,11 @@ interactions: Dd-Operation-Id: - GetDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 1.15.0; terraform-cli 0.12.7-sdk) - datadog-api-client-go/1.0.0-beta.14 (go go1.15.4; os darwin; arch amd64) - X-Datadog-Parent-Id: - - "7596460136759929974" - X-Datadog-Sampling-Priority: - - "1" - X-Datadog-Trace-Id: - - "6251496224295302927" - url: https://api.datadoghq.com/api/v1/dashboard/x9v-tdh-64k + - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) + url: https://api.datadoghq.com/api/v1/dashboard/7hp-h42-dc3 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":"x9v-tdh-64k","title":"tf-TestAccDatadogDashboardScatterplot-local-1611850706","url":"/dashboard/x9v-tdh-64k/tf-testaccdatadogdashboardscatterplot-local-1611850706","created_at":"2021-01-28T16:49:22.693247+00:00","modified_at":"2021-01-28T16:49:22.693247+00:00","author_handle":"frog@datadoghq.com","widgets":[{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test - Custom Link label"}],"title_size":"16","yaxis":{"include_zero":false,"scale":"log","min":"1","label":"mem - (Gib)"},"title_align":"right","color_by_groups":["app"],"xaxis":{"include_zero":false,"max":"100","min":"0","scale":"log","label":"cpu - (%)"},"time":{"live_span":"15m"},"title":"system.mem.used and system.cpu.user - by service,team,app colored by app","requests":{"y":{"q":"avg:system.mem.used{env:prod} - by {service, team, app}","aggregator":"avg"},"x":{"q":"avg:system.cpu.user{account:prod} - by {service, team, app}","aggregator":"avg"}},"type":"scatterplot"},"id":3387263182653338},{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test - Custom Link label"}],"title_size":"16","yaxis":{"include_zero":false,"scale":"log","min":"1","label":"mem - (Gib)"},"title_align":"right","color_by_groups":["app"],"xaxis":{"include_zero":false,"max":"100","min":"0","scale":"log","label":"cpu - (%)"},"time":{"live_span":"15m"},"title":"system.mem.used and system.cpu.user - by service,team,app colored by app","requests":{"y":{"q":"avg:system.mem.used{env:prod} - by {service, team, app}","aggregator":"avg"},"x":{"q":"avg:system.cpu.user{account:prod} - by {service, team, app}","aggregator":"avg"}},"type":"scatterplot"},"id":7872484918933697}],"layout_type":"ordered"}' + body: '{"notify_list":[],"description":"Created using the Datadog provider in Terraform","restricted_roles":["284d8b66-93f9-11eb-9c37-da7ad0900002","043a2842-e140-11e8-bb04-7fd10177666e","657de3a2-29f8-11eb-83b5-6b8ebfb2f184","e82bf27a-986c-11eb-9cba-da7ad0900002","f257ba30-dbb2-11ea-a5ff-5fd1d308318a","6bf314be-5c16-11eb-8e98-2356ea436065","62cbc476-5c16-11eb-8e98-0388ea7a41f8","08604de8-1dca-11eb-800c-9f5f55ff734d","9b3ab170-b768-11eb-a45a-da7ad0900002","7a83f306-96ca-11eb-9c74-da7ad0900002","16169788-28e4-11eb-832c-fb84162ef3eb","4de53192-9946-11eb-9cee-da7ad0900002","1302282c-b93b-11eb-a436-da7ad0900002","17d73994-7531-11eb-94b9-da7ad0900002"],"author_name":"Qin Chen","template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"7hp-h42-dc3","title":"tf-TestAccDatadogDashboardScatterplot-local-1621866671","url":"/dashboard/7hp-h42-dc3/tf-testaccdatadogdashboardscatterplot-local-1621866671","created_at":"2021-05-24T14:31:12.305063+00:00","modified_at":"2021-05-24T14:31:12.305063+00:00","author_handle":"qin.chen@datadoghq.com","widgets":[{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test Custom Link label"},{"override_label":"logs","is_hidden":true,"link":"https://app.datadoghq.com/dashboard/lists"}],"title_size":"16","yaxis":{"include_zero":false,"scale":"log","min":"1","label":"mem (Gib)"},"title_align":"right","color_by_groups":["app"],"xaxis":{"include_zero":false,"max":"100","min":"0","scale":"log","label":"cpu (%)"},"time":{"live_span":"15m"},"title":"system.mem.used and system.cpu.user by service,team,app colored by app","requests":{"y":{"q":"avg:system.mem.used{env:prod} by {service, team, app}","aggregator":"avg"},"x":{"q":"avg:system.cpu.user{account:prod} by {service, team, app}","aggregator":"avg"}},"type":"scatterplot"},"id":7534151761779212},{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test Custom Link label"}],"title_size":"16","yaxis":{"include_zero":false,"scale":"log","min":"1","label":"mem (Gib)"},"title_align":"right","color_by_groups":["app"],"xaxis":{"include_zero":false,"max":"100","min":"0","scale":"log","label":"cpu (%)"},"time":{"live_span":"15m"},"title":"system.mem.used and system.cpu.user by service,team,app colored by app","requests":{"y":{"q":"avg:system.mem.used{env:prod} by {service, team, app}","aggregator":"avg"},"x":{"q":"avg:system.cpu.user{account:prod} by {service, team, app}","aggregator":"avg"}},"type":"scatterplot"},"id":3583701607680569}],"layout_type":"ordered"}' headers: Cache-Control: - no-cache @@ -243,12 +154,9 @@ interactions: Content-Type: - application/json Date: - - Thu, 28 Jan 2021 16:50:07 GMT + - Mon, 24 May 2021 14:31:13 GMT Pragma: - no-cache - Set-Cookie: - - DD-PSHARD=233; Max-Age=604800; Path=/; expires=Thu, 04-Feb-2021 16:50:07 GMT; - secure; HttpOnly Strict-Transport-Security: - max-age=15724800; Vary: @@ -256,9 +164,9 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Debug: - - bgHykj7A9bfZx0Y5ZO3swhhp5tGUSNJHqFWR868+qg087CYrDOd5hQslC+noiEtH + - 2328yjLSqI4XmR1pVqrPRR/SFcQsbafjEpPmZx7/3PfxUK1nJQQsX+wrMelyVyj+ X-Dd-Version: - - "35.3796727" + - "35.4593741" X-Frame-Options: - SAMEORIGIN status: 200 OK @@ -273,31 +181,11 @@ interactions: Dd-Operation-Id: - GetDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 1.15.0; terraform-cli 0.12.7-sdk) - datadog-api-client-go/1.0.0-beta.14 (go go1.15.4; os darwin; arch amd64) - X-Datadog-Parent-Id: - - "5199018300529567672" - X-Datadog-Sampling-Priority: - - "1" - X-Datadog-Trace-Id: - - "6251496224295302927" - url: https://api.datadoghq.com/api/v1/dashboard/x9v-tdh-64k + - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) + url: https://api.datadoghq.com/api/v1/dashboard/7hp-h42-dc3 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":"x9v-tdh-64k","title":"tf-TestAccDatadogDashboardScatterplot-local-1611850706","url":"/dashboard/x9v-tdh-64k/tf-testaccdatadogdashboardscatterplot-local-1611850706","created_at":"2021-01-28T16:49:22.693247+00:00","modified_at":"2021-01-28T16:49:22.693247+00:00","author_handle":"frog@datadoghq.com","widgets":[{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test - Custom Link label"}],"title_size":"16","yaxis":{"include_zero":false,"scale":"log","min":"1","label":"mem - (Gib)"},"title_align":"right","color_by_groups":["app"],"xaxis":{"include_zero":false,"max":"100","min":"0","scale":"log","label":"cpu - (%)"},"time":{"live_span":"15m"},"title":"system.mem.used and system.cpu.user - by service,team,app colored by app","requests":{"y":{"q":"avg:system.mem.used{env:prod} - by {service, team, app}","aggregator":"avg"},"x":{"q":"avg:system.cpu.user{account:prod} - by {service, team, app}","aggregator":"avg"}},"type":"scatterplot"},"id":3387263182653338},{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test - Custom Link label"}],"title_size":"16","yaxis":{"include_zero":false,"scale":"log","min":"1","label":"mem - (Gib)"},"title_align":"right","color_by_groups":["app"],"xaxis":{"include_zero":false,"max":"100","min":"0","scale":"log","label":"cpu - (%)"},"time":{"live_span":"15m"},"title":"system.mem.used and system.cpu.user - by service,team,app colored by app","requests":{"y":{"q":"avg:system.mem.used{env:prod} - by {service, team, app}","aggregator":"avg"},"x":{"q":"avg:system.cpu.user{account:prod} - by {service, team, app}","aggregator":"avg"}},"type":"scatterplot"},"id":7872484918933697}],"layout_type":"ordered"}' + body: '{"notify_list":[],"description":"Created using the Datadog provider in Terraform","restricted_roles":["284d8b66-93f9-11eb-9c37-da7ad0900002","043a2842-e140-11e8-bb04-7fd10177666e","657de3a2-29f8-11eb-83b5-6b8ebfb2f184","e82bf27a-986c-11eb-9cba-da7ad0900002","f257ba30-dbb2-11ea-a5ff-5fd1d308318a","6bf314be-5c16-11eb-8e98-2356ea436065","62cbc476-5c16-11eb-8e98-0388ea7a41f8","08604de8-1dca-11eb-800c-9f5f55ff734d","9b3ab170-b768-11eb-a45a-da7ad0900002","7a83f306-96ca-11eb-9c74-da7ad0900002","16169788-28e4-11eb-832c-fb84162ef3eb","4de53192-9946-11eb-9cee-da7ad0900002","1302282c-b93b-11eb-a436-da7ad0900002","17d73994-7531-11eb-94b9-da7ad0900002"],"author_name":"Qin Chen","template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"7hp-h42-dc3","title":"tf-TestAccDatadogDashboardScatterplot-local-1621866671","url":"/dashboard/7hp-h42-dc3/tf-testaccdatadogdashboardscatterplot-local-1621866671","created_at":"2021-05-24T14:31:12.305063+00:00","modified_at":"2021-05-24T14:31:12.305063+00:00","author_handle":"qin.chen@datadoghq.com","widgets":[{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test Custom Link label"},{"override_label":"logs","is_hidden":true,"link":"https://app.datadoghq.com/dashboard/lists"}],"title_size":"16","yaxis":{"include_zero":false,"scale":"log","min":"1","label":"mem (Gib)"},"title_align":"right","color_by_groups":["app"],"xaxis":{"include_zero":false,"max":"100","min":"0","scale":"log","label":"cpu (%)"},"time":{"live_span":"15m"},"title":"system.mem.used and system.cpu.user by service,team,app colored by app","requests":{"y":{"q":"avg:system.mem.used{env:prod} by {service, team, app}","aggregator":"avg"},"x":{"q":"avg:system.cpu.user{account:prod} by {service, team, app}","aggregator":"avg"}},"type":"scatterplot"},"id":7534151761779212},{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test Custom Link label"}],"title_size":"16","yaxis":{"include_zero":false,"scale":"log","min":"1","label":"mem (Gib)"},"title_align":"right","color_by_groups":["app"],"xaxis":{"include_zero":false,"max":"100","min":"0","scale":"log","label":"cpu (%)"},"time":{"live_span":"15m"},"title":"system.mem.used and system.cpu.user by service,team,app colored by app","requests":{"y":{"q":"avg:system.mem.used{env:prod} by {service, team, app}","aggregator":"avg"},"x":{"q":"avg:system.cpu.user{account:prod} by {service, team, app}","aggregator":"avg"}},"type":"scatterplot"},"id":3583701607680569}],"layout_type":"ordered"}' headers: Cache-Control: - no-cache @@ -308,12 +196,9 @@ interactions: Content-Type: - application/json Date: - - Thu, 28 Jan 2021 16:50:57 GMT + - Mon, 24 May 2021 14:31:13 GMT Pragma: - no-cache - Set-Cookie: - - DD-PSHARD=233; Max-Age=604800; Path=/; expires=Thu, 04-Feb-2021 16:50:57 GMT; - secure; HttpOnly Strict-Transport-Security: - max-age=15724800; Vary: @@ -321,9 +206,9 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Debug: - - /L+SFFO+m1pPY+hRCpk5325fvfrNl0KmiquUNJolBN/5hu3HIwflqjZSbJ6NxDFG + - dCmL/3rURV6BPeaqeP3Rxigq41m5CAb17XjrRE42uZ01zpr07HVhbL5/3TWMkvgu X-Dd-Version: - - "35.3796727" + - "35.4593741" X-Frame-Options: - SAMEORIGIN status: 200 OK @@ -338,18 +223,11 @@ interactions: Dd-Operation-Id: - DeleteDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 1.15.0; terraform-cli 0.12.7-sdk) - datadog-api-client-go/1.0.0-beta.14 (go go1.15.4; os darwin; arch amd64) - X-Datadog-Parent-Id: - - "6296817157214483627" - X-Datadog-Sampling-Priority: - - "1" - X-Datadog-Trace-Id: - - "6251496224295302927" - url: https://api.datadoghq.com/api/v1/dashboard/x9v-tdh-64k + - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) + url: https://api.datadoghq.com/api/v1/dashboard/7hp-h42-dc3 method: DELETE response: - body: '{"deleted_dashboard_id":"x9v-tdh-64k"}' + body: '{"deleted_dashboard_id":"7hp-h42-dc3"}' headers: Cache-Control: - no-cache @@ -360,12 +238,9 @@ interactions: Content-Type: - application/json Date: - - Thu, 28 Jan 2021 16:51:20 GMT + - Mon, 24 May 2021 14:31:14 GMT Pragma: - no-cache - Set-Cookie: - - DD-PSHARD=233; Max-Age=604800; Path=/; expires=Thu, 04-Feb-2021 16:51:19 GMT; - secure; HttpOnly Strict-Transport-Security: - max-age=15724800; Vary: @@ -373,9 +248,9 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Debug: - - B1nwy/pPNqX+q4pQT22cdp1QCexE35IF8qwSHy0Nf7IW0Y881qtn4tXN1lpmzaKc + - HbtaOKlJ6OCrx9tMXO6ivMTrEM+g0c93HDp08trmOmgdHozC5J+vn10F0H4WPjCU X-Dd-Version: - - "35.3796727" + - "35.4593741" X-Frame-Options: - SAMEORIGIN status: 200 OK @@ -390,18 +265,11 @@ interactions: Dd-Operation-Id: - GetDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 1.15.0; terraform-cli 0.12.7-sdk) - datadog-api-client-go/1.0.0-beta.14 (go go1.15.4; os darwin; arch amd64) - X-Datadog-Parent-Id: - - "5027174709423246870" - X-Datadog-Sampling-Priority: - - "1" - X-Datadog-Trace-Id: - - "6251496224295302927" - url: https://api.datadoghq.com/api/v1/dashboard/x9v-tdh-64k + - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) + url: https://api.datadoghq.com/api/v1/dashboard/7hp-h42-dc3 method: GET response: - body: '{"errors": ["Dashboard with ID x9v-tdh-64k not found"]}' + body: '{"errors": ["Dashboard with ID 7hp-h42-dc3 not found"]}' headers: Cache-Control: - no-cache @@ -412,7 +280,7 @@ interactions: Content-Type: - application/json Date: - - Thu, 28 Jan 2021 16:51:22 GMT + - Mon, 24 May 2021 14:31:14 GMT Pragma: - no-cache Strict-Transport-Security: @@ -422,7 +290,7 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Version: - - "35.3796727" + - "35.4593741" X-Frame-Options: - SAMEORIGIN status: 404 Not Found diff --git a/datadog/tests/cassettes/TestAccDatadogDashboardScatterplot_import.freeze b/datadog/tests/cassettes/TestAccDatadogDashboardScatterplot_import.freeze index 7e48b95ad..53b1ce471 100644 --- a/datadog/tests/cassettes/TestAccDatadogDashboardScatterplot_import.freeze +++ b/datadog/tests/cassettes/TestAccDatadogDashboardScatterplot_import.freeze @@ -1 +1 @@ -2020-12-31T15:42:08.74021+01:00 \ No newline at end of file +2021-05-24T10:37:36.33913-04:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogDashboardScatterplot_import.yaml b/datadog/tests/cassettes/TestAccDatadogDashboardScatterplot_import.yaml index 9238211e0..53e98d51c 100644 --- a/datadog/tests/cassettes/TestAccDatadogDashboardScatterplot_import.yaml +++ b/datadog/tests/cassettes/TestAccDatadogDashboardScatterplot_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-TestAccDatadogDashboardScatterplot_import-local-1609425728","widgets":[{"definition":{"color_by_groups":["app"],"custom_links":[{"label":"Test Custom Link label","link":"https://app.datadoghq.com/dashboard/lists"}],"requests":{"x":{"aggregator":"avg","q":"avg:system.cpu.user{account:prod} by {service, team, app}"},"y":{"aggregator":"avg","q":"avg:system.mem.used{env:prod} by {service, team, app}"}},"time":{"live_span":"15m"},"title":"system.mem.used and system.cpu.user by service,team,app colored by app","title_align":"right","title_size":"16","type":"scatterplot","xaxis":{"include_zero":false,"label":"cpu (%)","max":"100","min":"0","scale":"log"},"yaxis":{"include_zero":false,"label":"mem (Gib)","min":"1","scale":"log"}}}]} + {"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-TestAccDatadogDashboardScatterplot_import-local-1621866671","widgets":[{"definition":{"color_by_groups":["app"],"custom_links":[{"label":"Test Custom Link label","link":"https://app.datadoghq.com/dashboard/lists"}],"requests":{"x":{"aggregator":"avg","q":"avg:system.cpu.user{account:prod} by {service, team, app}"},"y":{"aggregator":"avg","q":"avg:system.mem.used{env:prod} by {service, team, app}"}},"time":{"live_span":"15m"},"title":"system.mem.used and system.cpu.user by service,team,app colored by app","title_align":"right","title_size":"16","type":"scatterplot","xaxis":{"include_zero":false,"label":"cpu (%)","max":"100","min":"0","scale":"log"},"yaxis":{"include_zero":false,"label":"mem (Gib)","min":"1","scale":"log"}}}]} form: {} headers: Accept: @@ -13,25 +13,11 @@ interactions: Dd-Operation-Id: - CreateDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 1.15.0; terraform-cli 0.12.7-sdk) - datadog-api-client-go/1.0.0-beta.13+dev (go go1.15.4; os darwin; arch amd64) - X-Datadog-Parent-Id: - - "2948060761037736520" - X-Datadog-Sampling-Priority: - - "1" - X-Datadog-Trace-Id: - - "639391645206334338" + - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) 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":"5bp-8ub-kfy","title":"tf-TestAccDatadogDashboardScatterplot_import-local-1609425728","url":"/dashboard/5bp-8ub-kfy/tf-testaccdatadogdashboardscatterplotimport-local-1609425728","created_at":"2020-12-31T14:48:01.044093+00:00","modified_at":"2020-12-31T14:48:01.044093+00:00","author_handle":"frog@datadoghq.com","widgets":[{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test - Custom Link label"}],"title_size":"16","yaxis":{"include_zero":false,"scale":"log","min":"1","label":"mem - (Gib)"},"title_align":"right","color_by_groups":["app"],"xaxis":{"include_zero":false,"max":"100","min":"0","scale":"log","label":"cpu - (%)"},"time":{"live_span":"15m"},"title":"system.mem.used and system.cpu.user - by service,team,app colored by app","requests":{"y":{"q":"avg:system.mem.used{env:prod} - by {service, team, app}","aggregator":"avg"},"x":{"q":"avg:system.cpu.user{account:prod} - by {service, team, app}","aggregator":"avg"}},"type":"scatterplot"},"id":1459065978924874}],"layout_type":"ordered"}' + body: '{"notify_list":[],"description":"Created using the Datadog provider in Terraform","restricted_roles":["043a2842-e140-11e8-bb04-7fd10177666e","08604de8-1dca-11eb-800c-9f5f55ff734d","1302282c-b93b-11eb-a436-da7ad0900002","16169788-28e4-11eb-832c-fb84162ef3eb","17d73994-7531-11eb-94b9-da7ad0900002","284d8b66-93f9-11eb-9c37-da7ad0900002","4de53192-9946-11eb-9cee-da7ad0900002","62cbc476-5c16-11eb-8e98-0388ea7a41f8","657de3a2-29f8-11eb-83b5-6b8ebfb2f184","6bf314be-5c16-11eb-8e98-2356ea436065","7a83f306-96ca-11eb-9c74-da7ad0900002","9b3ab170-b768-11eb-a45a-da7ad0900002","e82bf27a-986c-11eb-9cba-da7ad0900002","f257ba30-dbb2-11ea-a5ff-5fd1d308318a"],"author_name":"Qin Chen","template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"vm2-3ct-rqs","title":"tf-TestAccDatadogDashboardScatterplot_import-local-1621866671","url":"/dashboard/vm2-3ct-rqs/tf-testaccdatadogdashboardscatterplotimport-local-1621866671","created_at":"2021-05-24T14:31:12.293354+00:00","modified_at":"2021-05-24T14:31:12.293354+00:00","author_handle":"qin.chen@datadoghq.com","widgets":[{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test Custom Link label"}],"title_size":"16","yaxis":{"include_zero":false,"scale":"log","min":"1","label":"mem (Gib)"},"title_align":"right","color_by_groups":["app"],"xaxis":{"include_zero":false,"max":"100","min":"0","scale":"log","label":"cpu (%)"},"time":{"live_span":"15m"},"title":"system.mem.used and system.cpu.user by service,team,app colored by app","requests":{"y":{"q":"avg:system.mem.used{env:prod} by {service, team, app}","aggregator":"avg"},"x":{"q":"avg:system.cpu.user{account:prod} by {service, team, app}","aggregator":"avg"}},"type":"scatterplot"},"id":5802586078425630}],"layout_type":"ordered"}' headers: Cache-Control: - no-cache @@ -42,12 +28,9 @@ interactions: Content-Type: - application/json Date: - - Thu, 31 Dec 2020 14:48:03 GMT + - Mon, 24 May 2021 14:31:12 GMT Pragma: - no-cache - Set-Cookie: - - DD-PSHARD=233; Max-Age=604800; Path=/; expires=Thu, 07-Jan-2021 14:48:00 GMT; - secure; HttpOnly Strict-Transport-Security: - max-age=15724800; Vary: @@ -55,9 +38,9 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Debug: - - XhN3sROXhRtxvw2F+uRtJTWMwUQRYhDKBCNr1DfCqtzQgh490ZXtNSOhIx1TzG8K + - 5gfwVh/5HZ+AnGd/Di93w3NEWC6KMHT9KzmHEiRJmNdOjBtAsbOcgVFyqEChw71h X-Dd-Version: - - "35.3622023" + - "35.4593741" X-Frame-Options: - SAMEORIGIN status: 200 OK @@ -72,25 +55,11 @@ interactions: Dd-Operation-Id: - GetDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 1.15.0; terraform-cli 0.12.7-sdk) - datadog-api-client-go/1.0.0-beta.13+dev (go go1.15.4; os darwin; arch amd64) - X-Datadog-Parent-Id: - - "3283282512363111526" - X-Datadog-Sampling-Priority: - - "1" - X-Datadog-Trace-Id: - - "639391645206334338" - url: https://api.datadoghq.com/api/v1/dashboard/5bp-8ub-kfy + - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) + url: https://api.datadoghq.com/api/v1/dashboard/vm2-3ct-rqs 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":"5bp-8ub-kfy","title":"tf-TestAccDatadogDashboardScatterplot_import-local-1609425728","url":"/dashboard/5bp-8ub-kfy/tf-testaccdatadogdashboardscatterplotimport-local-1609425728","created_at":"2020-12-31T14:48:01.044093+00:00","modified_at":"2020-12-31T14:48:01.044093+00:00","author_handle":"frog@datadoghq.com","widgets":[{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test - Custom Link label"}],"title_size":"16","yaxis":{"include_zero":false,"scale":"log","min":"1","label":"mem - (Gib)"},"title_align":"right","color_by_groups":["app"],"xaxis":{"include_zero":false,"max":"100","min":"0","scale":"log","label":"cpu - (%)"},"time":{"live_span":"15m"},"title":"system.mem.used and system.cpu.user - by service,team,app colored by app","requests":{"y":{"q":"avg:system.mem.used{env:prod} - by {service, team, app}","aggregator":"avg"},"x":{"q":"avg:system.cpu.user{account:prod} - by {service, team, app}","aggregator":"avg"}},"type":"scatterplot"},"id":1459065978924874}],"layout_type":"ordered"}' + body: '{"notify_list":[],"description":"Created using the Datadog provider in Terraform","restricted_roles":["284d8b66-93f9-11eb-9c37-da7ad0900002","043a2842-e140-11e8-bb04-7fd10177666e","657de3a2-29f8-11eb-83b5-6b8ebfb2f184","e82bf27a-986c-11eb-9cba-da7ad0900002","f257ba30-dbb2-11ea-a5ff-5fd1d308318a","6bf314be-5c16-11eb-8e98-2356ea436065","62cbc476-5c16-11eb-8e98-0388ea7a41f8","08604de8-1dca-11eb-800c-9f5f55ff734d","9b3ab170-b768-11eb-a45a-da7ad0900002","7a83f306-96ca-11eb-9c74-da7ad0900002","16169788-28e4-11eb-832c-fb84162ef3eb","4de53192-9946-11eb-9cee-da7ad0900002","1302282c-b93b-11eb-a436-da7ad0900002","17d73994-7531-11eb-94b9-da7ad0900002"],"author_name":"Qin Chen","template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"vm2-3ct-rqs","title":"tf-TestAccDatadogDashboardScatterplot_import-local-1621866671","url":"/dashboard/vm2-3ct-rqs/tf-testaccdatadogdashboardscatterplotimport-local-1621866671","created_at":"2021-05-24T14:31:12.293354+00:00","modified_at":"2021-05-24T14:31:12.293354+00:00","author_handle":"qin.chen@datadoghq.com","widgets":[{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test Custom Link label"}],"title_size":"16","yaxis":{"include_zero":false,"scale":"log","min":"1","label":"mem (Gib)"},"title_align":"right","color_by_groups":["app"],"xaxis":{"include_zero":false,"max":"100","min":"0","scale":"log","label":"cpu (%)"},"time":{"live_span":"15m"},"title":"system.mem.used and system.cpu.user by service,team,app colored by app","requests":{"y":{"q":"avg:system.mem.used{env:prod} by {service, team, app}","aggregator":"avg"},"x":{"q":"avg:system.cpu.user{account:prod} by {service, team, app}","aggregator":"avg"}},"type":"scatterplot"},"id":5802586078425630}],"layout_type":"ordered"}' headers: Cache-Control: - no-cache @@ -101,12 +70,9 @@ interactions: Content-Type: - application/json Date: - - Thu, 31 Dec 2020 14:48:04 GMT + - Mon, 24 May 2021 14:31:12 GMT Pragma: - no-cache - Set-Cookie: - - DD-PSHARD=233; Max-Age=604800; Path=/; expires=Thu, 07-Jan-2021 14:48:04 GMT; - secure; HttpOnly Strict-Transport-Security: - max-age=15724800; Vary: @@ -114,9 +80,9 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Debug: - - GzqFsJiHmsMG2ZkgPZxP4KU7BbP1543ieTDBlTOcSv7mMVZ5sYoywme9ykeCrzfU + - LcgNasIYBRkNppmD6mCKE9J6iv0eEjosuuHR5V5zw2fWbR54i39C8dhdK8zDq/40 X-Dd-Version: - - "35.3622023" + - "35.4593741" X-Frame-Options: - SAMEORIGIN status: 200 OK @@ -131,25 +97,11 @@ interactions: Dd-Operation-Id: - GetDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 1.15.0; terraform-cli 0.12.7-sdk) - datadog-api-client-go/1.0.0-beta.13+dev (go go1.15.4; os darwin; arch amd64) - X-Datadog-Parent-Id: - - "2193345642508321953" - X-Datadog-Sampling-Priority: - - "1" - X-Datadog-Trace-Id: - - "639391645206334338" - url: https://api.datadoghq.com/api/v1/dashboard/5bp-8ub-kfy + - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) + url: https://api.datadoghq.com/api/v1/dashboard/vm2-3ct-rqs 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":"5bp-8ub-kfy","title":"tf-TestAccDatadogDashboardScatterplot_import-local-1609425728","url":"/dashboard/5bp-8ub-kfy/tf-testaccdatadogdashboardscatterplotimport-local-1609425728","created_at":"2020-12-31T14:48:01.044093+00:00","modified_at":"2020-12-31T14:48:01.044093+00:00","author_handle":"frog@datadoghq.com","widgets":[{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test - Custom Link label"}],"title_size":"16","yaxis":{"include_zero":false,"scale":"log","min":"1","label":"mem - (Gib)"},"title_align":"right","color_by_groups":["app"],"xaxis":{"include_zero":false,"max":"100","min":"0","scale":"log","label":"cpu - (%)"},"time":{"live_span":"15m"},"title":"system.mem.used and system.cpu.user - by service,team,app colored by app","requests":{"y":{"q":"avg:system.mem.used{env:prod} - by {service, team, app}","aggregator":"avg"},"x":{"q":"avg:system.cpu.user{account:prod} - by {service, team, app}","aggregator":"avg"}},"type":"scatterplot"},"id":1459065978924874}],"layout_type":"ordered"}' + body: '{"notify_list":[],"description":"Created using the Datadog provider in Terraform","restricted_roles":["284d8b66-93f9-11eb-9c37-da7ad0900002","043a2842-e140-11e8-bb04-7fd10177666e","657de3a2-29f8-11eb-83b5-6b8ebfb2f184","e82bf27a-986c-11eb-9cba-da7ad0900002","f257ba30-dbb2-11ea-a5ff-5fd1d308318a","6bf314be-5c16-11eb-8e98-2356ea436065","62cbc476-5c16-11eb-8e98-0388ea7a41f8","08604de8-1dca-11eb-800c-9f5f55ff734d","9b3ab170-b768-11eb-a45a-da7ad0900002","7a83f306-96ca-11eb-9c74-da7ad0900002","16169788-28e4-11eb-832c-fb84162ef3eb","4de53192-9946-11eb-9cee-da7ad0900002","1302282c-b93b-11eb-a436-da7ad0900002","17d73994-7531-11eb-94b9-da7ad0900002"],"author_name":"Qin Chen","template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"vm2-3ct-rqs","title":"tf-TestAccDatadogDashboardScatterplot_import-local-1621866671","url":"/dashboard/vm2-3ct-rqs/tf-testaccdatadogdashboardscatterplotimport-local-1621866671","created_at":"2021-05-24T14:31:12.293354+00:00","modified_at":"2021-05-24T14:31:12.293354+00:00","author_handle":"qin.chen@datadoghq.com","widgets":[{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test Custom Link label"}],"title_size":"16","yaxis":{"include_zero":false,"scale":"log","min":"1","label":"mem (Gib)"},"title_align":"right","color_by_groups":["app"],"xaxis":{"include_zero":false,"max":"100","min":"0","scale":"log","label":"cpu (%)"},"time":{"live_span":"15m"},"title":"system.mem.used and system.cpu.user by service,team,app colored by app","requests":{"y":{"q":"avg:system.mem.used{env:prod} by {service, team, app}","aggregator":"avg"},"x":{"q":"avg:system.cpu.user{account:prod} by {service, team, app}","aggregator":"avg"}},"type":"scatterplot"},"id":5802586078425630}],"layout_type":"ordered"}' headers: Cache-Control: - no-cache @@ -160,12 +112,9 @@ interactions: Content-Type: - application/json Date: - - Thu, 31 Dec 2020 14:48:11 GMT + - Mon, 24 May 2021 14:31:13 GMT Pragma: - no-cache - Set-Cookie: - - DD-PSHARD=233; Max-Age=604800; Path=/; expires=Thu, 07-Jan-2021 14:48:11 GMT; - secure; HttpOnly Strict-Transport-Security: - max-age=15724800; Vary: @@ -173,9 +122,9 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Debug: - - Q8knEw82SgGErSuAaD0RuA7obbJQJNFXaFmNNzPtQBtywdtSi82Z9gGaD787DJ0K + - L3ULR3HwCWYmEqCWGz2Yob3chcH4pjowBacBXkncP7o+/uPqKt9yGEYf/g1AJPzQ X-Dd-Version: - - "35.3622023" + - "35.4593741" X-Frame-Options: - SAMEORIGIN status: 200 OK @@ -190,25 +139,11 @@ interactions: Dd-Operation-Id: - GetDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 1.15.0; terraform-cli 0.12.7-sdk) - datadog-api-client-go/1.0.0-beta.13+dev (go go1.15.4; os darwin; arch amd64) - X-Datadog-Parent-Id: - - "8065431697700298103" - X-Datadog-Sampling-Priority: - - "1" - X-Datadog-Trace-Id: - - "639391645206334338" - url: https://api.datadoghq.com/api/v1/dashboard/5bp-8ub-kfy + - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) + url: https://api.datadoghq.com/api/v1/dashboard/vm2-3ct-rqs 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":"5bp-8ub-kfy","title":"tf-TestAccDatadogDashboardScatterplot_import-local-1609425728","url":"/dashboard/5bp-8ub-kfy/tf-testaccdatadogdashboardscatterplotimport-local-1609425728","created_at":"2020-12-31T14:48:01.044093+00:00","modified_at":"2020-12-31T14:48:01.044093+00:00","author_handle":"frog@datadoghq.com","widgets":[{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test - Custom Link label"}],"title_size":"16","yaxis":{"include_zero":false,"scale":"log","min":"1","label":"mem - (Gib)"},"title_align":"right","color_by_groups":["app"],"xaxis":{"include_zero":false,"max":"100","min":"0","scale":"log","label":"cpu - (%)"},"time":{"live_span":"15m"},"title":"system.mem.used and system.cpu.user - by service,team,app colored by app","requests":{"y":{"q":"avg:system.mem.used{env:prod} - by {service, team, app}","aggregator":"avg"},"x":{"q":"avg:system.cpu.user{account:prod} - by {service, team, app}","aggregator":"avg"}},"type":"scatterplot"},"id":1459065978924874}],"layout_type":"ordered"}' + body: '{"notify_list":[],"description":"Created using the Datadog provider in Terraform","restricted_roles":["284d8b66-93f9-11eb-9c37-da7ad0900002","043a2842-e140-11e8-bb04-7fd10177666e","657de3a2-29f8-11eb-83b5-6b8ebfb2f184","e82bf27a-986c-11eb-9cba-da7ad0900002","f257ba30-dbb2-11ea-a5ff-5fd1d308318a","6bf314be-5c16-11eb-8e98-2356ea436065","62cbc476-5c16-11eb-8e98-0388ea7a41f8","08604de8-1dca-11eb-800c-9f5f55ff734d","9b3ab170-b768-11eb-a45a-da7ad0900002","7a83f306-96ca-11eb-9c74-da7ad0900002","16169788-28e4-11eb-832c-fb84162ef3eb","4de53192-9946-11eb-9cee-da7ad0900002","1302282c-b93b-11eb-a436-da7ad0900002","17d73994-7531-11eb-94b9-da7ad0900002"],"author_name":"Qin Chen","template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"vm2-3ct-rqs","title":"tf-TestAccDatadogDashboardScatterplot_import-local-1621866671","url":"/dashboard/vm2-3ct-rqs/tf-testaccdatadogdashboardscatterplotimport-local-1621866671","created_at":"2021-05-24T14:31:12.293354+00:00","modified_at":"2021-05-24T14:31:12.293354+00:00","author_handle":"qin.chen@datadoghq.com","widgets":[{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test Custom Link label"}],"title_size":"16","yaxis":{"include_zero":false,"scale":"log","min":"1","label":"mem (Gib)"},"title_align":"right","color_by_groups":["app"],"xaxis":{"include_zero":false,"max":"100","min":"0","scale":"log","label":"cpu (%)"},"time":{"live_span":"15m"},"title":"system.mem.used and system.cpu.user by service,team,app colored by app","requests":{"y":{"q":"avg:system.mem.used{env:prod} by {service, team, app}","aggregator":"avg"},"x":{"q":"avg:system.cpu.user{account:prod} by {service, team, app}","aggregator":"avg"}},"type":"scatterplot"},"id":5802586078425630}],"layout_type":"ordered"}' headers: Cache-Control: - no-cache @@ -219,12 +154,9 @@ interactions: Content-Type: - application/json Date: - - Thu, 31 Dec 2020 14:48:17 GMT + - Mon, 24 May 2021 14:31:13 GMT Pragma: - no-cache - Set-Cookie: - - DD-PSHARD=233; Max-Age=604800; Path=/; expires=Thu, 07-Jan-2021 14:48:16 GMT; - secure; HttpOnly Strict-Transport-Security: - max-age=15724800; Vary: @@ -232,9 +164,9 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Debug: - - NVN1vUIP943yBv5BrKvNkq9LhGENimQCGx913v3GQzIJuXIMEzcrTlr1CpALPFWv + - mNzaoDhdDKO7t4QSrAe5X7pHd0bJND187D+vRbwoluXouE2m1UaQQX0RGCvRpLVE X-Dd-Version: - - "35.3622023" + - "35.4593741" X-Frame-Options: - SAMEORIGIN status: 200 OK @@ -249,25 +181,11 @@ interactions: Dd-Operation-Id: - GetDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 1.15.0; terraform-cli 0.12.7-sdk) - datadog-api-client-go/1.0.0-beta.13+dev (go go1.15.4; os darwin; arch amd64) - X-Datadog-Parent-Id: - - "2577828331695774481" - X-Datadog-Sampling-Priority: - - "1" - X-Datadog-Trace-Id: - - "639391645206334338" - url: https://api.datadoghq.com/api/v1/dashboard/5bp-8ub-kfy + - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) + url: https://api.datadoghq.com/api/v1/dashboard/vm2-3ct-rqs 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":"5bp-8ub-kfy","title":"tf-TestAccDatadogDashboardScatterplot_import-local-1609425728","url":"/dashboard/5bp-8ub-kfy/tf-testaccdatadogdashboardscatterplotimport-local-1609425728","created_at":"2020-12-31T14:48:01.044093+00:00","modified_at":"2020-12-31T14:48:01.044093+00:00","author_handle":"frog@datadoghq.com","widgets":[{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test - Custom Link label"}],"title_size":"16","yaxis":{"include_zero":false,"scale":"log","min":"1","label":"mem - (Gib)"},"title_align":"right","color_by_groups":["app"],"xaxis":{"include_zero":false,"max":"100","min":"0","scale":"log","label":"cpu - (%)"},"time":{"live_span":"15m"},"title":"system.mem.used and system.cpu.user - by service,team,app colored by app","requests":{"y":{"q":"avg:system.mem.used{env:prod} - by {service, team, app}","aggregator":"avg"},"x":{"q":"avg:system.cpu.user{account:prod} - by {service, team, app}","aggregator":"avg"}},"type":"scatterplot"},"id":1459065978924874}],"layout_type":"ordered"}' + body: '{"notify_list":[],"description":"Created using the Datadog provider in Terraform","restricted_roles":["284d8b66-93f9-11eb-9c37-da7ad0900002","043a2842-e140-11e8-bb04-7fd10177666e","657de3a2-29f8-11eb-83b5-6b8ebfb2f184","e82bf27a-986c-11eb-9cba-da7ad0900002","f257ba30-dbb2-11ea-a5ff-5fd1d308318a","6bf314be-5c16-11eb-8e98-2356ea436065","62cbc476-5c16-11eb-8e98-0388ea7a41f8","08604de8-1dca-11eb-800c-9f5f55ff734d","9b3ab170-b768-11eb-a45a-da7ad0900002","7a83f306-96ca-11eb-9c74-da7ad0900002","16169788-28e4-11eb-832c-fb84162ef3eb","4de53192-9946-11eb-9cee-da7ad0900002","1302282c-b93b-11eb-a436-da7ad0900002","17d73994-7531-11eb-94b9-da7ad0900002"],"author_name":"Qin Chen","template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"vm2-3ct-rqs","title":"tf-TestAccDatadogDashboardScatterplot_import-local-1621866671","url":"/dashboard/vm2-3ct-rqs/tf-testaccdatadogdashboardscatterplotimport-local-1621866671","created_at":"2021-05-24T14:31:12.293354+00:00","modified_at":"2021-05-24T14:31:12.293354+00:00","author_handle":"qin.chen@datadoghq.com","widgets":[{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test Custom Link label"}],"title_size":"16","yaxis":{"include_zero":false,"scale":"log","min":"1","label":"mem (Gib)"},"title_align":"right","color_by_groups":["app"],"xaxis":{"include_zero":false,"max":"100","min":"0","scale":"log","label":"cpu (%)"},"time":{"live_span":"15m"},"title":"system.mem.used and system.cpu.user by service,team,app colored by app","requests":{"y":{"q":"avg:system.mem.used{env:prod} by {service, team, app}","aggregator":"avg"},"x":{"q":"avg:system.cpu.user{account:prod} by {service, team, app}","aggregator":"avg"}},"type":"scatterplot"},"id":5802586078425630}],"layout_type":"ordered"}' headers: Cache-Control: - no-cache @@ -278,12 +196,9 @@ interactions: Content-Type: - application/json Date: - - Thu, 31 Dec 2020 14:48:18 GMT + - Mon, 24 May 2021 14:31:13 GMT Pragma: - no-cache - Set-Cookie: - - DD-PSHARD=233; Max-Age=604800; Path=/; expires=Thu, 07-Jan-2021 14:48:18 GMT; - secure; HttpOnly Strict-Transport-Security: - max-age=15724800; Vary: @@ -291,9 +206,9 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Debug: - - uhKf3DOQ/asSODSNh+771Jj2mAFRCrXnSErQegeSH33qVMu18OG0v+JTvu/HjcV7 + - vdJ3/nHEY1ioXQ6pQrBVvsQK1s4yyc+wufBMPSoXql71qZVuP/xMdtNo6DafhOAk X-Dd-Version: - - "35.3622023" + - "35.4593741" X-Frame-Options: - SAMEORIGIN status: 200 OK @@ -308,25 +223,11 @@ interactions: Dd-Operation-Id: - GetDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 1.15.0; terraform-cli 0.12.7-sdk) - datadog-api-client-go/1.0.0-beta.13+dev (go go1.15.4; os darwin; arch amd64) - X-Datadog-Parent-Id: - - "1300212220457134712" - X-Datadog-Sampling-Priority: - - "1" - X-Datadog-Trace-Id: - - "639391645206334338" - url: https://api.datadoghq.com/api/v1/dashboard/5bp-8ub-kfy + - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) + url: https://api.datadoghq.com/api/v1/dashboard/vm2-3ct-rqs 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":"5bp-8ub-kfy","title":"tf-TestAccDatadogDashboardScatterplot_import-local-1609425728","url":"/dashboard/5bp-8ub-kfy/tf-testaccdatadogdashboardscatterplotimport-local-1609425728","created_at":"2020-12-31T14:48:01.044093+00:00","modified_at":"2020-12-31T14:48:01.044093+00:00","author_handle":"frog@datadoghq.com","widgets":[{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test - Custom Link label"}],"title_size":"16","yaxis":{"include_zero":false,"scale":"log","min":"1","label":"mem - (Gib)"},"title_align":"right","color_by_groups":["app"],"xaxis":{"include_zero":false,"max":"100","min":"0","scale":"log","label":"cpu - (%)"},"time":{"live_span":"15m"},"title":"system.mem.used and system.cpu.user - by service,team,app colored by app","requests":{"y":{"q":"avg:system.mem.used{env:prod} - by {service, team, app}","aggregator":"avg"},"x":{"q":"avg:system.cpu.user{account:prod} - by {service, team, app}","aggregator":"avg"}},"type":"scatterplot"},"id":1459065978924874}],"layout_type":"ordered"}' + body: '{"notify_list":[],"description":"Created using the Datadog provider in Terraform","restricted_roles":["284d8b66-93f9-11eb-9c37-da7ad0900002","043a2842-e140-11e8-bb04-7fd10177666e","657de3a2-29f8-11eb-83b5-6b8ebfb2f184","e82bf27a-986c-11eb-9cba-da7ad0900002","f257ba30-dbb2-11ea-a5ff-5fd1d308318a","6bf314be-5c16-11eb-8e98-2356ea436065","62cbc476-5c16-11eb-8e98-0388ea7a41f8","08604de8-1dca-11eb-800c-9f5f55ff734d","9b3ab170-b768-11eb-a45a-da7ad0900002","7a83f306-96ca-11eb-9c74-da7ad0900002","16169788-28e4-11eb-832c-fb84162ef3eb","4de53192-9946-11eb-9cee-da7ad0900002","1302282c-b93b-11eb-a436-da7ad0900002","17d73994-7531-11eb-94b9-da7ad0900002"],"author_name":"Qin Chen","template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"vm2-3ct-rqs","title":"tf-TestAccDatadogDashboardScatterplot_import-local-1621866671","url":"/dashboard/vm2-3ct-rqs/tf-testaccdatadogdashboardscatterplotimport-local-1621866671","created_at":"2021-05-24T14:31:12.293354+00:00","modified_at":"2021-05-24T14:31:12.293354+00:00","author_handle":"qin.chen@datadoghq.com","widgets":[{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test Custom Link label"}],"title_size":"16","yaxis":{"include_zero":false,"scale":"log","min":"1","label":"mem (Gib)"},"title_align":"right","color_by_groups":["app"],"xaxis":{"include_zero":false,"max":"100","min":"0","scale":"log","label":"cpu (%)"},"time":{"live_span":"15m"},"title":"system.mem.used and system.cpu.user by service,team,app colored by app","requests":{"y":{"q":"avg:system.mem.used{env:prod} by {service, team, app}","aggregator":"avg"},"x":{"q":"avg:system.cpu.user{account:prod} by {service, team, app}","aggregator":"avg"}},"type":"scatterplot"},"id":5802586078425630}],"layout_type":"ordered"}' headers: Cache-Control: - no-cache @@ -337,12 +238,9 @@ interactions: Content-Type: - application/json Date: - - Thu, 31 Dec 2020 14:48:20 GMT + - Mon, 24 May 2021 14:31:14 GMT Pragma: - no-cache - Set-Cookie: - - DD-PSHARD=233; Max-Age=604800; Path=/; expires=Thu, 07-Jan-2021 14:48:20 GMT; - secure; HttpOnly Strict-Transport-Security: - max-age=15724800; Vary: @@ -350,9 +248,9 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Debug: - - Xg/YZweB8L/9y2bk9dLfKv6mTe53iWJN13eGXk6rwnDvTKZPuXf1i9AdXnCIzJ+B + - bgHykj7A9bfZx0Y5ZO3swhhp5tGUSNJHqFWR868+qg087CYrDOd5hQslC+noiEtH X-Dd-Version: - - "35.3622023" + - "35.4593741" X-Frame-Options: - SAMEORIGIN status: 200 OK @@ -367,18 +265,11 @@ interactions: Dd-Operation-Id: - DeleteDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 1.15.0; terraform-cli 0.12.7-sdk) - datadog-api-client-go/1.0.0-beta.13+dev (go go1.15.4; os darwin; arch amd64) - X-Datadog-Parent-Id: - - "6784993331637152888" - X-Datadog-Sampling-Priority: - - "1" - X-Datadog-Trace-Id: - - "639391645206334338" - url: https://api.datadoghq.com/api/v1/dashboard/5bp-8ub-kfy + - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) + url: https://api.datadoghq.com/api/v1/dashboard/vm2-3ct-rqs method: DELETE response: - body: '{"deleted_dashboard_id":"5bp-8ub-kfy"}' + body: '{"deleted_dashboard_id":"vm2-3ct-rqs"}' headers: Cache-Control: - no-cache @@ -389,12 +280,9 @@ interactions: Content-Type: - application/json Date: - - Thu, 31 Dec 2020 14:48:25 GMT + - Mon, 24 May 2021 14:31:14 GMT Pragma: - no-cache - Set-Cookie: - - DD-PSHARD=233; Max-Age=604800; Path=/; expires=Thu, 07-Jan-2021 14:48:25 GMT; - secure; HttpOnly Strict-Transport-Security: - max-age=15724800; Vary: @@ -402,9 +290,9 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Debug: - - WmMtMFngDL31sZYuYCiUaMFRtAs90zyIJHnMIoB4iHZztA/Ona9SnOav516bWmh7 + - S1wfaMZOKGT/IoMw6fqAwAwGWo2vQ44sjF3YzuETnQfxZO2T5eJbs0aX3UKb9Dwu X-Dd-Version: - - "35.3622023" + - "35.4593741" X-Frame-Options: - SAMEORIGIN status: 200 OK @@ -419,18 +307,11 @@ interactions: Dd-Operation-Id: - GetDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 1.15.0; terraform-cli 0.12.7-sdk) - datadog-api-client-go/1.0.0-beta.13+dev (go go1.15.4; os darwin; arch amd64) - X-Datadog-Parent-Id: - - "8750366110365724623" - X-Datadog-Sampling-Priority: - - "1" - X-Datadog-Trace-Id: - - "639391645206334338" - url: https://api.datadoghq.com/api/v1/dashboard/5bp-8ub-kfy + - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) + url: https://api.datadoghq.com/api/v1/dashboard/vm2-3ct-rqs method: GET response: - body: '{"errors": ["Dashboard with ID 5bp-8ub-kfy not found"]}' + body: '{"errors": ["Dashboard with ID vm2-3ct-rqs not found"]}' headers: Cache-Control: - no-cache @@ -441,7 +322,7 @@ interactions: Content-Type: - application/json Date: - - Thu, 31 Dec 2020 14:48:26 GMT + - Mon, 24 May 2021 14:31:14 GMT Pragma: - no-cache Strict-Transport-Security: @@ -451,7 +332,7 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Version: - - "35.3622023" + - "35.4593741" X-Frame-Options: - SAMEORIGIN status: 404 Not Found diff --git a/datadog/tests/cassettes/TestAccDatadogDashboardServiceMap.freeze b/datadog/tests/cassettes/TestAccDatadogDashboardServiceMap.freeze index c23a25905..cd595f48c 100644 --- a/datadog/tests/cassettes/TestAccDatadogDashboardServiceMap.freeze +++ b/datadog/tests/cassettes/TestAccDatadogDashboardServiceMap.freeze @@ -1 +1 @@ -2021-05-03T11:37:01.664408+02:00 \ No newline at end of file +2021-05-24T10:37:36.33442-04:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogDashboardServiceMap.yaml b/datadog/tests/cassettes/TestAccDatadogDashboardServiceMap.yaml index e9f511e6f..945f67b49 100644 --- a/datadog/tests/cassettes/TestAccDatadogDashboardServiceMap.yaml +++ b/datadog/tests/cassettes/TestAccDatadogDashboardServiceMap.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":"free","notify_list":[],"template_variable_presets":[],"template_variables":[],"title":"tf-TestAccDatadogDashboardServiceMap-local-1620034621","widgets":[{"definition":{"custom_links":[{"label":"Test Custom Link label","link":"https://app.datadoghq.com/dashboard/lists"}],"filters":["env:prod","datacenter:us1.prod.dog"],"service":"master-db","title":"env: prod, datacenter:us1.prod.dog, service: master-db","title_align":"left","title_size":"16","type":"servicemap"},"layout":{"height":43,"is_column_break":false,"width":32,"x":5,"y":5}}]} + {"description":"Created using the Datadog provider in Terraform","id":"","is_read_only":true,"layout_type":"free","notify_list":[],"template_variable_presets":[],"template_variables":[],"title":"tf-TestAccDatadogDashboardServiceMap-local-1621866799","widgets":[{"definition":{"custom_links":[{"label":"Test Custom Link label","link":"https://app.datadoghq.com/dashboard/lists"},{"is_hidden":true,"link":"https://app.datadoghq.com/dashboard/lists","override_label":"logs"}],"filters":["env:prod","datacenter:us1.prod.dog"],"service":"master-db","title":"env: prod, datacenter:us1.prod.dog, service: master-db","title_align":"left","title_size":"16","type":"servicemap"},"layout":{"height":43,"is_column_break":false,"width":32,"x":5,"y":5}}]} form: {} headers: Accept: @@ -13,11 +13,11 @@ interactions: Dd-Operation-Id: - CreateDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.21+dev (go go1.16.2; os darwin; arch amd64) + - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) url: https://api.datadoghq.com/api/v1/dashboard method: POST response: - body: '{"notify_list":[],"description":"Created using the Datadog provider in Terraform","restricted_roles":["043a2842-e140-11e8-bb04-7fd10177666e","08604de8-1dca-11eb-800c-9f5f55ff734d","16169788-28e4-11eb-832c-fb84162ef3eb","17d73994-7531-11eb-94b9-da7ad0900002","284d8b66-93f9-11eb-9c37-da7ad0900002","4de53192-9946-11eb-9cee-da7ad0900002","62cbc476-5c16-11eb-8e98-0388ea7a41f8","657de3a2-29f8-11eb-83b5-6b8ebfb2f184","6bf314be-5c16-11eb-8e98-2356ea436065","7a83f306-96ca-11eb-9c74-da7ad0900002","e82bf27a-986c-11eb-9cba-da7ad0900002","f0674aa4-9d38-11eb-9dc6-da7ad0900002","f257ba30-dbb2-11ea-a5ff-5fd1d308318a","fc72d08c-55f5-11eb-8d12-df0bb6cadca3"],"author_name":"David Robert-Ansart","template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"amy-2pn-yh9","title":"tf-TestAccDatadogDashboardServiceMap-local-1620034621","url":"/dashboard/amy-2pn-yh9/tf-testaccdatadogdashboardservicemap-local-1620034621","created_at":"2021-05-03T09:37:02.762807+00:00","modified_at":"2021-05-03T09:37:02.762807+00:00","author_handle":"david.robertansart@datadoghq.com","widgets":[{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test Custom Link label"}],"title_size":"16","service":"master-db","title":"env: prod, datacenter:us1.prod.dog, service: master-db","title_align":"left","filters":["env:prod","datacenter:us1.prod.dog"],"type":"servicemap"},"layout":{"y":5,"width":32,"is_column_break":false,"x":5,"height":43},"id":2608702087748843}],"layout_type":"free"}' + body: '{"notify_list":[],"description":"Created using the Datadog provider in Terraform","restricted_roles":["043a2842-e140-11e8-bb04-7fd10177666e","08604de8-1dca-11eb-800c-9f5f55ff734d","1302282c-b93b-11eb-a436-da7ad0900002","16169788-28e4-11eb-832c-fb84162ef3eb","17d73994-7531-11eb-94b9-da7ad0900002","284d8b66-93f9-11eb-9c37-da7ad0900002","4de53192-9946-11eb-9cee-da7ad0900002","62cbc476-5c16-11eb-8e98-0388ea7a41f8","657de3a2-29f8-11eb-83b5-6b8ebfb2f184","6bf314be-5c16-11eb-8e98-2356ea436065","7a83f306-96ca-11eb-9c74-da7ad0900002","9b3ab170-b768-11eb-a45a-da7ad0900002","e82bf27a-986c-11eb-9cba-da7ad0900002","f257ba30-dbb2-11ea-a5ff-5fd1d308318a"],"author_name":"Qin Chen","template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"tiw-459-csz","title":"tf-TestAccDatadogDashboardServiceMap-local-1621866799","url":"/dashboard/tiw-459-csz/tf-testaccdatadogdashboardservicemap-local-1621866799","created_at":"2021-05-24T14:33:20.906979+00:00","modified_at":"2021-05-24T14:33:20.906979+00:00","author_handle":"qin.chen@datadoghq.com","widgets":[{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test Custom Link label"},{"override_label":"logs","is_hidden":true,"link":"https://app.datadoghq.com/dashboard/lists"}],"title_size":"16","service":"master-db","title":"env: prod, datacenter:us1.prod.dog, service: master-db","title_align":"left","filters":["env:prod","datacenter:us1.prod.dog"],"type":"servicemap"},"layout":{"y":5,"width":32,"is_column_break":false,"x":5,"height":43},"id":6566869533210252}],"layout_type":"free"}' headers: Cache-Control: - no-cache @@ -28,7 +28,7 @@ interactions: Content-Type: - application/json Date: - - Mon, 03 May 2021 09:37:02 GMT + - Mon, 24 May 2021 14:33:21 GMT Pragma: - no-cache Strict-Transport-Security: @@ -38,9 +38,9 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Debug: - - PhosSd3Ch1B6B0DXI71steKUi7XhPDttnPiIP1NdXTw0VJNWpoUnYyBmODS5ne3q + - S1wfaMZOKGT/IoMw6fqAwAwGWo2vQ44sjF3YzuETnQfxZO2T5eJbs0aX3UKb9Dwu X-Dd-Version: - - "35.4442455" + - "35.4593741" X-Frame-Options: - SAMEORIGIN status: 200 OK @@ -55,11 +55,11 @@ interactions: Dd-Operation-Id: - GetDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.21+dev (go go1.16.2; os darwin; arch amd64) - url: https://api.datadoghq.com/api/v1/dashboard/amy-2pn-yh9 + - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) + url: https://api.datadoghq.com/api/v1/dashboard/tiw-459-csz method: GET response: - body: '{"notify_list":[],"description":"Created using the Datadog provider in Terraform","restricted_roles":["f0674aa4-9d38-11eb-9dc6-da7ad0900002","284d8b66-93f9-11eb-9c37-da7ad0900002","043a2842-e140-11e8-bb04-7fd10177666e","fc72d08c-55f5-11eb-8d12-df0bb6cadca3","17d73994-7531-11eb-94b9-da7ad0900002","657de3a2-29f8-11eb-83b5-6b8ebfb2f184","e82bf27a-986c-11eb-9cba-da7ad0900002","f257ba30-dbb2-11ea-a5ff-5fd1d308318a","6bf314be-5c16-11eb-8e98-2356ea436065","62cbc476-5c16-11eb-8e98-0388ea7a41f8","08604de8-1dca-11eb-800c-9f5f55ff734d","7a83f306-96ca-11eb-9c74-da7ad0900002","16169788-28e4-11eb-832c-fb84162ef3eb","4de53192-9946-11eb-9cee-da7ad0900002"],"author_name":"David Robert-Ansart","template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"amy-2pn-yh9","title":"tf-TestAccDatadogDashboardServiceMap-local-1620034621","url":"/dashboard/amy-2pn-yh9/tf-testaccdatadogdashboardservicemap-local-1620034621","created_at":"2021-05-03T09:37:02.762807+00:00","modified_at":"2021-05-03T09:37:02.762807+00:00","author_handle":"david.robertansart@datadoghq.com","widgets":[{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test Custom Link label"}],"title_size":"16","service":"master-db","title":"env: prod, datacenter:us1.prod.dog, service: master-db","title_align":"left","filters":["env:prod","datacenter:us1.prod.dog"],"type":"servicemap"},"layout":{"y":5,"width":32,"is_column_break":false,"x":5,"height":43},"id":2608702087748843}],"layout_type":"free"}' + body: '{"notify_list":[],"description":"Created using the Datadog provider in Terraform","restricted_roles":["284d8b66-93f9-11eb-9c37-da7ad0900002","043a2842-e140-11e8-bb04-7fd10177666e","657de3a2-29f8-11eb-83b5-6b8ebfb2f184","e82bf27a-986c-11eb-9cba-da7ad0900002","f257ba30-dbb2-11ea-a5ff-5fd1d308318a","6bf314be-5c16-11eb-8e98-2356ea436065","62cbc476-5c16-11eb-8e98-0388ea7a41f8","08604de8-1dca-11eb-800c-9f5f55ff734d","9b3ab170-b768-11eb-a45a-da7ad0900002","7a83f306-96ca-11eb-9c74-da7ad0900002","16169788-28e4-11eb-832c-fb84162ef3eb","4de53192-9946-11eb-9cee-da7ad0900002","1302282c-b93b-11eb-a436-da7ad0900002","17d73994-7531-11eb-94b9-da7ad0900002"],"author_name":"Qin Chen","template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"tiw-459-csz","title":"tf-TestAccDatadogDashboardServiceMap-local-1621866799","url":"/dashboard/tiw-459-csz/tf-testaccdatadogdashboardservicemap-local-1621866799","created_at":"2021-05-24T14:33:20.906979+00:00","modified_at":"2021-05-24T14:33:20.906979+00:00","author_handle":"qin.chen@datadoghq.com","widgets":[{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test Custom Link label"},{"override_label":"logs","is_hidden":true,"link":"https://app.datadoghq.com/dashboard/lists"}],"title_size":"16","service":"master-db","title":"env: prod, datacenter:us1.prod.dog, service: master-db","title_align":"left","filters":["env:prod","datacenter:us1.prod.dog"],"type":"servicemap"},"layout":{"y":5,"width":32,"is_column_break":false,"x":5,"height":43},"id":6566869533210252}],"layout_type":"free"}' headers: Cache-Control: - no-cache @@ -70,7 +70,7 @@ interactions: Content-Type: - application/json Date: - - Mon, 03 May 2021 09:37:03 GMT + - Mon, 24 May 2021 14:33:21 GMT Pragma: - no-cache Strict-Transport-Security: @@ -80,9 +80,9 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Debug: - - LcgNasIYBRkNppmD6mCKE9J6iv0eEjosuuHR5V5zw2fWbR54i39C8dhdK8zDq/40 + - SY1h8ScsWq+kYmtbh63ltMLFAZsQjqfrgvdfAoRX+9TzT1sgMBRYaFRwfWWRRe9a X-Dd-Version: - - "35.4442455" + - "35.4593741" X-Frame-Options: - SAMEORIGIN status: 200 OK @@ -97,11 +97,11 @@ interactions: Dd-Operation-Id: - GetDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.21+dev (go go1.16.2; os darwin; arch amd64) - url: https://api.datadoghq.com/api/v1/dashboard/amy-2pn-yh9 + - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) + url: https://api.datadoghq.com/api/v1/dashboard/tiw-459-csz method: GET response: - body: '{"notify_list":[],"description":"Created using the Datadog provider in Terraform","restricted_roles":["f0674aa4-9d38-11eb-9dc6-da7ad0900002","284d8b66-93f9-11eb-9c37-da7ad0900002","043a2842-e140-11e8-bb04-7fd10177666e","fc72d08c-55f5-11eb-8d12-df0bb6cadca3","17d73994-7531-11eb-94b9-da7ad0900002","657de3a2-29f8-11eb-83b5-6b8ebfb2f184","e82bf27a-986c-11eb-9cba-da7ad0900002","f257ba30-dbb2-11ea-a5ff-5fd1d308318a","6bf314be-5c16-11eb-8e98-2356ea436065","62cbc476-5c16-11eb-8e98-0388ea7a41f8","08604de8-1dca-11eb-800c-9f5f55ff734d","7a83f306-96ca-11eb-9c74-da7ad0900002","16169788-28e4-11eb-832c-fb84162ef3eb","4de53192-9946-11eb-9cee-da7ad0900002"],"author_name":"David Robert-Ansart","template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"amy-2pn-yh9","title":"tf-TestAccDatadogDashboardServiceMap-local-1620034621","url":"/dashboard/amy-2pn-yh9/tf-testaccdatadogdashboardservicemap-local-1620034621","created_at":"2021-05-03T09:37:02.762807+00:00","modified_at":"2021-05-03T09:37:02.762807+00:00","author_handle":"david.robertansart@datadoghq.com","widgets":[{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test Custom Link label"}],"title_size":"16","service":"master-db","title":"env: prod, datacenter:us1.prod.dog, service: master-db","title_align":"left","filters":["env:prod","datacenter:us1.prod.dog"],"type":"servicemap"},"layout":{"y":5,"width":32,"is_column_break":false,"x":5,"height":43},"id":2608702087748843}],"layout_type":"free"}' + body: '{"notify_list":[],"description":"Created using the Datadog provider in Terraform","restricted_roles":["284d8b66-93f9-11eb-9c37-da7ad0900002","043a2842-e140-11e8-bb04-7fd10177666e","657de3a2-29f8-11eb-83b5-6b8ebfb2f184","e82bf27a-986c-11eb-9cba-da7ad0900002","f257ba30-dbb2-11ea-a5ff-5fd1d308318a","6bf314be-5c16-11eb-8e98-2356ea436065","62cbc476-5c16-11eb-8e98-0388ea7a41f8","08604de8-1dca-11eb-800c-9f5f55ff734d","9b3ab170-b768-11eb-a45a-da7ad0900002","7a83f306-96ca-11eb-9c74-da7ad0900002","16169788-28e4-11eb-832c-fb84162ef3eb","4de53192-9946-11eb-9cee-da7ad0900002","1302282c-b93b-11eb-a436-da7ad0900002","17d73994-7531-11eb-94b9-da7ad0900002"],"author_name":"Qin Chen","template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"tiw-459-csz","title":"tf-TestAccDatadogDashboardServiceMap-local-1621866799","url":"/dashboard/tiw-459-csz/tf-testaccdatadogdashboardservicemap-local-1621866799","created_at":"2021-05-24T14:33:20.906979+00:00","modified_at":"2021-05-24T14:33:20.906979+00:00","author_handle":"qin.chen@datadoghq.com","widgets":[{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test Custom Link label"},{"override_label":"logs","is_hidden":true,"link":"https://app.datadoghq.com/dashboard/lists"}],"title_size":"16","service":"master-db","title":"env: prod, datacenter:us1.prod.dog, service: master-db","title_align":"left","filters":["env:prod","datacenter:us1.prod.dog"],"type":"servicemap"},"layout":{"y":5,"width":32,"is_column_break":false,"x":5,"height":43},"id":6566869533210252}],"layout_type":"free"}' headers: Cache-Control: - no-cache @@ -112,7 +112,7 @@ interactions: Content-Type: - application/json Date: - - Mon, 03 May 2021 09:37:03 GMT + - Mon, 24 May 2021 14:33:21 GMT Pragma: - no-cache Strict-Transport-Security: @@ -122,9 +122,9 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Debug: - - 2328yjLSqI4XmR1pVqrPRR/SFcQsbafjEpPmZx7/3PfxUK1nJQQsX+wrMelyVyj+ + - l4HFlaRP3QwYSqoGKhzbYfv7zgkK63HIRR7YkyVYZspq0lGjjTBwoK8V/alf+XYt X-Dd-Version: - - "35.4442455" + - "35.4593741" X-Frame-Options: - SAMEORIGIN status: 200 OK @@ -139,11 +139,11 @@ interactions: Dd-Operation-Id: - GetDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.21+dev (go go1.16.2; os darwin; arch amd64) - url: https://api.datadoghq.com/api/v1/dashboard/amy-2pn-yh9 + - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) + url: https://api.datadoghq.com/api/v1/dashboard/tiw-459-csz method: GET response: - body: '{"notify_list":[],"description":"Created using the Datadog provider in Terraform","restricted_roles":["f0674aa4-9d38-11eb-9dc6-da7ad0900002","284d8b66-93f9-11eb-9c37-da7ad0900002","043a2842-e140-11e8-bb04-7fd10177666e","fc72d08c-55f5-11eb-8d12-df0bb6cadca3","17d73994-7531-11eb-94b9-da7ad0900002","657de3a2-29f8-11eb-83b5-6b8ebfb2f184","e82bf27a-986c-11eb-9cba-da7ad0900002","f257ba30-dbb2-11ea-a5ff-5fd1d308318a","6bf314be-5c16-11eb-8e98-2356ea436065","62cbc476-5c16-11eb-8e98-0388ea7a41f8","08604de8-1dca-11eb-800c-9f5f55ff734d","7a83f306-96ca-11eb-9c74-da7ad0900002","16169788-28e4-11eb-832c-fb84162ef3eb","4de53192-9946-11eb-9cee-da7ad0900002"],"author_name":"David Robert-Ansart","template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"amy-2pn-yh9","title":"tf-TestAccDatadogDashboardServiceMap-local-1620034621","url":"/dashboard/amy-2pn-yh9/tf-testaccdatadogdashboardservicemap-local-1620034621","created_at":"2021-05-03T09:37:02.762807+00:00","modified_at":"2021-05-03T09:37:02.762807+00:00","author_handle":"david.robertansart@datadoghq.com","widgets":[{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test Custom Link label"}],"title_size":"16","service":"master-db","title":"env: prod, datacenter:us1.prod.dog, service: master-db","title_align":"left","filters":["env:prod","datacenter:us1.prod.dog"],"type":"servicemap"},"layout":{"y":5,"width":32,"is_column_break":false,"x":5,"height":43},"id":2608702087748843}],"layout_type":"free"}' + body: '{"notify_list":[],"description":"Created using the Datadog provider in Terraform","restricted_roles":["284d8b66-93f9-11eb-9c37-da7ad0900002","043a2842-e140-11e8-bb04-7fd10177666e","657de3a2-29f8-11eb-83b5-6b8ebfb2f184","e82bf27a-986c-11eb-9cba-da7ad0900002","f257ba30-dbb2-11ea-a5ff-5fd1d308318a","6bf314be-5c16-11eb-8e98-2356ea436065","62cbc476-5c16-11eb-8e98-0388ea7a41f8","08604de8-1dca-11eb-800c-9f5f55ff734d","9b3ab170-b768-11eb-a45a-da7ad0900002","7a83f306-96ca-11eb-9c74-da7ad0900002","16169788-28e4-11eb-832c-fb84162ef3eb","4de53192-9946-11eb-9cee-da7ad0900002","1302282c-b93b-11eb-a436-da7ad0900002","17d73994-7531-11eb-94b9-da7ad0900002"],"author_name":"Qin Chen","template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"tiw-459-csz","title":"tf-TestAccDatadogDashboardServiceMap-local-1621866799","url":"/dashboard/tiw-459-csz/tf-testaccdatadogdashboardservicemap-local-1621866799","created_at":"2021-05-24T14:33:20.906979+00:00","modified_at":"2021-05-24T14:33:20.906979+00:00","author_handle":"qin.chen@datadoghq.com","widgets":[{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test Custom Link label"},{"override_label":"logs","is_hidden":true,"link":"https://app.datadoghq.com/dashboard/lists"}],"title_size":"16","service":"master-db","title":"env: prod, datacenter:us1.prod.dog, service: master-db","title_align":"left","filters":["env:prod","datacenter:us1.prod.dog"],"type":"servicemap"},"layout":{"y":5,"width":32,"is_column_break":false,"x":5,"height":43},"id":6566869533210252}],"layout_type":"free"}' headers: Cache-Control: - no-cache @@ -154,7 +154,7 @@ interactions: Content-Type: - application/json Date: - - Mon, 03 May 2021 09:37:03 GMT + - Mon, 24 May 2021 14:33:21 GMT Pragma: - no-cache Strict-Transport-Security: @@ -164,9 +164,9 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Debug: - - LcgNasIYBRkNppmD6mCKE9J6iv0eEjosuuHR5V5zw2fWbR54i39C8dhdK8zDq/40 + - vdJ3/nHEY1ioXQ6pQrBVvsQK1s4yyc+wufBMPSoXql71qZVuP/xMdtNo6DafhOAk X-Dd-Version: - - "35.4442455" + - "35.4593741" X-Frame-Options: - SAMEORIGIN status: 200 OK @@ -181,11 +181,11 @@ interactions: Dd-Operation-Id: - GetDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.21+dev (go go1.16.2; os darwin; arch amd64) - url: https://api.datadoghq.com/api/v1/dashboard/amy-2pn-yh9 + - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) + url: https://api.datadoghq.com/api/v1/dashboard/tiw-459-csz method: GET response: - body: '{"notify_list":[],"description":"Created using the Datadog provider in Terraform","restricted_roles":["f0674aa4-9d38-11eb-9dc6-da7ad0900002","284d8b66-93f9-11eb-9c37-da7ad0900002","043a2842-e140-11e8-bb04-7fd10177666e","fc72d08c-55f5-11eb-8d12-df0bb6cadca3","17d73994-7531-11eb-94b9-da7ad0900002","657de3a2-29f8-11eb-83b5-6b8ebfb2f184","e82bf27a-986c-11eb-9cba-da7ad0900002","f257ba30-dbb2-11ea-a5ff-5fd1d308318a","6bf314be-5c16-11eb-8e98-2356ea436065","62cbc476-5c16-11eb-8e98-0388ea7a41f8","08604de8-1dca-11eb-800c-9f5f55ff734d","7a83f306-96ca-11eb-9c74-da7ad0900002","16169788-28e4-11eb-832c-fb84162ef3eb","4de53192-9946-11eb-9cee-da7ad0900002"],"author_name":"David Robert-Ansart","template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"amy-2pn-yh9","title":"tf-TestAccDatadogDashboardServiceMap-local-1620034621","url":"/dashboard/amy-2pn-yh9/tf-testaccdatadogdashboardservicemap-local-1620034621","created_at":"2021-05-03T09:37:02.762807+00:00","modified_at":"2021-05-03T09:37:02.762807+00:00","author_handle":"david.robertansart@datadoghq.com","widgets":[{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test Custom Link label"}],"title_size":"16","service":"master-db","title":"env: prod, datacenter:us1.prod.dog, service: master-db","title_align":"left","filters":["env:prod","datacenter:us1.prod.dog"],"type":"servicemap"},"layout":{"y":5,"width":32,"is_column_break":false,"x":5,"height":43},"id":2608702087748843}],"layout_type":"free"}' + body: '{"notify_list":[],"description":"Created using the Datadog provider in Terraform","restricted_roles":["284d8b66-93f9-11eb-9c37-da7ad0900002","043a2842-e140-11e8-bb04-7fd10177666e","657de3a2-29f8-11eb-83b5-6b8ebfb2f184","e82bf27a-986c-11eb-9cba-da7ad0900002","f257ba30-dbb2-11ea-a5ff-5fd1d308318a","6bf314be-5c16-11eb-8e98-2356ea436065","62cbc476-5c16-11eb-8e98-0388ea7a41f8","08604de8-1dca-11eb-800c-9f5f55ff734d","9b3ab170-b768-11eb-a45a-da7ad0900002","7a83f306-96ca-11eb-9c74-da7ad0900002","16169788-28e4-11eb-832c-fb84162ef3eb","4de53192-9946-11eb-9cee-da7ad0900002","1302282c-b93b-11eb-a436-da7ad0900002","17d73994-7531-11eb-94b9-da7ad0900002"],"author_name":"Qin Chen","template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"tiw-459-csz","title":"tf-TestAccDatadogDashboardServiceMap-local-1621866799","url":"/dashboard/tiw-459-csz/tf-testaccdatadogdashboardservicemap-local-1621866799","created_at":"2021-05-24T14:33:20.906979+00:00","modified_at":"2021-05-24T14:33:20.906979+00:00","author_handle":"qin.chen@datadoghq.com","widgets":[{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test Custom Link label"},{"override_label":"logs","is_hidden":true,"link":"https://app.datadoghq.com/dashboard/lists"}],"title_size":"16","service":"master-db","title":"env: prod, datacenter:us1.prod.dog, service: master-db","title_align":"left","filters":["env:prod","datacenter:us1.prod.dog"],"type":"servicemap"},"layout":{"y":5,"width":32,"is_column_break":false,"x":5,"height":43},"id":6566869533210252}],"layout_type":"free"}' headers: Cache-Control: - no-cache @@ -196,7 +196,7 @@ interactions: Content-Type: - application/json Date: - - Mon, 03 May 2021 09:37:04 GMT + - Mon, 24 May 2021 14:33:22 GMT Pragma: - no-cache Strict-Transport-Security: @@ -208,7 +208,7 @@ interactions: X-Dd-Debug: - bgHykj7A9bfZx0Y5ZO3swhhp5tGUSNJHqFWR868+qg087CYrDOd5hQslC+noiEtH X-Dd-Version: - - "35.4442455" + - "35.4593741" X-Frame-Options: - SAMEORIGIN status: 200 OK @@ -223,11 +223,11 @@ interactions: Dd-Operation-Id: - DeleteDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.21+dev (go go1.16.2; os darwin; arch amd64) - url: https://api.datadoghq.com/api/v1/dashboard/amy-2pn-yh9 + - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) + url: https://api.datadoghq.com/api/v1/dashboard/tiw-459-csz method: DELETE response: - body: '{"deleted_dashboard_id":"amy-2pn-yh9"}' + body: '{"deleted_dashboard_id":"tiw-459-csz"}' headers: Cache-Control: - no-cache @@ -238,7 +238,7 @@ interactions: Content-Type: - application/json Date: - - Mon, 03 May 2021 09:37:04 GMT + - Mon, 24 May 2021 14:33:22 GMT Pragma: - no-cache Strict-Transport-Security: @@ -248,9 +248,9 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Debug: - - L3ULR3HwCWYmEqCWGz2Yob3chcH4pjowBacBXkncP7o+/uPqKt9yGEYf/g1AJPzQ + - SY1h8ScsWq+kYmtbh63ltMLFAZsQjqfrgvdfAoRX+9TzT1sgMBRYaFRwfWWRRe9a X-Dd-Version: - - "35.4442455" + - "35.4593741" X-Frame-Options: - SAMEORIGIN status: 200 OK @@ -265,11 +265,11 @@ interactions: Dd-Operation-Id: - GetDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.21+dev (go go1.16.2; os darwin; arch amd64) - url: https://api.datadoghq.com/api/v1/dashboard/amy-2pn-yh9 + - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) + url: https://api.datadoghq.com/api/v1/dashboard/tiw-459-csz method: GET response: - body: '{"errors": ["Dashboard with ID amy-2pn-yh9 not found"]}' + body: '{"errors": ["Dashboard with ID tiw-459-csz not found"]}' headers: Cache-Control: - no-cache @@ -280,7 +280,7 @@ interactions: Content-Type: - application/json Date: - - Mon, 03 May 2021 09:37:04 GMT + - Mon, 24 May 2021 14:33:22 GMT Pragma: - no-cache Strict-Transport-Security: @@ -290,7 +290,7 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Version: - - "35.4442455" + - "35.4593741" X-Frame-Options: - SAMEORIGIN status: 404 Not Found diff --git a/datadog/tests/cassettes/TestAccDatadogDashboardServiceMap_import.freeze b/datadog/tests/cassettes/TestAccDatadogDashboardServiceMap_import.freeze index 2aaac3397..449a35f1e 100644 --- a/datadog/tests/cassettes/TestAccDatadogDashboardServiceMap_import.freeze +++ b/datadog/tests/cassettes/TestAccDatadogDashboardServiceMap_import.freeze @@ -1 +1 @@ -2021-05-03T11:37:17.250301+02:00 \ No newline at end of file +2021-05-24T10:37:36.33467-04:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogDashboardServiceMap_import.yaml b/datadog/tests/cassettes/TestAccDatadogDashboardServiceMap_import.yaml index aec221138..9d968955c 100644 --- a/datadog/tests/cassettes/TestAccDatadogDashboardServiceMap_import.yaml +++ b/datadog/tests/cassettes/TestAccDatadogDashboardServiceMap_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":"free","notify_list":[],"template_variable_presets":[],"template_variables":[],"title":"tf-TestAccDatadogDashboardServiceMap_import-local-1620034637","widgets":[{"definition":{"custom_links":[{"label":"Test Custom Link label","link":"https://app.datadoghq.com/dashboard/lists"}],"filters":["env:prod","datacenter:us1.prod.dog"],"service":"master-db","title":"env: prod, datacenter:us1.prod.dog, service: master-db","title_align":"left","title_size":"16","type":"servicemap"},"layout":{"height":43,"is_column_break":false,"width":32,"x":5,"y":5}}]} + {"description":"Created using the Datadog provider in Terraform","id":"","is_read_only":true,"layout_type":"free","notify_list":[],"template_variable_presets":[],"template_variables":[],"title":"tf-TestAccDatadogDashboardServiceMap_import-local-1621866799","widgets":[{"definition":{"custom_links":[{"label":"Test Custom Link label","link":"https://app.datadoghq.com/dashboard/lists"},{"is_hidden":true,"link":"https://app.datadoghq.com/dashboard/lists","override_label":"logs"}],"filters":["env:prod","datacenter:us1.prod.dog"],"service":"master-db","title":"env: prod, datacenter:us1.prod.dog, service: master-db","title_align":"left","title_size":"16","type":"servicemap"},"layout":{"height":43,"is_column_break":false,"width":32,"x":5,"y":5}}]} form: {} headers: Accept: @@ -13,11 +13,11 @@ interactions: Dd-Operation-Id: - CreateDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.21+dev (go go1.16.2; os darwin; arch amd64) + - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) url: https://api.datadoghq.com/api/v1/dashboard method: POST response: - body: '{"notify_list":[],"description":"Created using the Datadog provider in Terraform","restricted_roles":["043a2842-e140-11e8-bb04-7fd10177666e","08604de8-1dca-11eb-800c-9f5f55ff734d","16169788-28e4-11eb-832c-fb84162ef3eb","17d73994-7531-11eb-94b9-da7ad0900002","284d8b66-93f9-11eb-9c37-da7ad0900002","4de53192-9946-11eb-9cee-da7ad0900002","62cbc476-5c16-11eb-8e98-0388ea7a41f8","657de3a2-29f8-11eb-83b5-6b8ebfb2f184","6bf314be-5c16-11eb-8e98-2356ea436065","7a83f306-96ca-11eb-9c74-da7ad0900002","e82bf27a-986c-11eb-9cba-da7ad0900002","f0674aa4-9d38-11eb-9dc6-da7ad0900002","f257ba30-dbb2-11ea-a5ff-5fd1d308318a","fc72d08c-55f5-11eb-8d12-df0bb6cadca3"],"author_name":"David Robert-Ansart","template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"7qg-rkt-i6p","title":"tf-TestAccDatadogDashboardServiceMap_import-local-1620034637","url":"/dashboard/7qg-rkt-i6p/tf-testaccdatadogdashboardservicemapimport-local-1620034637","created_at":"2021-05-03T09:37:18.295939+00:00","modified_at":"2021-05-03T09:37:18.295939+00:00","author_handle":"david.robertansart@datadoghq.com","widgets":[{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test Custom Link label"}],"title_size":"16","service":"master-db","title":"env: prod, datacenter:us1.prod.dog, service: master-db","title_align":"left","filters":["env:prod","datacenter:us1.prod.dog"],"type":"servicemap"},"layout":{"y":5,"width":32,"is_column_break":false,"x":5,"height":43},"id":4426635934451805}],"layout_type":"free"}' + body: '{"notify_list":[],"description":"Created using the Datadog provider in Terraform","restricted_roles":["043a2842-e140-11e8-bb04-7fd10177666e","08604de8-1dca-11eb-800c-9f5f55ff734d","1302282c-b93b-11eb-a436-da7ad0900002","16169788-28e4-11eb-832c-fb84162ef3eb","17d73994-7531-11eb-94b9-da7ad0900002","284d8b66-93f9-11eb-9c37-da7ad0900002","4de53192-9946-11eb-9cee-da7ad0900002","62cbc476-5c16-11eb-8e98-0388ea7a41f8","657de3a2-29f8-11eb-83b5-6b8ebfb2f184","6bf314be-5c16-11eb-8e98-2356ea436065","7a83f306-96ca-11eb-9c74-da7ad0900002","9b3ab170-b768-11eb-a45a-da7ad0900002","e82bf27a-986c-11eb-9cba-da7ad0900002","f257ba30-dbb2-11ea-a5ff-5fd1d308318a"],"author_name":"Qin Chen","template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"9wa-c5y-te2","title":"tf-TestAccDatadogDashboardServiceMap_import-local-1621866799","url":"/dashboard/9wa-c5y-te2/tf-testaccdatadogdashboardservicemapimport-local-1621866799","created_at":"2021-05-24T14:33:20.921118+00:00","modified_at":"2021-05-24T14:33:20.921118+00:00","author_handle":"qin.chen@datadoghq.com","widgets":[{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test Custom Link label"},{"override_label":"logs","is_hidden":true,"link":"https://app.datadoghq.com/dashboard/lists"}],"title_size":"16","service":"master-db","title":"env: prod, datacenter:us1.prod.dog, service: master-db","title_align":"left","filters":["env:prod","datacenter:us1.prod.dog"],"type":"servicemap"},"layout":{"y":5,"width":32,"is_column_break":false,"x":5,"height":43},"id":1216547762165145}],"layout_type":"free"}' headers: Cache-Control: - no-cache @@ -28,7 +28,7 @@ interactions: Content-Type: - application/json Date: - - Mon, 03 May 2021 09:37:18 GMT + - Mon, 24 May 2021 14:33:21 GMT Pragma: - no-cache Strict-Transport-Security: @@ -38,9 +38,9 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Debug: - - SY1h8ScsWq+kYmtbh63ltMLFAZsQjqfrgvdfAoRX+9TzT1sgMBRYaFRwfWWRRe9a + - twvpGlmuom5y6A0pjGtXzTf554cmwJgTcCZ71fK4H/RDi+v5ehBK0zQiRcTJQG5C X-Dd-Version: - - "35.4442455" + - "35.4593741" X-Frame-Options: - SAMEORIGIN status: 200 OK @@ -55,11 +55,11 @@ interactions: Dd-Operation-Id: - GetDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.21+dev (go go1.16.2; os darwin; arch amd64) - url: https://api.datadoghq.com/api/v1/dashboard/7qg-rkt-i6p + - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) + url: https://api.datadoghq.com/api/v1/dashboard/9wa-c5y-te2 method: GET response: - body: '{"notify_list":[],"description":"Created using the Datadog provider in Terraform","restricted_roles":["f0674aa4-9d38-11eb-9dc6-da7ad0900002","284d8b66-93f9-11eb-9c37-da7ad0900002","043a2842-e140-11e8-bb04-7fd10177666e","fc72d08c-55f5-11eb-8d12-df0bb6cadca3","17d73994-7531-11eb-94b9-da7ad0900002","657de3a2-29f8-11eb-83b5-6b8ebfb2f184","e82bf27a-986c-11eb-9cba-da7ad0900002","f257ba30-dbb2-11ea-a5ff-5fd1d308318a","6bf314be-5c16-11eb-8e98-2356ea436065","62cbc476-5c16-11eb-8e98-0388ea7a41f8","08604de8-1dca-11eb-800c-9f5f55ff734d","7a83f306-96ca-11eb-9c74-da7ad0900002","16169788-28e4-11eb-832c-fb84162ef3eb","4de53192-9946-11eb-9cee-da7ad0900002"],"author_name":"David Robert-Ansart","template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"7qg-rkt-i6p","title":"tf-TestAccDatadogDashboardServiceMap_import-local-1620034637","url":"/dashboard/7qg-rkt-i6p/tf-testaccdatadogdashboardservicemapimport-local-1620034637","created_at":"2021-05-03T09:37:18.295939+00:00","modified_at":"2021-05-03T09:37:18.295939+00:00","author_handle":"david.robertansart@datadoghq.com","widgets":[{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test Custom Link label"}],"title_size":"16","service":"master-db","title":"env: prod, datacenter:us1.prod.dog, service: master-db","title_align":"left","filters":["env:prod","datacenter:us1.prod.dog"],"type":"servicemap"},"layout":{"y":5,"width":32,"is_column_break":false,"x":5,"height":43},"id":4426635934451805}],"layout_type":"free"}' + body: '{"notify_list":[],"description":"Created using the Datadog provider in Terraform","restricted_roles":["284d8b66-93f9-11eb-9c37-da7ad0900002","043a2842-e140-11e8-bb04-7fd10177666e","657de3a2-29f8-11eb-83b5-6b8ebfb2f184","e82bf27a-986c-11eb-9cba-da7ad0900002","f257ba30-dbb2-11ea-a5ff-5fd1d308318a","6bf314be-5c16-11eb-8e98-2356ea436065","62cbc476-5c16-11eb-8e98-0388ea7a41f8","08604de8-1dca-11eb-800c-9f5f55ff734d","9b3ab170-b768-11eb-a45a-da7ad0900002","7a83f306-96ca-11eb-9c74-da7ad0900002","16169788-28e4-11eb-832c-fb84162ef3eb","4de53192-9946-11eb-9cee-da7ad0900002","1302282c-b93b-11eb-a436-da7ad0900002","17d73994-7531-11eb-94b9-da7ad0900002"],"author_name":"Qin Chen","template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"9wa-c5y-te2","title":"tf-TestAccDatadogDashboardServiceMap_import-local-1621866799","url":"/dashboard/9wa-c5y-te2/tf-testaccdatadogdashboardservicemapimport-local-1621866799","created_at":"2021-05-24T14:33:20.921118+00:00","modified_at":"2021-05-24T14:33:20.921118+00:00","author_handle":"qin.chen@datadoghq.com","widgets":[{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test Custom Link label"},{"override_label":"logs","is_hidden":true,"link":"https://app.datadoghq.com/dashboard/lists"}],"title_size":"16","service":"master-db","title":"env: prod, datacenter:us1.prod.dog, service: master-db","title_align":"left","filters":["env:prod","datacenter:us1.prod.dog"],"type":"servicemap"},"layout":{"y":5,"width":32,"is_column_break":false,"x":5,"height":43},"id":1216547762165145}],"layout_type":"free"}' headers: Cache-Control: - no-cache @@ -70,7 +70,7 @@ interactions: Content-Type: - application/json Date: - - Mon, 03 May 2021 09:37:18 GMT + - Mon, 24 May 2021 14:33:21 GMT Pragma: - no-cache Strict-Transport-Security: @@ -80,9 +80,9 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Debug: - - gYZcaADwbKcv7Hm19HJx6WsLoKuOijDWAt2viPeCfWqUgyKY+9e1xZdmMJeXV3YV + - LcgNasIYBRkNppmD6mCKE9J6iv0eEjosuuHR5V5zw2fWbR54i39C8dhdK8zDq/40 X-Dd-Version: - - "35.4442455" + - "35.4593741" X-Frame-Options: - SAMEORIGIN status: 200 OK @@ -97,11 +97,11 @@ interactions: Dd-Operation-Id: - GetDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.21+dev (go go1.16.2; os darwin; arch amd64) - url: https://api.datadoghq.com/api/v1/dashboard/7qg-rkt-i6p + - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) + url: https://api.datadoghq.com/api/v1/dashboard/9wa-c5y-te2 method: GET response: - body: '{"notify_list":[],"description":"Created using the Datadog provider in Terraform","restricted_roles":["f0674aa4-9d38-11eb-9dc6-da7ad0900002","284d8b66-93f9-11eb-9c37-da7ad0900002","043a2842-e140-11e8-bb04-7fd10177666e","fc72d08c-55f5-11eb-8d12-df0bb6cadca3","17d73994-7531-11eb-94b9-da7ad0900002","657de3a2-29f8-11eb-83b5-6b8ebfb2f184","e82bf27a-986c-11eb-9cba-da7ad0900002","f257ba30-dbb2-11ea-a5ff-5fd1d308318a","6bf314be-5c16-11eb-8e98-2356ea436065","62cbc476-5c16-11eb-8e98-0388ea7a41f8","08604de8-1dca-11eb-800c-9f5f55ff734d","7a83f306-96ca-11eb-9c74-da7ad0900002","16169788-28e4-11eb-832c-fb84162ef3eb","4de53192-9946-11eb-9cee-da7ad0900002"],"author_name":"David Robert-Ansart","template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"7qg-rkt-i6p","title":"tf-TestAccDatadogDashboardServiceMap_import-local-1620034637","url":"/dashboard/7qg-rkt-i6p/tf-testaccdatadogdashboardservicemapimport-local-1620034637","created_at":"2021-05-03T09:37:18.295939+00:00","modified_at":"2021-05-03T09:37:18.295939+00:00","author_handle":"david.robertansart@datadoghq.com","widgets":[{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test Custom Link label"}],"title_size":"16","service":"master-db","title":"env: prod, datacenter:us1.prod.dog, service: master-db","title_align":"left","filters":["env:prod","datacenter:us1.prod.dog"],"type":"servicemap"},"layout":{"y":5,"width":32,"is_column_break":false,"x":5,"height":43},"id":4426635934451805}],"layout_type":"free"}' + body: '{"notify_list":[],"description":"Created using the Datadog provider in Terraform","restricted_roles":["284d8b66-93f9-11eb-9c37-da7ad0900002","043a2842-e140-11e8-bb04-7fd10177666e","657de3a2-29f8-11eb-83b5-6b8ebfb2f184","e82bf27a-986c-11eb-9cba-da7ad0900002","f257ba30-dbb2-11ea-a5ff-5fd1d308318a","6bf314be-5c16-11eb-8e98-2356ea436065","62cbc476-5c16-11eb-8e98-0388ea7a41f8","08604de8-1dca-11eb-800c-9f5f55ff734d","9b3ab170-b768-11eb-a45a-da7ad0900002","7a83f306-96ca-11eb-9c74-da7ad0900002","16169788-28e4-11eb-832c-fb84162ef3eb","4de53192-9946-11eb-9cee-da7ad0900002","1302282c-b93b-11eb-a436-da7ad0900002","17d73994-7531-11eb-94b9-da7ad0900002"],"author_name":"Qin Chen","template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"9wa-c5y-te2","title":"tf-TestAccDatadogDashboardServiceMap_import-local-1621866799","url":"/dashboard/9wa-c5y-te2/tf-testaccdatadogdashboardservicemapimport-local-1621866799","created_at":"2021-05-24T14:33:20.921118+00:00","modified_at":"2021-05-24T14:33:20.921118+00:00","author_handle":"qin.chen@datadoghq.com","widgets":[{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test Custom Link label"},{"override_label":"logs","is_hidden":true,"link":"https://app.datadoghq.com/dashboard/lists"}],"title_size":"16","service":"master-db","title":"env: prod, datacenter:us1.prod.dog, service: master-db","title_align":"left","filters":["env:prod","datacenter:us1.prod.dog"],"type":"servicemap"},"layout":{"y":5,"width":32,"is_column_break":false,"x":5,"height":43},"id":1216547762165145}],"layout_type":"free"}' headers: Cache-Control: - no-cache @@ -112,7 +112,7 @@ interactions: Content-Type: - application/json Date: - - Mon, 03 May 2021 09:37:18 GMT + - Mon, 24 May 2021 14:33:21 GMT Pragma: - no-cache Strict-Transport-Security: @@ -122,9 +122,9 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Debug: - - bgHykj7A9bfZx0Y5ZO3swhhp5tGUSNJHqFWR868+qg087CYrDOd5hQslC+noiEtH + - B1nwy/pPNqX+q4pQT22cdp1QCexE35IF8qwSHy0Nf7IW0Y881qtn4tXN1lpmzaKc X-Dd-Version: - - "35.4442455" + - "35.4593741" X-Frame-Options: - SAMEORIGIN status: 200 OK @@ -139,11 +139,11 @@ interactions: Dd-Operation-Id: - GetDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.21+dev (go go1.16.2; os darwin; arch amd64) - url: https://api.datadoghq.com/api/v1/dashboard/7qg-rkt-i6p + - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) + url: https://api.datadoghq.com/api/v1/dashboard/9wa-c5y-te2 method: GET response: - body: '{"notify_list":[],"description":"Created using the Datadog provider in Terraform","restricted_roles":["f0674aa4-9d38-11eb-9dc6-da7ad0900002","284d8b66-93f9-11eb-9c37-da7ad0900002","043a2842-e140-11e8-bb04-7fd10177666e","fc72d08c-55f5-11eb-8d12-df0bb6cadca3","17d73994-7531-11eb-94b9-da7ad0900002","657de3a2-29f8-11eb-83b5-6b8ebfb2f184","e82bf27a-986c-11eb-9cba-da7ad0900002","f257ba30-dbb2-11ea-a5ff-5fd1d308318a","6bf314be-5c16-11eb-8e98-2356ea436065","62cbc476-5c16-11eb-8e98-0388ea7a41f8","08604de8-1dca-11eb-800c-9f5f55ff734d","7a83f306-96ca-11eb-9c74-da7ad0900002","16169788-28e4-11eb-832c-fb84162ef3eb","4de53192-9946-11eb-9cee-da7ad0900002"],"author_name":"David Robert-Ansart","template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"7qg-rkt-i6p","title":"tf-TestAccDatadogDashboardServiceMap_import-local-1620034637","url":"/dashboard/7qg-rkt-i6p/tf-testaccdatadogdashboardservicemapimport-local-1620034637","created_at":"2021-05-03T09:37:18.295939+00:00","modified_at":"2021-05-03T09:37:18.295939+00:00","author_handle":"david.robertansart@datadoghq.com","widgets":[{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test Custom Link label"}],"title_size":"16","service":"master-db","title":"env: prod, datacenter:us1.prod.dog, service: master-db","title_align":"left","filters":["env:prod","datacenter:us1.prod.dog"],"type":"servicemap"},"layout":{"y":5,"width":32,"is_column_break":false,"x":5,"height":43},"id":4426635934451805}],"layout_type":"free"}' + body: '{"notify_list":[],"description":"Created using the Datadog provider in Terraform","restricted_roles":["284d8b66-93f9-11eb-9c37-da7ad0900002","043a2842-e140-11e8-bb04-7fd10177666e","657de3a2-29f8-11eb-83b5-6b8ebfb2f184","e82bf27a-986c-11eb-9cba-da7ad0900002","f257ba30-dbb2-11ea-a5ff-5fd1d308318a","6bf314be-5c16-11eb-8e98-2356ea436065","62cbc476-5c16-11eb-8e98-0388ea7a41f8","08604de8-1dca-11eb-800c-9f5f55ff734d","9b3ab170-b768-11eb-a45a-da7ad0900002","7a83f306-96ca-11eb-9c74-da7ad0900002","16169788-28e4-11eb-832c-fb84162ef3eb","4de53192-9946-11eb-9cee-da7ad0900002","1302282c-b93b-11eb-a436-da7ad0900002","17d73994-7531-11eb-94b9-da7ad0900002"],"author_name":"Qin Chen","template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"9wa-c5y-te2","title":"tf-TestAccDatadogDashboardServiceMap_import-local-1621866799","url":"/dashboard/9wa-c5y-te2/tf-testaccdatadogdashboardservicemapimport-local-1621866799","created_at":"2021-05-24T14:33:20.921118+00:00","modified_at":"2021-05-24T14:33:20.921118+00:00","author_handle":"qin.chen@datadoghq.com","widgets":[{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test Custom Link label"},{"override_label":"logs","is_hidden":true,"link":"https://app.datadoghq.com/dashboard/lists"}],"title_size":"16","service":"master-db","title":"env: prod, datacenter:us1.prod.dog, service: master-db","title_align":"left","filters":["env:prod","datacenter:us1.prod.dog"],"type":"servicemap"},"layout":{"y":5,"width":32,"is_column_break":false,"x":5,"height":43},"id":1216547762165145}],"layout_type":"free"}' headers: Cache-Control: - no-cache @@ -154,7 +154,7 @@ interactions: Content-Type: - application/json Date: - - Mon, 03 May 2021 09:37:19 GMT + - Mon, 24 May 2021 14:33:22 GMT Pragma: - no-cache Strict-Transport-Security: @@ -164,9 +164,9 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Debug: - - dPySkcOzIZtKyMKDAAzuysY3gNGGj6RtYogGuSb76E8mPvoqzREyRp6lPYm91hQU + - l4HFlaRP3QwYSqoGKhzbYfv7zgkK63HIRR7YkyVYZspq0lGjjTBwoK8V/alf+XYt X-Dd-Version: - - "35.4442455" + - "35.4593741" X-Frame-Options: - SAMEORIGIN status: 200 OK @@ -181,11 +181,11 @@ interactions: Dd-Operation-Id: - GetDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.21+dev (go go1.16.2; os darwin; arch amd64) - url: https://api.datadoghq.com/api/v1/dashboard/7qg-rkt-i6p + - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) + url: https://api.datadoghq.com/api/v1/dashboard/9wa-c5y-te2 method: GET response: - body: '{"notify_list":[],"description":"Created using the Datadog provider in Terraform","restricted_roles":["f0674aa4-9d38-11eb-9dc6-da7ad0900002","284d8b66-93f9-11eb-9c37-da7ad0900002","043a2842-e140-11e8-bb04-7fd10177666e","fc72d08c-55f5-11eb-8d12-df0bb6cadca3","17d73994-7531-11eb-94b9-da7ad0900002","657de3a2-29f8-11eb-83b5-6b8ebfb2f184","e82bf27a-986c-11eb-9cba-da7ad0900002","f257ba30-dbb2-11ea-a5ff-5fd1d308318a","6bf314be-5c16-11eb-8e98-2356ea436065","62cbc476-5c16-11eb-8e98-0388ea7a41f8","08604de8-1dca-11eb-800c-9f5f55ff734d","7a83f306-96ca-11eb-9c74-da7ad0900002","16169788-28e4-11eb-832c-fb84162ef3eb","4de53192-9946-11eb-9cee-da7ad0900002"],"author_name":"David Robert-Ansart","template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"7qg-rkt-i6p","title":"tf-TestAccDatadogDashboardServiceMap_import-local-1620034637","url":"/dashboard/7qg-rkt-i6p/tf-testaccdatadogdashboardservicemapimport-local-1620034637","created_at":"2021-05-03T09:37:18.295939+00:00","modified_at":"2021-05-03T09:37:18.295939+00:00","author_handle":"david.robertansart@datadoghq.com","widgets":[{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test Custom Link label"}],"title_size":"16","service":"master-db","title":"env: prod, datacenter:us1.prod.dog, service: master-db","title_align":"left","filters":["env:prod","datacenter:us1.prod.dog"],"type":"servicemap"},"layout":{"y":5,"width":32,"is_column_break":false,"x":5,"height":43},"id":4426635934451805}],"layout_type":"free"}' + body: '{"notify_list":[],"description":"Created using the Datadog provider in Terraform","restricted_roles":["284d8b66-93f9-11eb-9c37-da7ad0900002","043a2842-e140-11e8-bb04-7fd10177666e","657de3a2-29f8-11eb-83b5-6b8ebfb2f184","e82bf27a-986c-11eb-9cba-da7ad0900002","f257ba30-dbb2-11ea-a5ff-5fd1d308318a","6bf314be-5c16-11eb-8e98-2356ea436065","62cbc476-5c16-11eb-8e98-0388ea7a41f8","08604de8-1dca-11eb-800c-9f5f55ff734d","9b3ab170-b768-11eb-a45a-da7ad0900002","7a83f306-96ca-11eb-9c74-da7ad0900002","16169788-28e4-11eb-832c-fb84162ef3eb","4de53192-9946-11eb-9cee-da7ad0900002","1302282c-b93b-11eb-a436-da7ad0900002","17d73994-7531-11eb-94b9-da7ad0900002"],"author_name":"Qin Chen","template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"9wa-c5y-te2","title":"tf-TestAccDatadogDashboardServiceMap_import-local-1621866799","url":"/dashboard/9wa-c5y-te2/tf-testaccdatadogdashboardservicemapimport-local-1621866799","created_at":"2021-05-24T14:33:20.921118+00:00","modified_at":"2021-05-24T14:33:20.921118+00:00","author_handle":"qin.chen@datadoghq.com","widgets":[{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test Custom Link label"},{"override_label":"logs","is_hidden":true,"link":"https://app.datadoghq.com/dashboard/lists"}],"title_size":"16","service":"master-db","title":"env: prod, datacenter:us1.prod.dog, service: master-db","title_align":"left","filters":["env:prod","datacenter:us1.prod.dog"],"type":"servicemap"},"layout":{"y":5,"width":32,"is_column_break":false,"x":5,"height":43},"id":1216547762165145}],"layout_type":"free"}' headers: Cache-Control: - no-cache @@ -196,7 +196,7 @@ interactions: Content-Type: - application/json Date: - - Mon, 03 May 2021 09:37:19 GMT + - Mon, 24 May 2021 14:33:22 GMT Pragma: - no-cache Strict-Transport-Security: @@ -206,9 +206,9 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Debug: - - twvpGlmuom5y6A0pjGtXzTf554cmwJgTcCZ71fK4H/RDi+v5ehBK0zQiRcTJQG5C + - l4HFlaRP3QwYSqoGKhzbYfv7zgkK63HIRR7YkyVYZspq0lGjjTBwoK8V/alf+XYt X-Dd-Version: - - "35.4442455" + - "35.4593741" X-Frame-Options: - SAMEORIGIN status: 200 OK @@ -223,11 +223,11 @@ interactions: Dd-Operation-Id: - GetDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.21+dev (go go1.16.2; os darwin; arch amd64) - url: https://api.datadoghq.com/api/v1/dashboard/7qg-rkt-i6p + - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) + url: https://api.datadoghq.com/api/v1/dashboard/9wa-c5y-te2 method: GET response: - body: '{"notify_list":[],"description":"Created using the Datadog provider in Terraform","restricted_roles":["f0674aa4-9d38-11eb-9dc6-da7ad0900002","284d8b66-93f9-11eb-9c37-da7ad0900002","043a2842-e140-11e8-bb04-7fd10177666e","fc72d08c-55f5-11eb-8d12-df0bb6cadca3","17d73994-7531-11eb-94b9-da7ad0900002","657de3a2-29f8-11eb-83b5-6b8ebfb2f184","e82bf27a-986c-11eb-9cba-da7ad0900002","f257ba30-dbb2-11ea-a5ff-5fd1d308318a","6bf314be-5c16-11eb-8e98-2356ea436065","62cbc476-5c16-11eb-8e98-0388ea7a41f8","08604de8-1dca-11eb-800c-9f5f55ff734d","7a83f306-96ca-11eb-9c74-da7ad0900002","16169788-28e4-11eb-832c-fb84162ef3eb","4de53192-9946-11eb-9cee-da7ad0900002"],"author_name":"David Robert-Ansart","template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"7qg-rkt-i6p","title":"tf-TestAccDatadogDashboardServiceMap_import-local-1620034637","url":"/dashboard/7qg-rkt-i6p/tf-testaccdatadogdashboardservicemapimport-local-1620034637","created_at":"2021-05-03T09:37:18.295939+00:00","modified_at":"2021-05-03T09:37:18.295939+00:00","author_handle":"david.robertansart@datadoghq.com","widgets":[{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test Custom Link label"}],"title_size":"16","service":"master-db","title":"env: prod, datacenter:us1.prod.dog, service: master-db","title_align":"left","filters":["env:prod","datacenter:us1.prod.dog"],"type":"servicemap"},"layout":{"y":5,"width":32,"is_column_break":false,"x":5,"height":43},"id":4426635934451805}],"layout_type":"free"}' + body: '{"notify_list":[],"description":"Created using the Datadog provider in Terraform","restricted_roles":["284d8b66-93f9-11eb-9c37-da7ad0900002","043a2842-e140-11e8-bb04-7fd10177666e","657de3a2-29f8-11eb-83b5-6b8ebfb2f184","e82bf27a-986c-11eb-9cba-da7ad0900002","f257ba30-dbb2-11ea-a5ff-5fd1d308318a","6bf314be-5c16-11eb-8e98-2356ea436065","62cbc476-5c16-11eb-8e98-0388ea7a41f8","08604de8-1dca-11eb-800c-9f5f55ff734d","9b3ab170-b768-11eb-a45a-da7ad0900002","7a83f306-96ca-11eb-9c74-da7ad0900002","16169788-28e4-11eb-832c-fb84162ef3eb","4de53192-9946-11eb-9cee-da7ad0900002","1302282c-b93b-11eb-a436-da7ad0900002","17d73994-7531-11eb-94b9-da7ad0900002"],"author_name":"Qin Chen","template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"9wa-c5y-te2","title":"tf-TestAccDatadogDashboardServiceMap_import-local-1621866799","url":"/dashboard/9wa-c5y-te2/tf-testaccdatadogdashboardservicemapimport-local-1621866799","created_at":"2021-05-24T14:33:20.921118+00:00","modified_at":"2021-05-24T14:33:20.921118+00:00","author_handle":"qin.chen@datadoghq.com","widgets":[{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test Custom Link label"},{"override_label":"logs","is_hidden":true,"link":"https://app.datadoghq.com/dashboard/lists"}],"title_size":"16","service":"master-db","title":"env: prod, datacenter:us1.prod.dog, service: master-db","title_align":"left","filters":["env:prod","datacenter:us1.prod.dog"],"type":"servicemap"},"layout":{"y":5,"width":32,"is_column_break":false,"x":5,"height":43},"id":1216547762165145}],"layout_type":"free"}' headers: Cache-Control: - no-cache @@ -238,7 +238,7 @@ interactions: Content-Type: - application/json Date: - - Mon, 03 May 2021 09:37:20 GMT + - Mon, 24 May 2021 14:33:22 GMT Pragma: - no-cache Strict-Transport-Security: @@ -248,9 +248,9 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Debug: - - /L+SFFO+m1pPY+hRCpk5325fvfrNl0KmiquUNJolBN/5hu3HIwflqjZSbJ6NxDFG + - 2328yjLSqI4XmR1pVqrPRR/SFcQsbafjEpPmZx7/3PfxUK1nJQQsX+wrMelyVyj+ X-Dd-Version: - - "35.4442455" + - "35.4593741" X-Frame-Options: - SAMEORIGIN status: 200 OK @@ -265,11 +265,11 @@ interactions: Dd-Operation-Id: - DeleteDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.21+dev (go go1.16.2; os darwin; arch amd64) - url: https://api.datadoghq.com/api/v1/dashboard/7qg-rkt-i6p + - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) + url: https://api.datadoghq.com/api/v1/dashboard/9wa-c5y-te2 method: DELETE response: - body: '{"deleted_dashboard_id":"7qg-rkt-i6p"}' + body: '{"deleted_dashboard_id":"9wa-c5y-te2"}' headers: Cache-Control: - no-cache @@ -280,7 +280,7 @@ interactions: Content-Type: - application/json Date: - - Mon, 03 May 2021 09:37:20 GMT + - Mon, 24 May 2021 14:33:23 GMT Pragma: - no-cache Strict-Transport-Security: @@ -290,9 +290,9 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Debug: - - LcgNasIYBRkNppmD6mCKE9J6iv0eEjosuuHR5V5zw2fWbR54i39C8dhdK8zDq/40 + - Um4CoU685QqAscnxhS5BD+goWu2yX1Jd4zCfGzSsEvPPIm1qURZaF8dlLl/OEY4I X-Dd-Version: - - "35.4442455" + - "35.4593741" X-Frame-Options: - SAMEORIGIN status: 200 OK @@ -307,11 +307,11 @@ interactions: Dd-Operation-Id: - GetDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.21+dev (go go1.16.2; os darwin; arch amd64) - url: https://api.datadoghq.com/api/v1/dashboard/7qg-rkt-i6p + - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) + url: https://api.datadoghq.com/api/v1/dashboard/9wa-c5y-te2 method: GET response: - body: '{"errors": ["Dashboard with ID 7qg-rkt-i6p not found"]}' + body: '{"errors": ["Dashboard with ID 9wa-c5y-te2 not found"]}' headers: Cache-Control: - no-cache @@ -322,7 +322,7 @@ interactions: Content-Type: - application/json Date: - - Mon, 03 May 2021 09:37:20 GMT + - Mon, 24 May 2021 14:33:23 GMT Pragma: - no-cache Strict-Transport-Security: @@ -332,7 +332,7 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Version: - - "35.4442455" + - "35.4593741" X-Frame-Options: - SAMEORIGIN status: 404 Not Found diff --git a/datadog/tests/cassettes/TestAccDatadogDashboardTimeseries.freeze b/datadog/tests/cassettes/TestAccDatadogDashboardTimeseries.freeze index 65e3d491f..7c7ad0fdd 100644 --- a/datadog/tests/cassettes/TestAccDatadogDashboardTimeseries.freeze +++ b/datadog/tests/cassettes/TestAccDatadogDashboardTimeseries.freeze @@ -1 +1 @@ -2021-03-18T18:33:19.520908+01:00 \ No newline at end of file +2021-05-24T10:37:36.328452-04:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogDashboardTimeseriesMultiCompute.freeze b/datadog/tests/cassettes/TestAccDatadogDashboardTimeseriesMultiCompute.freeze index c983e71a1..c391bf0f1 100644 --- a/datadog/tests/cassettes/TestAccDatadogDashboardTimeseriesMultiCompute.freeze +++ b/datadog/tests/cassettes/TestAccDatadogDashboardTimeseriesMultiCompute.freeze @@ -1 +1 @@ -2021-03-18T18:33:19.521033+01:00 \ No newline at end of file +2021-05-24T10:37:36.313754-04:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogDashboardTimeseriesMultiCompute.yaml b/datadog/tests/cassettes/TestAccDatadogDashboardTimeseriesMultiCompute.yaml index c27e0325a..94de1ba1a 100644 --- a/datadog/tests/cassettes/TestAccDatadogDashboardTimeseriesMultiCompute.yaml +++ b/datadog/tests/cassettes/TestAccDatadogDashboardTimeseriesMultiCompute.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-TestAccDatadogDashboardTimeseriesMultiCompute-local-1616088799","widgets":[{"definition":{"events":[{"q":"sources:test tags:1","tags_execution":"and"}],"legend_size":"2","markers":[{"display_type":"error dashed","label":"y=500000","value":"y=500000"},{"display_type":"warning dashed","label":"y=400000","value":"y=400000"}],"requests":[{"display_type":"line","log_query":{"group_by":[{"facet":"service","limit":10,"sort":{"aggregation":"count","order":"desc"}}],"index":"*","multi_compute":[{"aggregation":"count"},{"aggregation":"cardinality","facet":"env","interval":1000}],"search":{"query":""}},"on_right_yaxis":true,"style":{"line_type":"solid","line_width":"normal","palette":"cool"}}],"right_yaxis":{"include_zero":false,"max":"599998","min":"1"},"show_legend":true,"time":{"live_span":"5m"},"title":"system.cpu.user, env, process.stat.cpu.total_pct, network.bytes_read, @d...","title_align":"left","title_size":"16","type":"timeseries","yaxis":{"include_zero":true,"max":"599999","min":"0"}}},{"definition":{"events":[{"q":"sources:test tags:1","tags_execution":"and"}],"legend_size":"2","markers":[{"display_type":"error dashed","label":"y=500000","value":"y=500000"},{"display_type":"warning dashed","label":"y=400000","value":"y=400000"}],"requests":[{"display_type":"line","log_query":{"group_by":[{"facet":"service","limit":10,"sort":{"aggregation":"count","order":"desc"}}],"index":"*","multi_compute":[{"aggregation":"count"},{"aggregation":"cardinality","facet":"env","interval":1000}],"search":{"query":""}},"on_right_yaxis":true,"style":{"line_type":"solid","line_width":"normal","palette":"cool"}}],"right_yaxis":{"include_zero":false,"max":"599998","min":"1"},"show_legend":true,"time":{"live_span":"5m"},"title":"system.cpu.user, env, process.stat.cpu.total_pct, network.bytes_read, @d...","title_align":"left","title_size":"16","type":"timeseries","yaxis":{"include_zero":true,"max":"599999","min":"0"}}}]} + {"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-TestAccDatadogDashboardTimeseriesMultiCompute-local-1621866970","widgets":[{"definition":{"events":[{"q":"sources:test tags:1","tags_execution":"and"}],"legend_size":"2","markers":[{"display_type":"error dashed","label":"y=500000","value":"y=500000"},{"display_type":"warning dashed","label":"y=400000","value":"y=400000"}],"requests":[{"display_type":"line","log_query":{"group_by":[{"facet":"service","limit":10,"sort":{"aggregation":"count","order":"desc"}}],"index":"*","multi_compute":[{"aggregation":"count"},{"aggregation":"cardinality","facet":"env","interval":1000}],"search":{"query":""}},"on_right_yaxis":true,"style":{"line_type":"solid","line_width":"normal","palette":"cool"}}],"right_yaxis":{"include_zero":false,"max":"599998","min":"1"},"show_legend":true,"time":{"live_span":"5m"},"title":"system.cpu.user, env, process.stat.cpu.total_pct, network.bytes_read, @d...","title_align":"left","title_size":"16","type":"timeseries","yaxis":{"include_zero":true,"max":"599999","min":"0"}}},{"definition":{"events":[{"q":"sources:test tags:1","tags_execution":"and"}],"legend_size":"2","markers":[{"display_type":"error dashed","label":"y=500000","value":"y=500000"},{"display_type":"warning dashed","label":"y=400000","value":"y=400000"}],"requests":[{"display_type":"line","log_query":{"group_by":[{"facet":"service","limit":10,"sort":{"aggregation":"count","order":"desc"}}],"index":"*","multi_compute":[{"aggregation":"count"},{"aggregation":"cardinality","facet":"env","interval":1000}],"search":{"query":""}},"on_right_yaxis":true,"style":{"line_type":"solid","line_width":"normal","palette":"cool"}}],"right_yaxis":{"include_zero":false,"max":"599998","min":"1"},"show_legend":true,"time":{"live_span":"5m"},"title":"system.cpu.user, env, process.stat.cpu.total_pct, network.bytes_read, @d...","title_align":"left","title_size":"16","type":"timeseries","yaxis":{"include_zero":true,"max":"599999","min":"0"}}}]} form: {} headers: Accept: @@ -13,11 +13,11 @@ interactions: Dd-Operation-Id: - CreateDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.18+dev (go go1.15.7; os darwin; arch amd64) + - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) 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":"c3d-82g-w7k","title":"tf-TestAccDatadogDashboardTimeseriesMultiCompute-local-1616088799","url":"/dashboard/c3d-82g-w7k/tf-testaccdatadogdashboardtimeseriesmulticompute-local-1616088799","created_at":"2021-03-18T17:33:20.653584+00:00","modified_at":"2021-03-18T17:33:20.653584+00:00","author_handle":"frog@datadoghq.com","widgets":[{"definition":{"title_size":"16","yaxis":{"include_zero":true,"min":"0","max":"599999"},"title_align":"left","right_yaxis":{"include_zero":false,"min":"1","max":"599998"},"events":[{"q":"sources:test tags:1","tags_execution":"and"}],"show_legend":true,"markers":[{"display_type":"error dashed","value":"y=500000","label":"y=500000"},{"display_type":"warning dashed","value":"y=400000","label":"y=400000"}],"time":{"live_span":"5m"},"title":"system.cpu.user, env, process.stat.cpu.total_pct, network.bytes_read, @d...","legend_size":"2","type":"timeseries","requests":[{"on_right_yaxis":true,"style":{"line_width":"normal","palette":"cool","line_type":"solid"},"display_type":"line","log_query":{"index":"*","search":{"query":""},"group_by":[{"facet":"service","sort":{"aggregation":"count","order":"desc"},"limit":10}],"multi_compute":[{"aggregation":"count"},{"facet":"env","interval":1000,"aggregation":"cardinality"}]}}]},"id":6110599780111334},{"definition":{"title_size":"16","yaxis":{"include_zero":true,"min":"0","max":"599999"},"title_align":"left","right_yaxis":{"include_zero":false,"min":"1","max":"599998"},"events":[{"q":"sources:test tags:1","tags_execution":"and"}],"show_legend":true,"markers":[{"display_type":"error dashed","value":"y=500000","label":"y=500000"},{"display_type":"warning dashed","value":"y=400000","label":"y=400000"}],"time":{"live_span":"5m"},"title":"system.cpu.user, env, process.stat.cpu.total_pct, network.bytes_read, @d...","legend_size":"2","type":"timeseries","requests":[{"on_right_yaxis":true,"style":{"line_width":"normal","palette":"cool","line_type":"solid"},"display_type":"line","log_query":{"index":"*","search":{"query":""},"group_by":[{"facet":"service","sort":{"aggregation":"count","order":"desc"},"limit":10}],"multi_compute":[{"aggregation":"count"},{"facet":"env","interval":1000,"aggregation":"cardinality"}]}}]},"id":7666935917205894}],"layout_type":"ordered"}' + body: '{"notify_list":[],"description":"Created using the Datadog provider in Terraform","restricted_roles":["043a2842-e140-11e8-bb04-7fd10177666e","08604de8-1dca-11eb-800c-9f5f55ff734d","1302282c-b93b-11eb-a436-da7ad0900002","16169788-28e4-11eb-832c-fb84162ef3eb","17d73994-7531-11eb-94b9-da7ad0900002","284d8b66-93f9-11eb-9c37-da7ad0900002","4de53192-9946-11eb-9cee-da7ad0900002","62cbc476-5c16-11eb-8e98-0388ea7a41f8","657de3a2-29f8-11eb-83b5-6b8ebfb2f184","6bf314be-5c16-11eb-8e98-2356ea436065","7a83f306-96ca-11eb-9c74-da7ad0900002","9b3ab170-b768-11eb-a45a-da7ad0900002","e82bf27a-986c-11eb-9cba-da7ad0900002","f257ba30-dbb2-11ea-a5ff-5fd1d308318a"],"author_name":"Qin Chen","template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"ytr-c5j-nq4","title":"tf-TestAccDatadogDashboardTimeseriesMultiCompute-local-1621866970","url":"/dashboard/ytr-c5j-nq4/tf-testaccdatadogdashboardtimeseriesmulticompute-local-1621866970","created_at":"2021-05-24T14:36:12.072207+00:00","modified_at":"2021-05-24T14:36:12.072207+00:00","author_handle":"qin.chen@datadoghq.com","widgets":[{"definition":{"title_size":"16","yaxis":{"include_zero":true,"min":"0","max":"599999"},"title_align":"left","right_yaxis":{"include_zero":false,"min":"1","max":"599998"},"events":[{"q":"sources:test tags:1","tags_execution":"and"}],"show_legend":true,"markers":[{"display_type":"error dashed","value":"y=500000","label":"y=500000"},{"display_type":"warning dashed","value":"y=400000","label":"y=400000"}],"time":{"live_span":"5m"},"title":"system.cpu.user, env, process.stat.cpu.total_pct, network.bytes_read, @d...","legend_size":"2","type":"timeseries","requests":[{"on_right_yaxis":true,"style":{"line_width":"normal","palette":"cool","line_type":"solid"},"display_type":"line","log_query":{"index":"*","search":{"query":""},"group_by":[{"facet":"service","sort":{"aggregation":"count","order":"desc"},"limit":10}],"multi_compute":[{"aggregation":"count"},{"facet":"env","interval":1000,"aggregation":"cardinality"}]}}]},"id":8063248867071279},{"definition":{"title_size":"16","yaxis":{"include_zero":true,"min":"0","max":"599999"},"title_align":"left","right_yaxis":{"include_zero":false,"min":"1","max":"599998"},"events":[{"q":"sources:test tags:1","tags_execution":"and"}],"show_legend":true,"markers":[{"display_type":"error dashed","value":"y=500000","label":"y=500000"},{"display_type":"warning dashed","value":"y=400000","label":"y=400000"}],"time":{"live_span":"5m"},"title":"system.cpu.user, env, process.stat.cpu.total_pct, network.bytes_read, @d...","legend_size":"2","type":"timeseries","requests":[{"on_right_yaxis":true,"style":{"line_width":"normal","palette":"cool","line_type":"solid"},"display_type":"line","log_query":{"index":"*","search":{"query":""},"group_by":[{"facet":"service","sort":{"aggregation":"count","order":"desc"},"limit":10}],"multi_compute":[{"aggregation":"count"},{"facet":"env","interval":1000,"aggregation":"cardinality"}]}}]},"id":6763491334183299}],"layout_type":"ordered"}' headers: Cache-Control: - no-cache @@ -28,7 +28,7 @@ interactions: Content-Type: - application/json Date: - - Thu, 18 Mar 2021 17:33:23 GMT + - Mon, 24 May 2021 14:36:12 GMT Pragma: - no-cache Strict-Transport-Security: @@ -38,9 +38,9 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Debug: - - /L+SFFO+m1pPY+hRCpk5325fvfrNl0KmiquUNJolBN/5hu3HIwflqjZSbJ6NxDFG + - Um4CoU685QqAscnxhS5BD+goWu2yX1Jd4zCfGzSsEvPPIm1qURZaF8dlLl/OEY4I X-Dd-Version: - - "35.4125004" + - "35.4593741" X-Frame-Options: - SAMEORIGIN status: 200 OK @@ -55,11 +55,11 @@ interactions: Dd-Operation-Id: - GetDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.18+dev (go go1.15.7; os darwin; arch amd64) - url: https://api.datadoghq.com/api/v1/dashboard/c3d-82g-w7k + - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) + url: https://api.datadoghq.com/api/v1/dashboard/ytr-c5j-nq4 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":"c3d-82g-w7k","title":"tf-TestAccDatadogDashboardTimeseriesMultiCompute-local-1616088799","url":"/dashboard/c3d-82g-w7k/tf-testaccdatadogdashboardtimeseriesmulticompute-local-1616088799","created_at":"2021-03-18T17:33:20.653584+00:00","modified_at":"2021-03-18T17:33:20.653584+00:00","author_handle":"frog@datadoghq.com","widgets":[{"definition":{"title_size":"16","yaxis":{"include_zero":true,"min":"0","max":"599999"},"title_align":"left","right_yaxis":{"include_zero":false,"min":"1","max":"599998"},"events":[{"q":"sources:test tags:1","tags_execution":"and"}],"show_legend":true,"markers":[{"display_type":"error dashed","value":"y=500000","label":"y=500000"},{"display_type":"warning dashed","value":"y=400000","label":"y=400000"}],"time":{"live_span":"5m"},"title":"system.cpu.user, env, process.stat.cpu.total_pct, network.bytes_read, @d...","legend_size":"2","type":"timeseries","requests":[{"on_right_yaxis":true,"style":{"line_width":"normal","palette":"cool","line_type":"solid"},"display_type":"line","log_query":{"index":"*","search":{"query":""},"group_by":[{"facet":"service","sort":{"aggregation":"count","order":"desc"},"limit":10}],"multi_compute":[{"aggregation":"count"},{"facet":"env","interval":1000,"aggregation":"cardinality"}]}}]},"id":6110599780111334},{"definition":{"title_size":"16","yaxis":{"include_zero":true,"min":"0","max":"599999"},"title_align":"left","right_yaxis":{"include_zero":false,"min":"1","max":"599998"},"events":[{"q":"sources:test tags:1","tags_execution":"and"}],"show_legend":true,"markers":[{"display_type":"error dashed","value":"y=500000","label":"y=500000"},{"display_type":"warning dashed","value":"y=400000","label":"y=400000"}],"time":{"live_span":"5m"},"title":"system.cpu.user, env, process.stat.cpu.total_pct, network.bytes_read, @d...","legend_size":"2","type":"timeseries","requests":[{"on_right_yaxis":true,"style":{"line_width":"normal","palette":"cool","line_type":"solid"},"display_type":"line","log_query":{"index":"*","search":{"query":""},"group_by":[{"facet":"service","sort":{"aggregation":"count","order":"desc"},"limit":10}],"multi_compute":[{"aggregation":"count"},{"facet":"env","interval":1000,"aggregation":"cardinality"}]}}]},"id":7666935917205894}],"layout_type":"ordered"}' + body: '{"notify_list":[],"description":"Created using the Datadog provider in Terraform","restricted_roles":["284d8b66-93f9-11eb-9c37-da7ad0900002","043a2842-e140-11e8-bb04-7fd10177666e","657de3a2-29f8-11eb-83b5-6b8ebfb2f184","e82bf27a-986c-11eb-9cba-da7ad0900002","f257ba30-dbb2-11ea-a5ff-5fd1d308318a","6bf314be-5c16-11eb-8e98-2356ea436065","62cbc476-5c16-11eb-8e98-0388ea7a41f8","08604de8-1dca-11eb-800c-9f5f55ff734d","9b3ab170-b768-11eb-a45a-da7ad0900002","7a83f306-96ca-11eb-9c74-da7ad0900002","16169788-28e4-11eb-832c-fb84162ef3eb","4de53192-9946-11eb-9cee-da7ad0900002","1302282c-b93b-11eb-a436-da7ad0900002","17d73994-7531-11eb-94b9-da7ad0900002"],"author_name":"Qin Chen","template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"ytr-c5j-nq4","title":"tf-TestAccDatadogDashboardTimeseriesMultiCompute-local-1621866970","url":"/dashboard/ytr-c5j-nq4/tf-testaccdatadogdashboardtimeseriesmulticompute-local-1621866970","created_at":"2021-05-24T14:36:12.072207+00:00","modified_at":"2021-05-24T14:36:12.072207+00:00","author_handle":"qin.chen@datadoghq.com","widgets":[{"definition":{"title_size":"16","yaxis":{"include_zero":true,"min":"0","max":"599999"},"title_align":"left","right_yaxis":{"include_zero":false,"min":"1","max":"599998"},"events":[{"q":"sources:test tags:1","tags_execution":"and"}],"show_legend":true,"markers":[{"display_type":"error dashed","value":"y=500000","label":"y=500000"},{"display_type":"warning dashed","value":"y=400000","label":"y=400000"}],"time":{"live_span":"5m"},"title":"system.cpu.user, env, process.stat.cpu.total_pct, network.bytes_read, @d...","legend_size":"2","type":"timeseries","requests":[{"on_right_yaxis":true,"style":{"line_width":"normal","palette":"cool","line_type":"solid"},"display_type":"line","log_query":{"index":"*","search":{"query":""},"group_by":[{"facet":"service","sort":{"aggregation":"count","order":"desc"},"limit":10}],"multi_compute":[{"aggregation":"count"},{"facet":"env","interval":1000,"aggregation":"cardinality"}]}}]},"id":8063248867071279},{"definition":{"title_size":"16","yaxis":{"include_zero":true,"min":"0","max":"599999"},"title_align":"left","right_yaxis":{"include_zero":false,"min":"1","max":"599998"},"events":[{"q":"sources:test tags:1","tags_execution":"and"}],"show_legend":true,"markers":[{"display_type":"error dashed","value":"y=500000","label":"y=500000"},{"display_type":"warning dashed","value":"y=400000","label":"y=400000"}],"time":{"live_span":"5m"},"title":"system.cpu.user, env, process.stat.cpu.total_pct, network.bytes_read, @d...","legend_size":"2","type":"timeseries","requests":[{"on_right_yaxis":true,"style":{"line_width":"normal","palette":"cool","line_type":"solid"},"display_type":"line","log_query":{"index":"*","search":{"query":""},"group_by":[{"facet":"service","sort":{"aggregation":"count","order":"desc"},"limit":10}],"multi_compute":[{"aggregation":"count"},{"facet":"env","interval":1000,"aggregation":"cardinality"}]}}]},"id":6763491334183299}],"layout_type":"ordered"}' headers: Cache-Control: - no-cache @@ -70,7 +70,7 @@ interactions: Content-Type: - application/json Date: - - Thu, 18 Mar 2021 17:33:23 GMT + - Mon, 24 May 2021 14:36:12 GMT Pragma: - no-cache Strict-Transport-Security: @@ -80,9 +80,9 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Debug: - - gYZcaADwbKcv7Hm19HJx6WsLoKuOijDWAt2viPeCfWqUgyKY+9e1xZdmMJeXV3YV + - LcgNasIYBRkNppmD6mCKE9J6iv0eEjosuuHR5V5zw2fWbR54i39C8dhdK8zDq/40 X-Dd-Version: - - "35.4125004" + - "35.4593741" X-Frame-Options: - SAMEORIGIN status: 200 OK @@ -97,11 +97,11 @@ interactions: Dd-Operation-Id: - GetDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.18+dev (go go1.15.7; os darwin; arch amd64) - url: https://api.datadoghq.com/api/v1/dashboard/c3d-82g-w7k + - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) + url: https://api.datadoghq.com/api/v1/dashboard/ytr-c5j-nq4 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":"c3d-82g-w7k","title":"tf-TestAccDatadogDashboardTimeseriesMultiCompute-local-1616088799","url":"/dashboard/c3d-82g-w7k/tf-testaccdatadogdashboardtimeseriesmulticompute-local-1616088799","created_at":"2021-03-18T17:33:20.653584+00:00","modified_at":"2021-03-18T17:33:20.653584+00:00","author_handle":"frog@datadoghq.com","widgets":[{"definition":{"title_size":"16","yaxis":{"include_zero":true,"min":"0","max":"599999"},"title_align":"left","right_yaxis":{"include_zero":false,"min":"1","max":"599998"},"events":[{"q":"sources:test tags:1","tags_execution":"and"}],"show_legend":true,"markers":[{"display_type":"error dashed","value":"y=500000","label":"y=500000"},{"display_type":"warning dashed","value":"y=400000","label":"y=400000"}],"time":{"live_span":"5m"},"title":"system.cpu.user, env, process.stat.cpu.total_pct, network.bytes_read, @d...","legend_size":"2","type":"timeseries","requests":[{"on_right_yaxis":true,"style":{"line_width":"normal","palette":"cool","line_type":"solid"},"display_type":"line","log_query":{"index":"*","search":{"query":""},"group_by":[{"facet":"service","sort":{"aggregation":"count","order":"desc"},"limit":10}],"multi_compute":[{"aggregation":"count"},{"facet":"env","interval":1000,"aggregation":"cardinality"}]}}]},"id":6110599780111334},{"definition":{"title_size":"16","yaxis":{"include_zero":true,"min":"0","max":"599999"},"title_align":"left","right_yaxis":{"include_zero":false,"min":"1","max":"599998"},"events":[{"q":"sources:test tags:1","tags_execution":"and"}],"show_legend":true,"markers":[{"display_type":"error dashed","value":"y=500000","label":"y=500000"},{"display_type":"warning dashed","value":"y=400000","label":"y=400000"}],"time":{"live_span":"5m"},"title":"system.cpu.user, env, process.stat.cpu.total_pct, network.bytes_read, @d...","legend_size":"2","type":"timeseries","requests":[{"on_right_yaxis":true,"style":{"line_width":"normal","palette":"cool","line_type":"solid"},"display_type":"line","log_query":{"index":"*","search":{"query":""},"group_by":[{"facet":"service","sort":{"aggregation":"count","order":"desc"},"limit":10}],"multi_compute":[{"aggregation":"count"},{"facet":"env","interval":1000,"aggregation":"cardinality"}]}}]},"id":7666935917205894}],"layout_type":"ordered"}' + body: '{"notify_list":[],"description":"Created using the Datadog provider in Terraform","restricted_roles":["284d8b66-93f9-11eb-9c37-da7ad0900002","043a2842-e140-11e8-bb04-7fd10177666e","657de3a2-29f8-11eb-83b5-6b8ebfb2f184","e82bf27a-986c-11eb-9cba-da7ad0900002","f257ba30-dbb2-11ea-a5ff-5fd1d308318a","6bf314be-5c16-11eb-8e98-2356ea436065","62cbc476-5c16-11eb-8e98-0388ea7a41f8","08604de8-1dca-11eb-800c-9f5f55ff734d","9b3ab170-b768-11eb-a45a-da7ad0900002","7a83f306-96ca-11eb-9c74-da7ad0900002","16169788-28e4-11eb-832c-fb84162ef3eb","4de53192-9946-11eb-9cee-da7ad0900002","1302282c-b93b-11eb-a436-da7ad0900002","17d73994-7531-11eb-94b9-da7ad0900002"],"author_name":"Qin Chen","template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"ytr-c5j-nq4","title":"tf-TestAccDatadogDashboardTimeseriesMultiCompute-local-1621866970","url":"/dashboard/ytr-c5j-nq4/tf-testaccdatadogdashboardtimeseriesmulticompute-local-1621866970","created_at":"2021-05-24T14:36:12.072207+00:00","modified_at":"2021-05-24T14:36:12.072207+00:00","author_handle":"qin.chen@datadoghq.com","widgets":[{"definition":{"title_size":"16","yaxis":{"include_zero":true,"min":"0","max":"599999"},"title_align":"left","right_yaxis":{"include_zero":false,"min":"1","max":"599998"},"events":[{"q":"sources:test tags:1","tags_execution":"and"}],"show_legend":true,"markers":[{"display_type":"error dashed","value":"y=500000","label":"y=500000"},{"display_type":"warning dashed","value":"y=400000","label":"y=400000"}],"time":{"live_span":"5m"},"title":"system.cpu.user, env, process.stat.cpu.total_pct, network.bytes_read, @d...","legend_size":"2","type":"timeseries","requests":[{"on_right_yaxis":true,"style":{"line_width":"normal","palette":"cool","line_type":"solid"},"display_type":"line","log_query":{"index":"*","search":{"query":""},"group_by":[{"facet":"service","sort":{"aggregation":"count","order":"desc"},"limit":10}],"multi_compute":[{"aggregation":"count"},{"facet":"env","interval":1000,"aggregation":"cardinality"}]}}]},"id":8063248867071279},{"definition":{"title_size":"16","yaxis":{"include_zero":true,"min":"0","max":"599999"},"title_align":"left","right_yaxis":{"include_zero":false,"min":"1","max":"599998"},"events":[{"q":"sources:test tags:1","tags_execution":"and"}],"show_legend":true,"markers":[{"display_type":"error dashed","value":"y=500000","label":"y=500000"},{"display_type":"warning dashed","value":"y=400000","label":"y=400000"}],"time":{"live_span":"5m"},"title":"system.cpu.user, env, process.stat.cpu.total_pct, network.bytes_read, @d...","legend_size":"2","type":"timeseries","requests":[{"on_right_yaxis":true,"style":{"line_width":"normal","palette":"cool","line_type":"solid"},"display_type":"line","log_query":{"index":"*","search":{"query":""},"group_by":[{"facet":"service","sort":{"aggregation":"count","order":"desc"},"limit":10}],"multi_compute":[{"aggregation":"count"},{"facet":"env","interval":1000,"aggregation":"cardinality"}]}}]},"id":6763491334183299}],"layout_type":"ordered"}' headers: Cache-Control: - no-cache @@ -112,7 +112,7 @@ interactions: Content-Type: - application/json Date: - - Thu, 18 Mar 2021 17:33:24 GMT + - Mon, 24 May 2021 14:36:12 GMT Pragma: - no-cache Strict-Transport-Security: @@ -122,9 +122,9 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Debug: - - JpIJLwIH2nFlZOC+u71rq7aAOL43MLZN3MUsL+gpYHdZz5QLUOG8Jysf8kVK6tPU + - F5gm0Rce1/Abr9/0Fw8HAqWfiz0FdiH8er/AXnN6lOn3L6KyGgbsLCwgPlob1No8 X-Dd-Version: - - "35.4125004" + - "35.4593741" X-Frame-Options: - SAMEORIGIN status: 200 OK @@ -139,11 +139,11 @@ interactions: Dd-Operation-Id: - GetDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.18+dev (go go1.15.7; os darwin; arch amd64) - url: https://api.datadoghq.com/api/v1/dashboard/c3d-82g-w7k + - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) + url: https://api.datadoghq.com/api/v1/dashboard/ytr-c5j-nq4 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":"c3d-82g-w7k","title":"tf-TestAccDatadogDashboardTimeseriesMultiCompute-local-1616088799","url":"/dashboard/c3d-82g-w7k/tf-testaccdatadogdashboardtimeseriesmulticompute-local-1616088799","created_at":"2021-03-18T17:33:20.653584+00:00","modified_at":"2021-03-18T17:33:20.653584+00:00","author_handle":"frog@datadoghq.com","widgets":[{"definition":{"title_size":"16","yaxis":{"include_zero":true,"min":"0","max":"599999"},"title_align":"left","right_yaxis":{"include_zero":false,"min":"1","max":"599998"},"events":[{"q":"sources:test tags:1","tags_execution":"and"}],"show_legend":true,"markers":[{"display_type":"error dashed","value":"y=500000","label":"y=500000"},{"display_type":"warning dashed","value":"y=400000","label":"y=400000"}],"time":{"live_span":"5m"},"title":"system.cpu.user, env, process.stat.cpu.total_pct, network.bytes_read, @d...","legend_size":"2","type":"timeseries","requests":[{"on_right_yaxis":true,"style":{"line_width":"normal","palette":"cool","line_type":"solid"},"display_type":"line","log_query":{"index":"*","search":{"query":""},"group_by":[{"facet":"service","sort":{"aggregation":"count","order":"desc"},"limit":10}],"multi_compute":[{"aggregation":"count"},{"facet":"env","interval":1000,"aggregation":"cardinality"}]}}]},"id":6110599780111334},{"definition":{"title_size":"16","yaxis":{"include_zero":true,"min":"0","max":"599999"},"title_align":"left","right_yaxis":{"include_zero":false,"min":"1","max":"599998"},"events":[{"q":"sources:test tags:1","tags_execution":"and"}],"show_legend":true,"markers":[{"display_type":"error dashed","value":"y=500000","label":"y=500000"},{"display_type":"warning dashed","value":"y=400000","label":"y=400000"}],"time":{"live_span":"5m"},"title":"system.cpu.user, env, process.stat.cpu.total_pct, network.bytes_read, @d...","legend_size":"2","type":"timeseries","requests":[{"on_right_yaxis":true,"style":{"line_width":"normal","palette":"cool","line_type":"solid"},"display_type":"line","log_query":{"index":"*","search":{"query":""},"group_by":[{"facet":"service","sort":{"aggregation":"count","order":"desc"},"limit":10}],"multi_compute":[{"aggregation":"count"},{"facet":"env","interval":1000,"aggregation":"cardinality"}]}}]},"id":7666935917205894}],"layout_type":"ordered"}' + body: '{"notify_list":[],"description":"Created using the Datadog provider in Terraform","restricted_roles":["284d8b66-93f9-11eb-9c37-da7ad0900002","043a2842-e140-11e8-bb04-7fd10177666e","657de3a2-29f8-11eb-83b5-6b8ebfb2f184","e82bf27a-986c-11eb-9cba-da7ad0900002","f257ba30-dbb2-11ea-a5ff-5fd1d308318a","6bf314be-5c16-11eb-8e98-2356ea436065","62cbc476-5c16-11eb-8e98-0388ea7a41f8","08604de8-1dca-11eb-800c-9f5f55ff734d","9b3ab170-b768-11eb-a45a-da7ad0900002","7a83f306-96ca-11eb-9c74-da7ad0900002","16169788-28e4-11eb-832c-fb84162ef3eb","4de53192-9946-11eb-9cee-da7ad0900002","1302282c-b93b-11eb-a436-da7ad0900002","17d73994-7531-11eb-94b9-da7ad0900002"],"author_name":"Qin Chen","template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"ytr-c5j-nq4","title":"tf-TestAccDatadogDashboardTimeseriesMultiCompute-local-1621866970","url":"/dashboard/ytr-c5j-nq4/tf-testaccdatadogdashboardtimeseriesmulticompute-local-1621866970","created_at":"2021-05-24T14:36:12.072207+00:00","modified_at":"2021-05-24T14:36:12.072207+00:00","author_handle":"qin.chen@datadoghq.com","widgets":[{"definition":{"title_size":"16","yaxis":{"include_zero":true,"min":"0","max":"599999"},"title_align":"left","right_yaxis":{"include_zero":false,"min":"1","max":"599998"},"events":[{"q":"sources:test tags:1","tags_execution":"and"}],"show_legend":true,"markers":[{"display_type":"error dashed","value":"y=500000","label":"y=500000"},{"display_type":"warning dashed","value":"y=400000","label":"y=400000"}],"time":{"live_span":"5m"},"title":"system.cpu.user, env, process.stat.cpu.total_pct, network.bytes_read, @d...","legend_size":"2","type":"timeseries","requests":[{"on_right_yaxis":true,"style":{"line_width":"normal","palette":"cool","line_type":"solid"},"display_type":"line","log_query":{"index":"*","search":{"query":""},"group_by":[{"facet":"service","sort":{"aggregation":"count","order":"desc"},"limit":10}],"multi_compute":[{"aggregation":"count"},{"facet":"env","interval":1000,"aggregation":"cardinality"}]}}]},"id":8063248867071279},{"definition":{"title_size":"16","yaxis":{"include_zero":true,"min":"0","max":"599999"},"title_align":"left","right_yaxis":{"include_zero":false,"min":"1","max":"599998"},"events":[{"q":"sources:test tags:1","tags_execution":"and"}],"show_legend":true,"markers":[{"display_type":"error dashed","value":"y=500000","label":"y=500000"},{"display_type":"warning dashed","value":"y=400000","label":"y=400000"}],"time":{"live_span":"5m"},"title":"system.cpu.user, env, process.stat.cpu.total_pct, network.bytes_read, @d...","legend_size":"2","type":"timeseries","requests":[{"on_right_yaxis":true,"style":{"line_width":"normal","palette":"cool","line_type":"solid"},"display_type":"line","log_query":{"index":"*","search":{"query":""},"group_by":[{"facet":"service","sort":{"aggregation":"count","order":"desc"},"limit":10}],"multi_compute":[{"aggregation":"count"},{"facet":"env","interval":1000,"aggregation":"cardinality"}]}}]},"id":6763491334183299}],"layout_type":"ordered"}' headers: Cache-Control: - no-cache @@ -154,7 +154,7 @@ interactions: Content-Type: - application/json Date: - - Thu, 18 Mar 2021 17:33:24 GMT + - Mon, 24 May 2021 14:36:12 GMT Pragma: - no-cache Strict-Transport-Security: @@ -164,9 +164,9 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Debug: - - PhosSd3Ch1B6B0DXI71steKUi7XhPDttnPiIP1NdXTw0VJNWpoUnYyBmODS5ne3q + - B1nwy/pPNqX+q4pQT22cdp1QCexE35IF8qwSHy0Nf7IW0Y881qtn4tXN1lpmzaKc X-Dd-Version: - - "35.4125004" + - "35.4593741" X-Frame-Options: - SAMEORIGIN status: 200 OK @@ -181,11 +181,11 @@ interactions: Dd-Operation-Id: - GetDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.18+dev (go go1.15.7; os darwin; arch amd64) - url: https://api.datadoghq.com/api/v1/dashboard/c3d-82g-w7k + - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) + url: https://api.datadoghq.com/api/v1/dashboard/ytr-c5j-nq4 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":"c3d-82g-w7k","title":"tf-TestAccDatadogDashboardTimeseriesMultiCompute-local-1616088799","url":"/dashboard/c3d-82g-w7k/tf-testaccdatadogdashboardtimeseriesmulticompute-local-1616088799","created_at":"2021-03-18T17:33:20.653584+00:00","modified_at":"2021-03-18T17:33:20.653584+00:00","author_handle":"frog@datadoghq.com","widgets":[{"definition":{"title_size":"16","yaxis":{"include_zero":true,"min":"0","max":"599999"},"title_align":"left","right_yaxis":{"include_zero":false,"min":"1","max":"599998"},"events":[{"q":"sources:test tags:1","tags_execution":"and"}],"show_legend":true,"markers":[{"display_type":"error dashed","value":"y=500000","label":"y=500000"},{"display_type":"warning dashed","value":"y=400000","label":"y=400000"}],"time":{"live_span":"5m"},"title":"system.cpu.user, env, process.stat.cpu.total_pct, network.bytes_read, @d...","legend_size":"2","type":"timeseries","requests":[{"on_right_yaxis":true,"style":{"line_width":"normal","palette":"cool","line_type":"solid"},"display_type":"line","log_query":{"index":"*","search":{"query":""},"group_by":[{"facet":"service","sort":{"aggregation":"count","order":"desc"},"limit":10}],"multi_compute":[{"aggregation":"count"},{"facet":"env","interval":1000,"aggregation":"cardinality"}]}}]},"id":6110599780111334},{"definition":{"title_size":"16","yaxis":{"include_zero":true,"min":"0","max":"599999"},"title_align":"left","right_yaxis":{"include_zero":false,"min":"1","max":"599998"},"events":[{"q":"sources:test tags:1","tags_execution":"and"}],"show_legend":true,"markers":[{"display_type":"error dashed","value":"y=500000","label":"y=500000"},{"display_type":"warning dashed","value":"y=400000","label":"y=400000"}],"time":{"live_span":"5m"},"title":"system.cpu.user, env, process.stat.cpu.total_pct, network.bytes_read, @d...","legend_size":"2","type":"timeseries","requests":[{"on_right_yaxis":true,"style":{"line_width":"normal","palette":"cool","line_type":"solid"},"display_type":"line","log_query":{"index":"*","search":{"query":""},"group_by":[{"facet":"service","sort":{"aggregation":"count","order":"desc"},"limit":10}],"multi_compute":[{"aggregation":"count"},{"facet":"env","interval":1000,"aggregation":"cardinality"}]}}]},"id":7666935917205894}],"layout_type":"ordered"}' + body: '{"notify_list":[],"description":"Created using the Datadog provider in Terraform","restricted_roles":["284d8b66-93f9-11eb-9c37-da7ad0900002","043a2842-e140-11e8-bb04-7fd10177666e","657de3a2-29f8-11eb-83b5-6b8ebfb2f184","e82bf27a-986c-11eb-9cba-da7ad0900002","f257ba30-dbb2-11ea-a5ff-5fd1d308318a","6bf314be-5c16-11eb-8e98-2356ea436065","62cbc476-5c16-11eb-8e98-0388ea7a41f8","08604de8-1dca-11eb-800c-9f5f55ff734d","9b3ab170-b768-11eb-a45a-da7ad0900002","7a83f306-96ca-11eb-9c74-da7ad0900002","16169788-28e4-11eb-832c-fb84162ef3eb","4de53192-9946-11eb-9cee-da7ad0900002","1302282c-b93b-11eb-a436-da7ad0900002","17d73994-7531-11eb-94b9-da7ad0900002"],"author_name":"Qin Chen","template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"ytr-c5j-nq4","title":"tf-TestAccDatadogDashboardTimeseriesMultiCompute-local-1621866970","url":"/dashboard/ytr-c5j-nq4/tf-testaccdatadogdashboardtimeseriesmulticompute-local-1621866970","created_at":"2021-05-24T14:36:12.072207+00:00","modified_at":"2021-05-24T14:36:12.072207+00:00","author_handle":"qin.chen@datadoghq.com","widgets":[{"definition":{"title_size":"16","yaxis":{"include_zero":true,"min":"0","max":"599999"},"title_align":"left","right_yaxis":{"include_zero":false,"min":"1","max":"599998"},"events":[{"q":"sources:test tags:1","tags_execution":"and"}],"show_legend":true,"markers":[{"display_type":"error dashed","value":"y=500000","label":"y=500000"},{"display_type":"warning dashed","value":"y=400000","label":"y=400000"}],"time":{"live_span":"5m"},"title":"system.cpu.user, env, process.stat.cpu.total_pct, network.bytes_read, @d...","legend_size":"2","type":"timeseries","requests":[{"on_right_yaxis":true,"style":{"line_width":"normal","palette":"cool","line_type":"solid"},"display_type":"line","log_query":{"index":"*","search":{"query":""},"group_by":[{"facet":"service","sort":{"aggregation":"count","order":"desc"},"limit":10}],"multi_compute":[{"aggregation":"count"},{"facet":"env","interval":1000,"aggregation":"cardinality"}]}}]},"id":8063248867071279},{"definition":{"title_size":"16","yaxis":{"include_zero":true,"min":"0","max":"599999"},"title_align":"left","right_yaxis":{"include_zero":false,"min":"1","max":"599998"},"events":[{"q":"sources:test tags:1","tags_execution":"and"}],"show_legend":true,"markers":[{"display_type":"error dashed","value":"y=500000","label":"y=500000"},{"display_type":"warning dashed","value":"y=400000","label":"y=400000"}],"time":{"live_span":"5m"},"title":"system.cpu.user, env, process.stat.cpu.total_pct, network.bytes_read, @d...","legend_size":"2","type":"timeseries","requests":[{"on_right_yaxis":true,"style":{"line_width":"normal","palette":"cool","line_type":"solid"},"display_type":"line","log_query":{"index":"*","search":{"query":""},"group_by":[{"facet":"service","sort":{"aggregation":"count","order":"desc"},"limit":10}],"multi_compute":[{"aggregation":"count"},{"facet":"env","interval":1000,"aggregation":"cardinality"}]}}]},"id":6763491334183299}],"layout_type":"ordered"}' headers: Cache-Control: - no-cache @@ -196,7 +196,7 @@ interactions: Content-Type: - application/json Date: - - Thu, 18 Mar 2021 17:33:25 GMT + - Mon, 24 May 2021 14:36:13 GMT Pragma: - no-cache Strict-Transport-Security: @@ -206,9 +206,9 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Debug: - - SY1h8ScsWq+kYmtbh63ltMLFAZsQjqfrgvdfAoRX+9TzT1sgMBRYaFRwfWWRRe9a + - nLnnBNvlCFDECRnZvzDb0z4sAO35G+IMidcAs8vrCKyjvsKWE8Yd9S3n6OjZ1qRN X-Dd-Version: - - "35.4125004" + - "35.4593741" X-Frame-Options: - SAMEORIGIN status: 200 OK @@ -223,11 +223,11 @@ interactions: Dd-Operation-Id: - DeleteDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.18+dev (go go1.15.7; os darwin; arch amd64) - url: https://api.datadoghq.com/api/v1/dashboard/c3d-82g-w7k + - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) + url: https://api.datadoghq.com/api/v1/dashboard/ytr-c5j-nq4 method: DELETE response: - body: '{"deleted_dashboard_id":"c3d-82g-w7k"}' + body: '{"deleted_dashboard_id":"ytr-c5j-nq4"}' headers: Cache-Control: - no-cache @@ -238,7 +238,7 @@ interactions: Content-Type: - application/json Date: - - Thu, 18 Mar 2021 17:33:25 GMT + - Mon, 24 May 2021 14:36:14 GMT Pragma: - no-cache Strict-Transport-Security: @@ -248,9 +248,9 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Debug: - - 25u1gDlL724DHllbjFT4BhOLorBTilh+aah2uWAUEjFC/+rjczJdiyWrV/HwLwe/ + - nLnnBNvlCFDECRnZvzDb0z4sAO35G+IMidcAs8vrCKyjvsKWE8Yd9S3n6OjZ1qRN X-Dd-Version: - - "35.4125004" + - "35.4593741" X-Frame-Options: - SAMEORIGIN status: 200 OK @@ -265,11 +265,11 @@ interactions: Dd-Operation-Id: - GetDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.18+dev (go go1.15.7; os darwin; arch amd64) - url: https://api.datadoghq.com/api/v1/dashboard/c3d-82g-w7k + - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) + url: https://api.datadoghq.com/api/v1/dashboard/ytr-c5j-nq4 method: GET response: - body: '{"errors": ["Dashboard with ID c3d-82g-w7k not found"]}' + body: '{"errors": ["Dashboard with ID ytr-c5j-nq4 not found"]}' headers: Cache-Control: - no-cache @@ -280,7 +280,7 @@ interactions: Content-Type: - application/json Date: - - Thu, 18 Mar 2021 17:33:25 GMT + - Mon, 24 May 2021 14:36:14 GMT Pragma: - no-cache Strict-Transport-Security: @@ -290,7 +290,7 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Version: - - "35.4125004" + - "35.4593741" X-Frame-Options: - SAMEORIGIN status: 404 Not Found diff --git a/datadog/tests/cassettes/TestAccDatadogDashboardTimeseriesMultiCompute_import.freeze b/datadog/tests/cassettes/TestAccDatadogDashboardTimeseriesMultiCompute_import.freeze index 0a33322ef..be0e08462 100644 --- a/datadog/tests/cassettes/TestAccDatadogDashboardTimeseriesMultiCompute_import.freeze +++ b/datadog/tests/cassettes/TestAccDatadogDashboardTimeseriesMultiCompute_import.freeze @@ -1 +1 @@ -2021-03-18T18:33:19.521025+01:00 \ No newline at end of file +2021-05-24T10:37:36.314778-04:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogDashboardTimeseriesMultiCompute_import.yaml b/datadog/tests/cassettes/TestAccDatadogDashboardTimeseriesMultiCompute_import.yaml index 0a5037069..41020d175 100644 --- a/datadog/tests/cassettes/TestAccDatadogDashboardTimeseriesMultiCompute_import.yaml +++ b/datadog/tests/cassettes/TestAccDatadogDashboardTimeseriesMultiCompute_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-TestAccDatadogDashboardTimeseriesMultiCompute_import-local-1616088799","widgets":[{"definition":{"events":[{"q":"sources:test tags:1","tags_execution":"and"}],"legend_size":"2","markers":[{"display_type":"error dashed","label":"y=500000","value":"y=500000"},{"display_type":"warning dashed","label":"y=400000","value":"y=400000"}],"requests":[{"display_type":"line","log_query":{"group_by":[{"facet":"service","limit":10,"sort":{"aggregation":"count","order":"desc"}}],"index":"*","multi_compute":[{"aggregation":"count"},{"aggregation":"cardinality","facet":"env","interval":1000}],"search":{"query":""}},"on_right_yaxis":true,"style":{"line_type":"solid","line_width":"normal","palette":"cool"}}],"right_yaxis":{"include_zero":false,"max":"599998","min":"1"},"show_legend":true,"time":{"live_span":"5m"},"title":"system.cpu.user, env, process.stat.cpu.total_pct, network.bytes_read, @d...","title_align":"left","title_size":"16","type":"timeseries","yaxis":{"include_zero":true,"max":"599999","min":"0"}}}]} + {"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-TestAccDatadogDashboardTimeseriesMultiCompute_import-local-1621866970","widgets":[{"definition":{"events":[{"q":"sources:test tags:1","tags_execution":"and"}],"legend_size":"2","markers":[{"display_type":"error dashed","label":"y=500000","value":"y=500000"},{"display_type":"warning dashed","label":"y=400000","value":"y=400000"}],"requests":[{"display_type":"line","log_query":{"group_by":[{"facet":"service","limit":10,"sort":{"aggregation":"count","order":"desc"}}],"index":"*","multi_compute":[{"aggregation":"count"},{"aggregation":"cardinality","facet":"env","interval":1000}],"search":{"query":""}},"on_right_yaxis":true,"style":{"line_type":"solid","line_width":"normal","palette":"cool"}}],"right_yaxis":{"include_zero":false,"max":"599998","min":"1"},"show_legend":true,"time":{"live_span":"5m"},"title":"system.cpu.user, env, process.stat.cpu.total_pct, network.bytes_read, @d...","title_align":"left","title_size":"16","type":"timeseries","yaxis":{"include_zero":true,"max":"599999","min":"0"}}}]} form: {} headers: Accept: @@ -13,11 +13,11 @@ interactions: Dd-Operation-Id: - CreateDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.18+dev (go go1.15.7; os darwin; arch amd64) + - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) 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":"edu-dm8-kss","title":"tf-TestAccDatadogDashboardTimeseriesMultiCompute_import-local-1616088799","url":"/dashboard/edu-dm8-kss/tf-testaccdatadogdashboardtimeseriesmulticomputeimport-local-1616088799","created_at":"2021-03-18T17:33:20.584024+00:00","modified_at":"2021-03-18T17:33:20.584024+00:00","author_handle":"frog@datadoghq.com","widgets":[{"definition":{"title_size":"16","yaxis":{"include_zero":true,"min":"0","max":"599999"},"title_align":"left","right_yaxis":{"include_zero":false,"min":"1","max":"599998"},"events":[{"q":"sources:test tags:1","tags_execution":"and"}],"show_legend":true,"markers":[{"display_type":"error dashed","value":"y=500000","label":"y=500000"},{"display_type":"warning dashed","value":"y=400000","label":"y=400000"}],"time":{"live_span":"5m"},"title":"system.cpu.user, env, process.stat.cpu.total_pct, network.bytes_read, @d...","legend_size":"2","type":"timeseries","requests":[{"on_right_yaxis":true,"style":{"line_width":"normal","palette":"cool","line_type":"solid"},"display_type":"line","log_query":{"index":"*","search":{"query":""},"group_by":[{"facet":"service","sort":{"aggregation":"count","order":"desc"},"limit":10}],"multi_compute":[{"aggregation":"count"},{"facet":"env","interval":1000,"aggregation":"cardinality"}]}}]},"id":4662406963868713}],"layout_type":"ordered"}' + body: '{"notify_list":[],"description":"Created using the Datadog provider in Terraform","restricted_roles":["043a2842-e140-11e8-bb04-7fd10177666e","08604de8-1dca-11eb-800c-9f5f55ff734d","1302282c-b93b-11eb-a436-da7ad0900002","16169788-28e4-11eb-832c-fb84162ef3eb","17d73994-7531-11eb-94b9-da7ad0900002","284d8b66-93f9-11eb-9c37-da7ad0900002","4de53192-9946-11eb-9cee-da7ad0900002","62cbc476-5c16-11eb-8e98-0388ea7a41f8","657de3a2-29f8-11eb-83b5-6b8ebfb2f184","6bf314be-5c16-11eb-8e98-2356ea436065","7a83f306-96ca-11eb-9c74-da7ad0900002","9b3ab170-b768-11eb-a45a-da7ad0900002","e82bf27a-986c-11eb-9cba-da7ad0900002","f257ba30-dbb2-11ea-a5ff-5fd1d308318a"],"author_name":"Qin Chen","template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"ssj-vgy-c34","title":"tf-TestAccDatadogDashboardTimeseriesMultiCompute_import-local-1621866970","url":"/dashboard/ssj-vgy-c34/tf-testaccdatadogdashboardtimeseriesmulticomputeimport-local-1621866970","created_at":"2021-05-24T14:36:12.074330+00:00","modified_at":"2021-05-24T14:36:12.074330+00:00","author_handle":"qin.chen@datadoghq.com","widgets":[{"definition":{"title_size":"16","yaxis":{"include_zero":true,"min":"0","max":"599999"},"title_align":"left","right_yaxis":{"include_zero":false,"min":"1","max":"599998"},"events":[{"q":"sources:test tags:1","tags_execution":"and"}],"show_legend":true,"markers":[{"display_type":"error dashed","value":"y=500000","label":"y=500000"},{"display_type":"warning dashed","value":"y=400000","label":"y=400000"}],"time":{"live_span":"5m"},"title":"system.cpu.user, env, process.stat.cpu.total_pct, network.bytes_read, @d...","legend_size":"2","type":"timeseries","requests":[{"on_right_yaxis":true,"style":{"line_width":"normal","palette":"cool","line_type":"solid"},"display_type":"line","log_query":{"index":"*","search":{"query":""},"group_by":[{"facet":"service","sort":{"aggregation":"count","order":"desc"},"limit":10}],"multi_compute":[{"aggregation":"count"},{"facet":"env","interval":1000,"aggregation":"cardinality"}]}}]},"id":828015928397007}],"layout_type":"ordered"}' headers: Cache-Control: - no-cache @@ -28,7 +28,7 @@ interactions: Content-Type: - application/json Date: - - Thu, 18 Mar 2021 17:33:23 GMT + - Mon, 24 May 2021 14:36:12 GMT Pragma: - no-cache Strict-Transport-Security: @@ -38,9 +38,9 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Debug: - - fIO2C4qGDheGHy4YbS+r3a3CXbh4cbRo7roILOimQyiHGjQdOat0cIpWCkupM1uX + - B1nwy/pPNqX+q4pQT22cdp1QCexE35IF8qwSHy0Nf7IW0Y881qtn4tXN1lpmzaKc X-Dd-Version: - - "35.4125004" + - "35.4593741" X-Frame-Options: - SAMEORIGIN status: 200 OK @@ -55,11 +55,11 @@ interactions: Dd-Operation-Id: - GetDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.18+dev (go go1.15.7; os darwin; arch amd64) - url: https://api.datadoghq.com/api/v1/dashboard/edu-dm8-kss + - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) + url: https://api.datadoghq.com/api/v1/dashboard/ssj-vgy-c34 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":"edu-dm8-kss","title":"tf-TestAccDatadogDashboardTimeseriesMultiCompute_import-local-1616088799","url":"/dashboard/edu-dm8-kss/tf-testaccdatadogdashboardtimeseriesmulticomputeimport-local-1616088799","created_at":"2021-03-18T17:33:20.584024+00:00","modified_at":"2021-03-18T17:33:20.584024+00:00","author_handle":"frog@datadoghq.com","widgets":[{"definition":{"title_size":"16","yaxis":{"include_zero":true,"min":"0","max":"599999"},"title_align":"left","right_yaxis":{"include_zero":false,"min":"1","max":"599998"},"events":[{"q":"sources:test tags:1","tags_execution":"and"}],"show_legend":true,"markers":[{"display_type":"error dashed","value":"y=500000","label":"y=500000"},{"display_type":"warning dashed","value":"y=400000","label":"y=400000"}],"time":{"live_span":"5m"},"title":"system.cpu.user, env, process.stat.cpu.total_pct, network.bytes_read, @d...","legend_size":"2","type":"timeseries","requests":[{"on_right_yaxis":true,"style":{"line_width":"normal","palette":"cool","line_type":"solid"},"display_type":"line","log_query":{"index":"*","search":{"query":""},"group_by":[{"facet":"service","sort":{"aggregation":"count","order":"desc"},"limit":10}],"multi_compute":[{"aggregation":"count"},{"facet":"env","interval":1000,"aggregation":"cardinality"}]}}]},"id":4662406963868713}],"layout_type":"ordered"}' + body: '{"notify_list":[],"description":"Created using the Datadog provider in Terraform","restricted_roles":["284d8b66-93f9-11eb-9c37-da7ad0900002","043a2842-e140-11e8-bb04-7fd10177666e","657de3a2-29f8-11eb-83b5-6b8ebfb2f184","e82bf27a-986c-11eb-9cba-da7ad0900002","f257ba30-dbb2-11ea-a5ff-5fd1d308318a","6bf314be-5c16-11eb-8e98-2356ea436065","62cbc476-5c16-11eb-8e98-0388ea7a41f8","08604de8-1dca-11eb-800c-9f5f55ff734d","9b3ab170-b768-11eb-a45a-da7ad0900002","7a83f306-96ca-11eb-9c74-da7ad0900002","16169788-28e4-11eb-832c-fb84162ef3eb","4de53192-9946-11eb-9cee-da7ad0900002","1302282c-b93b-11eb-a436-da7ad0900002","17d73994-7531-11eb-94b9-da7ad0900002"],"author_name":"Qin Chen","template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"ssj-vgy-c34","title":"tf-TestAccDatadogDashboardTimeseriesMultiCompute_import-local-1621866970","url":"/dashboard/ssj-vgy-c34/tf-testaccdatadogdashboardtimeseriesmulticomputeimport-local-1621866970","created_at":"2021-05-24T14:36:12.074330+00:00","modified_at":"2021-05-24T14:36:12.074330+00:00","author_handle":"qin.chen@datadoghq.com","widgets":[{"definition":{"title_size":"16","yaxis":{"include_zero":true,"min":"0","max":"599999"},"title_align":"left","right_yaxis":{"include_zero":false,"min":"1","max":"599998"},"events":[{"q":"sources:test tags:1","tags_execution":"and"}],"show_legend":true,"markers":[{"display_type":"error dashed","value":"y=500000","label":"y=500000"},{"display_type":"warning dashed","value":"y=400000","label":"y=400000"}],"time":{"live_span":"5m"},"title":"system.cpu.user, env, process.stat.cpu.total_pct, network.bytes_read, @d...","legend_size":"2","type":"timeseries","requests":[{"on_right_yaxis":true,"style":{"line_width":"normal","palette":"cool","line_type":"solid"},"display_type":"line","log_query":{"index":"*","search":{"query":""},"group_by":[{"facet":"service","sort":{"aggregation":"count","order":"desc"},"limit":10}],"multi_compute":[{"aggregation":"count"},{"facet":"env","interval":1000,"aggregation":"cardinality"}]}}]},"id":828015928397007}],"layout_type":"ordered"}' headers: Cache-Control: - no-cache @@ -70,7 +70,7 @@ interactions: Content-Type: - application/json Date: - - Thu, 18 Mar 2021 17:33:23 GMT + - Mon, 24 May 2021 14:36:12 GMT Pragma: - no-cache Strict-Transport-Security: @@ -80,9 +80,9 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Debug: - - bgHykj7A9bfZx0Y5ZO3swhhp5tGUSNJHqFWR868+qg087CYrDOd5hQslC+noiEtH + - LcgNasIYBRkNppmD6mCKE9J6iv0eEjosuuHR5V5zw2fWbR54i39C8dhdK8zDq/40 X-Dd-Version: - - "35.4125004" + - "35.4593741" X-Frame-Options: - SAMEORIGIN status: 200 OK @@ -97,11 +97,11 @@ interactions: Dd-Operation-Id: - GetDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.18+dev (go go1.15.7; os darwin; arch amd64) - url: https://api.datadoghq.com/api/v1/dashboard/edu-dm8-kss + - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) + url: https://api.datadoghq.com/api/v1/dashboard/ssj-vgy-c34 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":"edu-dm8-kss","title":"tf-TestAccDatadogDashboardTimeseriesMultiCompute_import-local-1616088799","url":"/dashboard/edu-dm8-kss/tf-testaccdatadogdashboardtimeseriesmulticomputeimport-local-1616088799","created_at":"2021-03-18T17:33:20.584024+00:00","modified_at":"2021-03-18T17:33:20.584024+00:00","author_handle":"frog@datadoghq.com","widgets":[{"definition":{"title_size":"16","yaxis":{"include_zero":true,"min":"0","max":"599999"},"title_align":"left","right_yaxis":{"include_zero":false,"min":"1","max":"599998"},"events":[{"q":"sources:test tags:1","tags_execution":"and"}],"show_legend":true,"markers":[{"display_type":"error dashed","value":"y=500000","label":"y=500000"},{"display_type":"warning dashed","value":"y=400000","label":"y=400000"}],"time":{"live_span":"5m"},"title":"system.cpu.user, env, process.stat.cpu.total_pct, network.bytes_read, @d...","legend_size":"2","type":"timeseries","requests":[{"on_right_yaxis":true,"style":{"line_width":"normal","palette":"cool","line_type":"solid"},"display_type":"line","log_query":{"index":"*","search":{"query":""},"group_by":[{"facet":"service","sort":{"aggregation":"count","order":"desc"},"limit":10}],"multi_compute":[{"aggregation":"count"},{"facet":"env","interval":1000,"aggregation":"cardinality"}]}}]},"id":4662406963868713}],"layout_type":"ordered"}' + body: '{"notify_list":[],"description":"Created using the Datadog provider in Terraform","restricted_roles":["284d8b66-93f9-11eb-9c37-da7ad0900002","043a2842-e140-11e8-bb04-7fd10177666e","657de3a2-29f8-11eb-83b5-6b8ebfb2f184","e82bf27a-986c-11eb-9cba-da7ad0900002","f257ba30-dbb2-11ea-a5ff-5fd1d308318a","6bf314be-5c16-11eb-8e98-2356ea436065","62cbc476-5c16-11eb-8e98-0388ea7a41f8","08604de8-1dca-11eb-800c-9f5f55ff734d","9b3ab170-b768-11eb-a45a-da7ad0900002","7a83f306-96ca-11eb-9c74-da7ad0900002","16169788-28e4-11eb-832c-fb84162ef3eb","4de53192-9946-11eb-9cee-da7ad0900002","1302282c-b93b-11eb-a436-da7ad0900002","17d73994-7531-11eb-94b9-da7ad0900002"],"author_name":"Qin Chen","template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"ssj-vgy-c34","title":"tf-TestAccDatadogDashboardTimeseriesMultiCompute_import-local-1621866970","url":"/dashboard/ssj-vgy-c34/tf-testaccdatadogdashboardtimeseriesmulticomputeimport-local-1621866970","created_at":"2021-05-24T14:36:12.074330+00:00","modified_at":"2021-05-24T14:36:12.074330+00:00","author_handle":"qin.chen@datadoghq.com","widgets":[{"definition":{"title_size":"16","yaxis":{"include_zero":true,"min":"0","max":"599999"},"title_align":"left","right_yaxis":{"include_zero":false,"min":"1","max":"599998"},"events":[{"q":"sources:test tags:1","tags_execution":"and"}],"show_legend":true,"markers":[{"display_type":"error dashed","value":"y=500000","label":"y=500000"},{"display_type":"warning dashed","value":"y=400000","label":"y=400000"}],"time":{"live_span":"5m"},"title":"system.cpu.user, env, process.stat.cpu.total_pct, network.bytes_read, @d...","legend_size":"2","type":"timeseries","requests":[{"on_right_yaxis":true,"style":{"line_width":"normal","palette":"cool","line_type":"solid"},"display_type":"line","log_query":{"index":"*","search":{"query":""},"group_by":[{"facet":"service","sort":{"aggregation":"count","order":"desc"},"limit":10}],"multi_compute":[{"aggregation":"count"},{"facet":"env","interval":1000,"aggregation":"cardinality"}]}}]},"id":828015928397007}],"layout_type":"ordered"}' headers: Cache-Control: - no-cache @@ -112,7 +112,7 @@ interactions: Content-Type: - application/json Date: - - Thu, 18 Mar 2021 17:33:24 GMT + - Mon, 24 May 2021 14:36:12 GMT Pragma: - no-cache Strict-Transport-Security: @@ -122,9 +122,9 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Debug: - - dCmL/3rURV6BPeaqeP3Rxigq41m5CAb17XjrRE42uZ01zpr07HVhbL5/3TWMkvgu + - HbtaOKlJ6OCrx9tMXO6ivMTrEM+g0c93HDp08trmOmgdHozC5J+vn10F0H4WPjCU X-Dd-Version: - - "35.4125004" + - "35.4593741" X-Frame-Options: - SAMEORIGIN status: 200 OK @@ -139,11 +139,11 @@ interactions: Dd-Operation-Id: - GetDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.18+dev (go go1.15.7; os darwin; arch amd64) - url: https://api.datadoghq.com/api/v1/dashboard/edu-dm8-kss + - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) + url: https://api.datadoghq.com/api/v1/dashboard/ssj-vgy-c34 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":"edu-dm8-kss","title":"tf-TestAccDatadogDashboardTimeseriesMultiCompute_import-local-1616088799","url":"/dashboard/edu-dm8-kss/tf-testaccdatadogdashboardtimeseriesmulticomputeimport-local-1616088799","created_at":"2021-03-18T17:33:20.584024+00:00","modified_at":"2021-03-18T17:33:20.584024+00:00","author_handle":"frog@datadoghq.com","widgets":[{"definition":{"title_size":"16","yaxis":{"include_zero":true,"min":"0","max":"599999"},"title_align":"left","right_yaxis":{"include_zero":false,"min":"1","max":"599998"},"events":[{"q":"sources:test tags:1","tags_execution":"and"}],"show_legend":true,"markers":[{"display_type":"error dashed","value":"y=500000","label":"y=500000"},{"display_type":"warning dashed","value":"y=400000","label":"y=400000"}],"time":{"live_span":"5m"},"title":"system.cpu.user, env, process.stat.cpu.total_pct, network.bytes_read, @d...","legend_size":"2","type":"timeseries","requests":[{"on_right_yaxis":true,"style":{"line_width":"normal","palette":"cool","line_type":"solid"},"display_type":"line","log_query":{"index":"*","search":{"query":""},"group_by":[{"facet":"service","sort":{"aggregation":"count","order":"desc"},"limit":10}],"multi_compute":[{"aggregation":"count"},{"facet":"env","interval":1000,"aggregation":"cardinality"}]}}]},"id":4662406963868713}],"layout_type":"ordered"}' + body: '{"notify_list":[],"description":"Created using the Datadog provider in Terraform","restricted_roles":["284d8b66-93f9-11eb-9c37-da7ad0900002","043a2842-e140-11e8-bb04-7fd10177666e","657de3a2-29f8-11eb-83b5-6b8ebfb2f184","e82bf27a-986c-11eb-9cba-da7ad0900002","f257ba30-dbb2-11ea-a5ff-5fd1d308318a","6bf314be-5c16-11eb-8e98-2356ea436065","62cbc476-5c16-11eb-8e98-0388ea7a41f8","08604de8-1dca-11eb-800c-9f5f55ff734d","9b3ab170-b768-11eb-a45a-da7ad0900002","7a83f306-96ca-11eb-9c74-da7ad0900002","16169788-28e4-11eb-832c-fb84162ef3eb","4de53192-9946-11eb-9cee-da7ad0900002","1302282c-b93b-11eb-a436-da7ad0900002","17d73994-7531-11eb-94b9-da7ad0900002"],"author_name":"Qin Chen","template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"ssj-vgy-c34","title":"tf-TestAccDatadogDashboardTimeseriesMultiCompute_import-local-1621866970","url":"/dashboard/ssj-vgy-c34/tf-testaccdatadogdashboardtimeseriesmulticomputeimport-local-1621866970","created_at":"2021-05-24T14:36:12.074330+00:00","modified_at":"2021-05-24T14:36:12.074330+00:00","author_handle":"qin.chen@datadoghq.com","widgets":[{"definition":{"title_size":"16","yaxis":{"include_zero":true,"min":"0","max":"599999"},"title_align":"left","right_yaxis":{"include_zero":false,"min":"1","max":"599998"},"events":[{"q":"sources:test tags:1","tags_execution":"and"}],"show_legend":true,"markers":[{"display_type":"error dashed","value":"y=500000","label":"y=500000"},{"display_type":"warning dashed","value":"y=400000","label":"y=400000"}],"time":{"live_span":"5m"},"title":"system.cpu.user, env, process.stat.cpu.total_pct, network.bytes_read, @d...","legend_size":"2","type":"timeseries","requests":[{"on_right_yaxis":true,"style":{"line_width":"normal","palette":"cool","line_type":"solid"},"display_type":"line","log_query":{"index":"*","search":{"query":""},"group_by":[{"facet":"service","sort":{"aggregation":"count","order":"desc"},"limit":10}],"multi_compute":[{"aggregation":"count"},{"facet":"env","interval":1000,"aggregation":"cardinality"}]}}]},"id":828015928397007}],"layout_type":"ordered"}' headers: Cache-Control: - no-cache @@ -154,7 +154,7 @@ interactions: Content-Type: - application/json Date: - - Thu, 18 Mar 2021 17:33:24 GMT + - Mon, 24 May 2021 14:36:13 GMT Pragma: - no-cache Strict-Transport-Security: @@ -164,9 +164,9 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Debug: - - l8RQo2maZqJf6GFThBbKNE6dvthz6njusVtau3dPXJWL2RLFoN81H+BLPB/1xgs1 + - dPySkcOzIZtKyMKDAAzuysY3gNGGj6RtYogGuSb76E8mPvoqzREyRp6lPYm91hQU X-Dd-Version: - - "35.4125004" + - "35.4593741" X-Frame-Options: - SAMEORIGIN status: 200 OK @@ -181,11 +181,11 @@ interactions: Dd-Operation-Id: - GetDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.18+dev (go go1.15.7; os darwin; arch amd64) - url: https://api.datadoghq.com/api/v1/dashboard/edu-dm8-kss + - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) + url: https://api.datadoghq.com/api/v1/dashboard/ssj-vgy-c34 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":"edu-dm8-kss","title":"tf-TestAccDatadogDashboardTimeseriesMultiCompute_import-local-1616088799","url":"/dashboard/edu-dm8-kss/tf-testaccdatadogdashboardtimeseriesmulticomputeimport-local-1616088799","created_at":"2021-03-18T17:33:20.584024+00:00","modified_at":"2021-03-18T17:33:20.584024+00:00","author_handle":"frog@datadoghq.com","widgets":[{"definition":{"title_size":"16","yaxis":{"include_zero":true,"min":"0","max":"599999"},"title_align":"left","right_yaxis":{"include_zero":false,"min":"1","max":"599998"},"events":[{"q":"sources:test tags:1","tags_execution":"and"}],"show_legend":true,"markers":[{"display_type":"error dashed","value":"y=500000","label":"y=500000"},{"display_type":"warning dashed","value":"y=400000","label":"y=400000"}],"time":{"live_span":"5m"},"title":"system.cpu.user, env, process.stat.cpu.total_pct, network.bytes_read, @d...","legend_size":"2","type":"timeseries","requests":[{"on_right_yaxis":true,"style":{"line_width":"normal","palette":"cool","line_type":"solid"},"display_type":"line","log_query":{"index":"*","search":{"query":""},"group_by":[{"facet":"service","sort":{"aggregation":"count","order":"desc"},"limit":10}],"multi_compute":[{"aggregation":"count"},{"facet":"env","interval":1000,"aggregation":"cardinality"}]}}]},"id":4662406963868713}],"layout_type":"ordered"}' + body: '{"notify_list":[],"description":"Created using the Datadog provider in Terraform","restricted_roles":["284d8b66-93f9-11eb-9c37-da7ad0900002","043a2842-e140-11e8-bb04-7fd10177666e","657de3a2-29f8-11eb-83b5-6b8ebfb2f184","e82bf27a-986c-11eb-9cba-da7ad0900002","f257ba30-dbb2-11ea-a5ff-5fd1d308318a","6bf314be-5c16-11eb-8e98-2356ea436065","62cbc476-5c16-11eb-8e98-0388ea7a41f8","08604de8-1dca-11eb-800c-9f5f55ff734d","9b3ab170-b768-11eb-a45a-da7ad0900002","7a83f306-96ca-11eb-9c74-da7ad0900002","16169788-28e4-11eb-832c-fb84162ef3eb","4de53192-9946-11eb-9cee-da7ad0900002","1302282c-b93b-11eb-a436-da7ad0900002","17d73994-7531-11eb-94b9-da7ad0900002"],"author_name":"Qin Chen","template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"ssj-vgy-c34","title":"tf-TestAccDatadogDashboardTimeseriesMultiCompute_import-local-1621866970","url":"/dashboard/ssj-vgy-c34/tf-testaccdatadogdashboardtimeseriesmulticomputeimport-local-1621866970","created_at":"2021-05-24T14:36:12.074330+00:00","modified_at":"2021-05-24T14:36:12.074330+00:00","author_handle":"qin.chen@datadoghq.com","widgets":[{"definition":{"title_size":"16","yaxis":{"include_zero":true,"min":"0","max":"599999"},"title_align":"left","right_yaxis":{"include_zero":false,"min":"1","max":"599998"},"events":[{"q":"sources:test tags:1","tags_execution":"and"}],"show_legend":true,"markers":[{"display_type":"error dashed","value":"y=500000","label":"y=500000"},{"display_type":"warning dashed","value":"y=400000","label":"y=400000"}],"time":{"live_span":"5m"},"title":"system.cpu.user, env, process.stat.cpu.total_pct, network.bytes_read, @d...","legend_size":"2","type":"timeseries","requests":[{"on_right_yaxis":true,"style":{"line_width":"normal","palette":"cool","line_type":"solid"},"display_type":"line","log_query":{"index":"*","search":{"query":""},"group_by":[{"facet":"service","sort":{"aggregation":"count","order":"desc"},"limit":10}],"multi_compute":[{"aggregation":"count"},{"facet":"env","interval":1000,"aggregation":"cardinality"}]}}]},"id":828015928397007}],"layout_type":"ordered"}' headers: Cache-Control: - no-cache @@ -196,7 +196,7 @@ interactions: Content-Type: - application/json Date: - - Thu, 18 Mar 2021 17:33:24 GMT + - Mon, 24 May 2021 14:36:13 GMT Pragma: - no-cache Strict-Transport-Security: @@ -206,9 +206,9 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Debug: - - bgHykj7A9bfZx0Y5ZO3swhhp5tGUSNJHqFWR868+qg087CYrDOd5hQslC+noiEtH + - 5gfwVh/5HZ+AnGd/Di93w3NEWC6KMHT9KzmHEiRJmNdOjBtAsbOcgVFyqEChw71h X-Dd-Version: - - "35.4125004" + - "35.4593741" X-Frame-Options: - SAMEORIGIN status: 200 OK @@ -223,11 +223,11 @@ interactions: Dd-Operation-Id: - GetDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.18+dev (go go1.15.7; os darwin; arch amd64) - url: https://api.datadoghq.com/api/v1/dashboard/edu-dm8-kss + - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) + url: https://api.datadoghq.com/api/v1/dashboard/ssj-vgy-c34 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":"edu-dm8-kss","title":"tf-TestAccDatadogDashboardTimeseriesMultiCompute_import-local-1616088799","url":"/dashboard/edu-dm8-kss/tf-testaccdatadogdashboardtimeseriesmulticomputeimport-local-1616088799","created_at":"2021-03-18T17:33:20.584024+00:00","modified_at":"2021-03-18T17:33:20.584024+00:00","author_handle":"frog@datadoghq.com","widgets":[{"definition":{"title_size":"16","yaxis":{"include_zero":true,"min":"0","max":"599999"},"title_align":"left","right_yaxis":{"include_zero":false,"min":"1","max":"599998"},"events":[{"q":"sources:test tags:1","tags_execution":"and"}],"show_legend":true,"markers":[{"display_type":"error dashed","value":"y=500000","label":"y=500000"},{"display_type":"warning dashed","value":"y=400000","label":"y=400000"}],"time":{"live_span":"5m"},"title":"system.cpu.user, env, process.stat.cpu.total_pct, network.bytes_read, @d...","legend_size":"2","type":"timeseries","requests":[{"on_right_yaxis":true,"style":{"line_width":"normal","palette":"cool","line_type":"solid"},"display_type":"line","log_query":{"index":"*","search":{"query":""},"group_by":[{"facet":"service","sort":{"aggregation":"count","order":"desc"},"limit":10}],"multi_compute":[{"aggregation":"count"},{"facet":"env","interval":1000,"aggregation":"cardinality"}]}}]},"id":4662406963868713}],"layout_type":"ordered"}' + body: '{"notify_list":[],"description":"Created using the Datadog provider in Terraform","restricted_roles":["284d8b66-93f9-11eb-9c37-da7ad0900002","043a2842-e140-11e8-bb04-7fd10177666e","657de3a2-29f8-11eb-83b5-6b8ebfb2f184","e82bf27a-986c-11eb-9cba-da7ad0900002","f257ba30-dbb2-11ea-a5ff-5fd1d308318a","6bf314be-5c16-11eb-8e98-2356ea436065","62cbc476-5c16-11eb-8e98-0388ea7a41f8","08604de8-1dca-11eb-800c-9f5f55ff734d","9b3ab170-b768-11eb-a45a-da7ad0900002","7a83f306-96ca-11eb-9c74-da7ad0900002","16169788-28e4-11eb-832c-fb84162ef3eb","4de53192-9946-11eb-9cee-da7ad0900002","1302282c-b93b-11eb-a436-da7ad0900002","17d73994-7531-11eb-94b9-da7ad0900002"],"author_name":"Qin Chen","template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"ssj-vgy-c34","title":"tf-TestAccDatadogDashboardTimeseriesMultiCompute_import-local-1621866970","url":"/dashboard/ssj-vgy-c34/tf-testaccdatadogdashboardtimeseriesmulticomputeimport-local-1621866970","created_at":"2021-05-24T14:36:12.074330+00:00","modified_at":"2021-05-24T14:36:12.074330+00:00","author_handle":"qin.chen@datadoghq.com","widgets":[{"definition":{"title_size":"16","yaxis":{"include_zero":true,"min":"0","max":"599999"},"title_align":"left","right_yaxis":{"include_zero":false,"min":"1","max":"599998"},"events":[{"q":"sources:test tags:1","tags_execution":"and"}],"show_legend":true,"markers":[{"display_type":"error dashed","value":"y=500000","label":"y=500000"},{"display_type":"warning dashed","value":"y=400000","label":"y=400000"}],"time":{"live_span":"5m"},"title":"system.cpu.user, env, process.stat.cpu.total_pct, network.bytes_read, @d...","legend_size":"2","type":"timeseries","requests":[{"on_right_yaxis":true,"style":{"line_width":"normal","palette":"cool","line_type":"solid"},"display_type":"line","log_query":{"index":"*","search":{"query":""},"group_by":[{"facet":"service","sort":{"aggregation":"count","order":"desc"},"limit":10}],"multi_compute":[{"aggregation":"count"},{"facet":"env","interval":1000,"aggregation":"cardinality"}]}}]},"id":828015928397007}],"layout_type":"ordered"}' headers: Cache-Control: - no-cache @@ -238,7 +238,7 @@ interactions: Content-Type: - application/json Date: - - Thu, 18 Mar 2021 17:33:25 GMT + - Mon, 24 May 2021 14:36:13 GMT Pragma: - no-cache Strict-Transport-Security: @@ -248,9 +248,9 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Debug: - - B1nwy/pPNqX+q4pQT22cdp1QCexE35IF8qwSHy0Nf7IW0Y881qtn4tXN1lpmzaKc + - HbtaOKlJ6OCrx9tMXO6ivMTrEM+g0c93HDp08trmOmgdHozC5J+vn10F0H4WPjCU X-Dd-Version: - - "35.4125004" + - "35.4593741" X-Frame-Options: - SAMEORIGIN status: 200 OK @@ -265,11 +265,11 @@ interactions: Dd-Operation-Id: - DeleteDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.18+dev (go go1.15.7; os darwin; arch amd64) - url: https://api.datadoghq.com/api/v1/dashboard/edu-dm8-kss + - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) + url: https://api.datadoghq.com/api/v1/dashboard/ssj-vgy-c34 method: DELETE response: - body: '{"deleted_dashboard_id":"edu-dm8-kss"}' + body: '{"deleted_dashboard_id":"ssj-vgy-c34"}' headers: Cache-Control: - no-cache @@ -280,7 +280,7 @@ interactions: Content-Type: - application/json Date: - - Thu, 18 Mar 2021 17:33:25 GMT + - Mon, 24 May 2021 14:36:14 GMT Pragma: - no-cache Strict-Transport-Security: @@ -290,9 +290,9 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Debug: - - SY1h8ScsWq+kYmtbh63ltMLFAZsQjqfrgvdfAoRX+9TzT1sgMBRYaFRwfWWRRe9a + - 5gfwVh/5HZ+AnGd/Di93w3NEWC6KMHT9KzmHEiRJmNdOjBtAsbOcgVFyqEChw71h X-Dd-Version: - - "35.4125004" + - "35.4593741" X-Frame-Options: - SAMEORIGIN status: 200 OK @@ -307,11 +307,11 @@ interactions: Dd-Operation-Id: - GetDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.18+dev (go go1.15.7; os darwin; arch amd64) - url: https://api.datadoghq.com/api/v1/dashboard/edu-dm8-kss + - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) + url: https://api.datadoghq.com/api/v1/dashboard/ssj-vgy-c34 method: GET response: - body: '{"errors": ["Dashboard with ID edu-dm8-kss not found"]}' + body: '{"errors": ["Dashboard with ID ssj-vgy-c34 not found"]}' headers: Cache-Control: - no-cache @@ -322,7 +322,7 @@ interactions: Content-Type: - application/json Date: - - Thu, 18 Mar 2021 17:33:25 GMT + - Mon, 24 May 2021 14:36:14 GMT Pragma: - no-cache Strict-Transport-Security: @@ -332,7 +332,7 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Version: - - "35.4125004" + - "35.4593741" X-Frame-Options: - SAMEORIGIN status: 404 Not Found diff --git a/datadog/tests/cassettes/TestAccDatadogDashboardTimeseries_import.freeze b/datadog/tests/cassettes/TestAccDatadogDashboardTimeseries_import.freeze index da4a3bf91..348295041 100644 --- a/datadog/tests/cassettes/TestAccDatadogDashboardTimeseries_import.freeze +++ b/datadog/tests/cassettes/TestAccDatadogDashboardTimeseries_import.freeze @@ -1 +1 @@ -2021-03-18T18:33:19.520881+01:00 \ No newline at end of file +2021-05-24T10:37:36.3172-04:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogDashboardTopList.freeze b/datadog/tests/cassettes/TestAccDatadogDashboardTopList.freeze index 6c427570f..00ee0a43c 100644 --- a/datadog/tests/cassettes/TestAccDatadogDashboardTopList.freeze +++ b/datadog/tests/cassettes/TestAccDatadogDashboardTopList.freeze @@ -1 +1 @@ -2021-04-16T13:25:09.299432-04:00 \ No newline at end of file +2021-05-24T10:37:41.493297-04:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogDashboardTopList.yaml b/datadog/tests/cassettes/TestAccDatadogDashboardTopList.yaml index 918de0c6a..07f29d94f 100644 --- a/datadog/tests/cassettes/TestAccDatadogDashboardTopList.yaml +++ b/datadog/tests/cassettes/TestAccDatadogDashboardTopList.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-TestAccDatadogDashboardTopList-local-1618593909","widgets":[{"definition":{"custom_links":[{"label":"Test Custom Link label","link":"https://app.datadoghq.com/dashboard/lists"}],"requests":[{"conditional_formats":[{"comparator":"\u003e","hide_value":false,"palette":"white_on_red","value":15000}],"q":"top(avg:system.core.user{account:prod} by {service,app}, 10, 'sum', 'desc')"}],"time":{"live_span":"1w"},"title":"Avg of system.core.user over account:prod by service,app","title_align":"right","title_size":"16","type":"toplist"}},{"definition":{"custom_links":[{"label":"Test Custom Link label","link":"https://app.datadoghq.com/dashboard/lists"}],"requests":[{"conditional_formats":[{"comparator":"\u003e","hide_value":false,"palette":"white_on_red","value":15000}],"q":"top(avg:system.core.user{account:prod} by {service,app}, 10, 'sum', 'desc')"}],"time":{"live_span":"1w"},"title":"Avg of system.core.user over account:prod by service,app","title_align":"right","title_size":"16","type":"toplist"}}]} + {"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-TestAccDatadogDashboardTopList-local-1621867061","widgets":[{"definition":{"custom_links":[{"label":"Test Custom Link label","link":"https://app.datadoghq.com/dashboard/lists"},{"is_hidden":true,"link":"https://app.datadoghq.com/dashboard/lists","override_label":"logs"}],"requests":[{"conditional_formats":[{"comparator":"\u003e","hide_value":false,"palette":"white_on_red","value":15000}],"q":"top(avg:system.core.user{account:prod} by {service,app}, 10, 'sum', 'desc')"}],"time":{"live_span":"1w"},"title":"Avg of system.core.user over account:prod by service,app","title_align":"right","title_size":"16","type":"toplist"}},{"definition":{"custom_links":[{"label":"Test Custom Link label","link":"https://app.datadoghq.com/dashboard/lists"}],"requests":[{"conditional_formats":[{"comparator":"\u003e","hide_value":false,"palette":"white_on_red","value":15000}],"q":"top(avg:system.core.user{account:prod} by {service,app}, 10, 'sum', 'desc')"}],"time":{"live_span":"1w"},"title":"Avg of system.core.user over account:prod by service,app","title_align":"right","title_size":"16","type":"toplist"}}]} form: {} headers: Accept: @@ -13,11 +13,11 @@ interactions: Dd-Operation-Id: - CreateDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.19+dev (go go1.15.6; os darwin; arch amd64) + - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) 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":"iki-r6j-i7m","title":"tf-TestAccDatadogDashboardTopList-local-1618593909","url":"/dashboard/iki-r6j-i7m/tf-testaccdatadogdashboardtoplist-local-1618593909","created_at":"2021-04-16T17:25:10.189326+00:00","modified_at":"2021-04-16T17:25:10.189326+00:00","author_handle":"frog@datadoghq.com","widgets":[{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test Custom Link label"}],"title_size":"16","title":"Avg of system.core.user over account:prod by service,app","title_align":"right","time":{"live_span":"1w"},"requests":[{"q":"top(avg:system.core.user{account:prod} by {service,app}, 10, ''sum'', ''desc'')","conditional_formats":[{"palette":"white_on_red","hide_value":false,"value":15000,"comparator":">"}]}],"type":"toplist"},"id":1666692195672788},{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test Custom Link label"}],"title_size":"16","title":"Avg of system.core.user over account:prod by service,app","title_align":"right","time":{"live_span":"1w"},"requests":[{"q":"top(avg:system.core.user{account:prod} by {service,app}, 10, ''sum'', ''desc'')","conditional_formats":[{"palette":"white_on_red","hide_value":false,"value":15000,"comparator":">"}]}],"type":"toplist"},"id":2972998670623026}],"layout_type":"ordered"}' + body: '{"notify_list":[],"description":"Created using the Datadog provider in Terraform","restricted_roles":["043a2842-e140-11e8-bb04-7fd10177666e","08604de8-1dca-11eb-800c-9f5f55ff734d","1302282c-b93b-11eb-a436-da7ad0900002","16169788-28e4-11eb-832c-fb84162ef3eb","17d73994-7531-11eb-94b9-da7ad0900002","284d8b66-93f9-11eb-9c37-da7ad0900002","4de53192-9946-11eb-9cee-da7ad0900002","62cbc476-5c16-11eb-8e98-0388ea7a41f8","657de3a2-29f8-11eb-83b5-6b8ebfb2f184","6bf314be-5c16-11eb-8e98-2356ea436065","7a83f306-96ca-11eb-9c74-da7ad0900002","9b3ab170-b768-11eb-a45a-da7ad0900002","e82bf27a-986c-11eb-9cba-da7ad0900002","f257ba30-dbb2-11ea-a5ff-5fd1d308318a"],"author_name":"Qin Chen","template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"sgu-apz-p35","title":"tf-TestAccDatadogDashboardTopList-local-1621867061","url":"/dashboard/sgu-apz-p35/tf-testaccdatadogdashboardtoplist-local-1621867061","created_at":"2021-05-24T14:37:43.367366+00:00","modified_at":"2021-05-24T14:37:43.367366+00:00","author_handle":"qin.chen@datadoghq.com","widgets":[{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test Custom Link label"},{"override_label":"logs","is_hidden":true,"link":"https://app.datadoghq.com/dashboard/lists"}],"title_size":"16","title":"Avg of system.core.user over account:prod by service,app","title_align":"right","time":{"live_span":"1w"},"requests":[{"q":"top(avg:system.core.user{account:prod} by {service,app}, 10, ''sum'', ''desc'')","conditional_formats":[{"palette":"white_on_red","hide_value":false,"value":15000,"comparator":">"}]}],"type":"toplist"},"id":2610233465084590},{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test Custom Link label"}],"title_size":"16","title":"Avg of system.core.user over account:prod by service,app","title_align":"right","time":{"live_span":"1w"},"requests":[{"q":"top(avg:system.core.user{account:prod} by {service,app}, 10, ''sum'', ''desc'')","conditional_formats":[{"palette":"white_on_red","hide_value":false,"value":15000,"comparator":">"}]}],"type":"toplist"},"id":1901104524129795}],"layout_type":"ordered"}' headers: Cache-Control: - no-cache @@ -28,7 +28,7 @@ interactions: Content-Type: - application/json Date: - - Fri, 16 Apr 2021 17:25:14 GMT + - Mon, 24 May 2021 14:37:43 GMT Pragma: - no-cache Strict-Transport-Security: @@ -38,9 +38,9 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Debug: - - l8RQo2maZqJf6GFThBbKNE6dvthz6njusVtau3dPXJWL2RLFoN81H+BLPB/1xgs1 + - 5gfwVh/5HZ+AnGd/Di93w3NEWC6KMHT9KzmHEiRJmNdOjBtAsbOcgVFyqEChw71h X-Dd-Version: - - "35.4330587" + - "35.4593741" X-Frame-Options: - SAMEORIGIN status: 200 OK @@ -55,11 +55,11 @@ interactions: Dd-Operation-Id: - GetDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.19+dev (go go1.15.6; os darwin; arch amd64) - url: https://api.datadoghq.com/api/v1/dashboard/iki-r6j-i7m + - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) + url: https://api.datadoghq.com/api/v1/dashboard/sgu-apz-p35 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":"iki-r6j-i7m","title":"tf-TestAccDatadogDashboardTopList-local-1618593909","url":"/dashboard/iki-r6j-i7m/tf-testaccdatadogdashboardtoplist-local-1618593909","created_at":"2021-04-16T17:25:10.189326+00:00","modified_at":"2021-04-16T17:25:10.189326+00:00","author_handle":"frog@datadoghq.com","widgets":[{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test Custom Link label"}],"title_size":"16","title":"Avg of system.core.user over account:prod by service,app","title_align":"right","time":{"live_span":"1w"},"requests":[{"q":"top(avg:system.core.user{account:prod} by {service,app}, 10, ''sum'', ''desc'')","conditional_formats":[{"palette":"white_on_red","hide_value":false,"value":15000,"comparator":">"}]}],"type":"toplist"},"id":1666692195672788},{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test Custom Link label"}],"title_size":"16","title":"Avg of system.core.user over account:prod by service,app","title_align":"right","time":{"live_span":"1w"},"requests":[{"q":"top(avg:system.core.user{account:prod} by {service,app}, 10, ''sum'', ''desc'')","conditional_formats":[{"palette":"white_on_red","hide_value":false,"value":15000,"comparator":">"}]}],"type":"toplist"},"id":2972998670623026}],"layout_type":"ordered"}' + body: '{"notify_list":[],"description":"Created using the Datadog provider in Terraform","restricted_roles":["284d8b66-93f9-11eb-9c37-da7ad0900002","043a2842-e140-11e8-bb04-7fd10177666e","657de3a2-29f8-11eb-83b5-6b8ebfb2f184","e82bf27a-986c-11eb-9cba-da7ad0900002","f257ba30-dbb2-11ea-a5ff-5fd1d308318a","6bf314be-5c16-11eb-8e98-2356ea436065","62cbc476-5c16-11eb-8e98-0388ea7a41f8","08604de8-1dca-11eb-800c-9f5f55ff734d","9b3ab170-b768-11eb-a45a-da7ad0900002","7a83f306-96ca-11eb-9c74-da7ad0900002","16169788-28e4-11eb-832c-fb84162ef3eb","4de53192-9946-11eb-9cee-da7ad0900002","1302282c-b93b-11eb-a436-da7ad0900002","17d73994-7531-11eb-94b9-da7ad0900002"],"author_name":"Qin Chen","template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"sgu-apz-p35","title":"tf-TestAccDatadogDashboardTopList-local-1621867061","url":"/dashboard/sgu-apz-p35/tf-testaccdatadogdashboardtoplist-local-1621867061","created_at":"2021-05-24T14:37:43.367366+00:00","modified_at":"2021-05-24T14:37:43.367366+00:00","author_handle":"qin.chen@datadoghq.com","widgets":[{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test Custom Link label"},{"override_label":"logs","is_hidden":true,"link":"https://app.datadoghq.com/dashboard/lists"}],"title_size":"16","title":"Avg of system.core.user over account:prod by service,app","title_align":"right","time":{"live_span":"1w"},"requests":[{"q":"top(avg:system.core.user{account:prod} by {service,app}, 10, ''sum'', ''desc'')","conditional_formats":[{"palette":"white_on_red","hide_value":false,"value":15000,"comparator":">"}]}],"type":"toplist"},"id":2610233465084590},{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test Custom Link label"}],"title_size":"16","title":"Avg of system.core.user over account:prod by service,app","title_align":"right","time":{"live_span":"1w"},"requests":[{"q":"top(avg:system.core.user{account:prod} by {service,app}, 10, ''sum'', ''desc'')","conditional_formats":[{"palette":"white_on_red","hide_value":false,"value":15000,"comparator":">"}]}],"type":"toplist"},"id":1901104524129795}],"layout_type":"ordered"}' headers: Cache-Control: - no-cache @@ -70,7 +70,7 @@ interactions: Content-Type: - application/json Date: - - Fri, 16 Apr 2021 17:25:14 GMT + - Mon, 24 May 2021 14:37:43 GMT Pragma: - no-cache Strict-Transport-Security: @@ -80,9 +80,9 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Debug: - - l8RQo2maZqJf6GFThBbKNE6dvthz6njusVtau3dPXJWL2RLFoN81H+BLPB/1xgs1 + - dPySkcOzIZtKyMKDAAzuysY3gNGGj6RtYogGuSb76E8mPvoqzREyRp6lPYm91hQU X-Dd-Version: - - "35.4330587" + - "35.4593741" X-Frame-Options: - SAMEORIGIN status: 200 OK @@ -97,11 +97,11 @@ interactions: Dd-Operation-Id: - GetDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.19+dev (go go1.15.6; os darwin; arch amd64) - url: https://api.datadoghq.com/api/v1/dashboard/iki-r6j-i7m + - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) + url: https://api.datadoghq.com/api/v1/dashboard/sgu-apz-p35 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":"iki-r6j-i7m","title":"tf-TestAccDatadogDashboardTopList-local-1618593909","url":"/dashboard/iki-r6j-i7m/tf-testaccdatadogdashboardtoplist-local-1618593909","created_at":"2021-04-16T17:25:10.189326+00:00","modified_at":"2021-04-16T17:25:10.189326+00:00","author_handle":"frog@datadoghq.com","widgets":[{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test Custom Link label"}],"title_size":"16","title":"Avg of system.core.user over account:prod by service,app","title_align":"right","time":{"live_span":"1w"},"requests":[{"q":"top(avg:system.core.user{account:prod} by {service,app}, 10, ''sum'', ''desc'')","conditional_formats":[{"palette":"white_on_red","hide_value":false,"value":15000,"comparator":">"}]}],"type":"toplist"},"id":1666692195672788},{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test Custom Link label"}],"title_size":"16","title":"Avg of system.core.user over account:prod by service,app","title_align":"right","time":{"live_span":"1w"},"requests":[{"q":"top(avg:system.core.user{account:prod} by {service,app}, 10, ''sum'', ''desc'')","conditional_formats":[{"palette":"white_on_red","hide_value":false,"value":15000,"comparator":">"}]}],"type":"toplist"},"id":2972998670623026}],"layout_type":"ordered"}' + body: '{"notify_list":[],"description":"Created using the Datadog provider in Terraform","restricted_roles":["284d8b66-93f9-11eb-9c37-da7ad0900002","043a2842-e140-11e8-bb04-7fd10177666e","657de3a2-29f8-11eb-83b5-6b8ebfb2f184","e82bf27a-986c-11eb-9cba-da7ad0900002","f257ba30-dbb2-11ea-a5ff-5fd1d308318a","6bf314be-5c16-11eb-8e98-2356ea436065","62cbc476-5c16-11eb-8e98-0388ea7a41f8","08604de8-1dca-11eb-800c-9f5f55ff734d","9b3ab170-b768-11eb-a45a-da7ad0900002","7a83f306-96ca-11eb-9c74-da7ad0900002","16169788-28e4-11eb-832c-fb84162ef3eb","4de53192-9946-11eb-9cee-da7ad0900002","1302282c-b93b-11eb-a436-da7ad0900002","17d73994-7531-11eb-94b9-da7ad0900002"],"author_name":"Qin Chen","template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"sgu-apz-p35","title":"tf-TestAccDatadogDashboardTopList-local-1621867061","url":"/dashboard/sgu-apz-p35/tf-testaccdatadogdashboardtoplist-local-1621867061","created_at":"2021-05-24T14:37:43.367366+00:00","modified_at":"2021-05-24T14:37:43.367366+00:00","author_handle":"qin.chen@datadoghq.com","widgets":[{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test Custom Link label"},{"override_label":"logs","is_hidden":true,"link":"https://app.datadoghq.com/dashboard/lists"}],"title_size":"16","title":"Avg of system.core.user over account:prod by service,app","title_align":"right","time":{"live_span":"1w"},"requests":[{"q":"top(avg:system.core.user{account:prod} by {service,app}, 10, ''sum'', ''desc'')","conditional_formats":[{"palette":"white_on_red","hide_value":false,"value":15000,"comparator":">"}]}],"type":"toplist"},"id":2610233465084590},{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test Custom Link label"}],"title_size":"16","title":"Avg of system.core.user over account:prod by service,app","title_align":"right","time":{"live_span":"1w"},"requests":[{"q":"top(avg:system.core.user{account:prod} by {service,app}, 10, ''sum'', ''desc'')","conditional_formats":[{"palette":"white_on_red","hide_value":false,"value":15000,"comparator":">"}]}],"type":"toplist"},"id":1901104524129795}],"layout_type":"ordered"}' headers: Cache-Control: - no-cache @@ -112,7 +112,7 @@ interactions: Content-Type: - application/json Date: - - Fri, 16 Apr 2021 17:25:14 GMT + - Mon, 24 May 2021 14:37:43 GMT Pragma: - no-cache Strict-Transport-Security: @@ -122,9 +122,9 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Debug: - - Wjq53IVIwnB4SiR238oOYgHFMq/ZYP0LQ/Dv8C2fFLBwTje/dWJHu6pI6vIOK1zG + - mNzaoDhdDKO7t4QSrAe5X7pHd0bJND187D+vRbwoluXouE2m1UaQQX0RGCvRpLVE X-Dd-Version: - - "35.4330587" + - "35.4593741" X-Frame-Options: - SAMEORIGIN status: 200 OK @@ -139,11 +139,11 @@ interactions: Dd-Operation-Id: - GetDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.19+dev (go go1.15.6; os darwin; arch amd64) - url: https://api.datadoghq.com/api/v1/dashboard/iki-r6j-i7m + - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) + url: https://api.datadoghq.com/api/v1/dashboard/sgu-apz-p35 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":"iki-r6j-i7m","title":"tf-TestAccDatadogDashboardTopList-local-1618593909","url":"/dashboard/iki-r6j-i7m/tf-testaccdatadogdashboardtoplist-local-1618593909","created_at":"2021-04-16T17:25:10.189326+00:00","modified_at":"2021-04-16T17:25:10.189326+00:00","author_handle":"frog@datadoghq.com","widgets":[{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test Custom Link label"}],"title_size":"16","title":"Avg of system.core.user over account:prod by service,app","title_align":"right","time":{"live_span":"1w"},"requests":[{"q":"top(avg:system.core.user{account:prod} by {service,app}, 10, ''sum'', ''desc'')","conditional_formats":[{"palette":"white_on_red","hide_value":false,"value":15000,"comparator":">"}]}],"type":"toplist"},"id":1666692195672788},{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test Custom Link label"}],"title_size":"16","title":"Avg of system.core.user over account:prod by service,app","title_align":"right","time":{"live_span":"1w"},"requests":[{"q":"top(avg:system.core.user{account:prod} by {service,app}, 10, ''sum'', ''desc'')","conditional_formats":[{"palette":"white_on_red","hide_value":false,"value":15000,"comparator":">"}]}],"type":"toplist"},"id":2972998670623026}],"layout_type":"ordered"}' + body: '{"notify_list":[],"description":"Created using the Datadog provider in Terraform","restricted_roles":["284d8b66-93f9-11eb-9c37-da7ad0900002","043a2842-e140-11e8-bb04-7fd10177666e","657de3a2-29f8-11eb-83b5-6b8ebfb2f184","e82bf27a-986c-11eb-9cba-da7ad0900002","f257ba30-dbb2-11ea-a5ff-5fd1d308318a","6bf314be-5c16-11eb-8e98-2356ea436065","62cbc476-5c16-11eb-8e98-0388ea7a41f8","08604de8-1dca-11eb-800c-9f5f55ff734d","9b3ab170-b768-11eb-a45a-da7ad0900002","7a83f306-96ca-11eb-9c74-da7ad0900002","16169788-28e4-11eb-832c-fb84162ef3eb","4de53192-9946-11eb-9cee-da7ad0900002","1302282c-b93b-11eb-a436-da7ad0900002","17d73994-7531-11eb-94b9-da7ad0900002"],"author_name":"Qin Chen","template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"sgu-apz-p35","title":"tf-TestAccDatadogDashboardTopList-local-1621867061","url":"/dashboard/sgu-apz-p35/tf-testaccdatadogdashboardtoplist-local-1621867061","created_at":"2021-05-24T14:37:43.367366+00:00","modified_at":"2021-05-24T14:37:43.367366+00:00","author_handle":"qin.chen@datadoghq.com","widgets":[{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test Custom Link label"},{"override_label":"logs","is_hidden":true,"link":"https://app.datadoghq.com/dashboard/lists"}],"title_size":"16","title":"Avg of system.core.user over account:prod by service,app","title_align":"right","time":{"live_span":"1w"},"requests":[{"q":"top(avg:system.core.user{account:prod} by {service,app}, 10, ''sum'', ''desc'')","conditional_formats":[{"palette":"white_on_red","hide_value":false,"value":15000,"comparator":">"}]}],"type":"toplist"},"id":2610233465084590},{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test Custom Link label"}],"title_size":"16","title":"Avg of system.core.user over account:prod by service,app","title_align":"right","time":{"live_span":"1w"},"requests":[{"q":"top(avg:system.core.user{account:prod} by {service,app}, 10, ''sum'', ''desc'')","conditional_formats":[{"palette":"white_on_red","hide_value":false,"value":15000,"comparator":">"}]}],"type":"toplist"},"id":1901104524129795}],"layout_type":"ordered"}' headers: Cache-Control: - no-cache @@ -154,7 +154,7 @@ interactions: Content-Type: - application/json Date: - - Fri, 16 Apr 2021 17:25:14 GMT + - Mon, 24 May 2021 14:37:44 GMT Pragma: - no-cache Strict-Transport-Security: @@ -164,9 +164,9 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Debug: - - L3ULR3HwCWYmEqCWGz2Yob3chcH4pjowBacBXkncP7o+/uPqKt9yGEYf/g1AJPzQ + - Um4CoU685QqAscnxhS5BD+goWu2yX1Jd4zCfGzSsEvPPIm1qURZaF8dlLl/OEY4I X-Dd-Version: - - "35.4330587" + - "35.4593741" X-Frame-Options: - SAMEORIGIN status: 200 OK @@ -181,11 +181,11 @@ interactions: Dd-Operation-Id: - GetDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.19+dev (go go1.15.6; os darwin; arch amd64) - url: https://api.datadoghq.com/api/v1/dashboard/iki-r6j-i7m + - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) + url: https://api.datadoghq.com/api/v1/dashboard/sgu-apz-p35 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":"iki-r6j-i7m","title":"tf-TestAccDatadogDashboardTopList-local-1618593909","url":"/dashboard/iki-r6j-i7m/tf-testaccdatadogdashboardtoplist-local-1618593909","created_at":"2021-04-16T17:25:10.189326+00:00","modified_at":"2021-04-16T17:25:10.189326+00:00","author_handle":"frog@datadoghq.com","widgets":[{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test Custom Link label"}],"title_size":"16","title":"Avg of system.core.user over account:prod by service,app","title_align":"right","time":{"live_span":"1w"},"requests":[{"q":"top(avg:system.core.user{account:prod} by {service,app}, 10, ''sum'', ''desc'')","conditional_formats":[{"palette":"white_on_red","hide_value":false,"value":15000,"comparator":">"}]}],"type":"toplist"},"id":1666692195672788},{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test Custom Link label"}],"title_size":"16","title":"Avg of system.core.user over account:prod by service,app","title_align":"right","time":{"live_span":"1w"},"requests":[{"q":"top(avg:system.core.user{account:prod} by {service,app}, 10, ''sum'', ''desc'')","conditional_formats":[{"palette":"white_on_red","hide_value":false,"value":15000,"comparator":">"}]}],"type":"toplist"},"id":2972998670623026}],"layout_type":"ordered"}' + body: '{"notify_list":[],"description":"Created using the Datadog provider in Terraform","restricted_roles":["284d8b66-93f9-11eb-9c37-da7ad0900002","043a2842-e140-11e8-bb04-7fd10177666e","657de3a2-29f8-11eb-83b5-6b8ebfb2f184","e82bf27a-986c-11eb-9cba-da7ad0900002","f257ba30-dbb2-11ea-a5ff-5fd1d308318a","6bf314be-5c16-11eb-8e98-2356ea436065","62cbc476-5c16-11eb-8e98-0388ea7a41f8","08604de8-1dca-11eb-800c-9f5f55ff734d","9b3ab170-b768-11eb-a45a-da7ad0900002","7a83f306-96ca-11eb-9c74-da7ad0900002","16169788-28e4-11eb-832c-fb84162ef3eb","4de53192-9946-11eb-9cee-da7ad0900002","1302282c-b93b-11eb-a436-da7ad0900002","17d73994-7531-11eb-94b9-da7ad0900002"],"author_name":"Qin Chen","template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"sgu-apz-p35","title":"tf-TestAccDatadogDashboardTopList-local-1621867061","url":"/dashboard/sgu-apz-p35/tf-testaccdatadogdashboardtoplist-local-1621867061","created_at":"2021-05-24T14:37:43.367366+00:00","modified_at":"2021-05-24T14:37:43.367366+00:00","author_handle":"qin.chen@datadoghq.com","widgets":[{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test Custom Link label"},{"override_label":"logs","is_hidden":true,"link":"https://app.datadoghq.com/dashboard/lists"}],"title_size":"16","title":"Avg of system.core.user over account:prod by service,app","title_align":"right","time":{"live_span":"1w"},"requests":[{"q":"top(avg:system.core.user{account:prod} by {service,app}, 10, ''sum'', ''desc'')","conditional_formats":[{"palette":"white_on_red","hide_value":false,"value":15000,"comparator":">"}]}],"type":"toplist"},"id":2610233465084590},{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test Custom Link label"}],"title_size":"16","title":"Avg of system.core.user over account:prod by service,app","title_align":"right","time":{"live_span":"1w"},"requests":[{"q":"top(avg:system.core.user{account:prod} by {service,app}, 10, ''sum'', ''desc'')","conditional_formats":[{"palette":"white_on_red","hide_value":false,"value":15000,"comparator":">"}]}],"type":"toplist"},"id":1901104524129795}],"layout_type":"ordered"}' headers: Cache-Control: - no-cache @@ -196,7 +196,7 @@ interactions: Content-Type: - application/json Date: - - Fri, 16 Apr 2021 17:25:15 GMT + - Mon, 24 May 2021 14:37:45 GMT Pragma: - no-cache Strict-Transport-Security: @@ -206,9 +206,9 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Debug: - - vdJ3/nHEY1ioXQ6pQrBVvsQK1s4yyc+wufBMPSoXql71qZVuP/xMdtNo6DafhOAk + - dPySkcOzIZtKyMKDAAzuysY3gNGGj6RtYogGuSb76E8mPvoqzREyRp6lPYm91hQU X-Dd-Version: - - "35.4330587" + - "35.4593741" X-Frame-Options: - SAMEORIGIN status: 200 OK @@ -223,11 +223,11 @@ interactions: Dd-Operation-Id: - DeleteDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.19+dev (go go1.15.6; os darwin; arch amd64) - url: https://api.datadoghq.com/api/v1/dashboard/iki-r6j-i7m + - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) + url: https://api.datadoghq.com/api/v1/dashboard/sgu-apz-p35 method: DELETE response: - body: '{"deleted_dashboard_id":"iki-r6j-i7m"}' + body: '{"deleted_dashboard_id":"sgu-apz-p35"}' headers: Cache-Control: - no-cache @@ -238,7 +238,7 @@ interactions: Content-Type: - application/json Date: - - Fri, 16 Apr 2021 17:25:15 GMT + - Mon, 24 May 2021 14:37:46 GMT Pragma: - no-cache Strict-Transport-Security: @@ -248,9 +248,9 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Debug: - - fIO2C4qGDheGHy4YbS+r3a3CXbh4cbRo7roILOimQyiHGjQdOat0cIpWCkupM1uX + - 2328yjLSqI4XmR1pVqrPRR/SFcQsbafjEpPmZx7/3PfxUK1nJQQsX+wrMelyVyj+ X-Dd-Version: - - "35.4330587" + - "35.4593741" X-Frame-Options: - SAMEORIGIN status: 200 OK @@ -265,11 +265,11 @@ interactions: Dd-Operation-Id: - GetDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.19+dev (go go1.15.6; os darwin; arch amd64) - url: https://api.datadoghq.com/api/v1/dashboard/iki-r6j-i7m + - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) + url: https://api.datadoghq.com/api/v1/dashboard/sgu-apz-p35 method: GET response: - body: '{"errors": ["Dashboard with ID iki-r6j-i7m not found"]}' + body: '{"errors": ["Dashboard with ID sgu-apz-p35 not found"]}' headers: Cache-Control: - no-cache @@ -280,7 +280,7 @@ interactions: Content-Type: - application/json Date: - - Fri, 16 Apr 2021 17:25:15 GMT + - Mon, 24 May 2021 14:37:46 GMT Pragma: - no-cache Strict-Transport-Security: @@ -290,7 +290,7 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Version: - - "35.4330587" + - "35.4593741" X-Frame-Options: - SAMEORIGIN status: 404 Not Found diff --git a/datadog/tests/cassettes/TestAccDatadogDashboardTopListFormula.freeze b/datadog/tests/cassettes/TestAccDatadogDashboardTopListFormula.freeze index 23137d6c7..22807c0ac 100644 --- a/datadog/tests/cassettes/TestAccDatadogDashboardTopListFormula.freeze +++ b/datadog/tests/cassettes/TestAccDatadogDashboardTopListFormula.freeze @@ -1 +1 @@ -2021-04-16T13:25:09.298892-04:00 \ No newline at end of file +2021-05-24T10:37:41.489737-04:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogDashboardTopListFormula.yaml b/datadog/tests/cassettes/TestAccDatadogDashboardTopListFormula.yaml index 3afb358c0..aa9983618 100644 --- a/datadog/tests/cassettes/TestAccDatadogDashboardTopListFormula.yaml +++ b/datadog/tests/cassettes/TestAccDatadogDashboardTopListFormula.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-TestAccDatadogDashboardTopListFormula-local-1618593909","widgets":[{"definition":{"requests":[{"formulas":[{"formula":"query1 + query2","limit":{"count":10,"order":"asc"}}],"queries":[{"aggregator":"sum","data_source":"metrics","name":"query1","query":"avg:system.cpu.system{*} by {datacenter}"},{"aggregator":"sum","data_source":"metrics","name":"query2","query":"avg:system.load.1{*} by {datacenter}"}],"response_format":"scalar"}],"type":"toplist"}},{"definition":{"requests":[{"formulas":[{"formula":"query1","limit":{"count":25,"order":"desc"}}],"queries":[{"compute":{"aggregation":"count"},"data_source":"rum","indexes":["*"],"name":"query1","search":{"query":"abc"}}],"response_format":"scalar"}],"type":"toplist"}}]} + {"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-TestAccDatadogDashboardTopListFormula-local-1621867061","widgets":[{"definition":{"requests":[{"formulas":[{"formula":"query1 + query2","limit":{"count":10,"order":"asc"}}],"queries":[{"aggregator":"sum","data_source":"metrics","name":"query1","query":"avg:system.cpu.system{*} by {datacenter}"},{"aggregator":"sum","data_source":"metrics","name":"query2","query":"avg:system.load.1{*} by {datacenter}"}],"response_format":"scalar"}],"type":"toplist"}},{"definition":{"requests":[{"formulas":[{"formula":"query1","limit":{"count":25,"order":"desc"}}],"queries":[{"compute":{"aggregation":"count"},"data_source":"rum","indexes":["*"],"name":"query1","search":{"query":"abc"}}],"response_format":"scalar"}],"type":"toplist"}}]} form: {} headers: Accept: @@ -13,11 +13,11 @@ interactions: Dd-Operation-Id: - CreateDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.19+dev (go go1.15.6; os darwin; arch amd64) + - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) 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":"n2x-25q-def","title":"tf-TestAccDatadogDashboardTopListFormula-local-1618593909","url":"/dashboard/n2x-25q-def/tf-testaccdatadogdashboardtoplistformula-local-1618593909","created_at":"2021-04-16T17:25:10.178675+00:00","modified_at":"2021-04-16T17:25:10.178675+00:00","author_handle":"frog@datadoghq.com","widgets":[{"definition":{"requests":[{"formulas":[{"formula":"query1 + query2","limit":{"count":10,"order":"asc"}}],"response_format":"scalar","queries":[{"aggregator":"sum","data_source":"metrics","name":"query1","query":"avg:system.cpu.system{*} by {datacenter}"},{"aggregator":"sum","data_source":"metrics","name":"query2","query":"avg:system.load.1{*} by {datacenter}"}]}],"type":"toplist"},"id":7631037175834849},{"definition":{"requests":[{"formulas":[{"formula":"query1","limit":{"count":25,"order":"desc"}}],"response_format":"scalar","queries":[{"search":{"query":"abc"},"data_source":"rum","compute":{"aggregation":"count"},"name":"query1","indexes":["*"]}]}],"type":"toplist"},"id":6558674061820933}],"layout_type":"ordered"}' + body: '{"notify_list":[],"description":"Created using the Datadog provider in Terraform","restricted_roles":["043a2842-e140-11e8-bb04-7fd10177666e","08604de8-1dca-11eb-800c-9f5f55ff734d","1302282c-b93b-11eb-a436-da7ad0900002","16169788-28e4-11eb-832c-fb84162ef3eb","17d73994-7531-11eb-94b9-da7ad0900002","284d8b66-93f9-11eb-9c37-da7ad0900002","4de53192-9946-11eb-9cee-da7ad0900002","62cbc476-5c16-11eb-8e98-0388ea7a41f8","657de3a2-29f8-11eb-83b5-6b8ebfb2f184","6bf314be-5c16-11eb-8e98-2356ea436065","7a83f306-96ca-11eb-9c74-da7ad0900002","9b3ab170-b768-11eb-a45a-da7ad0900002","e82bf27a-986c-11eb-9cba-da7ad0900002","f257ba30-dbb2-11ea-a5ff-5fd1d308318a"],"author_name":"Qin Chen","template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"8t3-jnp-3af","title":"tf-TestAccDatadogDashboardTopListFormula-local-1621867061","url":"/dashboard/8t3-jnp-3af/tf-testaccdatadogdashboardtoplistformula-local-1621867061","created_at":"2021-05-24T14:37:43.380179+00:00","modified_at":"2021-05-24T14:37:43.380179+00:00","author_handle":"qin.chen@datadoghq.com","widgets":[{"definition":{"requests":[{"formulas":[{"formula":"query1 + query2","limit":{"count":10,"order":"asc"}}],"response_format":"scalar","queries":[{"aggregator":"sum","data_source":"metrics","name":"query1","query":"avg:system.cpu.system{*} by {datacenter}"},{"aggregator":"sum","data_source":"metrics","name":"query2","query":"avg:system.load.1{*} by {datacenter}"}]}],"type":"toplist"},"id":8142373583202108},{"definition":{"requests":[{"formulas":[{"formula":"query1","limit":{"count":25,"order":"desc"}}],"response_format":"scalar","queries":[{"search":{"query":"abc"},"data_source":"rum","compute":{"aggregation":"count"},"name":"query1","indexes":["*"]}]}],"type":"toplist"},"id":3715338987470913}],"layout_type":"ordered"}' headers: Cache-Control: - no-cache @@ -28,7 +28,7 @@ interactions: Content-Type: - application/json Date: - - Fri, 16 Apr 2021 17:25:14 GMT + - Mon, 24 May 2021 14:37:43 GMT Pragma: - no-cache Strict-Transport-Security: @@ -38,9 +38,9 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Debug: - - Wjq53IVIwnB4SiR238oOYgHFMq/ZYP0LQ/Dv8C2fFLBwTje/dWJHu6pI6vIOK1zG + - l4HFlaRP3QwYSqoGKhzbYfv7zgkK63HIRR7YkyVYZspq0lGjjTBwoK8V/alf+XYt X-Dd-Version: - - "35.4330587" + - "35.4593741" X-Frame-Options: - SAMEORIGIN status: 200 OK @@ -55,11 +55,11 @@ interactions: Dd-Operation-Id: - GetDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.19+dev (go go1.15.6; os darwin; arch amd64) - url: https://api.datadoghq.com/api/v1/dashboard/n2x-25q-def + - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) + url: https://api.datadoghq.com/api/v1/dashboard/8t3-jnp-3af 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":"n2x-25q-def","title":"tf-TestAccDatadogDashboardTopListFormula-local-1618593909","url":"/dashboard/n2x-25q-def/tf-testaccdatadogdashboardtoplistformula-local-1618593909","created_at":"2021-04-16T17:25:10.178675+00:00","modified_at":"2021-04-16T17:25:10.178675+00:00","author_handle":"frog@datadoghq.com","widgets":[{"definition":{"requests":[{"formulas":[{"formula":"query1 + query2","limit":{"count":10,"order":"asc"}}],"response_format":"scalar","queries":[{"aggregator":"sum","data_source":"metrics","name":"query1","query":"avg:system.cpu.system{*} by {datacenter}"},{"aggregator":"sum","data_source":"metrics","name":"query2","query":"avg:system.load.1{*} by {datacenter}"}]}],"type":"toplist"},"id":7631037175834849},{"definition":{"requests":[{"formulas":[{"formula":"query1","limit":{"count":25,"order":"desc"}}],"response_format":"scalar","queries":[{"search":{"query":"abc"},"data_source":"rum","compute":{"aggregation":"count"},"name":"query1","indexes":["*"]}]}],"type":"toplist"},"id":6558674061820933}],"layout_type":"ordered"}' + body: '{"notify_list":[],"description":"Created using the Datadog provider in Terraform","restricted_roles":["284d8b66-93f9-11eb-9c37-da7ad0900002","043a2842-e140-11e8-bb04-7fd10177666e","657de3a2-29f8-11eb-83b5-6b8ebfb2f184","e82bf27a-986c-11eb-9cba-da7ad0900002","f257ba30-dbb2-11ea-a5ff-5fd1d308318a","6bf314be-5c16-11eb-8e98-2356ea436065","62cbc476-5c16-11eb-8e98-0388ea7a41f8","08604de8-1dca-11eb-800c-9f5f55ff734d","9b3ab170-b768-11eb-a45a-da7ad0900002","7a83f306-96ca-11eb-9c74-da7ad0900002","16169788-28e4-11eb-832c-fb84162ef3eb","4de53192-9946-11eb-9cee-da7ad0900002","1302282c-b93b-11eb-a436-da7ad0900002","17d73994-7531-11eb-94b9-da7ad0900002"],"author_name":"Qin Chen","template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"8t3-jnp-3af","title":"tf-TestAccDatadogDashboardTopListFormula-local-1621867061","url":"/dashboard/8t3-jnp-3af/tf-testaccdatadogdashboardtoplistformula-local-1621867061","created_at":"2021-05-24T14:37:43.380179+00:00","modified_at":"2021-05-24T14:37:43.380179+00:00","author_handle":"qin.chen@datadoghq.com","widgets":[{"definition":{"requests":[{"formulas":[{"formula":"query1 + query2","limit":{"count":10,"order":"asc"}}],"response_format":"scalar","queries":[{"aggregator":"sum","data_source":"metrics","name":"query1","query":"avg:system.cpu.system{*} by {datacenter}"},{"aggregator":"sum","data_source":"metrics","name":"query2","query":"avg:system.load.1{*} by {datacenter}"}]}],"type":"toplist"},"id":8142373583202108},{"definition":{"requests":[{"formulas":[{"formula":"query1","limit":{"count":25,"order":"desc"}}],"response_format":"scalar","queries":[{"search":{"query":"abc"},"data_source":"rum","compute":{"aggregation":"count"},"name":"query1","indexes":["*"]}]}],"type":"toplist"},"id":3715338987470913}],"layout_type":"ordered"}' headers: Cache-Control: - no-cache @@ -70,7 +70,7 @@ interactions: Content-Type: - application/json Date: - - Fri, 16 Apr 2021 17:25:14 GMT + - Mon, 24 May 2021 14:37:43 GMT Pragma: - no-cache Strict-Transport-Security: @@ -80,9 +80,9 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Debug: - - 25u1gDlL724DHllbjFT4BhOLorBTilh+aah2uWAUEjFC/+rjczJdiyWrV/HwLwe/ + - fIO2C4qGDheGHy4YbS+r3a3CXbh4cbRo7roILOimQyiHGjQdOat0cIpWCkupM1uX X-Dd-Version: - - "35.4330587" + - "35.4593741" X-Frame-Options: - SAMEORIGIN status: 200 OK @@ -97,11 +97,11 @@ interactions: Dd-Operation-Id: - GetDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.19+dev (go go1.15.6; os darwin; arch amd64) - url: https://api.datadoghq.com/api/v1/dashboard/n2x-25q-def + - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) + url: https://api.datadoghq.com/api/v1/dashboard/8t3-jnp-3af 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":"n2x-25q-def","title":"tf-TestAccDatadogDashboardTopListFormula-local-1618593909","url":"/dashboard/n2x-25q-def/tf-testaccdatadogdashboardtoplistformula-local-1618593909","created_at":"2021-04-16T17:25:10.178675+00:00","modified_at":"2021-04-16T17:25:10.178675+00:00","author_handle":"frog@datadoghq.com","widgets":[{"definition":{"requests":[{"formulas":[{"formula":"query1 + query2","limit":{"count":10,"order":"asc"}}],"response_format":"scalar","queries":[{"aggregator":"sum","data_source":"metrics","name":"query1","query":"avg:system.cpu.system{*} by {datacenter}"},{"aggregator":"sum","data_source":"metrics","name":"query2","query":"avg:system.load.1{*} by {datacenter}"}]}],"type":"toplist"},"id":7631037175834849},{"definition":{"requests":[{"formulas":[{"formula":"query1","limit":{"count":25,"order":"desc"}}],"response_format":"scalar","queries":[{"search":{"query":"abc"},"data_source":"rum","compute":{"aggregation":"count"},"name":"query1","indexes":["*"]}]}],"type":"toplist"},"id":6558674061820933}],"layout_type":"ordered"}' + body: '{"notify_list":[],"description":"Created using the Datadog provider in Terraform","restricted_roles":["284d8b66-93f9-11eb-9c37-da7ad0900002","043a2842-e140-11e8-bb04-7fd10177666e","657de3a2-29f8-11eb-83b5-6b8ebfb2f184","e82bf27a-986c-11eb-9cba-da7ad0900002","f257ba30-dbb2-11ea-a5ff-5fd1d308318a","6bf314be-5c16-11eb-8e98-2356ea436065","62cbc476-5c16-11eb-8e98-0388ea7a41f8","08604de8-1dca-11eb-800c-9f5f55ff734d","9b3ab170-b768-11eb-a45a-da7ad0900002","7a83f306-96ca-11eb-9c74-da7ad0900002","16169788-28e4-11eb-832c-fb84162ef3eb","4de53192-9946-11eb-9cee-da7ad0900002","1302282c-b93b-11eb-a436-da7ad0900002","17d73994-7531-11eb-94b9-da7ad0900002"],"author_name":"Qin Chen","template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"8t3-jnp-3af","title":"tf-TestAccDatadogDashboardTopListFormula-local-1621867061","url":"/dashboard/8t3-jnp-3af/tf-testaccdatadogdashboardtoplistformula-local-1621867061","created_at":"2021-05-24T14:37:43.380179+00:00","modified_at":"2021-05-24T14:37:43.380179+00:00","author_handle":"qin.chen@datadoghq.com","widgets":[{"definition":{"requests":[{"formulas":[{"formula":"query1 + query2","limit":{"count":10,"order":"asc"}}],"response_format":"scalar","queries":[{"aggregator":"sum","data_source":"metrics","name":"query1","query":"avg:system.cpu.system{*} by {datacenter}"},{"aggregator":"sum","data_source":"metrics","name":"query2","query":"avg:system.load.1{*} by {datacenter}"}]}],"type":"toplist"},"id":8142373583202108},{"definition":{"requests":[{"formulas":[{"formula":"query1","limit":{"count":25,"order":"desc"}}],"response_format":"scalar","queries":[{"search":{"query":"abc"},"data_source":"rum","compute":{"aggregation":"count"},"name":"query1","indexes":["*"]}]}],"type":"toplist"},"id":3715338987470913}],"layout_type":"ordered"}' headers: Cache-Control: - no-cache @@ -112,7 +112,7 @@ interactions: Content-Type: - application/json Date: - - Fri, 16 Apr 2021 17:25:14 GMT + - Mon, 24 May 2021 14:37:43 GMT Pragma: - no-cache Strict-Transport-Security: @@ -122,9 +122,9 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Debug: - - twvpGlmuom5y6A0pjGtXzTf554cmwJgTcCZ71fK4H/RDi+v5ehBK0zQiRcTJQG5C + - Um4CoU685QqAscnxhS5BD+goWu2yX1Jd4zCfGzSsEvPPIm1qURZaF8dlLl/OEY4I X-Dd-Version: - - "35.4330587" + - "35.4593741" X-Frame-Options: - SAMEORIGIN status: 200 OK @@ -139,11 +139,11 @@ interactions: Dd-Operation-Id: - GetDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.19+dev (go go1.15.6; os darwin; arch amd64) - url: https://api.datadoghq.com/api/v1/dashboard/n2x-25q-def + - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) + url: https://api.datadoghq.com/api/v1/dashboard/8t3-jnp-3af 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":"n2x-25q-def","title":"tf-TestAccDatadogDashboardTopListFormula-local-1618593909","url":"/dashboard/n2x-25q-def/tf-testaccdatadogdashboardtoplistformula-local-1618593909","created_at":"2021-04-16T17:25:10.178675+00:00","modified_at":"2021-04-16T17:25:10.178675+00:00","author_handle":"frog@datadoghq.com","widgets":[{"definition":{"requests":[{"formulas":[{"formula":"query1 + query2","limit":{"count":10,"order":"asc"}}],"response_format":"scalar","queries":[{"aggregator":"sum","data_source":"metrics","name":"query1","query":"avg:system.cpu.system{*} by {datacenter}"},{"aggregator":"sum","data_source":"metrics","name":"query2","query":"avg:system.load.1{*} by {datacenter}"}]}],"type":"toplist"},"id":7631037175834849},{"definition":{"requests":[{"formulas":[{"formula":"query1","limit":{"count":25,"order":"desc"}}],"response_format":"scalar","queries":[{"search":{"query":"abc"},"data_source":"rum","compute":{"aggregation":"count"},"name":"query1","indexes":["*"]}]}],"type":"toplist"},"id":6558674061820933}],"layout_type":"ordered"}' + body: '{"notify_list":[],"description":"Created using the Datadog provider in Terraform","restricted_roles":["284d8b66-93f9-11eb-9c37-da7ad0900002","043a2842-e140-11e8-bb04-7fd10177666e","657de3a2-29f8-11eb-83b5-6b8ebfb2f184","e82bf27a-986c-11eb-9cba-da7ad0900002","f257ba30-dbb2-11ea-a5ff-5fd1d308318a","6bf314be-5c16-11eb-8e98-2356ea436065","62cbc476-5c16-11eb-8e98-0388ea7a41f8","08604de8-1dca-11eb-800c-9f5f55ff734d","9b3ab170-b768-11eb-a45a-da7ad0900002","7a83f306-96ca-11eb-9c74-da7ad0900002","16169788-28e4-11eb-832c-fb84162ef3eb","4de53192-9946-11eb-9cee-da7ad0900002","1302282c-b93b-11eb-a436-da7ad0900002","17d73994-7531-11eb-94b9-da7ad0900002"],"author_name":"Qin Chen","template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"8t3-jnp-3af","title":"tf-TestAccDatadogDashboardTopListFormula-local-1621867061","url":"/dashboard/8t3-jnp-3af/tf-testaccdatadogdashboardtoplistformula-local-1621867061","created_at":"2021-05-24T14:37:43.380179+00:00","modified_at":"2021-05-24T14:37:43.380179+00:00","author_handle":"qin.chen@datadoghq.com","widgets":[{"definition":{"requests":[{"formulas":[{"formula":"query1 + query2","limit":{"count":10,"order":"asc"}}],"response_format":"scalar","queries":[{"aggregator":"sum","data_source":"metrics","name":"query1","query":"avg:system.cpu.system{*} by {datacenter}"},{"aggregator":"sum","data_source":"metrics","name":"query2","query":"avg:system.load.1{*} by {datacenter}"}]}],"type":"toplist"},"id":8142373583202108},{"definition":{"requests":[{"formulas":[{"formula":"query1","limit":{"count":25,"order":"desc"}}],"response_format":"scalar","queries":[{"search":{"query":"abc"},"data_source":"rum","compute":{"aggregation":"count"},"name":"query1","indexes":["*"]}]}],"type":"toplist"},"id":3715338987470913}],"layout_type":"ordered"}' headers: Cache-Control: - no-cache @@ -154,7 +154,7 @@ interactions: Content-Type: - application/json Date: - - Fri, 16 Apr 2021 17:25:14 GMT + - Mon, 24 May 2021 14:37:44 GMT Pragma: - no-cache Strict-Transport-Security: @@ -164,9 +164,9 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Debug: - - B1nwy/pPNqX+q4pQT22cdp1QCexE35IF8qwSHy0Nf7IW0Y881qtn4tXN1lpmzaKc + - SY1h8ScsWq+kYmtbh63ltMLFAZsQjqfrgvdfAoRX+9TzT1sgMBRYaFRwfWWRRe9a X-Dd-Version: - - "35.4330587" + - "35.4593741" X-Frame-Options: - SAMEORIGIN status: 200 OK @@ -181,11 +181,11 @@ interactions: Dd-Operation-Id: - GetDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.19+dev (go go1.15.6; os darwin; arch amd64) - url: https://api.datadoghq.com/api/v1/dashboard/n2x-25q-def + - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) + url: https://api.datadoghq.com/api/v1/dashboard/8t3-jnp-3af 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":"n2x-25q-def","title":"tf-TestAccDatadogDashboardTopListFormula-local-1618593909","url":"/dashboard/n2x-25q-def/tf-testaccdatadogdashboardtoplistformula-local-1618593909","created_at":"2021-04-16T17:25:10.178675+00:00","modified_at":"2021-04-16T17:25:10.178675+00:00","author_handle":"frog@datadoghq.com","widgets":[{"definition":{"requests":[{"formulas":[{"formula":"query1 + query2","limit":{"count":10,"order":"asc"}}],"response_format":"scalar","queries":[{"aggregator":"sum","data_source":"metrics","name":"query1","query":"avg:system.cpu.system{*} by {datacenter}"},{"aggregator":"sum","data_source":"metrics","name":"query2","query":"avg:system.load.1{*} by {datacenter}"}]}],"type":"toplist"},"id":7631037175834849},{"definition":{"requests":[{"formulas":[{"formula":"query1","limit":{"count":25,"order":"desc"}}],"response_format":"scalar","queries":[{"search":{"query":"abc"},"data_source":"rum","compute":{"aggregation":"count"},"name":"query1","indexes":["*"]}]}],"type":"toplist"},"id":6558674061820933}],"layout_type":"ordered"}' + body: '{"notify_list":[],"description":"Created using the Datadog provider in Terraform","restricted_roles":["284d8b66-93f9-11eb-9c37-da7ad0900002","043a2842-e140-11e8-bb04-7fd10177666e","657de3a2-29f8-11eb-83b5-6b8ebfb2f184","e82bf27a-986c-11eb-9cba-da7ad0900002","f257ba30-dbb2-11ea-a5ff-5fd1d308318a","6bf314be-5c16-11eb-8e98-2356ea436065","62cbc476-5c16-11eb-8e98-0388ea7a41f8","08604de8-1dca-11eb-800c-9f5f55ff734d","9b3ab170-b768-11eb-a45a-da7ad0900002","7a83f306-96ca-11eb-9c74-da7ad0900002","16169788-28e4-11eb-832c-fb84162ef3eb","4de53192-9946-11eb-9cee-da7ad0900002","1302282c-b93b-11eb-a436-da7ad0900002","17d73994-7531-11eb-94b9-da7ad0900002"],"author_name":"Qin Chen","template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"8t3-jnp-3af","title":"tf-TestAccDatadogDashboardTopListFormula-local-1621867061","url":"/dashboard/8t3-jnp-3af/tf-testaccdatadogdashboardtoplistformula-local-1621867061","created_at":"2021-05-24T14:37:43.380179+00:00","modified_at":"2021-05-24T14:37:43.380179+00:00","author_handle":"qin.chen@datadoghq.com","widgets":[{"definition":{"requests":[{"formulas":[{"formula":"query1 + query2","limit":{"count":10,"order":"asc"}}],"response_format":"scalar","queries":[{"aggregator":"sum","data_source":"metrics","name":"query1","query":"avg:system.cpu.system{*} by {datacenter}"},{"aggregator":"sum","data_source":"metrics","name":"query2","query":"avg:system.load.1{*} by {datacenter}"}]}],"type":"toplist"},"id":8142373583202108},{"definition":{"requests":[{"formulas":[{"formula":"query1","limit":{"count":25,"order":"desc"}}],"response_format":"scalar","queries":[{"search":{"query":"abc"},"data_source":"rum","compute":{"aggregation":"count"},"name":"query1","indexes":["*"]}]}],"type":"toplist"},"id":3715338987470913}],"layout_type":"ordered"}' headers: Cache-Control: - no-cache @@ -196,7 +196,7 @@ interactions: Content-Type: - application/json Date: - - Fri, 16 Apr 2021 17:25:15 GMT + - Mon, 24 May 2021 14:37:45 GMT Pragma: - no-cache Strict-Transport-Security: @@ -206,9 +206,9 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Debug: - - twvpGlmuom5y6A0pjGtXzTf554cmwJgTcCZ71fK4H/RDi+v5ehBK0zQiRcTJQG5C + - HbtaOKlJ6OCrx9tMXO6ivMTrEM+g0c93HDp08trmOmgdHozC5J+vn10F0H4WPjCU X-Dd-Version: - - "35.4330587" + - "35.4593741" X-Frame-Options: - SAMEORIGIN status: 200 OK @@ -223,11 +223,11 @@ interactions: Dd-Operation-Id: - DeleteDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.19+dev (go go1.15.6; os darwin; arch amd64) - url: https://api.datadoghq.com/api/v1/dashboard/n2x-25q-def + - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) + url: https://api.datadoghq.com/api/v1/dashboard/8t3-jnp-3af method: DELETE response: - body: '{"deleted_dashboard_id":"n2x-25q-def"}' + body: '{"deleted_dashboard_id":"8t3-jnp-3af"}' headers: Cache-Control: - no-cache @@ -238,7 +238,7 @@ interactions: Content-Type: - application/json Date: - - Fri, 16 Apr 2021 17:25:15 GMT + - Mon, 24 May 2021 14:37:46 GMT Pragma: - no-cache Strict-Transport-Security: @@ -248,9 +248,9 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Debug: - - HbtaOKlJ6OCrx9tMXO6ivMTrEM+g0c93HDp08trmOmgdHozC5J+vn10F0H4WPjCU + - vdJ3/nHEY1ioXQ6pQrBVvsQK1s4yyc+wufBMPSoXql71qZVuP/xMdtNo6DafhOAk X-Dd-Version: - - "35.4330587" + - "35.4593741" X-Frame-Options: - SAMEORIGIN status: 200 OK @@ -265,11 +265,11 @@ interactions: Dd-Operation-Id: - GetDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.19+dev (go go1.15.6; os darwin; arch amd64) - url: https://api.datadoghq.com/api/v1/dashboard/n2x-25q-def + - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) + url: https://api.datadoghq.com/api/v1/dashboard/8t3-jnp-3af method: GET response: - body: '{"errors": ["Dashboard with ID n2x-25q-def not found"]}' + body: '{"errors": ["Dashboard with ID 8t3-jnp-3af not found"]}' headers: Cache-Control: - no-cache @@ -280,7 +280,7 @@ interactions: Content-Type: - application/json Date: - - Fri, 16 Apr 2021 17:25:15 GMT + - Mon, 24 May 2021 14:37:46 GMT Pragma: - no-cache Strict-Transport-Security: @@ -290,7 +290,7 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Version: - - "35.4330587" + - "35.4593741" X-Frame-Options: - SAMEORIGIN status: 404 Not Found diff --git a/datadog/tests/cassettes/TestAccDatadogDashboardTopListFormula_import.freeze b/datadog/tests/cassettes/TestAccDatadogDashboardTopListFormula_import.freeze index d0398dd29..f37f57e54 100644 --- a/datadog/tests/cassettes/TestAccDatadogDashboardTopListFormula_import.freeze +++ b/datadog/tests/cassettes/TestAccDatadogDashboardTopListFormula_import.freeze @@ -1 +1 @@ -2021-04-16T13:25:09.298847-04:00 \ No newline at end of file +2021-05-24T10:37:41.487065-04:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogDashboardTopListFormula_import.yaml b/datadog/tests/cassettes/TestAccDatadogDashboardTopListFormula_import.yaml index 04470f374..93c32904e 100644 --- a/datadog/tests/cassettes/TestAccDatadogDashboardTopListFormula_import.yaml +++ b/datadog/tests/cassettes/TestAccDatadogDashboardTopListFormula_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-TestAccDatadogDashboardTopListFormula_import-local-1618593909","widgets":[{"definition":{"requests":[{"formulas":[{"formula":"query1 + query2","limit":{"count":10,"order":"asc"}}],"queries":[{"aggregator":"sum","data_source":"metrics","name":"query1","query":"avg:system.cpu.system{*} by {datacenter}"},{"aggregator":"sum","data_source":"metrics","name":"query2","query":"avg:system.load.1{*} by {datacenter}"}],"response_format":"scalar"}],"type":"toplist"}},{"definition":{"requests":[{"formulas":[{"formula":"query1","limit":{"count":25,"order":"desc"}}],"queries":[{"compute":{"aggregation":"count"},"data_source":"rum","indexes":["*"],"name":"query1","search":{"query":"abc"}}],"response_format":"scalar"}],"type":"toplist"}}]} + {"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-TestAccDatadogDashboardTopListFormula_import-local-1621867061","widgets":[{"definition":{"requests":[{"formulas":[{"formula":"query1 + query2","limit":{"count":10,"order":"asc"}}],"queries":[{"aggregator":"sum","data_source":"metrics","name":"query1","query":"avg:system.cpu.system{*} by {datacenter}"},{"aggregator":"sum","data_source":"metrics","name":"query2","query":"avg:system.load.1{*} by {datacenter}"}],"response_format":"scalar"}],"type":"toplist"}},{"definition":{"requests":[{"formulas":[{"formula":"query1","limit":{"count":25,"order":"desc"}}],"queries":[{"compute":{"aggregation":"count"},"data_source":"rum","indexes":["*"],"name":"query1","search":{"query":"abc"}}],"response_format":"scalar"}],"type":"toplist"}}]} form: {} headers: Accept: @@ -13,11 +13,11 @@ interactions: Dd-Operation-Id: - CreateDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.19+dev (go go1.15.6; os darwin; arch amd64) + - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) 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":"8m8-w4i-zck","title":"tf-TestAccDatadogDashboardTopListFormula_import-local-1618593909","url":"/dashboard/8m8-w4i-zck/tf-testaccdatadogdashboardtoplistformulaimport-local-1618593909","created_at":"2021-04-16T17:25:10.190731+00:00","modified_at":"2021-04-16T17:25:10.190731+00:00","author_handle":"frog@datadoghq.com","widgets":[{"definition":{"requests":[{"formulas":[{"formula":"query1 + query2","limit":{"count":10,"order":"asc"}}],"response_format":"scalar","queries":[{"aggregator":"sum","data_source":"metrics","name":"query1","query":"avg:system.cpu.system{*} by {datacenter}"},{"aggregator":"sum","data_source":"metrics","name":"query2","query":"avg:system.load.1{*} by {datacenter}"}]}],"type":"toplist"},"id":3925289752360287},{"definition":{"requests":[{"formulas":[{"formula":"query1","limit":{"count":25,"order":"desc"}}],"response_format":"scalar","queries":[{"search":{"query":"abc"},"data_source":"rum","compute":{"aggregation":"count"},"name":"query1","indexes":["*"]}]}],"type":"toplist"},"id":6057887070427033}],"layout_type":"ordered"}' + body: '{"notify_list":[],"description":"Created using the Datadog provider in Terraform","restricted_roles":["043a2842-e140-11e8-bb04-7fd10177666e","08604de8-1dca-11eb-800c-9f5f55ff734d","1302282c-b93b-11eb-a436-da7ad0900002","16169788-28e4-11eb-832c-fb84162ef3eb","17d73994-7531-11eb-94b9-da7ad0900002","284d8b66-93f9-11eb-9c37-da7ad0900002","4de53192-9946-11eb-9cee-da7ad0900002","62cbc476-5c16-11eb-8e98-0388ea7a41f8","657de3a2-29f8-11eb-83b5-6b8ebfb2f184","6bf314be-5c16-11eb-8e98-2356ea436065","7a83f306-96ca-11eb-9c74-da7ad0900002","9b3ab170-b768-11eb-a45a-da7ad0900002","e82bf27a-986c-11eb-9cba-da7ad0900002","f257ba30-dbb2-11ea-a5ff-5fd1d308318a"],"author_name":"Qin Chen","template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"wjv-9d4-2d7","title":"tf-TestAccDatadogDashboardTopListFormula_import-local-1621867061","url":"/dashboard/wjv-9d4-2d7/tf-testaccdatadogdashboardtoplistformulaimport-local-1621867061","created_at":"2021-05-24T14:37:43.363735+00:00","modified_at":"2021-05-24T14:37:43.363735+00:00","author_handle":"qin.chen@datadoghq.com","widgets":[{"definition":{"requests":[{"formulas":[{"formula":"query1 + query2","limit":{"count":10,"order":"asc"}}],"response_format":"scalar","queries":[{"aggregator":"sum","data_source":"metrics","name":"query1","query":"avg:system.cpu.system{*} by {datacenter}"},{"aggregator":"sum","data_source":"metrics","name":"query2","query":"avg:system.load.1{*} by {datacenter}"}]}],"type":"toplist"},"id":510320029391672},{"definition":{"requests":[{"formulas":[{"formula":"query1","limit":{"count":25,"order":"desc"}}],"response_format":"scalar","queries":[{"search":{"query":"abc"},"data_source":"rum","compute":{"aggregation":"count"},"name":"query1","indexes":["*"]}]}],"type":"toplist"},"id":2705302552826011}],"layout_type":"ordered"}' headers: Cache-Control: - no-cache @@ -28,7 +28,7 @@ interactions: Content-Type: - application/json Date: - - Fri, 16 Apr 2021 17:25:13 GMT + - Mon, 24 May 2021 14:37:43 GMT Pragma: - no-cache Strict-Transport-Security: @@ -38,9 +38,9 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Debug: - - HbtaOKlJ6OCrx9tMXO6ivMTrEM+g0c93HDp08trmOmgdHozC5J+vn10F0H4WPjCU + - tpRCH6w417YjBovRJ8VmtuXmNONVYiRp2c8d2AxjPdGBn8PCtgG4vAztrx3qUZAN X-Dd-Version: - - "35.4330587" + - "35.4593741" X-Frame-Options: - SAMEORIGIN status: 200 OK @@ -55,11 +55,11 @@ interactions: Dd-Operation-Id: - GetDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.19+dev (go go1.15.6; os darwin; arch amd64) - url: https://api.datadoghq.com/api/v1/dashboard/8m8-w4i-zck + - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) + url: https://api.datadoghq.com/api/v1/dashboard/wjv-9d4-2d7 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":"8m8-w4i-zck","title":"tf-TestAccDatadogDashboardTopListFormula_import-local-1618593909","url":"/dashboard/8m8-w4i-zck/tf-testaccdatadogdashboardtoplistformulaimport-local-1618593909","created_at":"2021-04-16T17:25:10.190731+00:00","modified_at":"2021-04-16T17:25:10.190731+00:00","author_handle":"frog@datadoghq.com","widgets":[{"definition":{"requests":[{"formulas":[{"formula":"query1 + query2","limit":{"count":10,"order":"asc"}}],"response_format":"scalar","queries":[{"aggregator":"sum","data_source":"metrics","name":"query1","query":"avg:system.cpu.system{*} by {datacenter}"},{"aggregator":"sum","data_source":"metrics","name":"query2","query":"avg:system.load.1{*} by {datacenter}"}]}],"type":"toplist"},"id":3925289752360287},{"definition":{"requests":[{"formulas":[{"formula":"query1","limit":{"count":25,"order":"desc"}}],"response_format":"scalar","queries":[{"search":{"query":"abc"},"data_source":"rum","compute":{"aggregation":"count"},"name":"query1","indexes":["*"]}]}],"type":"toplist"},"id":6057887070427033}],"layout_type":"ordered"}' + body: '{"notify_list":[],"description":"Created using the Datadog provider in Terraform","restricted_roles":["284d8b66-93f9-11eb-9c37-da7ad0900002","043a2842-e140-11e8-bb04-7fd10177666e","657de3a2-29f8-11eb-83b5-6b8ebfb2f184","e82bf27a-986c-11eb-9cba-da7ad0900002","f257ba30-dbb2-11ea-a5ff-5fd1d308318a","6bf314be-5c16-11eb-8e98-2356ea436065","62cbc476-5c16-11eb-8e98-0388ea7a41f8","08604de8-1dca-11eb-800c-9f5f55ff734d","9b3ab170-b768-11eb-a45a-da7ad0900002","7a83f306-96ca-11eb-9c74-da7ad0900002","16169788-28e4-11eb-832c-fb84162ef3eb","4de53192-9946-11eb-9cee-da7ad0900002","1302282c-b93b-11eb-a436-da7ad0900002","17d73994-7531-11eb-94b9-da7ad0900002"],"author_name":"Qin Chen","template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"wjv-9d4-2d7","title":"tf-TestAccDatadogDashboardTopListFormula_import-local-1621867061","url":"/dashboard/wjv-9d4-2d7/tf-testaccdatadogdashboardtoplistformulaimport-local-1621867061","created_at":"2021-05-24T14:37:43.363735+00:00","modified_at":"2021-05-24T14:37:43.363735+00:00","author_handle":"qin.chen@datadoghq.com","widgets":[{"definition":{"requests":[{"formulas":[{"formula":"query1 + query2","limit":{"count":10,"order":"asc"}}],"response_format":"scalar","queries":[{"aggregator":"sum","data_source":"metrics","name":"query1","query":"avg:system.cpu.system{*} by {datacenter}"},{"aggregator":"sum","data_source":"metrics","name":"query2","query":"avg:system.load.1{*} by {datacenter}"}]}],"type":"toplist"},"id":510320029391672},{"definition":{"requests":[{"formulas":[{"formula":"query1","limit":{"count":25,"order":"desc"}}],"response_format":"scalar","queries":[{"search":{"query":"abc"},"data_source":"rum","compute":{"aggregation":"count"},"name":"query1","indexes":["*"]}]}],"type":"toplist"},"id":2705302552826011}],"layout_type":"ordered"}' headers: Cache-Control: - no-cache @@ -70,7 +70,7 @@ interactions: Content-Type: - application/json Date: - - Fri, 16 Apr 2021 17:25:13 GMT + - Mon, 24 May 2021 14:37:43 GMT Pragma: - no-cache Strict-Transport-Security: @@ -80,9 +80,9 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Debug: - - LcgNasIYBRkNppmD6mCKE9J6iv0eEjosuuHR5V5zw2fWbR54i39C8dhdK8zDq/40 + - l8RQo2maZqJf6GFThBbKNE6dvthz6njusVtau3dPXJWL2RLFoN81H+BLPB/1xgs1 X-Dd-Version: - - "35.4330587" + - "35.4593741" X-Frame-Options: - SAMEORIGIN status: 200 OK @@ -97,11 +97,11 @@ interactions: Dd-Operation-Id: - GetDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.19+dev (go go1.15.6; os darwin; arch amd64) - url: https://api.datadoghq.com/api/v1/dashboard/8m8-w4i-zck + - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) + url: https://api.datadoghq.com/api/v1/dashboard/wjv-9d4-2d7 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":"8m8-w4i-zck","title":"tf-TestAccDatadogDashboardTopListFormula_import-local-1618593909","url":"/dashboard/8m8-w4i-zck/tf-testaccdatadogdashboardtoplistformulaimport-local-1618593909","created_at":"2021-04-16T17:25:10.190731+00:00","modified_at":"2021-04-16T17:25:10.190731+00:00","author_handle":"frog@datadoghq.com","widgets":[{"definition":{"requests":[{"formulas":[{"formula":"query1 + query2","limit":{"count":10,"order":"asc"}}],"response_format":"scalar","queries":[{"aggregator":"sum","data_source":"metrics","name":"query1","query":"avg:system.cpu.system{*} by {datacenter}"},{"aggregator":"sum","data_source":"metrics","name":"query2","query":"avg:system.load.1{*} by {datacenter}"}]}],"type":"toplist"},"id":3925289752360287},{"definition":{"requests":[{"formulas":[{"formula":"query1","limit":{"count":25,"order":"desc"}}],"response_format":"scalar","queries":[{"search":{"query":"abc"},"data_source":"rum","compute":{"aggregation":"count"},"name":"query1","indexes":["*"]}]}],"type":"toplist"},"id":6057887070427033}],"layout_type":"ordered"}' + body: '{"notify_list":[],"description":"Created using the Datadog provider in Terraform","restricted_roles":["284d8b66-93f9-11eb-9c37-da7ad0900002","043a2842-e140-11e8-bb04-7fd10177666e","657de3a2-29f8-11eb-83b5-6b8ebfb2f184","e82bf27a-986c-11eb-9cba-da7ad0900002","f257ba30-dbb2-11ea-a5ff-5fd1d308318a","6bf314be-5c16-11eb-8e98-2356ea436065","62cbc476-5c16-11eb-8e98-0388ea7a41f8","08604de8-1dca-11eb-800c-9f5f55ff734d","9b3ab170-b768-11eb-a45a-da7ad0900002","7a83f306-96ca-11eb-9c74-da7ad0900002","16169788-28e4-11eb-832c-fb84162ef3eb","4de53192-9946-11eb-9cee-da7ad0900002","1302282c-b93b-11eb-a436-da7ad0900002","17d73994-7531-11eb-94b9-da7ad0900002"],"author_name":"Qin Chen","template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"wjv-9d4-2d7","title":"tf-TestAccDatadogDashboardTopListFormula_import-local-1621867061","url":"/dashboard/wjv-9d4-2d7/tf-testaccdatadogdashboardtoplistformulaimport-local-1621867061","created_at":"2021-05-24T14:37:43.363735+00:00","modified_at":"2021-05-24T14:37:43.363735+00:00","author_handle":"qin.chen@datadoghq.com","widgets":[{"definition":{"requests":[{"formulas":[{"formula":"query1 + query2","limit":{"count":10,"order":"asc"}}],"response_format":"scalar","queries":[{"aggregator":"sum","data_source":"metrics","name":"query1","query":"avg:system.cpu.system{*} by {datacenter}"},{"aggregator":"sum","data_source":"metrics","name":"query2","query":"avg:system.load.1{*} by {datacenter}"}]}],"type":"toplist"},"id":510320029391672},{"definition":{"requests":[{"formulas":[{"formula":"query1","limit":{"count":25,"order":"desc"}}],"response_format":"scalar","queries":[{"search":{"query":"abc"},"data_source":"rum","compute":{"aggregation":"count"},"name":"query1","indexes":["*"]}]}],"type":"toplist"},"id":2705302552826011}],"layout_type":"ordered"}' headers: Cache-Control: - no-cache @@ -112,7 +112,7 @@ interactions: Content-Type: - application/json Date: - - Fri, 16 Apr 2021 17:25:14 GMT + - Mon, 24 May 2021 14:37:44 GMT Pragma: - no-cache Strict-Transport-Security: @@ -122,9 +122,9 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Debug: - - mNzaoDhdDKO7t4QSrAe5X7pHd0bJND187D+vRbwoluXouE2m1UaQQX0RGCvRpLVE + - vdJ3/nHEY1ioXQ6pQrBVvsQK1s4yyc+wufBMPSoXql71qZVuP/xMdtNo6DafhOAk X-Dd-Version: - - "35.4330587" + - "35.4593741" X-Frame-Options: - SAMEORIGIN status: 200 OK @@ -139,11 +139,11 @@ interactions: Dd-Operation-Id: - GetDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.19+dev (go go1.15.6; os darwin; arch amd64) - url: https://api.datadoghq.com/api/v1/dashboard/8m8-w4i-zck + - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) + url: https://api.datadoghq.com/api/v1/dashboard/wjv-9d4-2d7 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":"8m8-w4i-zck","title":"tf-TestAccDatadogDashboardTopListFormula_import-local-1618593909","url":"/dashboard/8m8-w4i-zck/tf-testaccdatadogdashboardtoplistformulaimport-local-1618593909","created_at":"2021-04-16T17:25:10.190731+00:00","modified_at":"2021-04-16T17:25:10.190731+00:00","author_handle":"frog@datadoghq.com","widgets":[{"definition":{"requests":[{"formulas":[{"formula":"query1 + query2","limit":{"count":10,"order":"asc"}}],"response_format":"scalar","queries":[{"aggregator":"sum","data_source":"metrics","name":"query1","query":"avg:system.cpu.system{*} by {datacenter}"},{"aggregator":"sum","data_source":"metrics","name":"query2","query":"avg:system.load.1{*} by {datacenter}"}]}],"type":"toplist"},"id":3925289752360287},{"definition":{"requests":[{"formulas":[{"formula":"query1","limit":{"count":25,"order":"desc"}}],"response_format":"scalar","queries":[{"search":{"query":"abc"},"data_source":"rum","compute":{"aggregation":"count"},"name":"query1","indexes":["*"]}]}],"type":"toplist"},"id":6057887070427033}],"layout_type":"ordered"}' + body: '{"notify_list":[],"description":"Created using the Datadog provider in Terraform","restricted_roles":["284d8b66-93f9-11eb-9c37-da7ad0900002","043a2842-e140-11e8-bb04-7fd10177666e","657de3a2-29f8-11eb-83b5-6b8ebfb2f184","e82bf27a-986c-11eb-9cba-da7ad0900002","f257ba30-dbb2-11ea-a5ff-5fd1d308318a","6bf314be-5c16-11eb-8e98-2356ea436065","62cbc476-5c16-11eb-8e98-0388ea7a41f8","08604de8-1dca-11eb-800c-9f5f55ff734d","9b3ab170-b768-11eb-a45a-da7ad0900002","7a83f306-96ca-11eb-9c74-da7ad0900002","16169788-28e4-11eb-832c-fb84162ef3eb","4de53192-9946-11eb-9cee-da7ad0900002","1302282c-b93b-11eb-a436-da7ad0900002","17d73994-7531-11eb-94b9-da7ad0900002"],"author_name":"Qin Chen","template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"wjv-9d4-2d7","title":"tf-TestAccDatadogDashboardTopListFormula_import-local-1621867061","url":"/dashboard/wjv-9d4-2d7/tf-testaccdatadogdashboardtoplistformulaimport-local-1621867061","created_at":"2021-05-24T14:37:43.363735+00:00","modified_at":"2021-05-24T14:37:43.363735+00:00","author_handle":"qin.chen@datadoghq.com","widgets":[{"definition":{"requests":[{"formulas":[{"formula":"query1 + query2","limit":{"count":10,"order":"asc"}}],"response_format":"scalar","queries":[{"aggregator":"sum","data_source":"metrics","name":"query1","query":"avg:system.cpu.system{*} by {datacenter}"},{"aggregator":"sum","data_source":"metrics","name":"query2","query":"avg:system.load.1{*} by {datacenter}"}]}],"type":"toplist"},"id":510320029391672},{"definition":{"requests":[{"formulas":[{"formula":"query1","limit":{"count":25,"order":"desc"}}],"response_format":"scalar","queries":[{"search":{"query":"abc"},"data_source":"rum","compute":{"aggregation":"count"},"name":"query1","indexes":["*"]}]}],"type":"toplist"},"id":2705302552826011}],"layout_type":"ordered"}' headers: Cache-Control: - no-cache @@ -154,7 +154,7 @@ interactions: Content-Type: - application/json Date: - - Fri, 16 Apr 2021 17:25:14 GMT + - Mon, 24 May 2021 14:37:45 GMT Pragma: - no-cache Strict-Transport-Security: @@ -164,9 +164,9 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Debug: - - bgHykj7A9bfZx0Y5ZO3swhhp5tGUSNJHqFWR868+qg087CYrDOd5hQslC+noiEtH + - PhosSd3Ch1B6B0DXI71steKUi7XhPDttnPiIP1NdXTw0VJNWpoUnYyBmODS5ne3q X-Dd-Version: - - "35.4330587" + - "35.4593741" X-Frame-Options: - SAMEORIGIN status: 200 OK @@ -181,11 +181,11 @@ interactions: Dd-Operation-Id: - GetDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.19+dev (go go1.15.6; os darwin; arch amd64) - url: https://api.datadoghq.com/api/v1/dashboard/8m8-w4i-zck + - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) + url: https://api.datadoghq.com/api/v1/dashboard/wjv-9d4-2d7 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":"8m8-w4i-zck","title":"tf-TestAccDatadogDashboardTopListFormula_import-local-1618593909","url":"/dashboard/8m8-w4i-zck/tf-testaccdatadogdashboardtoplistformulaimport-local-1618593909","created_at":"2021-04-16T17:25:10.190731+00:00","modified_at":"2021-04-16T17:25:10.190731+00:00","author_handle":"frog@datadoghq.com","widgets":[{"definition":{"requests":[{"formulas":[{"formula":"query1 + query2","limit":{"count":10,"order":"asc"}}],"response_format":"scalar","queries":[{"aggregator":"sum","data_source":"metrics","name":"query1","query":"avg:system.cpu.system{*} by {datacenter}"},{"aggregator":"sum","data_source":"metrics","name":"query2","query":"avg:system.load.1{*} by {datacenter}"}]}],"type":"toplist"},"id":3925289752360287},{"definition":{"requests":[{"formulas":[{"formula":"query1","limit":{"count":25,"order":"desc"}}],"response_format":"scalar","queries":[{"search":{"query":"abc"},"data_source":"rum","compute":{"aggregation":"count"},"name":"query1","indexes":["*"]}]}],"type":"toplist"},"id":6057887070427033}],"layout_type":"ordered"}' + body: '{"notify_list":[],"description":"Created using the Datadog provider in Terraform","restricted_roles":["284d8b66-93f9-11eb-9c37-da7ad0900002","043a2842-e140-11e8-bb04-7fd10177666e","657de3a2-29f8-11eb-83b5-6b8ebfb2f184","e82bf27a-986c-11eb-9cba-da7ad0900002","f257ba30-dbb2-11ea-a5ff-5fd1d308318a","6bf314be-5c16-11eb-8e98-2356ea436065","62cbc476-5c16-11eb-8e98-0388ea7a41f8","08604de8-1dca-11eb-800c-9f5f55ff734d","9b3ab170-b768-11eb-a45a-da7ad0900002","7a83f306-96ca-11eb-9c74-da7ad0900002","16169788-28e4-11eb-832c-fb84162ef3eb","4de53192-9946-11eb-9cee-da7ad0900002","1302282c-b93b-11eb-a436-da7ad0900002","17d73994-7531-11eb-94b9-da7ad0900002"],"author_name":"Qin Chen","template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"wjv-9d4-2d7","title":"tf-TestAccDatadogDashboardTopListFormula_import-local-1621867061","url":"/dashboard/wjv-9d4-2d7/tf-testaccdatadogdashboardtoplistformulaimport-local-1621867061","created_at":"2021-05-24T14:37:43.363735+00:00","modified_at":"2021-05-24T14:37:43.363735+00:00","author_handle":"qin.chen@datadoghq.com","widgets":[{"definition":{"requests":[{"formulas":[{"formula":"query1 + query2","limit":{"count":10,"order":"asc"}}],"response_format":"scalar","queries":[{"aggregator":"sum","data_source":"metrics","name":"query1","query":"avg:system.cpu.system{*} by {datacenter}"},{"aggregator":"sum","data_source":"metrics","name":"query2","query":"avg:system.load.1{*} by {datacenter}"}]}],"type":"toplist"},"id":510320029391672},{"definition":{"requests":[{"formulas":[{"formula":"query1","limit":{"count":25,"order":"desc"}}],"response_format":"scalar","queries":[{"search":{"query":"abc"},"data_source":"rum","compute":{"aggregation":"count"},"name":"query1","indexes":["*"]}]}],"type":"toplist"},"id":2705302552826011}],"layout_type":"ordered"}' headers: Cache-Control: - no-cache @@ -196,7 +196,7 @@ interactions: Content-Type: - application/json Date: - - Fri, 16 Apr 2021 17:25:14 GMT + - Mon, 24 May 2021 14:37:45 GMT Pragma: - no-cache Strict-Transport-Security: @@ -206,9 +206,9 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Debug: - - Um4CoU685QqAscnxhS5BD+goWu2yX1Jd4zCfGzSsEvPPIm1qURZaF8dlLl/OEY4I + - dCmL/3rURV6BPeaqeP3Rxigq41m5CAb17XjrRE42uZ01zpr07HVhbL5/3TWMkvgu X-Dd-Version: - - "35.4330587" + - "35.4593741" X-Frame-Options: - SAMEORIGIN status: 200 OK @@ -223,11 +223,11 @@ interactions: Dd-Operation-Id: - GetDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.19+dev (go go1.15.6; os darwin; arch amd64) - url: https://api.datadoghq.com/api/v1/dashboard/8m8-w4i-zck + - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) + url: https://api.datadoghq.com/api/v1/dashboard/wjv-9d4-2d7 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":"8m8-w4i-zck","title":"tf-TestAccDatadogDashboardTopListFormula_import-local-1618593909","url":"/dashboard/8m8-w4i-zck/tf-testaccdatadogdashboardtoplistformulaimport-local-1618593909","created_at":"2021-04-16T17:25:10.190731+00:00","modified_at":"2021-04-16T17:25:10.190731+00:00","author_handle":"frog@datadoghq.com","widgets":[{"definition":{"requests":[{"formulas":[{"formula":"query1 + query2","limit":{"count":10,"order":"asc"}}],"response_format":"scalar","queries":[{"aggregator":"sum","data_source":"metrics","name":"query1","query":"avg:system.cpu.system{*} by {datacenter}"},{"aggregator":"sum","data_source":"metrics","name":"query2","query":"avg:system.load.1{*} by {datacenter}"}]}],"type":"toplist"},"id":3925289752360287},{"definition":{"requests":[{"formulas":[{"formula":"query1","limit":{"count":25,"order":"desc"}}],"response_format":"scalar","queries":[{"search":{"query":"abc"},"data_source":"rum","compute":{"aggregation":"count"},"name":"query1","indexes":["*"]}]}],"type":"toplist"},"id":6057887070427033}],"layout_type":"ordered"}' + body: '{"notify_list":[],"description":"Created using the Datadog provider in Terraform","restricted_roles":["284d8b66-93f9-11eb-9c37-da7ad0900002","043a2842-e140-11e8-bb04-7fd10177666e","657de3a2-29f8-11eb-83b5-6b8ebfb2f184","e82bf27a-986c-11eb-9cba-da7ad0900002","f257ba30-dbb2-11ea-a5ff-5fd1d308318a","6bf314be-5c16-11eb-8e98-2356ea436065","62cbc476-5c16-11eb-8e98-0388ea7a41f8","08604de8-1dca-11eb-800c-9f5f55ff734d","9b3ab170-b768-11eb-a45a-da7ad0900002","7a83f306-96ca-11eb-9c74-da7ad0900002","16169788-28e4-11eb-832c-fb84162ef3eb","4de53192-9946-11eb-9cee-da7ad0900002","1302282c-b93b-11eb-a436-da7ad0900002","17d73994-7531-11eb-94b9-da7ad0900002"],"author_name":"Qin Chen","template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"wjv-9d4-2d7","title":"tf-TestAccDatadogDashboardTopListFormula_import-local-1621867061","url":"/dashboard/wjv-9d4-2d7/tf-testaccdatadogdashboardtoplistformulaimport-local-1621867061","created_at":"2021-05-24T14:37:43.363735+00:00","modified_at":"2021-05-24T14:37:43.363735+00:00","author_handle":"qin.chen@datadoghq.com","widgets":[{"definition":{"requests":[{"formulas":[{"formula":"query1 + query2","limit":{"count":10,"order":"asc"}}],"response_format":"scalar","queries":[{"aggregator":"sum","data_source":"metrics","name":"query1","query":"avg:system.cpu.system{*} by {datacenter}"},{"aggregator":"sum","data_source":"metrics","name":"query2","query":"avg:system.load.1{*} by {datacenter}"}]}],"type":"toplist"},"id":510320029391672},{"definition":{"requests":[{"formulas":[{"formula":"query1","limit":{"count":25,"order":"desc"}}],"response_format":"scalar","queries":[{"search":{"query":"abc"},"data_source":"rum","compute":{"aggregation":"count"},"name":"query1","indexes":["*"]}]}],"type":"toplist"},"id":2705302552826011}],"layout_type":"ordered"}' headers: Cache-Control: - no-cache @@ -238,7 +238,7 @@ interactions: Content-Type: - application/json Date: - - Fri, 16 Apr 2021 17:25:15 GMT + - Mon, 24 May 2021 14:37:45 GMT Pragma: - no-cache Strict-Transport-Security: @@ -248,9 +248,9 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Debug: - - gYZcaADwbKcv7Hm19HJx6WsLoKuOijDWAt2viPeCfWqUgyKY+9e1xZdmMJeXV3YV + - F5gm0Rce1/Abr9/0Fw8HAqWfiz0FdiH8er/AXnN6lOn3L6KyGgbsLCwgPlob1No8 X-Dd-Version: - - "35.4330587" + - "35.4593741" X-Frame-Options: - SAMEORIGIN status: 200 OK @@ -265,11 +265,11 @@ interactions: Dd-Operation-Id: - DeleteDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.19+dev (go go1.15.6; os darwin; arch amd64) - url: https://api.datadoghq.com/api/v1/dashboard/8m8-w4i-zck + - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) + url: https://api.datadoghq.com/api/v1/dashboard/wjv-9d4-2d7 method: DELETE response: - body: '{"deleted_dashboard_id":"8m8-w4i-zck"}' + body: '{"deleted_dashboard_id":"wjv-9d4-2d7"}' headers: Cache-Control: - no-cache @@ -280,7 +280,7 @@ interactions: Content-Type: - application/json Date: - - Fri, 16 Apr 2021 17:25:15 GMT + - Mon, 24 May 2021 14:37:46 GMT Pragma: - no-cache Strict-Transport-Security: @@ -290,9 +290,9 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Debug: - - B1nwy/pPNqX+q4pQT22cdp1QCexE35IF8qwSHy0Nf7IW0Y881qtn4tXN1lpmzaKc + - L3ULR3HwCWYmEqCWGz2Yob3chcH4pjowBacBXkncP7o+/uPqKt9yGEYf/g1AJPzQ X-Dd-Version: - - "35.4330587" + - "35.4593741" X-Frame-Options: - SAMEORIGIN status: 200 OK @@ -307,11 +307,11 @@ interactions: Dd-Operation-Id: - GetDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.19+dev (go go1.15.6; os darwin; arch amd64) - url: https://api.datadoghq.com/api/v1/dashboard/8m8-w4i-zck + - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) + url: https://api.datadoghq.com/api/v1/dashboard/wjv-9d4-2d7 method: GET response: - body: '{"errors": ["Dashboard with ID 8m8-w4i-zck not found"]}' + body: '{"errors": ["Dashboard with ID wjv-9d4-2d7 not found"]}' headers: Cache-Control: - no-cache @@ -322,7 +322,7 @@ interactions: Content-Type: - application/json Date: - - Fri, 16 Apr 2021 17:25:15 GMT + - Mon, 24 May 2021 14:37:46 GMT Pragma: - no-cache Strict-Transport-Security: @@ -332,7 +332,7 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Version: - - "35.4330587" + - "35.4593741" X-Frame-Options: - SAMEORIGIN status: 404 Not Found diff --git a/datadog/tests/cassettes/TestAccDatadogDashboardTopList_import.freeze b/datadog/tests/cassettes/TestAccDatadogDashboardTopList_import.freeze index 29ac1946a..3934149c5 100644 --- a/datadog/tests/cassettes/TestAccDatadogDashboardTopList_import.freeze +++ b/datadog/tests/cassettes/TestAccDatadogDashboardTopList_import.freeze @@ -1 +1 @@ -2021-04-16T13:25:09.298871-04:00 \ No newline at end of file +2021-05-24T10:37:41.494713-04:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogDashboardTopList_import.yaml b/datadog/tests/cassettes/TestAccDatadogDashboardTopList_import.yaml index 6d3360e4a..033127c89 100644 --- a/datadog/tests/cassettes/TestAccDatadogDashboardTopList_import.yaml +++ b/datadog/tests/cassettes/TestAccDatadogDashboardTopList_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-TestAccDatadogDashboardTopList_import-local-1618593909","widgets":[{"definition":{"custom_links":[{"label":"Test Custom Link label","link":"https://app.datadoghq.com/dashboard/lists"}],"requests":[{"conditional_formats":[{"comparator":"\u003e","hide_value":false,"palette":"white_on_red","value":15000}],"q":"top(avg:system.core.user{account:prod} by {service,app}, 10, 'sum', 'desc')"}],"time":{"live_span":"1w"},"title":"Avg of system.core.user over account:prod by service,app","title_align":"right","title_size":"16","type":"toplist"}}]} + {"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-TestAccDatadogDashboardTopList_import-local-1621867061","widgets":[{"definition":{"custom_links":[{"label":"Test Custom Link label","link":"https://app.datadoghq.com/dashboard/lists"}],"requests":[{"conditional_formats":[{"comparator":"\u003e","hide_value":false,"palette":"white_on_red","value":15000}],"q":"top(avg:system.core.user{account:prod} by {service,app}, 10, 'sum', 'desc')"}],"time":{"live_span":"1w"},"title":"Avg of system.core.user over account:prod by service,app","title_align":"right","title_size":"16","type":"toplist"}}]} form: {} headers: Accept: @@ -13,11 +13,11 @@ interactions: Dd-Operation-Id: - CreateDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.19+dev (go go1.15.6; os darwin; arch amd64) + - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) 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":"xwv-u3g-gen","title":"tf-TestAccDatadogDashboardTopList_import-local-1618593909","url":"/dashboard/xwv-u3g-gen/tf-testaccdatadogdashboardtoplistimport-local-1618593909","created_at":"2021-04-16T17:25:10.207371+00:00","modified_at":"2021-04-16T17:25:10.207371+00:00","author_handle":"frog@datadoghq.com","widgets":[{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test Custom Link label"}],"title_size":"16","title":"Avg of system.core.user over account:prod by service,app","title_align":"right","time":{"live_span":"1w"},"requests":[{"q":"top(avg:system.core.user{account:prod} by {service,app}, 10, ''sum'', ''desc'')","conditional_formats":[{"palette":"white_on_red","hide_value":false,"value":15000,"comparator":">"}]}],"type":"toplist"},"id":4612504202992112}],"layout_type":"ordered"}' + body: '{"notify_list":[],"description":"Created using the Datadog provider in Terraform","restricted_roles":["043a2842-e140-11e8-bb04-7fd10177666e","08604de8-1dca-11eb-800c-9f5f55ff734d","1302282c-b93b-11eb-a436-da7ad0900002","16169788-28e4-11eb-832c-fb84162ef3eb","17d73994-7531-11eb-94b9-da7ad0900002","284d8b66-93f9-11eb-9c37-da7ad0900002","4de53192-9946-11eb-9cee-da7ad0900002","62cbc476-5c16-11eb-8e98-0388ea7a41f8","657de3a2-29f8-11eb-83b5-6b8ebfb2f184","6bf314be-5c16-11eb-8e98-2356ea436065","7a83f306-96ca-11eb-9c74-da7ad0900002","9b3ab170-b768-11eb-a45a-da7ad0900002","e82bf27a-986c-11eb-9cba-da7ad0900002","f257ba30-dbb2-11ea-a5ff-5fd1d308318a"],"author_name":"Qin Chen","template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"28p-gm3-6ev","title":"tf-TestAccDatadogDashboardTopList_import-local-1621867061","url":"/dashboard/28p-gm3-6ev/tf-testaccdatadogdashboardtoplistimport-local-1621867061","created_at":"2021-05-24T14:37:43.366481+00:00","modified_at":"2021-05-24T14:37:43.366481+00:00","author_handle":"qin.chen@datadoghq.com","widgets":[{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test Custom Link label"}],"title_size":"16","title":"Avg of system.core.user over account:prod by service,app","title_align":"right","time":{"live_span":"1w"},"requests":[{"q":"top(avg:system.core.user{account:prod} by {service,app}, 10, ''sum'', ''desc'')","conditional_formats":[{"palette":"white_on_red","hide_value":false,"value":15000,"comparator":">"}]}],"type":"toplist"},"id":889836208978988}],"layout_type":"ordered"}' headers: Cache-Control: - no-cache @@ -28,7 +28,7 @@ interactions: Content-Type: - application/json Date: - - Fri, 16 Apr 2021 17:25:13 GMT + - Mon, 24 May 2021 14:37:43 GMT Pragma: - no-cache Strict-Transport-Security: @@ -38,9 +38,9 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Debug: - - L3ULR3HwCWYmEqCWGz2Yob3chcH4pjowBacBXkncP7o+/uPqKt9yGEYf/g1AJPzQ + - 2328yjLSqI4XmR1pVqrPRR/SFcQsbafjEpPmZx7/3PfxUK1nJQQsX+wrMelyVyj+ X-Dd-Version: - - "35.4330587" + - "35.4593741" X-Frame-Options: - SAMEORIGIN status: 200 OK @@ -55,11 +55,11 @@ interactions: Dd-Operation-Id: - GetDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.19+dev (go go1.15.6; os darwin; arch amd64) - url: https://api.datadoghq.com/api/v1/dashboard/xwv-u3g-gen + - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) + url: https://api.datadoghq.com/api/v1/dashboard/28p-gm3-6ev 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":"xwv-u3g-gen","title":"tf-TestAccDatadogDashboardTopList_import-local-1618593909","url":"/dashboard/xwv-u3g-gen/tf-testaccdatadogdashboardtoplistimport-local-1618593909","created_at":"2021-04-16T17:25:10.207371+00:00","modified_at":"2021-04-16T17:25:10.207371+00:00","author_handle":"frog@datadoghq.com","widgets":[{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test Custom Link label"}],"title_size":"16","title":"Avg of system.core.user over account:prod by service,app","title_align":"right","time":{"live_span":"1w"},"requests":[{"q":"top(avg:system.core.user{account:prod} by {service,app}, 10, ''sum'', ''desc'')","conditional_formats":[{"palette":"white_on_red","hide_value":false,"value":15000,"comparator":">"}]}],"type":"toplist"},"id":4612504202992112}],"layout_type":"ordered"}' + body: '{"notify_list":[],"description":"Created using the Datadog provider in Terraform","restricted_roles":["284d8b66-93f9-11eb-9c37-da7ad0900002","043a2842-e140-11e8-bb04-7fd10177666e","657de3a2-29f8-11eb-83b5-6b8ebfb2f184","e82bf27a-986c-11eb-9cba-da7ad0900002","f257ba30-dbb2-11ea-a5ff-5fd1d308318a","6bf314be-5c16-11eb-8e98-2356ea436065","62cbc476-5c16-11eb-8e98-0388ea7a41f8","08604de8-1dca-11eb-800c-9f5f55ff734d","9b3ab170-b768-11eb-a45a-da7ad0900002","7a83f306-96ca-11eb-9c74-da7ad0900002","16169788-28e4-11eb-832c-fb84162ef3eb","4de53192-9946-11eb-9cee-da7ad0900002","1302282c-b93b-11eb-a436-da7ad0900002","17d73994-7531-11eb-94b9-da7ad0900002"],"author_name":"Qin Chen","template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"28p-gm3-6ev","title":"tf-TestAccDatadogDashboardTopList_import-local-1621867061","url":"/dashboard/28p-gm3-6ev/tf-testaccdatadogdashboardtoplistimport-local-1621867061","created_at":"2021-05-24T14:37:43.366481+00:00","modified_at":"2021-05-24T14:37:43.366481+00:00","author_handle":"qin.chen@datadoghq.com","widgets":[{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test Custom Link label"}],"title_size":"16","title":"Avg of system.core.user over account:prod by service,app","title_align":"right","time":{"live_span":"1w"},"requests":[{"q":"top(avg:system.core.user{account:prod} by {service,app}, 10, ''sum'', ''desc'')","conditional_formats":[{"palette":"white_on_red","hide_value":false,"value":15000,"comparator":">"}]}],"type":"toplist"},"id":889836208978988}],"layout_type":"ordered"}' headers: Cache-Control: - no-cache @@ -70,7 +70,7 @@ interactions: Content-Type: - application/json Date: - - Fri, 16 Apr 2021 17:25:13 GMT + - Mon, 24 May 2021 14:37:43 GMT Pragma: - no-cache Strict-Transport-Security: @@ -80,9 +80,9 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Debug: - - fIO2C4qGDheGHy4YbS+r3a3CXbh4cbRo7roILOimQyiHGjQdOat0cIpWCkupM1uX + - L3ULR3HwCWYmEqCWGz2Yob3chcH4pjowBacBXkncP7o+/uPqKt9yGEYf/g1AJPzQ X-Dd-Version: - - "35.4330587" + - "35.4593741" X-Frame-Options: - SAMEORIGIN status: 200 OK @@ -97,11 +97,11 @@ interactions: Dd-Operation-Id: - GetDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.19+dev (go go1.15.6; os darwin; arch amd64) - url: https://api.datadoghq.com/api/v1/dashboard/xwv-u3g-gen + - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) + url: https://api.datadoghq.com/api/v1/dashboard/28p-gm3-6ev 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":"xwv-u3g-gen","title":"tf-TestAccDatadogDashboardTopList_import-local-1618593909","url":"/dashboard/xwv-u3g-gen/tf-testaccdatadogdashboardtoplistimport-local-1618593909","created_at":"2021-04-16T17:25:10.207371+00:00","modified_at":"2021-04-16T17:25:10.207371+00:00","author_handle":"frog@datadoghq.com","widgets":[{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test Custom Link label"}],"title_size":"16","title":"Avg of system.core.user over account:prod by service,app","title_align":"right","time":{"live_span":"1w"},"requests":[{"q":"top(avg:system.core.user{account:prod} by {service,app}, 10, ''sum'', ''desc'')","conditional_formats":[{"palette":"white_on_red","hide_value":false,"value":15000,"comparator":">"}]}],"type":"toplist"},"id":4612504202992112}],"layout_type":"ordered"}' + body: '{"notify_list":[],"description":"Created using the Datadog provider in Terraform","restricted_roles":["284d8b66-93f9-11eb-9c37-da7ad0900002","043a2842-e140-11e8-bb04-7fd10177666e","657de3a2-29f8-11eb-83b5-6b8ebfb2f184","e82bf27a-986c-11eb-9cba-da7ad0900002","f257ba30-dbb2-11ea-a5ff-5fd1d308318a","6bf314be-5c16-11eb-8e98-2356ea436065","62cbc476-5c16-11eb-8e98-0388ea7a41f8","08604de8-1dca-11eb-800c-9f5f55ff734d","9b3ab170-b768-11eb-a45a-da7ad0900002","7a83f306-96ca-11eb-9c74-da7ad0900002","16169788-28e4-11eb-832c-fb84162ef3eb","4de53192-9946-11eb-9cee-da7ad0900002","1302282c-b93b-11eb-a436-da7ad0900002","17d73994-7531-11eb-94b9-da7ad0900002"],"author_name":"Qin Chen","template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"28p-gm3-6ev","title":"tf-TestAccDatadogDashboardTopList_import-local-1621867061","url":"/dashboard/28p-gm3-6ev/tf-testaccdatadogdashboardtoplistimport-local-1621867061","created_at":"2021-05-24T14:37:43.366481+00:00","modified_at":"2021-05-24T14:37:43.366481+00:00","author_handle":"qin.chen@datadoghq.com","widgets":[{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test Custom Link label"}],"title_size":"16","title":"Avg of system.core.user over account:prod by service,app","title_align":"right","time":{"live_span":"1w"},"requests":[{"q":"top(avg:system.core.user{account:prod} by {service,app}, 10, ''sum'', ''desc'')","conditional_formats":[{"palette":"white_on_red","hide_value":false,"value":15000,"comparator":">"}]}],"type":"toplist"},"id":889836208978988}],"layout_type":"ordered"}' headers: Cache-Control: - no-cache @@ -112,7 +112,7 @@ interactions: Content-Type: - application/json Date: - - Fri, 16 Apr 2021 17:25:14 GMT + - Mon, 24 May 2021 14:37:44 GMT Pragma: - no-cache Strict-Transport-Security: @@ -122,9 +122,9 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Debug: - - dPySkcOzIZtKyMKDAAzuysY3gNGGj6RtYogGuSb76E8mPvoqzREyRp6lPYm91hQU + - mNzaoDhdDKO7t4QSrAe5X7pHd0bJND187D+vRbwoluXouE2m1UaQQX0RGCvRpLVE X-Dd-Version: - - "35.4330587" + - "35.4593741" X-Frame-Options: - SAMEORIGIN status: 200 OK @@ -139,11 +139,11 @@ interactions: Dd-Operation-Id: - GetDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.19+dev (go go1.15.6; os darwin; arch amd64) - url: https://api.datadoghq.com/api/v1/dashboard/xwv-u3g-gen + - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) + url: https://api.datadoghq.com/api/v1/dashboard/28p-gm3-6ev 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":"xwv-u3g-gen","title":"tf-TestAccDatadogDashboardTopList_import-local-1618593909","url":"/dashboard/xwv-u3g-gen/tf-testaccdatadogdashboardtoplistimport-local-1618593909","created_at":"2021-04-16T17:25:10.207371+00:00","modified_at":"2021-04-16T17:25:10.207371+00:00","author_handle":"frog@datadoghq.com","widgets":[{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test Custom Link label"}],"title_size":"16","title":"Avg of system.core.user over account:prod by service,app","title_align":"right","time":{"live_span":"1w"},"requests":[{"q":"top(avg:system.core.user{account:prod} by {service,app}, 10, ''sum'', ''desc'')","conditional_formats":[{"palette":"white_on_red","hide_value":false,"value":15000,"comparator":">"}]}],"type":"toplist"},"id":4612504202992112}],"layout_type":"ordered"}' + body: '{"notify_list":[],"description":"Created using the Datadog provider in Terraform","restricted_roles":["284d8b66-93f9-11eb-9c37-da7ad0900002","043a2842-e140-11e8-bb04-7fd10177666e","657de3a2-29f8-11eb-83b5-6b8ebfb2f184","e82bf27a-986c-11eb-9cba-da7ad0900002","f257ba30-dbb2-11ea-a5ff-5fd1d308318a","6bf314be-5c16-11eb-8e98-2356ea436065","62cbc476-5c16-11eb-8e98-0388ea7a41f8","08604de8-1dca-11eb-800c-9f5f55ff734d","9b3ab170-b768-11eb-a45a-da7ad0900002","7a83f306-96ca-11eb-9c74-da7ad0900002","16169788-28e4-11eb-832c-fb84162ef3eb","4de53192-9946-11eb-9cee-da7ad0900002","1302282c-b93b-11eb-a436-da7ad0900002","17d73994-7531-11eb-94b9-da7ad0900002"],"author_name":"Qin Chen","template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"28p-gm3-6ev","title":"tf-TestAccDatadogDashboardTopList_import-local-1621867061","url":"/dashboard/28p-gm3-6ev/tf-testaccdatadogdashboardtoplistimport-local-1621867061","created_at":"2021-05-24T14:37:43.366481+00:00","modified_at":"2021-05-24T14:37:43.366481+00:00","author_handle":"qin.chen@datadoghq.com","widgets":[{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test Custom Link label"}],"title_size":"16","title":"Avg of system.core.user over account:prod by service,app","title_align":"right","time":{"live_span":"1w"},"requests":[{"q":"top(avg:system.core.user{account:prod} by {service,app}, 10, ''sum'', ''desc'')","conditional_formats":[{"palette":"white_on_red","hide_value":false,"value":15000,"comparator":">"}]}],"type":"toplist"},"id":889836208978988}],"layout_type":"ordered"}' headers: Cache-Control: - no-cache @@ -154,7 +154,7 @@ interactions: Content-Type: - application/json Date: - - Fri, 16 Apr 2021 17:25:14 GMT + - Mon, 24 May 2021 14:37:45 GMT Pragma: - no-cache Strict-Transport-Security: @@ -164,9 +164,9 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Debug: - - tpRCH6w417YjBovRJ8VmtuXmNONVYiRp2c8d2AxjPdGBn8PCtgG4vAztrx3qUZAN + - Wjq53IVIwnB4SiR238oOYgHFMq/ZYP0LQ/Dv8C2fFLBwTje/dWJHu6pI6vIOK1zG X-Dd-Version: - - "35.4330587" + - "35.4593741" X-Frame-Options: - SAMEORIGIN status: 200 OK @@ -181,11 +181,11 @@ interactions: Dd-Operation-Id: - GetDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.19+dev (go go1.15.6; os darwin; arch amd64) - url: https://api.datadoghq.com/api/v1/dashboard/xwv-u3g-gen + - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) + url: https://api.datadoghq.com/api/v1/dashboard/28p-gm3-6ev 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":"xwv-u3g-gen","title":"tf-TestAccDatadogDashboardTopList_import-local-1618593909","url":"/dashboard/xwv-u3g-gen/tf-testaccdatadogdashboardtoplistimport-local-1618593909","created_at":"2021-04-16T17:25:10.207371+00:00","modified_at":"2021-04-16T17:25:10.207371+00:00","author_handle":"frog@datadoghq.com","widgets":[{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test Custom Link label"}],"title_size":"16","title":"Avg of system.core.user over account:prod by service,app","title_align":"right","time":{"live_span":"1w"},"requests":[{"q":"top(avg:system.core.user{account:prod} by {service,app}, 10, ''sum'', ''desc'')","conditional_formats":[{"palette":"white_on_red","hide_value":false,"value":15000,"comparator":">"}]}],"type":"toplist"},"id":4612504202992112}],"layout_type":"ordered"}' + body: '{"notify_list":[],"description":"Created using the Datadog provider in Terraform","restricted_roles":["284d8b66-93f9-11eb-9c37-da7ad0900002","043a2842-e140-11e8-bb04-7fd10177666e","657de3a2-29f8-11eb-83b5-6b8ebfb2f184","e82bf27a-986c-11eb-9cba-da7ad0900002","f257ba30-dbb2-11ea-a5ff-5fd1d308318a","6bf314be-5c16-11eb-8e98-2356ea436065","62cbc476-5c16-11eb-8e98-0388ea7a41f8","08604de8-1dca-11eb-800c-9f5f55ff734d","9b3ab170-b768-11eb-a45a-da7ad0900002","7a83f306-96ca-11eb-9c74-da7ad0900002","16169788-28e4-11eb-832c-fb84162ef3eb","4de53192-9946-11eb-9cee-da7ad0900002","1302282c-b93b-11eb-a436-da7ad0900002","17d73994-7531-11eb-94b9-da7ad0900002"],"author_name":"Qin Chen","template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"28p-gm3-6ev","title":"tf-TestAccDatadogDashboardTopList_import-local-1621867061","url":"/dashboard/28p-gm3-6ev/tf-testaccdatadogdashboardtoplistimport-local-1621867061","created_at":"2021-05-24T14:37:43.366481+00:00","modified_at":"2021-05-24T14:37:43.366481+00:00","author_handle":"qin.chen@datadoghq.com","widgets":[{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test Custom Link label"}],"title_size":"16","title":"Avg of system.core.user over account:prod by service,app","title_align":"right","time":{"live_span":"1w"},"requests":[{"q":"top(avg:system.core.user{account:prod} by {service,app}, 10, ''sum'', ''desc'')","conditional_formats":[{"palette":"white_on_red","hide_value":false,"value":15000,"comparator":">"}]}],"type":"toplist"},"id":889836208978988}],"layout_type":"ordered"}' headers: Cache-Control: - no-cache @@ -196,7 +196,7 @@ interactions: Content-Type: - application/json Date: - - Fri, 16 Apr 2021 17:25:14 GMT + - Mon, 24 May 2021 14:37:45 GMT Pragma: - no-cache Strict-Transport-Security: @@ -206,9 +206,9 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Debug: - - Um4CoU685QqAscnxhS5BD+goWu2yX1Jd4zCfGzSsEvPPIm1qURZaF8dlLl/OEY4I + - 2328yjLSqI4XmR1pVqrPRR/SFcQsbafjEpPmZx7/3PfxUK1nJQQsX+wrMelyVyj+ X-Dd-Version: - - "35.4330587" + - "35.4593741" X-Frame-Options: - SAMEORIGIN status: 200 OK @@ -223,11 +223,11 @@ interactions: Dd-Operation-Id: - GetDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.19+dev (go go1.15.6; os darwin; arch amd64) - url: https://api.datadoghq.com/api/v1/dashboard/xwv-u3g-gen + - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) + url: https://api.datadoghq.com/api/v1/dashboard/28p-gm3-6ev 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":"xwv-u3g-gen","title":"tf-TestAccDatadogDashboardTopList_import-local-1618593909","url":"/dashboard/xwv-u3g-gen/tf-testaccdatadogdashboardtoplistimport-local-1618593909","created_at":"2021-04-16T17:25:10.207371+00:00","modified_at":"2021-04-16T17:25:10.207371+00:00","author_handle":"frog@datadoghq.com","widgets":[{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test Custom Link label"}],"title_size":"16","title":"Avg of system.core.user over account:prod by service,app","title_align":"right","time":{"live_span":"1w"},"requests":[{"q":"top(avg:system.core.user{account:prod} by {service,app}, 10, ''sum'', ''desc'')","conditional_formats":[{"palette":"white_on_red","hide_value":false,"value":15000,"comparator":">"}]}],"type":"toplist"},"id":4612504202992112}],"layout_type":"ordered"}' + body: '{"notify_list":[],"description":"Created using the Datadog provider in Terraform","restricted_roles":["284d8b66-93f9-11eb-9c37-da7ad0900002","043a2842-e140-11e8-bb04-7fd10177666e","657de3a2-29f8-11eb-83b5-6b8ebfb2f184","e82bf27a-986c-11eb-9cba-da7ad0900002","f257ba30-dbb2-11ea-a5ff-5fd1d308318a","6bf314be-5c16-11eb-8e98-2356ea436065","62cbc476-5c16-11eb-8e98-0388ea7a41f8","08604de8-1dca-11eb-800c-9f5f55ff734d","9b3ab170-b768-11eb-a45a-da7ad0900002","7a83f306-96ca-11eb-9c74-da7ad0900002","16169788-28e4-11eb-832c-fb84162ef3eb","4de53192-9946-11eb-9cee-da7ad0900002","1302282c-b93b-11eb-a436-da7ad0900002","17d73994-7531-11eb-94b9-da7ad0900002"],"author_name":"Qin Chen","template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"28p-gm3-6ev","title":"tf-TestAccDatadogDashboardTopList_import-local-1621867061","url":"/dashboard/28p-gm3-6ev/tf-testaccdatadogdashboardtoplistimport-local-1621867061","created_at":"2021-05-24T14:37:43.366481+00:00","modified_at":"2021-05-24T14:37:43.366481+00:00","author_handle":"qin.chen@datadoghq.com","widgets":[{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test Custom Link label"}],"title_size":"16","title":"Avg of system.core.user over account:prod by service,app","title_align":"right","time":{"live_span":"1w"},"requests":[{"q":"top(avg:system.core.user{account:prod} by {service,app}, 10, ''sum'', ''desc'')","conditional_formats":[{"palette":"white_on_red","hide_value":false,"value":15000,"comparator":">"}]}],"type":"toplist"},"id":889836208978988}],"layout_type":"ordered"}' headers: Cache-Control: - no-cache @@ -238,7 +238,7 @@ interactions: Content-Type: - application/json Date: - - Fri, 16 Apr 2021 17:25:14 GMT + - Mon, 24 May 2021 14:37:45 GMT Pragma: - no-cache Strict-Transport-Security: @@ -248,9 +248,9 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Debug: - - SY1h8ScsWq+kYmtbh63ltMLFAZsQjqfrgvdfAoRX+9TzT1sgMBRYaFRwfWWRRe9a + - dPySkcOzIZtKyMKDAAzuysY3gNGGj6RtYogGuSb76E8mPvoqzREyRp6lPYm91hQU X-Dd-Version: - - "35.4330587" + - "35.4593741" X-Frame-Options: - SAMEORIGIN status: 200 OK @@ -265,11 +265,11 @@ interactions: Dd-Operation-Id: - DeleteDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.19+dev (go go1.15.6; os darwin; arch amd64) - url: https://api.datadoghq.com/api/v1/dashboard/xwv-u3g-gen + - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) + url: https://api.datadoghq.com/api/v1/dashboard/28p-gm3-6ev method: DELETE response: - body: '{"deleted_dashboard_id":"xwv-u3g-gen"}' + body: '{"deleted_dashboard_id":"28p-gm3-6ev"}' headers: Cache-Control: - no-cache @@ -280,7 +280,7 @@ interactions: Content-Type: - application/json Date: - - Fri, 16 Apr 2021 17:25:15 GMT + - Mon, 24 May 2021 14:37:46 GMT Pragma: - no-cache Strict-Transport-Security: @@ -290,9 +290,9 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Debug: - - Um4CoU685QqAscnxhS5BD+goWu2yX1Jd4zCfGzSsEvPPIm1qURZaF8dlLl/OEY4I + - nLnnBNvlCFDECRnZvzDb0z4sAO35G+IMidcAs8vrCKyjvsKWE8Yd9S3n6OjZ1qRN X-Dd-Version: - - "35.4330587" + - "35.4593741" X-Frame-Options: - SAMEORIGIN status: 200 OK @@ -307,11 +307,11 @@ interactions: Dd-Operation-Id: - GetDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.19+dev (go go1.15.6; os darwin; arch amd64) - url: https://api.datadoghq.com/api/v1/dashboard/xwv-u3g-gen + - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) + url: https://api.datadoghq.com/api/v1/dashboard/28p-gm3-6ev method: GET response: - body: '{"errors": ["Dashboard with ID xwv-u3g-gen not found"]}' + body: '{"errors": ["Dashboard with ID 28p-gm3-6ev not found"]}' headers: Cache-Control: - no-cache @@ -322,7 +322,7 @@ interactions: Content-Type: - application/json Date: - - Fri, 16 Apr 2021 17:25:15 GMT + - Mon, 24 May 2021 14:37:46 GMT Pragma: - no-cache Strict-Transport-Security: @@ -332,7 +332,7 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Version: - - "35.4330587" + - "35.4593741" X-Frame-Options: - SAMEORIGIN status: 404 Not Found diff --git a/datadog/tests/cassettes/TestAccDatadogDashboardTraceService.freeze b/datadog/tests/cassettes/TestAccDatadogDashboardTraceService.freeze index 419bdb7fb..7c1b74168 100644 --- a/datadog/tests/cassettes/TestAccDatadogDashboardTraceService.freeze +++ b/datadog/tests/cassettes/TestAccDatadogDashboardTraceService.freeze @@ -1 +1 @@ -2021-05-14T08:59:30.873757+02:00 \ No newline at end of file +2021-05-24T10:37:36.300172-04:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogDashboardTraceService_import.freeze b/datadog/tests/cassettes/TestAccDatadogDashboardTraceService_import.freeze index 8574298bd..2ed6a3cf7 100644 --- a/datadog/tests/cassettes/TestAccDatadogDashboardTraceService_import.freeze +++ b/datadog/tests/cassettes/TestAccDatadogDashboardTraceService_import.freeze @@ -1 +1 @@ -2021-05-14T08:59:30.87422+02:00 \ No newline at end of file +2021-05-24T10:37:36.281069-04:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogDashboard_import.freeze b/datadog/tests/cassettes/TestAccDatadogDashboard_import.freeze index afa830e3b..37e2a1299 100644 --- a/datadog/tests/cassettes/TestAccDatadogDashboard_import.freeze +++ b/datadog/tests/cassettes/TestAccDatadogDashboard_import.freeze @@ -1 +1 @@ -2021-05-03T11:40:24.869737+02:00 \ No newline at end of file +2021-05-24T10:37:36.320473-04:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogDashboard_update.freeze b/datadog/tests/cassettes/TestAccDatadogDashboard_update.freeze index 9fe928329..ba0e5d3ac 100644 --- a/datadog/tests/cassettes/TestAccDatadogDashboard_update.freeze +++ b/datadog/tests/cassettes/TestAccDatadogDashboard_update.freeze @@ -1 +1 @@ -2021-05-03T11:37:50.130001+02:00 \ No newline at end of file +2021-05-24T10:37:36.333559-04:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogDowntimeDates.freeze b/datadog/tests/cassettes/TestAccDatadogDowntimeDates.freeze index eac53b281..00fd270b7 100644 --- a/datadog/tests/cassettes/TestAccDatadogDowntimeDates.freeze +++ b/datadog/tests/cassettes/TestAccDatadogDowntimeDates.freeze @@ -1 +1 @@ -2020-12-31T15:42:08.800524+01:00 \ No newline at end of file +2021-05-24T10:37:36.493395-04:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogDowntimeDatesConflict.freeze b/datadog/tests/cassettes/TestAccDatadogDowntimeDatesConflict.freeze index 76a09e4ef..373335a19 100644 --- a/datadog/tests/cassettes/TestAccDatadogDowntimeDatesConflict.freeze +++ b/datadog/tests/cassettes/TestAccDatadogDowntimeDatesConflict.freeze @@ -1 +1 @@ -2020-12-31T15:42:08.801731+01:00 \ No newline at end of file +2021-05-24T10:37:36.477588-04:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogDowntime_Basic.freeze b/datadog/tests/cassettes/TestAccDatadogDowntime_Basic.freeze index a5e30a263..f79282915 100644 --- a/datadog/tests/cassettes/TestAccDatadogDowntime_Basic.freeze +++ b/datadog/tests/cassettes/TestAccDatadogDowntime_Basic.freeze @@ -1 +1 @@ -2020-12-31T15:42:08.783651+01:00 \ No newline at end of file +2021-05-24T10:37:36.529941-04:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogDowntime_BasicMultiScope.freeze b/datadog/tests/cassettes/TestAccDatadogDowntime_BasicMultiScope.freeze index 613182326..d5098eaba 100644 --- a/datadog/tests/cassettes/TestAccDatadogDowntime_BasicMultiScope.freeze +++ b/datadog/tests/cassettes/TestAccDatadogDowntime_BasicMultiScope.freeze @@ -1 +1 @@ -2020-12-31T15:42:08.788453+01:00 \ No newline at end of file +2021-05-24T10:37:36.517698-04:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogDowntime_BasicNoRecurrence.freeze b/datadog/tests/cassettes/TestAccDatadogDowntime_BasicNoRecurrence.freeze index efb0298ef..c8b117ae5 100644 --- a/datadog/tests/cassettes/TestAccDatadogDowntime_BasicNoRecurrence.freeze +++ b/datadog/tests/cassettes/TestAccDatadogDowntime_BasicNoRecurrence.freeze @@ -1 +1 @@ -2020-12-31T15:42:08.789946+01:00 \ No newline at end of file +2021-05-24T10:37:36.521373-04:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogDowntime_BasicUntilDateRecurrence.freeze b/datadog/tests/cassettes/TestAccDatadogDowntime_BasicUntilDateRecurrence.freeze index 5c79fdb61..de91f9774 100644 --- a/datadog/tests/cassettes/TestAccDatadogDowntime_BasicUntilDateRecurrence.freeze +++ b/datadog/tests/cassettes/TestAccDatadogDowntime_BasicUntilDateRecurrence.freeze @@ -1 +1 @@ -2020-12-31T15:42:08.791497+01:00 \ No newline at end of file +2021-05-24T10:37:36.517107-04:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogDowntime_BasicUntilOccurrencesRecurrence.freeze b/datadog/tests/cassettes/TestAccDatadogDowntime_BasicUntilOccurrencesRecurrence.freeze index f24753a4d..1f2acc8e5 100644 --- a/datadog/tests/cassettes/TestAccDatadogDowntime_BasicUntilOccurrencesRecurrence.freeze +++ b/datadog/tests/cassettes/TestAccDatadogDowntime_BasicUntilOccurrencesRecurrence.freeze @@ -1 +1 @@ -2020-12-31T15:42:08.792762+01:00 \ No newline at end of file +2021-05-24T10:37:36.489796-04:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogDowntime_BasicWithMonitor.freeze b/datadog/tests/cassettes/TestAccDatadogDowntime_BasicWithMonitor.freeze index 353bbca9b..6a841c066 100644 --- a/datadog/tests/cassettes/TestAccDatadogDowntime_BasicWithMonitor.freeze +++ b/datadog/tests/cassettes/TestAccDatadogDowntime_BasicWithMonitor.freeze @@ -1 +1 @@ -2020-12-31T15:42:08.785663+01:00 \ No newline at end of file +2021-05-24T10:37:36.529704-04:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogDowntime_BasicWithMonitorTags.freeze b/datadog/tests/cassettes/TestAccDatadogDowntime_BasicWithMonitorTags.freeze index 851bc659a..e988707df 100644 --- a/datadog/tests/cassettes/TestAccDatadogDowntime_BasicWithMonitorTags.freeze +++ b/datadog/tests/cassettes/TestAccDatadogDowntime_BasicWithMonitorTags.freeze @@ -1 +1 @@ -2020-12-31T15:42:08.787158+01:00 \ No newline at end of file +2021-05-24T10:37:36.532927-04:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogDowntime_DiffStart.freeze b/datadog/tests/cassettes/TestAccDatadogDowntime_DiffStart.freeze index 4f23aa793..8377bd54e 100644 --- a/datadog/tests/cassettes/TestAccDatadogDowntime_DiffStart.freeze +++ b/datadog/tests/cassettes/TestAccDatadogDowntime_DiffStart.freeze @@ -1 +1 @@ -2021-04-22T18:05:51.631723+02:00 \ No newline at end of file +2021-05-24T10:37:36.492011-04:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogDowntime_RRule.freeze b/datadog/tests/cassettes/TestAccDatadogDowntime_RRule.freeze index f0e4271a7..cd0237a66 100644 --- a/datadog/tests/cassettes/TestAccDatadogDowntime_RRule.freeze +++ b/datadog/tests/cassettes/TestAccDatadogDowntime_RRule.freeze @@ -1 +1 @@ -2020-12-31T15:42:08.795409+01:00 \ No newline at end of file +2021-05-24T10:37:36.501606-04:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogDowntime_TrimWhitespace.freeze b/datadog/tests/cassettes/TestAccDatadogDowntime_TrimWhitespace.freeze index 0b27c79b9..524d1c81e 100644 --- a/datadog/tests/cassettes/TestAccDatadogDowntime_TrimWhitespace.freeze +++ b/datadog/tests/cassettes/TestAccDatadogDowntime_TrimWhitespace.freeze @@ -1 +1 @@ -2020-12-31T15:42:08.797929+01:00 \ No newline at end of file +2021-05-24T10:37:36.496519-04:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogDowntime_Updated.freeze b/datadog/tests/cassettes/TestAccDatadogDowntime_Updated.freeze index 0e8eb06fa..f99edb020 100644 --- a/datadog/tests/cassettes/TestAccDatadogDowntime_Updated.freeze +++ b/datadog/tests/cassettes/TestAccDatadogDowntime_Updated.freeze @@ -1 +1 @@ -2020-12-31T15:42:08.796658+01:00 \ No newline at end of file +2021-05-24T10:37:36.494668-04:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogDowntime_WeekDayRecurring.freeze b/datadog/tests/cassettes/TestAccDatadogDowntime_WeekDayRecurring.freeze index f0e043bf9..124877638 100644 --- a/datadog/tests/cassettes/TestAccDatadogDowntime_WeekDayRecurring.freeze +++ b/datadog/tests/cassettes/TestAccDatadogDowntime_WeekDayRecurring.freeze @@ -1 +1 @@ -2020-12-31T15:42:08.794199+01:00 \ No newline at end of file +2021-05-24T10:37:36.510315-04:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogFreeDashboard.freeze b/datadog/tests/cassettes/TestAccDatadogFreeDashboard.freeze index 6c7782bb3..c17f30fdd 100644 --- a/datadog/tests/cassettes/TestAccDatadogFreeDashboard.freeze +++ b/datadog/tests/cassettes/TestAccDatadogFreeDashboard.freeze @@ -1 +1 @@ -2021-05-03T11:38:01.138719+02:00 \ No newline at end of file +2021-05-24T10:37:36.333696-04:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogIntegrationAWS.freeze b/datadog/tests/cassettes/TestAccDatadogIntegrationAWS.freeze index 6f04fb27b..c008d2f72 100644 --- a/datadog/tests/cassettes/TestAccDatadogIntegrationAWS.freeze +++ b/datadog/tests/cassettes/TestAccDatadogIntegrationAWS.freeze @@ -1 +1 @@ -2020-12-31T15:42:28.691873+01:00 \ No newline at end of file +2021-05-24T10:37:36.215724-04:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogIntegrationAWSLambdaArn.freeze b/datadog/tests/cassettes/TestAccDatadogIntegrationAWSLambdaArn.freeze index b4ebb0286..dd6bdb943 100644 --- a/datadog/tests/cassettes/TestAccDatadogIntegrationAWSLambdaArn.freeze +++ b/datadog/tests/cassettes/TestAccDatadogIntegrationAWSLambdaArn.freeze @@ -1 +1 @@ -2020-12-31T15:42:08.803998+01:00 \ No newline at end of file +2021-05-24T10:37:36.206729-04:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogIntegrationAWSLogCollection.freeze b/datadog/tests/cassettes/TestAccDatadogIntegrationAWSLogCollection.freeze index e104f8ad2..6b4fd11f8 100644 --- a/datadog/tests/cassettes/TestAccDatadogIntegrationAWSLogCollection.freeze +++ b/datadog/tests/cassettes/TestAccDatadogIntegrationAWSLogCollection.freeze @@ -1 +1 @@ -2021-01-27T17:52:02.772145-05:00 \ No newline at end of file +2021-05-24T10:37:36.210165-04:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogIntegrationAwsTagFilter_Basic.freeze b/datadog/tests/cassettes/TestAccDatadogIntegrationAwsTagFilter_Basic.freeze index 63c435191..e9c43c744 100644 --- a/datadog/tests/cassettes/TestAccDatadogIntegrationAwsTagFilter_Basic.freeze +++ b/datadog/tests/cassettes/TestAccDatadogIntegrationAwsTagFilter_Basic.freeze @@ -1 +1 @@ -2021-02-08T09:24:53.23552-05:00 \ No newline at end of file +2021-05-24T10:37:36.212613-04:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogIntegrationAzure.freeze b/datadog/tests/cassettes/TestAccDatadogIntegrationAzure.freeze index 19d4c2ce3..6cd9ae54b 100644 --- a/datadog/tests/cassettes/TestAccDatadogIntegrationAzure.freeze +++ b/datadog/tests/cassettes/TestAccDatadogIntegrationAzure.freeze @@ -1 +1 @@ -2020-12-31T15:42:42.840905+01:00 \ No newline at end of file +2021-05-24T10:37:36.219384-04:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogIntegrationGCP.freeze b/datadog/tests/cassettes/TestAccDatadogIntegrationGCP.freeze index 562a42e3a..f60fffe11 100644 --- a/datadog/tests/cassettes/TestAccDatadogIntegrationGCP.freeze +++ b/datadog/tests/cassettes/TestAccDatadogIntegrationGCP.freeze @@ -1 +1 @@ -2021-03-30T13:30:54.526302-04:00 \ No newline at end of file +2021-05-24T10:37:36.221506-04:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogIntegrationPagerdutyServiceObject_Basic.freeze b/datadog/tests/cassettes/TestAccDatadogIntegrationPagerdutyServiceObject_Basic.freeze index 3e175e31a..bf2217cb7 100644 --- a/datadog/tests/cassettes/TestAccDatadogIntegrationPagerdutyServiceObject_Basic.freeze +++ b/datadog/tests/cassettes/TestAccDatadogIntegrationPagerdutyServiceObject_Basic.freeze @@ -1 +1 @@ -2020-12-31T15:42:59.710078+01:00 \ No newline at end of file +2021-05-24T10:37:36.224238-04:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogIntegrationPagerduty_Basic.freeze b/datadog/tests/cassettes/TestAccDatadogIntegrationPagerduty_Basic.freeze index 027b80e0b..c2229ebf7 100644 --- a/datadog/tests/cassettes/TestAccDatadogIntegrationPagerduty_Basic.freeze +++ b/datadog/tests/cassettes/TestAccDatadogIntegrationPagerduty_Basic.freeze @@ -1 +1 @@ -2020-12-31T15:43:22.176299+01:00 \ No newline at end of file +2021-05-24T10:37:36.226734-04:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogIntegrationPagerduty_Migrate2ServiceObjects.freeze b/datadog/tests/cassettes/TestAccDatadogIntegrationPagerduty_Migrate2ServiceObjects.freeze index d3c586f96..25f576622 100644 --- a/datadog/tests/cassettes/TestAccDatadogIntegrationPagerduty_Migrate2ServiceObjects.freeze +++ b/datadog/tests/cassettes/TestAccDatadogIntegrationPagerduty_Migrate2ServiceObjects.freeze @@ -1 +1 @@ -2020-12-31T15:43:32.639231+01:00 \ No newline at end of file +2021-05-24T10:37:36.231105-04:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogIntegrationPagerduty_TwoServices.freeze b/datadog/tests/cassettes/TestAccDatadogIntegrationPagerduty_TwoServices.freeze index 185589893..b8a09de7b 100644 --- a/datadog/tests/cassettes/TestAccDatadogIntegrationPagerduty_TwoServices.freeze +++ b/datadog/tests/cassettes/TestAccDatadogIntegrationPagerduty_TwoServices.freeze @@ -1 +1 @@ -2020-12-31T15:43:27.814555+01:00 \ No newline at end of file +2021-05-24T10:37:36.228905-04:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogIntegrationSlackChannel_Basic.freeze b/datadog/tests/cassettes/TestAccDatadogIntegrationSlackChannel_Basic.freeze index 782617481..4d9d0bb44 100644 --- a/datadog/tests/cassettes/TestAccDatadogIntegrationSlackChannel_Basic.freeze +++ b/datadog/tests/cassettes/TestAccDatadogIntegrationSlackChannel_Basic.freeze @@ -1 +1 @@ -2021-02-24T10:36:56.464519-05:00 \ No newline at end of file +2021-05-24T10:37:36.23522-04:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogIntegrationSlackChannel_Import.freeze b/datadog/tests/cassettes/TestAccDatadogIntegrationSlackChannel_Import.freeze index f5ad330be..d1d35cdf2 100644 --- a/datadog/tests/cassettes/TestAccDatadogIntegrationSlackChannel_Import.freeze +++ b/datadog/tests/cassettes/TestAccDatadogIntegrationSlackChannel_Import.freeze @@ -1 +1 @@ -2021-04-02T17:21:13.24789-04:00 \ No newline at end of file +2021-05-24T10:37:36.237417-04:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogIpRangesDatasource_existing.freeze b/datadog/tests/cassettes/TestAccDatadogIpRangesDatasource_existing.freeze index 8e8c0b8cd..c93b277e5 100644 --- a/datadog/tests/cassettes/TestAccDatadogIpRangesDatasource_existing.freeze +++ b/datadog/tests/cassettes/TestAccDatadogIpRangesDatasource_existing.freeze @@ -1 +1 @@ -2020-12-31T15:41:45.458709+01:00 \ No newline at end of file +2021-05-24T10:37:36.543977-04:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogLogsArchiveAzure_basic.freeze b/datadog/tests/cassettes/TestAccDatadogLogsArchiveAzure_basic.freeze index 8883866bb..b60a2ad71 100644 --- a/datadog/tests/cassettes/TestAccDatadogLogsArchiveAzure_basic.freeze +++ b/datadog/tests/cassettes/TestAccDatadogLogsArchiveAzure_basic.freeze @@ -1 +1 @@ -2021-02-11T11:22:42.274999+01:00 \ No newline at end of file +2021-05-24T10:37:36.2454-04:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogLogsArchiveAzure_basicDeprecated.freeze b/datadog/tests/cassettes/TestAccDatadogLogsArchiveAzure_basicDeprecated.freeze index 241b2b862..98b8150a6 100644 --- a/datadog/tests/cassettes/TestAccDatadogLogsArchiveAzure_basicDeprecated.freeze +++ b/datadog/tests/cassettes/TestAccDatadogLogsArchiveAzure_basicDeprecated.freeze @@ -1 +1 @@ -2021-02-11T11:22:37.567134+01:00 \ No newline at end of file +2021-05-24T10:37:36.242775-04:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogLogsArchiveGCS_basic.freeze b/datadog/tests/cassettes/TestAccDatadogLogsArchiveGCS_basic.freeze index 8407adc3e..2cfeb04a6 100644 --- a/datadog/tests/cassettes/TestAccDatadogLogsArchiveGCS_basic.freeze +++ b/datadog/tests/cassettes/TestAccDatadogLogsArchiveGCS_basic.freeze @@ -1 +1 @@ -2021-03-30T13:48:22.326086-04:00 \ No newline at end of file +2021-05-24T10:37:36.252561-04:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogLogsArchiveGCS_basicDeprecated.freeze b/datadog/tests/cassettes/TestAccDatadogLogsArchiveGCS_basicDeprecated.freeze index d2c5db607..6b5c1a632 100644 --- a/datadog/tests/cassettes/TestAccDatadogLogsArchiveGCS_basicDeprecated.freeze +++ b/datadog/tests/cassettes/TestAccDatadogLogsArchiveGCS_basicDeprecated.freeze @@ -1 +1 @@ -2021-03-30T13:48:19.618471-04:00 \ No newline at end of file +2021-05-24T10:37:36.250304-04:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogLogsArchiveOrder_basic.freeze b/datadog/tests/cassettes/TestAccDatadogLogsArchiveOrder_basic.freeze index 03a60a0e2..33617d809 100644 --- a/datadog/tests/cassettes/TestAccDatadogLogsArchiveOrder_basic.freeze +++ b/datadog/tests/cassettes/TestAccDatadogLogsArchiveOrder_basic.freeze @@ -1 +1 @@ -2020-12-31T15:43:54.931655+01:00 \ No newline at end of file +2021-05-24T10:37:36.238825-04:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogLogsArchiveOrder_empty.freeze b/datadog/tests/cassettes/TestAccDatadogLogsArchiveOrder_empty.freeze index a6b186c4e..19f6d7f36 100644 --- a/datadog/tests/cassettes/TestAccDatadogLogsArchiveOrder_empty.freeze +++ b/datadog/tests/cassettes/TestAccDatadogLogsArchiveOrder_empty.freeze @@ -1 +1 @@ -2020-12-31T15:43:56.214089+01:00 \ No newline at end of file +2021-05-24T10:37:36.24054-04:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogLogsArchiveS3Update_basic.freeze b/datadog/tests/cassettes/TestAccDatadogLogsArchiveS3Update_basic.freeze index e87b89508..542debeea 100644 --- a/datadog/tests/cassettes/TestAccDatadogLogsArchiveS3Update_basic.freeze +++ b/datadog/tests/cassettes/TestAccDatadogLogsArchiveS3Update_basic.freeze @@ -1 +1 @@ -2021-02-11T11:23:06.169854+01:00 \ No newline at end of file +2021-05-24T10:37:36.259033-04:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogLogsArchiveS3_basic.freeze b/datadog/tests/cassettes/TestAccDatadogLogsArchiveS3_basic.freeze index 0591437c5..1ff9d3768 100644 --- a/datadog/tests/cassettes/TestAccDatadogLogsArchiveS3_basic.freeze +++ b/datadog/tests/cassettes/TestAccDatadogLogsArchiveS3_basic.freeze @@ -1 +1 @@ -2021-02-11T11:22:59.849738+01:00 \ No newline at end of file +2021-05-24T10:37:36.256915-04:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogLogsArchiveS3_basicDeprecated.freeze b/datadog/tests/cassettes/TestAccDatadogLogsArchiveS3_basicDeprecated.freeze index b751c1ab9..0972213e5 100644 --- a/datadog/tests/cassettes/TestAccDatadogLogsArchiveS3_basicDeprecated.freeze +++ b/datadog/tests/cassettes/TestAccDatadogLogsArchiveS3_basicDeprecated.freeze @@ -1 +1 @@ -2021-02-11T11:22:54.537145+01:00 \ No newline at end of file +2021-05-24T10:37:36.254784-04:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogLogsMetric_Basic.freeze b/datadog/tests/cassettes/TestAccDatadogLogsMetric_Basic.freeze index c678ae87b..1050b153f 100644 --- a/datadog/tests/cassettes/TestAccDatadogLogsMetric_Basic.freeze +++ b/datadog/tests/cassettes/TestAccDatadogLogsMetric_Basic.freeze @@ -1 +1 @@ -2021-02-11T19:56:57.265256+01:00 \ No newline at end of file +2021-05-24T10:37:36.486855-04:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogLogsMetric_import.freeze b/datadog/tests/cassettes/TestAccDatadogLogsMetric_import.freeze index a912e1cbb..60b08c93b 100644 --- a/datadog/tests/cassettes/TestAccDatadogLogsMetric_import.freeze +++ b/datadog/tests/cassettes/TestAccDatadogLogsMetric_import.freeze @@ -1 +1 @@ -2021-02-11T19:56:57.261814+01:00 \ No newline at end of file +2021-05-24T10:37:36.488994-04:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogLogsPipelineEmptyFilterQuery.freeze b/datadog/tests/cassettes/TestAccDatadogLogsPipelineEmptyFilterQuery.freeze index 6428072bb..7b4b7c666 100644 --- a/datadog/tests/cassettes/TestAccDatadogLogsPipelineEmptyFilterQuery.freeze +++ b/datadog/tests/cassettes/TestAccDatadogLogsPipelineEmptyFilterQuery.freeze @@ -1 +1 @@ -2021-02-11T12:42:54.635337+01:00 \ No newline at end of file +2021-05-24T10:37:36.261335-04:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogLogsPipeline_basic.freeze b/datadog/tests/cassettes/TestAccDatadogLogsPipeline_basic.freeze index 8c31b6606..d321fff45 100644 --- a/datadog/tests/cassettes/TestAccDatadogLogsPipeline_basic.freeze +++ b/datadog/tests/cassettes/TestAccDatadogLogsPipeline_basic.freeze @@ -1 +1 @@ -2021-02-11T12:42:54.633672+01:00 \ No newline at end of file +2021-05-24T10:37:36.488524-04:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogMetricMetadata_Basic.freeze b/datadog/tests/cassettes/TestAccDatadogMetricMetadata_Basic.freeze index bd2aae8a2..a4f29fd7a 100644 --- a/datadog/tests/cassettes/TestAccDatadogMetricMetadata_Basic.freeze +++ b/datadog/tests/cassettes/TestAccDatadogMetricMetadata_Basic.freeze @@ -1 +1 @@ -2020-12-31T15:44:34.185227+01:00 \ No newline at end of file +2021-05-24T10:37:36.268036-04:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogMetricMetadata_Updated.freeze b/datadog/tests/cassettes/TestAccDatadogMetricMetadata_Updated.freeze index 3829f7a62..e3c69522b 100644 --- a/datadog/tests/cassettes/TestAccDatadogMetricMetadata_Updated.freeze +++ b/datadog/tests/cassettes/TestAccDatadogMetricMetadata_Updated.freeze @@ -1 +1 @@ -2020-12-31T15:44:35.49207+01:00 \ No newline at end of file +2021-05-24T10:37:36.273388-04:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogMetricTagConfiguration_Error.freeze b/datadog/tests/cassettes/TestAccDatadogMetricTagConfiguration_Error.freeze index 779ac436c..45b625f6d 100644 --- a/datadog/tests/cassettes/TestAccDatadogMetricTagConfiguration_Error.freeze +++ b/datadog/tests/cassettes/TestAccDatadogMetricTagConfiguration_Error.freeze @@ -1 +1 @@ -2021-05-03T11:43:36.459701+02:00 \ No newline at end of file +2021-05-24T10:37:36.275875-04:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogMonitorDatasource.freeze b/datadog/tests/cassettes/TestAccDatadogMonitorDatasource.freeze index 81bb25223..df2da9be5 100644 --- a/datadog/tests/cassettes/TestAccDatadogMonitorDatasource.freeze +++ b/datadog/tests/cassettes/TestAccDatadogMonitorDatasource.freeze @@ -1 +1 @@ -2021-01-12T15:04:25.506015+01:00 \ No newline at end of file +2021-05-24T10:37:36.540397-04:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogMonitorServiceCheck_Basic.freeze b/datadog/tests/cassettes/TestAccDatadogMonitorServiceCheck_Basic.freeze index 542d9fe1b..d845d6633 100644 --- a/datadog/tests/cassettes/TestAccDatadogMonitorServiceCheck_Basic.freeze +++ b/datadog/tests/cassettes/TestAccDatadogMonitorServiceCheck_Basic.freeze @@ -1 +1 @@ -2020-12-31T15:44:37.582677+01:00 \ No newline at end of file +2021-05-24T10:37:36.483586-04:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogMonitor_Basic.freeze b/datadog/tests/cassettes/TestAccDatadogMonitor_Basic.freeze index 66138ca12..622d4a3e4 100644 --- a/datadog/tests/cassettes/TestAccDatadogMonitor_Basic.freeze +++ b/datadog/tests/cassettes/TestAccDatadogMonitor_Basic.freeze @@ -1 +1 @@ -2020-12-31T15:44:37.581111+01:00 \ No newline at end of file +2021-05-24T10:37:36.483724-04:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogMonitor_BasicNoTreshold.freeze b/datadog/tests/cassettes/TestAccDatadogMonitor_BasicNoTreshold.freeze index 5528825dd..54a3a3f8e 100644 --- a/datadog/tests/cassettes/TestAccDatadogMonitor_BasicNoTreshold.freeze +++ b/datadog/tests/cassettes/TestAccDatadogMonitor_BasicNoTreshold.freeze @@ -1 +1 @@ -2020-12-31T15:44:37.58399+01:00 \ No newline at end of file +2021-05-24T10:37:36.483384-04:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogMonitor_Basic_float_int.freeze b/datadog/tests/cassettes/TestAccDatadogMonitor_Basic_float_int.freeze index 690f5a0ed..daa74f1d3 100644 --- a/datadog/tests/cassettes/TestAccDatadogMonitor_Basic_float_int.freeze +++ b/datadog/tests/cassettes/TestAccDatadogMonitor_Basic_float_int.freeze @@ -1 +1 @@ -2021-02-08T15:42:21.319801+01:00 \ No newline at end of file +2021-05-24T10:37:36.478842-04:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogMonitor_ComposeWithSyntheticsTest.freeze b/datadog/tests/cassettes/TestAccDatadogMonitor_ComposeWithSyntheticsTest.freeze index 06e1690b3..a34290a2b 100644 --- a/datadog/tests/cassettes/TestAccDatadogMonitor_ComposeWithSyntheticsTest.freeze +++ b/datadog/tests/cassettes/TestAccDatadogMonitor_ComposeWithSyntheticsTest.freeze @@ -1 +1 @@ -2021-04-02T13:12:17.309332+02:00 \ No newline at end of file +2021-05-24T10:37:36.47018-04:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogMonitor_Log.freeze b/datadog/tests/cassettes/TestAccDatadogMonitor_Log.freeze index 86c28ee31..c6738ada5 100644 --- a/datadog/tests/cassettes/TestAccDatadogMonitor_Log.freeze +++ b/datadog/tests/cassettes/TestAccDatadogMonitor_Log.freeze @@ -1 +1 @@ -2021-03-02T14:57:26.387907+01:00 \ No newline at end of file +2021-05-24T10:37:36.47329-04:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogMonitor_NoThresholdWindows.freeze b/datadog/tests/cassettes/TestAccDatadogMonitor_NoThresholdWindows.freeze index 8b62d1ae6..07f1a220c 100644 --- a/datadog/tests/cassettes/TestAccDatadogMonitor_NoThresholdWindows.freeze +++ b/datadog/tests/cassettes/TestAccDatadogMonitor_NoThresholdWindows.freeze @@ -1 +1 @@ -2020-12-31T15:44:37.592494+01:00 \ No newline at end of file +2021-05-24T10:37:36.43878-04:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogMonitor_RestrictedRoles.freeze b/datadog/tests/cassettes/TestAccDatadogMonitor_RestrictedRoles.freeze index dd63bd947..367b78cc7 100644 --- a/datadog/tests/cassettes/TestAccDatadogMonitor_RestrictedRoles.freeze +++ b/datadog/tests/cassettes/TestAccDatadogMonitor_RestrictedRoles.freeze @@ -1 +1 @@ -2021-01-29T18:41:44.143653-05:00 \ No newline at end of file +2021-05-24T10:37:36.469603-04:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogMonitor_SilencedUpdateNoDiff.freeze b/datadog/tests/cassettes/TestAccDatadogMonitor_SilencedUpdateNoDiff.freeze index 577d8891f..1e5e916ff 100644 --- a/datadog/tests/cassettes/TestAccDatadogMonitor_SilencedUpdateNoDiff.freeze +++ b/datadog/tests/cassettes/TestAccDatadogMonitor_SilencedUpdateNoDiff.freeze @@ -1 +1 @@ -2020-12-31T15:44:37.59894+01:00 \ No newline at end of file +2021-05-24T10:37:36.473999-04:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogMonitor_ThresholdWindows.freeze b/datadog/tests/cassettes/TestAccDatadogMonitor_ThresholdWindows.freeze index dd5e159ee..1af5ea614 100644 --- a/datadog/tests/cassettes/TestAccDatadogMonitor_ThresholdWindows.freeze +++ b/datadog/tests/cassettes/TestAccDatadogMonitor_ThresholdWindows.freeze @@ -1 +1 @@ -2020-12-31T15:44:37.593799+01:00 \ No newline at end of file +2021-05-24T10:37:36.473335-04:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogMonitor_TrimWhitespace.freeze b/datadog/tests/cassettes/TestAccDatadogMonitor_TrimWhitespace.freeze index 7850a6ed3..a1e3c4889 100644 --- a/datadog/tests/cassettes/TestAccDatadogMonitor_TrimWhitespace.freeze +++ b/datadog/tests/cassettes/TestAccDatadogMonitor_TrimWhitespace.freeze @@ -1 +1 @@ -2020-12-31T15:44:37.58812+01:00 \ No newline at end of file +2021-05-24T10:37:36.479741-04:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogMonitor_Updated.freeze b/datadog/tests/cassettes/TestAccDatadogMonitor_Updated.freeze index 2c3b9f8aa..3d971fb4a 100644 --- a/datadog/tests/cassettes/TestAccDatadogMonitor_Updated.freeze +++ b/datadog/tests/cassettes/TestAccDatadogMonitor_Updated.freeze @@ -1 +1 @@ -2021-02-01T22:50:15.580497-05:00 \ No newline at end of file +2021-05-24T10:37:36.48269-04:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogMonitor_UpdatedToRemoveTags.freeze b/datadog/tests/cassettes/TestAccDatadogMonitor_UpdatedToRemoveTags.freeze index 83c94a2fc..cec8e039f 100644 --- a/datadog/tests/cassettes/TestAccDatadogMonitor_UpdatedToRemoveTags.freeze +++ b/datadog/tests/cassettes/TestAccDatadogMonitor_UpdatedToRemoveTags.freeze @@ -1 +1 @@ -2021-02-01T22:50:15.582315-05:00 \ No newline at end of file +2021-05-24T10:37:36.478956-04:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogMonitor_ZeroDelay.freeze b/datadog/tests/cassettes/TestAccDatadogMonitor_ZeroDelay.freeze index 73b971566..63e5d8e3f 100644 --- a/datadog/tests/cassettes/TestAccDatadogMonitor_ZeroDelay.freeze +++ b/datadog/tests/cassettes/TestAccDatadogMonitor_ZeroDelay.freeze @@ -1 +1 @@ -2020-12-31T15:44:37.601678+01:00 \ No newline at end of file +2021-05-24T10:37:36.467223-04:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogMonitorsDatasource.freeze b/datadog/tests/cassettes/TestAccDatadogMonitorsDatasource.freeze index d65a169ba..d7c4a3844 100644 --- a/datadog/tests/cassettes/TestAccDatadogMonitorsDatasource.freeze +++ b/datadog/tests/cassettes/TestAccDatadogMonitorsDatasource.freeze @@ -1 +1 @@ -2021-04-29T12:20:30.636712+02:00 \ No newline at end of file +2021-05-24T10:37:36.544148-04:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogPermissionsDatasource.freeze b/datadog/tests/cassettes/TestAccDatadogPermissionsDatasource.freeze index cd23eb674..eace22210 100644 --- a/datadog/tests/cassettes/TestAccDatadogPermissionsDatasource.freeze +++ b/datadog/tests/cassettes/TestAccDatadogPermissionsDatasource.freeze @@ -1 +1 @@ -2020-12-31T15:41:45.463768+01:00 \ No newline at end of file +2021-05-24T10:37:36.542617-04:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogRoleDatasource.freeze b/datadog/tests/cassettes/TestAccDatadogRoleDatasource.freeze index f33239ad0..3f58e0d5c 100644 --- a/datadog/tests/cassettes/TestAccDatadogRoleDatasource.freeze +++ b/datadog/tests/cassettes/TestAccDatadogRoleDatasource.freeze @@ -1 +1 @@ -2021-02-15T14:21:57.89198+01:00 \ No newline at end of file +2021-05-24T10:37:36.535595-04:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogRoleDatasourceError.freeze b/datadog/tests/cassettes/TestAccDatadogRoleDatasourceError.freeze index 07065b2c6..f225f14ef 100644 --- a/datadog/tests/cassettes/TestAccDatadogRoleDatasourceError.freeze +++ b/datadog/tests/cassettes/TestAccDatadogRoleDatasourceError.freeze @@ -1 +1 @@ -2021-02-15T14:21:57.896103+01:00 \ No newline at end of file +2021-05-24T10:37:36.540354-04:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogRoleDatasourceExactMatch.freeze b/datadog/tests/cassettes/TestAccDatadogRoleDatasourceExactMatch.freeze index 15902d484..501fc5d78 100644 --- a/datadog/tests/cassettes/TestAccDatadogRoleDatasourceExactMatch.freeze +++ b/datadog/tests/cassettes/TestAccDatadogRoleDatasourceExactMatch.freeze @@ -1 +1 @@ -2021-02-15T14:21:57.89368+01:00 \ No newline at end of file +2021-05-24T10:37:36.543547-04:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogRole_CreateUpdate.freeze b/datadog/tests/cassettes/TestAccDatadogRole_CreateUpdate.freeze index 59d937a4b..cd30ad11e 100644 --- a/datadog/tests/cassettes/TestAccDatadogRole_CreateUpdate.freeze +++ b/datadog/tests/cassettes/TestAccDatadogRole_CreateUpdate.freeze @@ -1 +1 @@ -2021-02-15T14:21:57.897898+01:00 \ No newline at end of file +2021-05-24T10:37:36.463896-04:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogRole_InvalidPerm.freeze b/datadog/tests/cassettes/TestAccDatadogRole_InvalidPerm.freeze index 9953ed8d1..9ea2a9cb3 100644 --- a/datadog/tests/cassettes/TestAccDatadogRole_InvalidPerm.freeze +++ b/datadog/tests/cassettes/TestAccDatadogRole_InvalidPerm.freeze @@ -1 +1 @@ -2021-02-15T14:21:57.899612+01:00 \ No newline at end of file +2021-05-24T10:37:36.4633-04:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogScreenboard_update.freeze b/datadog/tests/cassettes/TestAccDatadogScreenboard_update.freeze index f5903581e..07ecf3abe 100644 --- a/datadog/tests/cassettes/TestAccDatadogScreenboard_update.freeze +++ b/datadog/tests/cassettes/TestAccDatadogScreenboard_update.freeze @@ -1 +1 @@ -2020-12-31T15:44:37.613176+01:00 \ No newline at end of file +2021-05-24T10:37:36.461431-04:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogSecurityMonitoringDefaultRule_Basic.freeze b/datadog/tests/cassettes/TestAccDatadogSecurityMonitoringDefaultRule_Basic.freeze index 6e9959127..1cc32a5fc 100644 --- a/datadog/tests/cassettes/TestAccDatadogSecurityMonitoringDefaultRule_Basic.freeze +++ b/datadog/tests/cassettes/TestAccDatadogSecurityMonitoringDefaultRule_Basic.freeze @@ -1 +1 @@ -2021-03-04T15:17:53.797072+01:00 \ No newline at end of file +2021-05-24T10:37:36.462074-04:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogSecurityMonitoringRuleDatasource.freeze b/datadog/tests/cassettes/TestAccDatadogSecurityMonitoringRuleDatasource.freeze index 6643238f5..c76307b41 100644 --- a/datadog/tests/cassettes/TestAccDatadogSecurityMonitoringRuleDatasource.freeze +++ b/datadog/tests/cassettes/TestAccDatadogSecurityMonitoringRuleDatasource.freeze @@ -1 +1 @@ -2021-01-22T17:06:40.551462-05:00 \ No newline at end of file +2021-05-24T10:37:36.536721-04:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogSecurityMonitoringRule_Basic.freeze b/datadog/tests/cassettes/TestAccDatadogSecurityMonitoringRule_Basic.freeze index b52ddb00f..e176e567f 100644 --- a/datadog/tests/cassettes/TestAccDatadogSecurityMonitoringRule_Basic.freeze +++ b/datadog/tests/cassettes/TestAccDatadogSecurityMonitoringRule_Basic.freeze @@ -1 +1 @@ -2021-01-22T17:06:52.177162-05:00 \ No newline at end of file +2021-05-24T10:37:36.459975-04:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogSecurityMonitoringRule_Import.freeze b/datadog/tests/cassettes/TestAccDatadogSecurityMonitoringRule_Import.freeze index bcce8224d..14a011115 100644 --- a/datadog/tests/cassettes/TestAccDatadogSecurityMonitoringRule_Import.freeze +++ b/datadog/tests/cassettes/TestAccDatadogSecurityMonitoringRule_Import.freeze @@ -1 +1 @@ -2021-01-22T17:06:52.17986-05:00 \ No newline at end of file +2021-05-24T10:37:36.455309-04:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogSecurityMonitoringRule_OnlyRequiredFields.freeze b/datadog/tests/cassettes/TestAccDatadogSecurityMonitoringRule_OnlyRequiredFields.freeze index 7ec03b8a5..ca7e45143 100644 --- a/datadog/tests/cassettes/TestAccDatadogSecurityMonitoringRule_OnlyRequiredFields.freeze +++ b/datadog/tests/cassettes/TestAccDatadogSecurityMonitoringRule_OnlyRequiredFields.freeze @@ -1 +1 @@ -2021-01-22T17:06:52.178581-05:00 \ No newline at end of file +2021-05-24T10:37:36.457319-04:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogServiceLevelObjectiveDatasource.freeze b/datadog/tests/cassettes/TestAccDatadogServiceLevelObjectiveDatasource.freeze index a80397e82..62f5fbe0c 100644 --- a/datadog/tests/cassettes/TestAccDatadogServiceLevelObjectiveDatasource.freeze +++ b/datadog/tests/cassettes/TestAccDatadogServiceLevelObjectiveDatasource.freeze @@ -1 +1 @@ -2021-04-30T14:29:18.144871+02:00 \ No newline at end of file +2021-05-24T10:37:36.536043-04:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogServiceLevelObjective_Basic.freeze b/datadog/tests/cassettes/TestAccDatadogServiceLevelObjective_Basic.freeze index 1668812b8..bc0469ad4 100644 --- a/datadog/tests/cassettes/TestAccDatadogServiceLevelObjective_Basic.freeze +++ b/datadog/tests/cassettes/TestAccDatadogServiceLevelObjective_Basic.freeze @@ -1 +1 @@ -2021-04-15T11:38:12.27234-04:00 \ No newline at end of file +2021-05-24T10:37:36.456245-04:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogServiceLevelObjective_InvalidMonitor.freeze b/datadog/tests/cassettes/TestAccDatadogServiceLevelObjective_InvalidMonitor.freeze index 27eb65ca4..d7bc9af66 100644 --- a/datadog/tests/cassettes/TestAccDatadogServiceLevelObjective_InvalidMonitor.freeze +++ b/datadog/tests/cassettes/TestAccDatadogServiceLevelObjective_InvalidMonitor.freeze @@ -1 +1 @@ -2021-04-15T11:38:12.272342-04:00 \ No newline at end of file +2021-05-24T10:37:36.4608-04:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogServiceLevelObjectivesDatasource.freeze b/datadog/tests/cassettes/TestAccDatadogServiceLevelObjectivesDatasource.freeze index 132e2a5fc..c0e11e3a3 100644 --- a/datadog/tests/cassettes/TestAccDatadogServiceLevelObjectivesDatasource.freeze +++ b/datadog/tests/cassettes/TestAccDatadogServiceLevelObjectivesDatasource.freeze @@ -1 +1 @@ -2021-05-17T10:47:31.90025-04:00 \ No newline at end of file +2021-05-24T10:37:36.497875-04:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogSloCorrection_Basic.freeze b/datadog/tests/cassettes/TestAccDatadogSloCorrection_Basic.freeze index ee33be748..7f1c7a559 100644 --- a/datadog/tests/cassettes/TestAccDatadogSloCorrection_Basic.freeze +++ b/datadog/tests/cassettes/TestAccDatadogSloCorrection_Basic.freeze @@ -1 +1 @@ -2021-04-15T11:38:24.036199-04:00 \ No newline at end of file +2021-05-24T10:37:36.453209-04:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogSloCorrection_Updated.freeze b/datadog/tests/cassettes/TestAccDatadogSloCorrection_Updated.freeze index 547103e59..337ab2706 100644 --- a/datadog/tests/cassettes/TestAccDatadogSloCorrection_Updated.freeze +++ b/datadog/tests/cassettes/TestAccDatadogSloCorrection_Updated.freeze @@ -1 +1 @@ -2021-04-15T11:38:24.036186-04:00 \ No newline at end of file +2021-05-24T10:37:36.451788-04:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogSyntheticsAPITest_Basic.freeze b/datadog/tests/cassettes/TestAccDatadogSyntheticsAPITest_Basic.freeze index 879f983fd..d4513105b 100644 --- a/datadog/tests/cassettes/TestAccDatadogSyntheticsAPITest_Basic.freeze +++ b/datadog/tests/cassettes/TestAccDatadogSyntheticsAPITest_Basic.freeze @@ -1 +1 @@ -2021-03-31T15:11:25.332564+02:00 \ No newline at end of file +2021-05-24T10:37:36.375927-04:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogSyntheticsAPITest_BasicDeprecated.freeze b/datadog/tests/cassettes/TestAccDatadogSyntheticsAPITest_BasicDeprecated.freeze index 66925156e..d40ab251a 100644 --- a/datadog/tests/cassettes/TestAccDatadogSyntheticsAPITest_BasicDeprecated.freeze +++ b/datadog/tests/cassettes/TestAccDatadogSyntheticsAPITest_BasicDeprecated.freeze @@ -1 +1 @@ -2021-03-31T15:11:32.566446+02:00 \ No newline at end of file +2021-05-24T10:37:36.376066-04:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogSyntheticsAPITest_BasicNewAssertionsOptions.freeze b/datadog/tests/cassettes/TestAccDatadogSyntheticsAPITest_BasicNewAssertionsOptions.freeze index 500c199ff..d3bef29e6 100644 --- a/datadog/tests/cassettes/TestAccDatadogSyntheticsAPITest_BasicNewAssertionsOptions.freeze +++ b/datadog/tests/cassettes/TestAccDatadogSyntheticsAPITest_BasicNewAssertionsOptions.freeze @@ -1 +1 @@ -2021-03-31T15:11:38.390471+02:00 \ No newline at end of file +2021-05-24T10:37:36.372281-04:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogSyntheticsAPITest_Updated.freeze b/datadog/tests/cassettes/TestAccDatadogSyntheticsAPITest_Updated.freeze index 2dc3e30d4..8b5eb2af5 100644 --- a/datadog/tests/cassettes/TestAccDatadogSyntheticsAPITest_Updated.freeze +++ b/datadog/tests/cassettes/TestAccDatadogSyntheticsAPITest_Updated.freeze @@ -1 +1 @@ -2021-03-31T15:11:44.280001+02:00 \ No newline at end of file +2021-05-24T10:37:36.372505-04:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogSyntheticsAPITest_UpdatedDeprecated.freeze b/datadog/tests/cassettes/TestAccDatadogSyntheticsAPITest_UpdatedDeprecated.freeze index b34a6c202..8ff5fc31a 100644 --- a/datadog/tests/cassettes/TestAccDatadogSyntheticsAPITest_UpdatedDeprecated.freeze +++ b/datadog/tests/cassettes/TestAccDatadogSyntheticsAPITest_UpdatedDeprecated.freeze @@ -1 +1 @@ -2021-03-31T15:11:52.660906+02:00 \ No newline at end of file +2021-05-24T10:37:36.376006-04:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogSyntheticsAPITest_UpdatedNewAssertionsOptions.freeze b/datadog/tests/cassettes/TestAccDatadogSyntheticsAPITest_UpdatedNewAssertionsOptions.freeze index 279a536ac..e36129239 100644 --- a/datadog/tests/cassettes/TestAccDatadogSyntheticsAPITest_UpdatedNewAssertionsOptions.freeze +++ b/datadog/tests/cassettes/TestAccDatadogSyntheticsAPITest_UpdatedNewAssertionsOptions.freeze @@ -1 +1 @@ -2021-03-31T15:12:00.468347+02:00 \ No newline at end of file +2021-05-24T10:37:36.373633-04:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogSyntheticsAPITest_importBasic.freeze b/datadog/tests/cassettes/TestAccDatadogSyntheticsAPITest_importBasic.freeze index 49c359bcd..6f27b97c4 100644 --- a/datadog/tests/cassettes/TestAccDatadogSyntheticsAPITest_importBasic.freeze +++ b/datadog/tests/cassettes/TestAccDatadogSyntheticsAPITest_importBasic.freeze @@ -1 +1 @@ -2021-03-31T15:12:07.773378+02:00 \ No newline at end of file +2021-05-24T10:37:36.439299-04:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogSyntheticsBrowserTestBrowserNewBrowserStep_Basic.freeze b/datadog/tests/cassettes/TestAccDatadogSyntheticsBrowserTestBrowserNewBrowserStep_Basic.freeze index 8682e0b7b..1c6067b48 100644 --- a/datadog/tests/cassettes/TestAccDatadogSyntheticsBrowserTestBrowserNewBrowserStep_Basic.freeze +++ b/datadog/tests/cassettes/TestAccDatadogSyntheticsBrowserTestBrowserNewBrowserStep_Basic.freeze @@ -1 +1 @@ -2021-04-08T11:52:28.223822+02:00 \ No newline at end of file +2021-05-24T10:37:36.349236-04:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogSyntheticsBrowserTestBrowserVariables_Basic.freeze b/datadog/tests/cassettes/TestAccDatadogSyntheticsBrowserTestBrowserVariables_Basic.freeze index b9dce3404..723d75744 100644 --- a/datadog/tests/cassettes/TestAccDatadogSyntheticsBrowserTestBrowserVariables_Basic.freeze +++ b/datadog/tests/cassettes/TestAccDatadogSyntheticsBrowserTestBrowserVariables_Basic.freeze @@ -1 +1 @@ -2021-03-31T15:12:24.121473+02:00 \ No newline at end of file +2021-05-24T10:37:36.352991-04:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogSyntheticsBrowserTest_Basic.freeze b/datadog/tests/cassettes/TestAccDatadogSyntheticsBrowserTest_Basic.freeze index ca67b28ae..fa7078573 100644 --- a/datadog/tests/cassettes/TestAccDatadogSyntheticsBrowserTest_Basic.freeze +++ b/datadog/tests/cassettes/TestAccDatadogSyntheticsBrowserTest_Basic.freeze @@ -1 +1 @@ -2021-04-30T11:05:29.087788+02:00 \ No newline at end of file +2021-05-24T10:37:36.354003-04:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogSyntheticsBrowserTest_Updated.freeze b/datadog/tests/cassettes/TestAccDatadogSyntheticsBrowserTest_Updated.freeze index 4d7bca4c7..071b66fa0 100644 --- a/datadog/tests/cassettes/TestAccDatadogSyntheticsBrowserTest_Updated.freeze +++ b/datadog/tests/cassettes/TestAccDatadogSyntheticsBrowserTest_Updated.freeze @@ -1 +1 @@ -2021-04-30T11:58:59.573995+02:00 \ No newline at end of file +2021-05-24T10:37:36.354159-04:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogSyntheticsBrowserTest_importBasic.freeze b/datadog/tests/cassettes/TestAccDatadogSyntheticsBrowserTest_importBasic.freeze index 9d6feb5ef..f8c67e9aa 100644 --- a/datadog/tests/cassettes/TestAccDatadogSyntheticsBrowserTest_importBasic.freeze +++ b/datadog/tests/cassettes/TestAccDatadogSyntheticsBrowserTest_importBasic.freeze @@ -1 +1 @@ -2021-04-30T11:59:17.993561+02:00 \ No newline at end of file +2021-05-24T10:37:36.376769-04:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogSyntheticsDNSTest_Basic.freeze b/datadog/tests/cassettes/TestAccDatadogSyntheticsDNSTest_Basic.freeze index eb26b0f87..ba5ccda81 100644 --- a/datadog/tests/cassettes/TestAccDatadogSyntheticsDNSTest_Basic.freeze +++ b/datadog/tests/cassettes/TestAccDatadogSyntheticsDNSTest_Basic.freeze @@ -1 +1 @@ -2021-04-30T11:46:48.05605+02:00 \ No newline at end of file +2021-05-24T10:37:36.361013-04:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogSyntheticsDNSTest_Updated.freeze b/datadog/tests/cassettes/TestAccDatadogSyntheticsDNSTest_Updated.freeze index 2243ba611..104e7973f 100644 --- a/datadog/tests/cassettes/TestAccDatadogSyntheticsDNSTest_Updated.freeze +++ b/datadog/tests/cassettes/TestAccDatadogSyntheticsDNSTest_Updated.freeze @@ -1 +1 @@ -2021-04-30T11:58:24.541778+02:00 \ No newline at end of file +2021-05-24T10:37:36.357937-04:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogSyntheticsDNSTest_importBasic.freeze b/datadog/tests/cassettes/TestAccDatadogSyntheticsDNSTest_importBasic.freeze index 111088e6d..43bb0fc43 100644 --- a/datadog/tests/cassettes/TestAccDatadogSyntheticsDNSTest_importBasic.freeze +++ b/datadog/tests/cassettes/TestAccDatadogSyntheticsDNSTest_importBasic.freeze @@ -1 +1 @@ -2021-04-30T11:58:51.485532+02:00 \ No newline at end of file +2021-05-24T10:37:36.385196-04:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogSyntheticsGlobalVariableFromTest_Basic.freeze b/datadog/tests/cassettes/TestAccDatadogSyntheticsGlobalVariableFromTest_Basic.freeze index e0a0be427..b01317d2d 100644 --- a/datadog/tests/cassettes/TestAccDatadogSyntheticsGlobalVariableFromTest_Basic.freeze +++ b/datadog/tests/cassettes/TestAccDatadogSyntheticsGlobalVariableFromTest_Basic.freeze @@ -1 +1 @@ -2021-03-31T15:13:12.802537+02:00 \ No newline at end of file +2021-05-24T10:37:36.444482-04:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogSyntheticsGlobalVariableSecure_Basic.freeze b/datadog/tests/cassettes/TestAccDatadogSyntheticsGlobalVariableSecure_Basic.freeze index a4ef2277b..c4fcfa613 100644 --- a/datadog/tests/cassettes/TestAccDatadogSyntheticsGlobalVariableSecure_Basic.freeze +++ b/datadog/tests/cassettes/TestAccDatadogSyntheticsGlobalVariableSecure_Basic.freeze @@ -1 +1 @@ -2021-03-31T15:13:21.203013+02:00 \ No newline at end of file +2021-05-24T10:37:36.452507-04:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogSyntheticsGlobalVariableSecure_Updated.freeze b/datadog/tests/cassettes/TestAccDatadogSyntheticsGlobalVariableSecure_Updated.freeze index 4887a3446..547918ed9 100644 --- a/datadog/tests/cassettes/TestAccDatadogSyntheticsGlobalVariableSecure_Updated.freeze +++ b/datadog/tests/cassettes/TestAccDatadogSyntheticsGlobalVariableSecure_Updated.freeze @@ -1 +1 @@ -2021-05-17T14:05:35.08015-04:00 \ No newline at end of file +2021-05-24T10:37:36.44441-04:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogSyntheticsGlobalVariable_Basic.freeze b/datadog/tests/cassettes/TestAccDatadogSyntheticsGlobalVariable_Basic.freeze index c77101186..ddc509403 100644 --- a/datadog/tests/cassettes/TestAccDatadogSyntheticsGlobalVariable_Basic.freeze +++ b/datadog/tests/cassettes/TestAccDatadogSyntheticsGlobalVariable_Basic.freeze @@ -1 +1 @@ -2021-03-31T15:13:31.620246+02:00 \ No newline at end of file +2021-05-24T10:37:36.44856-04:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogSyntheticsGlobalVariable_Updated.freeze b/datadog/tests/cassettes/TestAccDatadogSyntheticsGlobalVariable_Updated.freeze index 062ca1f10..367b7600a 100644 --- a/datadog/tests/cassettes/TestAccDatadogSyntheticsGlobalVariable_Updated.freeze +++ b/datadog/tests/cassettes/TestAccDatadogSyntheticsGlobalVariable_Updated.freeze @@ -1 +1 @@ -2021-03-31T15:13:36.571469+02:00 \ No newline at end of file +2021-05-24T10:37:36.446056-04:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogSyntheticsGlobalVariable_importBasic.freeze b/datadog/tests/cassettes/TestAccDatadogSyntheticsGlobalVariable_importBasic.freeze index da86dec8b..c5d74f6ae 100644 --- a/datadog/tests/cassettes/TestAccDatadogSyntheticsGlobalVariable_importBasic.freeze +++ b/datadog/tests/cassettes/TestAccDatadogSyntheticsGlobalVariable_importBasic.freeze @@ -1 +1 @@ -2021-03-31T15:13:41.941383+02:00 \ No newline at end of file +2021-05-24T10:37:36.45078-04:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogSyntheticsICMPTest_Basic.freeze b/datadog/tests/cassettes/TestAccDatadogSyntheticsICMPTest_Basic.freeze index d0bf8e675..b6a4f5558 100644 --- a/datadog/tests/cassettes/TestAccDatadogSyntheticsICMPTest_Basic.freeze +++ b/datadog/tests/cassettes/TestAccDatadogSyntheticsICMPTest_Basic.freeze @@ -1 +1 @@ -2021-04-28T08:51:10.526148+02:00 \ No newline at end of file +2021-05-24T10:37:36.357268-04:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogSyntheticsPrivateLocation_Basic.freeze b/datadog/tests/cassettes/TestAccDatadogSyntheticsPrivateLocation_Basic.freeze index 51405b3e5..999d056db 100644 --- a/datadog/tests/cassettes/TestAccDatadogSyntheticsPrivateLocation_Basic.freeze +++ b/datadog/tests/cassettes/TestAccDatadogSyntheticsPrivateLocation_Basic.freeze @@ -1 +1 @@ -2021-03-31T15:13:46.541081+02:00 \ No newline at end of file +2021-05-24T10:37:36.440914-04:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogSyntheticsPrivateLocation_Updated.freeze b/datadog/tests/cassettes/TestAccDatadogSyntheticsPrivateLocation_Updated.freeze index 1179e2a75..990185d74 100644 --- a/datadog/tests/cassettes/TestAccDatadogSyntheticsPrivateLocation_Updated.freeze +++ b/datadog/tests/cassettes/TestAccDatadogSyntheticsPrivateLocation_Updated.freeze @@ -1 +1 @@ -2021-03-31T15:13:51.922153+02:00 \ No newline at end of file +2021-05-24T10:37:36.438879-04:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogSyntheticsPrivateLocation_importBasic.freeze b/datadog/tests/cassettes/TestAccDatadogSyntheticsPrivateLocation_importBasic.freeze index f493b5feb..a7bb1eb03 100644 --- a/datadog/tests/cassettes/TestAccDatadogSyntheticsPrivateLocation_importBasic.freeze +++ b/datadog/tests/cassettes/TestAccDatadogSyntheticsPrivateLocation_importBasic.freeze @@ -1 +1 @@ -2021-03-31T15:13:58.727241+02:00 \ No newline at end of file +2021-05-24T10:37:36.445301-04:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogSyntheticsSSLMissingTagsAttributeTest_Basic.freeze b/datadog/tests/cassettes/TestAccDatadogSyntheticsSSLMissingTagsAttributeTest_Basic.freeze index 643dd8092..60768ffd4 100644 --- a/datadog/tests/cassettes/TestAccDatadogSyntheticsSSLMissingTagsAttributeTest_Basic.freeze +++ b/datadog/tests/cassettes/TestAccDatadogSyntheticsSSLMissingTagsAttributeTest_Basic.freeze @@ -1 +1 @@ -2021-03-31T15:14:06.683428+02:00 \ No newline at end of file +2021-05-24T10:37:36.361347-04:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogSyntheticsSSLTest_Basic.freeze b/datadog/tests/cassettes/TestAccDatadogSyntheticsSSLTest_Basic.freeze index 861e2293a..0b24d5956 100644 --- a/datadog/tests/cassettes/TestAccDatadogSyntheticsSSLTest_Basic.freeze +++ b/datadog/tests/cassettes/TestAccDatadogSyntheticsSSLTest_Basic.freeze @@ -1 +1 @@ -2021-03-31T15:14:13.047336+02:00 \ No newline at end of file +2021-05-24T10:37:36.372552-04:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogSyntheticsSSLTest_Updated.freeze b/datadog/tests/cassettes/TestAccDatadogSyntheticsSSLTest_Updated.freeze index ac5006c9d..945e7975a 100644 --- a/datadog/tests/cassettes/TestAccDatadogSyntheticsSSLTest_Updated.freeze +++ b/datadog/tests/cassettes/TestAccDatadogSyntheticsSSLTest_Updated.freeze @@ -1 +1 @@ -2021-03-31T15:14:18.595639+02:00 \ No newline at end of file +2021-05-24T10:37:36.3663-04:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogSyntheticsSSLTest_importBasic.freeze b/datadog/tests/cassettes/TestAccDatadogSyntheticsSSLTest_importBasic.freeze index 8f7dd1675..8db0cef37 100644 --- a/datadog/tests/cassettes/TestAccDatadogSyntheticsSSLTest_importBasic.freeze +++ b/datadog/tests/cassettes/TestAccDatadogSyntheticsSSLTest_importBasic.freeze @@ -1 +1 @@ -2021-03-31T15:14:28.090343+02:00 \ No newline at end of file +2021-05-24T10:37:36.38896-04:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogSyntheticsTCPTest_Basic.freeze b/datadog/tests/cassettes/TestAccDatadogSyntheticsTCPTest_Basic.freeze index 47b9ade1d..6b5e711ed 100644 --- a/datadog/tests/cassettes/TestAccDatadogSyntheticsTCPTest_Basic.freeze +++ b/datadog/tests/cassettes/TestAccDatadogSyntheticsTCPTest_Basic.freeze @@ -1 +1 @@ -2021-03-31T15:14:35.244242+02:00 \ No newline at end of file +2021-05-24T10:37:36.360035-04:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogSyntheticsTCPTest_Updated.freeze b/datadog/tests/cassettes/TestAccDatadogSyntheticsTCPTest_Updated.freeze index 22bbf39e7..21e12b0e8 100644 --- a/datadog/tests/cassettes/TestAccDatadogSyntheticsTCPTest_Updated.freeze +++ b/datadog/tests/cassettes/TestAccDatadogSyntheticsTCPTest_Updated.freeze @@ -1 +1 @@ -2021-03-31T15:14:40.961224+02:00 \ No newline at end of file +2021-05-24T10:37:36.359463-04:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogSyntheticsTCPTest_importBasic.freeze b/datadog/tests/cassettes/TestAccDatadogSyntheticsTCPTest_importBasic.freeze index 57e12e135..b0b2abab9 100644 --- a/datadog/tests/cassettes/TestAccDatadogSyntheticsTCPTest_importBasic.freeze +++ b/datadog/tests/cassettes/TestAccDatadogSyntheticsTCPTest_importBasic.freeze @@ -1 +1 @@ -2021-03-31T15:14:48.939141+02:00 \ No newline at end of file +2021-05-24T10:37:36.380643-04:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogSyntheticsTestBrowserMML_Basic.freeze b/datadog/tests/cassettes/TestAccDatadogSyntheticsTestBrowserMML_Basic.freeze index 730860f87..db2c8decf 100644 --- a/datadog/tests/cassettes/TestAccDatadogSyntheticsTestBrowserMML_Basic.freeze +++ b/datadog/tests/cassettes/TestAccDatadogSyntheticsTestBrowserMML_Basic.freeze @@ -1 +1 @@ -2021-04-02T11:59:44.77686+02:00 \ No newline at end of file +2021-05-24T10:37:36.348455-04:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogSyntheticsTestMultistepApi_Basic.freeze b/datadog/tests/cassettes/TestAccDatadogSyntheticsTestMultistepApi_Basic.freeze index 2f6f8c92e..186424a5f 100644 --- a/datadog/tests/cassettes/TestAccDatadogSyntheticsTestMultistepApi_Basic.freeze +++ b/datadog/tests/cassettes/TestAccDatadogSyntheticsTestMultistepApi_Basic.freeze @@ -1 +1 @@ -2021-04-30T11:57:49.509326+02:00 \ No newline at end of file +2021-05-24T10:37:36.357006-04:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogTimeboard_update.freeze b/datadog/tests/cassettes/TestAccDatadogTimeboard_update.freeze index 8eb856790..269b1c8a2 100644 --- a/datadog/tests/cassettes/TestAccDatadogTimeboard_update.freeze +++ b/datadog/tests/cassettes/TestAccDatadogTimeboard_update.freeze @@ -1 +1 @@ -2020-12-31T15:44:37.719751+01:00 \ No newline at end of file +2021-05-24T10:37:36.341132-04:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogUser_Existing.freeze b/datadog/tests/cassettes/TestAccDatadogUser_Existing.freeze index 624106099..6f52b4a61 100644 --- a/datadog/tests/cassettes/TestAccDatadogUser_Existing.freeze +++ b/datadog/tests/cassettes/TestAccDatadogUser_Existing.freeze @@ -1 +1 @@ -2021-02-16T10:56:59.630091+01:00 \ No newline at end of file +2021-05-24T10:37:36.298571-04:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogUser_Invitation.freeze b/datadog/tests/cassettes/TestAccDatadogUser_Invitation.freeze index 0cab3b469..2a40a32fb 100644 --- a/datadog/tests/cassettes/TestAccDatadogUser_Invitation.freeze +++ b/datadog/tests/cassettes/TestAccDatadogUser_Invitation.freeze @@ -1 +1 @@ -2021-02-16T10:56:59.625752+01:00 \ No newline at end of file +2021-05-24T10:37:36.347582-04:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogUser_NoInvitation.freeze b/datadog/tests/cassettes/TestAccDatadogUser_NoInvitation.freeze index 3974c81e0..1b6faf21e 100644 --- a/datadog/tests/cassettes/TestAccDatadogUser_NoInvitation.freeze +++ b/datadog/tests/cassettes/TestAccDatadogUser_NoInvitation.freeze @@ -1 +1 @@ -2021-02-16T10:56:59.628383+01:00 \ No newline at end of file +2021-05-24T10:37:36.341242-04:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogUser_RoleDatasource.freeze b/datadog/tests/cassettes/TestAccDatadogUser_RoleDatasource.freeze index 35d767b15..be2065745 100644 --- a/datadog/tests/cassettes/TestAccDatadogUser_RoleDatasource.freeze +++ b/datadog/tests/cassettes/TestAccDatadogUser_RoleDatasource.freeze @@ -1 +1 @@ -2021-02-16T10:56:59.631949+01:00 \ No newline at end of file +2021-05-24T10:37:36.29711-04:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogUser_UpdateRole.freeze b/datadog/tests/cassettes/TestAccDatadogUser_UpdateRole.freeze index 1c32a74d8..0b622bb24 100644 --- a/datadog/tests/cassettes/TestAccDatadogUser_UpdateRole.freeze +++ b/datadog/tests/cassettes/TestAccDatadogUser_UpdateRole.freeze @@ -1 +1 @@ -2021-02-16T10:56:59.634428+01:00 \ No newline at end of file +2021-05-24T10:37:36.283351-04:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogUser_Updated.freeze b/datadog/tests/cassettes/TestAccDatadogUser_Updated.freeze index d286fd30b..0957d9add 100644 --- a/datadog/tests/cassettes/TestAccDatadogUser_Updated.freeze +++ b/datadog/tests/cassettes/TestAccDatadogUser_Updated.freeze @@ -1 +1 @@ -2021-02-16T10:56:59.624166+01:00 \ No newline at end of file +2021-05-24T10:37:36.342668-04:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatatogSyntheticsLocation_existing.freeze b/datadog/tests/cassettes/TestAccDatatogSyntheticsLocation_existing.freeze index 2ca5290d1..79617baa3 100644 --- a/datadog/tests/cassettes/TestAccDatatogSyntheticsLocation_existing.freeze +++ b/datadog/tests/cassettes/TestAccDatatogSyntheticsLocation_existing.freeze @@ -1 +1 @@ -2021-03-31T13:21:32.834711+02:00 \ No newline at end of file +2021-05-24T10:37:36.536465-04:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccLogsCustomPipeline_importBasic.freeze b/datadog/tests/cassettes/TestAccLogsCustomPipeline_importBasic.freeze index 62ab4bf5a..0483404db 100644 --- a/datadog/tests/cassettes/TestAccLogsCustomPipeline_importBasic.freeze +++ b/datadog/tests/cassettes/TestAccLogsCustomPipeline_importBasic.freeze @@ -1 +1 @@ -2021-02-11T18:53:32.609954+01:00 \ No newline at end of file +2021-05-24T10:37:36.517303-04:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestDatadogDashListImport.freeze b/datadog/tests/cassettes/TestDatadogDashListImport.freeze index a7d3318d5..76c96d0df 100644 --- a/datadog/tests/cassettes/TestDatadogDashListImport.freeze +++ b/datadog/tests/cassettes/TestDatadogDashListImport.freeze @@ -1 +1 @@ -2021-05-14T09:02:16.039788+02:00 \ No newline at end of file +2021-05-24T10:37:36.193534-04:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestDatadogDashListInDashboard.freeze b/datadog/tests/cassettes/TestDatadogDashListInDashboard.freeze index 44cafa7d5..75a248fd0 100644 --- a/datadog/tests/cassettes/TestDatadogDashListInDashboard.freeze +++ b/datadog/tests/cassettes/TestDatadogDashListInDashboard.freeze @@ -1 +1 @@ -2020-12-31T15:42:08.157786+01:00 \ No newline at end of file +2021-05-24T10:37:36.195025-04:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestDatadogDowntime_import.freeze b/datadog/tests/cassettes/TestDatadogDowntime_import.freeze index 98335c30f..151176248 100644 --- a/datadog/tests/cassettes/TestDatadogDowntime_import.freeze +++ b/datadog/tests/cassettes/TestDatadogDowntime_import.freeze @@ -1 +1 @@ -2020-12-31T15:42:02.854961+01:00 \ No newline at end of file +2021-05-24T10:37:36.156566-04:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestDatadogIntegrationPagerduty_import.freeze b/datadog/tests/cassettes/TestDatadogIntegrationPagerduty_import.freeze index 90c555060..cd93f14b7 100644 --- a/datadog/tests/cassettes/TestDatadogIntegrationPagerduty_import.freeze +++ b/datadog/tests/cassettes/TestDatadogIntegrationPagerduty_import.freeze @@ -1 +1 @@ -2020-12-31T15:42:04.377732+01:00 \ No newline at end of file +2021-05-24T10:37:36.1595-04:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestDatadogMonitor_import.freeze b/datadog/tests/cassettes/TestDatadogMonitor_import.freeze index 361cf077a..372e5900f 100644 --- a/datadog/tests/cassettes/TestDatadogMonitor_import.freeze +++ b/datadog/tests/cassettes/TestDatadogMonitor_import.freeze @@ -1 +1 @@ -2021-03-31T13:23:09.294353+02:00 \ No newline at end of file +2021-05-24T10:37:36.514799-04:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestDatadogMonitor_importNoDataTimeFrame.freeze b/datadog/tests/cassettes/TestDatadogMonitor_importNoDataTimeFrame.freeze index 10a90fa04..2a4cfbb7c 100644 --- a/datadog/tests/cassettes/TestDatadogMonitor_importNoDataTimeFrame.freeze +++ b/datadog/tests/cassettes/TestDatadogMonitor_importNoDataTimeFrame.freeze @@ -1 +1 @@ -2021-03-31T13:23:09.29527+02:00 \ No newline at end of file +2021-05-24T10:37:36.509834-04:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestDatadogMonitor_import_no_recovery.freeze b/datadog/tests/cassettes/TestDatadogMonitor_import_no_recovery.freeze index b9cb04e4c..08425f9a4 100644 --- a/datadog/tests/cassettes/TestDatadogMonitor_import_no_recovery.freeze +++ b/datadog/tests/cassettes/TestDatadogMonitor_import_no_recovery.freeze @@ -1 +1 @@ -2021-03-31T13:23:09.294741+02:00 \ No newline at end of file +2021-05-24T10:37:36.513901-04:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestDatadogUser_import.freeze b/datadog/tests/cassettes/TestDatadogUser_import.freeze index 46eacb720..07c17dfb6 100644 --- a/datadog/tests/cassettes/TestDatadogUser_import.freeze +++ b/datadog/tests/cassettes/TestDatadogUser_import.freeze @@ -1 +1 @@ -2021-01-06T12:17:26.582261+01:00 \ No newline at end of file +2021-05-24T10:37:36.509417-04:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestProvider.freeze b/datadog/tests/cassettes/TestProvider.freeze index d1f4960ac..30a8cc63c 100644 --- a/datadog/tests/cassettes/TestProvider.freeze +++ b/datadog/tests/cassettes/TestProvider.freeze @@ -1 +1 @@ -2020-12-31T15:42:08.065993+01:00 \ No newline at end of file +2021-05-24T10:37:36.166221-04:00 \ No newline at end of file diff --git a/datadog/tests/resource_datadog_dashboard_change_test.go b/datadog/tests/resource_datadog_dashboard_change_test.go index 01de77819..b1cf5c0a0 100644 --- a/datadog/tests/resource_datadog_dashboard_change_test.go +++ b/datadog/tests/resource_datadog_dashboard_change_test.go @@ -75,6 +75,11 @@ resource "datadog_dashboard" "change_dashboard" { link = "https://app.datadoghq.com/dashboard/lists" label = "Test Custom Link label" } + custom_link { + link = "https://app.datadoghq.com/dashboard/lists" + is_hidden = true + override_label = "logs" + } } } widget { @@ -129,9 +134,12 @@ var datadogDashboardChangeAsserts = []string{ "widget.0.change_definition.0.request.0.order_by =", "widget.1.change_definition.0.live_span = 1h", "widget.0.change_definition.0.request.0.compare_to =", - "widget.1.change_definition.0.custom_link.# = 1", + "widget.1.change_definition.0.custom_link.# = 2", "widget.1.change_definition.0.custom_link.0.label = Test Custom Link label", "widget.1.change_definition.0.custom_link.0.link = https://app.datadoghq.com/dashboard/lists", + "widget.1.change_definition.0.custom_link.1.override_label = logs", + "widget.1.change_definition.0.custom_link.1.link = https://app.datadoghq.com/dashboard/lists", + "widget.1.change_definition.0.custom_link.1.is_hidden = true", // Deprecated widget "widget.2.change_definition.0.title_align = left", "widget.2.change_definition.0.request.0.change_type = absolute", diff --git a/datadog/tests/resource_datadog_dashboard_geomap_test.go b/datadog/tests/resource_datadog_dashboard_geomap_test.go index 24452cfea..cc44a8f9e 100644 --- a/datadog/tests/resource_datadog_dashboard_geomap_test.go +++ b/datadog/tests/resource_datadog_dashboard_geomap_test.go @@ -47,6 +47,11 @@ resource "datadog_dashboard" "geomap_dashboard" { link = "https://app.datadoghq.com/dashboard/lists" label = "Test Custom Link label" } + custom_link { + link = "https://app.datadoghq.com/dashboard/lists" + is_hidden = true + override_label = "logs" + } } } widget { @@ -196,9 +201,12 @@ var datadogDashboardGeomapAsserts = []string{ "widget.1.geomap_definition.0.style.0.palette = hostmap_blues", "widget.1.geomap_definition.0.style.0.palette_flip = false", "widget.1.geomap_definition.0.view.0.focus = WORLD", - "widget.1.geomap_definition.0.custom_link.# = 1", + "widget.1.geomap_definition.0.custom_link.# = 2", "widget.1.geomap_definition.0.custom_link.0.label = Test Custom Link label", "widget.1.geomap_definition.0.custom_link.0.link = https://app.datadoghq.com/dashboard/lists", + "widget.1.geomap_definition.0.custom_link.1.override_label = logs", + "widget.1.geomap_definition.0.custom_link.1.link = https://app.datadoghq.com/dashboard/lists", + "widget.1.geomap_definition.0.custom_link.1.is_hidden = true", "widget.2.geomap_definition.0.live_span = 4h", "widget.2.geomap_definition.0.request.0.rum_query.0.compute_query.0.aggregation = count", "widget.2.geomap_definition.0.request.0.rum_query.0.index = *", diff --git a/datadog/tests/resource_datadog_dashboard_heatmap_test.go b/datadog/tests/resource_datadog_dashboard_heatmap_test.go index c370c859d..666c93fb1 100644 --- a/datadog/tests/resource_datadog_dashboard_heatmap_test.go +++ b/datadog/tests/resource_datadog_dashboard_heatmap_test.go @@ -37,6 +37,11 @@ resource "datadog_dashboard" "heatmap_dashboard" { link = "https://app.datadoghq.com/dashboard/lists" label = "Test Custom Link label" } + custom_link { + link = "https://app.datadoghq.com/dashboard/lists" + is_hidden = true + override_label = "logs" + } } } widget { @@ -129,9 +134,12 @@ var datadogDashboardHeatMapAsserts = []string{ "widget.0.heatmap_definition.0.event.0.tags_execution = and", "widget.0.heatmap_definition.0.show_legend = true", "widget.0.heatmap_definition.0.legend_size = 2", - "widget.0.heatmap_definition.0.custom_link.# = 1", + "widget.0.heatmap_definition.0.custom_link.# = 2", "widget.0.heatmap_definition.0.custom_link.0.label = Test Custom Link label", "widget.0.heatmap_definition.0.custom_link.0.link = https://app.datadoghq.com/dashboard/lists", + "widget.0.heatmap_definition.0.custom_link.1.override_label = logs", + "widget.0.heatmap_definition.0.custom_link.1.link = https://app.datadoghq.com/dashboard/lists", + "widget.0.heatmap_definition.0.custom_link.1.is_hidden = true", // Deprecated widget "widget.1.heatmap_definition.0.title = Avg of system.cpu.user over account:prod by app", "widget.1.heatmap_definition.0.title_align = center", diff --git a/datadog/tests/resource_datadog_dashboard_hostmap_test.go b/datadog/tests/resource_datadog_dashboard_hostmap_test.go index 2145622d5..eae2d54a4 100644 --- a/datadog/tests/resource_datadog_dashboard_hostmap_test.go +++ b/datadog/tests/resource_datadog_dashboard_hostmap_test.go @@ -39,6 +39,11 @@ resource "datadog_dashboard" "hostmap_dashboard" { link = "https://app.datadoghq.com/dashboard/lists" label = "Test Custom Link label" } + custom_link { + link = "https://app.datadoghq.com/dashboard/lists" + is_hidden = true + override_label = "logs" + } } } } @@ -63,9 +68,12 @@ var datadogDashboardHostMapAsserts = []string{ "is_read_only = true", "title = {{uniq}}", "widget.0.hostmap_definition.0.group.0 = region", - "widget.0.hostmap_definition.0.custom_link.# = 1", + "widget.0.hostmap_definition.0.custom_link.# = 2", "widget.0.hostmap_definition.0.custom_link.0.label = Test Custom Link label", "widget.0.hostmap_definition.0.custom_link.0.link = https://app.datadoghq.com/dashboard/lists", + "widget.0.hostmap_definition.0.custom_link.1.override_label = logs", + "widget.0.hostmap_definition.0.custom_link.1.link = https://app.datadoghq.com/dashboard/lists", + "widget.0.hostmap_definition.0.custom_link.1.is_hidden = true", } func TestAccDatadogDashboardHostMap(t *testing.T) { diff --git a/datadog/tests/resource_datadog_dashboard_query_table_test.go b/datadog/tests/resource_datadog_dashboard_query_table_test.go index 4c7071862..7904fef87 100644 --- a/datadog/tests/resource_datadog_dashboard_query_table_test.go +++ b/datadog/tests/resource_datadog_dashboard_query_table_test.go @@ -50,6 +50,11 @@ resource "datadog_dashboard" "query_table_dashboard" { link = "https://app.datadoghq.com/dashboard/lists" label = "Test Custom Link label" } + custom_link { + link = "https://app.datadoghq.com/dashboard/lists" + is_hidden = true + override_label = "logs" + } has_search_bar = "auto" } } @@ -230,9 +235,12 @@ var datadogDashboardQueryTableAsserts = []string{ "widget.1.query_table_definition.0.request.0.apm_stats_query.0.primary_tag = tag:*", "widget.1.query_table_definition.0.request.0.apm_stats_query.0.name = name", "widget.1.query_table_definition.0.request.0.apm_stats_query.0.row_type = resource", - "widget.0.query_table_definition.0.custom_link.# = 1", + "widget.0.query_table_definition.0.custom_link.# = 2", "widget.0.query_table_definition.0.custom_link.0.label = Test Custom Link label", "widget.0.query_table_definition.0.custom_link.0.link = https://app.datadoghq.com/dashboard/lists", + "widget.0.query_table_definition.0.custom_link.1.override_label = logs", + "widget.0.query_table_definition.0.custom_link.1.link = https://app.datadoghq.com/dashboard/lists", + "widget.0.query_table_definition.0.custom_link.1.is_hidden = true", "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", diff --git a/datadog/tests/resource_datadog_dashboard_query_value_test.go b/datadog/tests/resource_datadog_dashboard_query_value_test.go index 108d57bfb..13d5b270f 100644 --- a/datadog/tests/resource_datadog_dashboard_query_value_test.go +++ b/datadog/tests/resource_datadog_dashboard_query_value_test.go @@ -38,6 +38,11 @@ resource "datadog_dashboard" "query_value_dashboard" { link = "https://app.datadoghq.com/dashboard/lists" label = "Test Custom Link label" } + custom_link { + link = "https://app.datadoghq.com/dashboard/lists" + is_hidden = true + override_label = "logs" + } } } widget { @@ -207,9 +212,12 @@ var datadogDashboardQueryValueAsserts = []string{ "widget.0.query_value_definition.0.request.0.conditional_formats.0.custom_fg_color =", "is_read_only = true", "title = {{uniq}}", - "widget.0.query_value_definition.0.custom_link.# = 1", + "widget.0.query_value_definition.0.custom_link.# = 2", "widget.0.query_value_definition.0.custom_link.0.label = Test Custom Link label", "widget.0.query_value_definition.0.custom_link.0.link = https://app.datadoghq.com/dashboard/lists", + "widget.0.query_value_definition.0.custom_link.1.override_label = logs", + "widget.0.query_value_definition.0.custom_link.1.link = https://app.datadoghq.com/dashboard/lists", + "widget.0.query_value_definition.0.custom_link.1.is_hidden = true", // Deprecated widget "widget.1.query_value_definition.0.request.0.conditional_formats.0.comparator = <", "widget.1.query_value_definition.0.time.live_span = 1h", diff --git a/datadog/tests/resource_datadog_dashboard_scatterplot_test.go b/datadog/tests/resource_datadog_dashboard_scatterplot_test.go index 973dc1d9c..1a9fe1b8b 100644 --- a/datadog/tests/resource_datadog_dashboard_scatterplot_test.go +++ b/datadog/tests/resource_datadog_dashboard_scatterplot_test.go @@ -45,6 +45,11 @@ resource "datadog_dashboard" "scatterplot_dashboard" { link = "https://app.datadoghq.com/dashboard/lists" label = "Test Custom Link label" } + custom_link { + link = "https://app.datadoghq.com/dashboard/lists" + is_hidden = true + override_label = "logs" + } } } widget { @@ -158,9 +163,12 @@ var datadogDashboardScatterplotAsserts = []string{ "widget.0.scatterplot_definition.0.xaxis.0.label = cpu (%)", "widget.0.scatterplot_definition.0.request.0.y.0.aggregator = avg", "widget.0.scatterplot_definition.0.xaxis.0.scale = log", - "widget.0.scatterplot_definition.0.custom_link.# = 1", + "widget.0.scatterplot_definition.0.custom_link.# = 2", "widget.0.scatterplot_definition.0.custom_link.0.label = Test Custom Link label", "widget.0.scatterplot_definition.0.custom_link.0.link = https://app.datadoghq.com/dashboard/lists", + "widget.0.scatterplot_definition.0.custom_link.1.override_label = logs", + "widget.0.scatterplot_definition.0.custom_link.1.link = https://app.datadoghq.com/dashboard/lists", + "widget.0.scatterplot_definition.0.custom_link.1.is_hidden = true", // Deprecated widget "widget.1.scatterplot_definition.0.xaxis.0.min = 0", "widget.1.scatterplot_definition.0.color_by_groups.0 = app", diff --git a/datadog/tests/resource_datadog_dashboard_service_map_test.go b/datadog/tests/resource_datadog_dashboard_service_map_test.go index 1ac9fa4d6..48ebfa35a 100644 --- a/datadog/tests/resource_datadog_dashboard_service_map_test.go +++ b/datadog/tests/resource_datadog_dashboard_service_map_test.go @@ -20,6 +20,11 @@ resource "datadog_dashboard" "service_map_dashboard" { link = "https://app.datadoghq.com/dashboard/lists" label = "Test Custom Link label" } + custom_link { + link = "https://app.datadoghq.com/dashboard/lists" + is_hidden = true + override_label = "logs" + } } widget_layout { height = 43 @@ -46,9 +51,12 @@ var datadogDashboardServiceMapAsserts = []string{ "widget.0.servicemap_definition.0.title = env: prod, datacenter:us1.prod.dog, service: master-db", "widget.0.widget_layout.0.height = 43", "widget.0.servicemap_definition.0.filters.1 = datacenter:us1.prod.dog", - "widget.0.servicemap_definition.0.custom_link.# = 1", + "widget.0.servicemap_definition.0.custom_link.# = 2", "widget.0.servicemap_definition.0.custom_link.0.label = Test Custom Link label", "widget.0.servicemap_definition.0.custom_link.0.link = https://app.datadoghq.com/dashboard/lists", + "widget.0.servicemap_definition.0.custom_link.1.override_label = logs", + "widget.0.servicemap_definition.0.custom_link.1.link = https://app.datadoghq.com/dashboard/lists", + "widget.0.servicemap_definition.0.custom_link.1.is_hidden = true", } func TestAccDatadogDashboardServiceMap(t *testing.T) { diff --git a/datadog/tests/resource_datadog_dashboard_timeseries_test.go b/datadog/tests/resource_datadog_dashboard_timeseries_test.go index 6a08a4fa2..c3e053e26 100644 --- a/datadog/tests/resource_datadog_dashboard_timeseries_test.go +++ b/datadog/tests/resource_datadog_dashboard_timeseries_test.go @@ -180,6 +180,11 @@ resource "datadog_dashboard" "timeseries_dashboard" { link = "https://app.datadoghq.com/dashboard/lists" label = "Test Custom Link label" } + custom_link { + link = "https://app.datadoghq.com/dashboard/lists" + is_hidden = true + override_label = "logs" + } legend_layout = "horizontal" legend_columns = ["value", "min", "max"] } @@ -798,9 +803,12 @@ var datadogDashboardTimeseriesAsserts = []string{ "widget.0.timeseries_definition.0.legend_columns.1117816132 = value", "widget.0.timeseries_definition.0.legend_columns.3850088288 = min", "widget.0.timeseries_definition.0.legend_columns.4159720207 = max", - "widget.0.timeseries_definition.0.custom_link.# = 1", + "widget.0.timeseries_definition.0.custom_link.# = 2", "widget.0.timeseries_definition.0.custom_link.0.label = Test Custom Link label", "widget.0.timeseries_definition.0.custom_link.0.link = https://app.datadoghq.com/dashboard/lists", + "widget.0.timeseries_definition.0.custom_link.1.override_label = logs", + "widget.0.timeseries_definition.0.custom_link.1.link = https://app.datadoghq.com/dashboard/lists", + "widget.0.timeseries_definition.0.custom_link.1.is_hidden = true", // Deprecated widget "widget.1.timeseries_definition.0.show_legend = true", "widget.1.timeseries_definition.0.yaxis.0.min = 0", diff --git a/datadog/tests/resource_datadog_dashboard_top_list_test.go b/datadog/tests/resource_datadog_dashboard_top_list_test.go index db2682621..9a1999950 100644 --- a/datadog/tests/resource_datadog_dashboard_top_list_test.go +++ b/datadog/tests/resource_datadog_dashboard_top_list_test.go @@ -29,6 +29,11 @@ resource "datadog_dashboard" "top_list_dashboard" { link = "https://app.datadoghq.com/dashboard/lists" label = "Test Custom Link label" } + custom_link { + link = "https://app.datadoghq.com/dashboard/lists" + is_hidden = true + override_label = "logs" + } } } widget { @@ -170,9 +175,12 @@ var datadogDashboardTopListAsserts = []string{ "widget.0.toplist_definition.0.request.0.conditional_formats.0.value = 15000", "widget.0.toplist_definition.0.title = Avg of system.core.user over account:prod by service,app", "widget.0.toplist_definition.0.request.0.conditional_formats.0.custom_fg_color =", - "widget.0.toplist_definition.0.custom_link.# = 1", + "widget.0.toplist_definition.0.custom_link.# = 2", "widget.0.toplist_definition.0.custom_link.0.label = Test Custom Link label", "widget.0.toplist_definition.0.custom_link.0.link = https://app.datadoghq.com/dashboard/lists", + "widget.0.toplist_definition.0.custom_link.1.override_label = logs", + "widget.0.toplist_definition.0.custom_link.1.link = https://app.datadoghq.com/dashboard/lists", + "widget.0.toplist_definition.0.custom_link.1.is_hidden = true", // Deprecated widget "widget.1.toplist_definition.0.request.0.conditional_formats.0.timeframe =", "widget.1.toplist_definition.0.request.0.conditional_formats.0.image_url =", From eefcad316901d31ddce0daa7a5f5cb93e3213cd5 Mon Sep 17 00:00:00 2001 From: Qin Cheng Chen Date: Mon, 24 May 2021 13:03:31 -0400 Subject: [PATCH 10/22] fix test --- .../TestAccDatadogDashboardJSONBasicScreenboard.freeze | 2 +- .../cassettes/TestAccDatadogDashboardJSONBasicTimeboard.freeze | 2 +- .../tests/cassettes/TestAccDatadogDashboardJSONImport.freeze | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/datadog/tests/cassettes/TestAccDatadogDashboardJSONBasicScreenboard.freeze b/datadog/tests/cassettes/TestAccDatadogDashboardJSONBasicScreenboard.freeze index e6469803b..021c43205 100644 --- a/datadog/tests/cassettes/TestAccDatadogDashboardJSONBasicScreenboard.freeze +++ b/datadog/tests/cassettes/TestAccDatadogDashboardJSONBasicScreenboard.freeze @@ -1 +1 @@ -2021-05-24T10:37:36.402428-04:00 +2021-05-24T10:37:36.402428-04:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogDashboardJSONBasicTimeboard.freeze b/datadog/tests/cassettes/TestAccDatadogDashboardJSONBasicTimeboard.freeze index 8dbcd11dc..54d5953d9 100644 --- a/datadog/tests/cassettes/TestAccDatadogDashboardJSONBasicTimeboard.freeze +++ b/datadog/tests/cassettes/TestAccDatadogDashboardJSONBasicTimeboard.freeze @@ -1 +1 @@ -2021-05-24T10:37:36.40493-04:00 +2021-05-24T10:37:36.40493-04:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogDashboardJSONImport.freeze b/datadog/tests/cassettes/TestAccDatadogDashboardJSONImport.freeze index c6717a860..78d057ae9 100644 --- a/datadog/tests/cassettes/TestAccDatadogDashboardJSONImport.freeze +++ b/datadog/tests/cassettes/TestAccDatadogDashboardJSONImport.freeze @@ -1 +1 @@ -2021-05-24T10:37:36.1894-04:00 +2021-05-24T10:37:36.1894-04:00 \ No newline at end of file From eeae8816125a96e95c8a7e93e90751e200c61db5 Mon Sep 17 00:00:00 2001 From: Qin Cheng Chen Date: Mon, 24 May 2021 13:17:07 -0400 Subject: [PATCH 11/22] revert cassettes change --- .../TestAccDatadogDashboardAlertGraph.freeze | 2 +- ...ccDatadogDashboardAlertGraph_import.freeze | 2 +- .../TestAccDatadogDashboardAlertValue.freeze | 2 +- ...ccDatadogDashboardAlertValue_import.freeze | 2 +- .../TestAccDatadogDashboardChange.freeze | 2 +- .../TestAccDatadogDashboardChange.yaml | 189 ++++++++++++---- ...estAccDatadogDashboardChange_import.freeze | 2 +- .../TestAccDatadogDashboardChange_import.yaml | 201 ++++++++++++---- .../TestAccDatadogDashboardCheckStatus.freeze | 2 +- ...cDatadogDashboardCheckStatus_import.freeze | 2 +- .../TestAccDatadogDashboardDatasource.freeze | 2 +- ...TestAccDatadogDashboardDistribution.freeze | 2 +- ...DatadogDashboardDistribution_import.freeze | 2 +- .../TestAccDatadogDashboardEventStream.freeze | 2 +- ...cDatadogDashboardEventStream_import.freeze | 2 +- ...estAccDatadogDashboardEventTimeline.freeze | 2 +- ...atadogDashboardEventTimeline_import.freeze | 2 +- .../TestAccDatadogDashboardFormula.freeze | 2 +- ...stAccDatadogDashboardFormula_import.freeze | 2 +- .../TestAccDatadogDashboardFreeText.freeze | 2 +- ...tAccDatadogDashboardFreeText_import.freeze | 2 +- .../TestAccDatadogDashboardGeomap.freeze | 2 +- .../TestAccDatadogDashboardGeomap.yaml | 82 +++---- ...estAccDatadogDashboardGeomapFormula.freeze | 2 +- .../TestAccDatadogDashboardGeomapFormula.yaml | 82 +++---- ...atadogDashboardGeomapFormula_import.freeze | 2 +- ...cDatadogDashboardGeomapFormula_import.yaml | 94 ++++---- ...estAccDatadogDashboardGeomap_import.freeze | 2 +- .../TestAccDatadogDashboardGeomap_import.yaml | 94 ++++---- .../TestAccDatadogDashboardHeatMap.freeze | 2 +- .../TestAccDatadogDashboardHeatMap.yaml | 184 +++++++++++---- ...stAccDatadogDashboardHeatMap_import.freeze | 2 +- ...TestAccDatadogDashboardHeatMap_import.yaml | 195 ++++++++++++---- .../TestAccDatadogDashboardHostMap.freeze | 2 +- .../TestAccDatadogDashboardHostMap.yaml | 164 ++++++++++---- ...stAccDatadogDashboardHostMap_import.freeze | 2 +- ...TestAccDatadogDashboardHostMap_import.yaml | 189 ++++++++++++---- .../TestAccDatadogDashboardIFrame.freeze | 2 +- ...estAccDatadogDashboardIFrame_import.freeze | 2 +- .../TestAccDatadogDashboardImage.freeze | 2 +- ...TestAccDatadogDashboardImage_import.freeze | 2 +- ...atadogDashboardJSONBasicScreenboard.freeze | 2 +- ...cDatadogDashboardJSONBasicTimeboard.freeze | 2 +- .../TestAccDatadogDashboardJSONImport.freeze | 2 +- ...stAccDatadogDashboardLayoutForceNew.freeze | 2 +- ...stAccDatadogDashboardListDatasource.freeze | 2 +- .../TestAccDatadogDashboardLogStream.freeze | 2 +- ...tAccDatadogDashboardLogStreamLogSet.freeze | 2 +- ...adogDashboardLogStreamLogSet_import.freeze | 2 +- ...AccDatadogDashboardLogStream_import.freeze | 2 +- ...TestAccDatadogDashboardManageStatus.freeze | 2 +- ...DatadogDashboardManageStatus_import.freeze | 2 +- .../TestAccDatadogDashboardNote.freeze | 2 +- ...AccDatadogDashboardNoteContentError.freeze | 2 +- .../TestAccDatadogDashboardNote_import.freeze | 2 +- .../TestAccDatadogDashboardQueryTable.freeze | 2 +- .../TestAccDatadogDashboardQueryTable.yaml | 194 ++++++++++++---- ...ccDatadogDashboardQueryTable_import.freeze | 2 +- ...tAccDatadogDashboardQueryTable_import.yaml | 201 ++++++++++++---- .../TestAccDatadogDashboardQueryValue.freeze | 2 +- .../TestAccDatadogDashboardQueryValue.yaml | 164 ++++++++++---- ...ccDatadogDashboardQueryValueFormula.freeze | 2 +- ...tAccDatadogDashboardQueryValueFormula.yaml | 82 +++---- ...ogDashboardQueryValueFormula_import.freeze | 2 +- ...adogDashboardQueryValueFormula_import.yaml | 92 ++++---- ...ccDatadogDashboardQueryValue_import.freeze | 2 +- ...tAccDatadogDashboardQueryValue_import.yaml | 183 +++++++++++---- .../TestAccDatadogDashboardSLO.freeze | 2 +- .../TestAccDatadogDashboardSLO_import.freeze | 2 +- .../TestAccDatadogDashboardScatterplot.freeze | 2 +- .../TestAccDatadogDashboardScatterplot.yaml | 214 ++++++++++++++---- ...cDatadogDashboardScatterplot_import.freeze | 2 +- ...AccDatadogDashboardScatterplot_import.yaml | 213 +++++++++++++---- .../TestAccDatadogDashboardServiceMap.freeze | 2 +- .../TestAccDatadogDashboardServiceMap.yaml | 80 +++---- ...ccDatadogDashboardServiceMap_import.freeze | 2 +- ...tAccDatadogDashboardServiceMap_import.yaml | 94 ++++---- .../TestAccDatadogDashboardTimeseries.freeze | 2 +- ...adogDashboardTimeseriesMultiCompute.freeze | 2 +- ...atadogDashboardTimeseriesMultiCompute.yaml | 82 +++---- ...hboardTimeseriesMultiCompute_import.freeze | 2 +- ...ashboardTimeseriesMultiCompute_import.yaml | 94 ++++---- ...ccDatadogDashboardTimeseries_import.freeze | 2 +- .../TestAccDatadogDashboardTopList.freeze | 2 +- .../TestAccDatadogDashboardTopList.yaml | 82 +++---- ...stAccDatadogDashboardTopListFormula.freeze | 2 +- ...TestAccDatadogDashboardTopListFormula.yaml | 82 +++---- ...tadogDashboardTopListFormula_import.freeze | 2 +- ...DatadogDashboardTopListFormula_import.yaml | 94 ++++---- ...stAccDatadogDashboardTopList_import.freeze | 2 +- ...TestAccDatadogDashboardTopList_import.yaml | 94 ++++---- ...TestAccDatadogDashboardTraceService.freeze | 2 +- ...DatadogDashboardTraceService_import.freeze | 2 +- .../TestAccDatadogDashboard_import.freeze | 2 +- .../TestAccDatadogDashboard_update.freeze | 2 +- .../TestAccDatadogDowntimeDates.freeze | 2 +- ...TestAccDatadogDowntimeDatesConflict.freeze | 2 +- .../TestAccDatadogDowntime_Basic.freeze | 2 +- ...tAccDatadogDowntime_BasicMultiScope.freeze | 2 +- ...ccDatadogDowntime_BasicNoRecurrence.freeze | 2 +- ...ogDowntime_BasicUntilDateRecurrence.freeze | 2 +- ...ime_BasicUntilOccurrencesRecurrence.freeze | 2 +- ...AccDatadogDowntime_BasicWithMonitor.freeze | 2 +- ...atadogDowntime_BasicWithMonitorTags.freeze | 2 +- .../TestAccDatadogDowntime_DiffStart.freeze | 2 +- .../TestAccDatadogDowntime_RRule.freeze | 2 +- ...stAccDatadogDowntime_TrimWhitespace.freeze | 2 +- .../TestAccDatadogDowntime_Updated.freeze | 2 +- ...AccDatadogDowntime_WeekDayRecurring.freeze | 2 +- .../TestAccDatadogFreeDashboard.freeze | 2 +- .../TestAccDatadogIntegrationAWS.freeze | 2 +- ...stAccDatadogIntegrationAWSLambdaArn.freeze | 2 +- ...cDatadogIntegrationAWSLogCollection.freeze | 2 +- ...atadogIntegrationAwsTagFilter_Basic.freeze | 2 +- .../TestAccDatadogIntegrationAzure.freeze | 2 +- .../TestAccDatadogIntegrationGCP.freeze | 2 +- ...grationPagerdutyServiceObject_Basic.freeze | 2 +- ...ccDatadogIntegrationPagerduty_Basic.freeze | 2 +- ...ionPagerduty_Migrate2ServiceObjects.freeze | 2 +- ...dogIntegrationPagerduty_TwoServices.freeze | 2 +- ...atadogIntegrationSlackChannel_Basic.freeze | 2 +- ...tadogIntegrationSlackChannel_Import.freeze | 2 +- ...cDatadogIpRangesDatasource_existing.freeze | 2 +- ...estAccDatadogLogsArchiveAzure_basic.freeze | 2 +- ...dogLogsArchiveAzure_basicDeprecated.freeze | 2 +- .../TestAccDatadogLogsArchiveGCS_basic.freeze | 2 +- ...tadogLogsArchiveGCS_basicDeprecated.freeze | 2 +- ...estAccDatadogLogsArchiveOrder_basic.freeze | 2 +- ...estAccDatadogLogsArchiveOrder_empty.freeze | 2 +- ...AccDatadogLogsArchiveS3Update_basic.freeze | 2 +- .../TestAccDatadogLogsArchiveS3_basic.freeze | 2 +- ...atadogLogsArchiveS3_basicDeprecated.freeze | 2 +- .../TestAccDatadogLogsMetric_Basic.freeze | 2 +- .../TestAccDatadogLogsMetric_import.freeze | 2 +- ...DatadogLogsPipelineEmptyFilterQuery.freeze | 2 +- .../TestAccDatadogLogsPipeline_basic.freeze | 2 +- .../TestAccDatadogMetricMetadata_Basic.freeze | 2 +- ...estAccDatadogMetricMetadata_Updated.freeze | 2 +- ...DatadogMetricTagConfiguration_Error.freeze | 2 +- .../TestAccDatadogMonitorDatasource.freeze | 2 +- ...AccDatadogMonitorServiceCheck_Basic.freeze | 2 +- .../TestAccDatadogMonitor_Basic.freeze | 2 +- ...stAccDatadogMonitor_BasicNoTreshold.freeze | 2 +- ...stAccDatadogMonitor_Basic_float_int.freeze | 2 +- ...ogMonitor_ComposeWithSyntheticsTest.freeze | 2 +- .../TestAccDatadogMonitor_Log.freeze | 2 +- ...ccDatadogMonitor_NoThresholdWindows.freeze | 2 +- ...stAccDatadogMonitor_RestrictedRoles.freeze | 2 +- ...DatadogMonitor_SilencedUpdateNoDiff.freeze | 2 +- ...tAccDatadogMonitor_ThresholdWindows.freeze | 2 +- ...estAccDatadogMonitor_TrimWhitespace.freeze | 2 +- .../TestAccDatadogMonitor_Updated.freeze | 2 +- ...cDatadogMonitor_UpdatedToRemoveTags.freeze | 2 +- .../TestAccDatadogMonitor_ZeroDelay.freeze | 2 +- .../TestAccDatadogMonitorsDatasource.freeze | 2 +- ...TestAccDatadogPermissionsDatasource.freeze | 2 +- .../TestAccDatadogRoleDatasource.freeze | 2 +- .../TestAccDatadogRoleDatasourceError.freeze | 2 +- ...tAccDatadogRoleDatasourceExactMatch.freeze | 2 +- .../TestAccDatadogRole_CreateUpdate.freeze | 2 +- .../TestAccDatadogRole_InvalidPerm.freeze | 2 +- .../TestAccDatadogScreenboard_update.freeze | 2 +- ...SecurityMonitoringDefaultRule_Basic.freeze | 2 +- ...dogSecurityMonitoringRuleDatasource.freeze | 2 +- ...DatadogSecurityMonitoringRule_Basic.freeze | 2 +- ...atadogSecurityMonitoringRule_Import.freeze | 2 +- ...tyMonitoringRule_OnlyRequiredFields.freeze | 2 +- ...adogServiceLevelObjectiveDatasource.freeze | 2 +- ...cDatadogServiceLevelObjective_Basic.freeze | 2 +- ...erviceLevelObjective_InvalidMonitor.freeze | 2 +- ...dogServiceLevelObjectivesDatasource.freeze | 2 +- .../TestAccDatadogSloCorrection_Basic.freeze | 2 +- ...TestAccDatadogSloCorrection_Updated.freeze | 2 +- ...stAccDatadogSyntheticsAPITest_Basic.freeze | 2 +- ...ogSyntheticsAPITest_BasicDeprecated.freeze | 2 +- ...csAPITest_BasicNewAssertionsOptions.freeze | 2 +- ...AccDatadogSyntheticsAPITest_Updated.freeze | 2 +- ...SyntheticsAPITest_UpdatedDeprecated.freeze | 2 +- ...APITest_UpdatedNewAssertionsOptions.freeze | 2 +- ...atadogSyntheticsAPITest_importBasic.freeze | 2 +- ...wserTestBrowserNewBrowserStep_Basic.freeze | 2 +- ...csBrowserTestBrowserVariables_Basic.freeze | 2 +- ...cDatadogSyntheticsBrowserTest_Basic.freeze | 2 +- ...atadogSyntheticsBrowserTest_Updated.freeze | 2 +- ...ogSyntheticsBrowserTest_importBasic.freeze | 2 +- ...stAccDatadogSyntheticsDNSTest_Basic.freeze | 2 +- ...AccDatadogSyntheticsDNSTest_Updated.freeze | 2 +- ...atadogSyntheticsDNSTest_importBasic.freeze | 2 +- ...theticsGlobalVariableFromTest_Basic.freeze | 2 +- ...yntheticsGlobalVariableSecure_Basic.freeze | 2 +- ...theticsGlobalVariableSecure_Updated.freeze | 2 +- ...tadogSyntheticsGlobalVariable_Basic.freeze | 2 +- ...dogSyntheticsGlobalVariable_Updated.freeze | 2 +- ...yntheticsGlobalVariable_importBasic.freeze | 2 +- ...tAccDatadogSyntheticsICMPTest_Basic.freeze | 2 +- ...adogSyntheticsPrivateLocation_Basic.freeze | 2 +- ...ogSyntheticsPrivateLocation_Updated.freeze | 2 +- ...ntheticsPrivateLocation_importBasic.freeze | 2 +- ...csSSLMissingTagsAttributeTest_Basic.freeze | 2 +- ...stAccDatadogSyntheticsSSLTest_Basic.freeze | 2 +- ...AccDatadogSyntheticsSSLTest_Updated.freeze | 2 +- ...atadogSyntheticsSSLTest_importBasic.freeze | 2 +- ...stAccDatadogSyntheticsTCPTest_Basic.freeze | 2 +- ...AccDatadogSyntheticsTCPTest_Updated.freeze | 2 +- ...atadogSyntheticsTCPTest_importBasic.freeze | 2 +- ...tadogSyntheticsTestBrowserMML_Basic.freeze | 2 +- ...dogSyntheticsTestMultistepApi_Basic.freeze | 2 +- .../TestAccDatadogTimeboard_update.freeze | 2 +- .../TestAccDatadogUser_Existing.freeze | 2 +- .../TestAccDatadogUser_Invitation.freeze | 2 +- .../TestAccDatadogUser_NoInvitation.freeze | 2 +- .../TestAccDatadogUser_RoleDatasource.freeze | 2 +- .../TestAccDatadogUser_UpdateRole.freeze | 2 +- .../TestAccDatadogUser_Updated.freeze | 2 +- ...cDatatogSyntheticsLocation_existing.freeze | 2 +- ...stAccLogsCustomPipeline_importBasic.freeze | 2 +- .../TestDatadogDashListImport.freeze | 2 +- .../TestDatadogDashListInDashboard.freeze | 2 +- .../TestDatadogDowntime_import.freeze | 2 +- ...tDatadogIntegrationPagerduty_import.freeze | 2 +- .../TestDatadogMonitor_import.freeze | 2 +- ...atadogMonitor_importNoDataTimeFrame.freeze | 2 +- ...stDatadogMonitor_import_no_recovery.freeze | 2 +- .../cassettes/TestDatadogUser_import.freeze | 2 +- datadog/tests/cassettes/TestProvider.freeze | 2 +- 225 files changed, 2576 insertions(+), 1341 deletions(-) diff --git a/datadog/tests/cassettes/TestAccDatadogDashboardAlertGraph.freeze b/datadog/tests/cassettes/TestAccDatadogDashboardAlertGraph.freeze index a3e4ffe93..6e130c250 100644 --- a/datadog/tests/cassettes/TestAccDatadogDashboardAlertGraph.freeze +++ b/datadog/tests/cassettes/TestAccDatadogDashboardAlertGraph.freeze @@ -1 +1 @@ -2021-05-24T10:37:36.508601-04:00 \ No newline at end of file +2021-01-28T17:18:24.91386+01:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogDashboardAlertGraph_import.freeze b/datadog/tests/cassettes/TestAccDatadogDashboardAlertGraph_import.freeze index b92682839..424253059 100644 --- a/datadog/tests/cassettes/TestAccDatadogDashboardAlertGraph_import.freeze +++ b/datadog/tests/cassettes/TestAccDatadogDashboardAlertGraph_import.freeze @@ -1 +1 @@ -2021-05-24T10:37:36.502284-04:00 \ No newline at end of file +2020-12-31T15:42:08.091095+01:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogDashboardAlertValue.freeze b/datadog/tests/cassettes/TestAccDatadogDashboardAlertValue.freeze index ffa86adc0..2083ccfa6 100644 --- a/datadog/tests/cassettes/TestAccDatadogDashboardAlertValue.freeze +++ b/datadog/tests/cassettes/TestAccDatadogDashboardAlertValue.freeze @@ -1 +1 @@ -2021-05-24T10:37:36.501919-04:00 \ No newline at end of file +2021-01-28T17:18:24.927493+01:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogDashboardAlertValue_import.freeze b/datadog/tests/cassettes/TestAccDatadogDashboardAlertValue_import.freeze index ec8c28075..265acfde4 100644 --- a/datadog/tests/cassettes/TestAccDatadogDashboardAlertValue_import.freeze +++ b/datadog/tests/cassettes/TestAccDatadogDashboardAlertValue_import.freeze @@ -1 +1 @@ -2021-05-24T10:37:36.407806-04:00 \ No newline at end of file +2020-12-31T15:42:08.096666+01:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogDashboardChange.freeze b/datadog/tests/cassettes/TestAccDatadogDashboardChange.freeze index 751753736..c90806e91 100644 --- a/datadog/tests/cassettes/TestAccDatadogDashboardChange.freeze +++ b/datadog/tests/cassettes/TestAccDatadogDashboardChange.freeze @@ -1 +1 @@ -2021-05-24T10:37:36.43577-04:00 \ No newline at end of file +2021-01-28T17:18:24.942622+01:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogDashboardChange.yaml b/datadog/tests/cassettes/TestAccDatadogDashboardChange.yaml index bc2f79607..02da189ce 100644 --- a/datadog/tests/cassettes/TestAccDatadogDashboardChange.yaml +++ b/datadog/tests/cassettes/TestAccDatadogDashboardChange.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-TestAccDatadogDashboardChange-local-1621865327","widgets":[{"definition":{"requests":[{"increase_good":false,"q":"sum:system.cpu.user{*} by {service,account}","show_present":false}],"type":"change"}},{"definition":{"custom_links":[{"label":"Test Custom Link label","link":"https://app.datadoghq.com/dashboard/lists"},{"is_hidden":true,"link":"https://app.datadoghq.com/dashboard/lists","override_label":"logs"}],"requests":[{"change_type":"absolute","compare_to":"day_before","increase_good":false,"order_by":"change","order_dir":"desc","q":"sum:system.cpu.user{*} by {service,account}","show_present":true}],"time":{"live_span":"1h"},"title":"Sum of system.cpu.user over * by service,account","title_align":"left","title_size":"16","type":"change"}},{"definition":{"custom_links":[{"label":"Test Custom Link label","link":"https://app.datadoghq.com/dashboard/lists"}],"requests":[{"change_type":"absolute","compare_to":"day_before","increase_good":false,"order_by":"change","order_dir":"desc","q":"sum:system.cpu.user{*} by {service,account}","show_present":true}],"time":{"live_span":"1h"},"title":"Sum of system.cpu.user over * by service,account","title_align":"left","title_size":"16","type":"change"}}]} + {"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-TestAccDatadogDashboardChange-local-1611850704","widgets":[{"definition":{"requests":[{"increase_good":false,"q":"sum:system.cpu.user{*} by {service,account}","show_present":false}],"type":"change"}},{"definition":{"custom_links":[{"label":"Test Custom Link label","link":"https://app.datadoghq.com/dashboard/lists"}],"requests":[{"change_type":"absolute","compare_to":"day_before","increase_good":false,"order_by":"change","order_dir":"desc","q":"sum:system.cpu.user{*} by {service,account}","show_present":true}],"time":{"live_span":"1h"},"title":"Sum of system.cpu.user over * by service,account","title_align":"left","title_size":"16","type":"change"}},{"definition":{"custom_links":[{"label":"Test Custom Link label","link":"https://app.datadoghq.com/dashboard/lists"}],"requests":[{"change_type":"absolute","compare_to":"day_before","increase_good":false,"order_by":"change","order_dir":"desc","q":"sum:system.cpu.user{*} by {service,account}","show_present":true}],"time":{"live_span":"1h"},"title":"Sum of system.cpu.user over * by service,account","title_align":"left","title_size":"16","type":"change"}}]} form: {} headers: Accept: @@ -13,11 +13,26 @@ interactions: Dd-Operation-Id: - CreateDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) + - terraform-provider-datadog/dev (terraform 1.15.0; terraform-cli 0.12.7-sdk) + datadog-api-client-go/1.0.0-beta.14 (go go1.15.4; os darwin; arch amd64) + X-Datadog-Parent-Id: + - "3315534880340101607" + X-Datadog-Sampling-Priority: + - "1" + X-Datadog-Trace-Id: + - "5843149382491789292" url: https://api.datadoghq.com/api/v1/dashboard method: POST response: - body: '{"notify_list":[],"description":"Created using the Datadog provider in Terraform","restricted_roles":["043a2842-e140-11e8-bb04-7fd10177666e","08604de8-1dca-11eb-800c-9f5f55ff734d","1302282c-b93b-11eb-a436-da7ad0900002","16169788-28e4-11eb-832c-fb84162ef3eb","17d73994-7531-11eb-94b9-da7ad0900002","284d8b66-93f9-11eb-9c37-da7ad0900002","4de53192-9946-11eb-9cee-da7ad0900002","62cbc476-5c16-11eb-8e98-0388ea7a41f8","657de3a2-29f8-11eb-83b5-6b8ebfb2f184","6bf314be-5c16-11eb-8e98-2356ea436065","7a83f306-96ca-11eb-9c74-da7ad0900002","9b3ab170-b768-11eb-a45a-da7ad0900002","e82bf27a-986c-11eb-9cba-da7ad0900002","f257ba30-dbb2-11ea-a5ff-5fd1d308318a"],"author_name":"Qin Chen","template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"57r-5zz-jqw","title":"tf-TestAccDatadogDashboardChange-local-1621865327","url":"/dashboard/57r-5zz-jqw/tf-testaccdatadogdashboardchange-local-1621865327","created_at":"2021-05-24T14:08:48.616136+00:00","modified_at":"2021-05-24T14:08:48.616136+00:00","author_handle":"qin.chen@datadoghq.com","widgets":[{"definition":{"requests":[{"q":"sum:system.cpu.user{*} by {service,account}","show_present":false,"increase_good":false}],"type":"change"},"id":5933131819232183},{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test Custom Link label"},{"override_label":"logs","is_hidden":true,"link":"https://app.datadoghq.com/dashboard/lists"}],"title_size":"16","title":"Sum of system.cpu.user over * by service,account","title_align":"left","time":{"live_span":"1h"},"requests":[{"change_type":"absolute","order_dir":"desc","compare_to":"day_before","q":"sum:system.cpu.user{*} by {service,account}","show_present":true,"increase_good":false,"order_by":"change"}],"type":"change"},"id":5081916014344885},{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test Custom Link label"}],"title_size":"16","title":"Sum of system.cpu.user over * by service,account","title_align":"left","time":{"live_span":"1h"},"requests":[{"change_type":"absolute","order_dir":"desc","compare_to":"day_before","q":"sum:system.cpu.user{*} by {service,account}","show_present":true,"increase_good":false,"order_by":"change"}],"type":"change"},"id":2636154791238909}],"layout_type":"ordered"}' + body: '{"notify_list":[],"description":"Created using the Datadog provider in + Terraform","author_name":null,"template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"uuw-3pg-534","title":"tf-TestAccDatadogDashboardChange-local-1611850704","url":"/dashboard/uuw-3pg-534/tf-testaccdatadogdashboardchange-local-1611850704","created_at":"2021-01-28T16:43:57.046067+00:00","modified_at":"2021-01-28T16:43:57.046067+00:00","author_handle":"frog@datadoghq.com","widgets":[{"definition":{"requests":[{"q":"sum:system.cpu.user{*} + by {service,account}","show_present":false,"increase_good":false}],"type":"change"},"id":3110332253128132},{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test + Custom Link label"}],"title_size":"16","title":"Sum of system.cpu.user over + * by service,account","title_align":"left","time":{"live_span":"1h"},"requests":[{"change_type":"absolute","order_dir":"desc","compare_to":"day_before","q":"sum:system.cpu.user{*} + by {service,account}","show_present":true,"increase_good":false,"order_by":"change"}],"type":"change"},"id":2019754692625709},{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test + Custom Link label"}],"title_size":"16","title":"Sum of system.cpu.user over + * by service,account","title_align":"left","time":{"live_span":"1h"},"requests":[{"change_type":"absolute","order_dir":"desc","compare_to":"day_before","q":"sum:system.cpu.user{*} + by {service,account}","show_present":true,"increase_good":false,"order_by":"change"}],"type":"change"},"id":3404570797187644}],"layout_type":"ordered"}' headers: Cache-Control: - no-cache @@ -28,9 +43,12 @@ interactions: Content-Type: - application/json Date: - - Mon, 24 May 2021 14:08:48 GMT + - Thu, 28 Jan 2021 16:44:00 GMT Pragma: - no-cache + Set-Cookie: + - DD-PSHARD=233; Max-Age=604800; Path=/; expires=Thu, 04-Feb-2021 16:43:56 GMT; + secure; HttpOnly Strict-Transport-Security: - max-age=15724800; Vary: @@ -38,9 +56,9 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Debug: - - Um4CoU685QqAscnxhS5BD+goWu2yX1Jd4zCfGzSsEvPPIm1qURZaF8dlLl/OEY4I + - nLnnBNvlCFDECRnZvzDb0z4sAO35G+IMidcAs8vrCKyjvsKWE8Yd9S3n6OjZ1qRN X-Dd-Version: - - "35.4593741" + - "35.3796727" X-Frame-Options: - SAMEORIGIN status: 200 OK @@ -55,11 +73,26 @@ interactions: Dd-Operation-Id: - GetDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) - url: https://api.datadoghq.com/api/v1/dashboard/57r-5zz-jqw + - terraform-provider-datadog/dev (terraform 1.15.0; terraform-cli 0.12.7-sdk) + datadog-api-client-go/1.0.0-beta.14 (go go1.15.4; os darwin; arch amd64) + X-Datadog-Parent-Id: + - "7666263833395106958" + X-Datadog-Sampling-Priority: + - "1" + X-Datadog-Trace-Id: + - "5843149382491789292" + url: https://api.datadoghq.com/api/v1/dashboard/uuw-3pg-534 method: GET response: - body: '{"notify_list":[],"description":"Created using the Datadog provider in Terraform","restricted_roles":["284d8b66-93f9-11eb-9c37-da7ad0900002","043a2842-e140-11e8-bb04-7fd10177666e","657de3a2-29f8-11eb-83b5-6b8ebfb2f184","e82bf27a-986c-11eb-9cba-da7ad0900002","f257ba30-dbb2-11ea-a5ff-5fd1d308318a","6bf314be-5c16-11eb-8e98-2356ea436065","62cbc476-5c16-11eb-8e98-0388ea7a41f8","08604de8-1dca-11eb-800c-9f5f55ff734d","9b3ab170-b768-11eb-a45a-da7ad0900002","7a83f306-96ca-11eb-9c74-da7ad0900002","16169788-28e4-11eb-832c-fb84162ef3eb","4de53192-9946-11eb-9cee-da7ad0900002","1302282c-b93b-11eb-a436-da7ad0900002","17d73994-7531-11eb-94b9-da7ad0900002"],"author_name":"Qin Chen","template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"57r-5zz-jqw","title":"tf-TestAccDatadogDashboardChange-local-1621865327","url":"/dashboard/57r-5zz-jqw/tf-testaccdatadogdashboardchange-local-1621865327","created_at":"2021-05-24T14:08:48.616136+00:00","modified_at":"2021-05-24T14:08:48.616136+00:00","author_handle":"qin.chen@datadoghq.com","widgets":[{"definition":{"requests":[{"q":"sum:system.cpu.user{*} by {service,account}","show_present":false,"increase_good":false}],"type":"change"},"id":5933131819232183},{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test Custom Link label"},{"override_label":"logs","is_hidden":true,"link":"https://app.datadoghq.com/dashboard/lists"}],"title_size":"16","title":"Sum of system.cpu.user over * by service,account","title_align":"left","time":{"live_span":"1h"},"requests":[{"change_type":"absolute","order_dir":"desc","compare_to":"day_before","q":"sum:system.cpu.user{*} by {service,account}","show_present":true,"increase_good":false,"order_by":"change"}],"type":"change"},"id":5081916014344885},{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test Custom Link label"}],"title_size":"16","title":"Sum of system.cpu.user over * by service,account","title_align":"left","time":{"live_span":"1h"},"requests":[{"change_type":"absolute","order_dir":"desc","compare_to":"day_before","q":"sum:system.cpu.user{*} by {service,account}","show_present":true,"increase_good":false,"order_by":"change"}],"type":"change"},"id":2636154791238909}],"layout_type":"ordered"}' + body: '{"notify_list":[],"description":"Created using the Datadog provider in + Terraform","author_name":null,"template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"uuw-3pg-534","title":"tf-TestAccDatadogDashboardChange-local-1611850704","url":"/dashboard/uuw-3pg-534/tf-testaccdatadogdashboardchange-local-1611850704","created_at":"2021-01-28T16:43:57.046067+00:00","modified_at":"2021-01-28T16:43:57.046067+00:00","author_handle":"frog@datadoghq.com","widgets":[{"definition":{"requests":[{"q":"sum:system.cpu.user{*} + by {service,account}","show_present":false,"increase_good":false}],"type":"change"},"id":3110332253128132},{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test + Custom Link label"}],"title_size":"16","title":"Sum of system.cpu.user over + * by service,account","title_align":"left","time":{"live_span":"1h"},"requests":[{"change_type":"absolute","order_dir":"desc","compare_to":"day_before","q":"sum:system.cpu.user{*} + by {service,account}","show_present":true,"increase_good":false,"order_by":"change"}],"type":"change"},"id":2019754692625709},{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test + Custom Link label"}],"title_size":"16","title":"Sum of system.cpu.user over + * by service,account","title_align":"left","time":{"live_span":"1h"},"requests":[{"change_type":"absolute","order_dir":"desc","compare_to":"day_before","q":"sum:system.cpu.user{*} + by {service,account}","show_present":true,"increase_good":false,"order_by":"change"}],"type":"change"},"id":3404570797187644}],"layout_type":"ordered"}' headers: Cache-Control: - no-cache @@ -70,9 +103,12 @@ interactions: Content-Type: - application/json Date: - - Mon, 24 May 2021 14:08:48 GMT + - Thu, 28 Jan 2021 16:44:00 GMT Pragma: - no-cache + Set-Cookie: + - DD-PSHARD=233; Max-Age=604800; Path=/; expires=Thu, 04-Feb-2021 16:44:00 GMT; + secure; HttpOnly Strict-Transport-Security: - max-age=15724800; Vary: @@ -80,9 +116,9 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Debug: - - l4HFlaRP3QwYSqoGKhzbYfv7zgkK63HIRR7YkyVYZspq0lGjjTBwoK8V/alf+XYt + - F5gm0Rce1/Abr9/0Fw8HAqWfiz0FdiH8er/AXnN6lOn3L6KyGgbsLCwgPlob1No8 X-Dd-Version: - - "35.4593741" + - "35.3796727" X-Frame-Options: - SAMEORIGIN status: 200 OK @@ -97,11 +133,26 @@ interactions: Dd-Operation-Id: - GetDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) - url: https://api.datadoghq.com/api/v1/dashboard/57r-5zz-jqw + - terraform-provider-datadog/dev (terraform 1.15.0; terraform-cli 0.12.7-sdk) + datadog-api-client-go/1.0.0-beta.14 (go go1.15.4; os darwin; arch amd64) + X-Datadog-Parent-Id: + - "4860992487830051307" + X-Datadog-Sampling-Priority: + - "1" + X-Datadog-Trace-Id: + - "5843149382491789292" + url: https://api.datadoghq.com/api/v1/dashboard/uuw-3pg-534 method: GET response: - body: '{"notify_list":[],"description":"Created using the Datadog provider in Terraform","restricted_roles":["284d8b66-93f9-11eb-9c37-da7ad0900002","043a2842-e140-11e8-bb04-7fd10177666e","657de3a2-29f8-11eb-83b5-6b8ebfb2f184","e82bf27a-986c-11eb-9cba-da7ad0900002","f257ba30-dbb2-11ea-a5ff-5fd1d308318a","6bf314be-5c16-11eb-8e98-2356ea436065","62cbc476-5c16-11eb-8e98-0388ea7a41f8","08604de8-1dca-11eb-800c-9f5f55ff734d","9b3ab170-b768-11eb-a45a-da7ad0900002","7a83f306-96ca-11eb-9c74-da7ad0900002","16169788-28e4-11eb-832c-fb84162ef3eb","4de53192-9946-11eb-9cee-da7ad0900002","1302282c-b93b-11eb-a436-da7ad0900002","17d73994-7531-11eb-94b9-da7ad0900002"],"author_name":"Qin Chen","template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"57r-5zz-jqw","title":"tf-TestAccDatadogDashboardChange-local-1621865327","url":"/dashboard/57r-5zz-jqw/tf-testaccdatadogdashboardchange-local-1621865327","created_at":"2021-05-24T14:08:48.616136+00:00","modified_at":"2021-05-24T14:08:48.616136+00:00","author_handle":"qin.chen@datadoghq.com","widgets":[{"definition":{"requests":[{"q":"sum:system.cpu.user{*} by {service,account}","show_present":false,"increase_good":false}],"type":"change"},"id":5933131819232183},{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test Custom Link label"},{"override_label":"logs","is_hidden":true,"link":"https://app.datadoghq.com/dashboard/lists"}],"title_size":"16","title":"Sum of system.cpu.user over * by service,account","title_align":"left","time":{"live_span":"1h"},"requests":[{"change_type":"absolute","order_dir":"desc","compare_to":"day_before","q":"sum:system.cpu.user{*} by {service,account}","show_present":true,"increase_good":false,"order_by":"change"}],"type":"change"},"id":5081916014344885},{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test Custom Link label"}],"title_size":"16","title":"Sum of system.cpu.user over * by service,account","title_align":"left","time":{"live_span":"1h"},"requests":[{"change_type":"absolute","order_dir":"desc","compare_to":"day_before","q":"sum:system.cpu.user{*} by {service,account}","show_present":true,"increase_good":false,"order_by":"change"}],"type":"change"},"id":2636154791238909}],"layout_type":"ordered"}' + body: '{"notify_list":[],"description":"Created using the Datadog provider in + Terraform","author_name":null,"template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"uuw-3pg-534","title":"tf-TestAccDatadogDashboardChange-local-1611850704","url":"/dashboard/uuw-3pg-534/tf-testaccdatadogdashboardchange-local-1611850704","created_at":"2021-01-28T16:43:57.046067+00:00","modified_at":"2021-01-28T16:43:57.046067+00:00","author_handle":"frog@datadoghq.com","widgets":[{"definition":{"requests":[{"q":"sum:system.cpu.user{*} + by {service,account}","show_present":false,"increase_good":false}],"type":"change"},"id":3110332253128132},{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test + Custom Link label"}],"title_size":"16","title":"Sum of system.cpu.user over + * by service,account","title_align":"left","time":{"live_span":"1h"},"requests":[{"change_type":"absolute","order_dir":"desc","compare_to":"day_before","q":"sum:system.cpu.user{*} + by {service,account}","show_present":true,"increase_good":false,"order_by":"change"}],"type":"change"},"id":2019754692625709},{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test + Custom Link label"}],"title_size":"16","title":"Sum of system.cpu.user over + * by service,account","title_align":"left","time":{"live_span":"1h"},"requests":[{"change_type":"absolute","order_dir":"desc","compare_to":"day_before","q":"sum:system.cpu.user{*} + by {service,account}","show_present":true,"increase_good":false,"order_by":"change"}],"type":"change"},"id":3404570797187644}],"layout_type":"ordered"}' headers: Cache-Control: - no-cache @@ -112,9 +163,12 @@ interactions: Content-Type: - application/json Date: - - Mon, 24 May 2021 14:08:48 GMT + - Thu, 28 Jan 2021 16:44:05 GMT Pragma: - no-cache + Set-Cookie: + - DD-PSHARD=233; Max-Age=604800; Path=/; expires=Thu, 04-Feb-2021 16:44:05 GMT; + secure; HttpOnly Strict-Transport-Security: - max-age=15724800; Vary: @@ -122,9 +176,9 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Debug: - - Wjq53IVIwnB4SiR238oOYgHFMq/ZYP0LQ/Dv8C2fFLBwTje/dWJHu6pI6vIOK1zG + - Um4CoU685QqAscnxhS5BD+goWu2yX1Jd4zCfGzSsEvPPIm1qURZaF8dlLl/OEY4I X-Dd-Version: - - "35.4593741" + - "35.3796727" X-Frame-Options: - SAMEORIGIN status: 200 OK @@ -139,11 +193,26 @@ interactions: Dd-Operation-Id: - GetDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) - url: https://api.datadoghq.com/api/v1/dashboard/57r-5zz-jqw + - terraform-provider-datadog/dev (terraform 1.15.0; terraform-cli 0.12.7-sdk) + datadog-api-client-go/1.0.0-beta.14 (go go1.15.4; os darwin; arch amd64) + X-Datadog-Parent-Id: + - "3065467534916572459" + X-Datadog-Sampling-Priority: + - "1" + X-Datadog-Trace-Id: + - "5843149382491789292" + url: https://api.datadoghq.com/api/v1/dashboard/uuw-3pg-534 method: GET response: - body: '{"notify_list":[],"description":"Created using the Datadog provider in Terraform","restricted_roles":["284d8b66-93f9-11eb-9c37-da7ad0900002","043a2842-e140-11e8-bb04-7fd10177666e","657de3a2-29f8-11eb-83b5-6b8ebfb2f184","e82bf27a-986c-11eb-9cba-da7ad0900002","f257ba30-dbb2-11ea-a5ff-5fd1d308318a","6bf314be-5c16-11eb-8e98-2356ea436065","62cbc476-5c16-11eb-8e98-0388ea7a41f8","08604de8-1dca-11eb-800c-9f5f55ff734d","9b3ab170-b768-11eb-a45a-da7ad0900002","7a83f306-96ca-11eb-9c74-da7ad0900002","16169788-28e4-11eb-832c-fb84162ef3eb","4de53192-9946-11eb-9cee-da7ad0900002","1302282c-b93b-11eb-a436-da7ad0900002","17d73994-7531-11eb-94b9-da7ad0900002"],"author_name":"Qin Chen","template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"57r-5zz-jqw","title":"tf-TestAccDatadogDashboardChange-local-1621865327","url":"/dashboard/57r-5zz-jqw/tf-testaccdatadogdashboardchange-local-1621865327","created_at":"2021-05-24T14:08:48.616136+00:00","modified_at":"2021-05-24T14:08:48.616136+00:00","author_handle":"qin.chen@datadoghq.com","widgets":[{"definition":{"requests":[{"q":"sum:system.cpu.user{*} by {service,account}","show_present":false,"increase_good":false}],"type":"change"},"id":5933131819232183},{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test Custom Link label"},{"override_label":"logs","is_hidden":true,"link":"https://app.datadoghq.com/dashboard/lists"}],"title_size":"16","title":"Sum of system.cpu.user over * by service,account","title_align":"left","time":{"live_span":"1h"},"requests":[{"change_type":"absolute","order_dir":"desc","compare_to":"day_before","q":"sum:system.cpu.user{*} by {service,account}","show_present":true,"increase_good":false,"order_by":"change"}],"type":"change"},"id":5081916014344885},{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test Custom Link label"}],"title_size":"16","title":"Sum of system.cpu.user over * by service,account","title_align":"left","time":{"live_span":"1h"},"requests":[{"change_type":"absolute","order_dir":"desc","compare_to":"day_before","q":"sum:system.cpu.user{*} by {service,account}","show_present":true,"increase_good":false,"order_by":"change"}],"type":"change"},"id":2636154791238909}],"layout_type":"ordered"}' + body: '{"notify_list":[],"description":"Created using the Datadog provider in + Terraform","author_name":null,"template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"uuw-3pg-534","title":"tf-TestAccDatadogDashboardChange-local-1611850704","url":"/dashboard/uuw-3pg-534/tf-testaccdatadogdashboardchange-local-1611850704","created_at":"2021-01-28T16:43:57.046067+00:00","modified_at":"2021-01-28T16:43:57.046067+00:00","author_handle":"frog@datadoghq.com","widgets":[{"definition":{"requests":[{"q":"sum:system.cpu.user{*} + by {service,account}","show_present":false,"increase_good":false}],"type":"change"},"id":3110332253128132},{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test + Custom Link label"}],"title_size":"16","title":"Sum of system.cpu.user over + * by service,account","title_align":"left","time":{"live_span":"1h"},"requests":[{"change_type":"absolute","order_dir":"desc","compare_to":"day_before","q":"sum:system.cpu.user{*} + by {service,account}","show_present":true,"increase_good":false,"order_by":"change"}],"type":"change"},"id":2019754692625709},{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test + Custom Link label"}],"title_size":"16","title":"Sum of system.cpu.user over + * by service,account","title_align":"left","time":{"live_span":"1h"},"requests":[{"change_type":"absolute","order_dir":"desc","compare_to":"day_before","q":"sum:system.cpu.user{*} + by {service,account}","show_present":true,"increase_good":false,"order_by":"change"}],"type":"change"},"id":3404570797187644}],"layout_type":"ordered"}' headers: Cache-Control: - no-cache @@ -154,9 +223,12 @@ interactions: Content-Type: - application/json Date: - - Mon, 24 May 2021 14:08:49 GMT + - Thu, 28 Jan 2021 16:44:49 GMT Pragma: - no-cache + Set-Cookie: + - DD-PSHARD=233; Max-Age=604800; Path=/; expires=Thu, 04-Feb-2021 16:44:49 GMT; + secure; HttpOnly Strict-Transport-Security: - max-age=15724800; Vary: @@ -164,9 +236,9 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Debug: - - tpRCH6w417YjBovRJ8VmtuXmNONVYiRp2c8d2AxjPdGBn8PCtgG4vAztrx3qUZAN + - B1nwy/pPNqX+q4pQT22cdp1QCexE35IF8qwSHy0Nf7IW0Y881qtn4tXN1lpmzaKc X-Dd-Version: - - "35.4593741" + - "35.3796727" X-Frame-Options: - SAMEORIGIN status: 200 OK @@ -181,11 +253,26 @@ interactions: Dd-Operation-Id: - GetDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) - url: https://api.datadoghq.com/api/v1/dashboard/57r-5zz-jqw + - terraform-provider-datadog/dev (terraform 1.15.0; terraform-cli 0.12.7-sdk) + datadog-api-client-go/1.0.0-beta.14 (go go1.15.4; os darwin; arch amd64) + X-Datadog-Parent-Id: + - "4770318777100850077" + X-Datadog-Sampling-Priority: + - "1" + X-Datadog-Trace-Id: + - "5843149382491789292" + url: https://api.datadoghq.com/api/v1/dashboard/uuw-3pg-534 method: GET response: - body: '{"notify_list":[],"description":"Created using the Datadog provider in Terraform","restricted_roles":["284d8b66-93f9-11eb-9c37-da7ad0900002","043a2842-e140-11e8-bb04-7fd10177666e","657de3a2-29f8-11eb-83b5-6b8ebfb2f184","e82bf27a-986c-11eb-9cba-da7ad0900002","f257ba30-dbb2-11ea-a5ff-5fd1d308318a","6bf314be-5c16-11eb-8e98-2356ea436065","62cbc476-5c16-11eb-8e98-0388ea7a41f8","08604de8-1dca-11eb-800c-9f5f55ff734d","9b3ab170-b768-11eb-a45a-da7ad0900002","7a83f306-96ca-11eb-9c74-da7ad0900002","16169788-28e4-11eb-832c-fb84162ef3eb","4de53192-9946-11eb-9cee-da7ad0900002","1302282c-b93b-11eb-a436-da7ad0900002","17d73994-7531-11eb-94b9-da7ad0900002"],"author_name":"Qin Chen","template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"57r-5zz-jqw","title":"tf-TestAccDatadogDashboardChange-local-1621865327","url":"/dashboard/57r-5zz-jqw/tf-testaccdatadogdashboardchange-local-1621865327","created_at":"2021-05-24T14:08:48.616136+00:00","modified_at":"2021-05-24T14:08:48.616136+00:00","author_handle":"qin.chen@datadoghq.com","widgets":[{"definition":{"requests":[{"q":"sum:system.cpu.user{*} by {service,account}","show_present":false,"increase_good":false}],"type":"change"},"id":5933131819232183},{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test Custom Link label"},{"override_label":"logs","is_hidden":true,"link":"https://app.datadoghq.com/dashboard/lists"}],"title_size":"16","title":"Sum of system.cpu.user over * by service,account","title_align":"left","time":{"live_span":"1h"},"requests":[{"change_type":"absolute","order_dir":"desc","compare_to":"day_before","q":"sum:system.cpu.user{*} by {service,account}","show_present":true,"increase_good":false,"order_by":"change"}],"type":"change"},"id":5081916014344885},{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test Custom Link label"}],"title_size":"16","title":"Sum of system.cpu.user over * by service,account","title_align":"left","time":{"live_span":"1h"},"requests":[{"change_type":"absolute","order_dir":"desc","compare_to":"day_before","q":"sum:system.cpu.user{*} by {service,account}","show_present":true,"increase_good":false,"order_by":"change"}],"type":"change"},"id":2636154791238909}],"layout_type":"ordered"}' + body: '{"notify_list":[],"description":"Created using the Datadog provider in + Terraform","author_name":null,"template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"uuw-3pg-534","title":"tf-TestAccDatadogDashboardChange-local-1611850704","url":"/dashboard/uuw-3pg-534/tf-testaccdatadogdashboardchange-local-1611850704","created_at":"2021-01-28T16:43:57.046067+00:00","modified_at":"2021-01-28T16:43:57.046067+00:00","author_handle":"frog@datadoghq.com","widgets":[{"definition":{"requests":[{"q":"sum:system.cpu.user{*} + by {service,account}","show_present":false,"increase_good":false}],"type":"change"},"id":3110332253128132},{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test + Custom Link label"}],"title_size":"16","title":"Sum of system.cpu.user over + * by service,account","title_align":"left","time":{"live_span":"1h"},"requests":[{"change_type":"absolute","order_dir":"desc","compare_to":"day_before","q":"sum:system.cpu.user{*} + by {service,account}","show_present":true,"increase_good":false,"order_by":"change"}],"type":"change"},"id":2019754692625709},{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test + Custom Link label"}],"title_size":"16","title":"Sum of system.cpu.user over + * by service,account","title_align":"left","time":{"live_span":"1h"},"requests":[{"change_type":"absolute","order_dir":"desc","compare_to":"day_before","q":"sum:system.cpu.user{*} + by {service,account}","show_present":true,"increase_good":false,"order_by":"change"}],"type":"change"},"id":3404570797187644}],"layout_type":"ordered"}' headers: Cache-Control: - no-cache @@ -196,9 +283,12 @@ interactions: Content-Type: - application/json Date: - - Mon, 24 May 2021 14:08:50 GMT + - Thu, 28 Jan 2021 16:46:05 GMT Pragma: - no-cache + Set-Cookie: + - DD-PSHARD=233; Max-Age=604800; Path=/; expires=Thu, 04-Feb-2021 16:46:05 GMT; + secure; HttpOnly Strict-Transport-Security: - max-age=15724800; Vary: @@ -206,9 +296,9 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Debug: - - nLnnBNvlCFDECRnZvzDb0z4sAO35G+IMidcAs8vrCKyjvsKWE8Yd9S3n6OjZ1qRN + - /L+SFFO+m1pPY+hRCpk5325fvfrNl0KmiquUNJolBN/5hu3HIwflqjZSbJ6NxDFG X-Dd-Version: - - "35.4593741" + - "35.3796727" X-Frame-Options: - SAMEORIGIN status: 200 OK @@ -223,11 +313,18 @@ interactions: Dd-Operation-Id: - DeleteDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) - url: https://api.datadoghq.com/api/v1/dashboard/57r-5zz-jqw + - terraform-provider-datadog/dev (terraform 1.15.0; terraform-cli 0.12.7-sdk) + datadog-api-client-go/1.0.0-beta.14 (go go1.15.4; os darwin; arch amd64) + X-Datadog-Parent-Id: + - "2675159928189944347" + X-Datadog-Sampling-Priority: + - "1" + X-Datadog-Trace-Id: + - "5843149382491789292" + url: https://api.datadoghq.com/api/v1/dashboard/uuw-3pg-534 method: DELETE response: - body: '{"deleted_dashboard_id":"57r-5zz-jqw"}' + body: '{"deleted_dashboard_id":"uuw-3pg-534"}' headers: Cache-Control: - no-cache @@ -238,9 +335,12 @@ interactions: Content-Type: - application/json Date: - - Mon, 24 May 2021 14:08:50 GMT + - Thu, 28 Jan 2021 16:47:02 GMT Pragma: - no-cache + Set-Cookie: + - DD-PSHARD=233; Max-Age=604800; Path=/; expires=Thu, 04-Feb-2021 16:47:02 GMT; + secure; HttpOnly Strict-Transport-Security: - max-age=15724800; Vary: @@ -248,9 +348,9 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Debug: - - dPySkcOzIZtKyMKDAAzuysY3gNGGj6RtYogGuSb76E8mPvoqzREyRp6lPYm91hQU + - bgHykj7A9bfZx0Y5ZO3swhhp5tGUSNJHqFWR868+qg087CYrDOd5hQslC+noiEtH X-Dd-Version: - - "35.4593741" + - "35.3796727" X-Frame-Options: - SAMEORIGIN status: 200 OK @@ -265,11 +365,18 @@ interactions: Dd-Operation-Id: - GetDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) - url: https://api.datadoghq.com/api/v1/dashboard/57r-5zz-jqw + - terraform-provider-datadog/dev (terraform 1.15.0; terraform-cli 0.12.7-sdk) + datadog-api-client-go/1.0.0-beta.14 (go go1.15.4; os darwin; arch amd64) + X-Datadog-Parent-Id: + - "6281533561525923360" + X-Datadog-Sampling-Priority: + - "1" + X-Datadog-Trace-Id: + - "5843149382491789292" + url: https://api.datadoghq.com/api/v1/dashboard/uuw-3pg-534 method: GET response: - body: '{"errors": ["Dashboard with ID 57r-5zz-jqw not found"]}' + body: '{"errors": ["Dashboard with ID uuw-3pg-534 not found"]}' headers: Cache-Control: - no-cache @@ -280,7 +387,7 @@ interactions: Content-Type: - application/json Date: - - Mon, 24 May 2021 14:08:50 GMT + - Thu, 28 Jan 2021 16:47:07 GMT Pragma: - no-cache Strict-Transport-Security: @@ -290,7 +397,7 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Version: - - "35.4593741" + - "35.3796727" X-Frame-Options: - SAMEORIGIN status: 404 Not Found diff --git a/datadog/tests/cassettes/TestAccDatadogDashboardChange_import.freeze b/datadog/tests/cassettes/TestAccDatadogDashboardChange_import.freeze index e69bf587c..287650608 100644 --- a/datadog/tests/cassettes/TestAccDatadogDashboardChange_import.freeze +++ b/datadog/tests/cassettes/TestAccDatadogDashboardChange_import.freeze @@ -1 +1 @@ -2021-05-24T10:37:36.437498-04:00 \ No newline at end of file +2020-12-31T15:42:08.103145+01:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogDashboardChange_import.yaml b/datadog/tests/cassettes/TestAccDatadogDashboardChange_import.yaml index 1e61d6f44..db022f64d 100644 --- a/datadog/tests/cassettes/TestAccDatadogDashboardChange_import.yaml +++ b/datadog/tests/cassettes/TestAccDatadogDashboardChange_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-TestAccDatadogDashboardChange_import-local-1621865327","widgets":[{"definition":{"requests":[{"increase_good":false,"q":"sum:system.cpu.user{*} by {service,account}","show_present":false}],"type":"change"}},{"definition":{"custom_links":[{"label":"Test Custom Link label","link":"https://app.datadoghq.com/dashboard/lists"}],"requests":[{"change_type":"absolute","compare_to":"day_before","increase_good":false,"order_by":"change","order_dir":"desc","q":"sum:system.cpu.user{*} by {service,account}","show_present":true}],"time":{"live_span":"1h"},"title":"Sum of system.cpu.user over * by service,account","title_align":"left","title_size":"16","type":"change"}}]} + {"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-TestAccDatadogDashboardChange_import-local-1609425728","widgets":[{"definition":{"requests":[{"increase_good":false,"q":"sum:system.cpu.user{*} by {service,account}","show_present":false}],"type":"change"}},{"definition":{"custom_links":[{"label":"Test Custom Link label","link":"https://app.datadoghq.com/dashboard/lists"}],"requests":[{"change_type":"absolute","compare_to":"day_before","increase_good":false,"order_by":"change","order_dir":"desc","q":"sum:system.cpu.user{*} by {service,account}","show_present":true}],"time":{"live_span":"1h"},"title":"Sum of system.cpu.user over * by service,account","title_align":"left","title_size":"16","type":"change"}}]} form: {} headers: Accept: @@ -13,11 +13,23 @@ interactions: Dd-Operation-Id: - CreateDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) + - terraform-provider-datadog/dev (terraform 1.15.0; terraform-cli 0.12.7-sdk) + datadog-api-client-go/1.0.0-beta.13+dev (go go1.15.4; os darwin; arch amd64) + X-Datadog-Parent-Id: + - "1853406817859842867" + X-Datadog-Sampling-Priority: + - "1" + X-Datadog-Trace-Id: + - "5769151533183827587" url: https://api.datadoghq.com/api/v1/dashboard method: POST response: - body: '{"notify_list":[],"description":"Created using the Datadog provider in Terraform","restricted_roles":["043a2842-e140-11e8-bb04-7fd10177666e","08604de8-1dca-11eb-800c-9f5f55ff734d","1302282c-b93b-11eb-a436-da7ad0900002","16169788-28e4-11eb-832c-fb84162ef3eb","17d73994-7531-11eb-94b9-da7ad0900002","284d8b66-93f9-11eb-9c37-da7ad0900002","4de53192-9946-11eb-9cee-da7ad0900002","62cbc476-5c16-11eb-8e98-0388ea7a41f8","657de3a2-29f8-11eb-83b5-6b8ebfb2f184","6bf314be-5c16-11eb-8e98-2356ea436065","7a83f306-96ca-11eb-9c74-da7ad0900002","9b3ab170-b768-11eb-a45a-da7ad0900002","e82bf27a-986c-11eb-9cba-da7ad0900002","f257ba30-dbb2-11ea-a5ff-5fd1d308318a"],"author_name":"Qin Chen","template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"vi4-7tc-wm9","title":"tf-TestAccDatadogDashboardChange_import-local-1621865327","url":"/dashboard/vi4-7tc-wm9/tf-testaccdatadogdashboardchangeimport-local-1621865327","created_at":"2021-05-24T14:08:48.626102+00:00","modified_at":"2021-05-24T14:08:48.626102+00:00","author_handle":"qin.chen@datadoghq.com","widgets":[{"definition":{"requests":[{"q":"sum:system.cpu.user{*} by {service,account}","show_present":false,"increase_good":false}],"type":"change"},"id":8750702730431955},{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test Custom Link label"}],"title_size":"16","title":"Sum of system.cpu.user over * by service,account","title_align":"left","time":{"live_span":"1h"},"requests":[{"change_type":"absolute","order_dir":"desc","compare_to":"day_before","q":"sum:system.cpu.user{*} by {service,account}","show_present":true,"increase_good":false,"order_by":"change"}],"type":"change"},"id":2194015777792038}],"layout_type":"ordered"}' + body: '{"notify_list":[],"description":"Created using the Datadog provider in + Terraform","author_name":null,"template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"wkv-yrc-625","title":"tf-TestAccDatadogDashboardChange_import-local-1609425728","url":"/dashboard/wkv-yrc-625/tf-testaccdatadogdashboardchangeimport-local-1609425728","created_at":"2020-12-31T14:52:50.243433+00:00","modified_at":"2020-12-31T14:52:50.243433+00:00","author_handle":"frog@datadoghq.com","widgets":[{"definition":{"requests":[{"q":"sum:system.cpu.user{*} + by {service,account}","show_present":false,"increase_good":false}],"type":"change"},"id":6028833218915409},{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test + Custom Link label"}],"title_size":"16","title":"Sum of system.cpu.user over + * by service,account","title_align":"left","time":{"live_span":"1h"},"requests":[{"change_type":"absolute","order_dir":"desc","compare_to":"day_before","q":"sum:system.cpu.user{*} + by {service,account}","show_present":true,"increase_good":false,"order_by":"change"}],"type":"change"},"id":3813596531466177}],"layout_type":"ordered"}' headers: Cache-Control: - no-cache @@ -28,9 +40,12 @@ interactions: Content-Type: - application/json Date: - - Mon, 24 May 2021 14:08:48 GMT + - Thu, 31 Dec 2020 14:52:53 GMT Pragma: - no-cache + Set-Cookie: + - DD-PSHARD=233; Max-Age=604800; Path=/; expires=Thu, 07-Jan-2021 14:52:50 GMT; + secure; HttpOnly Strict-Transport-Security: - max-age=15724800; Vary: @@ -38,9 +53,9 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Debug: - - PhosSd3Ch1B6B0DXI71steKUi7XhPDttnPiIP1NdXTw0VJNWpoUnYyBmODS5ne3q + - PJZiHVb0oXD9IRg/OcDxfMo7GtrlXRAN6F62/T7X/NaBstj6dM2xawF737azAs+y X-Dd-Version: - - "35.4593741" + - "35.3622023" X-Frame-Options: - SAMEORIGIN status: 200 OK @@ -55,11 +70,23 @@ interactions: Dd-Operation-Id: - GetDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) - url: https://api.datadoghq.com/api/v1/dashboard/vi4-7tc-wm9 + - terraform-provider-datadog/dev (terraform 1.15.0; terraform-cli 0.12.7-sdk) + datadog-api-client-go/1.0.0-beta.13+dev (go go1.15.4; os darwin; arch amd64) + X-Datadog-Parent-Id: + - "5783629463375126940" + X-Datadog-Sampling-Priority: + - "1" + X-Datadog-Trace-Id: + - "5769151533183827587" + url: https://api.datadoghq.com/api/v1/dashboard/wkv-yrc-625 method: GET response: - body: '{"notify_list":[],"description":"Created using the Datadog provider in Terraform","restricted_roles":["284d8b66-93f9-11eb-9c37-da7ad0900002","043a2842-e140-11e8-bb04-7fd10177666e","657de3a2-29f8-11eb-83b5-6b8ebfb2f184","e82bf27a-986c-11eb-9cba-da7ad0900002","f257ba30-dbb2-11ea-a5ff-5fd1d308318a","6bf314be-5c16-11eb-8e98-2356ea436065","62cbc476-5c16-11eb-8e98-0388ea7a41f8","08604de8-1dca-11eb-800c-9f5f55ff734d","9b3ab170-b768-11eb-a45a-da7ad0900002","7a83f306-96ca-11eb-9c74-da7ad0900002","16169788-28e4-11eb-832c-fb84162ef3eb","4de53192-9946-11eb-9cee-da7ad0900002","1302282c-b93b-11eb-a436-da7ad0900002","17d73994-7531-11eb-94b9-da7ad0900002"],"author_name":"Qin Chen","template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"vi4-7tc-wm9","title":"tf-TestAccDatadogDashboardChange_import-local-1621865327","url":"/dashboard/vi4-7tc-wm9/tf-testaccdatadogdashboardchangeimport-local-1621865327","created_at":"2021-05-24T14:08:48.626102+00:00","modified_at":"2021-05-24T14:08:48.626102+00:00","author_handle":"qin.chen@datadoghq.com","widgets":[{"definition":{"requests":[{"q":"sum:system.cpu.user{*} by {service,account}","show_present":false,"increase_good":false}],"type":"change"},"id":8750702730431955},{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test Custom Link label"}],"title_size":"16","title":"Sum of system.cpu.user over * by service,account","title_align":"left","time":{"live_span":"1h"},"requests":[{"change_type":"absolute","order_dir":"desc","compare_to":"day_before","q":"sum:system.cpu.user{*} by {service,account}","show_present":true,"increase_good":false,"order_by":"change"}],"type":"change"},"id":2194015777792038}],"layout_type":"ordered"}' + body: '{"notify_list":[],"description":"Created using the Datadog provider in + Terraform","author_name":null,"template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"wkv-yrc-625","title":"tf-TestAccDatadogDashboardChange_import-local-1609425728","url":"/dashboard/wkv-yrc-625/tf-testaccdatadogdashboardchangeimport-local-1609425728","created_at":"2020-12-31T14:52:50.243433+00:00","modified_at":"2020-12-31T14:52:50.243433+00:00","author_handle":"frog@datadoghq.com","widgets":[{"definition":{"requests":[{"q":"sum:system.cpu.user{*} + by {service,account}","show_present":false,"increase_good":false}],"type":"change"},"id":6028833218915409},{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test + Custom Link label"}],"title_size":"16","title":"Sum of system.cpu.user over + * by service,account","title_align":"left","time":{"live_span":"1h"},"requests":[{"change_type":"absolute","order_dir":"desc","compare_to":"day_before","q":"sum:system.cpu.user{*} + by {service,account}","show_present":true,"increase_good":false,"order_by":"change"}],"type":"change"},"id":3813596531466177}],"layout_type":"ordered"}' headers: Cache-Control: - no-cache @@ -70,9 +97,12 @@ interactions: Content-Type: - application/json Date: - - Mon, 24 May 2021 14:08:48 GMT + - Thu, 31 Dec 2020 14:52:53 GMT Pragma: - no-cache + Set-Cookie: + - DD-PSHARD=233; Max-Age=604800; Path=/; expires=Thu, 07-Jan-2021 14:52:53 GMT; + secure; HttpOnly Strict-Transport-Security: - max-age=15724800; Vary: @@ -80,9 +110,9 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Debug: - - Um4CoU685QqAscnxhS5BD+goWu2yX1Jd4zCfGzSsEvPPIm1qURZaF8dlLl/OEY4I + - FHfHzbfIddsg0sQ7IeNBOxLqb5wz+d6n32kEDCDFZtJpoagPnr4KgZnA3JebHBTT X-Dd-Version: - - "35.4593741" + - "35.3622023" X-Frame-Options: - SAMEORIGIN status: 200 OK @@ -97,11 +127,23 @@ interactions: Dd-Operation-Id: - GetDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) - url: https://api.datadoghq.com/api/v1/dashboard/vi4-7tc-wm9 + - terraform-provider-datadog/dev (terraform 1.15.0; terraform-cli 0.12.7-sdk) + datadog-api-client-go/1.0.0-beta.13+dev (go go1.15.4; os darwin; arch amd64) + X-Datadog-Parent-Id: + - "9156044777915634943" + X-Datadog-Sampling-Priority: + - "1" + X-Datadog-Trace-Id: + - "5769151533183827587" + url: https://api.datadoghq.com/api/v1/dashboard/wkv-yrc-625 method: GET response: - body: '{"notify_list":[],"description":"Created using the Datadog provider in Terraform","restricted_roles":["284d8b66-93f9-11eb-9c37-da7ad0900002","043a2842-e140-11e8-bb04-7fd10177666e","657de3a2-29f8-11eb-83b5-6b8ebfb2f184","e82bf27a-986c-11eb-9cba-da7ad0900002","f257ba30-dbb2-11ea-a5ff-5fd1d308318a","6bf314be-5c16-11eb-8e98-2356ea436065","62cbc476-5c16-11eb-8e98-0388ea7a41f8","08604de8-1dca-11eb-800c-9f5f55ff734d","9b3ab170-b768-11eb-a45a-da7ad0900002","7a83f306-96ca-11eb-9c74-da7ad0900002","16169788-28e4-11eb-832c-fb84162ef3eb","4de53192-9946-11eb-9cee-da7ad0900002","1302282c-b93b-11eb-a436-da7ad0900002","17d73994-7531-11eb-94b9-da7ad0900002"],"author_name":"Qin Chen","template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"vi4-7tc-wm9","title":"tf-TestAccDatadogDashboardChange_import-local-1621865327","url":"/dashboard/vi4-7tc-wm9/tf-testaccdatadogdashboardchangeimport-local-1621865327","created_at":"2021-05-24T14:08:48.626102+00:00","modified_at":"2021-05-24T14:08:48.626102+00:00","author_handle":"qin.chen@datadoghq.com","widgets":[{"definition":{"requests":[{"q":"sum:system.cpu.user{*} by {service,account}","show_present":false,"increase_good":false}],"type":"change"},"id":8750702730431955},{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test Custom Link label"}],"title_size":"16","title":"Sum of system.cpu.user over * by service,account","title_align":"left","time":{"live_span":"1h"},"requests":[{"change_type":"absolute","order_dir":"desc","compare_to":"day_before","q":"sum:system.cpu.user{*} by {service,account}","show_present":true,"increase_good":false,"order_by":"change"}],"type":"change"},"id":2194015777792038}],"layout_type":"ordered"}' + body: '{"notify_list":[],"description":"Created using the Datadog provider in + Terraform","author_name":null,"template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"wkv-yrc-625","title":"tf-TestAccDatadogDashboardChange_import-local-1609425728","url":"/dashboard/wkv-yrc-625/tf-testaccdatadogdashboardchangeimport-local-1609425728","created_at":"2020-12-31T14:52:50.243433+00:00","modified_at":"2020-12-31T14:52:50.243433+00:00","author_handle":"frog@datadoghq.com","widgets":[{"definition":{"requests":[{"q":"sum:system.cpu.user{*} + by {service,account}","show_present":false,"increase_good":false}],"type":"change"},"id":6028833218915409},{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test + Custom Link label"}],"title_size":"16","title":"Sum of system.cpu.user over + * by service,account","title_align":"left","time":{"live_span":"1h"},"requests":[{"change_type":"absolute","order_dir":"desc","compare_to":"day_before","q":"sum:system.cpu.user{*} + by {service,account}","show_present":true,"increase_good":false,"order_by":"change"}],"type":"change"},"id":3813596531466177}],"layout_type":"ordered"}' headers: Cache-Control: - no-cache @@ -112,9 +154,12 @@ interactions: Content-Type: - application/json Date: - - Mon, 24 May 2021 14:08:49 GMT + - Thu, 31 Dec 2020 14:53:00 GMT Pragma: - no-cache + Set-Cookie: + - DD-PSHARD=233; Max-Age=604800; Path=/; expires=Thu, 07-Jan-2021 14:53:00 GMT; + secure; HttpOnly Strict-Transport-Security: - max-age=15724800; Vary: @@ -122,9 +167,9 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Debug: - - B1nwy/pPNqX+q4pQT22cdp1QCexE35IF8qwSHy0Nf7IW0Y881qtn4tXN1lpmzaKc + - x0lXQI7rzyICHjQ6egBdIXvv6oH1uc+zPjPKGBnD3VLYo8imKB14VpRl9Uf7xZN/ X-Dd-Version: - - "35.4593741" + - "35.3622023" X-Frame-Options: - SAMEORIGIN status: 200 OK @@ -139,11 +184,23 @@ interactions: Dd-Operation-Id: - GetDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) - url: https://api.datadoghq.com/api/v1/dashboard/vi4-7tc-wm9 + - terraform-provider-datadog/dev (terraform 1.15.0; terraform-cli 0.12.7-sdk) + datadog-api-client-go/1.0.0-beta.13+dev (go go1.15.4; os darwin; arch amd64) + X-Datadog-Parent-Id: + - "6391889243783665519" + X-Datadog-Sampling-Priority: + - "1" + X-Datadog-Trace-Id: + - "5769151533183827587" + url: https://api.datadoghq.com/api/v1/dashboard/wkv-yrc-625 method: GET response: - body: '{"notify_list":[],"description":"Created using the Datadog provider in Terraform","restricted_roles":["284d8b66-93f9-11eb-9c37-da7ad0900002","043a2842-e140-11e8-bb04-7fd10177666e","657de3a2-29f8-11eb-83b5-6b8ebfb2f184","e82bf27a-986c-11eb-9cba-da7ad0900002","f257ba30-dbb2-11ea-a5ff-5fd1d308318a","6bf314be-5c16-11eb-8e98-2356ea436065","62cbc476-5c16-11eb-8e98-0388ea7a41f8","08604de8-1dca-11eb-800c-9f5f55ff734d","9b3ab170-b768-11eb-a45a-da7ad0900002","7a83f306-96ca-11eb-9c74-da7ad0900002","16169788-28e4-11eb-832c-fb84162ef3eb","4de53192-9946-11eb-9cee-da7ad0900002","1302282c-b93b-11eb-a436-da7ad0900002","17d73994-7531-11eb-94b9-da7ad0900002"],"author_name":"Qin Chen","template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"vi4-7tc-wm9","title":"tf-TestAccDatadogDashboardChange_import-local-1621865327","url":"/dashboard/vi4-7tc-wm9/tf-testaccdatadogdashboardchangeimport-local-1621865327","created_at":"2021-05-24T14:08:48.626102+00:00","modified_at":"2021-05-24T14:08:48.626102+00:00","author_handle":"qin.chen@datadoghq.com","widgets":[{"definition":{"requests":[{"q":"sum:system.cpu.user{*} by {service,account}","show_present":false,"increase_good":false}],"type":"change"},"id":8750702730431955},{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test Custom Link label"}],"title_size":"16","title":"Sum of system.cpu.user over * by service,account","title_align":"left","time":{"live_span":"1h"},"requests":[{"change_type":"absolute","order_dir":"desc","compare_to":"day_before","q":"sum:system.cpu.user{*} by {service,account}","show_present":true,"increase_good":false,"order_by":"change"}],"type":"change"},"id":2194015777792038}],"layout_type":"ordered"}' + body: '{"notify_list":[],"description":"Created using the Datadog provider in + Terraform","author_name":null,"template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"wkv-yrc-625","title":"tf-TestAccDatadogDashboardChange_import-local-1609425728","url":"/dashboard/wkv-yrc-625/tf-testaccdatadogdashboardchangeimport-local-1609425728","created_at":"2020-12-31T14:52:50.243433+00:00","modified_at":"2020-12-31T14:52:50.243433+00:00","author_handle":"frog@datadoghq.com","widgets":[{"definition":{"requests":[{"q":"sum:system.cpu.user{*} + by {service,account}","show_present":false,"increase_good":false}],"type":"change"},"id":6028833218915409},{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test + Custom Link label"}],"title_size":"16","title":"Sum of system.cpu.user over + * by service,account","title_align":"left","time":{"live_span":"1h"},"requests":[{"change_type":"absolute","order_dir":"desc","compare_to":"day_before","q":"sum:system.cpu.user{*} + by {service,account}","show_present":true,"increase_good":false,"order_by":"change"}],"type":"change"},"id":3813596531466177}],"layout_type":"ordered"}' headers: Cache-Control: - no-cache @@ -154,9 +211,12 @@ interactions: Content-Type: - application/json Date: - - Mon, 24 May 2021 14:08:49 GMT + - Thu, 31 Dec 2020 14:53:06 GMT Pragma: - no-cache + Set-Cookie: + - DD-PSHARD=233; Max-Age=604800; Path=/; expires=Thu, 07-Jan-2021 14:53:06 GMT; + secure; HttpOnly Strict-Transport-Security: - max-age=15724800; Vary: @@ -164,9 +224,9 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Debug: - - 25u1gDlL724DHllbjFT4BhOLorBTilh+aah2uWAUEjFC/+rjczJdiyWrV/HwLwe/ + - ERAR+wIpkUrPjdmF8Izu2K5/ZMTkW0RxdMJp2EI5/HgIxQDnb5krpGDLSDYaD2KU X-Dd-Version: - - "35.4593741" + - "35.3622023" X-Frame-Options: - SAMEORIGIN status: 200 OK @@ -181,11 +241,23 @@ interactions: Dd-Operation-Id: - GetDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) - url: https://api.datadoghq.com/api/v1/dashboard/vi4-7tc-wm9 + - terraform-provider-datadog/dev (terraform 1.15.0; terraform-cli 0.12.7-sdk) + datadog-api-client-go/1.0.0-beta.13+dev (go go1.15.4; os darwin; arch amd64) + X-Datadog-Parent-Id: + - "5646558347051298009" + X-Datadog-Sampling-Priority: + - "1" + X-Datadog-Trace-Id: + - "5769151533183827587" + url: https://api.datadoghq.com/api/v1/dashboard/wkv-yrc-625 method: GET response: - body: '{"notify_list":[],"description":"Created using the Datadog provider in Terraform","restricted_roles":["284d8b66-93f9-11eb-9c37-da7ad0900002","043a2842-e140-11e8-bb04-7fd10177666e","657de3a2-29f8-11eb-83b5-6b8ebfb2f184","e82bf27a-986c-11eb-9cba-da7ad0900002","f257ba30-dbb2-11ea-a5ff-5fd1d308318a","6bf314be-5c16-11eb-8e98-2356ea436065","62cbc476-5c16-11eb-8e98-0388ea7a41f8","08604de8-1dca-11eb-800c-9f5f55ff734d","9b3ab170-b768-11eb-a45a-da7ad0900002","7a83f306-96ca-11eb-9c74-da7ad0900002","16169788-28e4-11eb-832c-fb84162ef3eb","4de53192-9946-11eb-9cee-da7ad0900002","1302282c-b93b-11eb-a436-da7ad0900002","17d73994-7531-11eb-94b9-da7ad0900002"],"author_name":"Qin Chen","template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"vi4-7tc-wm9","title":"tf-TestAccDatadogDashboardChange_import-local-1621865327","url":"/dashboard/vi4-7tc-wm9/tf-testaccdatadogdashboardchangeimport-local-1621865327","created_at":"2021-05-24T14:08:48.626102+00:00","modified_at":"2021-05-24T14:08:48.626102+00:00","author_handle":"qin.chen@datadoghq.com","widgets":[{"definition":{"requests":[{"q":"sum:system.cpu.user{*} by {service,account}","show_present":false,"increase_good":false}],"type":"change"},"id":8750702730431955},{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test Custom Link label"}],"title_size":"16","title":"Sum of system.cpu.user over * by service,account","title_align":"left","time":{"live_span":"1h"},"requests":[{"change_type":"absolute","order_dir":"desc","compare_to":"day_before","q":"sum:system.cpu.user{*} by {service,account}","show_present":true,"increase_good":false,"order_by":"change"}],"type":"change"},"id":2194015777792038}],"layout_type":"ordered"}' + body: '{"notify_list":[],"description":"Created using the Datadog provider in + Terraform","author_name":null,"template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"wkv-yrc-625","title":"tf-TestAccDatadogDashboardChange_import-local-1609425728","url":"/dashboard/wkv-yrc-625/tf-testaccdatadogdashboardchangeimport-local-1609425728","created_at":"2020-12-31T14:52:50.243433+00:00","modified_at":"2020-12-31T14:52:50.243433+00:00","author_handle":"frog@datadoghq.com","widgets":[{"definition":{"requests":[{"q":"sum:system.cpu.user{*} + by {service,account}","show_present":false,"increase_good":false}],"type":"change"},"id":6028833218915409},{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test + Custom Link label"}],"title_size":"16","title":"Sum of system.cpu.user over + * by service,account","title_align":"left","time":{"live_span":"1h"},"requests":[{"change_type":"absolute","order_dir":"desc","compare_to":"day_before","q":"sum:system.cpu.user{*} + by {service,account}","show_present":true,"increase_good":false,"order_by":"change"}],"type":"change"},"id":3813596531466177}],"layout_type":"ordered"}' headers: Cache-Control: - no-cache @@ -196,9 +268,12 @@ interactions: Content-Type: - application/json Date: - - Mon, 24 May 2021 14:08:49 GMT + - Thu, 31 Dec 2020 14:53:07 GMT Pragma: - no-cache + Set-Cookie: + - DD-PSHARD=233; Max-Age=604800; Path=/; expires=Thu, 07-Jan-2021 14:53:07 GMT; + secure; HttpOnly Strict-Transport-Security: - max-age=15724800; Vary: @@ -206,9 +281,9 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Debug: - - dPySkcOzIZtKyMKDAAzuysY3gNGGj6RtYogGuSb76E8mPvoqzREyRp6lPYm91hQU + - O3O7xE5uwHtX7J0LqZ8TwbNGWo9Sdsox9lgU7fr/GZp13UzdkbKQZW76fPVpoSDj X-Dd-Version: - - "35.4593741" + - "35.3622023" X-Frame-Options: - SAMEORIGIN status: 200 OK @@ -223,11 +298,23 @@ interactions: Dd-Operation-Id: - GetDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) - url: https://api.datadoghq.com/api/v1/dashboard/vi4-7tc-wm9 + - terraform-provider-datadog/dev (terraform 1.15.0; terraform-cli 0.12.7-sdk) + datadog-api-client-go/1.0.0-beta.13+dev (go go1.15.4; os darwin; arch amd64) + X-Datadog-Parent-Id: + - "1396954380889078408" + X-Datadog-Sampling-Priority: + - "1" + X-Datadog-Trace-Id: + - "5769151533183827587" + url: https://api.datadoghq.com/api/v1/dashboard/wkv-yrc-625 method: GET response: - body: '{"notify_list":[],"description":"Created using the Datadog provider in Terraform","restricted_roles":["284d8b66-93f9-11eb-9c37-da7ad0900002","043a2842-e140-11e8-bb04-7fd10177666e","657de3a2-29f8-11eb-83b5-6b8ebfb2f184","e82bf27a-986c-11eb-9cba-da7ad0900002","f257ba30-dbb2-11ea-a5ff-5fd1d308318a","6bf314be-5c16-11eb-8e98-2356ea436065","62cbc476-5c16-11eb-8e98-0388ea7a41f8","08604de8-1dca-11eb-800c-9f5f55ff734d","9b3ab170-b768-11eb-a45a-da7ad0900002","7a83f306-96ca-11eb-9c74-da7ad0900002","16169788-28e4-11eb-832c-fb84162ef3eb","4de53192-9946-11eb-9cee-da7ad0900002","1302282c-b93b-11eb-a436-da7ad0900002","17d73994-7531-11eb-94b9-da7ad0900002"],"author_name":"Qin Chen","template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"vi4-7tc-wm9","title":"tf-TestAccDatadogDashboardChange_import-local-1621865327","url":"/dashboard/vi4-7tc-wm9/tf-testaccdatadogdashboardchangeimport-local-1621865327","created_at":"2021-05-24T14:08:48.626102+00:00","modified_at":"2021-05-24T14:08:48.626102+00:00","author_handle":"qin.chen@datadoghq.com","widgets":[{"definition":{"requests":[{"q":"sum:system.cpu.user{*} by {service,account}","show_present":false,"increase_good":false}],"type":"change"},"id":8750702730431955},{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test Custom Link label"}],"title_size":"16","title":"Sum of system.cpu.user over * by service,account","title_align":"left","time":{"live_span":"1h"},"requests":[{"change_type":"absolute","order_dir":"desc","compare_to":"day_before","q":"sum:system.cpu.user{*} by {service,account}","show_present":true,"increase_good":false,"order_by":"change"}],"type":"change"},"id":2194015777792038}],"layout_type":"ordered"}' + body: '{"notify_list":[],"description":"Created using the Datadog provider in + Terraform","author_name":null,"template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"wkv-yrc-625","title":"tf-TestAccDatadogDashboardChange_import-local-1609425728","url":"/dashboard/wkv-yrc-625/tf-testaccdatadogdashboardchangeimport-local-1609425728","created_at":"2020-12-31T14:52:50.243433+00:00","modified_at":"2020-12-31T14:52:50.243433+00:00","author_handle":"frog@datadoghq.com","widgets":[{"definition":{"requests":[{"q":"sum:system.cpu.user{*} + by {service,account}","show_present":false,"increase_good":false}],"type":"change"},"id":6028833218915409},{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test + Custom Link label"}],"title_size":"16","title":"Sum of system.cpu.user over + * by service,account","title_align":"left","time":{"live_span":"1h"},"requests":[{"change_type":"absolute","order_dir":"desc","compare_to":"day_before","q":"sum:system.cpu.user{*} + by {service,account}","show_present":true,"increase_good":false,"order_by":"change"}],"type":"change"},"id":3813596531466177}],"layout_type":"ordered"}' headers: Cache-Control: - no-cache @@ -238,9 +325,12 @@ interactions: Content-Type: - application/json Date: - - Mon, 24 May 2021 14:08:50 GMT + - Thu, 31 Dec 2020 14:53:10 GMT Pragma: - no-cache + Set-Cookie: + - DD-PSHARD=233; Max-Age=604800; Path=/; expires=Thu, 07-Jan-2021 14:53:10 GMT; + secure; HttpOnly Strict-Transport-Security: - max-age=15724800; Vary: @@ -248,9 +338,9 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Debug: - - L3ULR3HwCWYmEqCWGz2Yob3chcH4pjowBacBXkncP7o+/uPqKt9yGEYf/g1AJPzQ + - sNqZRJv4/cBfvxvWCdEugoEuJbBVq4bkZ/uRRvyXEc9lrDGBw7yRKeuVLRAm5ziA X-Dd-Version: - - "35.4593741" + - "34.3622270" X-Frame-Options: - SAMEORIGIN status: 200 OK @@ -265,11 +355,18 @@ interactions: Dd-Operation-Id: - DeleteDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) - url: https://api.datadoghq.com/api/v1/dashboard/vi4-7tc-wm9 + - terraform-provider-datadog/dev (terraform 1.15.0; terraform-cli 0.12.7-sdk) + datadog-api-client-go/1.0.0-beta.13+dev (go go1.15.4; os darwin; arch amd64) + X-Datadog-Parent-Id: + - "2064907982149854901" + X-Datadog-Sampling-Priority: + - "1" + X-Datadog-Trace-Id: + - "5769151533183827587" + url: https://api.datadoghq.com/api/v1/dashboard/wkv-yrc-625 method: DELETE response: - body: '{"deleted_dashboard_id":"vi4-7tc-wm9"}' + body: '{"deleted_dashboard_id":"wkv-yrc-625"}' headers: Cache-Control: - no-cache @@ -280,9 +377,12 @@ interactions: Content-Type: - application/json Date: - - Mon, 24 May 2021 14:08:50 GMT + - Thu, 31 Dec 2020 14:53:13 GMT Pragma: - no-cache + Set-Cookie: + - DD-PSHARD=233; Max-Age=604800; Path=/; expires=Thu, 07-Jan-2021 14:53:13 GMT; + secure; HttpOnly Strict-Transport-Security: - max-age=15724800; Vary: @@ -290,9 +390,9 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Debug: - - gYZcaADwbKcv7Hm19HJx6WsLoKuOijDWAt2viPeCfWqUgyKY+9e1xZdmMJeXV3YV + - 35J49GdWRZ44BXWQv5M8k5DMOKDsnUL/+b8VnKl01OT828ngNdfZvXJ9jRXKLHFA X-Dd-Version: - - "35.4593741" + - "35.3622023" X-Frame-Options: - SAMEORIGIN status: 200 OK @@ -307,11 +407,18 @@ interactions: Dd-Operation-Id: - GetDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) - url: https://api.datadoghq.com/api/v1/dashboard/vi4-7tc-wm9 + - terraform-provider-datadog/dev (terraform 1.15.0; terraform-cli 0.12.7-sdk) + datadog-api-client-go/1.0.0-beta.13+dev (go go1.15.4; os darwin; arch amd64) + X-Datadog-Parent-Id: + - "416394946025378214" + X-Datadog-Sampling-Priority: + - "1" + X-Datadog-Trace-Id: + - "5769151533183827587" + url: https://api.datadoghq.com/api/v1/dashboard/wkv-yrc-625 method: GET response: - body: '{"errors": ["Dashboard with ID vi4-7tc-wm9 not found"]}' + body: '{"errors": ["Dashboard with ID wkv-yrc-625 not found"]}' headers: Cache-Control: - no-cache @@ -322,7 +429,7 @@ interactions: Content-Type: - application/json Date: - - Mon, 24 May 2021 14:08:50 GMT + - Thu, 31 Dec 2020 14:53:14 GMT Pragma: - no-cache Strict-Transport-Security: @@ -332,7 +439,7 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Version: - - "35.4593741" + - "35.3622023" X-Frame-Options: - SAMEORIGIN status: 404 Not Found diff --git a/datadog/tests/cassettes/TestAccDatadogDashboardCheckStatus.freeze b/datadog/tests/cassettes/TestAccDatadogDashboardCheckStatus.freeze index accc26640..2c964a438 100644 --- a/datadog/tests/cassettes/TestAccDatadogDashboardCheckStatus.freeze +++ b/datadog/tests/cassettes/TestAccDatadogDashboardCheckStatus.freeze @@ -1 +1 @@ -2021-05-24T10:37:36.435024-04:00 \ No newline at end of file +2021-01-28T17:18:24.968915+01:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogDashboardCheckStatus_import.freeze b/datadog/tests/cassettes/TestAccDatadogDashboardCheckStatus_import.freeze index 626232882..5a0c753e4 100644 --- a/datadog/tests/cassettes/TestAccDatadogDashboardCheckStatus_import.freeze +++ b/datadog/tests/cassettes/TestAccDatadogDashboardCheckStatus_import.freeze @@ -1 +1 @@ -2021-05-24T10:37:36.432597-04:00 \ No newline at end of file +2020-12-31T15:42:08.108147+01:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogDashboardDatasource.freeze b/datadog/tests/cassettes/TestAccDatadogDashboardDatasource.freeze index face0c7b9..e9accd5a5 100644 --- a/datadog/tests/cassettes/TestAccDatadogDashboardDatasource.freeze +++ b/datadog/tests/cassettes/TestAccDatadogDashboardDatasource.freeze @@ -1 +1 @@ -2021-05-24T10:37:36.544895-04:00 \ No newline at end of file +2021-01-28T17:18:24.901762+01:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogDashboardDistribution.freeze b/datadog/tests/cassettes/TestAccDatadogDashboardDistribution.freeze index 40385308f..f0bcf169f 100644 --- a/datadog/tests/cassettes/TestAccDatadogDashboardDistribution.freeze +++ b/datadog/tests/cassettes/TestAccDatadogDashboardDistribution.freeze @@ -1 +1 @@ -2021-05-24T10:37:36.42686-04:00 \ No newline at end of file +2021-01-28T17:18:24.975309+01:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogDashboardDistribution_import.freeze b/datadog/tests/cassettes/TestAccDatadogDashboardDistribution_import.freeze index bf5d2efd8..5e23f481b 100644 --- a/datadog/tests/cassettes/TestAccDatadogDashboardDistribution_import.freeze +++ b/datadog/tests/cassettes/TestAccDatadogDashboardDistribution_import.freeze @@ -1 +1 @@ -2021-05-24T10:37:36.426662-04:00 \ No newline at end of file +2020-12-31T15:42:08.11141+01:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogDashboardEventStream.freeze b/datadog/tests/cassettes/TestAccDatadogDashboardEventStream.freeze index b2d1cd7f2..7c98588aa 100644 --- a/datadog/tests/cassettes/TestAccDatadogDashboardEventStream.freeze +++ b/datadog/tests/cassettes/TestAccDatadogDashboardEventStream.freeze @@ -1 +1 @@ -2021-05-24T10:37:36.428304-04:00 \ No newline at end of file +2021-05-14T09:04:20.836181+02:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogDashboardEventStream_import.freeze b/datadog/tests/cassettes/TestAccDatadogDashboardEventStream_import.freeze index af708e0d1..fa95e6991 100644 --- a/datadog/tests/cassettes/TestAccDatadogDashboardEventStream_import.freeze +++ b/datadog/tests/cassettes/TestAccDatadogDashboardEventStream_import.freeze @@ -1 +1 @@ -2021-05-24T10:37:36.424755-04:00 \ No newline at end of file +2021-05-14T09:04:20.836255+02:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogDashboardEventTimeline.freeze b/datadog/tests/cassettes/TestAccDatadogDashboardEventTimeline.freeze index e2a05f190..6ba451e74 100644 --- a/datadog/tests/cassettes/TestAccDatadogDashboardEventTimeline.freeze +++ b/datadog/tests/cassettes/TestAccDatadogDashboardEventTimeline.freeze @@ -1 +1 @@ -2021-05-24T10:37:36.426298-04:00 \ No newline at end of file +2021-05-14T08:59:48.845828+02:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogDashboardEventTimeline_import.freeze b/datadog/tests/cassettes/TestAccDatadogDashboardEventTimeline_import.freeze index f367df213..fa8912e9a 100644 --- a/datadog/tests/cassettes/TestAccDatadogDashboardEventTimeline_import.freeze +++ b/datadog/tests/cassettes/TestAccDatadogDashboardEventTimeline_import.freeze @@ -1 +1 @@ -2021-05-24T10:37:36.4206-04:00 \ No newline at end of file +2021-05-14T08:59:48.845889+02:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogDashboardFormula.freeze b/datadog/tests/cassettes/TestAccDatadogDashboardFormula.freeze index 1f2f7446f..80f094777 100644 --- a/datadog/tests/cassettes/TestAccDatadogDashboardFormula.freeze +++ b/datadog/tests/cassettes/TestAccDatadogDashboardFormula.freeze @@ -1 +1 @@ -2021-05-24T10:37:36.316716-04:00 \ No newline at end of file +2021-02-24T11:27:37.338898-05:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogDashboardFormula_import.freeze b/datadog/tests/cassettes/TestAccDatadogDashboardFormula_import.freeze index f4af31e33..f5a888f99 100644 --- a/datadog/tests/cassettes/TestAccDatadogDashboardFormula_import.freeze +++ b/datadog/tests/cassettes/TestAccDatadogDashboardFormula_import.freeze @@ -1 +1 @@ -2021-05-24T10:37:36.318651-04:00 \ No newline at end of file +2021-02-24T11:27:37.338907-05:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogDashboardFreeText.freeze b/datadog/tests/cassettes/TestAccDatadogDashboardFreeText.freeze index 210f944ad..f88763ea0 100644 --- a/datadog/tests/cassettes/TestAccDatadogDashboardFreeText.freeze +++ b/datadog/tests/cassettes/TestAccDatadogDashboardFreeText.freeze @@ -1 +1 @@ -2021-05-24T10:37:36.421028-04:00 \ No newline at end of file +2021-05-03T11:40:17.559383+02:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogDashboardFreeText_import.freeze b/datadog/tests/cassettes/TestAccDatadogDashboardFreeText_import.freeze index c5c239505..78c8d5b5f 100644 --- a/datadog/tests/cassettes/TestAccDatadogDashboardFreeText_import.freeze +++ b/datadog/tests/cassettes/TestAccDatadogDashboardFreeText_import.freeze @@ -1 +1 @@ -2021-05-24T10:37:36.418018-04:00 \ No newline at end of file +2021-05-03T11:40:37.002672+02:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogDashboardGeomap.freeze b/datadog/tests/cassettes/TestAccDatadogDashboardGeomap.freeze index 3196271d2..8ca2823e9 100644 --- a/datadog/tests/cassettes/TestAccDatadogDashboardGeomap.freeze +++ b/datadog/tests/cassettes/TestAccDatadogDashboardGeomap.freeze @@ -1 +1 @@ -2021-05-24T10:37:36.416536-04:00 \ No newline at end of file +2021-04-27T08:58:27.619962+02:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogDashboardGeomap.yaml b/datadog/tests/cassettes/TestAccDatadogDashboardGeomap.yaml index 6e3c088f9..102e0b283 100644 --- a/datadog/tests/cassettes/TestAccDatadogDashboardGeomap.yaml +++ b/datadog/tests/cassettes/TestAccDatadogDashboardGeomap.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-TestAccDatadogDashboardGeomap-local-1621865532","widgets":[{"definition":{"requests":[{"q":"avg:system.load.1{*}"}],"style":{"palette":"hostmap_blues","palette_flip":false},"type":"geomap","view":{"focus":"WORLD"}}},{"definition":{"custom_links":[{"label":"Test Custom Link label","link":"https://app.datadoghq.com/dashboard/lists"},{"is_hidden":true,"link":"https://app.datadoghq.com/dashboard/lists","override_label":"logs"}],"requests":[{"log_query":{"compute":{"aggregation":"count"},"index":"*","search":{"query":""}}}],"style":{"palette":"hostmap_blues","palette_flip":false},"time":{"live_span":"1h"},"type":"geomap","view":{"focus":"WORLD"}}},{"definition":{"requests":[{"rum_query":{"compute":{"aggregation":"count"},"index":"*","search":{"query":""}}}],"style":{"palette":"hostmap_blues","palette_flip":false},"time":{"live_span":"4h"},"type":"geomap","view":{"focus":"WORLD"}}}]} + {"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-TestAccDatadogDashboardGeomap-local-1619506707","widgets":[{"definition":{"requests":[{"q":"avg:system.load.1{*}"}],"style":{"palette":"hostmap_blues","palette_flip":false},"type":"geomap","view":{"focus":"WORLD"}}},{"definition":{"custom_links":[{"label":"Test Custom Link label","link":"https://app.datadoghq.com/dashboard/lists"}],"requests":[{"log_query":{"compute":{"aggregation":"count"},"index":"*","search":{"query":""}}}],"style":{"palette":"hostmap_blues","palette_flip":false},"time":{"live_span":"1h"},"type":"geomap","view":{"focus":"WORLD"}}},{"definition":{"requests":[{"rum_query":{"compute":{"aggregation":"count"},"index":"*","search":{"query":""}}}],"style":{"palette":"hostmap_blues","palette_flip":false},"time":{"live_span":"4h"},"type":"geomap","view":{"focus":"WORLD"}}}]} form: {} headers: Accept: @@ -13,11 +13,11 @@ interactions: Dd-Operation-Id: - CreateDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) + - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.19 (go go1.15.7; os darwin; arch amd64) url: https://api.datadoghq.com/api/v1/dashboard method: POST response: - body: '{"notify_list":[],"description":"Created using the Datadog provider in Terraform","restricted_roles":["043a2842-e140-11e8-bb04-7fd10177666e","08604de8-1dca-11eb-800c-9f5f55ff734d","1302282c-b93b-11eb-a436-da7ad0900002","16169788-28e4-11eb-832c-fb84162ef3eb","17d73994-7531-11eb-94b9-da7ad0900002","284d8b66-93f9-11eb-9c37-da7ad0900002","4de53192-9946-11eb-9cee-da7ad0900002","62cbc476-5c16-11eb-8e98-0388ea7a41f8","657de3a2-29f8-11eb-83b5-6b8ebfb2f184","6bf314be-5c16-11eb-8e98-2356ea436065","7a83f306-96ca-11eb-9c74-da7ad0900002","9b3ab170-b768-11eb-a45a-da7ad0900002","e82bf27a-986c-11eb-9cba-da7ad0900002","f257ba30-dbb2-11ea-a5ff-5fd1d308318a"],"author_name":"Qin Chen","template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"h82-9st-jkz","title":"tf-TestAccDatadogDashboardGeomap-local-1621865532","url":"/dashboard/h82-9st-jkz/tf-testaccdatadogdashboardgeomap-local-1621865532","created_at":"2021-05-24T14:12:14.619413+00:00","modified_at":"2021-05-24T14:12:14.619413+00:00","author_handle":"qin.chen@datadoghq.com","widgets":[{"definition":{"requests":[{"q":"avg:system.load.1{*}"}],"type":"geomap","style":{"palette":"hostmap_blues","palette_flip":false},"view":{"focus":"WORLD"}},"id":604630031891501},{"definition":{"style":{"palette":"hostmap_blues","palette_flip":false},"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test Custom Link label"},{"override_label":"logs","is_hidden":true,"link":"https://app.datadoghq.com/dashboard/lists"}],"time":{"live_span":"1h"},"requests":[{"log_query":{"index":"*","search":{"query":""},"compute":{"aggregation":"count"}}}],"type":"geomap","view":{"focus":"WORLD"}},"id":1964070055336822},{"definition":{"requests":[{"rum_query":{"index":"*","search":{"query":""},"compute":{"aggregation":"count"}}}],"view":{"focus":"WORLD"},"type":"geomap","style":{"palette":"hostmap_blues","palette_flip":false},"time":{"live_span":"4h"}},"id":7318753936109029}],"layout_type":"ordered"}' + body: '{"notify_list":[],"description":"Created using the Datadog provider in Terraform","author_name":null,"template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"3s6-igk-ih5","title":"tf-TestAccDatadogDashboardGeomap-local-1619506707","url":"/dashboard/3s6-igk-ih5/tf-testaccdatadogdashboardgeomap-local-1619506707","created_at":"2021-04-27T06:58:29.156444+00:00","modified_at":"2021-04-27T06:58:29.156444+00:00","author_handle":"frog@datadoghq.com","widgets":[{"definition":{"requests":[{"q":"avg:system.load.1{*}"}],"type":"geomap","style":{"palette":"hostmap_blues","palette_flip":false},"view":{"focus":"WORLD"}},"id":2235960280314117},{"definition":{"style":{"palette":"hostmap_blues","palette_flip":false},"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test Custom Link label"}],"time":{"live_span":"1h"},"requests":[{"log_query":{"index":"*","search":{"query":""},"compute":{"aggregation":"count"}}}],"type":"geomap","view":{"focus":"WORLD"}},"id":481676151794705},{"definition":{"requests":[{"rum_query":{"index":"*","search":{"query":""},"compute":{"aggregation":"count"}}}],"view":{"focus":"WORLD"},"type":"geomap","style":{"palette":"hostmap_blues","palette_flip":false},"time":{"live_span":"4h"}},"id":2786918167906999}],"layout_type":"ordered"}' headers: Cache-Control: - no-cache @@ -28,7 +28,7 @@ interactions: Content-Type: - application/json Date: - - Mon, 24 May 2021 14:12:14 GMT + - Tue, 27 Apr 2021 06:58:32 GMT Pragma: - no-cache Strict-Transport-Security: @@ -38,9 +38,9 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Debug: - - HbtaOKlJ6OCrx9tMXO6ivMTrEM+g0c93HDp08trmOmgdHozC5J+vn10F0H4WPjCU + - gYZcaADwbKcv7Hm19HJx6WsLoKuOijDWAt2viPeCfWqUgyKY+9e1xZdmMJeXV3YV X-Dd-Version: - - "35.4593741" + - "35.4397207" X-Frame-Options: - SAMEORIGIN status: 200 OK @@ -55,11 +55,11 @@ interactions: Dd-Operation-Id: - GetDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) - url: https://api.datadoghq.com/api/v1/dashboard/h82-9st-jkz + - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.19 (go go1.15.7; os darwin; arch amd64) + url: https://api.datadoghq.com/api/v1/dashboard/3s6-igk-ih5 method: GET response: - body: '{"notify_list":[],"description":"Created using the Datadog provider in Terraform","restricted_roles":["284d8b66-93f9-11eb-9c37-da7ad0900002","043a2842-e140-11e8-bb04-7fd10177666e","657de3a2-29f8-11eb-83b5-6b8ebfb2f184","e82bf27a-986c-11eb-9cba-da7ad0900002","f257ba30-dbb2-11ea-a5ff-5fd1d308318a","6bf314be-5c16-11eb-8e98-2356ea436065","62cbc476-5c16-11eb-8e98-0388ea7a41f8","08604de8-1dca-11eb-800c-9f5f55ff734d","9b3ab170-b768-11eb-a45a-da7ad0900002","7a83f306-96ca-11eb-9c74-da7ad0900002","16169788-28e4-11eb-832c-fb84162ef3eb","4de53192-9946-11eb-9cee-da7ad0900002","1302282c-b93b-11eb-a436-da7ad0900002","17d73994-7531-11eb-94b9-da7ad0900002"],"author_name":"Qin Chen","template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"h82-9st-jkz","title":"tf-TestAccDatadogDashboardGeomap-local-1621865532","url":"/dashboard/h82-9st-jkz/tf-testaccdatadogdashboardgeomap-local-1621865532","created_at":"2021-05-24T14:12:14.619413+00:00","modified_at":"2021-05-24T14:12:14.619413+00:00","author_handle":"qin.chen@datadoghq.com","widgets":[{"definition":{"requests":[{"q":"avg:system.load.1{*}"}],"type":"geomap","style":{"palette":"hostmap_blues","palette_flip":false},"view":{"focus":"WORLD"}},"id":604630031891501},{"definition":{"style":{"palette":"hostmap_blues","palette_flip":false},"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test Custom Link label"},{"override_label":"logs","is_hidden":true,"link":"https://app.datadoghq.com/dashboard/lists"}],"time":{"live_span":"1h"},"requests":[{"log_query":{"index":"*","search":{"query":""},"compute":{"aggregation":"count"}}}],"type":"geomap","view":{"focus":"WORLD"}},"id":1964070055336822},{"definition":{"requests":[{"rum_query":{"index":"*","search":{"query":""},"compute":{"aggregation":"count"}}}],"view":{"focus":"WORLD"},"type":"geomap","style":{"palette":"hostmap_blues","palette_flip":false},"time":{"live_span":"4h"}},"id":7318753936109029}],"layout_type":"ordered"}' + body: '{"notify_list":[],"description":"Created using the Datadog provider in Terraform","author_name":null,"template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"3s6-igk-ih5","title":"tf-TestAccDatadogDashboardGeomap-local-1619506707","url":"/dashboard/3s6-igk-ih5/tf-testaccdatadogdashboardgeomap-local-1619506707","created_at":"2021-04-27T06:58:29.156444+00:00","modified_at":"2021-04-27T06:58:29.156444+00:00","author_handle":"frog@datadoghq.com","widgets":[{"definition":{"requests":[{"q":"avg:system.load.1{*}"}],"type":"geomap","style":{"palette":"hostmap_blues","palette_flip":false},"view":{"focus":"WORLD"}},"id":2235960280314117},{"definition":{"style":{"palette":"hostmap_blues","palette_flip":false},"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test Custom Link label"}],"time":{"live_span":"1h"},"requests":[{"log_query":{"index":"*","search":{"query":""},"compute":{"aggregation":"count"}}}],"type":"geomap","view":{"focus":"WORLD"}},"id":481676151794705},{"definition":{"requests":[{"rum_query":{"index":"*","search":{"query":""},"compute":{"aggregation":"count"}}}],"view":{"focus":"WORLD"},"type":"geomap","style":{"palette":"hostmap_blues","palette_flip":false},"time":{"live_span":"4h"}},"id":2786918167906999}],"layout_type":"ordered"}' headers: Cache-Control: - no-cache @@ -70,7 +70,7 @@ interactions: Content-Type: - application/json Date: - - Mon, 24 May 2021 14:12:14 GMT + - Tue, 27 Apr 2021 06:58:32 GMT Pragma: - no-cache Strict-Transport-Security: @@ -80,9 +80,9 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Debug: - - S1wfaMZOKGT/IoMw6fqAwAwGWo2vQ44sjF3YzuETnQfxZO2T5eJbs0aX3UKb9Dwu + - twvpGlmuom5y6A0pjGtXzTf554cmwJgTcCZ71fK4H/RDi+v5ehBK0zQiRcTJQG5C X-Dd-Version: - - "35.4593741" + - "35.4397207" X-Frame-Options: - SAMEORIGIN status: 200 OK @@ -97,11 +97,11 @@ interactions: Dd-Operation-Id: - GetDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) - url: https://api.datadoghq.com/api/v1/dashboard/h82-9st-jkz + - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.19 (go go1.15.7; os darwin; arch amd64) + url: https://api.datadoghq.com/api/v1/dashboard/3s6-igk-ih5 method: GET response: - body: '{"notify_list":[],"description":"Created using the Datadog provider in Terraform","restricted_roles":["284d8b66-93f9-11eb-9c37-da7ad0900002","043a2842-e140-11e8-bb04-7fd10177666e","657de3a2-29f8-11eb-83b5-6b8ebfb2f184","e82bf27a-986c-11eb-9cba-da7ad0900002","f257ba30-dbb2-11ea-a5ff-5fd1d308318a","6bf314be-5c16-11eb-8e98-2356ea436065","62cbc476-5c16-11eb-8e98-0388ea7a41f8","08604de8-1dca-11eb-800c-9f5f55ff734d","9b3ab170-b768-11eb-a45a-da7ad0900002","7a83f306-96ca-11eb-9c74-da7ad0900002","16169788-28e4-11eb-832c-fb84162ef3eb","4de53192-9946-11eb-9cee-da7ad0900002","1302282c-b93b-11eb-a436-da7ad0900002","17d73994-7531-11eb-94b9-da7ad0900002"],"author_name":"Qin Chen","template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"h82-9st-jkz","title":"tf-TestAccDatadogDashboardGeomap-local-1621865532","url":"/dashboard/h82-9st-jkz/tf-testaccdatadogdashboardgeomap-local-1621865532","created_at":"2021-05-24T14:12:14.619413+00:00","modified_at":"2021-05-24T14:12:14.619413+00:00","author_handle":"qin.chen@datadoghq.com","widgets":[{"definition":{"requests":[{"q":"avg:system.load.1{*}"}],"type":"geomap","style":{"palette":"hostmap_blues","palette_flip":false},"view":{"focus":"WORLD"}},"id":604630031891501},{"definition":{"style":{"palette":"hostmap_blues","palette_flip":false},"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test Custom Link label"},{"override_label":"logs","is_hidden":true,"link":"https://app.datadoghq.com/dashboard/lists"}],"time":{"live_span":"1h"},"requests":[{"log_query":{"index":"*","search":{"query":""},"compute":{"aggregation":"count"}}}],"type":"geomap","view":{"focus":"WORLD"}},"id":1964070055336822},{"definition":{"requests":[{"rum_query":{"index":"*","search":{"query":""},"compute":{"aggregation":"count"}}}],"view":{"focus":"WORLD"},"type":"geomap","style":{"palette":"hostmap_blues","palette_flip":false},"time":{"live_span":"4h"}},"id":7318753936109029}],"layout_type":"ordered"}' + body: '{"notify_list":[],"description":"Created using the Datadog provider in Terraform","author_name":null,"template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"3s6-igk-ih5","title":"tf-TestAccDatadogDashboardGeomap-local-1619506707","url":"/dashboard/3s6-igk-ih5/tf-testaccdatadogdashboardgeomap-local-1619506707","created_at":"2021-04-27T06:58:29.156444+00:00","modified_at":"2021-04-27T06:58:29.156444+00:00","author_handle":"frog@datadoghq.com","widgets":[{"definition":{"requests":[{"q":"avg:system.load.1{*}"}],"type":"geomap","style":{"palette":"hostmap_blues","palette_flip":false},"view":{"focus":"WORLD"}},"id":2235960280314117},{"definition":{"style":{"palette":"hostmap_blues","palette_flip":false},"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test Custom Link label"}],"time":{"live_span":"1h"},"requests":[{"log_query":{"index":"*","search":{"query":""},"compute":{"aggregation":"count"}}}],"type":"geomap","view":{"focus":"WORLD"}},"id":481676151794705},{"definition":{"requests":[{"rum_query":{"index":"*","search":{"query":""},"compute":{"aggregation":"count"}}}],"view":{"focus":"WORLD"},"type":"geomap","style":{"palette":"hostmap_blues","palette_flip":false},"time":{"live_span":"4h"}},"id":2786918167906999}],"layout_type":"ordered"}' headers: Cache-Control: - no-cache @@ -112,7 +112,7 @@ interactions: Content-Type: - application/json Date: - - Mon, 24 May 2021 14:12:14 GMT + - Tue, 27 Apr 2021 06:58:32 GMT Pragma: - no-cache Strict-Transport-Security: @@ -122,9 +122,9 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Debug: - - mNzaoDhdDKO7t4QSrAe5X7pHd0bJND187D+vRbwoluXouE2m1UaQQX0RGCvRpLVE + - F5gm0Rce1/Abr9/0Fw8HAqWfiz0FdiH8er/AXnN6lOn3L6KyGgbsLCwgPlob1No8 X-Dd-Version: - - "35.4593741" + - "35.4397207" X-Frame-Options: - SAMEORIGIN status: 200 OK @@ -139,11 +139,11 @@ interactions: Dd-Operation-Id: - GetDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) - url: https://api.datadoghq.com/api/v1/dashboard/h82-9st-jkz + - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.19 (go go1.15.7; os darwin; arch amd64) + url: https://api.datadoghq.com/api/v1/dashboard/3s6-igk-ih5 method: GET response: - body: '{"notify_list":[],"description":"Created using the Datadog provider in Terraform","restricted_roles":["284d8b66-93f9-11eb-9c37-da7ad0900002","043a2842-e140-11e8-bb04-7fd10177666e","657de3a2-29f8-11eb-83b5-6b8ebfb2f184","e82bf27a-986c-11eb-9cba-da7ad0900002","f257ba30-dbb2-11ea-a5ff-5fd1d308318a","6bf314be-5c16-11eb-8e98-2356ea436065","62cbc476-5c16-11eb-8e98-0388ea7a41f8","08604de8-1dca-11eb-800c-9f5f55ff734d","9b3ab170-b768-11eb-a45a-da7ad0900002","7a83f306-96ca-11eb-9c74-da7ad0900002","16169788-28e4-11eb-832c-fb84162ef3eb","4de53192-9946-11eb-9cee-da7ad0900002","1302282c-b93b-11eb-a436-da7ad0900002","17d73994-7531-11eb-94b9-da7ad0900002"],"author_name":"Qin Chen","template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"h82-9st-jkz","title":"tf-TestAccDatadogDashboardGeomap-local-1621865532","url":"/dashboard/h82-9st-jkz/tf-testaccdatadogdashboardgeomap-local-1621865532","created_at":"2021-05-24T14:12:14.619413+00:00","modified_at":"2021-05-24T14:12:14.619413+00:00","author_handle":"qin.chen@datadoghq.com","widgets":[{"definition":{"requests":[{"q":"avg:system.load.1{*}"}],"type":"geomap","style":{"palette":"hostmap_blues","palette_flip":false},"view":{"focus":"WORLD"}},"id":604630031891501},{"definition":{"style":{"palette":"hostmap_blues","palette_flip":false},"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test Custom Link label"},{"override_label":"logs","is_hidden":true,"link":"https://app.datadoghq.com/dashboard/lists"}],"time":{"live_span":"1h"},"requests":[{"log_query":{"index":"*","search":{"query":""},"compute":{"aggregation":"count"}}}],"type":"geomap","view":{"focus":"WORLD"}},"id":1964070055336822},{"definition":{"requests":[{"rum_query":{"index":"*","search":{"query":""},"compute":{"aggregation":"count"}}}],"view":{"focus":"WORLD"},"type":"geomap","style":{"palette":"hostmap_blues","palette_flip":false},"time":{"live_span":"4h"}},"id":7318753936109029}],"layout_type":"ordered"}' + body: '{"notify_list":[],"description":"Created using the Datadog provider in Terraform","author_name":null,"template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"3s6-igk-ih5","title":"tf-TestAccDatadogDashboardGeomap-local-1619506707","url":"/dashboard/3s6-igk-ih5/tf-testaccdatadogdashboardgeomap-local-1619506707","created_at":"2021-04-27T06:58:29.156444+00:00","modified_at":"2021-04-27T06:58:29.156444+00:00","author_handle":"frog@datadoghq.com","widgets":[{"definition":{"requests":[{"q":"avg:system.load.1{*}"}],"type":"geomap","style":{"palette":"hostmap_blues","palette_flip":false},"view":{"focus":"WORLD"}},"id":2235960280314117},{"definition":{"style":{"palette":"hostmap_blues","palette_flip":false},"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test Custom Link label"}],"time":{"live_span":"1h"},"requests":[{"log_query":{"index":"*","search":{"query":""},"compute":{"aggregation":"count"}}}],"type":"geomap","view":{"focus":"WORLD"}},"id":481676151794705},{"definition":{"requests":[{"rum_query":{"index":"*","search":{"query":""},"compute":{"aggregation":"count"}}}],"view":{"focus":"WORLD"},"type":"geomap","style":{"palette":"hostmap_blues","palette_flip":false},"time":{"live_span":"4h"}},"id":2786918167906999}],"layout_type":"ordered"}' headers: Cache-Control: - no-cache @@ -154,7 +154,7 @@ interactions: Content-Type: - application/json Date: - - Mon, 24 May 2021 14:12:15 GMT + - Tue, 27 Apr 2021 06:58:33 GMT Pragma: - no-cache Strict-Transport-Security: @@ -164,9 +164,9 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Debug: - - l8RQo2maZqJf6GFThBbKNE6dvthz6njusVtau3dPXJWL2RLFoN81H+BLPB/1xgs1 + - tpRCH6w417YjBovRJ8VmtuXmNONVYiRp2c8d2AxjPdGBn8PCtgG4vAztrx3qUZAN X-Dd-Version: - - "35.4593741" + - "35.4397207" X-Frame-Options: - SAMEORIGIN status: 200 OK @@ -181,11 +181,11 @@ interactions: Dd-Operation-Id: - GetDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) - url: https://api.datadoghq.com/api/v1/dashboard/h82-9st-jkz + - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.19 (go go1.15.7; os darwin; arch amd64) + url: https://api.datadoghq.com/api/v1/dashboard/3s6-igk-ih5 method: GET response: - body: '{"notify_list":[],"description":"Created using the Datadog provider in Terraform","restricted_roles":["284d8b66-93f9-11eb-9c37-da7ad0900002","043a2842-e140-11e8-bb04-7fd10177666e","657de3a2-29f8-11eb-83b5-6b8ebfb2f184","e82bf27a-986c-11eb-9cba-da7ad0900002","f257ba30-dbb2-11ea-a5ff-5fd1d308318a","6bf314be-5c16-11eb-8e98-2356ea436065","62cbc476-5c16-11eb-8e98-0388ea7a41f8","08604de8-1dca-11eb-800c-9f5f55ff734d","9b3ab170-b768-11eb-a45a-da7ad0900002","7a83f306-96ca-11eb-9c74-da7ad0900002","16169788-28e4-11eb-832c-fb84162ef3eb","4de53192-9946-11eb-9cee-da7ad0900002","1302282c-b93b-11eb-a436-da7ad0900002","17d73994-7531-11eb-94b9-da7ad0900002"],"author_name":"Qin Chen","template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"h82-9st-jkz","title":"tf-TestAccDatadogDashboardGeomap-local-1621865532","url":"/dashboard/h82-9st-jkz/tf-testaccdatadogdashboardgeomap-local-1621865532","created_at":"2021-05-24T14:12:14.619413+00:00","modified_at":"2021-05-24T14:12:14.619413+00:00","author_handle":"qin.chen@datadoghq.com","widgets":[{"definition":{"requests":[{"q":"avg:system.load.1{*}"}],"type":"geomap","style":{"palette":"hostmap_blues","palette_flip":false},"view":{"focus":"WORLD"}},"id":604630031891501},{"definition":{"style":{"palette":"hostmap_blues","palette_flip":false},"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test Custom Link label"},{"override_label":"logs","is_hidden":true,"link":"https://app.datadoghq.com/dashboard/lists"}],"time":{"live_span":"1h"},"requests":[{"log_query":{"index":"*","search":{"query":""},"compute":{"aggregation":"count"}}}],"type":"geomap","view":{"focus":"WORLD"}},"id":1964070055336822},{"definition":{"requests":[{"rum_query":{"index":"*","search":{"query":""},"compute":{"aggregation":"count"}}}],"view":{"focus":"WORLD"},"type":"geomap","style":{"palette":"hostmap_blues","palette_flip":false},"time":{"live_span":"4h"}},"id":7318753936109029}],"layout_type":"ordered"}' + body: '{"notify_list":[],"description":"Created using the Datadog provider in Terraform","author_name":null,"template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"3s6-igk-ih5","title":"tf-TestAccDatadogDashboardGeomap-local-1619506707","url":"/dashboard/3s6-igk-ih5/tf-testaccdatadogdashboardgeomap-local-1619506707","created_at":"2021-04-27T06:58:29.156444+00:00","modified_at":"2021-04-27T06:58:29.156444+00:00","author_handle":"frog@datadoghq.com","widgets":[{"definition":{"requests":[{"q":"avg:system.load.1{*}"}],"type":"geomap","style":{"palette":"hostmap_blues","palette_flip":false},"view":{"focus":"WORLD"}},"id":2235960280314117},{"definition":{"style":{"palette":"hostmap_blues","palette_flip":false},"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test Custom Link label"}],"time":{"live_span":"1h"},"requests":[{"log_query":{"index":"*","search":{"query":""},"compute":{"aggregation":"count"}}}],"type":"geomap","view":{"focus":"WORLD"}},"id":481676151794705},{"definition":{"requests":[{"rum_query":{"index":"*","search":{"query":""},"compute":{"aggregation":"count"}}}],"view":{"focus":"WORLD"},"type":"geomap","style":{"palette":"hostmap_blues","palette_flip":false},"time":{"live_span":"4h"}},"id":2786918167906999}],"layout_type":"ordered"}' headers: Cache-Control: - no-cache @@ -196,7 +196,7 @@ interactions: Content-Type: - application/json Date: - - Mon, 24 May 2021 14:12:17 GMT + - Tue, 27 Apr 2021 06:58:33 GMT Pragma: - no-cache Strict-Transport-Security: @@ -206,9 +206,9 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Debug: - - PhosSd3Ch1B6B0DXI71steKUi7XhPDttnPiIP1NdXTw0VJNWpoUnYyBmODS5ne3q + - mNzaoDhdDKO7t4QSrAe5X7pHd0bJND187D+vRbwoluXouE2m1UaQQX0RGCvRpLVE X-Dd-Version: - - "35.4593741" + - "35.4397207" X-Frame-Options: - SAMEORIGIN status: 200 OK @@ -223,11 +223,11 @@ interactions: Dd-Operation-Id: - DeleteDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) - url: https://api.datadoghq.com/api/v1/dashboard/h82-9st-jkz + - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.19 (go go1.15.7; os darwin; arch amd64) + url: https://api.datadoghq.com/api/v1/dashboard/3s6-igk-ih5 method: DELETE response: - body: '{"deleted_dashboard_id":"h82-9st-jkz"}' + body: '{"deleted_dashboard_id":"3s6-igk-ih5"}' headers: Cache-Control: - no-cache @@ -238,7 +238,7 @@ interactions: Content-Type: - application/json Date: - - Mon, 24 May 2021 14:12:18 GMT + - Tue, 27 Apr 2021 06:58:34 GMT Pragma: - no-cache Strict-Transport-Security: @@ -248,9 +248,9 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Debug: - - dPySkcOzIZtKyMKDAAzuysY3gNGGj6RtYogGuSb76E8mPvoqzREyRp6lPYm91hQU + - Um4CoU685QqAscnxhS5BD+goWu2yX1Jd4zCfGzSsEvPPIm1qURZaF8dlLl/OEY4I X-Dd-Version: - - "35.4593741" + - "35.4397207" X-Frame-Options: - SAMEORIGIN status: 200 OK @@ -265,11 +265,11 @@ interactions: Dd-Operation-Id: - GetDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) - url: https://api.datadoghq.com/api/v1/dashboard/h82-9st-jkz + - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.19 (go go1.15.7; os darwin; arch amd64) + url: https://api.datadoghq.com/api/v1/dashboard/3s6-igk-ih5 method: GET response: - body: '{"errors": ["Dashboard with ID h82-9st-jkz not found"]}' + body: '{"errors": ["Dashboard with ID 3s6-igk-ih5 not found"]}' headers: Cache-Control: - no-cache @@ -280,7 +280,7 @@ interactions: Content-Type: - application/json Date: - - Mon, 24 May 2021 14:12:18 GMT + - Tue, 27 Apr 2021 06:58:34 GMT Pragma: - no-cache Strict-Transport-Security: @@ -290,7 +290,7 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Version: - - "35.4593741" + - "35.4397207" X-Frame-Options: - SAMEORIGIN status: 404 Not Found diff --git a/datadog/tests/cassettes/TestAccDatadogDashboardGeomapFormula.freeze b/datadog/tests/cassettes/TestAccDatadogDashboardGeomapFormula.freeze index f1246b86c..12046087a 100644 --- a/datadog/tests/cassettes/TestAccDatadogDashboardGeomapFormula.freeze +++ b/datadog/tests/cassettes/TestAccDatadogDashboardGeomapFormula.freeze @@ -1 +1 @@ -2021-05-24T10:37:36.417899-04:00 \ No newline at end of file +2021-04-27T08:58:27.619933+02:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogDashboardGeomapFormula.yaml b/datadog/tests/cassettes/TestAccDatadogDashboardGeomapFormula.yaml index 8b9d8e09b..d8271a5a9 100644 --- a/datadog/tests/cassettes/TestAccDatadogDashboardGeomapFormula.yaml +++ b/datadog/tests/cassettes/TestAccDatadogDashboardGeomapFormula.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-TestAccDatadogDashboardGeomapFormula-local-1621865532","widgets":[{"definition":{"requests":[{"formulas":[{"formula":"query1 + query2","limit":{"count":10,"order":"asc"}}],"queries":[{"aggregator":"sum","data_source":"metrics","name":"query1","query":"avg:system.cpu.system{*} by {datacenter}"},{"aggregator":"sum","data_source":"metrics","name":"query2","query":"avg:system.load.1{*} by {datacenter}"}],"response_format":"scalar"}],"style":{"palette":"hostmap_blues","palette_flip":false},"type":"geomap","view":{"focus":"WORLD"}}},{"definition":{"requests":[{"formulas":[{"formula":"query1","limit":{"count":25,"order":"desc"}}],"queries":[{"compute":{"aggregation":"count"},"data_source":"rum","indexes":["*"],"name":"query1","search":{"query":"abc"}}],"response_format":"scalar"}],"style":{"palette":"hostmap_blues","palette_flip":false},"type":"geomap","view":{"focus":"WORLD"}}},{"definition":{"custom_links":[{"label":"my custom link","link":"https://app.datadoghq.com/dashboard/lists"}],"requests":[{"formulas":[{"formula":"query1"}],"queries":[{"compute":{"aggregation":"count"},"data_source":"security_signals","indexes":["*"],"name":"query1"}],"response_format":"scalar"}],"style":{"palette":"hostmap_blues","palette_flip":false},"time":{"live_span":"4h"},"type":"geomap","view":{"focus":"WORLD"}}}]} + {"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-TestAccDatadogDashboardGeomapFormula-local-1619506707","widgets":[{"definition":{"requests":[{"formulas":[{"formula":"query1 + query2","limit":{"count":10,"order":"asc"}}],"queries":[{"aggregator":"sum","data_source":"metrics","name":"query1","query":"avg:system.cpu.system{*} by {datacenter}"},{"aggregator":"sum","data_source":"metrics","name":"query2","query":"avg:system.load.1{*} by {datacenter}"}],"response_format":"scalar"}],"style":{"palette":"hostmap_blues","palette_flip":false},"type":"geomap","view":{"focus":"WORLD"}}},{"definition":{"requests":[{"formulas":[{"formula":"query1","limit":{"count":25,"order":"desc"}}],"queries":[{"compute":{"aggregation":"count"},"data_source":"rum","indexes":["*"],"name":"query1","search":{"query":"abc"}}],"response_format":"scalar"}],"style":{"palette":"hostmap_blues","palette_flip":false},"type":"geomap","view":{"focus":"WORLD"}}},{"definition":{"custom_links":[{"label":"my custom link","link":"https://app.datadoghq.com/dashboard/lists"}],"requests":[{"formulas":[{"formula":"query1"}],"queries":[{"compute":{"aggregation":"count"},"data_source":"security_signals","indexes":["*"],"name":"query1"}],"response_format":"scalar"}],"style":{"palette":"hostmap_blues","palette_flip":false},"time":{"live_span":"4h"},"type":"geomap","view":{"focus":"WORLD"}}}]} form: {} headers: Accept: @@ -13,11 +13,11 @@ interactions: Dd-Operation-Id: - CreateDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) + - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.19 (go go1.15.7; os darwin; arch amd64) url: https://api.datadoghq.com/api/v1/dashboard method: POST response: - body: '{"notify_list":[],"description":"Created using the Datadog provider in Terraform","restricted_roles":["043a2842-e140-11e8-bb04-7fd10177666e","08604de8-1dca-11eb-800c-9f5f55ff734d","1302282c-b93b-11eb-a436-da7ad0900002","16169788-28e4-11eb-832c-fb84162ef3eb","17d73994-7531-11eb-94b9-da7ad0900002","284d8b66-93f9-11eb-9c37-da7ad0900002","4de53192-9946-11eb-9cee-da7ad0900002","62cbc476-5c16-11eb-8e98-0388ea7a41f8","657de3a2-29f8-11eb-83b5-6b8ebfb2f184","6bf314be-5c16-11eb-8e98-2356ea436065","7a83f306-96ca-11eb-9c74-da7ad0900002","9b3ab170-b768-11eb-a45a-da7ad0900002","e82bf27a-986c-11eb-9cba-da7ad0900002","f257ba30-dbb2-11ea-a5ff-5fd1d308318a"],"author_name":"Qin Chen","template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"kcf-6ad-98z","title":"tf-TestAccDatadogDashboardGeomapFormula-local-1621865532","url":"/dashboard/kcf-6ad-98z/tf-testaccdatadogdashboardgeomapformula-local-1621865532","created_at":"2021-05-24T14:12:14.618486+00:00","modified_at":"2021-05-24T14:12:14.618486+00:00","author_handle":"qin.chen@datadoghq.com","widgets":[{"definition":{"requests":[{"formulas":[{"formula":"query1 + query2","limit":{"count":10,"order":"asc"}}],"response_format":"scalar","queries":[{"aggregator":"sum","data_source":"metrics","name":"query1","query":"avg:system.cpu.system{*} by {datacenter}"},{"aggregator":"sum","data_source":"metrics","name":"query2","query":"avg:system.load.1{*} by {datacenter}"}]}],"type":"geomap","style":{"palette":"hostmap_blues","palette_flip":false},"view":{"focus":"WORLD"}},"id":2268144336676381},{"definition":{"requests":[{"formulas":[{"formula":"query1","limit":{"count":25,"order":"desc"}}],"response_format":"scalar","queries":[{"search":{"query":"abc"},"data_source":"rum","compute":{"aggregation":"count"},"name":"query1","indexes":["*"]}]}],"type":"geomap","style":{"palette":"hostmap_blues","palette_flip":false},"view":{"focus":"WORLD"}},"id":8386462263259333},{"definition":{"style":{"palette":"hostmap_blues","palette_flip":false},"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"my custom link"}],"time":{"live_span":"4h"},"requests":[{"formulas":[{"formula":"query1"}],"response_format":"scalar","queries":[{"data_source":"security_signals","compute":{"aggregation":"count"},"name":"query1","indexes":["*"]}]}],"type":"geomap","view":{"focus":"WORLD"}},"id":2274084357526136}],"layout_type":"ordered"}' + body: '{"notify_list":[],"description":"Created using the Datadog provider in Terraform","author_name":null,"template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"3jk-mfp-nsn","title":"tf-TestAccDatadogDashboardGeomapFormula-local-1619506707","url":"/dashboard/3jk-mfp-nsn/tf-testaccdatadogdashboardgeomapformula-local-1619506707","created_at":"2021-04-27T06:58:29.303490+00:00","modified_at":"2021-04-27T06:58:29.303490+00:00","author_handle":"frog@datadoghq.com","widgets":[{"definition":{"requests":[{"formulas":[{"formula":"query1 + query2","limit":{"count":10,"order":"asc"}}],"response_format":"scalar","queries":[{"aggregator":"sum","data_source":"metrics","name":"query1","query":"avg:system.cpu.system{*} by {datacenter}"},{"aggregator":"sum","data_source":"metrics","name":"query2","query":"avg:system.load.1{*} by {datacenter}"}]}],"type":"geomap","style":{"palette":"hostmap_blues","palette_flip":false},"view":{"focus":"WORLD"}},"id":1149146342854926},{"definition":{"requests":[{"formulas":[{"formula":"query1","limit":{"count":25,"order":"desc"}}],"response_format":"scalar","queries":[{"search":{"query":"abc"},"data_source":"rum","compute":{"aggregation":"count"},"name":"query1","indexes":["*"]}]}],"type":"geomap","style":{"palette":"hostmap_blues","palette_flip":false},"view":{"focus":"WORLD"}},"id":5478869481740425},{"definition":{"style":{"palette":"hostmap_blues","palette_flip":false},"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"my custom link"}],"time":{"live_span":"4h"},"requests":[{"formulas":[{"formula":"query1"}],"response_format":"scalar","queries":[{"data_source":"security_signals","compute":{"aggregation":"count"},"name":"query1","indexes":["*"]}]}],"type":"geomap","view":{"focus":"WORLD"}},"id":18914160855721}],"layout_type":"ordered"}' headers: Cache-Control: - no-cache @@ -28,7 +28,7 @@ interactions: Content-Type: - application/json Date: - - Mon, 24 May 2021 14:12:14 GMT + - Tue, 27 Apr 2021 06:58:32 GMT Pragma: - no-cache Strict-Transport-Security: @@ -38,9 +38,9 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Debug: - - Wjq53IVIwnB4SiR238oOYgHFMq/ZYP0LQ/Dv8C2fFLBwTje/dWJHu6pI6vIOK1zG + - Um4CoU685QqAscnxhS5BD+goWu2yX1Jd4zCfGzSsEvPPIm1qURZaF8dlLl/OEY4I X-Dd-Version: - - "35.4593741" + - "35.4397207" X-Frame-Options: - SAMEORIGIN status: 200 OK @@ -55,11 +55,11 @@ interactions: Dd-Operation-Id: - GetDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) - url: https://api.datadoghq.com/api/v1/dashboard/kcf-6ad-98z + - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.19 (go go1.15.7; os darwin; arch amd64) + url: https://api.datadoghq.com/api/v1/dashboard/3jk-mfp-nsn method: GET response: - body: '{"notify_list":[],"description":"Created using the Datadog provider in Terraform","restricted_roles":["284d8b66-93f9-11eb-9c37-da7ad0900002","043a2842-e140-11e8-bb04-7fd10177666e","657de3a2-29f8-11eb-83b5-6b8ebfb2f184","e82bf27a-986c-11eb-9cba-da7ad0900002","f257ba30-dbb2-11ea-a5ff-5fd1d308318a","6bf314be-5c16-11eb-8e98-2356ea436065","62cbc476-5c16-11eb-8e98-0388ea7a41f8","08604de8-1dca-11eb-800c-9f5f55ff734d","9b3ab170-b768-11eb-a45a-da7ad0900002","7a83f306-96ca-11eb-9c74-da7ad0900002","16169788-28e4-11eb-832c-fb84162ef3eb","4de53192-9946-11eb-9cee-da7ad0900002","1302282c-b93b-11eb-a436-da7ad0900002","17d73994-7531-11eb-94b9-da7ad0900002"],"author_name":"Qin Chen","template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"kcf-6ad-98z","title":"tf-TestAccDatadogDashboardGeomapFormula-local-1621865532","url":"/dashboard/kcf-6ad-98z/tf-testaccdatadogdashboardgeomapformula-local-1621865532","created_at":"2021-05-24T14:12:14.618486+00:00","modified_at":"2021-05-24T14:12:14.618486+00:00","author_handle":"qin.chen@datadoghq.com","widgets":[{"definition":{"requests":[{"formulas":[{"formula":"query1 + query2","limit":{"count":10,"order":"asc"}}],"response_format":"scalar","queries":[{"aggregator":"sum","data_source":"metrics","name":"query1","query":"avg:system.cpu.system{*} by {datacenter}"},{"aggregator":"sum","data_source":"metrics","name":"query2","query":"avg:system.load.1{*} by {datacenter}"}]}],"type":"geomap","style":{"palette":"hostmap_blues","palette_flip":false},"view":{"focus":"WORLD"}},"id":2268144336676381},{"definition":{"requests":[{"formulas":[{"formula":"query1","limit":{"count":25,"order":"desc"}}],"response_format":"scalar","queries":[{"search":{"query":"abc"},"data_source":"rum","compute":{"aggregation":"count"},"name":"query1","indexes":["*"]}]}],"type":"geomap","style":{"palette":"hostmap_blues","palette_flip":false},"view":{"focus":"WORLD"}},"id":8386462263259333},{"definition":{"style":{"palette":"hostmap_blues","palette_flip":false},"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"my custom link"}],"time":{"live_span":"4h"},"requests":[{"formulas":[{"formula":"query1"}],"response_format":"scalar","queries":[{"data_source":"security_signals","compute":{"aggregation":"count"},"name":"query1","indexes":["*"]}]}],"type":"geomap","view":{"focus":"WORLD"}},"id":2274084357526136}],"layout_type":"ordered"}' + body: '{"notify_list":[],"description":"Created using the Datadog provider in Terraform","author_name":null,"template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"3jk-mfp-nsn","title":"tf-TestAccDatadogDashboardGeomapFormula-local-1619506707","url":"/dashboard/3jk-mfp-nsn/tf-testaccdatadogdashboardgeomapformula-local-1619506707","created_at":"2021-04-27T06:58:29.303490+00:00","modified_at":"2021-04-27T06:58:29.303490+00:00","author_handle":"frog@datadoghq.com","widgets":[{"definition":{"requests":[{"formulas":[{"formula":"query1 + query2","limit":{"count":10,"order":"asc"}}],"response_format":"scalar","queries":[{"aggregator":"sum","data_source":"metrics","name":"query1","query":"avg:system.cpu.system{*} by {datacenter}"},{"aggregator":"sum","data_source":"metrics","name":"query2","query":"avg:system.load.1{*} by {datacenter}"}]}],"type":"geomap","style":{"palette":"hostmap_blues","palette_flip":false},"view":{"focus":"WORLD"}},"id":1149146342854926},{"definition":{"requests":[{"formulas":[{"formula":"query1","limit":{"count":25,"order":"desc"}}],"response_format":"scalar","queries":[{"search":{"query":"abc"},"data_source":"rum","compute":{"aggregation":"count"},"name":"query1","indexes":["*"]}]}],"type":"geomap","style":{"palette":"hostmap_blues","palette_flip":false},"view":{"focus":"WORLD"}},"id":5478869481740425},{"definition":{"style":{"palette":"hostmap_blues","palette_flip":false},"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"my custom link"}],"time":{"live_span":"4h"},"requests":[{"formulas":[{"formula":"query1"}],"response_format":"scalar","queries":[{"data_source":"security_signals","compute":{"aggregation":"count"},"name":"query1","indexes":["*"]}]}],"type":"geomap","view":{"focus":"WORLD"}},"id":18914160855721}],"layout_type":"ordered"}' headers: Cache-Control: - no-cache @@ -70,7 +70,7 @@ interactions: Content-Type: - application/json Date: - - Mon, 24 May 2021 14:12:14 GMT + - Tue, 27 Apr 2021 06:58:32 GMT Pragma: - no-cache Strict-Transport-Security: @@ -80,9 +80,9 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Debug: - - bgHykj7A9bfZx0Y5ZO3swhhp5tGUSNJHqFWR868+qg087CYrDOd5hQslC+noiEtH + - SY1h8ScsWq+kYmtbh63ltMLFAZsQjqfrgvdfAoRX+9TzT1sgMBRYaFRwfWWRRe9a X-Dd-Version: - - "35.4593741" + - "35.4397207" X-Frame-Options: - SAMEORIGIN status: 200 OK @@ -97,11 +97,11 @@ interactions: Dd-Operation-Id: - GetDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) - url: https://api.datadoghq.com/api/v1/dashboard/kcf-6ad-98z + - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.19 (go go1.15.7; os darwin; arch amd64) + url: https://api.datadoghq.com/api/v1/dashboard/3jk-mfp-nsn method: GET response: - body: '{"notify_list":[],"description":"Created using the Datadog provider in Terraform","restricted_roles":["284d8b66-93f9-11eb-9c37-da7ad0900002","043a2842-e140-11e8-bb04-7fd10177666e","657de3a2-29f8-11eb-83b5-6b8ebfb2f184","e82bf27a-986c-11eb-9cba-da7ad0900002","f257ba30-dbb2-11ea-a5ff-5fd1d308318a","6bf314be-5c16-11eb-8e98-2356ea436065","62cbc476-5c16-11eb-8e98-0388ea7a41f8","08604de8-1dca-11eb-800c-9f5f55ff734d","9b3ab170-b768-11eb-a45a-da7ad0900002","7a83f306-96ca-11eb-9c74-da7ad0900002","16169788-28e4-11eb-832c-fb84162ef3eb","4de53192-9946-11eb-9cee-da7ad0900002","1302282c-b93b-11eb-a436-da7ad0900002","17d73994-7531-11eb-94b9-da7ad0900002"],"author_name":"Qin Chen","template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"kcf-6ad-98z","title":"tf-TestAccDatadogDashboardGeomapFormula-local-1621865532","url":"/dashboard/kcf-6ad-98z/tf-testaccdatadogdashboardgeomapformula-local-1621865532","created_at":"2021-05-24T14:12:14.618486+00:00","modified_at":"2021-05-24T14:12:14.618486+00:00","author_handle":"qin.chen@datadoghq.com","widgets":[{"definition":{"requests":[{"formulas":[{"formula":"query1 + query2","limit":{"count":10,"order":"asc"}}],"response_format":"scalar","queries":[{"aggregator":"sum","data_source":"metrics","name":"query1","query":"avg:system.cpu.system{*} by {datacenter}"},{"aggregator":"sum","data_source":"metrics","name":"query2","query":"avg:system.load.1{*} by {datacenter}"}]}],"type":"geomap","style":{"palette":"hostmap_blues","palette_flip":false},"view":{"focus":"WORLD"}},"id":2268144336676381},{"definition":{"requests":[{"formulas":[{"formula":"query1","limit":{"count":25,"order":"desc"}}],"response_format":"scalar","queries":[{"search":{"query":"abc"},"data_source":"rum","compute":{"aggregation":"count"},"name":"query1","indexes":["*"]}]}],"type":"geomap","style":{"palette":"hostmap_blues","palette_flip":false},"view":{"focus":"WORLD"}},"id":8386462263259333},{"definition":{"style":{"palette":"hostmap_blues","palette_flip":false},"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"my custom link"}],"time":{"live_span":"4h"},"requests":[{"formulas":[{"formula":"query1"}],"response_format":"scalar","queries":[{"data_source":"security_signals","compute":{"aggregation":"count"},"name":"query1","indexes":["*"]}]}],"type":"geomap","view":{"focus":"WORLD"}},"id":2274084357526136}],"layout_type":"ordered"}' + body: '{"notify_list":[],"description":"Created using the Datadog provider in Terraform","author_name":null,"template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"3jk-mfp-nsn","title":"tf-TestAccDatadogDashboardGeomapFormula-local-1619506707","url":"/dashboard/3jk-mfp-nsn/tf-testaccdatadogdashboardgeomapformula-local-1619506707","created_at":"2021-04-27T06:58:29.303490+00:00","modified_at":"2021-04-27T06:58:29.303490+00:00","author_handle":"frog@datadoghq.com","widgets":[{"definition":{"requests":[{"formulas":[{"formula":"query1 + query2","limit":{"count":10,"order":"asc"}}],"response_format":"scalar","queries":[{"aggregator":"sum","data_source":"metrics","name":"query1","query":"avg:system.cpu.system{*} by {datacenter}"},{"aggregator":"sum","data_source":"metrics","name":"query2","query":"avg:system.load.1{*} by {datacenter}"}]}],"type":"geomap","style":{"palette":"hostmap_blues","palette_flip":false},"view":{"focus":"WORLD"}},"id":1149146342854926},{"definition":{"requests":[{"formulas":[{"formula":"query1","limit":{"count":25,"order":"desc"}}],"response_format":"scalar","queries":[{"search":{"query":"abc"},"data_source":"rum","compute":{"aggregation":"count"},"name":"query1","indexes":["*"]}]}],"type":"geomap","style":{"palette":"hostmap_blues","palette_flip":false},"view":{"focus":"WORLD"}},"id":5478869481740425},{"definition":{"style":{"palette":"hostmap_blues","palette_flip":false},"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"my custom link"}],"time":{"live_span":"4h"},"requests":[{"formulas":[{"formula":"query1"}],"response_format":"scalar","queries":[{"data_source":"security_signals","compute":{"aggregation":"count"},"name":"query1","indexes":["*"]}]}],"type":"geomap","view":{"focus":"WORLD"}},"id":18914160855721}],"layout_type":"ordered"}' headers: Cache-Control: - no-cache @@ -112,7 +112,7 @@ interactions: Content-Type: - application/json Date: - - Mon, 24 May 2021 14:12:14 GMT + - Tue, 27 Apr 2021 06:58:32 GMT Pragma: - no-cache Strict-Transport-Security: @@ -122,9 +122,9 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Debug: - - S1wfaMZOKGT/IoMw6fqAwAwGWo2vQ44sjF3YzuETnQfxZO2T5eJbs0aX3UKb9Dwu + - SY1h8ScsWq+kYmtbh63ltMLFAZsQjqfrgvdfAoRX+9TzT1sgMBRYaFRwfWWRRe9a X-Dd-Version: - - "35.4593741" + - "35.4397207" X-Frame-Options: - SAMEORIGIN status: 200 OK @@ -139,11 +139,11 @@ interactions: Dd-Operation-Id: - GetDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) - url: https://api.datadoghq.com/api/v1/dashboard/kcf-6ad-98z + - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.19 (go go1.15.7; os darwin; arch amd64) + url: https://api.datadoghq.com/api/v1/dashboard/3jk-mfp-nsn method: GET response: - body: '{"notify_list":[],"description":"Created using the Datadog provider in Terraform","restricted_roles":["284d8b66-93f9-11eb-9c37-da7ad0900002","043a2842-e140-11e8-bb04-7fd10177666e","657de3a2-29f8-11eb-83b5-6b8ebfb2f184","e82bf27a-986c-11eb-9cba-da7ad0900002","f257ba30-dbb2-11ea-a5ff-5fd1d308318a","6bf314be-5c16-11eb-8e98-2356ea436065","62cbc476-5c16-11eb-8e98-0388ea7a41f8","08604de8-1dca-11eb-800c-9f5f55ff734d","9b3ab170-b768-11eb-a45a-da7ad0900002","7a83f306-96ca-11eb-9c74-da7ad0900002","16169788-28e4-11eb-832c-fb84162ef3eb","4de53192-9946-11eb-9cee-da7ad0900002","1302282c-b93b-11eb-a436-da7ad0900002","17d73994-7531-11eb-94b9-da7ad0900002"],"author_name":"Qin Chen","template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"kcf-6ad-98z","title":"tf-TestAccDatadogDashboardGeomapFormula-local-1621865532","url":"/dashboard/kcf-6ad-98z/tf-testaccdatadogdashboardgeomapformula-local-1621865532","created_at":"2021-05-24T14:12:14.618486+00:00","modified_at":"2021-05-24T14:12:14.618486+00:00","author_handle":"qin.chen@datadoghq.com","widgets":[{"definition":{"requests":[{"formulas":[{"formula":"query1 + query2","limit":{"count":10,"order":"asc"}}],"response_format":"scalar","queries":[{"aggregator":"sum","data_source":"metrics","name":"query1","query":"avg:system.cpu.system{*} by {datacenter}"},{"aggregator":"sum","data_source":"metrics","name":"query2","query":"avg:system.load.1{*} by {datacenter}"}]}],"type":"geomap","style":{"palette":"hostmap_blues","palette_flip":false},"view":{"focus":"WORLD"}},"id":2268144336676381},{"definition":{"requests":[{"formulas":[{"formula":"query1","limit":{"count":25,"order":"desc"}}],"response_format":"scalar","queries":[{"search":{"query":"abc"},"data_source":"rum","compute":{"aggregation":"count"},"name":"query1","indexes":["*"]}]}],"type":"geomap","style":{"palette":"hostmap_blues","palette_flip":false},"view":{"focus":"WORLD"}},"id":8386462263259333},{"definition":{"style":{"palette":"hostmap_blues","palette_flip":false},"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"my custom link"}],"time":{"live_span":"4h"},"requests":[{"formulas":[{"formula":"query1"}],"response_format":"scalar","queries":[{"data_source":"security_signals","compute":{"aggregation":"count"},"name":"query1","indexes":["*"]}]}],"type":"geomap","view":{"focus":"WORLD"}},"id":2274084357526136}],"layout_type":"ordered"}' + body: '{"notify_list":[],"description":"Created using the Datadog provider in Terraform","author_name":null,"template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"3jk-mfp-nsn","title":"tf-TestAccDatadogDashboardGeomapFormula-local-1619506707","url":"/dashboard/3jk-mfp-nsn/tf-testaccdatadogdashboardgeomapformula-local-1619506707","created_at":"2021-04-27T06:58:29.303490+00:00","modified_at":"2021-04-27T06:58:29.303490+00:00","author_handle":"frog@datadoghq.com","widgets":[{"definition":{"requests":[{"formulas":[{"formula":"query1 + query2","limit":{"count":10,"order":"asc"}}],"response_format":"scalar","queries":[{"aggregator":"sum","data_source":"metrics","name":"query1","query":"avg:system.cpu.system{*} by {datacenter}"},{"aggregator":"sum","data_source":"metrics","name":"query2","query":"avg:system.load.1{*} by {datacenter}"}]}],"type":"geomap","style":{"palette":"hostmap_blues","palette_flip":false},"view":{"focus":"WORLD"}},"id":1149146342854926},{"definition":{"requests":[{"formulas":[{"formula":"query1","limit":{"count":25,"order":"desc"}}],"response_format":"scalar","queries":[{"search":{"query":"abc"},"data_source":"rum","compute":{"aggregation":"count"},"name":"query1","indexes":["*"]}]}],"type":"geomap","style":{"palette":"hostmap_blues","palette_flip":false},"view":{"focus":"WORLD"}},"id":5478869481740425},{"definition":{"style":{"palette":"hostmap_blues","palette_flip":false},"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"my custom link"}],"time":{"live_span":"4h"},"requests":[{"formulas":[{"formula":"query1"}],"response_format":"scalar","queries":[{"data_source":"security_signals","compute":{"aggregation":"count"},"name":"query1","indexes":["*"]}]}],"type":"geomap","view":{"focus":"WORLD"}},"id":18914160855721}],"layout_type":"ordered"}' headers: Cache-Control: - no-cache @@ -154,7 +154,7 @@ interactions: Content-Type: - application/json Date: - - Mon, 24 May 2021 14:12:15 GMT + - Tue, 27 Apr 2021 06:58:33 GMT Pragma: - no-cache Strict-Transport-Security: @@ -164,9 +164,9 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Debug: - - LcgNasIYBRkNppmD6mCKE9J6iv0eEjosuuHR5V5zw2fWbR54i39C8dhdK8zDq/40 + - dPySkcOzIZtKyMKDAAzuysY3gNGGj6RtYogGuSb76E8mPvoqzREyRp6lPYm91hQU X-Dd-Version: - - "35.4593741" + - "35.4397207" X-Frame-Options: - SAMEORIGIN status: 200 OK @@ -181,11 +181,11 @@ interactions: Dd-Operation-Id: - GetDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) - url: https://api.datadoghq.com/api/v1/dashboard/kcf-6ad-98z + - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.19 (go go1.15.7; os darwin; arch amd64) + url: https://api.datadoghq.com/api/v1/dashboard/3jk-mfp-nsn method: GET response: - body: '{"notify_list":[],"description":"Created using the Datadog provider in Terraform","restricted_roles":["284d8b66-93f9-11eb-9c37-da7ad0900002","043a2842-e140-11e8-bb04-7fd10177666e","657de3a2-29f8-11eb-83b5-6b8ebfb2f184","e82bf27a-986c-11eb-9cba-da7ad0900002","f257ba30-dbb2-11ea-a5ff-5fd1d308318a","6bf314be-5c16-11eb-8e98-2356ea436065","62cbc476-5c16-11eb-8e98-0388ea7a41f8","08604de8-1dca-11eb-800c-9f5f55ff734d","9b3ab170-b768-11eb-a45a-da7ad0900002","7a83f306-96ca-11eb-9c74-da7ad0900002","16169788-28e4-11eb-832c-fb84162ef3eb","4de53192-9946-11eb-9cee-da7ad0900002","1302282c-b93b-11eb-a436-da7ad0900002","17d73994-7531-11eb-94b9-da7ad0900002"],"author_name":"Qin Chen","template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"kcf-6ad-98z","title":"tf-TestAccDatadogDashboardGeomapFormula-local-1621865532","url":"/dashboard/kcf-6ad-98z/tf-testaccdatadogdashboardgeomapformula-local-1621865532","created_at":"2021-05-24T14:12:14.618486+00:00","modified_at":"2021-05-24T14:12:14.618486+00:00","author_handle":"qin.chen@datadoghq.com","widgets":[{"definition":{"requests":[{"formulas":[{"formula":"query1 + query2","limit":{"count":10,"order":"asc"}}],"response_format":"scalar","queries":[{"aggregator":"sum","data_source":"metrics","name":"query1","query":"avg:system.cpu.system{*} by {datacenter}"},{"aggregator":"sum","data_source":"metrics","name":"query2","query":"avg:system.load.1{*} by {datacenter}"}]}],"type":"geomap","style":{"palette":"hostmap_blues","palette_flip":false},"view":{"focus":"WORLD"}},"id":2268144336676381},{"definition":{"requests":[{"formulas":[{"formula":"query1","limit":{"count":25,"order":"desc"}}],"response_format":"scalar","queries":[{"search":{"query":"abc"},"data_source":"rum","compute":{"aggregation":"count"},"name":"query1","indexes":["*"]}]}],"type":"geomap","style":{"palette":"hostmap_blues","palette_flip":false},"view":{"focus":"WORLD"}},"id":8386462263259333},{"definition":{"style":{"palette":"hostmap_blues","palette_flip":false},"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"my custom link"}],"time":{"live_span":"4h"},"requests":[{"formulas":[{"formula":"query1"}],"response_format":"scalar","queries":[{"data_source":"security_signals","compute":{"aggregation":"count"},"name":"query1","indexes":["*"]}]}],"type":"geomap","view":{"focus":"WORLD"}},"id":2274084357526136}],"layout_type":"ordered"}' + body: '{"notify_list":[],"description":"Created using the Datadog provider in Terraform","author_name":null,"template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"3jk-mfp-nsn","title":"tf-TestAccDatadogDashboardGeomapFormula-local-1619506707","url":"/dashboard/3jk-mfp-nsn/tf-testaccdatadogdashboardgeomapformula-local-1619506707","created_at":"2021-04-27T06:58:29.303490+00:00","modified_at":"2021-04-27T06:58:29.303490+00:00","author_handle":"frog@datadoghq.com","widgets":[{"definition":{"requests":[{"formulas":[{"formula":"query1 + query2","limit":{"count":10,"order":"asc"}}],"response_format":"scalar","queries":[{"aggregator":"sum","data_source":"metrics","name":"query1","query":"avg:system.cpu.system{*} by {datacenter}"},{"aggregator":"sum","data_source":"metrics","name":"query2","query":"avg:system.load.1{*} by {datacenter}"}]}],"type":"geomap","style":{"palette":"hostmap_blues","palette_flip":false},"view":{"focus":"WORLD"}},"id":1149146342854926},{"definition":{"requests":[{"formulas":[{"formula":"query1","limit":{"count":25,"order":"desc"}}],"response_format":"scalar","queries":[{"search":{"query":"abc"},"data_source":"rum","compute":{"aggregation":"count"},"name":"query1","indexes":["*"]}]}],"type":"geomap","style":{"palette":"hostmap_blues","palette_flip":false},"view":{"focus":"WORLD"}},"id":5478869481740425},{"definition":{"style":{"palette":"hostmap_blues","palette_flip":false},"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"my custom link"}],"time":{"live_span":"4h"},"requests":[{"formulas":[{"formula":"query1"}],"response_format":"scalar","queries":[{"data_source":"security_signals","compute":{"aggregation":"count"},"name":"query1","indexes":["*"]}]}],"type":"geomap","view":{"focus":"WORLD"}},"id":18914160855721}],"layout_type":"ordered"}' headers: Cache-Control: - no-cache @@ -196,7 +196,7 @@ interactions: Content-Type: - application/json Date: - - Mon, 24 May 2021 14:12:17 GMT + - Tue, 27 Apr 2021 06:58:34 GMT Pragma: - no-cache Strict-Transport-Security: @@ -206,9 +206,9 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Debug: - - PhosSd3Ch1B6B0DXI71steKUi7XhPDttnPiIP1NdXTw0VJNWpoUnYyBmODS5ne3q + - dCmL/3rURV6BPeaqeP3Rxigq41m5CAb17XjrRE42uZ01zpr07HVhbL5/3TWMkvgu X-Dd-Version: - - "35.4593741" + - "35.4397207" X-Frame-Options: - SAMEORIGIN status: 200 OK @@ -223,11 +223,11 @@ interactions: Dd-Operation-Id: - DeleteDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) - url: https://api.datadoghq.com/api/v1/dashboard/kcf-6ad-98z + - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.19 (go go1.15.7; os darwin; arch amd64) + url: https://api.datadoghq.com/api/v1/dashboard/3jk-mfp-nsn method: DELETE response: - body: '{"deleted_dashboard_id":"kcf-6ad-98z"}' + body: '{"deleted_dashboard_id":"3jk-mfp-nsn"}' headers: Cache-Control: - no-cache @@ -238,7 +238,7 @@ interactions: Content-Type: - application/json Date: - - Mon, 24 May 2021 14:12:18 GMT + - Tue, 27 Apr 2021 06:58:34 GMT Pragma: - no-cache Strict-Transport-Security: @@ -248,9 +248,9 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Debug: - - l4HFlaRP3QwYSqoGKhzbYfv7zgkK63HIRR7YkyVYZspq0lGjjTBwoK8V/alf+XYt + - mNzaoDhdDKO7t4QSrAe5X7pHd0bJND187D+vRbwoluXouE2m1UaQQX0RGCvRpLVE X-Dd-Version: - - "35.4593741" + - "35.4397207" X-Frame-Options: - SAMEORIGIN status: 200 OK @@ -265,11 +265,11 @@ interactions: Dd-Operation-Id: - GetDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) - url: https://api.datadoghq.com/api/v1/dashboard/kcf-6ad-98z + - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.19 (go go1.15.7; os darwin; arch amd64) + url: https://api.datadoghq.com/api/v1/dashboard/3jk-mfp-nsn method: GET response: - body: '{"errors": ["Dashboard with ID kcf-6ad-98z not found"]}' + body: '{"errors": ["Dashboard with ID 3jk-mfp-nsn not found"]}' headers: Cache-Control: - no-cache @@ -280,7 +280,7 @@ interactions: Content-Type: - application/json Date: - - Mon, 24 May 2021 14:12:18 GMT + - Tue, 27 Apr 2021 06:58:34 GMT Pragma: - no-cache Strict-Transport-Security: @@ -290,7 +290,7 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Version: - - "35.4593741" + - "35.4397207" X-Frame-Options: - SAMEORIGIN status: 404 Not Found diff --git a/datadog/tests/cassettes/TestAccDatadogDashboardGeomapFormula_import.freeze b/datadog/tests/cassettes/TestAccDatadogDashboardGeomapFormula_import.freeze index 0cb2c0234..a807f71eb 100644 --- a/datadog/tests/cassettes/TestAccDatadogDashboardGeomapFormula_import.freeze +++ b/datadog/tests/cassettes/TestAccDatadogDashboardGeomapFormula_import.freeze @@ -1 +1 @@ -2021-05-24T10:37:36.413764-04:00 \ No newline at end of file +2021-04-27T08:58:27.620391+02:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogDashboardGeomapFormula_import.yaml b/datadog/tests/cassettes/TestAccDatadogDashboardGeomapFormula_import.yaml index e7bd1e9b8..01b977dab 100644 --- a/datadog/tests/cassettes/TestAccDatadogDashboardGeomapFormula_import.yaml +++ b/datadog/tests/cassettes/TestAccDatadogDashboardGeomapFormula_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-TestAccDatadogDashboardGeomapFormula_import-local-1621865532","widgets":[{"definition":{"requests":[{"formulas":[{"formula":"query1 + query2","limit":{"count":10,"order":"asc"}}],"queries":[{"aggregator":"sum","data_source":"metrics","name":"query1","query":"avg:system.cpu.system{*} by {datacenter}"},{"aggregator":"sum","data_source":"metrics","name":"query2","query":"avg:system.load.1{*} by {datacenter}"}],"response_format":"scalar"}],"style":{"palette":"hostmap_blues","palette_flip":false},"type":"geomap","view":{"focus":"WORLD"}}},{"definition":{"requests":[{"formulas":[{"formula":"query1","limit":{"count":25,"order":"desc"}}],"queries":[{"compute":{"aggregation":"count"},"data_source":"rum","indexes":["*"],"name":"query1","search":{"query":"abc"}}],"response_format":"scalar"}],"style":{"palette":"hostmap_blues","palette_flip":false},"type":"geomap","view":{"focus":"WORLD"}}},{"definition":{"custom_links":[{"label":"my custom link","link":"https://app.datadoghq.com/dashboard/lists"}],"requests":[{"formulas":[{"formula":"query1"}],"queries":[{"compute":{"aggregation":"count"},"data_source":"security_signals","indexes":["*"],"name":"query1"}],"response_format":"scalar"}],"style":{"palette":"hostmap_blues","palette_flip":false},"time":{"live_span":"4h"},"type":"geomap","view":{"focus":"WORLD"}}}]} + {"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-TestAccDatadogDashboardGeomapFormula_import-local-1619506707","widgets":[{"definition":{"requests":[{"formulas":[{"formula":"query1 + query2","limit":{"count":10,"order":"asc"}}],"queries":[{"aggregator":"sum","data_source":"metrics","name":"query1","query":"avg:system.cpu.system{*} by {datacenter}"},{"aggregator":"sum","data_source":"metrics","name":"query2","query":"avg:system.load.1{*} by {datacenter}"}],"response_format":"scalar"}],"style":{"palette":"hostmap_blues","palette_flip":false},"type":"geomap","view":{"focus":"WORLD"}}},{"definition":{"requests":[{"formulas":[{"formula":"query1","limit":{"count":25,"order":"desc"}}],"queries":[{"compute":{"aggregation":"count"},"data_source":"rum","indexes":["*"],"name":"query1","search":{"query":"abc"}}],"response_format":"scalar"}],"style":{"palette":"hostmap_blues","palette_flip":false},"type":"geomap","view":{"focus":"WORLD"}}},{"definition":{"custom_links":[{"label":"my custom link","link":"https://app.datadoghq.com/dashboard/lists"}],"requests":[{"formulas":[{"formula":"query1"}],"queries":[{"compute":{"aggregation":"count"},"data_source":"security_signals","indexes":["*"],"name":"query1"}],"response_format":"scalar"}],"style":{"palette":"hostmap_blues","palette_flip":false},"time":{"live_span":"4h"},"type":"geomap","view":{"focus":"WORLD"}}}]} form: {} headers: Accept: @@ -13,11 +13,11 @@ interactions: Dd-Operation-Id: - CreateDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) + - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.19 (go go1.15.7; os darwin; arch amd64) url: https://api.datadoghq.com/api/v1/dashboard method: POST response: - body: '{"notify_list":[],"description":"Created using the Datadog provider in Terraform","restricted_roles":["043a2842-e140-11e8-bb04-7fd10177666e","08604de8-1dca-11eb-800c-9f5f55ff734d","1302282c-b93b-11eb-a436-da7ad0900002","16169788-28e4-11eb-832c-fb84162ef3eb","17d73994-7531-11eb-94b9-da7ad0900002","284d8b66-93f9-11eb-9c37-da7ad0900002","4de53192-9946-11eb-9cee-da7ad0900002","62cbc476-5c16-11eb-8e98-0388ea7a41f8","657de3a2-29f8-11eb-83b5-6b8ebfb2f184","6bf314be-5c16-11eb-8e98-2356ea436065","7a83f306-96ca-11eb-9c74-da7ad0900002","9b3ab170-b768-11eb-a45a-da7ad0900002","e82bf27a-986c-11eb-9cba-da7ad0900002","f257ba30-dbb2-11ea-a5ff-5fd1d308318a"],"author_name":"Qin Chen","template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"7ae-m9q-p3n","title":"tf-TestAccDatadogDashboardGeomapFormula_import-local-1621865532","url":"/dashboard/7ae-m9q-p3n/tf-testaccdatadogdashboardgeomapformulaimport-local-1621865532","created_at":"2021-05-24T14:12:14.626751+00:00","modified_at":"2021-05-24T14:12:14.626751+00:00","author_handle":"qin.chen@datadoghq.com","widgets":[{"definition":{"requests":[{"formulas":[{"formula":"query1 + query2","limit":{"count":10,"order":"asc"}}],"response_format":"scalar","queries":[{"aggregator":"sum","data_source":"metrics","name":"query1","query":"avg:system.cpu.system{*} by {datacenter}"},{"aggregator":"sum","data_source":"metrics","name":"query2","query":"avg:system.load.1{*} by {datacenter}"}]}],"type":"geomap","style":{"palette":"hostmap_blues","palette_flip":false},"view":{"focus":"WORLD"}},"id":5028785782563077},{"definition":{"requests":[{"formulas":[{"formula":"query1","limit":{"count":25,"order":"desc"}}],"response_format":"scalar","queries":[{"search":{"query":"abc"},"data_source":"rum","compute":{"aggregation":"count"},"name":"query1","indexes":["*"]}]}],"type":"geomap","style":{"palette":"hostmap_blues","palette_flip":false},"view":{"focus":"WORLD"}},"id":5380773396990314},{"definition":{"style":{"palette":"hostmap_blues","palette_flip":false},"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"my custom link"}],"time":{"live_span":"4h"},"requests":[{"formulas":[{"formula":"query1"}],"response_format":"scalar","queries":[{"data_source":"security_signals","compute":{"aggregation":"count"},"name":"query1","indexes":["*"]}]}],"type":"geomap","view":{"focus":"WORLD"}},"id":473765914880492}],"layout_type":"ordered"}' + body: '{"notify_list":[],"description":"Created using the Datadog provider in Terraform","author_name":null,"template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"myq-qpv-k3m","title":"tf-TestAccDatadogDashboardGeomapFormula_import-local-1619506707","url":"/dashboard/myq-qpv-k3m/tf-testaccdatadogdashboardgeomapformulaimport-local-1619506707","created_at":"2021-04-27T06:58:29.153119+00:00","modified_at":"2021-04-27T06:58:29.153119+00:00","author_handle":"frog@datadoghq.com","widgets":[{"definition":{"requests":[{"formulas":[{"formula":"query1 + query2","limit":{"count":10,"order":"asc"}}],"response_format":"scalar","queries":[{"aggregator":"sum","data_source":"metrics","name":"query1","query":"avg:system.cpu.system{*} by {datacenter}"},{"aggregator":"sum","data_source":"metrics","name":"query2","query":"avg:system.load.1{*} by {datacenter}"}]}],"type":"geomap","style":{"palette":"hostmap_blues","palette_flip":false},"view":{"focus":"WORLD"}},"id":5661738832269822},{"definition":{"requests":[{"formulas":[{"formula":"query1","limit":{"count":25,"order":"desc"}}],"response_format":"scalar","queries":[{"search":{"query":"abc"},"data_source":"rum","compute":{"aggregation":"count"},"name":"query1","indexes":["*"]}]}],"type":"geomap","style":{"palette":"hostmap_blues","palette_flip":false},"view":{"focus":"WORLD"}},"id":8505986293990458},{"definition":{"style":{"palette":"hostmap_blues","palette_flip":false},"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"my custom link"}],"time":{"live_span":"4h"},"requests":[{"formulas":[{"formula":"query1"}],"response_format":"scalar","queries":[{"data_source":"security_signals","compute":{"aggregation":"count"},"name":"query1","indexes":["*"]}]}],"type":"geomap","view":{"focus":"WORLD"}},"id":3442821028347668}],"layout_type":"ordered"}' headers: Cache-Control: - no-cache @@ -28,7 +28,7 @@ interactions: Content-Type: - application/json Date: - - Mon, 24 May 2021 14:12:14 GMT + - Tue, 27 Apr 2021 06:58:32 GMT Pragma: - no-cache Strict-Transport-Security: @@ -38,9 +38,9 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Debug: - - gYZcaADwbKcv7Hm19HJx6WsLoKuOijDWAt2viPeCfWqUgyKY+9e1xZdmMJeXV3YV + - PhosSd3Ch1B6B0DXI71steKUi7XhPDttnPiIP1NdXTw0VJNWpoUnYyBmODS5ne3q X-Dd-Version: - - "35.4593741" + - "35.4397207" X-Frame-Options: - SAMEORIGIN status: 200 OK @@ -55,11 +55,11 @@ interactions: Dd-Operation-Id: - GetDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) - url: https://api.datadoghq.com/api/v1/dashboard/7ae-m9q-p3n + - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.19 (go go1.15.7; os darwin; arch amd64) + url: https://api.datadoghq.com/api/v1/dashboard/myq-qpv-k3m method: GET response: - body: '{"notify_list":[],"description":"Created using the Datadog provider in Terraform","restricted_roles":["284d8b66-93f9-11eb-9c37-da7ad0900002","043a2842-e140-11e8-bb04-7fd10177666e","657de3a2-29f8-11eb-83b5-6b8ebfb2f184","e82bf27a-986c-11eb-9cba-da7ad0900002","f257ba30-dbb2-11ea-a5ff-5fd1d308318a","6bf314be-5c16-11eb-8e98-2356ea436065","62cbc476-5c16-11eb-8e98-0388ea7a41f8","08604de8-1dca-11eb-800c-9f5f55ff734d","9b3ab170-b768-11eb-a45a-da7ad0900002","7a83f306-96ca-11eb-9c74-da7ad0900002","16169788-28e4-11eb-832c-fb84162ef3eb","4de53192-9946-11eb-9cee-da7ad0900002","1302282c-b93b-11eb-a436-da7ad0900002","17d73994-7531-11eb-94b9-da7ad0900002"],"author_name":"Qin Chen","template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"7ae-m9q-p3n","title":"tf-TestAccDatadogDashboardGeomapFormula_import-local-1621865532","url":"/dashboard/7ae-m9q-p3n/tf-testaccdatadogdashboardgeomapformulaimport-local-1621865532","created_at":"2021-05-24T14:12:14.626751+00:00","modified_at":"2021-05-24T14:12:14.626751+00:00","author_handle":"qin.chen@datadoghq.com","widgets":[{"definition":{"requests":[{"formulas":[{"formula":"query1 + query2","limit":{"count":10,"order":"asc"}}],"response_format":"scalar","queries":[{"aggregator":"sum","data_source":"metrics","name":"query1","query":"avg:system.cpu.system{*} by {datacenter}"},{"aggregator":"sum","data_source":"metrics","name":"query2","query":"avg:system.load.1{*} by {datacenter}"}]}],"type":"geomap","style":{"palette":"hostmap_blues","palette_flip":false},"view":{"focus":"WORLD"}},"id":5028785782563077},{"definition":{"requests":[{"formulas":[{"formula":"query1","limit":{"count":25,"order":"desc"}}],"response_format":"scalar","queries":[{"search":{"query":"abc"},"data_source":"rum","compute":{"aggregation":"count"},"name":"query1","indexes":["*"]}]}],"type":"geomap","style":{"palette":"hostmap_blues","palette_flip":false},"view":{"focus":"WORLD"}},"id":5380773396990314},{"definition":{"style":{"palette":"hostmap_blues","palette_flip":false},"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"my custom link"}],"time":{"live_span":"4h"},"requests":[{"formulas":[{"formula":"query1"}],"response_format":"scalar","queries":[{"data_source":"security_signals","compute":{"aggregation":"count"},"name":"query1","indexes":["*"]}]}],"type":"geomap","view":{"focus":"WORLD"}},"id":473765914880492}],"layout_type":"ordered"}' + body: '{"notify_list":[],"description":"Created using the Datadog provider in Terraform","author_name":null,"template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"myq-qpv-k3m","title":"tf-TestAccDatadogDashboardGeomapFormula_import-local-1619506707","url":"/dashboard/myq-qpv-k3m/tf-testaccdatadogdashboardgeomapformulaimport-local-1619506707","created_at":"2021-04-27T06:58:29.153119+00:00","modified_at":"2021-04-27T06:58:29.153119+00:00","author_handle":"frog@datadoghq.com","widgets":[{"definition":{"requests":[{"formulas":[{"formula":"query1 + query2","limit":{"count":10,"order":"asc"}}],"response_format":"scalar","queries":[{"aggregator":"sum","data_source":"metrics","name":"query1","query":"avg:system.cpu.system{*} by {datacenter}"},{"aggregator":"sum","data_source":"metrics","name":"query2","query":"avg:system.load.1{*} by {datacenter}"}]}],"type":"geomap","style":{"palette":"hostmap_blues","palette_flip":false},"view":{"focus":"WORLD"}},"id":5661738832269822},{"definition":{"requests":[{"formulas":[{"formula":"query1","limit":{"count":25,"order":"desc"}}],"response_format":"scalar","queries":[{"search":{"query":"abc"},"data_source":"rum","compute":{"aggregation":"count"},"name":"query1","indexes":["*"]}]}],"type":"geomap","style":{"palette":"hostmap_blues","palette_flip":false},"view":{"focus":"WORLD"}},"id":8505986293990458},{"definition":{"style":{"palette":"hostmap_blues","palette_flip":false},"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"my custom link"}],"time":{"live_span":"4h"},"requests":[{"formulas":[{"formula":"query1"}],"response_format":"scalar","queries":[{"data_source":"security_signals","compute":{"aggregation":"count"},"name":"query1","indexes":["*"]}]}],"type":"geomap","view":{"focus":"WORLD"}},"id":3442821028347668}],"layout_type":"ordered"}' headers: Cache-Control: - no-cache @@ -70,7 +70,7 @@ interactions: Content-Type: - application/json Date: - - Mon, 24 May 2021 14:12:14 GMT + - Tue, 27 Apr 2021 06:58:32 GMT Pragma: - no-cache Strict-Transport-Security: @@ -80,9 +80,9 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Debug: - - SY1h8ScsWq+kYmtbh63ltMLFAZsQjqfrgvdfAoRX+9TzT1sgMBRYaFRwfWWRRe9a + - tpRCH6w417YjBovRJ8VmtuXmNONVYiRp2c8d2AxjPdGBn8PCtgG4vAztrx3qUZAN X-Dd-Version: - - "35.4593741" + - "35.4397207" X-Frame-Options: - SAMEORIGIN status: 200 OK @@ -97,11 +97,11 @@ interactions: Dd-Operation-Id: - GetDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) - url: https://api.datadoghq.com/api/v1/dashboard/7ae-m9q-p3n + - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.19 (go go1.15.7; os darwin; arch amd64) + url: https://api.datadoghq.com/api/v1/dashboard/myq-qpv-k3m method: GET response: - body: '{"notify_list":[],"description":"Created using the Datadog provider in Terraform","restricted_roles":["284d8b66-93f9-11eb-9c37-da7ad0900002","043a2842-e140-11e8-bb04-7fd10177666e","657de3a2-29f8-11eb-83b5-6b8ebfb2f184","e82bf27a-986c-11eb-9cba-da7ad0900002","f257ba30-dbb2-11ea-a5ff-5fd1d308318a","6bf314be-5c16-11eb-8e98-2356ea436065","62cbc476-5c16-11eb-8e98-0388ea7a41f8","08604de8-1dca-11eb-800c-9f5f55ff734d","9b3ab170-b768-11eb-a45a-da7ad0900002","7a83f306-96ca-11eb-9c74-da7ad0900002","16169788-28e4-11eb-832c-fb84162ef3eb","4de53192-9946-11eb-9cee-da7ad0900002","1302282c-b93b-11eb-a436-da7ad0900002","17d73994-7531-11eb-94b9-da7ad0900002"],"author_name":"Qin Chen","template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"7ae-m9q-p3n","title":"tf-TestAccDatadogDashboardGeomapFormula_import-local-1621865532","url":"/dashboard/7ae-m9q-p3n/tf-testaccdatadogdashboardgeomapformulaimport-local-1621865532","created_at":"2021-05-24T14:12:14.626751+00:00","modified_at":"2021-05-24T14:12:14.626751+00:00","author_handle":"qin.chen@datadoghq.com","widgets":[{"definition":{"requests":[{"formulas":[{"formula":"query1 + query2","limit":{"count":10,"order":"asc"}}],"response_format":"scalar","queries":[{"aggregator":"sum","data_source":"metrics","name":"query1","query":"avg:system.cpu.system{*} by {datacenter}"},{"aggregator":"sum","data_source":"metrics","name":"query2","query":"avg:system.load.1{*} by {datacenter}"}]}],"type":"geomap","style":{"palette":"hostmap_blues","palette_flip":false},"view":{"focus":"WORLD"}},"id":5028785782563077},{"definition":{"requests":[{"formulas":[{"formula":"query1","limit":{"count":25,"order":"desc"}}],"response_format":"scalar","queries":[{"search":{"query":"abc"},"data_source":"rum","compute":{"aggregation":"count"},"name":"query1","indexes":["*"]}]}],"type":"geomap","style":{"palette":"hostmap_blues","palette_flip":false},"view":{"focus":"WORLD"}},"id":5380773396990314},{"definition":{"style":{"palette":"hostmap_blues","palette_flip":false},"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"my custom link"}],"time":{"live_span":"4h"},"requests":[{"formulas":[{"formula":"query1"}],"response_format":"scalar","queries":[{"data_source":"security_signals","compute":{"aggregation":"count"},"name":"query1","indexes":["*"]}]}],"type":"geomap","view":{"focus":"WORLD"}},"id":473765914880492}],"layout_type":"ordered"}' + body: '{"notify_list":[],"description":"Created using the Datadog provider in Terraform","author_name":null,"template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"myq-qpv-k3m","title":"tf-TestAccDatadogDashboardGeomapFormula_import-local-1619506707","url":"/dashboard/myq-qpv-k3m/tf-testaccdatadogdashboardgeomapformulaimport-local-1619506707","created_at":"2021-04-27T06:58:29.153119+00:00","modified_at":"2021-04-27T06:58:29.153119+00:00","author_handle":"frog@datadoghq.com","widgets":[{"definition":{"requests":[{"formulas":[{"formula":"query1 + query2","limit":{"count":10,"order":"asc"}}],"response_format":"scalar","queries":[{"aggregator":"sum","data_source":"metrics","name":"query1","query":"avg:system.cpu.system{*} by {datacenter}"},{"aggregator":"sum","data_source":"metrics","name":"query2","query":"avg:system.load.1{*} by {datacenter}"}]}],"type":"geomap","style":{"palette":"hostmap_blues","palette_flip":false},"view":{"focus":"WORLD"}},"id":5661738832269822},{"definition":{"requests":[{"formulas":[{"formula":"query1","limit":{"count":25,"order":"desc"}}],"response_format":"scalar","queries":[{"search":{"query":"abc"},"data_source":"rum","compute":{"aggregation":"count"},"name":"query1","indexes":["*"]}]}],"type":"geomap","style":{"palette":"hostmap_blues","palette_flip":false},"view":{"focus":"WORLD"}},"id":8505986293990458},{"definition":{"style":{"palette":"hostmap_blues","palette_flip":false},"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"my custom link"}],"time":{"live_span":"4h"},"requests":[{"formulas":[{"formula":"query1"}],"response_format":"scalar","queries":[{"data_source":"security_signals","compute":{"aggregation":"count"},"name":"query1","indexes":["*"]}]}],"type":"geomap","view":{"focus":"WORLD"}},"id":3442821028347668}],"layout_type":"ordered"}' headers: Cache-Control: - no-cache @@ -112,7 +112,7 @@ interactions: Content-Type: - application/json Date: - - Mon, 24 May 2021 14:12:15 GMT + - Tue, 27 Apr 2021 06:58:33 GMT Pragma: - no-cache Strict-Transport-Security: @@ -122,9 +122,9 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Debug: - - dCmL/3rURV6BPeaqeP3Rxigq41m5CAb17XjrRE42uZ01zpr07HVhbL5/3TWMkvgu + - dPySkcOzIZtKyMKDAAzuysY3gNGGj6RtYogGuSb76E8mPvoqzREyRp6lPYm91hQU X-Dd-Version: - - "35.4593741" + - "35.4397207" X-Frame-Options: - SAMEORIGIN status: 200 OK @@ -139,11 +139,11 @@ interactions: Dd-Operation-Id: - GetDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) - url: https://api.datadoghq.com/api/v1/dashboard/7ae-m9q-p3n + - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.19 (go go1.15.7; os darwin; arch amd64) + url: https://api.datadoghq.com/api/v1/dashboard/myq-qpv-k3m method: GET response: - body: '{"notify_list":[],"description":"Created using the Datadog provider in Terraform","restricted_roles":["284d8b66-93f9-11eb-9c37-da7ad0900002","043a2842-e140-11e8-bb04-7fd10177666e","657de3a2-29f8-11eb-83b5-6b8ebfb2f184","e82bf27a-986c-11eb-9cba-da7ad0900002","f257ba30-dbb2-11ea-a5ff-5fd1d308318a","6bf314be-5c16-11eb-8e98-2356ea436065","62cbc476-5c16-11eb-8e98-0388ea7a41f8","08604de8-1dca-11eb-800c-9f5f55ff734d","9b3ab170-b768-11eb-a45a-da7ad0900002","7a83f306-96ca-11eb-9c74-da7ad0900002","16169788-28e4-11eb-832c-fb84162ef3eb","4de53192-9946-11eb-9cee-da7ad0900002","1302282c-b93b-11eb-a436-da7ad0900002","17d73994-7531-11eb-94b9-da7ad0900002"],"author_name":"Qin Chen","template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"7ae-m9q-p3n","title":"tf-TestAccDatadogDashboardGeomapFormula_import-local-1621865532","url":"/dashboard/7ae-m9q-p3n/tf-testaccdatadogdashboardgeomapformulaimport-local-1621865532","created_at":"2021-05-24T14:12:14.626751+00:00","modified_at":"2021-05-24T14:12:14.626751+00:00","author_handle":"qin.chen@datadoghq.com","widgets":[{"definition":{"requests":[{"formulas":[{"formula":"query1 + query2","limit":{"count":10,"order":"asc"}}],"response_format":"scalar","queries":[{"aggregator":"sum","data_source":"metrics","name":"query1","query":"avg:system.cpu.system{*} by {datacenter}"},{"aggregator":"sum","data_source":"metrics","name":"query2","query":"avg:system.load.1{*} by {datacenter}"}]}],"type":"geomap","style":{"palette":"hostmap_blues","palette_flip":false},"view":{"focus":"WORLD"}},"id":5028785782563077},{"definition":{"requests":[{"formulas":[{"formula":"query1","limit":{"count":25,"order":"desc"}}],"response_format":"scalar","queries":[{"search":{"query":"abc"},"data_source":"rum","compute":{"aggregation":"count"},"name":"query1","indexes":["*"]}]}],"type":"geomap","style":{"palette":"hostmap_blues","palette_flip":false},"view":{"focus":"WORLD"}},"id":5380773396990314},{"definition":{"style":{"palette":"hostmap_blues","palette_flip":false},"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"my custom link"}],"time":{"live_span":"4h"},"requests":[{"formulas":[{"formula":"query1"}],"response_format":"scalar","queries":[{"data_source":"security_signals","compute":{"aggregation":"count"},"name":"query1","indexes":["*"]}]}],"type":"geomap","view":{"focus":"WORLD"}},"id":473765914880492}],"layout_type":"ordered"}' + body: '{"notify_list":[],"description":"Created using the Datadog provider in Terraform","author_name":null,"template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"myq-qpv-k3m","title":"tf-TestAccDatadogDashboardGeomapFormula_import-local-1619506707","url":"/dashboard/myq-qpv-k3m/tf-testaccdatadogdashboardgeomapformulaimport-local-1619506707","created_at":"2021-04-27T06:58:29.153119+00:00","modified_at":"2021-04-27T06:58:29.153119+00:00","author_handle":"frog@datadoghq.com","widgets":[{"definition":{"requests":[{"formulas":[{"formula":"query1 + query2","limit":{"count":10,"order":"asc"}}],"response_format":"scalar","queries":[{"aggregator":"sum","data_source":"metrics","name":"query1","query":"avg:system.cpu.system{*} by {datacenter}"},{"aggregator":"sum","data_source":"metrics","name":"query2","query":"avg:system.load.1{*} by {datacenter}"}]}],"type":"geomap","style":{"palette":"hostmap_blues","palette_flip":false},"view":{"focus":"WORLD"}},"id":5661738832269822},{"definition":{"requests":[{"formulas":[{"formula":"query1","limit":{"count":25,"order":"desc"}}],"response_format":"scalar","queries":[{"search":{"query":"abc"},"data_source":"rum","compute":{"aggregation":"count"},"name":"query1","indexes":["*"]}]}],"type":"geomap","style":{"palette":"hostmap_blues","palette_flip":false},"view":{"focus":"WORLD"}},"id":8505986293990458},{"definition":{"style":{"palette":"hostmap_blues","palette_flip":false},"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"my custom link"}],"time":{"live_span":"4h"},"requests":[{"formulas":[{"formula":"query1"}],"response_format":"scalar","queries":[{"data_source":"security_signals","compute":{"aggregation":"count"},"name":"query1","indexes":["*"]}]}],"type":"geomap","view":{"focus":"WORLD"}},"id":3442821028347668}],"layout_type":"ordered"}' headers: Cache-Control: - no-cache @@ -154,7 +154,7 @@ interactions: Content-Type: - application/json Date: - - Mon, 24 May 2021 14:12:16 GMT + - Tue, 27 Apr 2021 06:58:33 GMT Pragma: - no-cache Strict-Transport-Security: @@ -164,9 +164,9 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Debug: - - tpRCH6w417YjBovRJ8VmtuXmNONVYiRp2c8d2AxjPdGBn8PCtgG4vAztrx3qUZAN + - l8RQo2maZqJf6GFThBbKNE6dvthz6njusVtau3dPXJWL2RLFoN81H+BLPB/1xgs1 X-Dd-Version: - - "35.4593741" + - "35.4397207" X-Frame-Options: - SAMEORIGIN status: 200 OK @@ -181,11 +181,11 @@ interactions: Dd-Operation-Id: - GetDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) - url: https://api.datadoghq.com/api/v1/dashboard/7ae-m9q-p3n + - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.19 (go go1.15.7; os darwin; arch amd64) + url: https://api.datadoghq.com/api/v1/dashboard/myq-qpv-k3m method: GET response: - body: '{"notify_list":[],"description":"Created using the Datadog provider in Terraform","restricted_roles":["284d8b66-93f9-11eb-9c37-da7ad0900002","043a2842-e140-11e8-bb04-7fd10177666e","657de3a2-29f8-11eb-83b5-6b8ebfb2f184","e82bf27a-986c-11eb-9cba-da7ad0900002","f257ba30-dbb2-11ea-a5ff-5fd1d308318a","6bf314be-5c16-11eb-8e98-2356ea436065","62cbc476-5c16-11eb-8e98-0388ea7a41f8","08604de8-1dca-11eb-800c-9f5f55ff734d","9b3ab170-b768-11eb-a45a-da7ad0900002","7a83f306-96ca-11eb-9c74-da7ad0900002","16169788-28e4-11eb-832c-fb84162ef3eb","4de53192-9946-11eb-9cee-da7ad0900002","1302282c-b93b-11eb-a436-da7ad0900002","17d73994-7531-11eb-94b9-da7ad0900002"],"author_name":"Qin Chen","template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"7ae-m9q-p3n","title":"tf-TestAccDatadogDashboardGeomapFormula_import-local-1621865532","url":"/dashboard/7ae-m9q-p3n/tf-testaccdatadogdashboardgeomapformulaimport-local-1621865532","created_at":"2021-05-24T14:12:14.626751+00:00","modified_at":"2021-05-24T14:12:14.626751+00:00","author_handle":"qin.chen@datadoghq.com","widgets":[{"definition":{"requests":[{"formulas":[{"formula":"query1 + query2","limit":{"count":10,"order":"asc"}}],"response_format":"scalar","queries":[{"aggregator":"sum","data_source":"metrics","name":"query1","query":"avg:system.cpu.system{*} by {datacenter}"},{"aggregator":"sum","data_source":"metrics","name":"query2","query":"avg:system.load.1{*} by {datacenter}"}]}],"type":"geomap","style":{"palette":"hostmap_blues","palette_flip":false},"view":{"focus":"WORLD"}},"id":5028785782563077},{"definition":{"requests":[{"formulas":[{"formula":"query1","limit":{"count":25,"order":"desc"}}],"response_format":"scalar","queries":[{"search":{"query":"abc"},"data_source":"rum","compute":{"aggregation":"count"},"name":"query1","indexes":["*"]}]}],"type":"geomap","style":{"palette":"hostmap_blues","palette_flip":false},"view":{"focus":"WORLD"}},"id":5380773396990314},{"definition":{"style":{"palette":"hostmap_blues","palette_flip":false},"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"my custom link"}],"time":{"live_span":"4h"},"requests":[{"formulas":[{"formula":"query1"}],"response_format":"scalar","queries":[{"data_source":"security_signals","compute":{"aggregation":"count"},"name":"query1","indexes":["*"]}]}],"type":"geomap","view":{"focus":"WORLD"}},"id":473765914880492}],"layout_type":"ordered"}' + body: '{"notify_list":[],"description":"Created using the Datadog provider in Terraform","author_name":null,"template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"myq-qpv-k3m","title":"tf-TestAccDatadogDashboardGeomapFormula_import-local-1619506707","url":"/dashboard/myq-qpv-k3m/tf-testaccdatadogdashboardgeomapformulaimport-local-1619506707","created_at":"2021-04-27T06:58:29.153119+00:00","modified_at":"2021-04-27T06:58:29.153119+00:00","author_handle":"frog@datadoghq.com","widgets":[{"definition":{"requests":[{"formulas":[{"formula":"query1 + query2","limit":{"count":10,"order":"asc"}}],"response_format":"scalar","queries":[{"aggregator":"sum","data_source":"metrics","name":"query1","query":"avg:system.cpu.system{*} by {datacenter}"},{"aggregator":"sum","data_source":"metrics","name":"query2","query":"avg:system.load.1{*} by {datacenter}"}]}],"type":"geomap","style":{"palette":"hostmap_blues","palette_flip":false},"view":{"focus":"WORLD"}},"id":5661738832269822},{"definition":{"requests":[{"formulas":[{"formula":"query1","limit":{"count":25,"order":"desc"}}],"response_format":"scalar","queries":[{"search":{"query":"abc"},"data_source":"rum","compute":{"aggregation":"count"},"name":"query1","indexes":["*"]}]}],"type":"geomap","style":{"palette":"hostmap_blues","palette_flip":false},"view":{"focus":"WORLD"}},"id":8505986293990458},{"definition":{"style":{"palette":"hostmap_blues","palette_flip":false},"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"my custom link"}],"time":{"live_span":"4h"},"requests":[{"formulas":[{"formula":"query1"}],"response_format":"scalar","queries":[{"data_source":"security_signals","compute":{"aggregation":"count"},"name":"query1","indexes":["*"]}]}],"type":"geomap","view":{"focus":"WORLD"}},"id":3442821028347668}],"layout_type":"ordered"}' headers: Cache-Control: - no-cache @@ -196,7 +196,7 @@ interactions: Content-Type: - application/json Date: - - Mon, 24 May 2021 14:12:16 GMT + - Tue, 27 Apr 2021 06:58:34 GMT Pragma: - no-cache Strict-Transport-Security: @@ -206,9 +206,9 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Debug: - - HbtaOKlJ6OCrx9tMXO6ivMTrEM+g0c93HDp08trmOmgdHozC5J+vn10F0H4WPjCU + - nLnnBNvlCFDECRnZvzDb0z4sAO35G+IMidcAs8vrCKyjvsKWE8Yd9S3n6OjZ1qRN X-Dd-Version: - - "35.4593741" + - "35.4397207" X-Frame-Options: - SAMEORIGIN status: 200 OK @@ -223,11 +223,11 @@ interactions: Dd-Operation-Id: - GetDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) - url: https://api.datadoghq.com/api/v1/dashboard/7ae-m9q-p3n + - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.19 (go go1.15.7; os darwin; arch amd64) + url: https://api.datadoghq.com/api/v1/dashboard/myq-qpv-k3m method: GET response: - body: '{"notify_list":[],"description":"Created using the Datadog provider in Terraform","restricted_roles":["284d8b66-93f9-11eb-9c37-da7ad0900002","043a2842-e140-11e8-bb04-7fd10177666e","657de3a2-29f8-11eb-83b5-6b8ebfb2f184","e82bf27a-986c-11eb-9cba-da7ad0900002","f257ba30-dbb2-11ea-a5ff-5fd1d308318a","6bf314be-5c16-11eb-8e98-2356ea436065","62cbc476-5c16-11eb-8e98-0388ea7a41f8","08604de8-1dca-11eb-800c-9f5f55ff734d","9b3ab170-b768-11eb-a45a-da7ad0900002","7a83f306-96ca-11eb-9c74-da7ad0900002","16169788-28e4-11eb-832c-fb84162ef3eb","4de53192-9946-11eb-9cee-da7ad0900002","1302282c-b93b-11eb-a436-da7ad0900002","17d73994-7531-11eb-94b9-da7ad0900002"],"author_name":"Qin Chen","template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"7ae-m9q-p3n","title":"tf-TestAccDatadogDashboardGeomapFormula_import-local-1621865532","url":"/dashboard/7ae-m9q-p3n/tf-testaccdatadogdashboardgeomapformulaimport-local-1621865532","created_at":"2021-05-24T14:12:14.626751+00:00","modified_at":"2021-05-24T14:12:14.626751+00:00","author_handle":"qin.chen@datadoghq.com","widgets":[{"definition":{"requests":[{"formulas":[{"formula":"query1 + query2","limit":{"count":10,"order":"asc"}}],"response_format":"scalar","queries":[{"aggregator":"sum","data_source":"metrics","name":"query1","query":"avg:system.cpu.system{*} by {datacenter}"},{"aggregator":"sum","data_source":"metrics","name":"query2","query":"avg:system.load.1{*} by {datacenter}"}]}],"type":"geomap","style":{"palette":"hostmap_blues","palette_flip":false},"view":{"focus":"WORLD"}},"id":5028785782563077},{"definition":{"requests":[{"formulas":[{"formula":"query1","limit":{"count":25,"order":"desc"}}],"response_format":"scalar","queries":[{"search":{"query":"abc"},"data_source":"rum","compute":{"aggregation":"count"},"name":"query1","indexes":["*"]}]}],"type":"geomap","style":{"palette":"hostmap_blues","palette_flip":false},"view":{"focus":"WORLD"}},"id":5380773396990314},{"definition":{"style":{"palette":"hostmap_blues","palette_flip":false},"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"my custom link"}],"time":{"live_span":"4h"},"requests":[{"formulas":[{"formula":"query1"}],"response_format":"scalar","queries":[{"data_source":"security_signals","compute":{"aggregation":"count"},"name":"query1","indexes":["*"]}]}],"type":"geomap","view":{"focus":"WORLD"}},"id":473765914880492}],"layout_type":"ordered"}' + body: '{"notify_list":[],"description":"Created using the Datadog provider in Terraform","author_name":null,"template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"myq-qpv-k3m","title":"tf-TestAccDatadogDashboardGeomapFormula_import-local-1619506707","url":"/dashboard/myq-qpv-k3m/tf-testaccdatadogdashboardgeomapformulaimport-local-1619506707","created_at":"2021-04-27T06:58:29.153119+00:00","modified_at":"2021-04-27T06:58:29.153119+00:00","author_handle":"frog@datadoghq.com","widgets":[{"definition":{"requests":[{"formulas":[{"formula":"query1 + query2","limit":{"count":10,"order":"asc"}}],"response_format":"scalar","queries":[{"aggregator":"sum","data_source":"metrics","name":"query1","query":"avg:system.cpu.system{*} by {datacenter}"},{"aggregator":"sum","data_source":"metrics","name":"query2","query":"avg:system.load.1{*} by {datacenter}"}]}],"type":"geomap","style":{"palette":"hostmap_blues","palette_flip":false},"view":{"focus":"WORLD"}},"id":5661738832269822},{"definition":{"requests":[{"formulas":[{"formula":"query1","limit":{"count":25,"order":"desc"}}],"response_format":"scalar","queries":[{"search":{"query":"abc"},"data_source":"rum","compute":{"aggregation":"count"},"name":"query1","indexes":["*"]}]}],"type":"geomap","style":{"palette":"hostmap_blues","palette_flip":false},"view":{"focus":"WORLD"}},"id":8505986293990458},{"definition":{"style":{"palette":"hostmap_blues","palette_flip":false},"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"my custom link"}],"time":{"live_span":"4h"},"requests":[{"formulas":[{"formula":"query1"}],"response_format":"scalar","queries":[{"data_source":"security_signals","compute":{"aggregation":"count"},"name":"query1","indexes":["*"]}]}],"type":"geomap","view":{"focus":"WORLD"}},"id":3442821028347668}],"layout_type":"ordered"}' headers: Cache-Control: - no-cache @@ -238,7 +238,7 @@ interactions: Content-Type: - application/json Date: - - Mon, 24 May 2021 14:12:17 GMT + - Tue, 27 Apr 2021 06:58:34 GMT Pragma: - no-cache Strict-Transport-Security: @@ -248,9 +248,9 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Debug: - - Um4CoU685QqAscnxhS5BD+goWu2yX1Jd4zCfGzSsEvPPIm1qURZaF8dlLl/OEY4I + - twvpGlmuom5y6A0pjGtXzTf554cmwJgTcCZ71fK4H/RDi+v5ehBK0zQiRcTJQG5C X-Dd-Version: - - "35.4593741" + - "35.4397207" X-Frame-Options: - SAMEORIGIN status: 200 OK @@ -265,11 +265,11 @@ interactions: Dd-Operation-Id: - DeleteDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) - url: https://api.datadoghq.com/api/v1/dashboard/7ae-m9q-p3n + - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.19 (go go1.15.7; os darwin; arch amd64) + url: https://api.datadoghq.com/api/v1/dashboard/myq-qpv-k3m method: DELETE response: - body: '{"deleted_dashboard_id":"7ae-m9q-p3n"}' + body: '{"deleted_dashboard_id":"myq-qpv-k3m"}' headers: Cache-Control: - no-cache @@ -280,7 +280,7 @@ interactions: Content-Type: - application/json Date: - - Mon, 24 May 2021 14:12:18 GMT + - Tue, 27 Apr 2021 06:58:34 GMT Pragma: - no-cache Strict-Transport-Security: @@ -290,9 +290,9 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Debug: - - B1nwy/pPNqX+q4pQT22cdp1QCexE35IF8qwSHy0Nf7IW0Y881qtn4tXN1lpmzaKc + - 5gfwVh/5HZ+AnGd/Di93w3NEWC6KMHT9KzmHEiRJmNdOjBtAsbOcgVFyqEChw71h X-Dd-Version: - - "35.4593741" + - "35.4397207" X-Frame-Options: - SAMEORIGIN status: 200 OK @@ -307,11 +307,11 @@ interactions: Dd-Operation-Id: - GetDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) - url: https://api.datadoghq.com/api/v1/dashboard/7ae-m9q-p3n + - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.19 (go go1.15.7; os darwin; arch amd64) + url: https://api.datadoghq.com/api/v1/dashboard/myq-qpv-k3m method: GET response: - body: '{"errors": ["Dashboard with ID 7ae-m9q-p3n not found"]}' + body: '{"errors": ["Dashboard with ID myq-qpv-k3m not found"]}' headers: Cache-Control: - no-cache @@ -322,7 +322,7 @@ interactions: Content-Type: - application/json Date: - - Mon, 24 May 2021 14:12:18 GMT + - Tue, 27 Apr 2021 06:58:35 GMT Pragma: - no-cache Strict-Transport-Security: @@ -332,7 +332,7 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Version: - - "35.4593741" + - "35.4397207" X-Frame-Options: - SAMEORIGIN status: 404 Not Found diff --git a/datadog/tests/cassettes/TestAccDatadogDashboardGeomap_import.freeze b/datadog/tests/cassettes/TestAccDatadogDashboardGeomap_import.freeze index cc6992dab..c9fd84193 100644 --- a/datadog/tests/cassettes/TestAccDatadogDashboardGeomap_import.freeze +++ b/datadog/tests/cassettes/TestAccDatadogDashboardGeomap_import.freeze @@ -1 +1 @@ -2021-05-24T10:37:36.41674-04:00 \ No newline at end of file +2021-04-27T08:58:27.619914+02:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogDashboardGeomap_import.yaml b/datadog/tests/cassettes/TestAccDatadogDashboardGeomap_import.yaml index 96888d048..b9c3cd1d8 100644 --- a/datadog/tests/cassettes/TestAccDatadogDashboardGeomap_import.yaml +++ b/datadog/tests/cassettes/TestAccDatadogDashboardGeomap_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-TestAccDatadogDashboardGeomap_import-local-1621865532","widgets":[{"definition":{"requests":[{"q":"avg:system.load.1{*}"}],"style":{"palette":"hostmap_blues","palette_flip":false},"type":"geomap","view":{"focus":"WORLD"}}},{"definition":{"custom_links":[{"label":"Test Custom Link label","link":"https://app.datadoghq.com/dashboard/lists"},{"is_hidden":true,"link":"https://app.datadoghq.com/dashboard/lists","override_label":"logs"}],"requests":[{"log_query":{"compute":{"aggregation":"count"},"index":"*","search":{"query":""}}}],"style":{"palette":"hostmap_blues","palette_flip":false},"time":{"live_span":"1h"},"type":"geomap","view":{"focus":"WORLD"}}},{"definition":{"requests":[{"rum_query":{"compute":{"aggregation":"count"},"index":"*","search":{"query":""}}}],"style":{"palette":"hostmap_blues","palette_flip":false},"time":{"live_span":"4h"},"type":"geomap","view":{"focus":"WORLD"}}}]} + {"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-TestAccDatadogDashboardGeomap_import-local-1619506707","widgets":[{"definition":{"requests":[{"q":"avg:system.load.1{*}"}],"style":{"palette":"hostmap_blues","palette_flip":false},"type":"geomap","view":{"focus":"WORLD"}}},{"definition":{"custom_links":[{"label":"Test Custom Link label","link":"https://app.datadoghq.com/dashboard/lists"}],"requests":[{"log_query":{"compute":{"aggregation":"count"},"index":"*","search":{"query":""}}}],"style":{"palette":"hostmap_blues","palette_flip":false},"time":{"live_span":"1h"},"type":"geomap","view":{"focus":"WORLD"}}},{"definition":{"requests":[{"rum_query":{"compute":{"aggregation":"count"},"index":"*","search":{"query":""}}}],"style":{"palette":"hostmap_blues","palette_flip":false},"time":{"live_span":"4h"},"type":"geomap","view":{"focus":"WORLD"}}}]} form: {} headers: Accept: @@ -13,11 +13,11 @@ interactions: Dd-Operation-Id: - CreateDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) + - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.19 (go go1.15.7; os darwin; arch amd64) url: https://api.datadoghq.com/api/v1/dashboard method: POST response: - body: '{"notify_list":[],"description":"Created using the Datadog provider in Terraform","restricted_roles":["043a2842-e140-11e8-bb04-7fd10177666e","08604de8-1dca-11eb-800c-9f5f55ff734d","1302282c-b93b-11eb-a436-da7ad0900002","16169788-28e4-11eb-832c-fb84162ef3eb","17d73994-7531-11eb-94b9-da7ad0900002","284d8b66-93f9-11eb-9c37-da7ad0900002","4de53192-9946-11eb-9cee-da7ad0900002","62cbc476-5c16-11eb-8e98-0388ea7a41f8","657de3a2-29f8-11eb-83b5-6b8ebfb2f184","6bf314be-5c16-11eb-8e98-2356ea436065","7a83f306-96ca-11eb-9c74-da7ad0900002","9b3ab170-b768-11eb-a45a-da7ad0900002","e82bf27a-986c-11eb-9cba-da7ad0900002","f257ba30-dbb2-11ea-a5ff-5fd1d308318a"],"author_name":"Qin Chen","template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"ndy-e6k-9mi","title":"tf-TestAccDatadogDashboardGeomap_import-local-1621865532","url":"/dashboard/ndy-e6k-9mi/tf-testaccdatadogdashboardgeomapimport-local-1621865532","created_at":"2021-05-24T14:12:14.627372+00:00","modified_at":"2021-05-24T14:12:14.627372+00:00","author_handle":"qin.chen@datadoghq.com","widgets":[{"definition":{"requests":[{"q":"avg:system.load.1{*}"}],"type":"geomap","style":{"palette":"hostmap_blues","palette_flip":false},"view":{"focus":"WORLD"}},"id":535389993629925},{"definition":{"style":{"palette":"hostmap_blues","palette_flip":false},"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test Custom Link label"},{"override_label":"logs","is_hidden":true,"link":"https://app.datadoghq.com/dashboard/lists"}],"time":{"live_span":"1h"},"requests":[{"log_query":{"index":"*","search":{"query":""},"compute":{"aggregation":"count"}}}],"type":"geomap","view":{"focus":"WORLD"}},"id":2251700787348910},{"definition":{"requests":[{"rum_query":{"index":"*","search":{"query":""},"compute":{"aggregation":"count"}}}],"view":{"focus":"WORLD"},"type":"geomap","style":{"palette":"hostmap_blues","palette_flip":false},"time":{"live_span":"4h"}},"id":4590262193228478}],"layout_type":"ordered"}' + body: '{"notify_list":[],"description":"Created using the Datadog provider in Terraform","author_name":null,"template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"r87-rkv-9zm","title":"tf-TestAccDatadogDashboardGeomap_import-local-1619506707","url":"/dashboard/r87-rkv-9zm/tf-testaccdatadogdashboardgeomapimport-local-1619506707","created_at":"2021-04-27T06:58:29.156112+00:00","modified_at":"2021-04-27T06:58:29.156112+00:00","author_handle":"frog@datadoghq.com","widgets":[{"definition":{"requests":[{"q":"avg:system.load.1{*}"}],"type":"geomap","style":{"palette":"hostmap_blues","palette_flip":false},"view":{"focus":"WORLD"}},"id":4639613529631183},{"definition":{"style":{"palette":"hostmap_blues","palette_flip":false},"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test Custom Link label"}],"time":{"live_span":"1h"},"requests":[{"log_query":{"index":"*","search":{"query":""},"compute":{"aggregation":"count"}}}],"type":"geomap","view":{"focus":"WORLD"}},"id":658528929802208},{"definition":{"requests":[{"rum_query":{"index":"*","search":{"query":""},"compute":{"aggregation":"count"}}}],"view":{"focus":"WORLD"},"type":"geomap","style":{"palette":"hostmap_blues","palette_flip":false},"time":{"live_span":"4h"}},"id":8526536237626829}],"layout_type":"ordered"}' headers: Cache-Control: - no-cache @@ -28,7 +28,7 @@ interactions: Content-Type: - application/json Date: - - Mon, 24 May 2021 14:12:14 GMT + - Tue, 27 Apr 2021 06:58:32 GMT Pragma: - no-cache Strict-Transport-Security: @@ -38,9 +38,9 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Debug: - - l8RQo2maZqJf6GFThBbKNE6dvthz6njusVtau3dPXJWL2RLFoN81H+BLPB/1xgs1 + - tpRCH6w417YjBovRJ8VmtuXmNONVYiRp2c8d2AxjPdGBn8PCtgG4vAztrx3qUZAN X-Dd-Version: - - "35.4593741" + - "35.4397207" X-Frame-Options: - SAMEORIGIN status: 200 OK @@ -55,11 +55,11 @@ interactions: Dd-Operation-Id: - GetDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) - url: https://api.datadoghq.com/api/v1/dashboard/ndy-e6k-9mi + - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.19 (go go1.15.7; os darwin; arch amd64) + url: https://api.datadoghq.com/api/v1/dashboard/r87-rkv-9zm method: GET response: - body: '{"notify_list":[],"description":"Created using the Datadog provider in Terraform","restricted_roles":["284d8b66-93f9-11eb-9c37-da7ad0900002","043a2842-e140-11e8-bb04-7fd10177666e","657de3a2-29f8-11eb-83b5-6b8ebfb2f184","e82bf27a-986c-11eb-9cba-da7ad0900002","f257ba30-dbb2-11ea-a5ff-5fd1d308318a","6bf314be-5c16-11eb-8e98-2356ea436065","62cbc476-5c16-11eb-8e98-0388ea7a41f8","08604de8-1dca-11eb-800c-9f5f55ff734d","9b3ab170-b768-11eb-a45a-da7ad0900002","7a83f306-96ca-11eb-9c74-da7ad0900002","16169788-28e4-11eb-832c-fb84162ef3eb","4de53192-9946-11eb-9cee-da7ad0900002","1302282c-b93b-11eb-a436-da7ad0900002","17d73994-7531-11eb-94b9-da7ad0900002"],"author_name":"Qin Chen","template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"ndy-e6k-9mi","title":"tf-TestAccDatadogDashboardGeomap_import-local-1621865532","url":"/dashboard/ndy-e6k-9mi/tf-testaccdatadogdashboardgeomapimport-local-1621865532","created_at":"2021-05-24T14:12:14.627372+00:00","modified_at":"2021-05-24T14:12:14.627372+00:00","author_handle":"qin.chen@datadoghq.com","widgets":[{"definition":{"requests":[{"q":"avg:system.load.1{*}"}],"type":"geomap","style":{"palette":"hostmap_blues","palette_flip":false},"view":{"focus":"WORLD"}},"id":535389993629925},{"definition":{"style":{"palette":"hostmap_blues","palette_flip":false},"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test Custom Link label"},{"override_label":"logs","is_hidden":true,"link":"https://app.datadoghq.com/dashboard/lists"}],"time":{"live_span":"1h"},"requests":[{"log_query":{"index":"*","search":{"query":""},"compute":{"aggregation":"count"}}}],"type":"geomap","view":{"focus":"WORLD"}},"id":2251700787348910},{"definition":{"requests":[{"rum_query":{"index":"*","search":{"query":""},"compute":{"aggregation":"count"}}}],"view":{"focus":"WORLD"},"type":"geomap","style":{"palette":"hostmap_blues","palette_flip":false},"time":{"live_span":"4h"}},"id":4590262193228478}],"layout_type":"ordered"}' + body: '{"notify_list":[],"description":"Created using the Datadog provider in Terraform","author_name":null,"template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"r87-rkv-9zm","title":"tf-TestAccDatadogDashboardGeomap_import-local-1619506707","url":"/dashboard/r87-rkv-9zm/tf-testaccdatadogdashboardgeomapimport-local-1619506707","created_at":"2021-04-27T06:58:29.156112+00:00","modified_at":"2021-04-27T06:58:29.156112+00:00","author_handle":"frog@datadoghq.com","widgets":[{"definition":{"requests":[{"q":"avg:system.load.1{*}"}],"type":"geomap","style":{"palette":"hostmap_blues","palette_flip":false},"view":{"focus":"WORLD"}},"id":4639613529631183},{"definition":{"style":{"palette":"hostmap_blues","palette_flip":false},"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test Custom Link label"}],"time":{"live_span":"1h"},"requests":[{"log_query":{"index":"*","search":{"query":""},"compute":{"aggregation":"count"}}}],"type":"geomap","view":{"focus":"WORLD"}},"id":658528929802208},{"definition":{"requests":[{"rum_query":{"index":"*","search":{"query":""},"compute":{"aggregation":"count"}}}],"view":{"focus":"WORLD"},"type":"geomap","style":{"palette":"hostmap_blues","palette_flip":false},"time":{"live_span":"4h"}},"id":8526536237626829}],"layout_type":"ordered"}' headers: Cache-Control: - no-cache @@ -70,7 +70,7 @@ interactions: Content-Type: - application/json Date: - - Mon, 24 May 2021 14:12:14 GMT + - Tue, 27 Apr 2021 06:58:32 GMT Pragma: - no-cache Strict-Transport-Security: @@ -80,9 +80,9 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Debug: - - vdJ3/nHEY1ioXQ6pQrBVvsQK1s4yyc+wufBMPSoXql71qZVuP/xMdtNo6DafhOAk + - l8RQo2maZqJf6GFThBbKNE6dvthz6njusVtau3dPXJWL2RLFoN81H+BLPB/1xgs1 X-Dd-Version: - - "35.4593741" + - "35.4397207" X-Frame-Options: - SAMEORIGIN status: 200 OK @@ -97,11 +97,11 @@ interactions: Dd-Operation-Id: - GetDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) - url: https://api.datadoghq.com/api/v1/dashboard/ndy-e6k-9mi + - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.19 (go go1.15.7; os darwin; arch amd64) + url: https://api.datadoghq.com/api/v1/dashboard/r87-rkv-9zm method: GET response: - body: '{"notify_list":[],"description":"Created using the Datadog provider in Terraform","restricted_roles":["284d8b66-93f9-11eb-9c37-da7ad0900002","043a2842-e140-11e8-bb04-7fd10177666e","657de3a2-29f8-11eb-83b5-6b8ebfb2f184","e82bf27a-986c-11eb-9cba-da7ad0900002","f257ba30-dbb2-11ea-a5ff-5fd1d308318a","6bf314be-5c16-11eb-8e98-2356ea436065","62cbc476-5c16-11eb-8e98-0388ea7a41f8","08604de8-1dca-11eb-800c-9f5f55ff734d","9b3ab170-b768-11eb-a45a-da7ad0900002","7a83f306-96ca-11eb-9c74-da7ad0900002","16169788-28e4-11eb-832c-fb84162ef3eb","4de53192-9946-11eb-9cee-da7ad0900002","1302282c-b93b-11eb-a436-da7ad0900002","17d73994-7531-11eb-94b9-da7ad0900002"],"author_name":"Qin Chen","template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"ndy-e6k-9mi","title":"tf-TestAccDatadogDashboardGeomap_import-local-1621865532","url":"/dashboard/ndy-e6k-9mi/tf-testaccdatadogdashboardgeomapimport-local-1621865532","created_at":"2021-05-24T14:12:14.627372+00:00","modified_at":"2021-05-24T14:12:14.627372+00:00","author_handle":"qin.chen@datadoghq.com","widgets":[{"definition":{"requests":[{"q":"avg:system.load.1{*}"}],"type":"geomap","style":{"palette":"hostmap_blues","palette_flip":false},"view":{"focus":"WORLD"}},"id":535389993629925},{"definition":{"style":{"palette":"hostmap_blues","palette_flip":false},"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test Custom Link label"},{"override_label":"logs","is_hidden":true,"link":"https://app.datadoghq.com/dashboard/lists"}],"time":{"live_span":"1h"},"requests":[{"log_query":{"index":"*","search":{"query":""},"compute":{"aggregation":"count"}}}],"type":"geomap","view":{"focus":"WORLD"}},"id":2251700787348910},{"definition":{"requests":[{"rum_query":{"index":"*","search":{"query":""},"compute":{"aggregation":"count"}}}],"view":{"focus":"WORLD"},"type":"geomap","style":{"palette":"hostmap_blues","palette_flip":false},"time":{"live_span":"4h"}},"id":4590262193228478}],"layout_type":"ordered"}' + body: '{"notify_list":[],"description":"Created using the Datadog provider in Terraform","author_name":null,"template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"r87-rkv-9zm","title":"tf-TestAccDatadogDashboardGeomap_import-local-1619506707","url":"/dashboard/r87-rkv-9zm/tf-testaccdatadogdashboardgeomapimport-local-1619506707","created_at":"2021-04-27T06:58:29.156112+00:00","modified_at":"2021-04-27T06:58:29.156112+00:00","author_handle":"frog@datadoghq.com","widgets":[{"definition":{"requests":[{"q":"avg:system.load.1{*}"}],"type":"geomap","style":{"palette":"hostmap_blues","palette_flip":false},"view":{"focus":"WORLD"}},"id":4639613529631183},{"definition":{"style":{"palette":"hostmap_blues","palette_flip":false},"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test Custom Link label"}],"time":{"live_span":"1h"},"requests":[{"log_query":{"index":"*","search":{"query":""},"compute":{"aggregation":"count"}}}],"type":"geomap","view":{"focus":"WORLD"}},"id":658528929802208},{"definition":{"requests":[{"rum_query":{"index":"*","search":{"query":""},"compute":{"aggregation":"count"}}}],"view":{"focus":"WORLD"},"type":"geomap","style":{"palette":"hostmap_blues","palette_flip":false},"time":{"live_span":"4h"}},"id":8526536237626829}],"layout_type":"ordered"}' headers: Cache-Control: - no-cache @@ -112,7 +112,7 @@ interactions: Content-Type: - application/json Date: - - Mon, 24 May 2021 14:12:15 GMT + - Tue, 27 Apr 2021 06:58:33 GMT Pragma: - no-cache Strict-Transport-Security: @@ -122,9 +122,9 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Debug: - - tpRCH6w417YjBovRJ8VmtuXmNONVYiRp2c8d2AxjPdGBn8PCtgG4vAztrx3qUZAN + - 25u1gDlL724DHllbjFT4BhOLorBTilh+aah2uWAUEjFC/+rjczJdiyWrV/HwLwe/ X-Dd-Version: - - "35.4593741" + - "35.4397207" X-Frame-Options: - SAMEORIGIN status: 200 OK @@ -139,11 +139,11 @@ interactions: Dd-Operation-Id: - GetDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) - url: https://api.datadoghq.com/api/v1/dashboard/ndy-e6k-9mi + - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.19 (go go1.15.7; os darwin; arch amd64) + url: https://api.datadoghq.com/api/v1/dashboard/r87-rkv-9zm method: GET response: - body: '{"notify_list":[],"description":"Created using the Datadog provider in Terraform","restricted_roles":["284d8b66-93f9-11eb-9c37-da7ad0900002","043a2842-e140-11e8-bb04-7fd10177666e","657de3a2-29f8-11eb-83b5-6b8ebfb2f184","e82bf27a-986c-11eb-9cba-da7ad0900002","f257ba30-dbb2-11ea-a5ff-5fd1d308318a","6bf314be-5c16-11eb-8e98-2356ea436065","62cbc476-5c16-11eb-8e98-0388ea7a41f8","08604de8-1dca-11eb-800c-9f5f55ff734d","9b3ab170-b768-11eb-a45a-da7ad0900002","7a83f306-96ca-11eb-9c74-da7ad0900002","16169788-28e4-11eb-832c-fb84162ef3eb","4de53192-9946-11eb-9cee-da7ad0900002","1302282c-b93b-11eb-a436-da7ad0900002","17d73994-7531-11eb-94b9-da7ad0900002"],"author_name":"Qin Chen","template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"ndy-e6k-9mi","title":"tf-TestAccDatadogDashboardGeomap_import-local-1621865532","url":"/dashboard/ndy-e6k-9mi/tf-testaccdatadogdashboardgeomapimport-local-1621865532","created_at":"2021-05-24T14:12:14.627372+00:00","modified_at":"2021-05-24T14:12:14.627372+00:00","author_handle":"qin.chen@datadoghq.com","widgets":[{"definition":{"requests":[{"q":"avg:system.load.1{*}"}],"type":"geomap","style":{"palette":"hostmap_blues","palette_flip":false},"view":{"focus":"WORLD"}},"id":535389993629925},{"definition":{"style":{"palette":"hostmap_blues","palette_flip":false},"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test Custom Link label"},{"override_label":"logs","is_hidden":true,"link":"https://app.datadoghq.com/dashboard/lists"}],"time":{"live_span":"1h"},"requests":[{"log_query":{"index":"*","search":{"query":""},"compute":{"aggregation":"count"}}}],"type":"geomap","view":{"focus":"WORLD"}},"id":2251700787348910},{"definition":{"requests":[{"rum_query":{"index":"*","search":{"query":""},"compute":{"aggregation":"count"}}}],"view":{"focus":"WORLD"},"type":"geomap","style":{"palette":"hostmap_blues","palette_flip":false},"time":{"live_span":"4h"}},"id":4590262193228478}],"layout_type":"ordered"}' + body: '{"notify_list":[],"description":"Created using the Datadog provider in Terraform","author_name":null,"template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"r87-rkv-9zm","title":"tf-TestAccDatadogDashboardGeomap_import-local-1619506707","url":"/dashboard/r87-rkv-9zm/tf-testaccdatadogdashboardgeomapimport-local-1619506707","created_at":"2021-04-27T06:58:29.156112+00:00","modified_at":"2021-04-27T06:58:29.156112+00:00","author_handle":"frog@datadoghq.com","widgets":[{"definition":{"requests":[{"q":"avg:system.load.1{*}"}],"type":"geomap","style":{"palette":"hostmap_blues","palette_flip":false},"view":{"focus":"WORLD"}},"id":4639613529631183},{"definition":{"style":{"palette":"hostmap_blues","palette_flip":false},"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test Custom Link label"}],"time":{"live_span":"1h"},"requests":[{"log_query":{"index":"*","search":{"query":""},"compute":{"aggregation":"count"}}}],"type":"geomap","view":{"focus":"WORLD"}},"id":658528929802208},{"definition":{"requests":[{"rum_query":{"index":"*","search":{"query":""},"compute":{"aggregation":"count"}}}],"view":{"focus":"WORLD"},"type":"geomap","style":{"palette":"hostmap_blues","palette_flip":false},"time":{"live_span":"4h"}},"id":8526536237626829}],"layout_type":"ordered"}' headers: Cache-Control: - no-cache @@ -154,7 +154,7 @@ interactions: Content-Type: - application/json Date: - - Mon, 24 May 2021 14:12:16 GMT + - Tue, 27 Apr 2021 06:58:33 GMT Pragma: - no-cache Strict-Transport-Security: @@ -164,9 +164,9 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Debug: - - Um4CoU685QqAscnxhS5BD+goWu2yX1Jd4zCfGzSsEvPPIm1qURZaF8dlLl/OEY4I + - Wjq53IVIwnB4SiR238oOYgHFMq/ZYP0LQ/Dv8C2fFLBwTje/dWJHu6pI6vIOK1zG X-Dd-Version: - - "35.4593741" + - "35.4397207" X-Frame-Options: - SAMEORIGIN status: 200 OK @@ -181,11 +181,11 @@ interactions: Dd-Operation-Id: - GetDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) - url: https://api.datadoghq.com/api/v1/dashboard/ndy-e6k-9mi + - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.19 (go go1.15.7; os darwin; arch amd64) + url: https://api.datadoghq.com/api/v1/dashboard/r87-rkv-9zm method: GET response: - body: '{"notify_list":[],"description":"Created using the Datadog provider in Terraform","restricted_roles":["284d8b66-93f9-11eb-9c37-da7ad0900002","043a2842-e140-11e8-bb04-7fd10177666e","657de3a2-29f8-11eb-83b5-6b8ebfb2f184","e82bf27a-986c-11eb-9cba-da7ad0900002","f257ba30-dbb2-11ea-a5ff-5fd1d308318a","6bf314be-5c16-11eb-8e98-2356ea436065","62cbc476-5c16-11eb-8e98-0388ea7a41f8","08604de8-1dca-11eb-800c-9f5f55ff734d","9b3ab170-b768-11eb-a45a-da7ad0900002","7a83f306-96ca-11eb-9c74-da7ad0900002","16169788-28e4-11eb-832c-fb84162ef3eb","4de53192-9946-11eb-9cee-da7ad0900002","1302282c-b93b-11eb-a436-da7ad0900002","17d73994-7531-11eb-94b9-da7ad0900002"],"author_name":"Qin Chen","template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"ndy-e6k-9mi","title":"tf-TestAccDatadogDashboardGeomap_import-local-1621865532","url":"/dashboard/ndy-e6k-9mi/tf-testaccdatadogdashboardgeomapimport-local-1621865532","created_at":"2021-05-24T14:12:14.627372+00:00","modified_at":"2021-05-24T14:12:14.627372+00:00","author_handle":"qin.chen@datadoghq.com","widgets":[{"definition":{"requests":[{"q":"avg:system.load.1{*}"}],"type":"geomap","style":{"palette":"hostmap_blues","palette_flip":false},"view":{"focus":"WORLD"}},"id":535389993629925},{"definition":{"style":{"palette":"hostmap_blues","palette_flip":false},"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test Custom Link label"},{"override_label":"logs","is_hidden":true,"link":"https://app.datadoghq.com/dashboard/lists"}],"time":{"live_span":"1h"},"requests":[{"log_query":{"index":"*","search":{"query":""},"compute":{"aggregation":"count"}}}],"type":"geomap","view":{"focus":"WORLD"}},"id":2251700787348910},{"definition":{"requests":[{"rum_query":{"index":"*","search":{"query":""},"compute":{"aggregation":"count"}}}],"view":{"focus":"WORLD"},"type":"geomap","style":{"palette":"hostmap_blues","palette_flip":false},"time":{"live_span":"4h"}},"id":4590262193228478}],"layout_type":"ordered"}' + body: '{"notify_list":[],"description":"Created using the Datadog provider in Terraform","author_name":null,"template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"r87-rkv-9zm","title":"tf-TestAccDatadogDashboardGeomap_import-local-1619506707","url":"/dashboard/r87-rkv-9zm/tf-testaccdatadogdashboardgeomapimport-local-1619506707","created_at":"2021-04-27T06:58:29.156112+00:00","modified_at":"2021-04-27T06:58:29.156112+00:00","author_handle":"frog@datadoghq.com","widgets":[{"definition":{"requests":[{"q":"avg:system.load.1{*}"}],"type":"geomap","style":{"palette":"hostmap_blues","palette_flip":false},"view":{"focus":"WORLD"}},"id":4639613529631183},{"definition":{"style":{"palette":"hostmap_blues","palette_flip":false},"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test Custom Link label"}],"time":{"live_span":"1h"},"requests":[{"log_query":{"index":"*","search":{"query":""},"compute":{"aggregation":"count"}}}],"type":"geomap","view":{"focus":"WORLD"}},"id":658528929802208},{"definition":{"requests":[{"rum_query":{"index":"*","search":{"query":""},"compute":{"aggregation":"count"}}}],"view":{"focus":"WORLD"},"type":"geomap","style":{"palette":"hostmap_blues","palette_flip":false},"time":{"live_span":"4h"}},"id":8526536237626829}],"layout_type":"ordered"}' headers: Cache-Control: - no-cache @@ -196,7 +196,7 @@ interactions: Content-Type: - application/json Date: - - Mon, 24 May 2021 14:12:16 GMT + - Tue, 27 Apr 2021 06:58:33 GMT Pragma: - no-cache Strict-Transport-Security: @@ -206,9 +206,9 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Debug: - - 5gfwVh/5HZ+AnGd/Di93w3NEWC6KMHT9KzmHEiRJmNdOjBtAsbOcgVFyqEChw71h + - /L+SFFO+m1pPY+hRCpk5325fvfrNl0KmiquUNJolBN/5hu3HIwflqjZSbJ6NxDFG X-Dd-Version: - - "35.4593741" + - "35.4397207" X-Frame-Options: - SAMEORIGIN status: 200 OK @@ -223,11 +223,11 @@ interactions: Dd-Operation-Id: - GetDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) - url: https://api.datadoghq.com/api/v1/dashboard/ndy-e6k-9mi + - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.19 (go go1.15.7; os darwin; arch amd64) + url: https://api.datadoghq.com/api/v1/dashboard/r87-rkv-9zm method: GET response: - body: '{"notify_list":[],"description":"Created using the Datadog provider in Terraform","restricted_roles":["284d8b66-93f9-11eb-9c37-da7ad0900002","043a2842-e140-11e8-bb04-7fd10177666e","657de3a2-29f8-11eb-83b5-6b8ebfb2f184","e82bf27a-986c-11eb-9cba-da7ad0900002","f257ba30-dbb2-11ea-a5ff-5fd1d308318a","6bf314be-5c16-11eb-8e98-2356ea436065","62cbc476-5c16-11eb-8e98-0388ea7a41f8","08604de8-1dca-11eb-800c-9f5f55ff734d","9b3ab170-b768-11eb-a45a-da7ad0900002","7a83f306-96ca-11eb-9c74-da7ad0900002","16169788-28e4-11eb-832c-fb84162ef3eb","4de53192-9946-11eb-9cee-da7ad0900002","1302282c-b93b-11eb-a436-da7ad0900002","17d73994-7531-11eb-94b9-da7ad0900002"],"author_name":"Qin Chen","template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"ndy-e6k-9mi","title":"tf-TestAccDatadogDashboardGeomap_import-local-1621865532","url":"/dashboard/ndy-e6k-9mi/tf-testaccdatadogdashboardgeomapimport-local-1621865532","created_at":"2021-05-24T14:12:14.627372+00:00","modified_at":"2021-05-24T14:12:14.627372+00:00","author_handle":"qin.chen@datadoghq.com","widgets":[{"definition":{"requests":[{"q":"avg:system.load.1{*}"}],"type":"geomap","style":{"palette":"hostmap_blues","palette_flip":false},"view":{"focus":"WORLD"}},"id":535389993629925},{"definition":{"style":{"palette":"hostmap_blues","palette_flip":false},"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test Custom Link label"},{"override_label":"logs","is_hidden":true,"link":"https://app.datadoghq.com/dashboard/lists"}],"time":{"live_span":"1h"},"requests":[{"log_query":{"index":"*","search":{"query":""},"compute":{"aggregation":"count"}}}],"type":"geomap","view":{"focus":"WORLD"}},"id":2251700787348910},{"definition":{"requests":[{"rum_query":{"index":"*","search":{"query":""},"compute":{"aggregation":"count"}}}],"view":{"focus":"WORLD"},"type":"geomap","style":{"palette":"hostmap_blues","palette_flip":false},"time":{"live_span":"4h"}},"id":4590262193228478}],"layout_type":"ordered"}' + body: '{"notify_list":[],"description":"Created using the Datadog provider in Terraform","author_name":null,"template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"r87-rkv-9zm","title":"tf-TestAccDatadogDashboardGeomap_import-local-1619506707","url":"/dashboard/r87-rkv-9zm/tf-testaccdatadogdashboardgeomapimport-local-1619506707","created_at":"2021-04-27T06:58:29.156112+00:00","modified_at":"2021-04-27T06:58:29.156112+00:00","author_handle":"frog@datadoghq.com","widgets":[{"definition":{"requests":[{"q":"avg:system.load.1{*}"}],"type":"geomap","style":{"palette":"hostmap_blues","palette_flip":false},"view":{"focus":"WORLD"}},"id":4639613529631183},{"definition":{"style":{"palette":"hostmap_blues","palette_flip":false},"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test Custom Link label"}],"time":{"live_span":"1h"},"requests":[{"log_query":{"index":"*","search":{"query":""},"compute":{"aggregation":"count"}}}],"type":"geomap","view":{"focus":"WORLD"}},"id":658528929802208},{"definition":{"requests":[{"rum_query":{"index":"*","search":{"query":""},"compute":{"aggregation":"count"}}}],"view":{"focus":"WORLD"},"type":"geomap","style":{"palette":"hostmap_blues","palette_flip":false},"time":{"live_span":"4h"}},"id":8526536237626829}],"layout_type":"ordered"}' headers: Cache-Control: - no-cache @@ -238,7 +238,7 @@ interactions: Content-Type: - application/json Date: - - Mon, 24 May 2021 14:12:17 GMT + - Tue, 27 Apr 2021 06:58:34 GMT Pragma: - no-cache Strict-Transport-Security: @@ -248,9 +248,9 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Debug: - - bgHykj7A9bfZx0Y5ZO3swhhp5tGUSNJHqFWR868+qg087CYrDOd5hQslC+noiEtH + - F5gm0Rce1/Abr9/0Fw8HAqWfiz0FdiH8er/AXnN6lOn3L6KyGgbsLCwgPlob1No8 X-Dd-Version: - - "35.4593741" + - "35.4397207" X-Frame-Options: - SAMEORIGIN status: 200 OK @@ -265,11 +265,11 @@ interactions: Dd-Operation-Id: - DeleteDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) - url: https://api.datadoghq.com/api/v1/dashboard/ndy-e6k-9mi + - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.19 (go go1.15.7; os darwin; arch amd64) + url: https://api.datadoghq.com/api/v1/dashboard/r87-rkv-9zm method: DELETE response: - body: '{"deleted_dashboard_id":"ndy-e6k-9mi"}' + body: '{"deleted_dashboard_id":"r87-rkv-9zm"}' headers: Cache-Control: - no-cache @@ -280,7 +280,7 @@ interactions: Content-Type: - application/json Date: - - Mon, 24 May 2021 14:12:18 GMT + - Tue, 27 Apr 2021 06:58:34 GMT Pragma: - no-cache Strict-Transport-Security: @@ -290,9 +290,9 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Debug: - - L3ULR3HwCWYmEqCWGz2Yob3chcH4pjowBacBXkncP7o+/uPqKt9yGEYf/g1AJPzQ + - 2328yjLSqI4XmR1pVqrPRR/SFcQsbafjEpPmZx7/3PfxUK1nJQQsX+wrMelyVyj+ X-Dd-Version: - - "35.4593741" + - "35.4397207" X-Frame-Options: - SAMEORIGIN status: 200 OK @@ -307,11 +307,11 @@ interactions: Dd-Operation-Id: - GetDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) - url: https://api.datadoghq.com/api/v1/dashboard/ndy-e6k-9mi + - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.19 (go go1.15.7; os darwin; arch amd64) + url: https://api.datadoghq.com/api/v1/dashboard/r87-rkv-9zm method: GET response: - body: '{"errors": ["Dashboard with ID ndy-e6k-9mi not found"]}' + body: '{"errors": ["Dashboard with ID r87-rkv-9zm not found"]}' headers: Cache-Control: - no-cache @@ -322,7 +322,7 @@ interactions: Content-Type: - application/json Date: - - Mon, 24 May 2021 14:12:18 GMT + - Tue, 27 Apr 2021 06:58:34 GMT Pragma: - no-cache Strict-Transport-Security: @@ -332,7 +332,7 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Version: - - "35.4593741" + - "35.4397207" X-Frame-Options: - SAMEORIGIN status: 404 Not Found diff --git a/datadog/tests/cassettes/TestAccDatadogDashboardHeatMap.freeze b/datadog/tests/cassettes/TestAccDatadogDashboardHeatMap.freeze index 18b3388c0..74f1eb009 100644 --- a/datadog/tests/cassettes/TestAccDatadogDashboardHeatMap.freeze +++ b/datadog/tests/cassettes/TestAccDatadogDashboardHeatMap.freeze @@ -1 +1 @@ -2021-05-24T10:37:36.412883-04:00 \ No newline at end of file +2021-01-28T17:18:25.050258+01:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogDashboardHeatMap.yaml b/datadog/tests/cassettes/TestAccDatadogDashboardHeatMap.yaml index 8b47e41f6..4ff104ca9 100644 --- a/datadog/tests/cassettes/TestAccDatadogDashboardHeatMap.yaml +++ b/datadog/tests/cassettes/TestAccDatadogDashboardHeatMap.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-TestAccDatadogDashboardHeatMap-local-1621865697","widgets":[{"definition":{"custom_links":[{"label":"Test Custom Link label","link":"https://app.datadoghq.com/dashboard/lists"},{"is_hidden":true,"link":"https://app.datadoghq.com/dashboard/lists","override_label":"logs"}],"events":[{"q":"env:prod","tags_execution":"and"}],"legend_size":"2","requests":[{"q":"avg:system.cpu.user{account:prod} by {app}","style":{"palette":"blue"}}],"show_legend":true,"time":{"live_span":"1mo"},"title":"Avg of system.cpu.user over account:prod by app","title_align":"center","title_size":"16","type":"heatmap","yaxis":{"include_zero":false,"max":"100"}}},{"definition":{"custom_links":[{"label":"Test Custom Link label","link":"https://app.datadoghq.com/dashboard/lists"}],"events":[{"q":"env:prod","tags_execution":"and"}],"legend_size":"2","requests":[{"q":"avg:system.cpu.user{account:prod} by {app}","style":{"palette":"blue"}}],"show_legend":true,"time":{"live_span":"1mo"},"title":"Avg of system.cpu.user over account:prod by app","title_align":"center","title_size":"16","type":"heatmap","yaxis":{"include_zero":false,"max":"100"}}}]} + {"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-TestAccDatadogDashboardHeatMap-local-1611850705","widgets":[{"definition":{"custom_links":[{"label":"Test Custom Link label","link":"https://app.datadoghq.com/dashboard/lists"}],"events":[{"q":"env:prod","tags_execution":"and"}],"legend_size":"2","requests":[{"q":"avg:system.cpu.user{account:prod} by {app}","style":{"palette":"blue"}}],"show_legend":true,"time":{"live_span":"1mo"},"title":"Avg of system.cpu.user over account:prod by app","title_align":"center","title_size":"16","type":"heatmap","yaxis":{"include_zero":false,"max":"100"}}},{"definition":{"custom_links":[{"label":"Test Custom Link label","link":"https://app.datadoghq.com/dashboard/lists"}],"events":[{"q":"env:prod","tags_execution":"and"}],"legend_size":"2","requests":[{"q":"avg:system.cpu.user{account:prod} by {app}","style":{"palette":"blue"}}],"show_legend":true,"time":{"live_span":"1mo"},"title":"Avg of system.cpu.user over account:prod by app","title_align":"center","title_size":"16","type":"heatmap","yaxis":{"include_zero":false,"max":"100"}}}]} form: {} headers: Accept: @@ -13,11 +13,25 @@ interactions: Dd-Operation-Id: - CreateDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) + - terraform-provider-datadog/dev (terraform 1.15.0; terraform-cli 0.12.7-sdk) + datadog-api-client-go/1.0.0-beta.14 (go go1.15.4; os darwin; arch amd64) + X-Datadog-Parent-Id: + - "5999241310095311328" + X-Datadog-Sampling-Priority: + - "1" + X-Datadog-Trace-Id: + - "5891668597073950423" url: https://api.datadoghq.com/api/v1/dashboard method: POST response: - body: '{"notify_list":[],"description":"Created using the Datadog provider in Terraform","restricted_roles":["043a2842-e140-11e8-bb04-7fd10177666e","08604de8-1dca-11eb-800c-9f5f55ff734d","1302282c-b93b-11eb-a436-da7ad0900002","16169788-28e4-11eb-832c-fb84162ef3eb","17d73994-7531-11eb-94b9-da7ad0900002","284d8b66-93f9-11eb-9c37-da7ad0900002","4de53192-9946-11eb-9cee-da7ad0900002","62cbc476-5c16-11eb-8e98-0388ea7a41f8","657de3a2-29f8-11eb-83b5-6b8ebfb2f184","6bf314be-5c16-11eb-8e98-2356ea436065","7a83f306-96ca-11eb-9c74-da7ad0900002","9b3ab170-b768-11eb-a45a-da7ad0900002","e82bf27a-986c-11eb-9cba-da7ad0900002","f257ba30-dbb2-11ea-a5ff-5fd1d308318a"],"author_name":"Qin Chen","template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"xrx-h6j-gtf","title":"tf-TestAccDatadogDashboardHeatMap-local-1621865697","url":"/dashboard/xrx-h6j-gtf/tf-testaccdatadogdashboardheatmap-local-1621865697","created_at":"2021-05-24T14:14:58.175946+00:00","modified_at":"2021-05-24T14:14:58.175946+00:00","author_handle":"qin.chen@datadoghq.com","widgets":[{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test Custom Link label"},{"override_label":"logs","is_hidden":true,"link":"https://app.datadoghq.com/dashboard/lists"}],"title_size":"16","yaxis":{"include_zero":false,"max":"100"},"title_align":"center","events":[{"q":"env:prod","tags_execution":"and"}],"show_legend":true,"time":{"live_span":"1mo"},"title":"Avg of system.cpu.user over account:prod by app","legend_size":"2","type":"heatmap","requests":[{"q":"avg:system.cpu.user{account:prod} by {app}","style":{"palette":"blue"}}]},"id":1088240529084957},{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test Custom Link label"}],"title_size":"16","yaxis":{"include_zero":false,"max":"100"},"title_align":"center","events":[{"q":"env:prod","tags_execution":"and"}],"show_legend":true,"time":{"live_span":"1mo"},"title":"Avg of system.cpu.user over account:prod by app","legend_size":"2","type":"heatmap","requests":[{"q":"avg:system.cpu.user{account:prod} by {app}","style":{"palette":"blue"}}]},"id":6435336799935690}],"layout_type":"ordered"}' + body: '{"notify_list":[],"description":"Created using the Datadog provider in + Terraform","author_name":null,"template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"7bt-j9y-cz2","title":"tf-TestAccDatadogDashboardHeatMap-local-1611850705","url":"/dashboard/7bt-j9y-cz2/tf-testaccdatadogdashboardheatmap-local-1611850705","created_at":"2021-01-28T16:30:16.239397+00:00","modified_at":"2021-01-28T16:30:16.239397+00:00","author_handle":"frog@datadoghq.com","widgets":[{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test + Custom Link label"}],"title_size":"16","yaxis":{"include_zero":false,"max":"100"},"title_align":"center","events":[{"q":"env:prod","tags_execution":"and"}],"show_legend":true,"time":{"live_span":"1mo"},"title":"Avg + of system.cpu.user over account:prod by app","legend_size":"2","type":"heatmap","requests":[{"q":"avg:system.cpu.user{account:prod} + by {app}","style":{"palette":"blue"}}]},"id":4585604018940408},{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test + Custom Link label"}],"title_size":"16","yaxis":{"include_zero":false,"max":"100"},"title_align":"center","events":[{"q":"env:prod","tags_execution":"and"}],"show_legend":true,"time":{"live_span":"1mo"},"title":"Avg + of system.cpu.user over account:prod by app","legend_size":"2","type":"heatmap","requests":[{"q":"avg:system.cpu.user{account:prod} + by {app}","style":{"palette":"blue"}}]},"id":3903032546507783}],"layout_type":"ordered"}' headers: Cache-Control: - no-cache @@ -28,9 +42,12 @@ interactions: Content-Type: - application/json Date: - - Mon, 24 May 2021 14:14:58 GMT + - Thu, 28 Jan 2021 16:30:18 GMT Pragma: - no-cache + Set-Cookie: + - DD-PSHARD=233; Max-Age=604800; Path=/; expires=Thu, 04-Feb-2021 16:30:16 GMT; + secure; HttpOnly Strict-Transport-Security: - max-age=15724800; Vary: @@ -38,9 +55,9 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Debug: - - gYZcaADwbKcv7Hm19HJx6WsLoKuOijDWAt2viPeCfWqUgyKY+9e1xZdmMJeXV3YV + - fIO2C4qGDheGHy4YbS+r3a3CXbh4cbRo7roILOimQyiHGjQdOat0cIpWCkupM1uX X-Dd-Version: - - "35.4593741" + - "35.3796727" X-Frame-Options: - SAMEORIGIN status: 200 OK @@ -55,11 +72,25 @@ interactions: Dd-Operation-Id: - GetDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) - url: https://api.datadoghq.com/api/v1/dashboard/xrx-h6j-gtf + - terraform-provider-datadog/dev (terraform 1.15.0; terraform-cli 0.12.7-sdk) + datadog-api-client-go/1.0.0-beta.14 (go go1.15.4; os darwin; arch amd64) + X-Datadog-Parent-Id: + - "2988234453758747373" + X-Datadog-Sampling-Priority: + - "1" + X-Datadog-Trace-Id: + - "5891668597073950423" + url: https://api.datadoghq.com/api/v1/dashboard/7bt-j9y-cz2 method: GET response: - body: '{"notify_list":[],"description":"Created using the Datadog provider in Terraform","restricted_roles":["284d8b66-93f9-11eb-9c37-da7ad0900002","043a2842-e140-11e8-bb04-7fd10177666e","657de3a2-29f8-11eb-83b5-6b8ebfb2f184","e82bf27a-986c-11eb-9cba-da7ad0900002","f257ba30-dbb2-11ea-a5ff-5fd1d308318a","6bf314be-5c16-11eb-8e98-2356ea436065","62cbc476-5c16-11eb-8e98-0388ea7a41f8","08604de8-1dca-11eb-800c-9f5f55ff734d","9b3ab170-b768-11eb-a45a-da7ad0900002","7a83f306-96ca-11eb-9c74-da7ad0900002","16169788-28e4-11eb-832c-fb84162ef3eb","4de53192-9946-11eb-9cee-da7ad0900002","1302282c-b93b-11eb-a436-da7ad0900002","17d73994-7531-11eb-94b9-da7ad0900002"],"author_name":"Qin Chen","template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"xrx-h6j-gtf","title":"tf-TestAccDatadogDashboardHeatMap-local-1621865697","url":"/dashboard/xrx-h6j-gtf/tf-testaccdatadogdashboardheatmap-local-1621865697","created_at":"2021-05-24T14:14:58.175946+00:00","modified_at":"2021-05-24T14:14:58.175946+00:00","author_handle":"qin.chen@datadoghq.com","widgets":[{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test Custom Link label"},{"override_label":"logs","is_hidden":true,"link":"https://app.datadoghq.com/dashboard/lists"}],"title_size":"16","yaxis":{"include_zero":false,"max":"100"},"title_align":"center","events":[{"q":"env:prod","tags_execution":"and"}],"show_legend":true,"time":{"live_span":"1mo"},"title":"Avg of system.cpu.user over account:prod by app","legend_size":"2","type":"heatmap","requests":[{"q":"avg:system.cpu.user{account:prod} by {app}","style":{"palette":"blue"}}]},"id":1088240529084957},{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test Custom Link label"}],"title_size":"16","yaxis":{"include_zero":false,"max":"100"},"title_align":"center","events":[{"q":"env:prod","tags_execution":"and"}],"show_legend":true,"time":{"live_span":"1mo"},"title":"Avg of system.cpu.user over account:prod by app","legend_size":"2","type":"heatmap","requests":[{"q":"avg:system.cpu.user{account:prod} by {app}","style":{"palette":"blue"}}]},"id":6435336799935690}],"layout_type":"ordered"}' + body: '{"notify_list":[],"description":"Created using the Datadog provider in + Terraform","author_name":null,"template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"7bt-j9y-cz2","title":"tf-TestAccDatadogDashboardHeatMap-local-1611850705","url":"/dashboard/7bt-j9y-cz2/tf-testaccdatadogdashboardheatmap-local-1611850705","created_at":"2021-01-28T16:30:16.239397+00:00","modified_at":"2021-01-28T16:30:16.239397+00:00","author_handle":"frog@datadoghq.com","widgets":[{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test + Custom Link label"}],"title_size":"16","yaxis":{"include_zero":false,"max":"100"},"title_align":"center","events":[{"q":"env:prod","tags_execution":"and"}],"show_legend":true,"time":{"live_span":"1mo"},"title":"Avg + of system.cpu.user over account:prod by app","legend_size":"2","type":"heatmap","requests":[{"q":"avg:system.cpu.user{account:prod} + by {app}","style":{"palette":"blue"}}]},"id":4585604018940408},{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test + Custom Link label"}],"title_size":"16","yaxis":{"include_zero":false,"max":"100"},"title_align":"center","events":[{"q":"env:prod","tags_execution":"and"}],"show_legend":true,"time":{"live_span":"1mo"},"title":"Avg + of system.cpu.user over account:prod by app","legend_size":"2","type":"heatmap","requests":[{"q":"avg:system.cpu.user{account:prod} + by {app}","style":{"palette":"blue"}}]},"id":3903032546507783}],"layout_type":"ordered"}' headers: Cache-Control: - no-cache @@ -70,9 +101,12 @@ interactions: Content-Type: - application/json Date: - - Mon, 24 May 2021 14:14:58 GMT + - Thu, 28 Jan 2021 16:30:18 GMT Pragma: - no-cache + Set-Cookie: + - DD-PSHARD=233; Max-Age=604800; Path=/; expires=Thu, 04-Feb-2021 16:30:18 GMT; + secure; HttpOnly Strict-Transport-Security: - max-age=15724800; Vary: @@ -80,9 +114,9 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Debug: - - LcgNasIYBRkNppmD6mCKE9J6iv0eEjosuuHR5V5zw2fWbR54i39C8dhdK8zDq/40 + - dPySkcOzIZtKyMKDAAzuysY3gNGGj6RtYogGuSb76E8mPvoqzREyRp6lPYm91hQU X-Dd-Version: - - "35.4593741" + - "35.3796727" X-Frame-Options: - SAMEORIGIN status: 200 OK @@ -97,11 +131,25 @@ interactions: Dd-Operation-Id: - GetDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) - url: https://api.datadoghq.com/api/v1/dashboard/xrx-h6j-gtf + - terraform-provider-datadog/dev (terraform 1.15.0; terraform-cli 0.12.7-sdk) + datadog-api-client-go/1.0.0-beta.14 (go go1.15.4; os darwin; arch amd64) + X-Datadog-Parent-Id: + - "1977841625779192068" + X-Datadog-Sampling-Priority: + - "1" + X-Datadog-Trace-Id: + - "5891668597073950423" + url: https://api.datadoghq.com/api/v1/dashboard/7bt-j9y-cz2 method: GET response: - body: '{"notify_list":[],"description":"Created using the Datadog provider in Terraform","restricted_roles":["284d8b66-93f9-11eb-9c37-da7ad0900002","043a2842-e140-11e8-bb04-7fd10177666e","657de3a2-29f8-11eb-83b5-6b8ebfb2f184","e82bf27a-986c-11eb-9cba-da7ad0900002","f257ba30-dbb2-11ea-a5ff-5fd1d308318a","6bf314be-5c16-11eb-8e98-2356ea436065","62cbc476-5c16-11eb-8e98-0388ea7a41f8","08604de8-1dca-11eb-800c-9f5f55ff734d","9b3ab170-b768-11eb-a45a-da7ad0900002","7a83f306-96ca-11eb-9c74-da7ad0900002","16169788-28e4-11eb-832c-fb84162ef3eb","4de53192-9946-11eb-9cee-da7ad0900002","1302282c-b93b-11eb-a436-da7ad0900002","17d73994-7531-11eb-94b9-da7ad0900002"],"author_name":"Qin Chen","template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"xrx-h6j-gtf","title":"tf-TestAccDatadogDashboardHeatMap-local-1621865697","url":"/dashboard/xrx-h6j-gtf/tf-testaccdatadogdashboardheatmap-local-1621865697","created_at":"2021-05-24T14:14:58.175946+00:00","modified_at":"2021-05-24T14:14:58.175946+00:00","author_handle":"qin.chen@datadoghq.com","widgets":[{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test Custom Link label"},{"override_label":"logs","is_hidden":true,"link":"https://app.datadoghq.com/dashboard/lists"}],"title_size":"16","yaxis":{"include_zero":false,"max":"100"},"title_align":"center","events":[{"q":"env:prod","tags_execution":"and"}],"show_legend":true,"time":{"live_span":"1mo"},"title":"Avg of system.cpu.user over account:prod by app","legend_size":"2","type":"heatmap","requests":[{"q":"avg:system.cpu.user{account:prod} by {app}","style":{"palette":"blue"}}]},"id":1088240529084957},{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test Custom Link label"}],"title_size":"16","yaxis":{"include_zero":false,"max":"100"},"title_align":"center","events":[{"q":"env:prod","tags_execution":"and"}],"show_legend":true,"time":{"live_span":"1mo"},"title":"Avg of system.cpu.user over account:prod by app","legend_size":"2","type":"heatmap","requests":[{"q":"avg:system.cpu.user{account:prod} by {app}","style":{"palette":"blue"}}]},"id":6435336799935690}],"layout_type":"ordered"}' + body: '{"notify_list":[],"description":"Created using the Datadog provider in + Terraform","author_name":null,"template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"7bt-j9y-cz2","title":"tf-TestAccDatadogDashboardHeatMap-local-1611850705","url":"/dashboard/7bt-j9y-cz2/tf-testaccdatadogdashboardheatmap-local-1611850705","created_at":"2021-01-28T16:30:16.239397+00:00","modified_at":"2021-01-28T16:30:16.239397+00:00","author_handle":"frog@datadoghq.com","widgets":[{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test + Custom Link label"}],"title_size":"16","yaxis":{"include_zero":false,"max":"100"},"title_align":"center","events":[{"q":"env:prod","tags_execution":"and"}],"show_legend":true,"time":{"live_span":"1mo"},"title":"Avg + of system.cpu.user over account:prod by app","legend_size":"2","type":"heatmap","requests":[{"q":"avg:system.cpu.user{account:prod} + by {app}","style":{"palette":"blue"}}]},"id":4585604018940408},{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test + Custom Link label"}],"title_size":"16","yaxis":{"include_zero":false,"max":"100"},"title_align":"center","events":[{"q":"env:prod","tags_execution":"and"}],"show_legend":true,"time":{"live_span":"1mo"},"title":"Avg + of system.cpu.user over account:prod by app","legend_size":"2","type":"heatmap","requests":[{"q":"avg:system.cpu.user{account:prod} + by {app}","style":{"palette":"blue"}}]},"id":3903032546507783}],"layout_type":"ordered"}' headers: Cache-Control: - no-cache @@ -112,9 +160,12 @@ interactions: Content-Type: - application/json Date: - - Mon, 24 May 2021 14:14:58 GMT + - Thu, 28 Jan 2021 16:30:22 GMT Pragma: - no-cache + Set-Cookie: + - DD-PSHARD=233; Max-Age=604800; Path=/; expires=Thu, 04-Feb-2021 16:30:22 GMT; + secure; HttpOnly Strict-Transport-Security: - max-age=15724800; Vary: @@ -122,9 +173,9 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Debug: - - LcgNasIYBRkNppmD6mCKE9J6iv0eEjosuuHR5V5zw2fWbR54i39C8dhdK8zDq/40 + - F5gm0Rce1/Abr9/0Fw8HAqWfiz0FdiH8er/AXnN6lOn3L6KyGgbsLCwgPlob1No8 X-Dd-Version: - - "35.4593741" + - "35.3796727" X-Frame-Options: - SAMEORIGIN status: 200 OK @@ -139,11 +190,25 @@ interactions: Dd-Operation-Id: - GetDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) - url: https://api.datadoghq.com/api/v1/dashboard/xrx-h6j-gtf + - terraform-provider-datadog/dev (terraform 1.15.0; terraform-cli 0.12.7-sdk) + datadog-api-client-go/1.0.0-beta.14 (go go1.15.4; os darwin; arch amd64) + X-Datadog-Parent-Id: + - "3175188000611291445" + X-Datadog-Sampling-Priority: + - "1" + X-Datadog-Trace-Id: + - "5891668597073950423" + url: https://api.datadoghq.com/api/v1/dashboard/7bt-j9y-cz2 method: GET response: - body: '{"notify_list":[],"description":"Created using the Datadog provider in Terraform","restricted_roles":["284d8b66-93f9-11eb-9c37-da7ad0900002","043a2842-e140-11e8-bb04-7fd10177666e","657de3a2-29f8-11eb-83b5-6b8ebfb2f184","e82bf27a-986c-11eb-9cba-da7ad0900002","f257ba30-dbb2-11ea-a5ff-5fd1d308318a","6bf314be-5c16-11eb-8e98-2356ea436065","62cbc476-5c16-11eb-8e98-0388ea7a41f8","08604de8-1dca-11eb-800c-9f5f55ff734d","9b3ab170-b768-11eb-a45a-da7ad0900002","7a83f306-96ca-11eb-9c74-da7ad0900002","16169788-28e4-11eb-832c-fb84162ef3eb","4de53192-9946-11eb-9cee-da7ad0900002","1302282c-b93b-11eb-a436-da7ad0900002","17d73994-7531-11eb-94b9-da7ad0900002"],"author_name":"Qin Chen","template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"xrx-h6j-gtf","title":"tf-TestAccDatadogDashboardHeatMap-local-1621865697","url":"/dashboard/xrx-h6j-gtf/tf-testaccdatadogdashboardheatmap-local-1621865697","created_at":"2021-05-24T14:14:58.175946+00:00","modified_at":"2021-05-24T14:14:58.175946+00:00","author_handle":"qin.chen@datadoghq.com","widgets":[{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test Custom Link label"},{"override_label":"logs","is_hidden":true,"link":"https://app.datadoghq.com/dashboard/lists"}],"title_size":"16","yaxis":{"include_zero":false,"max":"100"},"title_align":"center","events":[{"q":"env:prod","tags_execution":"and"}],"show_legend":true,"time":{"live_span":"1mo"},"title":"Avg of system.cpu.user over account:prod by app","legend_size":"2","type":"heatmap","requests":[{"q":"avg:system.cpu.user{account:prod} by {app}","style":{"palette":"blue"}}]},"id":1088240529084957},{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test Custom Link label"}],"title_size":"16","yaxis":{"include_zero":false,"max":"100"},"title_align":"center","events":[{"q":"env:prod","tags_execution":"and"}],"show_legend":true,"time":{"live_span":"1mo"},"title":"Avg of system.cpu.user over account:prod by app","legend_size":"2","type":"heatmap","requests":[{"q":"avg:system.cpu.user{account:prod} by {app}","style":{"palette":"blue"}}]},"id":6435336799935690}],"layout_type":"ordered"}' + body: '{"notify_list":[],"description":"Created using the Datadog provider in + Terraform","author_name":null,"template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"7bt-j9y-cz2","title":"tf-TestAccDatadogDashboardHeatMap-local-1611850705","url":"/dashboard/7bt-j9y-cz2/tf-testaccdatadogdashboardheatmap-local-1611850705","created_at":"2021-01-28T16:30:16.239397+00:00","modified_at":"2021-01-28T16:30:16.239397+00:00","author_handle":"frog@datadoghq.com","widgets":[{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test + Custom Link label"}],"title_size":"16","yaxis":{"include_zero":false,"max":"100"},"title_align":"center","events":[{"q":"env:prod","tags_execution":"and"}],"show_legend":true,"time":{"live_span":"1mo"},"title":"Avg + of system.cpu.user over account:prod by app","legend_size":"2","type":"heatmap","requests":[{"q":"avg:system.cpu.user{account:prod} + by {app}","style":{"palette":"blue"}}]},"id":4585604018940408},{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test + Custom Link label"}],"title_size":"16","yaxis":{"include_zero":false,"max":"100"},"title_align":"center","events":[{"q":"env:prod","tags_execution":"and"}],"show_legend":true,"time":{"live_span":"1mo"},"title":"Avg + of system.cpu.user over account:prod by app","legend_size":"2","type":"heatmap","requests":[{"q":"avg:system.cpu.user{account:prod} + by {app}","style":{"palette":"blue"}}]},"id":3903032546507783}],"layout_type":"ordered"}' headers: Cache-Control: - no-cache @@ -154,9 +219,12 @@ interactions: Content-Type: - application/json Date: - - Mon, 24 May 2021 14:14:59 GMT + - Thu, 28 Jan 2021 16:30:41 GMT Pragma: - no-cache + Set-Cookie: + - DD-PSHARD=233; Max-Age=604800; Path=/; expires=Thu, 04-Feb-2021 16:30:41 GMT; + secure; HttpOnly Strict-Transport-Security: - max-age=15724800; Vary: @@ -164,9 +232,9 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Debug: - - l4HFlaRP3QwYSqoGKhzbYfv7zgkK63HIRR7YkyVYZspq0lGjjTBwoK8V/alf+XYt + - l8RQo2maZqJf6GFThBbKNE6dvthz6njusVtau3dPXJWL2RLFoN81H+BLPB/1xgs1 X-Dd-Version: - - "35.4593741" + - "35.3796727" X-Frame-Options: - SAMEORIGIN status: 200 OK @@ -181,11 +249,25 @@ interactions: Dd-Operation-Id: - GetDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) - url: https://api.datadoghq.com/api/v1/dashboard/xrx-h6j-gtf + - terraform-provider-datadog/dev (terraform 1.15.0; terraform-cli 0.12.7-sdk) + datadog-api-client-go/1.0.0-beta.14 (go go1.15.4; os darwin; arch amd64) + X-Datadog-Parent-Id: + - "6853614977436934061" + X-Datadog-Sampling-Priority: + - "1" + X-Datadog-Trace-Id: + - "5891668597073950423" + url: https://api.datadoghq.com/api/v1/dashboard/7bt-j9y-cz2 method: GET response: - body: '{"notify_list":[],"description":"Created using the Datadog provider in Terraform","restricted_roles":["284d8b66-93f9-11eb-9c37-da7ad0900002","043a2842-e140-11e8-bb04-7fd10177666e","657de3a2-29f8-11eb-83b5-6b8ebfb2f184","e82bf27a-986c-11eb-9cba-da7ad0900002","f257ba30-dbb2-11ea-a5ff-5fd1d308318a","6bf314be-5c16-11eb-8e98-2356ea436065","62cbc476-5c16-11eb-8e98-0388ea7a41f8","08604de8-1dca-11eb-800c-9f5f55ff734d","9b3ab170-b768-11eb-a45a-da7ad0900002","7a83f306-96ca-11eb-9c74-da7ad0900002","16169788-28e4-11eb-832c-fb84162ef3eb","4de53192-9946-11eb-9cee-da7ad0900002","1302282c-b93b-11eb-a436-da7ad0900002","17d73994-7531-11eb-94b9-da7ad0900002"],"author_name":"Qin Chen","template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"xrx-h6j-gtf","title":"tf-TestAccDatadogDashboardHeatMap-local-1621865697","url":"/dashboard/xrx-h6j-gtf/tf-testaccdatadogdashboardheatmap-local-1621865697","created_at":"2021-05-24T14:14:58.175946+00:00","modified_at":"2021-05-24T14:14:58.175946+00:00","author_handle":"qin.chen@datadoghq.com","widgets":[{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test Custom Link label"},{"override_label":"logs","is_hidden":true,"link":"https://app.datadoghq.com/dashboard/lists"}],"title_size":"16","yaxis":{"include_zero":false,"max":"100"},"title_align":"center","events":[{"q":"env:prod","tags_execution":"and"}],"show_legend":true,"time":{"live_span":"1mo"},"title":"Avg of system.cpu.user over account:prod by app","legend_size":"2","type":"heatmap","requests":[{"q":"avg:system.cpu.user{account:prod} by {app}","style":{"palette":"blue"}}]},"id":1088240529084957},{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test Custom Link label"}],"title_size":"16","yaxis":{"include_zero":false,"max":"100"},"title_align":"center","events":[{"q":"env:prod","tags_execution":"and"}],"show_legend":true,"time":{"live_span":"1mo"},"title":"Avg of system.cpu.user over account:prod by app","legend_size":"2","type":"heatmap","requests":[{"q":"avg:system.cpu.user{account:prod} by {app}","style":{"palette":"blue"}}]},"id":6435336799935690}],"layout_type":"ordered"}' + body: '{"notify_list":[],"description":"Created using the Datadog provider in + Terraform","author_name":null,"template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"7bt-j9y-cz2","title":"tf-TestAccDatadogDashboardHeatMap-local-1611850705","url":"/dashboard/7bt-j9y-cz2/tf-testaccdatadogdashboardheatmap-local-1611850705","created_at":"2021-01-28T16:30:16.239397+00:00","modified_at":"2021-01-28T16:30:16.239397+00:00","author_handle":"frog@datadoghq.com","widgets":[{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test + Custom Link label"}],"title_size":"16","yaxis":{"include_zero":false,"max":"100"},"title_align":"center","events":[{"q":"env:prod","tags_execution":"and"}],"show_legend":true,"time":{"live_span":"1mo"},"title":"Avg + of system.cpu.user over account:prod by app","legend_size":"2","type":"heatmap","requests":[{"q":"avg:system.cpu.user{account:prod} + by {app}","style":{"palette":"blue"}}]},"id":4585604018940408},{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test + Custom Link label"}],"title_size":"16","yaxis":{"include_zero":false,"max":"100"},"title_align":"center","events":[{"q":"env:prod","tags_execution":"and"}],"show_legend":true,"time":{"live_span":"1mo"},"title":"Avg + of system.cpu.user over account:prod by app","legend_size":"2","type":"heatmap","requests":[{"q":"avg:system.cpu.user{account:prod} + by {app}","style":{"palette":"blue"}}]},"id":3903032546507783}],"layout_type":"ordered"}' headers: Cache-Control: - no-cache @@ -196,9 +278,12 @@ interactions: Content-Type: - application/json Date: - - Mon, 24 May 2021 14:14:59 GMT + - Thu, 28 Jan 2021 16:31:08 GMT Pragma: - no-cache + Set-Cookie: + - DD-PSHARD=233; Max-Age=604800; Path=/; expires=Thu, 04-Feb-2021 16:31:08 GMT; + secure; HttpOnly Strict-Transport-Security: - max-age=15724800; Vary: @@ -206,9 +291,9 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Debug: - - L3ULR3HwCWYmEqCWGz2Yob3chcH4pjowBacBXkncP7o+/uPqKt9yGEYf/g1AJPzQ + - Um4CoU685QqAscnxhS5BD+goWu2yX1Jd4zCfGzSsEvPPIm1qURZaF8dlLl/OEY4I X-Dd-Version: - - "35.4593741" + - "35.3796727" X-Frame-Options: - SAMEORIGIN status: 200 OK @@ -223,11 +308,18 @@ interactions: Dd-Operation-Id: - DeleteDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) - url: https://api.datadoghq.com/api/v1/dashboard/xrx-h6j-gtf + - terraform-provider-datadog/dev (terraform 1.15.0; terraform-cli 0.12.7-sdk) + datadog-api-client-go/1.0.0-beta.14 (go go1.15.4; os darwin; arch amd64) + X-Datadog-Parent-Id: + - "5871179064288638447" + X-Datadog-Sampling-Priority: + - "1" + X-Datadog-Trace-Id: + - "5891668597073950423" + url: https://api.datadoghq.com/api/v1/dashboard/7bt-j9y-cz2 method: DELETE response: - body: '{"deleted_dashboard_id":"xrx-h6j-gtf"}' + body: '{"deleted_dashboard_id":"7bt-j9y-cz2"}' headers: Cache-Control: - no-cache @@ -238,9 +330,12 @@ interactions: Content-Type: - application/json Date: - - Mon, 24 May 2021 14:15:00 GMT + - Thu, 28 Jan 2021 16:31:27 GMT Pragma: - no-cache + Set-Cookie: + - DD-PSHARD=233; Max-Age=604800; Path=/; expires=Thu, 04-Feb-2021 16:31:27 GMT; + secure; HttpOnly Strict-Transport-Security: - max-age=15724800; Vary: @@ -248,9 +343,9 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Debug: - - 25u1gDlL724DHllbjFT4BhOLorBTilh+aah2uWAUEjFC/+rjczJdiyWrV/HwLwe/ + - dCmL/3rURV6BPeaqeP3Rxigq41m5CAb17XjrRE42uZ01zpr07HVhbL5/3TWMkvgu X-Dd-Version: - - "35.4593741" + - "35.3796727" X-Frame-Options: - SAMEORIGIN status: 200 OK @@ -265,11 +360,18 @@ interactions: Dd-Operation-Id: - GetDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) - url: https://api.datadoghq.com/api/v1/dashboard/xrx-h6j-gtf + - terraform-provider-datadog/dev (terraform 1.15.0; terraform-cli 0.12.7-sdk) + datadog-api-client-go/1.0.0-beta.14 (go go1.15.4; os darwin; arch amd64) + X-Datadog-Parent-Id: + - "1413959832923641636" + X-Datadog-Sampling-Priority: + - "1" + X-Datadog-Trace-Id: + - "5891668597073950423" + url: https://api.datadoghq.com/api/v1/dashboard/7bt-j9y-cz2 method: GET response: - body: '{"errors": ["Dashboard with ID xrx-h6j-gtf not found"]}' + body: '{"errors": ["Dashboard with ID 7bt-j9y-cz2 not found"]}' headers: Cache-Control: - no-cache @@ -280,7 +382,7 @@ interactions: Content-Type: - application/json Date: - - Mon, 24 May 2021 14:15:00 GMT + - Thu, 28 Jan 2021 16:31:33 GMT Pragma: - no-cache Strict-Transport-Security: @@ -290,7 +392,7 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Version: - - "35.4593741" + - "35.3796727" X-Frame-Options: - SAMEORIGIN status: 404 Not Found diff --git a/datadog/tests/cassettes/TestAccDatadogDashboardHeatMap_import.freeze b/datadog/tests/cassettes/TestAccDatadogDashboardHeatMap_import.freeze index 9571498f8..259275627 100644 --- a/datadog/tests/cassettes/TestAccDatadogDashboardHeatMap_import.freeze +++ b/datadog/tests/cassettes/TestAccDatadogDashboardHeatMap_import.freeze @@ -1 +1 @@ -2021-05-24T10:37:36.410592-04:00 \ No newline at end of file +2020-12-31T15:42:08.128735+01:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogDashboardHeatMap_import.yaml b/datadog/tests/cassettes/TestAccDatadogDashboardHeatMap_import.yaml index 771c67708..69b9d3282 100644 --- a/datadog/tests/cassettes/TestAccDatadogDashboardHeatMap_import.yaml +++ b/datadog/tests/cassettes/TestAccDatadogDashboardHeatMap_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-TestAccDatadogDashboardHeatMap_import-local-1621865697","widgets":[{"definition":{"custom_links":[{"label":"Test Custom Link label","link":"https://app.datadoghq.com/dashboard/lists"}],"events":[{"q":"env:prod","tags_execution":"and"}],"legend_size":"2","requests":[{"q":"avg:system.cpu.user{account:prod} by {app}","style":{"palette":"blue"}}],"show_legend":true,"time":{"live_span":"1mo"},"title":"Avg of system.cpu.user over account:prod by app","title_align":"center","title_size":"16","type":"heatmap","yaxis":{"include_zero":false,"max":"100"}}}]} + {"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-TestAccDatadogDashboardHeatMap_import-local-1609425728","widgets":[{"definition":{"custom_links":[{"label":"Test Custom Link label","link":"https://app.datadoghq.com/dashboard/lists"}],"events":[{"q":"env:prod","tags_execution":"and"}],"legend_size":"2","requests":[{"q":"avg:system.cpu.user{account:prod} by {app}","style":{"palette":"blue"}}],"show_legend":true,"time":{"live_span":"1mo"},"title":"Avg of system.cpu.user over account:prod by app","title_align":"center","title_size":"16","type":"heatmap","yaxis":{"include_zero":false,"max":"100"}}}]} form: {} headers: Accept: @@ -13,11 +13,22 @@ interactions: Dd-Operation-Id: - CreateDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) + - terraform-provider-datadog/dev (terraform 1.15.0; terraform-cli 0.12.7-sdk) + datadog-api-client-go/1.0.0-beta.13+dev (go go1.15.4; os darwin; arch amd64) + X-Datadog-Parent-Id: + - "3234382076819980218" + X-Datadog-Sampling-Priority: + - "1" + X-Datadog-Trace-Id: + - "6732252647846019286" url: https://api.datadoghq.com/api/v1/dashboard method: POST response: - body: '{"notify_list":[],"description":"Created using the Datadog provider in Terraform","restricted_roles":["043a2842-e140-11e8-bb04-7fd10177666e","08604de8-1dca-11eb-800c-9f5f55ff734d","1302282c-b93b-11eb-a436-da7ad0900002","16169788-28e4-11eb-832c-fb84162ef3eb","17d73994-7531-11eb-94b9-da7ad0900002","284d8b66-93f9-11eb-9c37-da7ad0900002","4de53192-9946-11eb-9cee-da7ad0900002","62cbc476-5c16-11eb-8e98-0388ea7a41f8","657de3a2-29f8-11eb-83b5-6b8ebfb2f184","6bf314be-5c16-11eb-8e98-2356ea436065","7a83f306-96ca-11eb-9c74-da7ad0900002","9b3ab170-b768-11eb-a45a-da7ad0900002","e82bf27a-986c-11eb-9cba-da7ad0900002","f257ba30-dbb2-11ea-a5ff-5fd1d308318a"],"author_name":"Qin Chen","template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"xd8-fr3-xcu","title":"tf-TestAccDatadogDashboardHeatMap_import-local-1621865697","url":"/dashboard/xd8-fr3-xcu/tf-testaccdatadogdashboardheatmapimport-local-1621865697","created_at":"2021-05-24T14:14:58.165583+00:00","modified_at":"2021-05-24T14:14:58.165583+00:00","author_handle":"qin.chen@datadoghq.com","widgets":[{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test Custom Link label"}],"title_size":"16","yaxis":{"include_zero":false,"max":"100"},"title_align":"center","events":[{"q":"env:prod","tags_execution":"and"}],"show_legend":true,"time":{"live_span":"1mo"},"title":"Avg of system.cpu.user over account:prod by app","legend_size":"2","type":"heatmap","requests":[{"q":"avg:system.cpu.user{account:prod} by {app}","style":{"palette":"blue"}}]},"id":862187101608283}],"layout_type":"ordered"}' + body: '{"notify_list":[],"description":"Created using the Datadog provider in + Terraform","author_name":null,"template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"yez-qg9-8fv","title":"tf-TestAccDatadogDashboardHeatMap_import-local-1609425728","url":"/dashboard/yez-qg9-8fv/tf-testaccdatadogdashboardheatmapimport-local-1609425728","created_at":"2020-12-31T14:45:08.676029+00:00","modified_at":"2020-12-31T14:45:08.676029+00:00","author_handle":"frog@datadoghq.com","widgets":[{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test + Custom Link label"}],"title_size":"16","yaxis":{"include_zero":false,"max":"100"},"title_align":"center","events":[{"q":"env:prod","tags_execution":"and"}],"show_legend":true,"time":{"live_span":"1mo"},"title":"Avg + of system.cpu.user over account:prod by app","legend_size":"2","type":"heatmap","requests":[{"q":"avg:system.cpu.user{account:prod} + by {app}","style":{"palette":"blue"}}]},"id":8106593886592065}],"layout_type":"ordered"}' headers: Cache-Control: - no-cache @@ -28,9 +39,12 @@ interactions: Content-Type: - application/json Date: - - Mon, 24 May 2021 14:14:58 GMT + - Thu, 31 Dec 2020 14:45:11 GMT Pragma: - no-cache + Set-Cookie: + - DD-PSHARD=233; Max-Age=604800; Path=/; expires=Thu, 07-Jan-2021 14:45:08 GMT; + secure; HttpOnly Strict-Transport-Security: - max-age=15724800; Vary: @@ -38,9 +52,9 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Debug: - - tpRCH6w417YjBovRJ8VmtuXmNONVYiRp2c8d2AxjPdGBn8PCtgG4vAztrx3qUZAN + - s8aX5NtChXwcC0ZqCGPgUtbvI/yT4gadlVvE6/Mqbm4BIdrCBC60TudMJNU/SbvE X-Dd-Version: - - "35.4593741" + - "35.3622023" X-Frame-Options: - SAMEORIGIN status: 200 OK @@ -55,11 +69,22 @@ interactions: Dd-Operation-Id: - GetDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) - url: https://api.datadoghq.com/api/v1/dashboard/xd8-fr3-xcu + - terraform-provider-datadog/dev (terraform 1.15.0; terraform-cli 0.12.7-sdk) + datadog-api-client-go/1.0.0-beta.13+dev (go go1.15.4; os darwin; arch amd64) + X-Datadog-Parent-Id: + - "8167564615853058123" + X-Datadog-Sampling-Priority: + - "1" + X-Datadog-Trace-Id: + - "6732252647846019286" + url: https://api.datadoghq.com/api/v1/dashboard/yez-qg9-8fv method: GET response: - body: '{"notify_list":[],"description":"Created using the Datadog provider in Terraform","restricted_roles":["284d8b66-93f9-11eb-9c37-da7ad0900002","043a2842-e140-11e8-bb04-7fd10177666e","657de3a2-29f8-11eb-83b5-6b8ebfb2f184","e82bf27a-986c-11eb-9cba-da7ad0900002","f257ba30-dbb2-11ea-a5ff-5fd1d308318a","6bf314be-5c16-11eb-8e98-2356ea436065","62cbc476-5c16-11eb-8e98-0388ea7a41f8","08604de8-1dca-11eb-800c-9f5f55ff734d","9b3ab170-b768-11eb-a45a-da7ad0900002","7a83f306-96ca-11eb-9c74-da7ad0900002","16169788-28e4-11eb-832c-fb84162ef3eb","4de53192-9946-11eb-9cee-da7ad0900002","1302282c-b93b-11eb-a436-da7ad0900002","17d73994-7531-11eb-94b9-da7ad0900002"],"author_name":"Qin Chen","template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"xd8-fr3-xcu","title":"tf-TestAccDatadogDashboardHeatMap_import-local-1621865697","url":"/dashboard/xd8-fr3-xcu/tf-testaccdatadogdashboardheatmapimport-local-1621865697","created_at":"2021-05-24T14:14:58.165583+00:00","modified_at":"2021-05-24T14:14:58.165583+00:00","author_handle":"qin.chen@datadoghq.com","widgets":[{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test Custom Link label"}],"title_size":"16","yaxis":{"include_zero":false,"max":"100"},"title_align":"center","events":[{"q":"env:prod","tags_execution":"and"}],"show_legend":true,"time":{"live_span":"1mo"},"title":"Avg of system.cpu.user over account:prod by app","legend_size":"2","type":"heatmap","requests":[{"q":"avg:system.cpu.user{account:prod} by {app}","style":{"palette":"blue"}}]},"id":862187101608283}],"layout_type":"ordered"}' + body: '{"notify_list":[],"description":"Created using the Datadog provider in + Terraform","author_name":null,"template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"yez-qg9-8fv","title":"tf-TestAccDatadogDashboardHeatMap_import-local-1609425728","url":"/dashboard/yez-qg9-8fv/tf-testaccdatadogdashboardheatmapimport-local-1609425728","created_at":"2020-12-31T14:45:08.676029+00:00","modified_at":"2020-12-31T14:45:08.676029+00:00","author_handle":"frog@datadoghq.com","widgets":[{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test + Custom Link label"}],"title_size":"16","yaxis":{"include_zero":false,"max":"100"},"title_align":"center","events":[{"q":"env:prod","tags_execution":"and"}],"show_legend":true,"time":{"live_span":"1mo"},"title":"Avg + of system.cpu.user over account:prod by app","legend_size":"2","type":"heatmap","requests":[{"q":"avg:system.cpu.user{account:prod} + by {app}","style":{"palette":"blue"}}]},"id":8106593886592065}],"layout_type":"ordered"}' headers: Cache-Control: - no-cache @@ -70,9 +95,12 @@ interactions: Content-Type: - application/json Date: - - Mon, 24 May 2021 14:14:58 GMT + - Thu, 31 Dec 2020 14:45:11 GMT Pragma: - no-cache + Set-Cookie: + - DD-PSHARD=233; Max-Age=604800; Path=/; expires=Thu, 07-Jan-2021 14:45:11 GMT; + secure; HttpOnly Strict-Transport-Security: - max-age=15724800; Vary: @@ -80,9 +108,9 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Debug: - - S1wfaMZOKGT/IoMw6fqAwAwGWo2vQ44sjF3YzuETnQfxZO2T5eJbs0aX3UKb9Dwu + - 4XEHrKCjPbSbs1iu1F78+tH4eaIPZCq+IGDoHN/GQcOsLq6w3Zzz7ZK1RqpTUzFS X-Dd-Version: - - "35.4593741" + - "35.3622023" X-Frame-Options: - SAMEORIGIN status: 200 OK @@ -97,11 +125,22 @@ interactions: Dd-Operation-Id: - GetDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) - url: https://api.datadoghq.com/api/v1/dashboard/xd8-fr3-xcu + - terraform-provider-datadog/dev (terraform 1.15.0; terraform-cli 0.12.7-sdk) + datadog-api-client-go/1.0.0-beta.13+dev (go go1.15.4; os darwin; arch amd64) + X-Datadog-Parent-Id: + - "7076069615041458796" + X-Datadog-Sampling-Priority: + - "1" + X-Datadog-Trace-Id: + - "6732252647846019286" + url: https://api.datadoghq.com/api/v1/dashboard/yez-qg9-8fv method: GET response: - body: '{"notify_list":[],"description":"Created using the Datadog provider in Terraform","restricted_roles":["284d8b66-93f9-11eb-9c37-da7ad0900002","043a2842-e140-11e8-bb04-7fd10177666e","657de3a2-29f8-11eb-83b5-6b8ebfb2f184","e82bf27a-986c-11eb-9cba-da7ad0900002","f257ba30-dbb2-11ea-a5ff-5fd1d308318a","6bf314be-5c16-11eb-8e98-2356ea436065","62cbc476-5c16-11eb-8e98-0388ea7a41f8","08604de8-1dca-11eb-800c-9f5f55ff734d","9b3ab170-b768-11eb-a45a-da7ad0900002","7a83f306-96ca-11eb-9c74-da7ad0900002","16169788-28e4-11eb-832c-fb84162ef3eb","4de53192-9946-11eb-9cee-da7ad0900002","1302282c-b93b-11eb-a436-da7ad0900002","17d73994-7531-11eb-94b9-da7ad0900002"],"author_name":"Qin Chen","template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"xd8-fr3-xcu","title":"tf-TestAccDatadogDashboardHeatMap_import-local-1621865697","url":"/dashboard/xd8-fr3-xcu/tf-testaccdatadogdashboardheatmapimport-local-1621865697","created_at":"2021-05-24T14:14:58.165583+00:00","modified_at":"2021-05-24T14:14:58.165583+00:00","author_handle":"qin.chen@datadoghq.com","widgets":[{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test Custom Link label"}],"title_size":"16","yaxis":{"include_zero":false,"max":"100"},"title_align":"center","events":[{"q":"env:prod","tags_execution":"and"}],"show_legend":true,"time":{"live_span":"1mo"},"title":"Avg of system.cpu.user over account:prod by app","legend_size":"2","type":"heatmap","requests":[{"q":"avg:system.cpu.user{account:prod} by {app}","style":{"palette":"blue"}}]},"id":862187101608283}],"layout_type":"ordered"}' + body: '{"notify_list":[],"description":"Created using the Datadog provider in + Terraform","author_name":null,"template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"yez-qg9-8fv","title":"tf-TestAccDatadogDashboardHeatMap_import-local-1609425728","url":"/dashboard/yez-qg9-8fv/tf-testaccdatadogdashboardheatmapimport-local-1609425728","created_at":"2020-12-31T14:45:08.676029+00:00","modified_at":"2020-12-31T14:45:08.676029+00:00","author_handle":"frog@datadoghq.com","widgets":[{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test + Custom Link label"}],"title_size":"16","yaxis":{"include_zero":false,"max":"100"},"title_align":"center","events":[{"q":"env:prod","tags_execution":"and"}],"show_legend":true,"time":{"live_span":"1mo"},"title":"Avg + of system.cpu.user over account:prod by app","legend_size":"2","type":"heatmap","requests":[{"q":"avg:system.cpu.user{account:prod} + by {app}","style":{"palette":"blue"}}]},"id":8106593886592065}],"layout_type":"ordered"}' headers: Cache-Control: - no-cache @@ -112,9 +151,12 @@ interactions: Content-Type: - application/json Date: - - Mon, 24 May 2021 14:14:58 GMT + - Thu, 31 Dec 2020 14:45:15 GMT Pragma: - no-cache + Set-Cookie: + - DD-PSHARD=233; Max-Age=604800; Path=/; expires=Thu, 07-Jan-2021 14:45:15 GMT; + secure; HttpOnly Strict-Transport-Security: - max-age=15724800; Vary: @@ -122,9 +164,9 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Debug: - - HbtaOKlJ6OCrx9tMXO6ivMTrEM+g0c93HDp08trmOmgdHozC5J+vn10F0H4WPjCU + - 5Vp6Lwv2kl5vwmtrK8x4SHT87up1E/Mb5wu+zWq1n+sTPuGmJfRlxsKBupN/GCCj X-Dd-Version: - - "35.4593741" + - "35.3622023" X-Frame-Options: - SAMEORIGIN status: 200 OK @@ -139,11 +181,22 @@ interactions: Dd-Operation-Id: - GetDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) - url: https://api.datadoghq.com/api/v1/dashboard/xd8-fr3-xcu + - terraform-provider-datadog/dev (terraform 1.15.0; terraform-cli 0.12.7-sdk) + datadog-api-client-go/1.0.0-beta.13+dev (go go1.15.4; os darwin; arch amd64) + X-Datadog-Parent-Id: + - "1115722478119058440" + X-Datadog-Sampling-Priority: + - "1" + X-Datadog-Trace-Id: + - "6732252647846019286" + url: https://api.datadoghq.com/api/v1/dashboard/yez-qg9-8fv method: GET response: - body: '{"notify_list":[],"description":"Created using the Datadog provider in Terraform","restricted_roles":["284d8b66-93f9-11eb-9c37-da7ad0900002","043a2842-e140-11e8-bb04-7fd10177666e","657de3a2-29f8-11eb-83b5-6b8ebfb2f184","e82bf27a-986c-11eb-9cba-da7ad0900002","f257ba30-dbb2-11ea-a5ff-5fd1d308318a","6bf314be-5c16-11eb-8e98-2356ea436065","62cbc476-5c16-11eb-8e98-0388ea7a41f8","08604de8-1dca-11eb-800c-9f5f55ff734d","9b3ab170-b768-11eb-a45a-da7ad0900002","7a83f306-96ca-11eb-9c74-da7ad0900002","16169788-28e4-11eb-832c-fb84162ef3eb","4de53192-9946-11eb-9cee-da7ad0900002","1302282c-b93b-11eb-a436-da7ad0900002","17d73994-7531-11eb-94b9-da7ad0900002"],"author_name":"Qin Chen","template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"xd8-fr3-xcu","title":"tf-TestAccDatadogDashboardHeatMap_import-local-1621865697","url":"/dashboard/xd8-fr3-xcu/tf-testaccdatadogdashboardheatmapimport-local-1621865697","created_at":"2021-05-24T14:14:58.165583+00:00","modified_at":"2021-05-24T14:14:58.165583+00:00","author_handle":"qin.chen@datadoghq.com","widgets":[{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test Custom Link label"}],"title_size":"16","yaxis":{"include_zero":false,"max":"100"},"title_align":"center","events":[{"q":"env:prod","tags_execution":"and"}],"show_legend":true,"time":{"live_span":"1mo"},"title":"Avg of system.cpu.user over account:prod by app","legend_size":"2","type":"heatmap","requests":[{"q":"avg:system.cpu.user{account:prod} by {app}","style":{"palette":"blue"}}]},"id":862187101608283}],"layout_type":"ordered"}' + body: '{"notify_list":[],"description":"Created using the Datadog provider in + Terraform","author_name":null,"template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"yez-qg9-8fv","title":"tf-TestAccDatadogDashboardHeatMap_import-local-1609425728","url":"/dashboard/yez-qg9-8fv/tf-testaccdatadogdashboardheatmapimport-local-1609425728","created_at":"2020-12-31T14:45:08.676029+00:00","modified_at":"2020-12-31T14:45:08.676029+00:00","author_handle":"frog@datadoghq.com","widgets":[{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test + Custom Link label"}],"title_size":"16","yaxis":{"include_zero":false,"max":"100"},"title_align":"center","events":[{"q":"env:prod","tags_execution":"and"}],"show_legend":true,"time":{"live_span":"1mo"},"title":"Avg + of system.cpu.user over account:prod by app","legend_size":"2","type":"heatmap","requests":[{"q":"avg:system.cpu.user{account:prod} + by {app}","style":{"palette":"blue"}}]},"id":8106593886592065}],"layout_type":"ordered"}' headers: Cache-Control: - no-cache @@ -154,9 +207,12 @@ interactions: Content-Type: - application/json Date: - - Mon, 24 May 2021 14:14:59 GMT + - Thu, 31 Dec 2020 14:45:21 GMT Pragma: - no-cache + Set-Cookie: + - DD-PSHARD=233; Max-Age=604800; Path=/; expires=Thu, 07-Jan-2021 14:45:21 GMT; + secure; HttpOnly Strict-Transport-Security: - max-age=15724800; Vary: @@ -164,9 +220,9 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Debug: - - S1wfaMZOKGT/IoMw6fqAwAwGWo2vQ44sjF3YzuETnQfxZO2T5eJbs0aX3UKb9Dwu + - i3kq+QX78RffjnNgnM5zmiWzGMsFnhM4liQTSNUgnpglr14R7eRaqNxK/q9SML9W X-Dd-Version: - - "35.4593741" + - "35.3622023" X-Frame-Options: - SAMEORIGIN status: 200 OK @@ -181,11 +237,22 @@ interactions: Dd-Operation-Id: - GetDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) - url: https://api.datadoghq.com/api/v1/dashboard/xd8-fr3-xcu + - terraform-provider-datadog/dev (terraform 1.15.0; terraform-cli 0.12.7-sdk) + datadog-api-client-go/1.0.0-beta.13+dev (go go1.15.4; os darwin; arch amd64) + X-Datadog-Parent-Id: + - "6741075994713136037" + X-Datadog-Sampling-Priority: + - "1" + X-Datadog-Trace-Id: + - "6732252647846019286" + url: https://api.datadoghq.com/api/v1/dashboard/yez-qg9-8fv method: GET response: - body: '{"notify_list":[],"description":"Created using the Datadog provider in Terraform","restricted_roles":["284d8b66-93f9-11eb-9c37-da7ad0900002","043a2842-e140-11e8-bb04-7fd10177666e","657de3a2-29f8-11eb-83b5-6b8ebfb2f184","e82bf27a-986c-11eb-9cba-da7ad0900002","f257ba30-dbb2-11ea-a5ff-5fd1d308318a","6bf314be-5c16-11eb-8e98-2356ea436065","62cbc476-5c16-11eb-8e98-0388ea7a41f8","08604de8-1dca-11eb-800c-9f5f55ff734d","9b3ab170-b768-11eb-a45a-da7ad0900002","7a83f306-96ca-11eb-9c74-da7ad0900002","16169788-28e4-11eb-832c-fb84162ef3eb","4de53192-9946-11eb-9cee-da7ad0900002","1302282c-b93b-11eb-a436-da7ad0900002","17d73994-7531-11eb-94b9-da7ad0900002"],"author_name":"Qin Chen","template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"xd8-fr3-xcu","title":"tf-TestAccDatadogDashboardHeatMap_import-local-1621865697","url":"/dashboard/xd8-fr3-xcu/tf-testaccdatadogdashboardheatmapimport-local-1621865697","created_at":"2021-05-24T14:14:58.165583+00:00","modified_at":"2021-05-24T14:14:58.165583+00:00","author_handle":"qin.chen@datadoghq.com","widgets":[{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test Custom Link label"}],"title_size":"16","yaxis":{"include_zero":false,"max":"100"},"title_align":"center","events":[{"q":"env:prod","tags_execution":"and"}],"show_legend":true,"time":{"live_span":"1mo"},"title":"Avg of system.cpu.user over account:prod by app","legend_size":"2","type":"heatmap","requests":[{"q":"avg:system.cpu.user{account:prod} by {app}","style":{"palette":"blue"}}]},"id":862187101608283}],"layout_type":"ordered"}' + body: '{"notify_list":[],"description":"Created using the Datadog provider in + Terraform","author_name":null,"template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"yez-qg9-8fv","title":"tf-TestAccDatadogDashboardHeatMap_import-local-1609425728","url":"/dashboard/yez-qg9-8fv/tf-testaccdatadogdashboardheatmapimport-local-1609425728","created_at":"2020-12-31T14:45:08.676029+00:00","modified_at":"2020-12-31T14:45:08.676029+00:00","author_handle":"frog@datadoghq.com","widgets":[{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test + Custom Link label"}],"title_size":"16","yaxis":{"include_zero":false,"max":"100"},"title_align":"center","events":[{"q":"env:prod","tags_execution":"and"}],"show_legend":true,"time":{"live_span":"1mo"},"title":"Avg + of system.cpu.user over account:prod by app","legend_size":"2","type":"heatmap","requests":[{"q":"avg:system.cpu.user{account:prod} + by {app}","style":{"palette":"blue"}}]},"id":8106593886592065}],"layout_type":"ordered"}' headers: Cache-Control: - no-cache @@ -196,9 +263,12 @@ interactions: Content-Type: - application/json Date: - - Mon, 24 May 2021 14:14:59 GMT + - Thu, 31 Dec 2020 14:45:22 GMT Pragma: - no-cache + Set-Cookie: + - DD-PSHARD=233; Max-Age=604800; Path=/; expires=Thu, 07-Jan-2021 14:45:22 GMT; + secure; HttpOnly Strict-Transport-Security: - max-age=15724800; Vary: @@ -206,9 +276,9 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Debug: - - 5gfwVh/5HZ+AnGd/Di93w3NEWC6KMHT9KzmHEiRJmNdOjBtAsbOcgVFyqEChw71h + - 31eicEjxYTxSLxektw5aBz/E28bM+OyxrRypgA6xUJO+JbzAYFmeBL8/VQhw6pBg X-Dd-Version: - - "35.4593741" + - "35.3622023" X-Frame-Options: - SAMEORIGIN status: 200 OK @@ -223,11 +293,22 @@ interactions: Dd-Operation-Id: - GetDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) - url: https://api.datadoghq.com/api/v1/dashboard/xd8-fr3-xcu + - terraform-provider-datadog/dev (terraform 1.15.0; terraform-cli 0.12.7-sdk) + datadog-api-client-go/1.0.0-beta.13+dev (go go1.15.4; os darwin; arch amd64) + X-Datadog-Parent-Id: + - "4958483915648688498" + X-Datadog-Sampling-Priority: + - "1" + X-Datadog-Trace-Id: + - "6732252647846019286" + url: https://api.datadoghq.com/api/v1/dashboard/yez-qg9-8fv method: GET response: - body: '{"notify_list":[],"description":"Created using the Datadog provider in Terraform","restricted_roles":["284d8b66-93f9-11eb-9c37-da7ad0900002","043a2842-e140-11e8-bb04-7fd10177666e","657de3a2-29f8-11eb-83b5-6b8ebfb2f184","e82bf27a-986c-11eb-9cba-da7ad0900002","f257ba30-dbb2-11ea-a5ff-5fd1d308318a","6bf314be-5c16-11eb-8e98-2356ea436065","62cbc476-5c16-11eb-8e98-0388ea7a41f8","08604de8-1dca-11eb-800c-9f5f55ff734d","9b3ab170-b768-11eb-a45a-da7ad0900002","7a83f306-96ca-11eb-9c74-da7ad0900002","16169788-28e4-11eb-832c-fb84162ef3eb","4de53192-9946-11eb-9cee-da7ad0900002","1302282c-b93b-11eb-a436-da7ad0900002","17d73994-7531-11eb-94b9-da7ad0900002"],"author_name":"Qin Chen","template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"xd8-fr3-xcu","title":"tf-TestAccDatadogDashboardHeatMap_import-local-1621865697","url":"/dashboard/xd8-fr3-xcu/tf-testaccdatadogdashboardheatmapimport-local-1621865697","created_at":"2021-05-24T14:14:58.165583+00:00","modified_at":"2021-05-24T14:14:58.165583+00:00","author_handle":"qin.chen@datadoghq.com","widgets":[{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test Custom Link label"}],"title_size":"16","yaxis":{"include_zero":false,"max":"100"},"title_align":"center","events":[{"q":"env:prod","tags_execution":"and"}],"show_legend":true,"time":{"live_span":"1mo"},"title":"Avg of system.cpu.user over account:prod by app","legend_size":"2","type":"heatmap","requests":[{"q":"avg:system.cpu.user{account:prod} by {app}","style":{"palette":"blue"}}]},"id":862187101608283}],"layout_type":"ordered"}' + body: '{"notify_list":[],"description":"Created using the Datadog provider in + Terraform","author_name":null,"template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"yez-qg9-8fv","title":"tf-TestAccDatadogDashboardHeatMap_import-local-1609425728","url":"/dashboard/yez-qg9-8fv/tf-testaccdatadogdashboardheatmapimport-local-1609425728","created_at":"2020-12-31T14:45:08.676029+00:00","modified_at":"2020-12-31T14:45:08.676029+00:00","author_handle":"frog@datadoghq.com","widgets":[{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test + Custom Link label"}],"title_size":"16","yaxis":{"include_zero":false,"max":"100"},"title_align":"center","events":[{"q":"env:prod","tags_execution":"and"}],"show_legend":true,"time":{"live_span":"1mo"},"title":"Avg + of system.cpu.user over account:prod by app","legend_size":"2","type":"heatmap","requests":[{"q":"avg:system.cpu.user{account:prod} + by {app}","style":{"palette":"blue"}}]},"id":8106593886592065}],"layout_type":"ordered"}' headers: Cache-Control: - no-cache @@ -238,9 +319,12 @@ interactions: Content-Type: - application/json Date: - - Mon, 24 May 2021 14:14:59 GMT + - Thu, 31 Dec 2020 14:45:24 GMT Pragma: - no-cache + Set-Cookie: + - DD-PSHARD=233; Max-Age=604800; Path=/; expires=Thu, 07-Jan-2021 14:45:24 GMT; + secure; HttpOnly Strict-Transport-Security: - max-age=15724800; Vary: @@ -248,9 +332,9 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Debug: - - 2328yjLSqI4XmR1pVqrPRR/SFcQsbafjEpPmZx7/3PfxUK1nJQQsX+wrMelyVyj+ + - iYSQoeIUH6tZkV8oNBADyUh0i8imvOo9jWWOUgywP9QJ7opgBoT0cWGeCUTl7m+0 X-Dd-Version: - - "35.4593741" + - "35.3622023" X-Frame-Options: - SAMEORIGIN status: 200 OK @@ -265,11 +349,18 @@ interactions: Dd-Operation-Id: - DeleteDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) - url: https://api.datadoghq.com/api/v1/dashboard/xd8-fr3-xcu + - terraform-provider-datadog/dev (terraform 1.15.0; terraform-cli 0.12.7-sdk) + datadog-api-client-go/1.0.0-beta.13+dev (go go1.15.4; os darwin; arch amd64) + X-Datadog-Parent-Id: + - "5850231971055168278" + X-Datadog-Sampling-Priority: + - "1" + X-Datadog-Trace-Id: + - "6732252647846019286" + url: https://api.datadoghq.com/api/v1/dashboard/yez-qg9-8fv method: DELETE response: - body: '{"deleted_dashboard_id":"xd8-fr3-xcu"}' + body: '{"deleted_dashboard_id":"yez-qg9-8fv"}' headers: Cache-Control: - no-cache @@ -280,9 +371,12 @@ interactions: Content-Type: - application/json Date: - - Mon, 24 May 2021 14:15:00 GMT + - Thu, 31 Dec 2020 14:45:29 GMT Pragma: - no-cache + Set-Cookie: + - DD-PSHARD=233; Max-Age=604800; Path=/; expires=Thu, 07-Jan-2021 14:45:29 GMT; + secure; HttpOnly Strict-Transport-Security: - max-age=15724800; Vary: @@ -290,9 +384,9 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Debug: - - nLnnBNvlCFDECRnZvzDb0z4sAO35G+IMidcAs8vrCKyjvsKWE8Yd9S3n6OjZ1qRN + - o+DMvNLOJQfXAHeLjo7w9XOcTGCirWOThygGIHqmoMaQl6AzYuGlAbNkOlAzbCRq X-Dd-Version: - - "35.4593741" + - "35.3622023" X-Frame-Options: - SAMEORIGIN status: 200 OK @@ -307,11 +401,18 @@ interactions: Dd-Operation-Id: - GetDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) - url: https://api.datadoghq.com/api/v1/dashboard/xd8-fr3-xcu + - terraform-provider-datadog/dev (terraform 1.15.0; terraform-cli 0.12.7-sdk) + datadog-api-client-go/1.0.0-beta.13+dev (go go1.15.4; os darwin; arch amd64) + X-Datadog-Parent-Id: + - "4813718520690249870" + X-Datadog-Sampling-Priority: + - "1" + X-Datadog-Trace-Id: + - "6732252647846019286" + url: https://api.datadoghq.com/api/v1/dashboard/yez-qg9-8fv method: GET response: - body: '{"errors": ["Dashboard with ID xd8-fr3-xcu not found"]}' + body: '{"errors": ["Dashboard with ID yez-qg9-8fv not found"]}' headers: Cache-Control: - no-cache @@ -322,7 +423,7 @@ interactions: Content-Type: - application/json Date: - - Mon, 24 May 2021 14:15:00 GMT + - Thu, 31 Dec 2020 14:45:30 GMT Pragma: - no-cache Strict-Transport-Security: @@ -332,7 +433,7 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Version: - - "35.4593741" + - "35.3622023" X-Frame-Options: - SAMEORIGIN status: 404 Not Found diff --git a/datadog/tests/cassettes/TestAccDatadogDashboardHostMap.freeze b/datadog/tests/cassettes/TestAccDatadogDashboardHostMap.freeze index 5bf42f88c..fd6f9e2a4 100644 --- a/datadog/tests/cassettes/TestAccDatadogDashboardHostMap.freeze +++ b/datadog/tests/cassettes/TestAccDatadogDashboardHostMap.freeze @@ -1 +1 @@ -2021-05-24T10:37:36.415753-04:00 \ No newline at end of file +2021-01-28T17:18:25.058707+01:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogDashboardHostMap.yaml b/datadog/tests/cassettes/TestAccDatadogDashboardHostMap.yaml index ad8ed0d7a..7affd45ce 100644 --- a/datadog/tests/cassettes/TestAccDatadogDashboardHostMap.yaml +++ b/datadog/tests/cassettes/TestAccDatadogDashboardHostMap.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-TestAccDatadogDashboardHostMap-local-1621865946","widgets":[{"definition":{"custom_links":[{"label":"Test Custom Link label","link":"https://app.datadoghq.com/dashboard/lists"},{"is_hidden":true,"link":"https://app.datadoghq.com/dashboard/lists","override_label":"logs"}],"group":["region"],"no_group_hosts":true,"no_metric_hosts":true,"node_type":"host","requests":{"fill":{"q":"avg:system.cpu.idle{env:prod} by {host}"},"size":{"q":"max:system.cpu.user{env:prod} by {host}"}},"scope":["env:prod"],"style":{"fill_max":"30","fill_min":"10","palette":"YlOrRd","palette_flip":true},"title":"system.cpu.idle, system.cpu.user","title_align":"right","title_size":"16","type":"hostmap"}}]} + {"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-TestAccDatadogDashboardHostMap-local-1611850705","widgets":[{"definition":{"custom_links":[{"label":"Test Custom Link label","link":"https://app.datadoghq.com/dashboard/lists"}],"group":["region"],"no_group_hosts":true,"no_metric_hosts":true,"node_type":"host","requests":{"fill":{"q":"avg:system.cpu.idle{env:prod} by {host}"},"size":{"q":"max:system.cpu.user{env:prod} by {host}"}},"scope":["env:prod"],"style":{"fill_max":"30","fill_min":"10","palette":"YlOrRd","palette_flip":true},"title":"system.cpu.idle, system.cpu.user","title_align":"right","title_size":"16","type":"hostmap"}}]} form: {} headers: Accept: @@ -13,11 +13,21 @@ interactions: Dd-Operation-Id: - CreateDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) + - terraform-provider-datadog/dev (terraform 1.15.0; terraform-cli 0.12.7-sdk) + datadog-api-client-go/1.0.0-beta.14 (go go1.15.4; os darwin; arch amd64) + X-Datadog-Parent-Id: + - "8653800911770846961" + X-Datadog-Sampling-Priority: + - "1" + X-Datadog-Trace-Id: + - "8991564635414322782" url: https://api.datadoghq.com/api/v1/dashboard method: POST response: - body: '{"notify_list":[],"description":"Created using the Datadog provider in Terraform","restricted_roles":["043a2842-e140-11e8-bb04-7fd10177666e","08604de8-1dca-11eb-800c-9f5f55ff734d","1302282c-b93b-11eb-a436-da7ad0900002","16169788-28e4-11eb-832c-fb84162ef3eb","17d73994-7531-11eb-94b9-da7ad0900002","284d8b66-93f9-11eb-9c37-da7ad0900002","4de53192-9946-11eb-9cee-da7ad0900002","62cbc476-5c16-11eb-8e98-0388ea7a41f8","657de3a2-29f8-11eb-83b5-6b8ebfb2f184","6bf314be-5c16-11eb-8e98-2356ea436065","7a83f306-96ca-11eb-9c74-da7ad0900002","9b3ab170-b768-11eb-a45a-da7ad0900002","e82bf27a-986c-11eb-9cba-da7ad0900002","f257ba30-dbb2-11ea-a5ff-5fd1d308318a"],"author_name":"Qin Chen","template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"yix-z4w-x4f","title":"tf-TestAccDatadogDashboardHostMap-local-1621865946","url":"/dashboard/yix-z4w-x4f/tf-testaccdatadogdashboardhostmap-local-1621865946","created_at":"2021-05-24T14:19:07.913479+00:00","modified_at":"2021-05-24T14:19:07.913479+00:00","author_handle":"qin.chen@datadoghq.com","widgets":[{"definition":{"style":{"fill_min":"10","fill_max":"30","palette":"YlOrRd","palette_flip":true},"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test Custom Link label"},{"override_label":"logs","is_hidden":true,"link":"https://app.datadoghq.com/dashboard/lists"}],"title_size":"16","title":"system.cpu.idle, system.cpu.user","title_align":"right","node_type":"host","no_metric_hosts":true,"group":["region"],"requests":{"size":{"q":"max:system.cpu.user{env:prod} by {host}"},"fill":{"q":"avg:system.cpu.idle{env:prod} by {host}"}},"no_group_hosts":true,"type":"hostmap","scope":["env:prod"]},"id":8469184671469714}],"layout_type":"ordered"}' + body: '{"notify_list":[],"description":"Created using the Datadog provider in + Terraform","author_name":null,"template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"da9-c9h-f7j","title":"tf-TestAccDatadogDashboardHostMap-local-1611850705","url":"/dashboard/da9-c9h-f7j/tf-testaccdatadogdashboardhostmap-local-1611850705","created_at":"2021-01-28T16:29:40.919405+00:00","modified_at":"2021-01-28T16:29:40.919405+00:00","author_handle":"frog@datadoghq.com","widgets":[{"definition":{"style":{"fill_min":"10","fill_max":"30","palette":"YlOrRd","palette_flip":true},"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test + Custom Link label"}],"title_size":"16","title":"system.cpu.idle, system.cpu.user","title_align":"right","node_type":"host","no_metric_hosts":true,"group":["region"],"requests":{"size":{"q":"max:system.cpu.user{env:prod} + by {host}"},"fill":{"q":"avg:system.cpu.idle{env:prod} by {host}"}},"no_group_hosts":true,"type":"hostmap","scope":["env:prod"]},"id":8478660964564960}],"layout_type":"ordered"}' headers: Cache-Control: - no-cache @@ -28,9 +38,12 @@ interactions: Content-Type: - application/json Date: - - Mon, 24 May 2021 14:19:08 GMT + - Thu, 28 Jan 2021 16:29:43 GMT Pragma: - no-cache + Set-Cookie: + - DD-PSHARD=233; Max-Age=604800; Path=/; expires=Thu, 04-Feb-2021 16:29:40 GMT; + secure; HttpOnly Strict-Transport-Security: - max-age=15724800; Vary: @@ -38,9 +51,9 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Debug: - - l8RQo2maZqJf6GFThBbKNE6dvthz6njusVtau3dPXJWL2RLFoN81H+BLPB/1xgs1 + - tpRCH6w417YjBovRJ8VmtuXmNONVYiRp2c8d2AxjPdGBn8PCtgG4vAztrx3qUZAN X-Dd-Version: - - "35.4593741" + - "35.3796727" X-Frame-Options: - SAMEORIGIN status: 200 OK @@ -55,11 +68,21 @@ interactions: Dd-Operation-Id: - GetDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) - url: https://api.datadoghq.com/api/v1/dashboard/yix-z4w-x4f + - terraform-provider-datadog/dev (terraform 1.15.0; terraform-cli 0.12.7-sdk) + datadog-api-client-go/1.0.0-beta.14 (go go1.15.4; os darwin; arch amd64) + X-Datadog-Parent-Id: + - "8255645740105467286" + X-Datadog-Sampling-Priority: + - "1" + X-Datadog-Trace-Id: + - "8991564635414322782" + url: https://api.datadoghq.com/api/v1/dashboard/da9-c9h-f7j method: GET response: - body: '{"notify_list":[],"description":"Created using the Datadog provider in Terraform","restricted_roles":["284d8b66-93f9-11eb-9c37-da7ad0900002","043a2842-e140-11e8-bb04-7fd10177666e","657de3a2-29f8-11eb-83b5-6b8ebfb2f184","e82bf27a-986c-11eb-9cba-da7ad0900002","f257ba30-dbb2-11ea-a5ff-5fd1d308318a","6bf314be-5c16-11eb-8e98-2356ea436065","62cbc476-5c16-11eb-8e98-0388ea7a41f8","08604de8-1dca-11eb-800c-9f5f55ff734d","9b3ab170-b768-11eb-a45a-da7ad0900002","7a83f306-96ca-11eb-9c74-da7ad0900002","16169788-28e4-11eb-832c-fb84162ef3eb","4de53192-9946-11eb-9cee-da7ad0900002","1302282c-b93b-11eb-a436-da7ad0900002","17d73994-7531-11eb-94b9-da7ad0900002"],"author_name":"Qin Chen","template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"yix-z4w-x4f","title":"tf-TestAccDatadogDashboardHostMap-local-1621865946","url":"/dashboard/yix-z4w-x4f/tf-testaccdatadogdashboardhostmap-local-1621865946","created_at":"2021-05-24T14:19:07.913479+00:00","modified_at":"2021-05-24T14:19:07.913479+00:00","author_handle":"qin.chen@datadoghq.com","widgets":[{"definition":{"style":{"fill_min":"10","fill_max":"30","palette":"YlOrRd","palette_flip":true},"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test Custom Link label"},{"override_label":"logs","is_hidden":true,"link":"https://app.datadoghq.com/dashboard/lists"}],"title_size":"16","title":"system.cpu.idle, system.cpu.user","title_align":"right","node_type":"host","no_metric_hosts":true,"group":["region"],"requests":{"size":{"q":"max:system.cpu.user{env:prod} by {host}"},"fill":{"q":"avg:system.cpu.idle{env:prod} by {host}"}},"no_group_hosts":true,"type":"hostmap","scope":["env:prod"]},"id":8469184671469714}],"layout_type":"ordered"}' + body: '{"notify_list":[],"description":"Created using the Datadog provider in + Terraform","author_name":null,"template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"da9-c9h-f7j","title":"tf-TestAccDatadogDashboardHostMap-local-1611850705","url":"/dashboard/da9-c9h-f7j/tf-testaccdatadogdashboardhostmap-local-1611850705","created_at":"2021-01-28T16:29:40.919405+00:00","modified_at":"2021-01-28T16:29:40.919405+00:00","author_handle":"frog@datadoghq.com","widgets":[{"definition":{"style":{"fill_min":"10","fill_max":"30","palette":"YlOrRd","palette_flip":true},"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test + Custom Link label"}],"title_size":"16","title":"system.cpu.idle, system.cpu.user","title_align":"right","node_type":"host","no_metric_hosts":true,"group":["region"],"requests":{"size":{"q":"max:system.cpu.user{env:prod} + by {host}"},"fill":{"q":"avg:system.cpu.idle{env:prod} by {host}"}},"no_group_hosts":true,"type":"hostmap","scope":["env:prod"]},"id":8478660964564960}],"layout_type":"ordered"}' headers: Cache-Control: - no-cache @@ -70,9 +93,12 @@ interactions: Content-Type: - application/json Date: - - Mon, 24 May 2021 14:19:08 GMT + - Thu, 28 Jan 2021 16:29:43 GMT Pragma: - no-cache + Set-Cookie: + - DD-PSHARD=233; Max-Age=604800; Path=/; expires=Thu, 04-Feb-2021 16:29:43 GMT; + secure; HttpOnly Strict-Transport-Security: - max-age=15724800; Vary: @@ -80,9 +106,9 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Debug: - - B1nwy/pPNqX+q4pQT22cdp1QCexE35IF8qwSHy0Nf7IW0Y881qtn4tXN1lpmzaKc + - l8RQo2maZqJf6GFThBbKNE6dvthz6njusVtau3dPXJWL2RLFoN81H+BLPB/1xgs1 X-Dd-Version: - - "35.4593741" + - "35.3796727" X-Frame-Options: - SAMEORIGIN status: 200 OK @@ -97,11 +123,21 @@ interactions: Dd-Operation-Id: - GetDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) - url: https://api.datadoghq.com/api/v1/dashboard/yix-z4w-x4f + - terraform-provider-datadog/dev (terraform 1.15.0; terraform-cli 0.12.7-sdk) + datadog-api-client-go/1.0.0-beta.14 (go go1.15.4; os darwin; arch amd64) + X-Datadog-Parent-Id: + - "6001430156344937790" + X-Datadog-Sampling-Priority: + - "1" + X-Datadog-Trace-Id: + - "8991564635414322782" + url: https://api.datadoghq.com/api/v1/dashboard/da9-c9h-f7j method: GET response: - body: '{"notify_list":[],"description":"Created using the Datadog provider in Terraform","restricted_roles":["284d8b66-93f9-11eb-9c37-da7ad0900002","043a2842-e140-11e8-bb04-7fd10177666e","657de3a2-29f8-11eb-83b5-6b8ebfb2f184","e82bf27a-986c-11eb-9cba-da7ad0900002","f257ba30-dbb2-11ea-a5ff-5fd1d308318a","6bf314be-5c16-11eb-8e98-2356ea436065","62cbc476-5c16-11eb-8e98-0388ea7a41f8","08604de8-1dca-11eb-800c-9f5f55ff734d","9b3ab170-b768-11eb-a45a-da7ad0900002","7a83f306-96ca-11eb-9c74-da7ad0900002","16169788-28e4-11eb-832c-fb84162ef3eb","4de53192-9946-11eb-9cee-da7ad0900002","1302282c-b93b-11eb-a436-da7ad0900002","17d73994-7531-11eb-94b9-da7ad0900002"],"author_name":"Qin Chen","template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"yix-z4w-x4f","title":"tf-TestAccDatadogDashboardHostMap-local-1621865946","url":"/dashboard/yix-z4w-x4f/tf-testaccdatadogdashboardhostmap-local-1621865946","created_at":"2021-05-24T14:19:07.913479+00:00","modified_at":"2021-05-24T14:19:07.913479+00:00","author_handle":"qin.chen@datadoghq.com","widgets":[{"definition":{"style":{"fill_min":"10","fill_max":"30","palette":"YlOrRd","palette_flip":true},"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test Custom Link label"},{"override_label":"logs","is_hidden":true,"link":"https://app.datadoghq.com/dashboard/lists"}],"title_size":"16","title":"system.cpu.idle, system.cpu.user","title_align":"right","node_type":"host","no_metric_hosts":true,"group":["region"],"requests":{"size":{"q":"max:system.cpu.user{env:prod} by {host}"},"fill":{"q":"avg:system.cpu.idle{env:prod} by {host}"}},"no_group_hosts":true,"type":"hostmap","scope":["env:prod"]},"id":8469184671469714}],"layout_type":"ordered"}' + body: '{"notify_list":[],"description":"Created using the Datadog provider in + Terraform","author_name":null,"template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"da9-c9h-f7j","title":"tf-TestAccDatadogDashboardHostMap-local-1611850705","url":"/dashboard/da9-c9h-f7j/tf-testaccdatadogdashboardhostmap-local-1611850705","created_at":"2021-01-28T16:29:40.919405+00:00","modified_at":"2021-01-28T16:29:40.919405+00:00","author_handle":"frog@datadoghq.com","widgets":[{"definition":{"style":{"fill_min":"10","fill_max":"30","palette":"YlOrRd","palette_flip":true},"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test + Custom Link label"}],"title_size":"16","title":"system.cpu.idle, system.cpu.user","title_align":"right","node_type":"host","no_metric_hosts":true,"group":["region"],"requests":{"size":{"q":"max:system.cpu.user{env:prod} + by {host}"},"fill":{"q":"avg:system.cpu.idle{env:prod} by {host}"}},"no_group_hosts":true,"type":"hostmap","scope":["env:prod"]},"id":8478660964564960}],"layout_type":"ordered"}' headers: Cache-Control: - no-cache @@ -112,9 +148,12 @@ interactions: Content-Type: - application/json Date: - - Mon, 24 May 2021 14:19:08 GMT + - Thu, 28 Jan 2021 16:29:46 GMT Pragma: - no-cache + Set-Cookie: + - DD-PSHARD=233; Max-Age=604800; Path=/; expires=Thu, 04-Feb-2021 16:29:46 GMT; + secure; HttpOnly Strict-Transport-Security: - max-age=15724800; Vary: @@ -122,9 +161,9 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Debug: - - dCmL/3rURV6BPeaqeP3Rxigq41m5CAb17XjrRE42uZ01zpr07HVhbL5/3TWMkvgu + - fIO2C4qGDheGHy4YbS+r3a3CXbh4cbRo7roILOimQyiHGjQdOat0cIpWCkupM1uX X-Dd-Version: - - "35.4593741" + - "35.3796727" X-Frame-Options: - SAMEORIGIN status: 200 OK @@ -139,11 +178,21 @@ interactions: Dd-Operation-Id: - GetDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) - url: https://api.datadoghq.com/api/v1/dashboard/yix-z4w-x4f + - terraform-provider-datadog/dev (terraform 1.15.0; terraform-cli 0.12.7-sdk) + datadog-api-client-go/1.0.0-beta.14 (go go1.15.4; os darwin; arch amd64) + X-Datadog-Parent-Id: + - "5932362522035802989" + X-Datadog-Sampling-Priority: + - "1" + X-Datadog-Trace-Id: + - "8991564635414322782" + url: https://api.datadoghq.com/api/v1/dashboard/da9-c9h-f7j method: GET response: - body: '{"notify_list":[],"description":"Created using the Datadog provider in Terraform","restricted_roles":["284d8b66-93f9-11eb-9c37-da7ad0900002","043a2842-e140-11e8-bb04-7fd10177666e","657de3a2-29f8-11eb-83b5-6b8ebfb2f184","e82bf27a-986c-11eb-9cba-da7ad0900002","f257ba30-dbb2-11ea-a5ff-5fd1d308318a","6bf314be-5c16-11eb-8e98-2356ea436065","62cbc476-5c16-11eb-8e98-0388ea7a41f8","08604de8-1dca-11eb-800c-9f5f55ff734d","9b3ab170-b768-11eb-a45a-da7ad0900002","7a83f306-96ca-11eb-9c74-da7ad0900002","16169788-28e4-11eb-832c-fb84162ef3eb","4de53192-9946-11eb-9cee-da7ad0900002","1302282c-b93b-11eb-a436-da7ad0900002","17d73994-7531-11eb-94b9-da7ad0900002"],"author_name":"Qin Chen","template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"yix-z4w-x4f","title":"tf-TestAccDatadogDashboardHostMap-local-1621865946","url":"/dashboard/yix-z4w-x4f/tf-testaccdatadogdashboardhostmap-local-1621865946","created_at":"2021-05-24T14:19:07.913479+00:00","modified_at":"2021-05-24T14:19:07.913479+00:00","author_handle":"qin.chen@datadoghq.com","widgets":[{"definition":{"style":{"fill_min":"10","fill_max":"30","palette":"YlOrRd","palette_flip":true},"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test Custom Link label"},{"override_label":"logs","is_hidden":true,"link":"https://app.datadoghq.com/dashboard/lists"}],"title_size":"16","title":"system.cpu.idle, system.cpu.user","title_align":"right","node_type":"host","no_metric_hosts":true,"group":["region"],"requests":{"size":{"q":"max:system.cpu.user{env:prod} by {host}"},"fill":{"q":"avg:system.cpu.idle{env:prod} by {host}"}},"no_group_hosts":true,"type":"hostmap","scope":["env:prod"]},"id":8469184671469714}],"layout_type":"ordered"}' + body: '{"notify_list":[],"description":"Created using the Datadog provider in + Terraform","author_name":null,"template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"da9-c9h-f7j","title":"tf-TestAccDatadogDashboardHostMap-local-1611850705","url":"/dashboard/da9-c9h-f7j/tf-testaccdatadogdashboardhostmap-local-1611850705","created_at":"2021-01-28T16:29:40.919405+00:00","modified_at":"2021-01-28T16:29:40.919405+00:00","author_handle":"frog@datadoghq.com","widgets":[{"definition":{"style":{"fill_min":"10","fill_max":"30","palette":"YlOrRd","palette_flip":true},"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test + Custom Link label"}],"title_size":"16","title":"system.cpu.idle, system.cpu.user","title_align":"right","node_type":"host","no_metric_hosts":true,"group":["region"],"requests":{"size":{"q":"max:system.cpu.user{env:prod} + by {host}"},"fill":{"q":"avg:system.cpu.idle{env:prod} by {host}"}},"no_group_hosts":true,"type":"hostmap","scope":["env:prod"]},"id":8478660964564960}],"layout_type":"ordered"}' headers: Cache-Control: - no-cache @@ -154,9 +203,12 @@ interactions: Content-Type: - application/json Date: - - Mon, 24 May 2021 14:19:08 GMT + - Thu, 28 Jan 2021 16:30:05 GMT Pragma: - no-cache + Set-Cookie: + - DD-PSHARD=233; Max-Age=604800; Path=/; expires=Thu, 04-Feb-2021 16:30:05 GMT; + secure; HttpOnly Strict-Transport-Security: - max-age=15724800; Vary: @@ -164,9 +216,9 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Debug: - - 25u1gDlL724DHllbjFT4BhOLorBTilh+aah2uWAUEjFC/+rjczJdiyWrV/HwLwe/ + - LcgNasIYBRkNppmD6mCKE9J6iv0eEjosuuHR5V5zw2fWbR54i39C8dhdK8zDq/40 X-Dd-Version: - - "35.4593741" + - "35.3796727" X-Frame-Options: - SAMEORIGIN status: 200 OK @@ -181,11 +233,21 @@ interactions: Dd-Operation-Id: - GetDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) - url: https://api.datadoghq.com/api/v1/dashboard/yix-z4w-x4f + - terraform-provider-datadog/dev (terraform 1.15.0; terraform-cli 0.12.7-sdk) + datadog-api-client-go/1.0.0-beta.14 (go go1.15.4; os darwin; arch amd64) + X-Datadog-Parent-Id: + - "8241916226846992032" + X-Datadog-Sampling-Priority: + - "1" + X-Datadog-Trace-Id: + - "8991564635414322782" + url: https://api.datadoghq.com/api/v1/dashboard/da9-c9h-f7j method: GET response: - body: '{"notify_list":[],"description":"Created using the Datadog provider in Terraform","restricted_roles":["284d8b66-93f9-11eb-9c37-da7ad0900002","043a2842-e140-11e8-bb04-7fd10177666e","657de3a2-29f8-11eb-83b5-6b8ebfb2f184","e82bf27a-986c-11eb-9cba-da7ad0900002","f257ba30-dbb2-11ea-a5ff-5fd1d308318a","6bf314be-5c16-11eb-8e98-2356ea436065","62cbc476-5c16-11eb-8e98-0388ea7a41f8","08604de8-1dca-11eb-800c-9f5f55ff734d","9b3ab170-b768-11eb-a45a-da7ad0900002","7a83f306-96ca-11eb-9c74-da7ad0900002","16169788-28e4-11eb-832c-fb84162ef3eb","4de53192-9946-11eb-9cee-da7ad0900002","1302282c-b93b-11eb-a436-da7ad0900002","17d73994-7531-11eb-94b9-da7ad0900002"],"author_name":"Qin Chen","template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"yix-z4w-x4f","title":"tf-TestAccDatadogDashboardHostMap-local-1621865946","url":"/dashboard/yix-z4w-x4f/tf-testaccdatadogdashboardhostmap-local-1621865946","created_at":"2021-05-24T14:19:07.913479+00:00","modified_at":"2021-05-24T14:19:07.913479+00:00","author_handle":"qin.chen@datadoghq.com","widgets":[{"definition":{"style":{"fill_min":"10","fill_max":"30","palette":"YlOrRd","palette_flip":true},"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test Custom Link label"},{"override_label":"logs","is_hidden":true,"link":"https://app.datadoghq.com/dashboard/lists"}],"title_size":"16","title":"system.cpu.idle, system.cpu.user","title_align":"right","node_type":"host","no_metric_hosts":true,"group":["region"],"requests":{"size":{"q":"max:system.cpu.user{env:prod} by {host}"},"fill":{"q":"avg:system.cpu.idle{env:prod} by {host}"}},"no_group_hosts":true,"type":"hostmap","scope":["env:prod"]},"id":8469184671469714}],"layout_type":"ordered"}' + body: '{"notify_list":[],"description":"Created using the Datadog provider in + Terraform","author_name":null,"template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"da9-c9h-f7j","title":"tf-TestAccDatadogDashboardHostMap-local-1611850705","url":"/dashboard/da9-c9h-f7j/tf-testaccdatadogdashboardhostmap-local-1611850705","created_at":"2021-01-28T16:29:40.919405+00:00","modified_at":"2021-01-28T16:29:40.919405+00:00","author_handle":"frog@datadoghq.com","widgets":[{"definition":{"style":{"fill_min":"10","fill_max":"30","palette":"YlOrRd","palette_flip":true},"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test + Custom Link label"}],"title_size":"16","title":"system.cpu.idle, system.cpu.user","title_align":"right","node_type":"host","no_metric_hosts":true,"group":["region"],"requests":{"size":{"q":"max:system.cpu.user{env:prod} + by {host}"},"fill":{"q":"avg:system.cpu.idle{env:prod} by {host}"}},"no_group_hosts":true,"type":"hostmap","scope":["env:prod"]},"id":8478660964564960}],"layout_type":"ordered"}' headers: Cache-Control: - no-cache @@ -196,9 +258,12 @@ interactions: Content-Type: - application/json Date: - - Mon, 24 May 2021 14:19:09 GMT + - Thu, 28 Jan 2021 16:30:26 GMT Pragma: - no-cache + Set-Cookie: + - DD-PSHARD=233; Max-Age=604800; Path=/; expires=Thu, 04-Feb-2021 16:30:26 GMT; + secure; HttpOnly Strict-Transport-Security: - max-age=15724800; Vary: @@ -206,9 +271,9 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Debug: - - LcgNasIYBRkNppmD6mCKE9J6iv0eEjosuuHR5V5zw2fWbR54i39C8dhdK8zDq/40 + - S1wfaMZOKGT/IoMw6fqAwAwGWo2vQ44sjF3YzuETnQfxZO2T5eJbs0aX3UKb9Dwu X-Dd-Version: - - "35.4593741" + - "35.3796727" X-Frame-Options: - SAMEORIGIN status: 200 OK @@ -223,11 +288,18 @@ interactions: Dd-Operation-Id: - DeleteDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) - url: https://api.datadoghq.com/api/v1/dashboard/yix-z4w-x4f + - terraform-provider-datadog/dev (terraform 1.15.0; terraform-cli 0.12.7-sdk) + datadog-api-client-go/1.0.0-beta.14 (go go1.15.4; os darwin; arch amd64) + X-Datadog-Parent-Id: + - "7478077213042494201" + X-Datadog-Sampling-Priority: + - "1" + X-Datadog-Trace-Id: + - "8991564635414322782" + url: https://api.datadoghq.com/api/v1/dashboard/da9-c9h-f7j method: DELETE response: - body: '{"deleted_dashboard_id":"yix-z4w-x4f"}' + body: '{"deleted_dashboard_id":"da9-c9h-f7j"}' headers: Cache-Control: - no-cache @@ -238,9 +310,12 @@ interactions: Content-Type: - application/json Date: - - Mon, 24 May 2021 14:19:09 GMT + - Thu, 28 Jan 2021 16:30:39 GMT Pragma: - no-cache + Set-Cookie: + - DD-PSHARD=233; Max-Age=604800; Path=/; expires=Thu, 04-Feb-2021 16:30:39 GMT; + secure; HttpOnly Strict-Transport-Security: - max-age=15724800; Vary: @@ -248,9 +323,9 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Debug: - - F5gm0Rce1/Abr9/0Fw8HAqWfiz0FdiH8er/AXnN6lOn3L6KyGgbsLCwgPlob1No8 + - JpIJLwIH2nFlZOC+u71rq7aAOL43MLZN3MUsL+gpYHdZz5QLUOG8Jysf8kVK6tPU X-Dd-Version: - - "35.4593741" + - "35.3796727" X-Frame-Options: - SAMEORIGIN status: 200 OK @@ -265,11 +340,18 @@ interactions: Dd-Operation-Id: - GetDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) - url: https://api.datadoghq.com/api/v1/dashboard/yix-z4w-x4f + - terraform-provider-datadog/dev (terraform 1.15.0; terraform-cli 0.12.7-sdk) + datadog-api-client-go/1.0.0-beta.14 (go go1.15.4; os darwin; arch amd64) + X-Datadog-Parent-Id: + - "2886792618007604408" + X-Datadog-Sampling-Priority: + - "1" + X-Datadog-Trace-Id: + - "8991564635414322782" + url: https://api.datadoghq.com/api/v1/dashboard/da9-c9h-f7j method: GET response: - body: '{"errors": ["Dashboard with ID yix-z4w-x4f not found"]}' + body: '{"errors": ["Dashboard with ID da9-c9h-f7j not found"]}' headers: Cache-Control: - no-cache @@ -280,7 +362,7 @@ interactions: Content-Type: - application/json Date: - - Mon, 24 May 2021 14:19:09 GMT + - Thu, 28 Jan 2021 16:30:45 GMT Pragma: - no-cache Strict-Transport-Security: @@ -290,7 +372,7 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Version: - - "35.4593741" + - "35.3796727" X-Frame-Options: - SAMEORIGIN status: 404 Not Found diff --git a/datadog/tests/cassettes/TestAccDatadogDashboardHostMap_import.freeze b/datadog/tests/cassettes/TestAccDatadogDashboardHostMap_import.freeze index 3a6efdee6..1c58f4921 100644 --- a/datadog/tests/cassettes/TestAccDatadogDashboardHostMap_import.freeze +++ b/datadog/tests/cassettes/TestAccDatadogDashboardHostMap_import.freeze @@ -1 +1 @@ -2021-05-24T10:37:36.409021-04:00 \ No newline at end of file +2020-12-31T15:42:08.134677+01:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogDashboardHostMap_import.yaml b/datadog/tests/cassettes/TestAccDatadogDashboardHostMap_import.yaml index 2fc65c221..40e585eca 100644 --- a/datadog/tests/cassettes/TestAccDatadogDashboardHostMap_import.yaml +++ b/datadog/tests/cassettes/TestAccDatadogDashboardHostMap_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-TestAccDatadogDashboardHostMap_import-local-1621865946","widgets":[{"definition":{"custom_links":[{"label":"Test Custom Link label","link":"https://app.datadoghq.com/dashboard/lists"},{"is_hidden":true,"link":"https://app.datadoghq.com/dashboard/lists","override_label":"logs"}],"group":["region"],"no_group_hosts":true,"no_metric_hosts":true,"node_type":"host","requests":{"fill":{"q":"avg:system.cpu.idle{env:prod} by {host}"},"size":{"q":"max:system.cpu.user{env:prod} by {host}"}},"scope":["env:prod"],"style":{"fill_max":"30","fill_min":"10","palette":"YlOrRd","palette_flip":true},"title":"system.cpu.idle, system.cpu.user","title_align":"right","title_size":"16","type":"hostmap"}}]} + {"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-TestAccDatadogDashboardHostMap_import-local-1609425728","widgets":[{"definition":{"custom_links":[{"label":"Test Custom Link label","link":"https://app.datadoghq.com/dashboard/lists"}],"group":["region"],"no_group_hosts":true,"no_metric_hosts":true,"node_type":"host","requests":{"fill":{"q":"avg:system.cpu.idle{env:prod} by {host}"},"size":{"q":"max:system.cpu.user{env:prod} by {host}"}},"scope":["env:prod"],"style":{"fill_max":"30","fill_min":"10","palette":"YlOrRd","palette_flip":true},"title":"system.cpu.idle, system.cpu.user","title_align":"right","title_size":"16","type":"hostmap"}}]} form: {} headers: Accept: @@ -13,11 +13,21 @@ interactions: Dd-Operation-Id: - CreateDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) + - terraform-provider-datadog/dev (terraform 1.15.0; terraform-cli 0.12.7-sdk) + datadog-api-client-go/1.0.0-beta.13+dev (go go1.15.4; os darwin; arch amd64) + X-Datadog-Parent-Id: + - "8944213038793338757" + X-Datadog-Sampling-Priority: + - "1" + X-Datadog-Trace-Id: + - "2739794689485606521" url: https://api.datadoghq.com/api/v1/dashboard method: POST response: - body: '{"notify_list":[],"description":"Created using the Datadog provider in Terraform","restricted_roles":["043a2842-e140-11e8-bb04-7fd10177666e","08604de8-1dca-11eb-800c-9f5f55ff734d","1302282c-b93b-11eb-a436-da7ad0900002","16169788-28e4-11eb-832c-fb84162ef3eb","17d73994-7531-11eb-94b9-da7ad0900002","284d8b66-93f9-11eb-9c37-da7ad0900002","4de53192-9946-11eb-9cee-da7ad0900002","62cbc476-5c16-11eb-8e98-0388ea7a41f8","657de3a2-29f8-11eb-83b5-6b8ebfb2f184","6bf314be-5c16-11eb-8e98-2356ea436065","7a83f306-96ca-11eb-9c74-da7ad0900002","9b3ab170-b768-11eb-a45a-da7ad0900002","e82bf27a-986c-11eb-9cba-da7ad0900002","f257ba30-dbb2-11ea-a5ff-5fd1d308318a"],"author_name":"Qin Chen","template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"97e-w2j-vma","title":"tf-TestAccDatadogDashboardHostMap_import-local-1621865946","url":"/dashboard/97e-w2j-vma/tf-testaccdatadogdashboardhostmapimport-local-1621865946","created_at":"2021-05-24T14:19:07.924292+00:00","modified_at":"2021-05-24T14:19:07.924292+00:00","author_handle":"qin.chen@datadoghq.com","widgets":[{"definition":{"style":{"fill_min":"10","fill_max":"30","palette":"YlOrRd","palette_flip":true},"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test Custom Link label"},{"override_label":"logs","is_hidden":true,"link":"https://app.datadoghq.com/dashboard/lists"}],"title_size":"16","title":"system.cpu.idle, system.cpu.user","title_align":"right","node_type":"host","no_metric_hosts":true,"group":["region"],"requests":{"size":{"q":"max:system.cpu.user{env:prod} by {host}"},"fill":{"q":"avg:system.cpu.idle{env:prod} by {host}"}},"no_group_hosts":true,"type":"hostmap","scope":["env:prod"]},"id":3234523286199271}],"layout_type":"ordered"}' + body: '{"notify_list":[],"description":"Created using the Datadog provider in + Terraform","author_name":null,"template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"p29-57k-8pd","title":"tf-TestAccDatadogDashboardHostMap_import-local-1609425728","url":"/dashboard/p29-57k-8pd/tf-testaccdatadogdashboardhostmapimport-local-1609425728","created_at":"2020-12-31T14:50:59.334281+00:00","modified_at":"2020-12-31T14:50:59.334281+00:00","author_handle":"frog@datadoghq.com","widgets":[{"definition":{"style":{"fill_min":"10","fill_max":"30","palette":"YlOrRd","palette_flip":true},"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test + Custom Link label"}],"title_size":"16","title":"system.cpu.idle, system.cpu.user","title_align":"right","node_type":"host","no_metric_hosts":true,"group":["region"],"requests":{"size":{"q":"max:system.cpu.user{env:prod} + by {host}"},"fill":{"q":"avg:system.cpu.idle{env:prod} by {host}"}},"no_group_hosts":true,"type":"hostmap","scope":["env:prod"]},"id":2214229596739543}],"layout_type":"ordered"}' headers: Cache-Control: - no-cache @@ -28,9 +38,12 @@ interactions: Content-Type: - application/json Date: - - Mon, 24 May 2021 14:19:08 GMT + - Thu, 31 Dec 2020 14:51:02 GMT Pragma: - no-cache + Set-Cookie: + - DD-PSHARD=233; Max-Age=604800; Path=/; expires=Thu, 07-Jan-2021 14:50:59 GMT; + secure; HttpOnly Strict-Transport-Security: - max-age=15724800; Vary: @@ -38,9 +51,9 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Debug: - - LcgNasIYBRkNppmD6mCKE9J6iv0eEjosuuHR5V5zw2fWbR54i39C8dhdK8zDq/40 + - F+MB1uJtICegWSQGMRxkng/mFaS+IzSp7MVdNCMxEuNz7Df8CVcsilcdpPZyVGTp X-Dd-Version: - - "35.4593741" + - "35.3622023" X-Frame-Options: - SAMEORIGIN status: 200 OK @@ -55,11 +68,21 @@ interactions: Dd-Operation-Id: - GetDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) - url: https://api.datadoghq.com/api/v1/dashboard/97e-w2j-vma + - terraform-provider-datadog/dev (terraform 1.15.0; terraform-cli 0.12.7-sdk) + datadog-api-client-go/1.0.0-beta.13+dev (go go1.15.4; os darwin; arch amd64) + X-Datadog-Parent-Id: + - "1092537733275737457" + X-Datadog-Sampling-Priority: + - "1" + X-Datadog-Trace-Id: + - "2739794689485606521" + url: https://api.datadoghq.com/api/v1/dashboard/p29-57k-8pd method: GET response: - body: '{"notify_list":[],"description":"Created using the Datadog provider in Terraform","restricted_roles":["284d8b66-93f9-11eb-9c37-da7ad0900002","043a2842-e140-11e8-bb04-7fd10177666e","657de3a2-29f8-11eb-83b5-6b8ebfb2f184","e82bf27a-986c-11eb-9cba-da7ad0900002","f257ba30-dbb2-11ea-a5ff-5fd1d308318a","6bf314be-5c16-11eb-8e98-2356ea436065","62cbc476-5c16-11eb-8e98-0388ea7a41f8","08604de8-1dca-11eb-800c-9f5f55ff734d","9b3ab170-b768-11eb-a45a-da7ad0900002","7a83f306-96ca-11eb-9c74-da7ad0900002","16169788-28e4-11eb-832c-fb84162ef3eb","4de53192-9946-11eb-9cee-da7ad0900002","1302282c-b93b-11eb-a436-da7ad0900002","17d73994-7531-11eb-94b9-da7ad0900002"],"author_name":"Qin Chen","template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"97e-w2j-vma","title":"tf-TestAccDatadogDashboardHostMap_import-local-1621865946","url":"/dashboard/97e-w2j-vma/tf-testaccdatadogdashboardhostmapimport-local-1621865946","created_at":"2021-05-24T14:19:07.924292+00:00","modified_at":"2021-05-24T14:19:07.924292+00:00","author_handle":"qin.chen@datadoghq.com","widgets":[{"definition":{"style":{"fill_min":"10","fill_max":"30","palette":"YlOrRd","palette_flip":true},"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test Custom Link label"},{"override_label":"logs","is_hidden":true,"link":"https://app.datadoghq.com/dashboard/lists"}],"title_size":"16","title":"system.cpu.idle, system.cpu.user","title_align":"right","node_type":"host","no_metric_hosts":true,"group":["region"],"requests":{"size":{"q":"max:system.cpu.user{env:prod} by {host}"},"fill":{"q":"avg:system.cpu.idle{env:prod} by {host}"}},"no_group_hosts":true,"type":"hostmap","scope":["env:prod"]},"id":3234523286199271}],"layout_type":"ordered"}' + body: '{"notify_list":[],"description":"Created using the Datadog provider in + Terraform","author_name":null,"template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"p29-57k-8pd","title":"tf-TestAccDatadogDashboardHostMap_import-local-1609425728","url":"/dashboard/p29-57k-8pd/tf-testaccdatadogdashboardhostmapimport-local-1609425728","created_at":"2020-12-31T14:50:59.334281+00:00","modified_at":"2020-12-31T14:50:59.334281+00:00","author_handle":"frog@datadoghq.com","widgets":[{"definition":{"style":{"fill_min":"10","fill_max":"30","palette":"YlOrRd","palette_flip":true},"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test + Custom Link label"}],"title_size":"16","title":"system.cpu.idle, system.cpu.user","title_align":"right","node_type":"host","no_metric_hosts":true,"group":["region"],"requests":{"size":{"q":"max:system.cpu.user{env:prod} + by {host}"},"fill":{"q":"avg:system.cpu.idle{env:prod} by {host}"}},"no_group_hosts":true,"type":"hostmap","scope":["env:prod"]},"id":2214229596739543}],"layout_type":"ordered"}' headers: Cache-Control: - no-cache @@ -70,9 +93,12 @@ interactions: Content-Type: - application/json Date: - - Mon, 24 May 2021 14:19:08 GMT + - Thu, 31 Dec 2020 14:51:02 GMT Pragma: - no-cache + Set-Cookie: + - DD-PSHARD=233; Max-Age=604800; Path=/; expires=Thu, 07-Jan-2021 14:51:02 GMT; + secure; HttpOnly Strict-Transport-Security: - max-age=15724800; Vary: @@ -80,9 +106,9 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Debug: - - mNzaoDhdDKO7t4QSrAe5X7pHd0bJND187D+vRbwoluXouE2m1UaQQX0RGCvRpLVE + - FP8Y2ks6/+u/R8ikARtQQYvp9IVj9nSQPYtAt3WVuBjumgKP35t8vnUuGfeHdr64 X-Dd-Version: - - "35.4593741" + - "35.3622023" X-Frame-Options: - SAMEORIGIN status: 200 OK @@ -97,11 +123,21 @@ interactions: Dd-Operation-Id: - GetDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) - url: https://api.datadoghq.com/api/v1/dashboard/97e-w2j-vma + - terraform-provider-datadog/dev (terraform 1.15.0; terraform-cli 0.12.7-sdk) + datadog-api-client-go/1.0.0-beta.13+dev (go go1.15.4; os darwin; arch amd64) + X-Datadog-Parent-Id: + - "1237230546142331088" + X-Datadog-Sampling-Priority: + - "1" + X-Datadog-Trace-Id: + - "2739794689485606521" + url: https://api.datadoghq.com/api/v1/dashboard/p29-57k-8pd method: GET response: - body: '{"notify_list":[],"description":"Created using the Datadog provider in Terraform","restricted_roles":["284d8b66-93f9-11eb-9c37-da7ad0900002","043a2842-e140-11e8-bb04-7fd10177666e","657de3a2-29f8-11eb-83b5-6b8ebfb2f184","e82bf27a-986c-11eb-9cba-da7ad0900002","f257ba30-dbb2-11ea-a5ff-5fd1d308318a","6bf314be-5c16-11eb-8e98-2356ea436065","62cbc476-5c16-11eb-8e98-0388ea7a41f8","08604de8-1dca-11eb-800c-9f5f55ff734d","9b3ab170-b768-11eb-a45a-da7ad0900002","7a83f306-96ca-11eb-9c74-da7ad0900002","16169788-28e4-11eb-832c-fb84162ef3eb","4de53192-9946-11eb-9cee-da7ad0900002","1302282c-b93b-11eb-a436-da7ad0900002","17d73994-7531-11eb-94b9-da7ad0900002"],"author_name":"Qin Chen","template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"97e-w2j-vma","title":"tf-TestAccDatadogDashboardHostMap_import-local-1621865946","url":"/dashboard/97e-w2j-vma/tf-testaccdatadogdashboardhostmapimport-local-1621865946","created_at":"2021-05-24T14:19:07.924292+00:00","modified_at":"2021-05-24T14:19:07.924292+00:00","author_handle":"qin.chen@datadoghq.com","widgets":[{"definition":{"style":{"fill_min":"10","fill_max":"30","palette":"YlOrRd","palette_flip":true},"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test Custom Link label"},{"override_label":"logs","is_hidden":true,"link":"https://app.datadoghq.com/dashboard/lists"}],"title_size":"16","title":"system.cpu.idle, system.cpu.user","title_align":"right","node_type":"host","no_metric_hosts":true,"group":["region"],"requests":{"size":{"q":"max:system.cpu.user{env:prod} by {host}"},"fill":{"q":"avg:system.cpu.idle{env:prod} by {host}"}},"no_group_hosts":true,"type":"hostmap","scope":["env:prod"]},"id":3234523286199271}],"layout_type":"ordered"}' + body: '{"notify_list":[],"description":"Created using the Datadog provider in + Terraform","author_name":null,"template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"p29-57k-8pd","title":"tf-TestAccDatadogDashboardHostMap_import-local-1609425728","url":"/dashboard/p29-57k-8pd/tf-testaccdatadogdashboardhostmapimport-local-1609425728","created_at":"2020-12-31T14:50:59.334281+00:00","modified_at":"2020-12-31T14:50:59.334281+00:00","author_handle":"frog@datadoghq.com","widgets":[{"definition":{"style":{"fill_min":"10","fill_max":"30","palette":"YlOrRd","palette_flip":true},"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test + Custom Link label"}],"title_size":"16","title":"system.cpu.idle, system.cpu.user","title_align":"right","node_type":"host","no_metric_hosts":true,"group":["region"],"requests":{"size":{"q":"max:system.cpu.user{env:prod} + by {host}"},"fill":{"q":"avg:system.cpu.idle{env:prod} by {host}"}},"no_group_hosts":true,"type":"hostmap","scope":["env:prod"]},"id":2214229596739543}],"layout_type":"ordered"}' headers: Cache-Control: - no-cache @@ -112,9 +148,12 @@ interactions: Content-Type: - application/json Date: - - Mon, 24 May 2021 14:19:08 GMT + - Thu, 31 Dec 2020 14:51:10 GMT Pragma: - no-cache + Set-Cookie: + - DD-PSHARD=233; Max-Age=604800; Path=/; expires=Thu, 07-Jan-2021 14:51:10 GMT; + secure; HttpOnly Strict-Transport-Security: - max-age=15724800; Vary: @@ -122,9 +161,9 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Debug: - - 25u1gDlL724DHllbjFT4BhOLorBTilh+aah2uWAUEjFC/+rjczJdiyWrV/HwLwe/ + - 5H2EXEXOPQC4s7BfWBFjlM6rKywFNh1Cf33eK1xYuPFdBfR+3y2m7Dyr75gZ4kw1 X-Dd-Version: - - "35.4593741" + - "35.3622023" X-Frame-Options: - SAMEORIGIN status: 200 OK @@ -139,11 +178,21 @@ interactions: Dd-Operation-Id: - GetDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) - url: https://api.datadoghq.com/api/v1/dashboard/97e-w2j-vma + - terraform-provider-datadog/dev (terraform 1.15.0; terraform-cli 0.12.7-sdk) + datadog-api-client-go/1.0.0-beta.13+dev (go go1.15.4; os darwin; arch amd64) + X-Datadog-Parent-Id: + - "5543219010307706643" + X-Datadog-Sampling-Priority: + - "1" + X-Datadog-Trace-Id: + - "2739794689485606521" + url: https://api.datadoghq.com/api/v1/dashboard/p29-57k-8pd method: GET response: - body: '{"notify_list":[],"description":"Created using the Datadog provider in Terraform","restricted_roles":["284d8b66-93f9-11eb-9c37-da7ad0900002","043a2842-e140-11e8-bb04-7fd10177666e","657de3a2-29f8-11eb-83b5-6b8ebfb2f184","e82bf27a-986c-11eb-9cba-da7ad0900002","f257ba30-dbb2-11ea-a5ff-5fd1d308318a","6bf314be-5c16-11eb-8e98-2356ea436065","62cbc476-5c16-11eb-8e98-0388ea7a41f8","08604de8-1dca-11eb-800c-9f5f55ff734d","9b3ab170-b768-11eb-a45a-da7ad0900002","7a83f306-96ca-11eb-9c74-da7ad0900002","16169788-28e4-11eb-832c-fb84162ef3eb","4de53192-9946-11eb-9cee-da7ad0900002","1302282c-b93b-11eb-a436-da7ad0900002","17d73994-7531-11eb-94b9-da7ad0900002"],"author_name":"Qin Chen","template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"97e-w2j-vma","title":"tf-TestAccDatadogDashboardHostMap_import-local-1621865946","url":"/dashboard/97e-w2j-vma/tf-testaccdatadogdashboardhostmapimport-local-1621865946","created_at":"2021-05-24T14:19:07.924292+00:00","modified_at":"2021-05-24T14:19:07.924292+00:00","author_handle":"qin.chen@datadoghq.com","widgets":[{"definition":{"style":{"fill_min":"10","fill_max":"30","palette":"YlOrRd","palette_flip":true},"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test Custom Link label"},{"override_label":"logs","is_hidden":true,"link":"https://app.datadoghq.com/dashboard/lists"}],"title_size":"16","title":"system.cpu.idle, system.cpu.user","title_align":"right","node_type":"host","no_metric_hosts":true,"group":["region"],"requests":{"size":{"q":"max:system.cpu.user{env:prod} by {host}"},"fill":{"q":"avg:system.cpu.idle{env:prod} by {host}"}},"no_group_hosts":true,"type":"hostmap","scope":["env:prod"]},"id":3234523286199271}],"layout_type":"ordered"}' + body: '{"notify_list":[],"description":"Created using the Datadog provider in + Terraform","author_name":null,"template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"p29-57k-8pd","title":"tf-TestAccDatadogDashboardHostMap_import-local-1609425728","url":"/dashboard/p29-57k-8pd/tf-testaccdatadogdashboardhostmapimport-local-1609425728","created_at":"2020-12-31T14:50:59.334281+00:00","modified_at":"2020-12-31T14:50:59.334281+00:00","author_handle":"frog@datadoghq.com","widgets":[{"definition":{"style":{"fill_min":"10","fill_max":"30","palette":"YlOrRd","palette_flip":true},"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test + Custom Link label"}],"title_size":"16","title":"system.cpu.idle, system.cpu.user","title_align":"right","node_type":"host","no_metric_hosts":true,"group":["region"],"requests":{"size":{"q":"max:system.cpu.user{env:prod} + by {host}"},"fill":{"q":"avg:system.cpu.idle{env:prod} by {host}"}},"no_group_hosts":true,"type":"hostmap","scope":["env:prod"]},"id":2214229596739543}],"layout_type":"ordered"}' headers: Cache-Control: - no-cache @@ -154,9 +203,12 @@ interactions: Content-Type: - application/json Date: - - Mon, 24 May 2021 14:19:08 GMT + - Thu, 31 Dec 2020 14:51:15 GMT Pragma: - no-cache + Set-Cookie: + - DD-PSHARD=233; Max-Age=604800; Path=/; expires=Thu, 07-Jan-2021 14:51:15 GMT; + secure; HttpOnly Strict-Transport-Security: - max-age=15724800; Vary: @@ -164,9 +216,9 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Debug: - - dCmL/3rURV6BPeaqeP3Rxigq41m5CAb17XjrRE42uZ01zpr07HVhbL5/3TWMkvgu + - XhN3sROXhRtxvw2F+uRtJTWMwUQRYhDKBCNr1DfCqtzQgh490ZXtNSOhIx1TzG8K X-Dd-Version: - - "35.4593741" + - "35.3622023" X-Frame-Options: - SAMEORIGIN status: 200 OK @@ -181,11 +233,21 @@ interactions: Dd-Operation-Id: - GetDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) - url: https://api.datadoghq.com/api/v1/dashboard/97e-w2j-vma + - terraform-provider-datadog/dev (terraform 1.15.0; terraform-cli 0.12.7-sdk) + datadog-api-client-go/1.0.0-beta.13+dev (go go1.15.4; os darwin; arch amd64) + X-Datadog-Parent-Id: + - "7549632547262040597" + X-Datadog-Sampling-Priority: + - "1" + X-Datadog-Trace-Id: + - "2739794689485606521" + url: https://api.datadoghq.com/api/v1/dashboard/p29-57k-8pd method: GET response: - body: '{"notify_list":[],"description":"Created using the Datadog provider in Terraform","restricted_roles":["284d8b66-93f9-11eb-9c37-da7ad0900002","043a2842-e140-11e8-bb04-7fd10177666e","657de3a2-29f8-11eb-83b5-6b8ebfb2f184","e82bf27a-986c-11eb-9cba-da7ad0900002","f257ba30-dbb2-11ea-a5ff-5fd1d308318a","6bf314be-5c16-11eb-8e98-2356ea436065","62cbc476-5c16-11eb-8e98-0388ea7a41f8","08604de8-1dca-11eb-800c-9f5f55ff734d","9b3ab170-b768-11eb-a45a-da7ad0900002","7a83f306-96ca-11eb-9c74-da7ad0900002","16169788-28e4-11eb-832c-fb84162ef3eb","4de53192-9946-11eb-9cee-da7ad0900002","1302282c-b93b-11eb-a436-da7ad0900002","17d73994-7531-11eb-94b9-da7ad0900002"],"author_name":"Qin Chen","template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"97e-w2j-vma","title":"tf-TestAccDatadogDashboardHostMap_import-local-1621865946","url":"/dashboard/97e-w2j-vma/tf-testaccdatadogdashboardhostmapimport-local-1621865946","created_at":"2021-05-24T14:19:07.924292+00:00","modified_at":"2021-05-24T14:19:07.924292+00:00","author_handle":"qin.chen@datadoghq.com","widgets":[{"definition":{"style":{"fill_min":"10","fill_max":"30","palette":"YlOrRd","palette_flip":true},"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test Custom Link label"},{"override_label":"logs","is_hidden":true,"link":"https://app.datadoghq.com/dashboard/lists"}],"title_size":"16","title":"system.cpu.idle, system.cpu.user","title_align":"right","node_type":"host","no_metric_hosts":true,"group":["region"],"requests":{"size":{"q":"max:system.cpu.user{env:prod} by {host}"},"fill":{"q":"avg:system.cpu.idle{env:prod} by {host}"}},"no_group_hosts":true,"type":"hostmap","scope":["env:prod"]},"id":3234523286199271}],"layout_type":"ordered"}' + body: '{"notify_list":[],"description":"Created using the Datadog provider in + Terraform","author_name":null,"template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"p29-57k-8pd","title":"tf-TestAccDatadogDashboardHostMap_import-local-1609425728","url":"/dashboard/p29-57k-8pd/tf-testaccdatadogdashboardhostmapimport-local-1609425728","created_at":"2020-12-31T14:50:59.334281+00:00","modified_at":"2020-12-31T14:50:59.334281+00:00","author_handle":"frog@datadoghq.com","widgets":[{"definition":{"style":{"fill_min":"10","fill_max":"30","palette":"YlOrRd","palette_flip":true},"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test + Custom Link label"}],"title_size":"16","title":"system.cpu.idle, system.cpu.user","title_align":"right","node_type":"host","no_metric_hosts":true,"group":["region"],"requests":{"size":{"q":"max:system.cpu.user{env:prod} + by {host}"},"fill":{"q":"avg:system.cpu.idle{env:prod} by {host}"}},"no_group_hosts":true,"type":"hostmap","scope":["env:prod"]},"id":2214229596739543}],"layout_type":"ordered"}' headers: Cache-Control: - no-cache @@ -196,9 +258,12 @@ interactions: Content-Type: - application/json Date: - - Mon, 24 May 2021 14:19:09 GMT + - Thu, 31 Dec 2020 14:51:16 GMT Pragma: - no-cache + Set-Cookie: + - DD-PSHARD=233; Max-Age=604800; Path=/; expires=Thu, 07-Jan-2021 14:51:15 GMT; + secure; HttpOnly Strict-Transport-Security: - max-age=15724800; Vary: @@ -206,9 +271,9 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Debug: - - B1nwy/pPNqX+q4pQT22cdp1QCexE35IF8qwSHy0Nf7IW0Y881qtn4tXN1lpmzaKc + - 1KMr27QHAQHDfYPOMxdkaV+JBh/1ku8yD6KIlLr2d217iUuzksir9gh+Nfb7tVhq X-Dd-Version: - - "35.4593741" + - "35.3622023" X-Frame-Options: - SAMEORIGIN status: 200 OK @@ -223,11 +288,21 @@ interactions: Dd-Operation-Id: - GetDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) - url: https://api.datadoghq.com/api/v1/dashboard/97e-w2j-vma + - terraform-provider-datadog/dev (terraform 1.15.0; terraform-cli 0.12.7-sdk) + datadog-api-client-go/1.0.0-beta.13+dev (go go1.15.4; os darwin; arch amd64) + X-Datadog-Parent-Id: + - "2385193848772403889" + X-Datadog-Sampling-Priority: + - "1" + X-Datadog-Trace-Id: + - "2739794689485606521" + url: https://api.datadoghq.com/api/v1/dashboard/p29-57k-8pd method: GET response: - body: '{"notify_list":[],"description":"Created using the Datadog provider in Terraform","restricted_roles":["284d8b66-93f9-11eb-9c37-da7ad0900002","043a2842-e140-11e8-bb04-7fd10177666e","657de3a2-29f8-11eb-83b5-6b8ebfb2f184","e82bf27a-986c-11eb-9cba-da7ad0900002","f257ba30-dbb2-11ea-a5ff-5fd1d308318a","6bf314be-5c16-11eb-8e98-2356ea436065","62cbc476-5c16-11eb-8e98-0388ea7a41f8","08604de8-1dca-11eb-800c-9f5f55ff734d","9b3ab170-b768-11eb-a45a-da7ad0900002","7a83f306-96ca-11eb-9c74-da7ad0900002","16169788-28e4-11eb-832c-fb84162ef3eb","4de53192-9946-11eb-9cee-da7ad0900002","1302282c-b93b-11eb-a436-da7ad0900002","17d73994-7531-11eb-94b9-da7ad0900002"],"author_name":"Qin Chen","template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"97e-w2j-vma","title":"tf-TestAccDatadogDashboardHostMap_import-local-1621865946","url":"/dashboard/97e-w2j-vma/tf-testaccdatadogdashboardhostmapimport-local-1621865946","created_at":"2021-05-24T14:19:07.924292+00:00","modified_at":"2021-05-24T14:19:07.924292+00:00","author_handle":"qin.chen@datadoghq.com","widgets":[{"definition":{"style":{"fill_min":"10","fill_max":"30","palette":"YlOrRd","palette_flip":true},"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test Custom Link label"},{"override_label":"logs","is_hidden":true,"link":"https://app.datadoghq.com/dashboard/lists"}],"title_size":"16","title":"system.cpu.idle, system.cpu.user","title_align":"right","node_type":"host","no_metric_hosts":true,"group":["region"],"requests":{"size":{"q":"max:system.cpu.user{env:prod} by {host}"},"fill":{"q":"avg:system.cpu.idle{env:prod} by {host}"}},"no_group_hosts":true,"type":"hostmap","scope":["env:prod"]},"id":3234523286199271}],"layout_type":"ordered"}' + body: '{"notify_list":[],"description":"Created using the Datadog provider in + Terraform","author_name":null,"template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"p29-57k-8pd","title":"tf-TestAccDatadogDashboardHostMap_import-local-1609425728","url":"/dashboard/p29-57k-8pd/tf-testaccdatadogdashboardhostmapimport-local-1609425728","created_at":"2020-12-31T14:50:59.334281+00:00","modified_at":"2020-12-31T14:50:59.334281+00:00","author_handle":"frog@datadoghq.com","widgets":[{"definition":{"style":{"fill_min":"10","fill_max":"30","palette":"YlOrRd","palette_flip":true},"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test + Custom Link label"}],"title_size":"16","title":"system.cpu.idle, system.cpu.user","title_align":"right","node_type":"host","no_metric_hosts":true,"group":["region"],"requests":{"size":{"q":"max:system.cpu.user{env:prod} + by {host}"},"fill":{"q":"avg:system.cpu.idle{env:prod} by {host}"}},"no_group_hosts":true,"type":"hostmap","scope":["env:prod"]},"id":2214229596739543}],"layout_type":"ordered"}' headers: Cache-Control: - no-cache @@ -238,9 +313,12 @@ interactions: Content-Type: - application/json Date: - - Mon, 24 May 2021 14:19:09 GMT + - Thu, 31 Dec 2020 14:51:18 GMT Pragma: - no-cache + Set-Cookie: + - DD-PSHARD=233; Max-Age=604800; Path=/; expires=Thu, 07-Jan-2021 14:51:18 GMT; + secure; HttpOnly Strict-Transport-Security: - max-age=15724800; Vary: @@ -248,9 +326,9 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Debug: - - SY1h8ScsWq+kYmtbh63ltMLFAZsQjqfrgvdfAoRX+9TzT1sgMBRYaFRwfWWRRe9a + - k7TyfVVSwexDGVT9BY0DK6mAmUeZON/G+RdNqRYdH6H7rBeq1MzNVYFK01AYXFlT X-Dd-Version: - - "35.4593741" + - "35.3622023" X-Frame-Options: - SAMEORIGIN status: 200 OK @@ -265,11 +343,18 @@ interactions: Dd-Operation-Id: - DeleteDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) - url: https://api.datadoghq.com/api/v1/dashboard/97e-w2j-vma + - terraform-provider-datadog/dev (terraform 1.15.0; terraform-cli 0.12.7-sdk) + datadog-api-client-go/1.0.0-beta.13+dev (go go1.15.4; os darwin; arch amd64) + X-Datadog-Parent-Id: + - "5290657460457601368" + X-Datadog-Sampling-Priority: + - "1" + X-Datadog-Trace-Id: + - "2739794689485606521" + url: https://api.datadoghq.com/api/v1/dashboard/p29-57k-8pd method: DELETE response: - body: '{"deleted_dashboard_id":"97e-w2j-vma"}' + body: '{"deleted_dashboard_id":"p29-57k-8pd"}' headers: Cache-Control: - no-cache @@ -280,9 +365,12 @@ interactions: Content-Type: - application/json Date: - - Mon, 24 May 2021 14:19:09 GMT + - Thu, 31 Dec 2020 14:51:21 GMT Pragma: - no-cache + Set-Cookie: + - DD-PSHARD=233; Max-Age=604800; Path=/; expires=Thu, 07-Jan-2021 14:51:21 GMT; + secure; HttpOnly Strict-Transport-Security: - max-age=15724800; Vary: @@ -290,9 +378,9 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Debug: - - nLnnBNvlCFDECRnZvzDb0z4sAO35G+IMidcAs8vrCKyjvsKWE8Yd9S3n6OjZ1qRN + - 2vDhfmOEUBStl6KJFsHicYMybqtUSJ6AfSEVJTVlECBUwTgB5ievW7vT4NcYmXtK X-Dd-Version: - - "35.4593741" + - "35.3622023" X-Frame-Options: - SAMEORIGIN status: 200 OK @@ -307,11 +395,18 @@ interactions: Dd-Operation-Id: - GetDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) - url: https://api.datadoghq.com/api/v1/dashboard/97e-w2j-vma + - terraform-provider-datadog/dev (terraform 1.15.0; terraform-cli 0.12.7-sdk) + datadog-api-client-go/1.0.0-beta.13+dev (go go1.15.4; os darwin; arch amd64) + X-Datadog-Parent-Id: + - "6806828832598169664" + X-Datadog-Sampling-Priority: + - "1" + X-Datadog-Trace-Id: + - "2739794689485606521" + url: https://api.datadoghq.com/api/v1/dashboard/p29-57k-8pd method: GET response: - body: '{"errors": ["Dashboard with ID 97e-w2j-vma not found"]}' + body: '{"errors": ["Dashboard with ID p29-57k-8pd not found"]}' headers: Cache-Control: - no-cache @@ -322,7 +417,7 @@ interactions: Content-Type: - application/json Date: - - Mon, 24 May 2021 14:19:09 GMT + - Thu, 31 Dec 2020 14:51:21 GMT Pragma: - no-cache Strict-Transport-Security: @@ -332,7 +427,7 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Version: - - "35.4593741" + - "35.3622023" X-Frame-Options: - SAMEORIGIN status: 404 Not Found diff --git a/datadog/tests/cassettes/TestAccDatadogDashboardIFrame.freeze b/datadog/tests/cassettes/TestAccDatadogDashboardIFrame.freeze index e1460e80e..e465b31e5 100644 --- a/datadog/tests/cassettes/TestAccDatadogDashboardIFrame.freeze +++ b/datadog/tests/cassettes/TestAccDatadogDashboardIFrame.freeze @@ -1 +1 @@ -2021-05-24T10:37:36.30005-04:00 \ No newline at end of file +2021-05-03T11:40:46.105451+02:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogDashboardIFrame_import.freeze b/datadog/tests/cassettes/TestAccDatadogDashboardIFrame_import.freeze index 1063387c4..797631a6e 100644 --- a/datadog/tests/cassettes/TestAccDatadogDashboardIFrame_import.freeze +++ b/datadog/tests/cassettes/TestAccDatadogDashboardIFrame_import.freeze @@ -1 +1 @@ -2021-05-24T10:37:36.291183-04:00 \ No newline at end of file +2021-05-03T11:41:05.327088+02:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogDashboardImage.freeze b/datadog/tests/cassettes/TestAccDatadogDashboardImage.freeze index 98e68d2c3..58d99d020 100644 --- a/datadog/tests/cassettes/TestAccDatadogDashboardImage.freeze +++ b/datadog/tests/cassettes/TestAccDatadogDashboardImage.freeze @@ -1 +1 @@ -2021-05-24T10:37:36.407671-04:00 \ No newline at end of file +2021-05-03T11:41:13.225832+02:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogDashboardImage_import.freeze b/datadog/tests/cassettes/TestAccDatadogDashboardImage_import.freeze index 5d59082bb..6f73a730a 100644 --- a/datadog/tests/cassettes/TestAccDatadogDashboardImage_import.freeze +++ b/datadog/tests/cassettes/TestAccDatadogDashboardImage_import.freeze @@ -1 +1 @@ -2021-05-24T10:37:36.406752-04:00 \ No newline at end of file +2021-05-03T11:41:21.605052+02:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogDashboardJSONBasicScreenboard.freeze b/datadog/tests/cassettes/TestAccDatadogDashboardJSONBasicScreenboard.freeze index 021c43205..978acd718 100644 --- a/datadog/tests/cassettes/TestAccDatadogDashboardJSONBasicScreenboard.freeze +++ b/datadog/tests/cassettes/TestAccDatadogDashboardJSONBasicScreenboard.freeze @@ -1 +1 @@ -2021-05-24T10:37:36.402428-04:00 \ No newline at end of file +2021-05-19T16:40:26.109396-04:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogDashboardJSONBasicTimeboard.freeze b/datadog/tests/cassettes/TestAccDatadogDashboardJSONBasicTimeboard.freeze index 54d5953d9..67631f021 100644 --- a/datadog/tests/cassettes/TestAccDatadogDashboardJSONBasicTimeboard.freeze +++ b/datadog/tests/cassettes/TestAccDatadogDashboardJSONBasicTimeboard.freeze @@ -1 +1 @@ -2021-05-24T10:37:36.40493-04:00 \ No newline at end of file +2021-05-19T16:40:26.109367-04:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogDashboardJSONImport.freeze b/datadog/tests/cassettes/TestAccDatadogDashboardJSONImport.freeze index 78d057ae9..fe4dbf05d 100644 --- a/datadog/tests/cassettes/TestAccDatadogDashboardJSONImport.freeze +++ b/datadog/tests/cassettes/TestAccDatadogDashboardJSONImport.freeze @@ -1 +1 @@ -2021-05-24T10:37:36.1894-04:00 \ No newline at end of file +2021-05-19T16:39:22.669441-04:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogDashboardLayoutForceNew.freeze b/datadog/tests/cassettes/TestAccDatadogDashboardLayoutForceNew.freeze index 0bcf2bbd9..6c8f5e36c 100644 --- a/datadog/tests/cassettes/TestAccDatadogDashboardLayoutForceNew.freeze +++ b/datadog/tests/cassettes/TestAccDatadogDashboardLayoutForceNew.freeze @@ -1 +1 @@ -2021-05-24T10:37:36.319479-04:00 \ No newline at end of file +2021-05-03T11:38:12.213597+02:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogDashboardListDatasource.freeze b/datadog/tests/cassettes/TestAccDatadogDashboardListDatasource.freeze index 148e243dd..96be67356 100644 --- a/datadog/tests/cassettes/TestAccDatadogDashboardListDatasource.freeze +++ b/datadog/tests/cassettes/TestAccDatadogDashboardListDatasource.freeze @@ -1 +1 @@ -2021-05-24T10:37:36.28206-04:00 \ No newline at end of file +2021-01-28T17:18:24.8916+01:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogDashboardLogStream.freeze b/datadog/tests/cassettes/TestAccDatadogDashboardLogStream.freeze index b95569aec..ecd3913b5 100644 --- a/datadog/tests/cassettes/TestAccDatadogDashboardLogStream.freeze +++ b/datadog/tests/cassettes/TestAccDatadogDashboardLogStream.freeze @@ -1 +1 @@ -2021-05-24T10:37:36.40768-04:00 \ No newline at end of file +2021-05-14T09:02:36.084132+02:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogDashboardLogStreamLogSet.freeze b/datadog/tests/cassettes/TestAccDatadogDashboardLogStreamLogSet.freeze index a81b076bc..180d284c3 100644 --- a/datadog/tests/cassettes/TestAccDatadogDashboardLogStreamLogSet.freeze +++ b/datadog/tests/cassettes/TestAccDatadogDashboardLogStreamLogSet.freeze @@ -1 +1 @@ -2021-05-24T10:37:36.405393-04:00 \ No newline at end of file +2021-05-14T09:02:36.0833+02:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogDashboardLogStreamLogSet_import.freeze b/datadog/tests/cassettes/TestAccDatadogDashboardLogStreamLogSet_import.freeze index 68515be2b..419eae5c1 100644 --- a/datadog/tests/cassettes/TestAccDatadogDashboardLogStreamLogSet_import.freeze +++ b/datadog/tests/cassettes/TestAccDatadogDashboardLogStreamLogSet_import.freeze @@ -1 +1 @@ -2021-05-24T10:37:36.397105-04:00 \ No newline at end of file +2021-05-14T09:02:36.083981+02:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogDashboardLogStream_import.freeze b/datadog/tests/cassettes/TestAccDatadogDashboardLogStream_import.freeze index 9491df68a..a6f80571f 100644 --- a/datadog/tests/cassettes/TestAccDatadogDashboardLogStream_import.freeze +++ b/datadog/tests/cassettes/TestAccDatadogDashboardLogStream_import.freeze @@ -1 +1 @@ -2021-05-24T10:37:36.398807-04:00 \ No newline at end of file +2021-05-14T09:02:36.083518+02:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogDashboardManageStatus.freeze b/datadog/tests/cassettes/TestAccDatadogDashboardManageStatus.freeze index 33adfa5f6..e17da19d3 100644 --- a/datadog/tests/cassettes/TestAccDatadogDashboardManageStatus.freeze +++ b/datadog/tests/cassettes/TestAccDatadogDashboardManageStatus.freeze @@ -1 +1 @@ -2021-05-24T10:37:36.397133-04:00 \ No newline at end of file +2021-05-03T11:42:20.12836+02:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogDashboardManageStatus_import.freeze b/datadog/tests/cassettes/TestAccDatadogDashboardManageStatus_import.freeze index b5ce32f63..d0b99be3d 100644 --- a/datadog/tests/cassettes/TestAccDatadogDashboardManageStatus_import.freeze +++ b/datadog/tests/cassettes/TestAccDatadogDashboardManageStatus_import.freeze @@ -1 +1 @@ -2021-05-24T10:37:36.394374-04:00 \ No newline at end of file +2021-05-03T11:42:36.831554+02:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogDashboardNote.freeze b/datadog/tests/cassettes/TestAccDatadogDashboardNote.freeze index cbe1cb967..3b88eb513 100644 --- a/datadog/tests/cassettes/TestAccDatadogDashboardNote.freeze +++ b/datadog/tests/cassettes/TestAccDatadogDashboardNote.freeze @@ -1 +1 @@ -2021-05-24T10:37:36.393198-04:00 \ No newline at end of file +2021-05-03T11:42:45.118614+02:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogDashboardNoteContentError.freeze b/datadog/tests/cassettes/TestAccDatadogDashboardNoteContentError.freeze index e8810582d..7006a9d73 100644 --- a/datadog/tests/cassettes/TestAccDatadogDashboardNoteContentError.freeze +++ b/datadog/tests/cassettes/TestAccDatadogDashboardNoteContentError.freeze @@ -1 +1 @@ -2021-05-24T10:37:36.198244-04:00 \ No newline at end of file +2021-05-03T11:42:44.991214+02:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogDashboardNote_import.freeze b/datadog/tests/cassettes/TestAccDatadogDashboardNote_import.freeze index fa038bedd..c83deafa4 100644 --- a/datadog/tests/cassettes/TestAccDatadogDashboardNote_import.freeze +++ b/datadog/tests/cassettes/TestAccDatadogDashboardNote_import.freeze @@ -1 +1 @@ -2021-05-24T10:37:36.392667-04:00 \ No newline at end of file +2021-05-03T11:42:52.35047+02:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogDashboardQueryTable.freeze b/datadog/tests/cassettes/TestAccDatadogDashboardQueryTable.freeze index 4e4e33812..5933add15 100644 --- a/datadog/tests/cassettes/TestAccDatadogDashboardQueryTable.freeze +++ b/datadog/tests/cassettes/TestAccDatadogDashboardQueryTable.freeze @@ -1 +1 @@ -2021-05-24T10:37:36.39171-04:00 \ No newline at end of file +2021-01-28T17:18:26.710414+01:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogDashboardQueryTable.yaml b/datadog/tests/cassettes/TestAccDatadogDashboardQueryTable.yaml index 7a5070b41..97d1a600d 100644 --- a/datadog/tests/cassettes/TestAccDatadogDashboardQueryTable.yaml +++ b/datadog/tests/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-1621866428","widgets":[{"definition":{"custom_links":[{"label":"Test Custom Link label","link":"https://app.datadoghq.com/dashboard/lists"},{"is_hidden":true,"link":"https://app.datadoghq.com/dashboard/lists","override_label":"logs"}],"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"}},{"definition":{"custom_links":[{"label":"Test Custom Link label","link":"https://app.datadoghq.com/dashboard/lists"}],"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"}}]} + {"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-1611850706","widgets":[{"definition":{"custom_links":[{"label":"Test Custom Link label","link":"https://app.datadoghq.com/dashboard/lists"}],"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"}},{"definition":{"custom_links":[{"label":"Test Custom Link label","link":"https://app.datadoghq.com/dashboard/lists"}],"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"}}]} form: {} headers: Accept: @@ -13,11 +13,27 @@ interactions: Dd-Operation-Id: - CreateDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) + - terraform-provider-datadog/dev (terraform 1.15.0; terraform-cli 0.12.7-sdk) + datadog-api-client-go/1.0.0-beta.14 (go go1.15.4; os darwin; arch amd64) + X-Datadog-Parent-Id: + - "8793205380101584558" + X-Datadog-Sampling-Priority: + - "1" + X-Datadog-Trace-Id: + - "4039463757613215528" url: https://api.datadoghq.com/api/v1/dashboard method: POST response: - body: '{"notify_list":[],"description":"Created using the Datadog provider in Terraform","restricted_roles":["043a2842-e140-11e8-bb04-7fd10177666e","08604de8-1dca-11eb-800c-9f5f55ff734d","1302282c-b93b-11eb-a436-da7ad0900002","16169788-28e4-11eb-832c-fb84162ef3eb","17d73994-7531-11eb-94b9-da7ad0900002","284d8b66-93f9-11eb-9c37-da7ad0900002","4de53192-9946-11eb-9cee-da7ad0900002","62cbc476-5c16-11eb-8e98-0388ea7a41f8","657de3a2-29f8-11eb-83b5-6b8ebfb2f184","6bf314be-5c16-11eb-8e98-2356ea436065","7a83f306-96ca-11eb-9c74-da7ad0900002","9b3ab170-b768-11eb-a45a-da7ad0900002","e82bf27a-986c-11eb-9cba-da7ad0900002","f257ba30-dbb2-11ea-a5ff-5fd1d308318a"],"author_name":"Qin Chen","template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"jqi-izu-j9c","title":"tf-TestAccDatadogDashboardQueryTable-local-1621866428","url":"/dashboard/jqi-izu-j9c/tf-testaccdatadogdashboardquerytable-local-1621866428","created_at":"2021-05-24T14:27:09.277200+00:00","modified_at":"2021-05-24T14:27:09.277200+00:00","author_handle":"qin.chen@datadoghq.com","widgets":[{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test Custom Link label"},{"override_label":"logs","is_hidden":true,"link":"https://app.datadoghq.com/dashboard/lists"}],"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":7939157875240907},{"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":8729354964050902},{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test Custom Link label"}],"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":1246600605990537}],"layout_type":"ordered"}' + body: '{"notify_list":[],"description":"Created using the Datadog provider in + Terraform","author_name":null,"template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"8zg-d7s-757","title":"tf-TestAccDatadogDashboardQueryTable-local-1611850706","url":"/dashboard/8zg-d7s-757/tf-testaccdatadogdashboardquerytable-local-1611850706","created_at":"2021-01-28T16:53:24.002488+00:00","modified_at":"2021-01-28T16:53:24.002488+00:00","author_handle":"frog@datadoghq.com","widgets":[{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test + Custom Link label"}],"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":1893447401771171},{"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":3995972679179259},{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test + Custom Link label"}],"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":1441244812108593}],"layout_type":"ordered"}' headers: Cache-Control: - no-cache @@ -28,9 +44,12 @@ interactions: Content-Type: - application/json Date: - - Mon, 24 May 2021 14:27:09 GMT + - Thu, 28 Jan 2021 16:53:26 GMT Pragma: - no-cache + Set-Cookie: + - DD-PSHARD=233; Max-Age=604800; Path=/; expires=Thu, 04-Feb-2021 16:53:23 GMT; + secure; HttpOnly Strict-Transport-Security: - max-age=15724800; Vary: @@ -38,9 +57,9 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Debug: - - LcgNasIYBRkNppmD6mCKE9J6iv0eEjosuuHR5V5zw2fWbR54i39C8dhdK8zDq/40 + - B1nwy/pPNqX+q4pQT22cdp1QCexE35IF8qwSHy0Nf7IW0Y881qtn4tXN1lpmzaKc X-Dd-Version: - - "35.4593741" + - "35.3796727" X-Frame-Options: - SAMEORIGIN status: 200 OK @@ -55,11 +74,27 @@ interactions: Dd-Operation-Id: - GetDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) - url: https://api.datadoghq.com/api/v1/dashboard/jqi-izu-j9c + - terraform-provider-datadog/dev (terraform 1.15.0; terraform-cli 0.12.7-sdk) + datadog-api-client-go/1.0.0-beta.14 (go go1.15.4; os darwin; arch amd64) + X-Datadog-Parent-Id: + - "3163355225308224934" + X-Datadog-Sampling-Priority: + - "1" + X-Datadog-Trace-Id: + - "4039463757613215528" + url: https://api.datadoghq.com/api/v1/dashboard/8zg-d7s-757 method: GET response: - body: '{"notify_list":[],"description":"Created using the Datadog provider in Terraform","restricted_roles":["284d8b66-93f9-11eb-9c37-da7ad0900002","043a2842-e140-11e8-bb04-7fd10177666e","657de3a2-29f8-11eb-83b5-6b8ebfb2f184","e82bf27a-986c-11eb-9cba-da7ad0900002","f257ba30-dbb2-11ea-a5ff-5fd1d308318a","6bf314be-5c16-11eb-8e98-2356ea436065","62cbc476-5c16-11eb-8e98-0388ea7a41f8","08604de8-1dca-11eb-800c-9f5f55ff734d","9b3ab170-b768-11eb-a45a-da7ad0900002","7a83f306-96ca-11eb-9c74-da7ad0900002","16169788-28e4-11eb-832c-fb84162ef3eb","4de53192-9946-11eb-9cee-da7ad0900002","1302282c-b93b-11eb-a436-da7ad0900002","17d73994-7531-11eb-94b9-da7ad0900002"],"author_name":"Qin Chen","template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"jqi-izu-j9c","title":"tf-TestAccDatadogDashboardQueryTable-local-1621866428","url":"/dashboard/jqi-izu-j9c/tf-testaccdatadogdashboardquerytable-local-1621866428","created_at":"2021-05-24T14:27:09.277200+00:00","modified_at":"2021-05-24T14:27:09.277200+00:00","author_handle":"qin.chen@datadoghq.com","widgets":[{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test Custom Link label"},{"override_label":"logs","is_hidden":true,"link":"https://app.datadoghq.com/dashboard/lists"}],"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":7939157875240907},{"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":8729354964050902},{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test Custom Link label"}],"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":1246600605990537}],"layout_type":"ordered"}' + body: '{"notify_list":[],"description":"Created using the Datadog provider in + Terraform","author_name":null,"template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"8zg-d7s-757","title":"tf-TestAccDatadogDashboardQueryTable-local-1611850706","url":"/dashboard/8zg-d7s-757/tf-testaccdatadogdashboardquerytable-local-1611850706","created_at":"2021-01-28T16:53:24.002488+00:00","modified_at":"2021-01-28T16:53:24.002488+00:00","author_handle":"frog@datadoghq.com","widgets":[{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test + Custom Link label"}],"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":1893447401771171},{"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":3995972679179259},{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test + Custom Link label"}],"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":1441244812108593}],"layout_type":"ordered"}' headers: Cache-Control: - no-cache @@ -70,9 +105,12 @@ interactions: Content-Type: - application/json Date: - - Mon, 24 May 2021 14:27:09 GMT + - Thu, 28 Jan 2021 16:53:27 GMT Pragma: - no-cache + Set-Cookie: + - DD-PSHARD=233; Max-Age=604800; Path=/; expires=Thu, 04-Feb-2021 16:53:26 GMT; + secure; HttpOnly Strict-Transport-Security: - max-age=15724800; Vary: @@ -80,9 +118,9 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Debug: - - HbtaOKlJ6OCrx9tMXO6ivMTrEM+g0c93HDp08trmOmgdHozC5J+vn10F0H4WPjCU + - Wjq53IVIwnB4SiR238oOYgHFMq/ZYP0LQ/Dv8C2fFLBwTje/dWJHu6pI6vIOK1zG X-Dd-Version: - - "35.4593741" + - "35.3796727" X-Frame-Options: - SAMEORIGIN status: 200 OK @@ -97,11 +135,27 @@ interactions: Dd-Operation-Id: - GetDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) - url: https://api.datadoghq.com/api/v1/dashboard/jqi-izu-j9c + - terraform-provider-datadog/dev (terraform 1.15.0; terraform-cli 0.12.7-sdk) + datadog-api-client-go/1.0.0-beta.14 (go go1.15.4; os darwin; arch amd64) + X-Datadog-Parent-Id: + - "8574705736898556086" + X-Datadog-Sampling-Priority: + - "1" + X-Datadog-Trace-Id: + - "4039463757613215528" + url: https://api.datadoghq.com/api/v1/dashboard/8zg-d7s-757 method: GET response: - body: '{"notify_list":[],"description":"Created using the Datadog provider in Terraform","restricted_roles":["284d8b66-93f9-11eb-9c37-da7ad0900002","043a2842-e140-11e8-bb04-7fd10177666e","657de3a2-29f8-11eb-83b5-6b8ebfb2f184","e82bf27a-986c-11eb-9cba-da7ad0900002","f257ba30-dbb2-11ea-a5ff-5fd1d308318a","6bf314be-5c16-11eb-8e98-2356ea436065","62cbc476-5c16-11eb-8e98-0388ea7a41f8","08604de8-1dca-11eb-800c-9f5f55ff734d","9b3ab170-b768-11eb-a45a-da7ad0900002","7a83f306-96ca-11eb-9c74-da7ad0900002","16169788-28e4-11eb-832c-fb84162ef3eb","4de53192-9946-11eb-9cee-da7ad0900002","1302282c-b93b-11eb-a436-da7ad0900002","17d73994-7531-11eb-94b9-da7ad0900002"],"author_name":"Qin Chen","template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"jqi-izu-j9c","title":"tf-TestAccDatadogDashboardQueryTable-local-1621866428","url":"/dashboard/jqi-izu-j9c/tf-testaccdatadogdashboardquerytable-local-1621866428","created_at":"2021-05-24T14:27:09.277200+00:00","modified_at":"2021-05-24T14:27:09.277200+00:00","author_handle":"qin.chen@datadoghq.com","widgets":[{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test Custom Link label"},{"override_label":"logs","is_hidden":true,"link":"https://app.datadoghq.com/dashboard/lists"}],"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":7939157875240907},{"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":8729354964050902},{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test Custom Link label"}],"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":1246600605990537}],"layout_type":"ordered"}' + body: '{"notify_list":[],"description":"Created using the Datadog provider in + Terraform","author_name":null,"template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"8zg-d7s-757","title":"tf-TestAccDatadogDashboardQueryTable-local-1611850706","url":"/dashboard/8zg-d7s-757/tf-testaccdatadogdashboardquerytable-local-1611850706","created_at":"2021-01-28T16:53:24.002488+00:00","modified_at":"2021-01-28T16:53:24.002488+00:00","author_handle":"frog@datadoghq.com","widgets":[{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test + Custom Link label"}],"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":1893447401771171},{"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":3995972679179259},{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test + Custom Link label"}],"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":1441244812108593}],"layout_type":"ordered"}' headers: Cache-Control: - no-cache @@ -112,9 +166,12 @@ interactions: Content-Type: - application/json Date: - - Mon, 24 May 2021 14:27:09 GMT + - Thu, 28 Jan 2021 16:53:31 GMT Pragma: - no-cache + Set-Cookie: + - DD-PSHARD=233; Max-Age=604800; Path=/; expires=Thu, 04-Feb-2021 16:53:31 GMT; + secure; HttpOnly Strict-Transport-Security: - max-age=15724800; Vary: @@ -122,9 +179,9 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Debug: - - 5gfwVh/5HZ+AnGd/Di93w3NEWC6KMHT9KzmHEiRJmNdOjBtAsbOcgVFyqEChw71h + - fIO2C4qGDheGHy4YbS+r3a3CXbh4cbRo7roILOimQyiHGjQdOat0cIpWCkupM1uX X-Dd-Version: - - "35.4593741" + - "35.3796727" X-Frame-Options: - SAMEORIGIN status: 200 OK @@ -139,11 +196,27 @@ interactions: Dd-Operation-Id: - GetDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) - url: https://api.datadoghq.com/api/v1/dashboard/jqi-izu-j9c + - terraform-provider-datadog/dev (terraform 1.15.0; terraform-cli 0.12.7-sdk) + datadog-api-client-go/1.0.0-beta.14 (go go1.15.4; os darwin; arch amd64) + X-Datadog-Parent-Id: + - "8440398045012381880" + X-Datadog-Sampling-Priority: + - "1" + X-Datadog-Trace-Id: + - "4039463757613215528" + url: https://api.datadoghq.com/api/v1/dashboard/8zg-d7s-757 method: GET response: - body: '{"notify_list":[],"description":"Created using the Datadog provider in Terraform","restricted_roles":["284d8b66-93f9-11eb-9c37-da7ad0900002","043a2842-e140-11e8-bb04-7fd10177666e","657de3a2-29f8-11eb-83b5-6b8ebfb2f184","e82bf27a-986c-11eb-9cba-da7ad0900002","f257ba30-dbb2-11ea-a5ff-5fd1d308318a","6bf314be-5c16-11eb-8e98-2356ea436065","62cbc476-5c16-11eb-8e98-0388ea7a41f8","08604de8-1dca-11eb-800c-9f5f55ff734d","9b3ab170-b768-11eb-a45a-da7ad0900002","7a83f306-96ca-11eb-9c74-da7ad0900002","16169788-28e4-11eb-832c-fb84162ef3eb","4de53192-9946-11eb-9cee-da7ad0900002","1302282c-b93b-11eb-a436-da7ad0900002","17d73994-7531-11eb-94b9-da7ad0900002"],"author_name":"Qin Chen","template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"jqi-izu-j9c","title":"tf-TestAccDatadogDashboardQueryTable-local-1621866428","url":"/dashboard/jqi-izu-j9c/tf-testaccdatadogdashboardquerytable-local-1621866428","created_at":"2021-05-24T14:27:09.277200+00:00","modified_at":"2021-05-24T14:27:09.277200+00:00","author_handle":"qin.chen@datadoghq.com","widgets":[{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test Custom Link label"},{"override_label":"logs","is_hidden":true,"link":"https://app.datadoghq.com/dashboard/lists"}],"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":7939157875240907},{"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":8729354964050902},{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test Custom Link label"}],"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":1246600605990537}],"layout_type":"ordered"}' + body: '{"notify_list":[],"description":"Created using the Datadog provider in + Terraform","author_name":null,"template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"8zg-d7s-757","title":"tf-TestAccDatadogDashboardQueryTable-local-1611850706","url":"/dashboard/8zg-d7s-757/tf-testaccdatadogdashboardquerytable-local-1611850706","created_at":"2021-01-28T16:53:24.002488+00:00","modified_at":"2021-01-28T16:53:24.002488+00:00","author_handle":"frog@datadoghq.com","widgets":[{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test + Custom Link label"}],"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":1893447401771171},{"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":3995972679179259},{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test + Custom Link label"}],"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":1441244812108593}],"layout_type":"ordered"}' headers: Cache-Control: - no-cache @@ -154,9 +227,12 @@ interactions: Content-Type: - application/json Date: - - Mon, 24 May 2021 14:27:10 GMT + - Thu, 28 Jan 2021 16:54:11 GMT Pragma: - no-cache + Set-Cookie: + - DD-PSHARD=233; Max-Age=604800; Path=/; expires=Thu, 04-Feb-2021 16:54:11 GMT; + secure; HttpOnly Strict-Transport-Security: - max-age=15724800; Vary: @@ -164,9 +240,9 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Debug: - - JpIJLwIH2nFlZOC+u71rq7aAOL43MLZN3MUsL+gpYHdZz5QLUOG8Jysf8kVK6tPU + - l8RQo2maZqJf6GFThBbKNE6dvthz6njusVtau3dPXJWL2RLFoN81H+BLPB/1xgs1 X-Dd-Version: - - "35.4593741" + - "35.3796727" X-Frame-Options: - SAMEORIGIN status: 200 OK @@ -181,11 +257,27 @@ interactions: Dd-Operation-Id: - GetDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) - url: https://api.datadoghq.com/api/v1/dashboard/jqi-izu-j9c + - terraform-provider-datadog/dev (terraform 1.15.0; terraform-cli 0.12.7-sdk) + datadog-api-client-go/1.0.0-beta.14 (go go1.15.4; os darwin; arch amd64) + X-Datadog-Parent-Id: + - "4135944249129305703" + X-Datadog-Sampling-Priority: + - "1" + X-Datadog-Trace-Id: + - "4039463757613215528" + url: https://api.datadoghq.com/api/v1/dashboard/8zg-d7s-757 method: GET response: - body: '{"notify_list":[],"description":"Created using the Datadog provider in Terraform","restricted_roles":["284d8b66-93f9-11eb-9c37-da7ad0900002","043a2842-e140-11e8-bb04-7fd10177666e","657de3a2-29f8-11eb-83b5-6b8ebfb2f184","e82bf27a-986c-11eb-9cba-da7ad0900002","f257ba30-dbb2-11ea-a5ff-5fd1d308318a","6bf314be-5c16-11eb-8e98-2356ea436065","62cbc476-5c16-11eb-8e98-0388ea7a41f8","08604de8-1dca-11eb-800c-9f5f55ff734d","9b3ab170-b768-11eb-a45a-da7ad0900002","7a83f306-96ca-11eb-9c74-da7ad0900002","16169788-28e4-11eb-832c-fb84162ef3eb","4de53192-9946-11eb-9cee-da7ad0900002","1302282c-b93b-11eb-a436-da7ad0900002","17d73994-7531-11eb-94b9-da7ad0900002"],"author_name":"Qin Chen","template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"jqi-izu-j9c","title":"tf-TestAccDatadogDashboardQueryTable-local-1621866428","url":"/dashboard/jqi-izu-j9c/tf-testaccdatadogdashboardquerytable-local-1621866428","created_at":"2021-05-24T14:27:09.277200+00:00","modified_at":"2021-05-24T14:27:09.277200+00:00","author_handle":"qin.chen@datadoghq.com","widgets":[{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test Custom Link label"},{"override_label":"logs","is_hidden":true,"link":"https://app.datadoghq.com/dashboard/lists"}],"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":7939157875240907},{"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":8729354964050902},{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test Custom Link label"}],"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":1246600605990537}],"layout_type":"ordered"}' + body: '{"notify_list":[],"description":"Created using the Datadog provider in + Terraform","author_name":null,"template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"8zg-d7s-757","title":"tf-TestAccDatadogDashboardQueryTable-local-1611850706","url":"/dashboard/8zg-d7s-757/tf-testaccdatadogdashboardquerytable-local-1611850706","created_at":"2021-01-28T16:53:24.002488+00:00","modified_at":"2021-01-28T16:53:24.002488+00:00","author_handle":"frog@datadoghq.com","widgets":[{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test + Custom Link label"}],"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":1893447401771171},{"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":3995972679179259},{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test + Custom Link label"}],"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":1441244812108593}],"layout_type":"ordered"}' headers: Cache-Control: - no-cache @@ -196,9 +288,12 @@ interactions: Content-Type: - application/json Date: - - Mon, 24 May 2021 14:27:10 GMT + - Thu, 28 Jan 2021 16:54:55 GMT Pragma: - no-cache + Set-Cookie: + - DD-PSHARD=233; Max-Age=604800; Path=/; expires=Thu, 04-Feb-2021 16:54:55 GMT; + secure; HttpOnly Strict-Transport-Security: - max-age=15724800; Vary: @@ -206,9 +301,9 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Debug: - - 5gfwVh/5HZ+AnGd/Di93w3NEWC6KMHT9KzmHEiRJmNdOjBtAsbOcgVFyqEChw71h + - JpIJLwIH2nFlZOC+u71rq7aAOL43MLZN3MUsL+gpYHdZz5QLUOG8Jysf8kVK6tPU X-Dd-Version: - - "35.4593741" + - "35.3796727" X-Frame-Options: - SAMEORIGIN status: 200 OK @@ -223,11 +318,18 @@ interactions: Dd-Operation-Id: - DeleteDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) - url: https://api.datadoghq.com/api/v1/dashboard/jqi-izu-j9c + - terraform-provider-datadog/dev (terraform 1.15.0; terraform-cli 0.12.7-sdk) + datadog-api-client-go/1.0.0-beta.14 (go go1.15.4; os darwin; arch amd64) + X-Datadog-Parent-Id: + - "5482077103767240987" + X-Datadog-Sampling-Priority: + - "1" + X-Datadog-Trace-Id: + - "4039463757613215528" + url: https://api.datadoghq.com/api/v1/dashboard/8zg-d7s-757 method: DELETE response: - body: '{"deleted_dashboard_id":"jqi-izu-j9c"}' + body: '{"deleted_dashboard_id":"8zg-d7s-757"}' headers: Cache-Control: - no-cache @@ -238,9 +340,12 @@ interactions: Content-Type: - application/json Date: - - Mon, 24 May 2021 14:27:11 GMT + - Thu, 28 Jan 2021 16:55:29 GMT Pragma: - no-cache + Set-Cookie: + - DD-PSHARD=233; Max-Age=604800; Path=/; expires=Thu, 04-Feb-2021 16:55:29 GMT; + secure; HttpOnly Strict-Transport-Security: - max-age=15724800; Vary: @@ -248,9 +353,9 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Debug: - - gYZcaADwbKcv7Hm19HJx6WsLoKuOijDWAt2viPeCfWqUgyKY+9e1xZdmMJeXV3YV + - JpIJLwIH2nFlZOC+u71rq7aAOL43MLZN3MUsL+gpYHdZz5QLUOG8Jysf8kVK6tPU X-Dd-Version: - - "35.4593741" + - "35.3796727" X-Frame-Options: - SAMEORIGIN status: 200 OK @@ -265,11 +370,18 @@ interactions: Dd-Operation-Id: - GetDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) - url: https://api.datadoghq.com/api/v1/dashboard/jqi-izu-j9c + - terraform-provider-datadog/dev (terraform 1.15.0; terraform-cli 0.12.7-sdk) + datadog-api-client-go/1.0.0-beta.14 (go go1.15.4; os darwin; arch amd64) + X-Datadog-Parent-Id: + - "8706400379738087899" + X-Datadog-Sampling-Priority: + - "1" + X-Datadog-Trace-Id: + - "4039463757613215528" + url: https://api.datadoghq.com/api/v1/dashboard/8zg-d7s-757 method: GET response: - body: '{"errors": ["Dashboard with ID jqi-izu-j9c not found"]}' + body: '{"errors": ["Dashboard with ID 8zg-d7s-757 not found"]}' headers: Cache-Control: - no-cache @@ -280,7 +392,7 @@ interactions: Content-Type: - application/json Date: - - Mon, 24 May 2021 14:27:11 GMT + - Thu, 28 Jan 2021 16:55:33 GMT Pragma: - no-cache Strict-Transport-Security: @@ -290,7 +402,7 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Version: - - "35.4593741" + - "35.3796727" X-Frame-Options: - SAMEORIGIN status: 404 Not Found diff --git a/datadog/tests/cassettes/TestAccDatadogDashboardQueryTable_import.freeze b/datadog/tests/cassettes/TestAccDatadogDashboardQueryTable_import.freeze index fd2cfe6e4..46e361f93 100644 --- a/datadog/tests/cassettes/TestAccDatadogDashboardQueryTable_import.freeze +++ b/datadog/tests/cassettes/TestAccDatadogDashboardQueryTable_import.freeze @@ -1 +1 @@ -2021-05-24T10:37:36.391114-04:00 \ No newline at end of file +2020-12-31T15:42:08.733512+01:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogDashboardQueryTable_import.yaml b/datadog/tests/cassettes/TestAccDatadogDashboardQueryTable_import.yaml index 9164331ad..d07be9163 100644 --- a/datadog/tests/cassettes/TestAccDatadogDashboardQueryTable_import.yaml +++ b/datadog/tests/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-1621866428","widgets":[{"definition":{"custom_links":[{"label":"Test Custom Link label","link":"https://app.datadoghq.com/dashboard/lists"}],"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"}}]} + {"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-1609425728","widgets":[{"definition":{"custom_links":[{"label":"Test Custom Link label","link":"https://app.datadoghq.com/dashboard/lists"}],"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: @@ -13,11 +13,23 @@ interactions: Dd-Operation-Id: - CreateDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) + - terraform-provider-datadog/dev (terraform 1.15.0; terraform-cli 0.12.7-sdk) + datadog-api-client-go/1.0.0-beta.13+dev (go go1.15.4; os darwin; arch amd64) + X-Datadog-Parent-Id: + - "2588213728048144463" + X-Datadog-Sampling-Priority: + - "1" + X-Datadog-Trace-Id: + - "818246369330373136" url: https://api.datadoghq.com/api/v1/dashboard method: POST response: - body: '{"notify_list":[],"description":"Created using the Datadog provider in Terraform","restricted_roles":["043a2842-e140-11e8-bb04-7fd10177666e","08604de8-1dca-11eb-800c-9f5f55ff734d","1302282c-b93b-11eb-a436-da7ad0900002","16169788-28e4-11eb-832c-fb84162ef3eb","17d73994-7531-11eb-94b9-da7ad0900002","284d8b66-93f9-11eb-9c37-da7ad0900002","4de53192-9946-11eb-9cee-da7ad0900002","62cbc476-5c16-11eb-8e98-0388ea7a41f8","657de3a2-29f8-11eb-83b5-6b8ebfb2f184","6bf314be-5c16-11eb-8e98-2356ea436065","7a83f306-96ca-11eb-9c74-da7ad0900002","9b3ab170-b768-11eb-a45a-da7ad0900002","e82bf27a-986c-11eb-9cba-da7ad0900002","f257ba30-dbb2-11ea-a5ff-5fd1d308318a"],"author_name":"Qin Chen","template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"hn7-kj3-4qc","title":"tf-TestAccDatadogDashboardQueryTable_import-local-1621866428","url":"/dashboard/hn7-kj3-4qc/tf-testaccdatadogdashboardquerytableimport-local-1621866428","created_at":"2021-05-24T14:27:09.269639+00:00","modified_at":"2021-05-24T14:27:09.269639+00:00","author_handle":"qin.chen@datadoghq.com","widgets":[{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test Custom Link label"}],"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":4393119968061687},{"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":2908359000708043}],"layout_type":"ordered"}' + body: '{"notify_list":[],"description":"Created using the Datadog provider in + Terraform","author_name":null,"template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"rfs-j7f-z3w","title":"tf-TestAccDatadogDashboardQueryTable_import-local-1609425728","url":"/dashboard/rfs-j7f-z3w/tf-testaccdatadogdashboardquerytableimport-local-1609425728","created_at":"2020-12-31T14:48:35.445038+00:00","modified_at":"2020-12-31T14:48:35.445038+00:00","author_handle":"frog@datadoghq.com","widgets":[{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test + Custom Link label"}],"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":6371468778699834},{"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":2642202490964359}],"layout_type":"ordered"}' headers: Cache-Control: - no-cache @@ -28,9 +40,12 @@ interactions: Content-Type: - application/json Date: - - Mon, 24 May 2021 14:27:09 GMT + - Thu, 31 Dec 2020 14:48:37 GMT Pragma: - no-cache + Set-Cookie: + - DD-PSHARD=233; Max-Age=604800; Path=/; expires=Thu, 07-Jan-2021 14:48:35 GMT; + secure; HttpOnly Strict-Transport-Security: - max-age=15724800; Vary: @@ -38,9 +53,9 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Debug: - - Um4CoU685QqAscnxhS5BD+goWu2yX1Jd4zCfGzSsEvPPIm1qURZaF8dlLl/OEY4I + - QgQu/iPnCQXRgWPQKBm0M4xipFcbwl50MnRHSjKNayyZv/6KjuJNpOhY5+udaeL8 X-Dd-Version: - - "35.4593741" + - "35.3622023" X-Frame-Options: - SAMEORIGIN status: 200 OK @@ -55,11 +70,23 @@ interactions: Dd-Operation-Id: - GetDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) - url: https://api.datadoghq.com/api/v1/dashboard/hn7-kj3-4qc + - terraform-provider-datadog/dev (terraform 1.15.0; terraform-cli 0.12.7-sdk) + datadog-api-client-go/1.0.0-beta.13+dev (go go1.15.4; os darwin; arch amd64) + X-Datadog-Parent-Id: + - "8839388325963418503" + X-Datadog-Sampling-Priority: + - "1" + X-Datadog-Trace-Id: + - "818246369330373136" + url: https://api.datadoghq.com/api/v1/dashboard/rfs-j7f-z3w method: GET response: - body: '{"notify_list":[],"description":"Created using the Datadog provider in Terraform","restricted_roles":["284d8b66-93f9-11eb-9c37-da7ad0900002","043a2842-e140-11e8-bb04-7fd10177666e","657de3a2-29f8-11eb-83b5-6b8ebfb2f184","e82bf27a-986c-11eb-9cba-da7ad0900002","f257ba30-dbb2-11ea-a5ff-5fd1d308318a","6bf314be-5c16-11eb-8e98-2356ea436065","62cbc476-5c16-11eb-8e98-0388ea7a41f8","08604de8-1dca-11eb-800c-9f5f55ff734d","9b3ab170-b768-11eb-a45a-da7ad0900002","7a83f306-96ca-11eb-9c74-da7ad0900002","16169788-28e4-11eb-832c-fb84162ef3eb","4de53192-9946-11eb-9cee-da7ad0900002","1302282c-b93b-11eb-a436-da7ad0900002","17d73994-7531-11eb-94b9-da7ad0900002"],"author_name":"Qin Chen","template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"hn7-kj3-4qc","title":"tf-TestAccDatadogDashboardQueryTable_import-local-1621866428","url":"/dashboard/hn7-kj3-4qc/tf-testaccdatadogdashboardquerytableimport-local-1621866428","created_at":"2021-05-24T14:27:09.269639+00:00","modified_at":"2021-05-24T14:27:09.269639+00:00","author_handle":"qin.chen@datadoghq.com","widgets":[{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test Custom Link label"}],"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":4393119968061687},{"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":2908359000708043}],"layout_type":"ordered"}' + body: '{"notify_list":[],"description":"Created using the Datadog provider in + Terraform","author_name":null,"template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"rfs-j7f-z3w","title":"tf-TestAccDatadogDashboardQueryTable_import-local-1609425728","url":"/dashboard/rfs-j7f-z3w/tf-testaccdatadogdashboardquerytableimport-local-1609425728","created_at":"2020-12-31T14:48:35.445038+00:00","modified_at":"2020-12-31T14:48:35.445038+00:00","author_handle":"frog@datadoghq.com","widgets":[{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test + Custom Link label"}],"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":6371468778699834},{"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":2642202490964359}],"layout_type":"ordered"}' headers: Cache-Control: - no-cache @@ -70,9 +97,12 @@ interactions: Content-Type: - application/json Date: - - Mon, 24 May 2021 14:27:09 GMT + - Thu, 31 Dec 2020 14:48:38 GMT Pragma: - no-cache + Set-Cookie: + - DD-PSHARD=233; Max-Age=604800; Path=/; expires=Thu, 07-Jan-2021 14:48:37 GMT; + secure; HttpOnly Strict-Transport-Security: - max-age=15724800; Vary: @@ -80,9 +110,9 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Debug: - - HbtaOKlJ6OCrx9tMXO6ivMTrEM+g0c93HDp08trmOmgdHozC5J+vn10F0H4WPjCU + - VbuXVkM6abYwIF9A0EUx/hxlOb2fUYUuj3PZZOBGVUtLSPf9Jpa+BbRUppU4yJ6y X-Dd-Version: - - "35.4593741" + - "35.3622023" X-Frame-Options: - SAMEORIGIN status: 200 OK @@ -97,11 +127,23 @@ interactions: Dd-Operation-Id: - GetDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) - url: https://api.datadoghq.com/api/v1/dashboard/hn7-kj3-4qc + - terraform-provider-datadog/dev (terraform 1.15.0; terraform-cli 0.12.7-sdk) + datadog-api-client-go/1.0.0-beta.13+dev (go go1.15.4; os darwin; arch amd64) + X-Datadog-Parent-Id: + - "1581430682514189755" + X-Datadog-Sampling-Priority: + - "1" + X-Datadog-Trace-Id: + - "818246369330373136" + url: https://api.datadoghq.com/api/v1/dashboard/rfs-j7f-z3w method: GET response: - body: '{"notify_list":[],"description":"Created using the Datadog provider in Terraform","restricted_roles":["284d8b66-93f9-11eb-9c37-da7ad0900002","043a2842-e140-11e8-bb04-7fd10177666e","657de3a2-29f8-11eb-83b5-6b8ebfb2f184","e82bf27a-986c-11eb-9cba-da7ad0900002","f257ba30-dbb2-11ea-a5ff-5fd1d308318a","6bf314be-5c16-11eb-8e98-2356ea436065","62cbc476-5c16-11eb-8e98-0388ea7a41f8","08604de8-1dca-11eb-800c-9f5f55ff734d","9b3ab170-b768-11eb-a45a-da7ad0900002","7a83f306-96ca-11eb-9c74-da7ad0900002","16169788-28e4-11eb-832c-fb84162ef3eb","4de53192-9946-11eb-9cee-da7ad0900002","1302282c-b93b-11eb-a436-da7ad0900002","17d73994-7531-11eb-94b9-da7ad0900002"],"author_name":"Qin Chen","template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"hn7-kj3-4qc","title":"tf-TestAccDatadogDashboardQueryTable_import-local-1621866428","url":"/dashboard/hn7-kj3-4qc/tf-testaccdatadogdashboardquerytableimport-local-1621866428","created_at":"2021-05-24T14:27:09.269639+00:00","modified_at":"2021-05-24T14:27:09.269639+00:00","author_handle":"qin.chen@datadoghq.com","widgets":[{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test Custom Link label"}],"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":4393119968061687},{"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":2908359000708043}],"layout_type":"ordered"}' + body: '{"notify_list":[],"description":"Created using the Datadog provider in + Terraform","author_name":null,"template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"rfs-j7f-z3w","title":"tf-TestAccDatadogDashboardQueryTable_import-local-1609425728","url":"/dashboard/rfs-j7f-z3w/tf-testaccdatadogdashboardquerytableimport-local-1609425728","created_at":"2020-12-31T14:48:35.445038+00:00","modified_at":"2020-12-31T14:48:35.445038+00:00","author_handle":"frog@datadoghq.com","widgets":[{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test + Custom Link label"}],"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":6371468778699834},{"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":2642202490964359}],"layout_type":"ordered"}' headers: Cache-Control: - no-cache @@ -112,9 +154,12 @@ interactions: Content-Type: - application/json Date: - - Mon, 24 May 2021 14:27:10 GMT + - Thu, 31 Dec 2020 14:48:45 GMT Pragma: - no-cache + Set-Cookie: + - DD-PSHARD=233; Max-Age=604800; Path=/; expires=Thu, 07-Jan-2021 14:48:45 GMT; + secure; HttpOnly Strict-Transport-Security: - max-age=15724800; Vary: @@ -122,9 +167,9 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Debug: - - dCmL/3rURV6BPeaqeP3Rxigq41m5CAb17XjrRE42uZ01zpr07HVhbL5/3TWMkvgu + - kz7POzMRR1DtZrw59X15p2pAWXtFgVtBoSlzXFcGszy5lhwGx7f8GB820VUZODrm X-Dd-Version: - - "35.4593741" + - "35.3622023" X-Frame-Options: - SAMEORIGIN status: 200 OK @@ -139,11 +184,23 @@ interactions: Dd-Operation-Id: - GetDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) - url: https://api.datadoghq.com/api/v1/dashboard/hn7-kj3-4qc + - terraform-provider-datadog/dev (terraform 1.15.0; terraform-cli 0.12.7-sdk) + datadog-api-client-go/1.0.0-beta.13+dev (go go1.15.4; os darwin; arch amd64) + X-Datadog-Parent-Id: + - "3302742889560888471" + X-Datadog-Sampling-Priority: + - "1" + X-Datadog-Trace-Id: + - "818246369330373136" + url: https://api.datadoghq.com/api/v1/dashboard/rfs-j7f-z3w method: GET response: - body: '{"notify_list":[],"description":"Created using the Datadog provider in Terraform","restricted_roles":["284d8b66-93f9-11eb-9c37-da7ad0900002","043a2842-e140-11e8-bb04-7fd10177666e","657de3a2-29f8-11eb-83b5-6b8ebfb2f184","e82bf27a-986c-11eb-9cba-da7ad0900002","f257ba30-dbb2-11ea-a5ff-5fd1d308318a","6bf314be-5c16-11eb-8e98-2356ea436065","62cbc476-5c16-11eb-8e98-0388ea7a41f8","08604de8-1dca-11eb-800c-9f5f55ff734d","9b3ab170-b768-11eb-a45a-da7ad0900002","7a83f306-96ca-11eb-9c74-da7ad0900002","16169788-28e4-11eb-832c-fb84162ef3eb","4de53192-9946-11eb-9cee-da7ad0900002","1302282c-b93b-11eb-a436-da7ad0900002","17d73994-7531-11eb-94b9-da7ad0900002"],"author_name":"Qin Chen","template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"hn7-kj3-4qc","title":"tf-TestAccDatadogDashboardQueryTable_import-local-1621866428","url":"/dashboard/hn7-kj3-4qc/tf-testaccdatadogdashboardquerytableimport-local-1621866428","created_at":"2021-05-24T14:27:09.269639+00:00","modified_at":"2021-05-24T14:27:09.269639+00:00","author_handle":"qin.chen@datadoghq.com","widgets":[{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test Custom Link label"}],"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":4393119968061687},{"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":2908359000708043}],"layout_type":"ordered"}' + body: '{"notify_list":[],"description":"Created using the Datadog provider in + Terraform","author_name":null,"template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"rfs-j7f-z3w","title":"tf-TestAccDatadogDashboardQueryTable_import-local-1609425728","url":"/dashboard/rfs-j7f-z3w/tf-testaccdatadogdashboardquerytableimport-local-1609425728","created_at":"2020-12-31T14:48:35.445038+00:00","modified_at":"2020-12-31T14:48:35.445038+00:00","author_handle":"frog@datadoghq.com","widgets":[{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test + Custom Link label"}],"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":6371468778699834},{"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":2642202490964359}],"layout_type":"ordered"}' headers: Cache-Control: - no-cache @@ -154,9 +211,12 @@ interactions: Content-Type: - application/json Date: - - Mon, 24 May 2021 14:27:10 GMT + - Thu, 31 Dec 2020 14:48:51 GMT Pragma: - no-cache + Set-Cookie: + - DD-PSHARD=233; Max-Age=604800; Path=/; expires=Thu, 07-Jan-2021 14:48:51 GMT; + secure; HttpOnly Strict-Transport-Security: - max-age=15724800; Vary: @@ -164,9 +224,9 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Debug: - - mNzaoDhdDKO7t4QSrAe5X7pHd0bJND187D+vRbwoluXouE2m1UaQQX0RGCvRpLVE + - motUb+3MrSbL60qP2VQvKfticEMFw/ITb9aZ1t0IvCT8MphWULXKj1d6mnYOkJDn X-Dd-Version: - - "35.4593741" + - "35.3622023" X-Frame-Options: - SAMEORIGIN status: 200 OK @@ -181,11 +241,23 @@ interactions: Dd-Operation-Id: - GetDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) - url: https://api.datadoghq.com/api/v1/dashboard/hn7-kj3-4qc + - terraform-provider-datadog/dev (terraform 1.15.0; terraform-cli 0.12.7-sdk) + datadog-api-client-go/1.0.0-beta.13+dev (go go1.15.4; os darwin; arch amd64) + X-Datadog-Parent-Id: + - "5921398266116834616" + X-Datadog-Sampling-Priority: + - "1" + X-Datadog-Trace-Id: + - "818246369330373136" + url: https://api.datadoghq.com/api/v1/dashboard/rfs-j7f-z3w method: GET response: - body: '{"notify_list":[],"description":"Created using the Datadog provider in Terraform","restricted_roles":["284d8b66-93f9-11eb-9c37-da7ad0900002","043a2842-e140-11e8-bb04-7fd10177666e","657de3a2-29f8-11eb-83b5-6b8ebfb2f184","e82bf27a-986c-11eb-9cba-da7ad0900002","f257ba30-dbb2-11ea-a5ff-5fd1d308318a","6bf314be-5c16-11eb-8e98-2356ea436065","62cbc476-5c16-11eb-8e98-0388ea7a41f8","08604de8-1dca-11eb-800c-9f5f55ff734d","9b3ab170-b768-11eb-a45a-da7ad0900002","7a83f306-96ca-11eb-9c74-da7ad0900002","16169788-28e4-11eb-832c-fb84162ef3eb","4de53192-9946-11eb-9cee-da7ad0900002","1302282c-b93b-11eb-a436-da7ad0900002","17d73994-7531-11eb-94b9-da7ad0900002"],"author_name":"Qin Chen","template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"hn7-kj3-4qc","title":"tf-TestAccDatadogDashboardQueryTable_import-local-1621866428","url":"/dashboard/hn7-kj3-4qc/tf-testaccdatadogdashboardquerytableimport-local-1621866428","created_at":"2021-05-24T14:27:09.269639+00:00","modified_at":"2021-05-24T14:27:09.269639+00:00","author_handle":"qin.chen@datadoghq.com","widgets":[{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test Custom Link label"}],"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":4393119968061687},{"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":2908359000708043}],"layout_type":"ordered"}' + body: '{"notify_list":[],"description":"Created using the Datadog provider in + Terraform","author_name":null,"template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"rfs-j7f-z3w","title":"tf-TestAccDatadogDashboardQueryTable_import-local-1609425728","url":"/dashboard/rfs-j7f-z3w/tf-testaccdatadogdashboardquerytableimport-local-1609425728","created_at":"2020-12-31T14:48:35.445038+00:00","modified_at":"2020-12-31T14:48:35.445038+00:00","author_handle":"frog@datadoghq.com","widgets":[{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test + Custom Link label"}],"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":6371468778699834},{"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":2642202490964359}],"layout_type":"ordered"}' headers: Cache-Control: - no-cache @@ -196,9 +268,12 @@ interactions: Content-Type: - application/json Date: - - Mon, 24 May 2021 14:27:10 GMT + - Thu, 31 Dec 2020 14:48:52 GMT Pragma: - no-cache + Set-Cookie: + - DD-PSHARD=233; Max-Age=604800; Path=/; expires=Thu, 07-Jan-2021 14:48:52 GMT; + secure; HttpOnly Strict-Transport-Security: - max-age=15724800; Vary: @@ -206,9 +281,9 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Debug: - - gYZcaADwbKcv7Hm19HJx6WsLoKuOijDWAt2viPeCfWqUgyKY+9e1xZdmMJeXV3YV + - 2vDhfmOEUBStl6KJFsHicYMybqtUSJ6AfSEVJTVlECBUwTgB5ievW7vT4NcYmXtK X-Dd-Version: - - "35.4593741" + - "35.3622023" X-Frame-Options: - SAMEORIGIN status: 200 OK @@ -223,11 +298,23 @@ interactions: Dd-Operation-Id: - GetDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) - url: https://api.datadoghq.com/api/v1/dashboard/hn7-kj3-4qc + - terraform-provider-datadog/dev (terraform 1.15.0; terraform-cli 0.12.7-sdk) + datadog-api-client-go/1.0.0-beta.13+dev (go go1.15.4; os darwin; arch amd64) + X-Datadog-Parent-Id: + - "5620322239328072346" + X-Datadog-Sampling-Priority: + - "1" + X-Datadog-Trace-Id: + - "818246369330373136" + url: https://api.datadoghq.com/api/v1/dashboard/rfs-j7f-z3w method: GET response: - body: '{"notify_list":[],"description":"Created using the Datadog provider in Terraform","restricted_roles":["284d8b66-93f9-11eb-9c37-da7ad0900002","043a2842-e140-11e8-bb04-7fd10177666e","657de3a2-29f8-11eb-83b5-6b8ebfb2f184","e82bf27a-986c-11eb-9cba-da7ad0900002","f257ba30-dbb2-11ea-a5ff-5fd1d308318a","6bf314be-5c16-11eb-8e98-2356ea436065","62cbc476-5c16-11eb-8e98-0388ea7a41f8","08604de8-1dca-11eb-800c-9f5f55ff734d","9b3ab170-b768-11eb-a45a-da7ad0900002","7a83f306-96ca-11eb-9c74-da7ad0900002","16169788-28e4-11eb-832c-fb84162ef3eb","4de53192-9946-11eb-9cee-da7ad0900002","1302282c-b93b-11eb-a436-da7ad0900002","17d73994-7531-11eb-94b9-da7ad0900002"],"author_name":"Qin Chen","template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"hn7-kj3-4qc","title":"tf-TestAccDatadogDashboardQueryTable_import-local-1621866428","url":"/dashboard/hn7-kj3-4qc/tf-testaccdatadogdashboardquerytableimport-local-1621866428","created_at":"2021-05-24T14:27:09.269639+00:00","modified_at":"2021-05-24T14:27:09.269639+00:00","author_handle":"qin.chen@datadoghq.com","widgets":[{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test Custom Link label"}],"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":4393119968061687},{"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":2908359000708043}],"layout_type":"ordered"}' + body: '{"notify_list":[],"description":"Created using the Datadog provider in + Terraform","author_name":null,"template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"rfs-j7f-z3w","title":"tf-TestAccDatadogDashboardQueryTable_import-local-1609425728","url":"/dashboard/rfs-j7f-z3w/tf-testaccdatadogdashboardquerytableimport-local-1609425728","created_at":"2020-12-31T14:48:35.445038+00:00","modified_at":"2020-12-31T14:48:35.445038+00:00","author_handle":"frog@datadoghq.com","widgets":[{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test + Custom Link label"}],"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":6371468778699834},{"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":2642202490964359}],"layout_type":"ordered"}' headers: Cache-Control: - no-cache @@ -238,9 +325,12 @@ interactions: Content-Type: - application/json Date: - - Mon, 24 May 2021 14:27:11 GMT + - Thu, 31 Dec 2020 14:48:55 GMT Pragma: - no-cache + Set-Cookie: + - DD-PSHARD=233; Max-Age=604800; Path=/; expires=Thu, 07-Jan-2021 14:48:55 GMT; + secure; HttpOnly Strict-Transport-Security: - max-age=15724800; Vary: @@ -248,9 +338,9 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Debug: - - JpIJLwIH2nFlZOC+u71rq7aAOL43MLZN3MUsL+gpYHdZz5QLUOG8Jysf8kVK6tPU + - Eb2J7DZKGMCxUULFPVCE5N014uh3tvnvHgnaA7NVroaoqvWd6z7v+RZklq5100Rp X-Dd-Version: - - "35.4593741" + - "35.3622023" X-Frame-Options: - SAMEORIGIN status: 200 OK @@ -265,11 +355,18 @@ interactions: Dd-Operation-Id: - DeleteDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) - url: https://api.datadoghq.com/api/v1/dashboard/hn7-kj3-4qc + - terraform-provider-datadog/dev (terraform 1.15.0; terraform-cli 0.12.7-sdk) + datadog-api-client-go/1.0.0-beta.13+dev (go go1.15.4; os darwin; arch amd64) + X-Datadog-Parent-Id: + - "587203187233318342" + X-Datadog-Sampling-Priority: + - "1" + X-Datadog-Trace-Id: + - "818246369330373136" + url: https://api.datadoghq.com/api/v1/dashboard/rfs-j7f-z3w method: DELETE response: - body: '{"deleted_dashboard_id":"hn7-kj3-4qc"}' + body: '{"deleted_dashboard_id":"rfs-j7f-z3w"}' headers: Cache-Control: - no-cache @@ -280,9 +377,12 @@ interactions: Content-Type: - application/json Date: - - Mon, 24 May 2021 14:27:11 GMT + - Thu, 31 Dec 2020 14:49:00 GMT Pragma: - no-cache + Set-Cookie: + - DD-PSHARD=233; Max-Age=604800; Path=/; expires=Thu, 07-Jan-2021 14:48:59 GMT; + secure; HttpOnly Strict-Transport-Security: - max-age=15724800; Vary: @@ -290,9 +390,9 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Debug: - - LcgNasIYBRkNppmD6mCKE9J6iv0eEjosuuHR5V5zw2fWbR54i39C8dhdK8zDq/40 + - 5H2EXEXOPQC4s7BfWBFjlM6rKywFNh1Cf33eK1xYuPFdBfR+3y2m7Dyr75gZ4kw1 X-Dd-Version: - - "35.4593741" + - "35.3622023" X-Frame-Options: - SAMEORIGIN status: 200 OK @@ -307,11 +407,18 @@ interactions: Dd-Operation-Id: - GetDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) - url: https://api.datadoghq.com/api/v1/dashboard/hn7-kj3-4qc + - terraform-provider-datadog/dev (terraform 1.15.0; terraform-cli 0.12.7-sdk) + datadog-api-client-go/1.0.0-beta.13+dev (go go1.15.4; os darwin; arch amd64) + X-Datadog-Parent-Id: + - "2626856029091684221" + X-Datadog-Sampling-Priority: + - "1" + X-Datadog-Trace-Id: + - "818246369330373136" + url: https://api.datadoghq.com/api/v1/dashboard/rfs-j7f-z3w method: GET response: - body: '{"errors": ["Dashboard with ID hn7-kj3-4qc not found"]}' + body: '{"errors": ["Dashboard with ID rfs-j7f-z3w not found"]}' headers: Cache-Control: - no-cache @@ -322,7 +429,7 @@ interactions: Content-Type: - application/json Date: - - Mon, 24 May 2021 14:27:11 GMT + - Thu, 31 Dec 2020 14:49:00 GMT Pragma: - no-cache Strict-Transport-Security: @@ -332,7 +439,7 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Version: - - "35.4593741" + - "35.3622023" X-Frame-Options: - SAMEORIGIN status: 404 Not Found diff --git a/datadog/tests/cassettes/TestAccDatadogDashboardQueryValue.freeze b/datadog/tests/cassettes/TestAccDatadogDashboardQueryValue.freeze index 125bc1d96..a46e9f109 100644 --- a/datadog/tests/cassettes/TestAccDatadogDashboardQueryValue.freeze +++ b/datadog/tests/cassettes/TestAccDatadogDashboardQueryValue.freeze @@ -1 +1 @@ -2021-05-24T10:37:36.389897-04:00 \ No newline at end of file +2021-01-28T17:18:26.717647+01:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogDashboardQueryValue.yaml b/datadog/tests/cassettes/TestAccDatadogDashboardQueryValue.yaml index d86ee9832..c5f515ad2 100644 --- a/datadog/tests/cassettes/TestAccDatadogDashboardQueryValue.yaml +++ b/datadog/tests/cassettes/TestAccDatadogDashboardQueryValue.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-TestAccDatadogDashboardQueryValue-local-1621866546","widgets":[{"definition":{"autoscale":true,"custom_links":[{"label":"Test Custom Link label","link":"https://app.datadoghq.com/dashboard/lists"},{"is_hidden":true,"link":"https://app.datadoghq.com/dashboard/lists","override_label":"logs"}],"custom_unit":"Gib","precision":3,"requests":[{"aggregator":"max","conditional_formats":[{"comparator":"\u003c","hide_value":false,"palette":"white_on_red","value":9},{"comparator":"\u003e=","hide_value":false,"palette":"white_on_green","value":9}],"q":"avg:system.mem.free{account:prod}"}],"time":{"live_span":"1h"},"title":"Avg of system.mem.free over account:prod","title_align":"center","title_size":"16","type":"query_value"}},{"definition":{"autoscale":true,"custom_links":[{"label":"Test Custom Link label","link":"https://app.datadoghq.com/dashboard/lists"}],"custom_unit":"Gib","precision":3,"requests":[{"aggregator":"max","conditional_formats":[{"comparator":"\u003c","hide_value":false,"palette":"white_on_red","value":9},{"comparator":"\u003e=","hide_value":false,"palette":"white_on_green","value":9}],"q":"avg:system.mem.free{account:prod}"}],"time":{"live_span":"1h"},"title":"Avg of system.mem.free over account:prod","title_align":"center","title_size":"16","type":"query_value"}}]} + {"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-TestAccDatadogDashboardQueryValue-local-1611850706","widgets":[{"definition":{"autoscale":true,"custom_links":[{"label":"Test Custom Link label","link":"https://app.datadoghq.com/dashboard/lists"}],"custom_unit":"Gib","precision":3,"requests":[{"aggregator":"max","conditional_formats":[{"comparator":"\u003c","hide_value":false,"palette":"white_on_red","value":9},{"comparator":"\u003e=","hide_value":false,"palette":"white_on_green","value":9}],"q":"avg:system.mem.free{account:prod}"}],"time":{"live_span":"1h"},"title":"Avg of system.mem.free over account:prod","title_align":"center","title_size":"16","type":"query_value"}},{"definition":{"autoscale":true,"custom_links":[{"label":"Test Custom Link label","link":"https://app.datadoghq.com/dashboard/lists"}],"custom_unit":"Gib","precision":3,"requests":[{"aggregator":"max","conditional_formats":[{"comparator":"\u003c","hide_value":false,"palette":"white_on_red","value":9},{"comparator":"\u003e=","hide_value":false,"palette":"white_on_green","value":9}],"q":"avg:system.mem.free{account:prod}"}],"time":{"live_span":"1h"},"title":"Avg of system.mem.free over account:prod","title_align":"center","title_size":"16","type":"query_value"}}]} form: {} headers: Accept: @@ -13,11 +13,21 @@ interactions: Dd-Operation-Id: - CreateDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) + - terraform-provider-datadog/dev (terraform 1.15.0; terraform-cli 0.12.7-sdk) + datadog-api-client-go/1.0.0-beta.14 (go go1.15.4; os darwin; arch amd64) + X-Datadog-Parent-Id: + - "2202314009423799226" + X-Datadog-Sampling-Priority: + - "1" + X-Datadog-Trace-Id: + - "397224732840668741" url: https://api.datadoghq.com/api/v1/dashboard method: POST response: - body: '{"notify_list":[],"description":"Created using the Datadog provider in Terraform","restricted_roles":["043a2842-e140-11e8-bb04-7fd10177666e","08604de8-1dca-11eb-800c-9f5f55ff734d","1302282c-b93b-11eb-a436-da7ad0900002","16169788-28e4-11eb-832c-fb84162ef3eb","17d73994-7531-11eb-94b9-da7ad0900002","284d8b66-93f9-11eb-9c37-da7ad0900002","4de53192-9946-11eb-9cee-da7ad0900002","62cbc476-5c16-11eb-8e98-0388ea7a41f8","657de3a2-29f8-11eb-83b5-6b8ebfb2f184","6bf314be-5c16-11eb-8e98-2356ea436065","7a83f306-96ca-11eb-9c74-da7ad0900002","9b3ab170-b768-11eb-a45a-da7ad0900002","e82bf27a-986c-11eb-9cba-da7ad0900002","f257ba30-dbb2-11ea-a5ff-5fd1d308318a"],"author_name":"Qin Chen","template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"s83-apt-4te","title":"tf-TestAccDatadogDashboardQueryValue-local-1621866546","url":"/dashboard/s83-apt-4te/tf-testaccdatadogdashboardqueryvalue-local-1621866546","created_at":"2021-05-24T14:29:08.010427+00:00","modified_at":"2021-05-24T14:29:08.010427+00:00","author_handle":"qin.chen@datadoghq.com","widgets":[{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test Custom Link label"},{"override_label":"logs","is_hidden":true,"link":"https://app.datadoghq.com/dashboard/lists"}],"autoscale":true,"title":"Avg of system.mem.free over account:prod","title_align":"center","custom_unit":"Gib","precision":3,"time":{"live_span":"1h"},"title_size":"16","requests":[{"q":"avg:system.mem.free{account:prod}","aggregator":"max","conditional_formats":[{"palette":"white_on_red","hide_value":false,"value":9,"comparator":"<"},{"palette":"white_on_green","hide_value":false,"value":9,"comparator":">="}]}],"type":"query_value"},"id":8097641153429972},{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test Custom Link label"}],"autoscale":true,"title":"Avg of system.mem.free over account:prod","title_align":"center","custom_unit":"Gib","precision":3,"time":{"live_span":"1h"},"title_size":"16","requests":[{"q":"avg:system.mem.free{account:prod}","aggregator":"max","conditional_formats":[{"palette":"white_on_red","hide_value":false,"value":9,"comparator":"<"},{"palette":"white_on_green","hide_value":false,"value":9,"comparator":">="}]}],"type":"query_value"},"id":2555906939685569}],"layout_type":"ordered"}' + body: '{"notify_list":[],"description":"Created using the Datadog provider in + Terraform","author_name":null,"template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"hus-jgv-77b","title":"tf-TestAccDatadogDashboardQueryValue-local-1611850706","url":"/dashboard/hus-jgv-77b/tf-testaccdatadogdashboardqueryvalue-local-1611850706","created_at":"2021-01-28T16:50:30.753575+00:00","modified_at":"2021-01-28T16:50:30.753575+00:00","author_handle":"frog@datadoghq.com","widgets":[{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test + Custom Link label"}],"autoscale":true,"title":"Avg of system.mem.free over account:prod","title_align":"center","custom_unit":"Gib","precision":3,"time":{"live_span":"1h"},"title_size":"16","requests":[{"q":"avg:system.mem.free{account:prod}","aggregator":"max","conditional_formats":[{"palette":"white_on_red","hide_value":false,"value":9,"comparator":"<"},{"palette":"white_on_green","hide_value":false,"value":9,"comparator":">="}]}],"type":"query_value"},"id":990149644927115},{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test + Custom Link label"}],"autoscale":true,"title":"Avg of system.mem.free over account:prod","title_align":"center","custom_unit":"Gib","precision":3,"time":{"live_span":"1h"},"title_size":"16","requests":[{"q":"avg:system.mem.free{account:prod}","aggregator":"max","conditional_formats":[{"palette":"white_on_red","hide_value":false,"value":9,"comparator":"<"},{"palette":"white_on_green","hide_value":false,"value":9,"comparator":">="}]}],"type":"query_value"},"id":1618808372174177}],"layout_type":"ordered"}' headers: Cache-Control: - no-cache @@ -28,9 +38,12 @@ interactions: Content-Type: - application/json Date: - - Mon, 24 May 2021 14:29:08 GMT + - Thu, 28 Jan 2021 16:50:34 GMT Pragma: - no-cache + Set-Cookie: + - DD-PSHARD=233; Max-Age=604800; Path=/; expires=Thu, 04-Feb-2021 16:50:30 GMT; + secure; HttpOnly Strict-Transport-Security: - max-age=15724800; Vary: @@ -38,9 +51,9 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Debug: - - dCmL/3rURV6BPeaqeP3Rxigq41m5CAb17XjrRE42uZ01zpr07HVhbL5/3TWMkvgu + - gYZcaADwbKcv7Hm19HJx6WsLoKuOijDWAt2viPeCfWqUgyKY+9e1xZdmMJeXV3YV X-Dd-Version: - - "35.4593741" + - "35.3796727" X-Frame-Options: - SAMEORIGIN status: 200 OK @@ -55,11 +68,21 @@ interactions: Dd-Operation-Id: - GetDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) - url: https://api.datadoghq.com/api/v1/dashboard/s83-apt-4te + - terraform-provider-datadog/dev (terraform 1.15.0; terraform-cli 0.12.7-sdk) + datadog-api-client-go/1.0.0-beta.14 (go go1.15.4; os darwin; arch amd64) + X-Datadog-Parent-Id: + - "3232457727134148500" + X-Datadog-Sampling-Priority: + - "1" + X-Datadog-Trace-Id: + - "397224732840668741" + url: https://api.datadoghq.com/api/v1/dashboard/hus-jgv-77b method: GET response: - body: '{"notify_list":[],"description":"Created using the Datadog provider in Terraform","restricted_roles":["284d8b66-93f9-11eb-9c37-da7ad0900002","043a2842-e140-11e8-bb04-7fd10177666e","657de3a2-29f8-11eb-83b5-6b8ebfb2f184","e82bf27a-986c-11eb-9cba-da7ad0900002","f257ba30-dbb2-11ea-a5ff-5fd1d308318a","6bf314be-5c16-11eb-8e98-2356ea436065","62cbc476-5c16-11eb-8e98-0388ea7a41f8","08604de8-1dca-11eb-800c-9f5f55ff734d","9b3ab170-b768-11eb-a45a-da7ad0900002","7a83f306-96ca-11eb-9c74-da7ad0900002","16169788-28e4-11eb-832c-fb84162ef3eb","4de53192-9946-11eb-9cee-da7ad0900002","1302282c-b93b-11eb-a436-da7ad0900002","17d73994-7531-11eb-94b9-da7ad0900002"],"author_name":"Qin Chen","template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"s83-apt-4te","title":"tf-TestAccDatadogDashboardQueryValue-local-1621866546","url":"/dashboard/s83-apt-4te/tf-testaccdatadogdashboardqueryvalue-local-1621866546","created_at":"2021-05-24T14:29:08.010427+00:00","modified_at":"2021-05-24T14:29:08.010427+00:00","author_handle":"qin.chen@datadoghq.com","widgets":[{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test Custom Link label"},{"override_label":"logs","is_hidden":true,"link":"https://app.datadoghq.com/dashboard/lists"}],"autoscale":true,"title":"Avg of system.mem.free over account:prod","title_align":"center","custom_unit":"Gib","precision":3,"time":{"live_span":"1h"},"title_size":"16","requests":[{"q":"avg:system.mem.free{account:prod}","aggregator":"max","conditional_formats":[{"palette":"white_on_red","hide_value":false,"value":9,"comparator":"<"},{"palette":"white_on_green","hide_value":false,"value":9,"comparator":">="}]}],"type":"query_value"},"id":8097641153429972},{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test Custom Link label"}],"autoscale":true,"title":"Avg of system.mem.free over account:prod","title_align":"center","custom_unit":"Gib","precision":3,"time":{"live_span":"1h"},"title_size":"16","requests":[{"q":"avg:system.mem.free{account:prod}","aggregator":"max","conditional_formats":[{"palette":"white_on_red","hide_value":false,"value":9,"comparator":"<"},{"palette":"white_on_green","hide_value":false,"value":9,"comparator":">="}]}],"type":"query_value"},"id":2555906939685569}],"layout_type":"ordered"}' + body: '{"notify_list":[],"description":"Created using the Datadog provider in + Terraform","author_name":null,"template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"hus-jgv-77b","title":"tf-TestAccDatadogDashboardQueryValue-local-1611850706","url":"/dashboard/hus-jgv-77b/tf-testaccdatadogdashboardqueryvalue-local-1611850706","created_at":"2021-01-28T16:50:30.753575+00:00","modified_at":"2021-01-28T16:50:30.753575+00:00","author_handle":"frog@datadoghq.com","widgets":[{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test + Custom Link label"}],"autoscale":true,"title":"Avg of system.mem.free over account:prod","title_align":"center","custom_unit":"Gib","precision":3,"time":{"live_span":"1h"},"title_size":"16","requests":[{"q":"avg:system.mem.free{account:prod}","aggregator":"max","conditional_formats":[{"palette":"white_on_red","hide_value":false,"value":9,"comparator":"<"},{"palette":"white_on_green","hide_value":false,"value":9,"comparator":">="}]}],"type":"query_value"},"id":990149644927115},{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test + Custom Link label"}],"autoscale":true,"title":"Avg of system.mem.free over account:prod","title_align":"center","custom_unit":"Gib","precision":3,"time":{"live_span":"1h"},"title_size":"16","requests":[{"q":"avg:system.mem.free{account:prod}","aggregator":"max","conditional_formats":[{"palette":"white_on_red","hide_value":false,"value":9,"comparator":"<"},{"palette":"white_on_green","hide_value":false,"value":9,"comparator":">="}]}],"type":"query_value"},"id":1618808372174177}],"layout_type":"ordered"}' headers: Cache-Control: - no-cache @@ -70,9 +93,12 @@ interactions: Content-Type: - application/json Date: - - Mon, 24 May 2021 14:29:08 GMT + - Thu, 28 Jan 2021 16:50:34 GMT Pragma: - no-cache + Set-Cookie: + - DD-PSHARD=233; Max-Age=604800; Path=/; expires=Thu, 04-Feb-2021 16:50:34 GMT; + secure; HttpOnly Strict-Transport-Security: - max-age=15724800; Vary: @@ -80,9 +106,9 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Debug: - - tpRCH6w417YjBovRJ8VmtuXmNONVYiRp2c8d2AxjPdGBn8PCtgG4vAztrx3qUZAN + - PhosSd3Ch1B6B0DXI71steKUi7XhPDttnPiIP1NdXTw0VJNWpoUnYyBmODS5ne3q X-Dd-Version: - - "35.4593741" + - "35.3796727" X-Frame-Options: - SAMEORIGIN status: 200 OK @@ -97,11 +123,21 @@ interactions: Dd-Operation-Id: - GetDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) - url: https://api.datadoghq.com/api/v1/dashboard/s83-apt-4te + - terraform-provider-datadog/dev (terraform 1.15.0; terraform-cli 0.12.7-sdk) + datadog-api-client-go/1.0.0-beta.14 (go go1.15.4; os darwin; arch amd64) + X-Datadog-Parent-Id: + - "4581757762044360587" + X-Datadog-Sampling-Priority: + - "1" + X-Datadog-Trace-Id: + - "397224732840668741" + url: https://api.datadoghq.com/api/v1/dashboard/hus-jgv-77b method: GET response: - body: '{"notify_list":[],"description":"Created using the Datadog provider in Terraform","restricted_roles":["284d8b66-93f9-11eb-9c37-da7ad0900002","043a2842-e140-11e8-bb04-7fd10177666e","657de3a2-29f8-11eb-83b5-6b8ebfb2f184","e82bf27a-986c-11eb-9cba-da7ad0900002","f257ba30-dbb2-11ea-a5ff-5fd1d308318a","6bf314be-5c16-11eb-8e98-2356ea436065","62cbc476-5c16-11eb-8e98-0388ea7a41f8","08604de8-1dca-11eb-800c-9f5f55ff734d","9b3ab170-b768-11eb-a45a-da7ad0900002","7a83f306-96ca-11eb-9c74-da7ad0900002","16169788-28e4-11eb-832c-fb84162ef3eb","4de53192-9946-11eb-9cee-da7ad0900002","1302282c-b93b-11eb-a436-da7ad0900002","17d73994-7531-11eb-94b9-da7ad0900002"],"author_name":"Qin Chen","template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"s83-apt-4te","title":"tf-TestAccDatadogDashboardQueryValue-local-1621866546","url":"/dashboard/s83-apt-4te/tf-testaccdatadogdashboardqueryvalue-local-1621866546","created_at":"2021-05-24T14:29:08.010427+00:00","modified_at":"2021-05-24T14:29:08.010427+00:00","author_handle":"qin.chen@datadoghq.com","widgets":[{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test Custom Link label"},{"override_label":"logs","is_hidden":true,"link":"https://app.datadoghq.com/dashboard/lists"}],"autoscale":true,"title":"Avg of system.mem.free over account:prod","title_align":"center","custom_unit":"Gib","precision":3,"time":{"live_span":"1h"},"title_size":"16","requests":[{"q":"avg:system.mem.free{account:prod}","aggregator":"max","conditional_formats":[{"palette":"white_on_red","hide_value":false,"value":9,"comparator":"<"},{"palette":"white_on_green","hide_value":false,"value":9,"comparator":">="}]}],"type":"query_value"},"id":8097641153429972},{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test Custom Link label"}],"autoscale":true,"title":"Avg of system.mem.free over account:prod","title_align":"center","custom_unit":"Gib","precision":3,"time":{"live_span":"1h"},"title_size":"16","requests":[{"q":"avg:system.mem.free{account:prod}","aggregator":"max","conditional_formats":[{"palette":"white_on_red","hide_value":false,"value":9,"comparator":"<"},{"palette":"white_on_green","hide_value":false,"value":9,"comparator":">="}]}],"type":"query_value"},"id":2555906939685569}],"layout_type":"ordered"}' + body: '{"notify_list":[],"description":"Created using the Datadog provider in + Terraform","author_name":null,"template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"hus-jgv-77b","title":"tf-TestAccDatadogDashboardQueryValue-local-1611850706","url":"/dashboard/hus-jgv-77b/tf-testaccdatadogdashboardqueryvalue-local-1611850706","created_at":"2021-01-28T16:50:30.753575+00:00","modified_at":"2021-01-28T16:50:30.753575+00:00","author_handle":"frog@datadoghq.com","widgets":[{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test + Custom Link label"}],"autoscale":true,"title":"Avg of system.mem.free over account:prod","title_align":"center","custom_unit":"Gib","precision":3,"time":{"live_span":"1h"},"title_size":"16","requests":[{"q":"avg:system.mem.free{account:prod}","aggregator":"max","conditional_formats":[{"palette":"white_on_red","hide_value":false,"value":9,"comparator":"<"},{"palette":"white_on_green","hide_value":false,"value":9,"comparator":">="}]}],"type":"query_value"},"id":990149644927115},{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test + Custom Link label"}],"autoscale":true,"title":"Avg of system.mem.free over account:prod","title_align":"center","custom_unit":"Gib","precision":3,"time":{"live_span":"1h"},"title_size":"16","requests":[{"q":"avg:system.mem.free{account:prod}","aggregator":"max","conditional_formats":[{"palette":"white_on_red","hide_value":false,"value":9,"comparator":"<"},{"palette":"white_on_green","hide_value":false,"value":9,"comparator":">="}]}],"type":"query_value"},"id":1618808372174177}],"layout_type":"ordered"}' headers: Cache-Control: - no-cache @@ -112,9 +148,12 @@ interactions: Content-Type: - application/json Date: - - Mon, 24 May 2021 14:29:08 GMT + - Thu, 28 Jan 2021 16:50:38 GMT Pragma: - no-cache + Set-Cookie: + - DD-PSHARD=233; Max-Age=604800; Path=/; expires=Thu, 04-Feb-2021 16:50:38 GMT; + secure; HttpOnly Strict-Transport-Security: - max-age=15724800; Vary: @@ -122,9 +161,9 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Debug: - - tpRCH6w417YjBovRJ8VmtuXmNONVYiRp2c8d2AxjPdGBn8PCtgG4vAztrx3qUZAN + - S1wfaMZOKGT/IoMw6fqAwAwGWo2vQ44sjF3YzuETnQfxZO2T5eJbs0aX3UKb9Dwu X-Dd-Version: - - "35.4593741" + - "35.3796727" X-Frame-Options: - SAMEORIGIN status: 200 OK @@ -139,11 +178,21 @@ interactions: Dd-Operation-Id: - GetDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) - url: https://api.datadoghq.com/api/v1/dashboard/s83-apt-4te + - terraform-provider-datadog/dev (terraform 1.15.0; terraform-cli 0.12.7-sdk) + datadog-api-client-go/1.0.0-beta.14 (go go1.15.4; os darwin; arch amd64) + X-Datadog-Parent-Id: + - "2661568310791873646" + X-Datadog-Sampling-Priority: + - "1" + X-Datadog-Trace-Id: + - "397224732840668741" + url: https://api.datadoghq.com/api/v1/dashboard/hus-jgv-77b method: GET response: - body: '{"notify_list":[],"description":"Created using the Datadog provider in Terraform","restricted_roles":["284d8b66-93f9-11eb-9c37-da7ad0900002","043a2842-e140-11e8-bb04-7fd10177666e","657de3a2-29f8-11eb-83b5-6b8ebfb2f184","e82bf27a-986c-11eb-9cba-da7ad0900002","f257ba30-dbb2-11ea-a5ff-5fd1d308318a","6bf314be-5c16-11eb-8e98-2356ea436065","62cbc476-5c16-11eb-8e98-0388ea7a41f8","08604de8-1dca-11eb-800c-9f5f55ff734d","9b3ab170-b768-11eb-a45a-da7ad0900002","7a83f306-96ca-11eb-9c74-da7ad0900002","16169788-28e4-11eb-832c-fb84162ef3eb","4de53192-9946-11eb-9cee-da7ad0900002","1302282c-b93b-11eb-a436-da7ad0900002","17d73994-7531-11eb-94b9-da7ad0900002"],"author_name":"Qin Chen","template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"s83-apt-4te","title":"tf-TestAccDatadogDashboardQueryValue-local-1621866546","url":"/dashboard/s83-apt-4te/tf-testaccdatadogdashboardqueryvalue-local-1621866546","created_at":"2021-05-24T14:29:08.010427+00:00","modified_at":"2021-05-24T14:29:08.010427+00:00","author_handle":"qin.chen@datadoghq.com","widgets":[{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test Custom Link label"},{"override_label":"logs","is_hidden":true,"link":"https://app.datadoghq.com/dashboard/lists"}],"autoscale":true,"title":"Avg of system.mem.free over account:prod","title_align":"center","custom_unit":"Gib","precision":3,"time":{"live_span":"1h"},"title_size":"16","requests":[{"q":"avg:system.mem.free{account:prod}","aggregator":"max","conditional_formats":[{"palette":"white_on_red","hide_value":false,"value":9,"comparator":"<"},{"palette":"white_on_green","hide_value":false,"value":9,"comparator":">="}]}],"type":"query_value"},"id":8097641153429972},{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test Custom Link label"}],"autoscale":true,"title":"Avg of system.mem.free over account:prod","title_align":"center","custom_unit":"Gib","precision":3,"time":{"live_span":"1h"},"title_size":"16","requests":[{"q":"avg:system.mem.free{account:prod}","aggregator":"max","conditional_formats":[{"palette":"white_on_red","hide_value":false,"value":9,"comparator":"<"},{"palette":"white_on_green","hide_value":false,"value":9,"comparator":">="}]}],"type":"query_value"},"id":2555906939685569}],"layout_type":"ordered"}' + body: '{"notify_list":[],"description":"Created using the Datadog provider in + Terraform","author_name":null,"template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"hus-jgv-77b","title":"tf-TestAccDatadogDashboardQueryValue-local-1611850706","url":"/dashboard/hus-jgv-77b/tf-testaccdatadogdashboardqueryvalue-local-1611850706","created_at":"2021-01-28T16:50:30.753575+00:00","modified_at":"2021-01-28T16:50:30.753575+00:00","author_handle":"frog@datadoghq.com","widgets":[{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test + Custom Link label"}],"autoscale":true,"title":"Avg of system.mem.free over account:prod","title_align":"center","custom_unit":"Gib","precision":3,"time":{"live_span":"1h"},"title_size":"16","requests":[{"q":"avg:system.mem.free{account:prod}","aggregator":"max","conditional_formats":[{"palette":"white_on_red","hide_value":false,"value":9,"comparator":"<"},{"palette":"white_on_green","hide_value":false,"value":9,"comparator":">="}]}],"type":"query_value"},"id":990149644927115},{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test + Custom Link label"}],"autoscale":true,"title":"Avg of system.mem.free over account:prod","title_align":"center","custom_unit":"Gib","precision":3,"time":{"live_span":"1h"},"title_size":"16","requests":[{"q":"avg:system.mem.free{account:prod}","aggregator":"max","conditional_formats":[{"palette":"white_on_red","hide_value":false,"value":9,"comparator":"<"},{"palette":"white_on_green","hide_value":false,"value":9,"comparator":">="}]}],"type":"query_value"},"id":1618808372174177}],"layout_type":"ordered"}' headers: Cache-Control: - no-cache @@ -154,9 +203,12 @@ interactions: Content-Type: - application/json Date: - - Mon, 24 May 2021 14:29:09 GMT + - Thu, 28 Jan 2021 16:51:12 GMT Pragma: - no-cache + Set-Cookie: + - DD-PSHARD=233; Max-Age=604800; Path=/; expires=Thu, 04-Feb-2021 16:51:12 GMT; + secure; HttpOnly Strict-Transport-Security: - max-age=15724800; Vary: @@ -164,9 +216,9 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Debug: - - LcgNasIYBRkNppmD6mCKE9J6iv0eEjosuuHR5V5zw2fWbR54i39C8dhdK8zDq/40 + - l4HFlaRP3QwYSqoGKhzbYfv7zgkK63HIRR7YkyVYZspq0lGjjTBwoK8V/alf+XYt X-Dd-Version: - - "35.4593741" + - "35.3796727" X-Frame-Options: - SAMEORIGIN status: 200 OK @@ -181,11 +233,21 @@ interactions: Dd-Operation-Id: - GetDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) - url: https://api.datadoghq.com/api/v1/dashboard/s83-apt-4te + - terraform-provider-datadog/dev (terraform 1.15.0; terraform-cli 0.12.7-sdk) + datadog-api-client-go/1.0.0-beta.14 (go go1.15.4; os darwin; arch amd64) + X-Datadog-Parent-Id: + - "315404317565477384" + X-Datadog-Sampling-Priority: + - "1" + X-Datadog-Trace-Id: + - "397224732840668741" + url: https://api.datadoghq.com/api/v1/dashboard/hus-jgv-77b method: GET response: - body: '{"notify_list":[],"description":"Created using the Datadog provider in Terraform","restricted_roles":["284d8b66-93f9-11eb-9c37-da7ad0900002","043a2842-e140-11e8-bb04-7fd10177666e","657de3a2-29f8-11eb-83b5-6b8ebfb2f184","e82bf27a-986c-11eb-9cba-da7ad0900002","f257ba30-dbb2-11ea-a5ff-5fd1d308318a","6bf314be-5c16-11eb-8e98-2356ea436065","62cbc476-5c16-11eb-8e98-0388ea7a41f8","08604de8-1dca-11eb-800c-9f5f55ff734d","9b3ab170-b768-11eb-a45a-da7ad0900002","7a83f306-96ca-11eb-9c74-da7ad0900002","16169788-28e4-11eb-832c-fb84162ef3eb","4de53192-9946-11eb-9cee-da7ad0900002","1302282c-b93b-11eb-a436-da7ad0900002","17d73994-7531-11eb-94b9-da7ad0900002"],"author_name":"Qin Chen","template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"s83-apt-4te","title":"tf-TestAccDatadogDashboardQueryValue-local-1621866546","url":"/dashboard/s83-apt-4te/tf-testaccdatadogdashboardqueryvalue-local-1621866546","created_at":"2021-05-24T14:29:08.010427+00:00","modified_at":"2021-05-24T14:29:08.010427+00:00","author_handle":"qin.chen@datadoghq.com","widgets":[{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test Custom Link label"},{"override_label":"logs","is_hidden":true,"link":"https://app.datadoghq.com/dashboard/lists"}],"autoscale":true,"title":"Avg of system.mem.free over account:prod","title_align":"center","custom_unit":"Gib","precision":3,"time":{"live_span":"1h"},"title_size":"16","requests":[{"q":"avg:system.mem.free{account:prod}","aggregator":"max","conditional_formats":[{"palette":"white_on_red","hide_value":false,"value":9,"comparator":"<"},{"palette":"white_on_green","hide_value":false,"value":9,"comparator":">="}]}],"type":"query_value"},"id":8097641153429972},{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test Custom Link label"}],"autoscale":true,"title":"Avg of system.mem.free over account:prod","title_align":"center","custom_unit":"Gib","precision":3,"time":{"live_span":"1h"},"title_size":"16","requests":[{"q":"avg:system.mem.free{account:prod}","aggregator":"max","conditional_formats":[{"palette":"white_on_red","hide_value":false,"value":9,"comparator":"<"},{"palette":"white_on_green","hide_value":false,"value":9,"comparator":">="}]}],"type":"query_value"},"id":2555906939685569}],"layout_type":"ordered"}' + body: '{"notify_list":[],"description":"Created using the Datadog provider in + Terraform","author_name":null,"template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"hus-jgv-77b","title":"tf-TestAccDatadogDashboardQueryValue-local-1611850706","url":"/dashboard/hus-jgv-77b/tf-testaccdatadogdashboardqueryvalue-local-1611850706","created_at":"2021-01-28T16:50:30.753575+00:00","modified_at":"2021-01-28T16:50:30.753575+00:00","author_handle":"frog@datadoghq.com","widgets":[{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test + Custom Link label"}],"autoscale":true,"title":"Avg of system.mem.free over account:prod","title_align":"center","custom_unit":"Gib","precision":3,"time":{"live_span":"1h"},"title_size":"16","requests":[{"q":"avg:system.mem.free{account:prod}","aggregator":"max","conditional_formats":[{"palette":"white_on_red","hide_value":false,"value":9,"comparator":"<"},{"palette":"white_on_green","hide_value":false,"value":9,"comparator":">="}]}],"type":"query_value"},"id":990149644927115},{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test + Custom Link label"}],"autoscale":true,"title":"Avg of system.mem.free over account:prod","title_align":"center","custom_unit":"Gib","precision":3,"time":{"live_span":"1h"},"title_size":"16","requests":[{"q":"avg:system.mem.free{account:prod}","aggregator":"max","conditional_formats":[{"palette":"white_on_red","hide_value":false,"value":9,"comparator":"<"},{"palette":"white_on_green","hide_value":false,"value":9,"comparator":">="}]}],"type":"query_value"},"id":1618808372174177}],"layout_type":"ordered"}' headers: Cache-Control: - no-cache @@ -196,9 +258,12 @@ interactions: Content-Type: - application/json Date: - - Mon, 24 May 2021 14:29:10 GMT + - Thu, 28 Jan 2021 16:52:12 GMT Pragma: - no-cache + Set-Cookie: + - DD-PSHARD=233; Max-Age=604800; Path=/; expires=Thu, 04-Feb-2021 16:52:11 GMT; + secure; HttpOnly Strict-Transport-Security: - max-age=15724800; Vary: @@ -206,9 +271,9 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Debug: - - F5gm0Rce1/Abr9/0Fw8HAqWfiz0FdiH8er/AXnN6lOn3L6KyGgbsLCwgPlob1No8 + - Wjq53IVIwnB4SiR238oOYgHFMq/ZYP0LQ/Dv8C2fFLBwTje/dWJHu6pI6vIOK1zG X-Dd-Version: - - "35.4593741" + - "35.3796727" X-Frame-Options: - SAMEORIGIN status: 200 OK @@ -223,11 +288,18 @@ interactions: Dd-Operation-Id: - DeleteDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) - url: https://api.datadoghq.com/api/v1/dashboard/s83-apt-4te + - terraform-provider-datadog/dev (terraform 1.15.0; terraform-cli 0.12.7-sdk) + datadog-api-client-go/1.0.0-beta.14 (go go1.15.4; os darwin; arch amd64) + X-Datadog-Parent-Id: + - "7133999346065199771" + X-Datadog-Sampling-Priority: + - "1" + X-Datadog-Trace-Id: + - "397224732840668741" + url: https://api.datadoghq.com/api/v1/dashboard/hus-jgv-77b method: DELETE response: - body: '{"deleted_dashboard_id":"s83-apt-4te"}' + body: '{"deleted_dashboard_id":"hus-jgv-77b"}' headers: Cache-Control: - no-cache @@ -238,9 +310,12 @@ interactions: Content-Type: - application/json Date: - - Mon, 24 May 2021 14:29:10 GMT + - Thu, 28 Jan 2021 16:52:33 GMT Pragma: - no-cache + Set-Cookie: + - DD-PSHARD=233; Max-Age=604800; Path=/; expires=Thu, 04-Feb-2021 16:52:33 GMT; + secure; HttpOnly Strict-Transport-Security: - max-age=15724800; Vary: @@ -248,9 +323,9 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Debug: - - 5gfwVh/5HZ+AnGd/Di93w3NEWC6KMHT9KzmHEiRJmNdOjBtAsbOcgVFyqEChw71h + - bgHykj7A9bfZx0Y5ZO3swhhp5tGUSNJHqFWR868+qg087CYrDOd5hQslC+noiEtH X-Dd-Version: - - "35.4593741" + - "35.3796727" X-Frame-Options: - SAMEORIGIN status: 200 OK @@ -265,11 +340,18 @@ interactions: Dd-Operation-Id: - GetDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) - url: https://api.datadoghq.com/api/v1/dashboard/s83-apt-4te + - terraform-provider-datadog/dev (terraform 1.15.0; terraform-cli 0.12.7-sdk) + datadog-api-client-go/1.0.0-beta.14 (go go1.15.4; os darwin; arch amd64) + X-Datadog-Parent-Id: + - "4076005582612531406" + X-Datadog-Sampling-Priority: + - "1" + X-Datadog-Trace-Id: + - "397224732840668741" + url: https://api.datadoghq.com/api/v1/dashboard/hus-jgv-77b method: GET response: - body: '{"errors": ["Dashboard with ID s83-apt-4te not found"]}' + body: '{"errors": ["Dashboard with ID hus-jgv-77b not found"]}' headers: Cache-Control: - no-cache @@ -280,7 +362,7 @@ interactions: Content-Type: - application/json Date: - - Mon, 24 May 2021 14:29:11 GMT + - Thu, 28 Jan 2021 16:52:35 GMT Pragma: - no-cache Strict-Transport-Security: @@ -290,7 +372,7 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Version: - - "35.4593741" + - "35.3796727" X-Frame-Options: - SAMEORIGIN status: 404 Not Found diff --git a/datadog/tests/cassettes/TestAccDatadogDashboardQueryValueFormula.freeze b/datadog/tests/cassettes/TestAccDatadogDashboardQueryValueFormula.freeze index 5c2d5058c..5c128e2bf 100644 --- a/datadog/tests/cassettes/TestAccDatadogDashboardQueryValueFormula.freeze +++ b/datadog/tests/cassettes/TestAccDatadogDashboardQueryValueFormula.freeze @@ -1 +1 @@ -2021-05-24T10:37:36.386841-04:00 \ No newline at end of file +2021-02-25T18:39:08.086427-05:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogDashboardQueryValueFormula.yaml b/datadog/tests/cassettes/TestAccDatadogDashboardQueryValueFormula.yaml index c23d21ae0..7754b3d31 100644 --- a/datadog/tests/cassettes/TestAccDatadogDashboardQueryValueFormula.yaml +++ b/datadog/tests/cassettes/TestAccDatadogDashboardQueryValueFormula.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-TestAccDatadogDashboardQueryValueFormula-local-1621866546","widgets":[{"definition":{"autoscale":false,"precision":0,"requests":[{"formulas":[{"formula":"query1 + query2","limit":{"count":10,"order":"asc"}}],"queries":[{"aggregator":"sum","data_source":"metrics","name":"query1","query":"avg:system.cpu.system{*} by {datacenter}"},{"aggregator":"sum","data_source":"metrics","name":"query2","query":"avg:system.load.1{*} by {datacenter}"}],"response_format":"scalar"}],"type":"query_value"}},{"definition":{"autoscale":false,"precision":0,"requests":[{"formulas":[{"formula":"query1","limit":{"count":25,"order":"desc"}}],"queries":[{"compute":{"aggregation":"count"},"data_source":"rum","indexes":["*"],"name":"query1"}],"response_format":"scalar"}],"type":"query_value"}}]} + {"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-TestAccDatadogDashboardQueryValueFormula-local-1614296348","widgets":[{"definition":{"autoscale":false,"precision":0,"requests":[{"formulas":[{"formula":"query1 + query2","limit":{"count":10,"order":"asc"}}],"queries":[{"aggregator":"sum","data_source":"metrics","name":"query1","query":"avg:system.cpu.system{*} by {datacenter}"},{"aggregator":"sum","data_source":"metrics","name":"query2","query":"avg:system.load.1{*} by {datacenter}"}],"response_format":"scalar"}],"type":"query_value"}},{"definition":{"autoscale":false,"precision":0,"requests":[{"formulas":[{"formula":"query1","limit":{"count":25,"order":"desc"}}],"queries":[{"compute":{"aggregation":"count"},"data_source":"rum","indexes":["*"],"name":"query1"}],"response_format":"scalar"}],"type":"query_value"}}]} form: {} headers: Accept: @@ -13,11 +13,11 @@ interactions: Dd-Operation-Id: - CreateDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) + - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.16+dev (go go1.15.6; os darwin; arch amd64) url: https://api.datadoghq.com/api/v1/dashboard method: POST response: - body: '{"notify_list":[],"description":"Created using the Datadog provider in Terraform","restricted_roles":["043a2842-e140-11e8-bb04-7fd10177666e","08604de8-1dca-11eb-800c-9f5f55ff734d","1302282c-b93b-11eb-a436-da7ad0900002","16169788-28e4-11eb-832c-fb84162ef3eb","17d73994-7531-11eb-94b9-da7ad0900002","284d8b66-93f9-11eb-9c37-da7ad0900002","4de53192-9946-11eb-9cee-da7ad0900002","62cbc476-5c16-11eb-8e98-0388ea7a41f8","657de3a2-29f8-11eb-83b5-6b8ebfb2f184","6bf314be-5c16-11eb-8e98-2356ea436065","7a83f306-96ca-11eb-9c74-da7ad0900002","9b3ab170-b768-11eb-a45a-da7ad0900002","e82bf27a-986c-11eb-9cba-da7ad0900002","f257ba30-dbb2-11ea-a5ff-5fd1d308318a"],"author_name":"Qin Chen","template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"v24-rpz-c84","title":"tf-TestAccDatadogDashboardQueryValueFormula-local-1621866546","url":"/dashboard/v24-rpz-c84/tf-testaccdatadogdashboardqueryvalueformula-local-1621866546","created_at":"2021-05-24T14:29:08.000674+00:00","modified_at":"2021-05-24T14:29:08.000674+00:00","author_handle":"qin.chen@datadoghq.com","widgets":[{"definition":{"type":"query_value","requests":[{"formulas":[{"formula":"query1 + query2","limit":{"count":10,"order":"asc"}}],"response_format":"scalar","queries":[{"aggregator":"sum","data_source":"metrics","name":"query1","query":"avg:system.cpu.system{*} by {datacenter}"},{"aggregator":"sum","data_source":"metrics","name":"query2","query":"avg:system.load.1{*} by {datacenter}"}]}],"autoscale":false,"precision":0},"id":4802306324114774},{"definition":{"type":"query_value","requests":[{"formulas":[{"formula":"query1","limit":{"count":25,"order":"desc"}}],"response_format":"scalar","queries":[{"data_source":"rum","compute":{"aggregation":"count"},"name":"query1","indexes":["*"]}]}],"autoscale":false,"precision":0},"id":5322478081247786}],"layout_type":"ordered"}' + body: '{"notify_list":[],"description":"Created using the Datadog provider in Terraform","author_name":null,"template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"6gt-3rp-fj2","title":"tf-TestAccDatadogDashboardQueryValueFormula-local-1614296348","url":"/dashboard/6gt-3rp-fj2/tf-testaccdatadogdashboardqueryvalueformula-local-1614296348","created_at":"2021-02-25T23:39:08.959260+00:00","modified_at":"2021-02-25T23:39:08.959260+00:00","author_handle":"frog@datadoghq.com","widgets":[{"definition":{"type":"query_value","requests":[{"formulas":[{"formula":"query1 + query2","limit":{"count":10,"order":"asc"}}],"response_format":"scalar","queries":[{"aggregator":"sum","data_source":"metrics","name":"query1","query":"avg:system.cpu.system{*} by {datacenter}"},{"aggregator":"sum","data_source":"metrics","name":"query2","query":"avg:system.load.1{*} by {datacenter}"}]}],"autoscale":false,"precision":0},"id":6851875718636234},{"definition":{"type":"query_value","requests":[{"formulas":[{"formula":"query1","limit":{"count":25,"order":"desc"}}],"response_format":"scalar","queries":[{"data_source":"rum","compute":{"aggregation":"count"},"name":"query1","indexes":["*"]}]}],"autoscale":false,"precision":0},"id":6640188580202253}],"layout_type":"ordered"}' headers: Cache-Control: - no-cache @@ -28,7 +28,7 @@ interactions: Content-Type: - application/json Date: - - Mon, 24 May 2021 14:29:08 GMT + - Thu, 25 Feb 2021 23:39:12 GMT Pragma: - no-cache Strict-Transport-Security: @@ -38,9 +38,9 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Debug: - - nLnnBNvlCFDECRnZvzDb0z4sAO35G+IMidcAs8vrCKyjvsKWE8Yd9S3n6OjZ1qRN + - PhosSd3Ch1B6B0DXI71steKUi7XhPDttnPiIP1NdXTw0VJNWpoUnYyBmODS5ne3q X-Dd-Version: - - "35.4593741" + - "35.3986175" X-Frame-Options: - SAMEORIGIN status: 200 OK @@ -55,11 +55,11 @@ interactions: Dd-Operation-Id: - GetDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) - url: https://api.datadoghq.com/api/v1/dashboard/v24-rpz-c84 + - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.16+dev (go go1.15.6; os darwin; arch amd64) + url: https://api.datadoghq.com/api/v1/dashboard/6gt-3rp-fj2 method: GET response: - body: '{"notify_list":[],"description":"Created using the Datadog provider in Terraform","restricted_roles":["284d8b66-93f9-11eb-9c37-da7ad0900002","043a2842-e140-11e8-bb04-7fd10177666e","657de3a2-29f8-11eb-83b5-6b8ebfb2f184","e82bf27a-986c-11eb-9cba-da7ad0900002","f257ba30-dbb2-11ea-a5ff-5fd1d308318a","6bf314be-5c16-11eb-8e98-2356ea436065","62cbc476-5c16-11eb-8e98-0388ea7a41f8","08604de8-1dca-11eb-800c-9f5f55ff734d","9b3ab170-b768-11eb-a45a-da7ad0900002","7a83f306-96ca-11eb-9c74-da7ad0900002","16169788-28e4-11eb-832c-fb84162ef3eb","4de53192-9946-11eb-9cee-da7ad0900002","1302282c-b93b-11eb-a436-da7ad0900002","17d73994-7531-11eb-94b9-da7ad0900002"],"author_name":"Qin Chen","template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"v24-rpz-c84","title":"tf-TestAccDatadogDashboardQueryValueFormula-local-1621866546","url":"/dashboard/v24-rpz-c84/tf-testaccdatadogdashboardqueryvalueformula-local-1621866546","created_at":"2021-05-24T14:29:08.000674+00:00","modified_at":"2021-05-24T14:29:08.000674+00:00","author_handle":"qin.chen@datadoghq.com","widgets":[{"definition":{"type":"query_value","requests":[{"formulas":[{"formula":"query1 + query2","limit":{"count":10,"order":"asc"}}],"response_format":"scalar","queries":[{"aggregator":"sum","data_source":"metrics","name":"query1","query":"avg:system.cpu.system{*} by {datacenter}"},{"aggregator":"sum","data_source":"metrics","name":"query2","query":"avg:system.load.1{*} by {datacenter}"}]}],"autoscale":false,"precision":0},"id":4802306324114774},{"definition":{"type":"query_value","requests":[{"formulas":[{"formula":"query1","limit":{"count":25,"order":"desc"}}],"response_format":"scalar","queries":[{"data_source":"rum","compute":{"aggregation":"count"},"name":"query1","indexes":["*"]}]}],"autoscale":false,"precision":0},"id":5322478081247786}],"layout_type":"ordered"}' + body: '{"notify_list":[],"description":"Created using the Datadog provider in Terraform","author_name":null,"template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"6gt-3rp-fj2","title":"tf-TestAccDatadogDashboardQueryValueFormula-local-1614296348","url":"/dashboard/6gt-3rp-fj2/tf-testaccdatadogdashboardqueryvalueformula-local-1614296348","created_at":"2021-02-25T23:39:08.959260+00:00","modified_at":"2021-02-25T23:39:08.959260+00:00","author_handle":"frog@datadoghq.com","widgets":[{"definition":{"type":"query_value","requests":[{"formulas":[{"formula":"query1 + query2","limit":{"count":10,"order":"asc"}}],"response_format":"scalar","queries":[{"aggregator":"sum","data_source":"metrics","name":"query1","query":"avg:system.cpu.system{*} by {datacenter}"},{"aggregator":"sum","data_source":"metrics","name":"query2","query":"avg:system.load.1{*} by {datacenter}"}]}],"autoscale":false,"precision":0},"id":6851875718636234},{"definition":{"type":"query_value","requests":[{"formulas":[{"formula":"query1","limit":{"count":25,"order":"desc"}}],"response_format":"scalar","queries":[{"data_source":"rum","compute":{"aggregation":"count"},"name":"query1","indexes":["*"]}]}],"autoscale":false,"precision":0},"id":6640188580202253}],"layout_type":"ordered"}' headers: Cache-Control: - no-cache @@ -70,7 +70,7 @@ interactions: Content-Type: - application/json Date: - - Mon, 24 May 2021 14:29:08 GMT + - Thu, 25 Feb 2021 23:39:12 GMT Pragma: - no-cache Strict-Transport-Security: @@ -80,9 +80,9 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Debug: - - PhosSd3Ch1B6B0DXI71steKUi7XhPDttnPiIP1NdXTw0VJNWpoUnYyBmODS5ne3q + - fIO2C4qGDheGHy4YbS+r3a3CXbh4cbRo7roILOimQyiHGjQdOat0cIpWCkupM1uX X-Dd-Version: - - "35.4593741" + - "35.3986175" X-Frame-Options: - SAMEORIGIN status: 200 OK @@ -97,11 +97,11 @@ interactions: Dd-Operation-Id: - GetDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) - url: https://api.datadoghq.com/api/v1/dashboard/v24-rpz-c84 + - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.16+dev (go go1.15.6; os darwin; arch amd64) + url: https://api.datadoghq.com/api/v1/dashboard/6gt-3rp-fj2 method: GET response: - body: '{"notify_list":[],"description":"Created using the Datadog provider in Terraform","restricted_roles":["284d8b66-93f9-11eb-9c37-da7ad0900002","043a2842-e140-11e8-bb04-7fd10177666e","657de3a2-29f8-11eb-83b5-6b8ebfb2f184","e82bf27a-986c-11eb-9cba-da7ad0900002","f257ba30-dbb2-11ea-a5ff-5fd1d308318a","6bf314be-5c16-11eb-8e98-2356ea436065","62cbc476-5c16-11eb-8e98-0388ea7a41f8","08604de8-1dca-11eb-800c-9f5f55ff734d","9b3ab170-b768-11eb-a45a-da7ad0900002","7a83f306-96ca-11eb-9c74-da7ad0900002","16169788-28e4-11eb-832c-fb84162ef3eb","4de53192-9946-11eb-9cee-da7ad0900002","1302282c-b93b-11eb-a436-da7ad0900002","17d73994-7531-11eb-94b9-da7ad0900002"],"author_name":"Qin Chen","template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"v24-rpz-c84","title":"tf-TestAccDatadogDashboardQueryValueFormula-local-1621866546","url":"/dashboard/v24-rpz-c84/tf-testaccdatadogdashboardqueryvalueformula-local-1621866546","created_at":"2021-05-24T14:29:08.000674+00:00","modified_at":"2021-05-24T14:29:08.000674+00:00","author_handle":"qin.chen@datadoghq.com","widgets":[{"definition":{"type":"query_value","requests":[{"formulas":[{"formula":"query1 + query2","limit":{"count":10,"order":"asc"}}],"response_format":"scalar","queries":[{"aggregator":"sum","data_source":"metrics","name":"query1","query":"avg:system.cpu.system{*} by {datacenter}"},{"aggregator":"sum","data_source":"metrics","name":"query2","query":"avg:system.load.1{*} by {datacenter}"}]}],"autoscale":false,"precision":0},"id":4802306324114774},{"definition":{"type":"query_value","requests":[{"formulas":[{"formula":"query1","limit":{"count":25,"order":"desc"}}],"response_format":"scalar","queries":[{"data_source":"rum","compute":{"aggregation":"count"},"name":"query1","indexes":["*"]}]}],"autoscale":false,"precision":0},"id":5322478081247786}],"layout_type":"ordered"}' + body: '{"notify_list":[],"description":"Created using the Datadog provider in Terraform","author_name":null,"template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"6gt-3rp-fj2","title":"tf-TestAccDatadogDashboardQueryValueFormula-local-1614296348","url":"/dashboard/6gt-3rp-fj2/tf-testaccdatadogdashboardqueryvalueformula-local-1614296348","created_at":"2021-02-25T23:39:08.959260+00:00","modified_at":"2021-02-25T23:39:08.959260+00:00","author_handle":"frog@datadoghq.com","widgets":[{"definition":{"type":"query_value","requests":[{"formulas":[{"formula":"query1 + query2","limit":{"count":10,"order":"asc"}}],"response_format":"scalar","queries":[{"aggregator":"sum","data_source":"metrics","name":"query1","query":"avg:system.cpu.system{*} by {datacenter}"},{"aggregator":"sum","data_source":"metrics","name":"query2","query":"avg:system.load.1{*} by {datacenter}"}]}],"autoscale":false,"precision":0},"id":6851875718636234},{"definition":{"type":"query_value","requests":[{"formulas":[{"formula":"query1","limit":{"count":25,"order":"desc"}}],"response_format":"scalar","queries":[{"data_source":"rum","compute":{"aggregation":"count"},"name":"query1","indexes":["*"]}]}],"autoscale":false,"precision":0},"id":6640188580202253}],"layout_type":"ordered"}' headers: Cache-Control: - no-cache @@ -112,7 +112,7 @@ interactions: Content-Type: - application/json Date: - - Mon, 24 May 2021 14:29:08 GMT + - Thu, 25 Feb 2021 23:39:12 GMT Pragma: - no-cache Strict-Transport-Security: @@ -122,9 +122,9 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Debug: - - nLnnBNvlCFDECRnZvzDb0z4sAO35G+IMidcAs8vrCKyjvsKWE8Yd9S3n6OjZ1qRN + - bgHykj7A9bfZx0Y5ZO3swhhp5tGUSNJHqFWR868+qg087CYrDOd5hQslC+noiEtH X-Dd-Version: - - "35.4593741" + - "35.3986175" X-Frame-Options: - SAMEORIGIN status: 200 OK @@ -139,11 +139,11 @@ interactions: Dd-Operation-Id: - GetDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) - url: https://api.datadoghq.com/api/v1/dashboard/v24-rpz-c84 + - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.16+dev (go go1.15.6; os darwin; arch amd64) + url: https://api.datadoghq.com/api/v1/dashboard/6gt-3rp-fj2 method: GET response: - body: '{"notify_list":[],"description":"Created using the Datadog provider in Terraform","restricted_roles":["284d8b66-93f9-11eb-9c37-da7ad0900002","043a2842-e140-11e8-bb04-7fd10177666e","657de3a2-29f8-11eb-83b5-6b8ebfb2f184","e82bf27a-986c-11eb-9cba-da7ad0900002","f257ba30-dbb2-11ea-a5ff-5fd1d308318a","6bf314be-5c16-11eb-8e98-2356ea436065","62cbc476-5c16-11eb-8e98-0388ea7a41f8","08604de8-1dca-11eb-800c-9f5f55ff734d","9b3ab170-b768-11eb-a45a-da7ad0900002","7a83f306-96ca-11eb-9c74-da7ad0900002","16169788-28e4-11eb-832c-fb84162ef3eb","4de53192-9946-11eb-9cee-da7ad0900002","1302282c-b93b-11eb-a436-da7ad0900002","17d73994-7531-11eb-94b9-da7ad0900002"],"author_name":"Qin Chen","template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"v24-rpz-c84","title":"tf-TestAccDatadogDashboardQueryValueFormula-local-1621866546","url":"/dashboard/v24-rpz-c84/tf-testaccdatadogdashboardqueryvalueformula-local-1621866546","created_at":"2021-05-24T14:29:08.000674+00:00","modified_at":"2021-05-24T14:29:08.000674+00:00","author_handle":"qin.chen@datadoghq.com","widgets":[{"definition":{"type":"query_value","requests":[{"formulas":[{"formula":"query1 + query2","limit":{"count":10,"order":"asc"}}],"response_format":"scalar","queries":[{"aggregator":"sum","data_source":"metrics","name":"query1","query":"avg:system.cpu.system{*} by {datacenter}"},{"aggregator":"sum","data_source":"metrics","name":"query2","query":"avg:system.load.1{*} by {datacenter}"}]}],"autoscale":false,"precision":0},"id":4802306324114774},{"definition":{"type":"query_value","requests":[{"formulas":[{"formula":"query1","limit":{"count":25,"order":"desc"}}],"response_format":"scalar","queries":[{"data_source":"rum","compute":{"aggregation":"count"},"name":"query1","indexes":["*"]}]}],"autoscale":false,"precision":0},"id":5322478081247786}],"layout_type":"ordered"}' + body: '{"notify_list":[],"description":"Created using the Datadog provider in Terraform","author_name":null,"template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"6gt-3rp-fj2","title":"tf-TestAccDatadogDashboardQueryValueFormula-local-1614296348","url":"/dashboard/6gt-3rp-fj2/tf-testaccdatadogdashboardqueryvalueformula-local-1614296348","created_at":"2021-02-25T23:39:08.959260+00:00","modified_at":"2021-02-25T23:39:08.959260+00:00","author_handle":"frog@datadoghq.com","widgets":[{"definition":{"type":"query_value","requests":[{"formulas":[{"formula":"query1 + query2","limit":{"count":10,"order":"asc"}}],"response_format":"scalar","queries":[{"aggregator":"sum","data_source":"metrics","name":"query1","query":"avg:system.cpu.system{*} by {datacenter}"},{"aggregator":"sum","data_source":"metrics","name":"query2","query":"avg:system.load.1{*} by {datacenter}"}]}],"autoscale":false,"precision":0},"id":6851875718636234},{"definition":{"type":"query_value","requests":[{"formulas":[{"formula":"query1","limit":{"count":25,"order":"desc"}}],"response_format":"scalar","queries":[{"data_source":"rum","compute":{"aggregation":"count"},"name":"query1","indexes":["*"]}]}],"autoscale":false,"precision":0},"id":6640188580202253}],"layout_type":"ordered"}' headers: Cache-Control: - no-cache @@ -154,7 +154,7 @@ interactions: Content-Type: - application/json Date: - - Mon, 24 May 2021 14:29:09 GMT + - Thu, 25 Feb 2021 23:39:13 GMT Pragma: - no-cache Strict-Transport-Security: @@ -164,9 +164,9 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Debug: - - F5gm0Rce1/Abr9/0Fw8HAqWfiz0FdiH8er/AXnN6lOn3L6KyGgbsLCwgPlob1No8 + - gYZcaADwbKcv7Hm19HJx6WsLoKuOijDWAt2viPeCfWqUgyKY+9e1xZdmMJeXV3YV X-Dd-Version: - - "35.4593741" + - "35.3986175" X-Frame-Options: - SAMEORIGIN status: 200 OK @@ -181,11 +181,11 @@ interactions: Dd-Operation-Id: - GetDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) - url: https://api.datadoghq.com/api/v1/dashboard/v24-rpz-c84 + - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.16+dev (go go1.15.6; os darwin; arch amd64) + url: https://api.datadoghq.com/api/v1/dashboard/6gt-3rp-fj2 method: GET response: - body: '{"notify_list":[],"description":"Created using the Datadog provider in Terraform","restricted_roles":["284d8b66-93f9-11eb-9c37-da7ad0900002","043a2842-e140-11e8-bb04-7fd10177666e","657de3a2-29f8-11eb-83b5-6b8ebfb2f184","e82bf27a-986c-11eb-9cba-da7ad0900002","f257ba30-dbb2-11ea-a5ff-5fd1d308318a","6bf314be-5c16-11eb-8e98-2356ea436065","62cbc476-5c16-11eb-8e98-0388ea7a41f8","08604de8-1dca-11eb-800c-9f5f55ff734d","9b3ab170-b768-11eb-a45a-da7ad0900002","7a83f306-96ca-11eb-9c74-da7ad0900002","16169788-28e4-11eb-832c-fb84162ef3eb","4de53192-9946-11eb-9cee-da7ad0900002","1302282c-b93b-11eb-a436-da7ad0900002","17d73994-7531-11eb-94b9-da7ad0900002"],"author_name":"Qin Chen","template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"v24-rpz-c84","title":"tf-TestAccDatadogDashboardQueryValueFormula-local-1621866546","url":"/dashboard/v24-rpz-c84/tf-testaccdatadogdashboardqueryvalueformula-local-1621866546","created_at":"2021-05-24T14:29:08.000674+00:00","modified_at":"2021-05-24T14:29:08.000674+00:00","author_handle":"qin.chen@datadoghq.com","widgets":[{"definition":{"type":"query_value","requests":[{"formulas":[{"formula":"query1 + query2","limit":{"count":10,"order":"asc"}}],"response_format":"scalar","queries":[{"aggregator":"sum","data_source":"metrics","name":"query1","query":"avg:system.cpu.system{*} by {datacenter}"},{"aggregator":"sum","data_source":"metrics","name":"query2","query":"avg:system.load.1{*} by {datacenter}"}]}],"autoscale":false,"precision":0},"id":4802306324114774},{"definition":{"type":"query_value","requests":[{"formulas":[{"formula":"query1","limit":{"count":25,"order":"desc"}}],"response_format":"scalar","queries":[{"data_source":"rum","compute":{"aggregation":"count"},"name":"query1","indexes":["*"]}]}],"autoscale":false,"precision":0},"id":5322478081247786}],"layout_type":"ordered"}' + body: '{"notify_list":[],"description":"Created using the Datadog provider in Terraform","author_name":null,"template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"6gt-3rp-fj2","title":"tf-TestAccDatadogDashboardQueryValueFormula-local-1614296348","url":"/dashboard/6gt-3rp-fj2/tf-testaccdatadogdashboardqueryvalueformula-local-1614296348","created_at":"2021-02-25T23:39:08.959260+00:00","modified_at":"2021-02-25T23:39:08.959260+00:00","author_handle":"frog@datadoghq.com","widgets":[{"definition":{"type":"query_value","requests":[{"formulas":[{"formula":"query1 + query2","limit":{"count":10,"order":"asc"}}],"response_format":"scalar","queries":[{"aggregator":"sum","data_source":"metrics","name":"query1","query":"avg:system.cpu.system{*} by {datacenter}"},{"aggregator":"sum","data_source":"metrics","name":"query2","query":"avg:system.load.1{*} by {datacenter}"}]}],"autoscale":false,"precision":0},"id":6851875718636234},{"definition":{"type":"query_value","requests":[{"formulas":[{"formula":"query1","limit":{"count":25,"order":"desc"}}],"response_format":"scalar","queries":[{"data_source":"rum","compute":{"aggregation":"count"},"name":"query1","indexes":["*"]}]}],"autoscale":false,"precision":0},"id":6640188580202253}],"layout_type":"ordered"}' headers: Cache-Control: - no-cache @@ -196,7 +196,7 @@ interactions: Content-Type: - application/json Date: - - Mon, 24 May 2021 14:29:10 GMT + - Thu, 25 Feb 2021 23:39:13 GMT Pragma: - no-cache Strict-Transport-Security: @@ -206,9 +206,9 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Debug: - - Um4CoU685QqAscnxhS5BD+goWu2yX1Jd4zCfGzSsEvPPIm1qURZaF8dlLl/OEY4I + - bgHykj7A9bfZx0Y5ZO3swhhp5tGUSNJHqFWR868+qg087CYrDOd5hQslC+noiEtH X-Dd-Version: - - "35.4593741" + - "35.3986175" X-Frame-Options: - SAMEORIGIN status: 200 OK @@ -223,11 +223,11 @@ interactions: Dd-Operation-Id: - DeleteDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) - url: https://api.datadoghq.com/api/v1/dashboard/v24-rpz-c84 + - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.16+dev (go go1.15.6; os darwin; arch amd64) + url: https://api.datadoghq.com/api/v1/dashboard/6gt-3rp-fj2 method: DELETE response: - body: '{"deleted_dashboard_id":"v24-rpz-c84"}' + body: '{"deleted_dashboard_id":"6gt-3rp-fj2"}' headers: Cache-Control: - no-cache @@ -238,7 +238,7 @@ interactions: Content-Type: - application/json Date: - - Mon, 24 May 2021 14:29:10 GMT + - Thu, 25 Feb 2021 23:39:13 GMT Pragma: - no-cache Strict-Transport-Security: @@ -248,9 +248,9 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Debug: - - l4HFlaRP3QwYSqoGKhzbYfv7zgkK63HIRR7YkyVYZspq0lGjjTBwoK8V/alf+XYt + - PhosSd3Ch1B6B0DXI71steKUi7XhPDttnPiIP1NdXTw0VJNWpoUnYyBmODS5ne3q X-Dd-Version: - - "35.4593741" + - "35.3986175" X-Frame-Options: - SAMEORIGIN status: 200 OK @@ -265,11 +265,11 @@ interactions: Dd-Operation-Id: - GetDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) - url: https://api.datadoghq.com/api/v1/dashboard/v24-rpz-c84 + - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.16+dev (go go1.15.6; os darwin; arch amd64) + url: https://api.datadoghq.com/api/v1/dashboard/6gt-3rp-fj2 method: GET response: - body: '{"errors": ["Dashboard with ID v24-rpz-c84 not found"]}' + body: '{"errors": ["Dashboard with ID 6gt-3rp-fj2 not found"]}' headers: Cache-Control: - no-cache @@ -280,7 +280,7 @@ interactions: Content-Type: - application/json Date: - - Mon, 24 May 2021 14:29:10 GMT + - Thu, 25 Feb 2021 23:39:13 GMT Pragma: - no-cache Strict-Transport-Security: @@ -290,7 +290,7 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Version: - - "35.4593741" + - "35.3986175" X-Frame-Options: - SAMEORIGIN status: 404 Not Found diff --git a/datadog/tests/cassettes/TestAccDatadogDashboardQueryValueFormula_import.freeze b/datadog/tests/cassettes/TestAccDatadogDashboardQueryValueFormula_import.freeze index 52fa3f2ce..3f789bf39 100644 --- a/datadog/tests/cassettes/TestAccDatadogDashboardQueryValueFormula_import.freeze +++ b/datadog/tests/cassettes/TestAccDatadogDashboardQueryValueFormula_import.freeze @@ -1 +1 @@ -2021-05-24T10:37:36.384652-04:00 \ No newline at end of file +2021-02-25T18:39:08.086824-05:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogDashboardQueryValueFormula_import.yaml b/datadog/tests/cassettes/TestAccDatadogDashboardQueryValueFormula_import.yaml index 8d1121935..a5f76c46c 100644 --- a/datadog/tests/cassettes/TestAccDatadogDashboardQueryValueFormula_import.yaml +++ b/datadog/tests/cassettes/TestAccDatadogDashboardQueryValueFormula_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-TestAccDatadogDashboardQueryValueFormula_import-local-1621866546","widgets":[{"definition":{"autoscale":false,"precision":0,"requests":[{"formulas":[{"formula":"query1 + query2","limit":{"count":10,"order":"asc"}}],"queries":[{"aggregator":"sum","data_source":"metrics","name":"query1","query":"avg:system.cpu.system{*} by {datacenter}"},{"aggregator":"sum","data_source":"metrics","name":"query2","query":"avg:system.load.1{*} by {datacenter}"}],"response_format":"scalar"}],"type":"query_value"}},{"definition":{"autoscale":false,"precision":0,"requests":[{"formulas":[{"formula":"query1","limit":{"count":25,"order":"desc"}}],"queries":[{"compute":{"aggregation":"count"},"data_source":"rum","indexes":["*"],"name":"query1"}],"response_format":"scalar"}],"type":"query_value"}}]} + {"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-TestAccDatadogDashboardQueryValueFormula_import-local-1614296348","widgets":[{"definition":{"autoscale":false,"precision":0,"requests":[{"formulas":[{"formula":"query1 + query2","limit":{"count":10,"order":"asc"}}],"queries":[{"aggregator":"sum","data_source":"metrics","name":"query1","query":"avg:system.cpu.system{*} by {datacenter}"},{"aggregator":"sum","data_source":"metrics","name":"query2","query":"avg:system.load.1{*} by {datacenter}"}],"response_format":"scalar"}],"type":"query_value"}},{"definition":{"autoscale":false,"precision":0,"requests":[{"formulas":[{"formula":"query1","limit":{"count":25,"order":"desc"}}],"queries":[{"compute":{"aggregation":"count"},"data_source":"rum","indexes":["*"],"name":"query1"}],"response_format":"scalar"}],"type":"query_value"}}]} form: {} headers: Accept: @@ -13,11 +13,11 @@ interactions: Dd-Operation-Id: - CreateDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) + - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.16+dev (go go1.15.6; os darwin; arch amd64) url: https://api.datadoghq.com/api/v1/dashboard method: POST response: - body: '{"notify_list":[],"description":"Created using the Datadog provider in Terraform","restricted_roles":["043a2842-e140-11e8-bb04-7fd10177666e","08604de8-1dca-11eb-800c-9f5f55ff734d","1302282c-b93b-11eb-a436-da7ad0900002","16169788-28e4-11eb-832c-fb84162ef3eb","17d73994-7531-11eb-94b9-da7ad0900002","284d8b66-93f9-11eb-9c37-da7ad0900002","4de53192-9946-11eb-9cee-da7ad0900002","62cbc476-5c16-11eb-8e98-0388ea7a41f8","657de3a2-29f8-11eb-83b5-6b8ebfb2f184","6bf314be-5c16-11eb-8e98-2356ea436065","7a83f306-96ca-11eb-9c74-da7ad0900002","9b3ab170-b768-11eb-a45a-da7ad0900002","e82bf27a-986c-11eb-9cba-da7ad0900002","f257ba30-dbb2-11ea-a5ff-5fd1d308318a"],"author_name":"Qin Chen","template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"u4t-b58-rsh","title":"tf-TestAccDatadogDashboardQueryValueFormula_import-local-1621866546","url":"/dashboard/u4t-b58-rsh/tf-testaccdatadogdashboardqueryvalueformulaimport-local-1621866546","created_at":"2021-05-24T14:29:07.997598+00:00","modified_at":"2021-05-24T14:29:07.997598+00:00","author_handle":"qin.chen@datadoghq.com","widgets":[{"definition":{"type":"query_value","requests":[{"formulas":[{"formula":"query1 + query2","limit":{"count":10,"order":"asc"}}],"response_format":"scalar","queries":[{"aggregator":"sum","data_source":"metrics","name":"query1","query":"avg:system.cpu.system{*} by {datacenter}"},{"aggregator":"sum","data_source":"metrics","name":"query2","query":"avg:system.load.1{*} by {datacenter}"}]}],"autoscale":false,"precision":0},"id":8719702129204699},{"definition":{"type":"query_value","requests":[{"formulas":[{"formula":"query1","limit":{"count":25,"order":"desc"}}],"response_format":"scalar","queries":[{"data_source":"rum","compute":{"aggregation":"count"},"name":"query1","indexes":["*"]}]}],"autoscale":false,"precision":0},"id":8439038873460776}],"layout_type":"ordered"}' + body: '{"notify_list":[],"description":"Created using the Datadog provider in Terraform","author_name":null,"template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"7fq-hc7-w8z","title":"tf-TestAccDatadogDashboardQueryValueFormula_import-local-1614296348","url":"/dashboard/7fq-hc7-w8z/tf-testaccdatadogdashboardqueryvalueformulaimport-local-1614296348","created_at":"2021-02-25T23:39:08.962468+00:00","modified_at":"2021-02-25T23:39:08.962468+00:00","author_handle":"frog@datadoghq.com","widgets":[{"definition":{"type":"query_value","requests":[{"formulas":[{"formula":"query1 + query2","limit":{"count":10,"order":"asc"}}],"response_format":"scalar","queries":[{"aggregator":"sum","data_source":"metrics","name":"query1","query":"avg:system.cpu.system{*} by {datacenter}"},{"aggregator":"sum","data_source":"metrics","name":"query2","query":"avg:system.load.1{*} by {datacenter}"}]}],"autoscale":false,"precision":0},"id":3695516588483057},{"definition":{"type":"query_value","requests":[{"formulas":[{"formula":"query1","limit":{"count":25,"order":"desc"}}],"response_format":"scalar","queries":[{"data_source":"rum","compute":{"aggregation":"count"},"name":"query1","indexes":["*"]}]}],"autoscale":false,"precision":0},"id":35421410005026}],"layout_type":"ordered"}' headers: Cache-Control: - no-cache @@ -28,7 +28,7 @@ interactions: Content-Type: - application/json Date: - - Mon, 24 May 2021 14:29:08 GMT + - Thu, 25 Feb 2021 23:39:12 GMT Pragma: - no-cache Strict-Transport-Security: @@ -38,9 +38,9 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Debug: - - S1wfaMZOKGT/IoMw6fqAwAwGWo2vQ44sjF3YzuETnQfxZO2T5eJbs0aX3UKb9Dwu + - twvpGlmuom5y6A0pjGtXzTf554cmwJgTcCZ71fK4H/RDi+v5ehBK0zQiRcTJQG5C X-Dd-Version: - - "35.4593741" + - "35.3986175" X-Frame-Options: - SAMEORIGIN status: 200 OK @@ -55,11 +55,11 @@ interactions: Dd-Operation-Id: - GetDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) - url: https://api.datadoghq.com/api/v1/dashboard/u4t-b58-rsh + - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.16+dev (go go1.15.6; os darwin; arch amd64) + url: https://api.datadoghq.com/api/v1/dashboard/7fq-hc7-w8z method: GET response: - body: '{"notify_list":[],"description":"Created using the Datadog provider in Terraform","restricted_roles":["284d8b66-93f9-11eb-9c37-da7ad0900002","043a2842-e140-11e8-bb04-7fd10177666e","657de3a2-29f8-11eb-83b5-6b8ebfb2f184","e82bf27a-986c-11eb-9cba-da7ad0900002","f257ba30-dbb2-11ea-a5ff-5fd1d308318a","6bf314be-5c16-11eb-8e98-2356ea436065","62cbc476-5c16-11eb-8e98-0388ea7a41f8","08604de8-1dca-11eb-800c-9f5f55ff734d","9b3ab170-b768-11eb-a45a-da7ad0900002","7a83f306-96ca-11eb-9c74-da7ad0900002","16169788-28e4-11eb-832c-fb84162ef3eb","4de53192-9946-11eb-9cee-da7ad0900002","1302282c-b93b-11eb-a436-da7ad0900002","17d73994-7531-11eb-94b9-da7ad0900002"],"author_name":"Qin Chen","template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"u4t-b58-rsh","title":"tf-TestAccDatadogDashboardQueryValueFormula_import-local-1621866546","url":"/dashboard/u4t-b58-rsh/tf-testaccdatadogdashboardqueryvalueformulaimport-local-1621866546","created_at":"2021-05-24T14:29:07.997598+00:00","modified_at":"2021-05-24T14:29:07.997598+00:00","author_handle":"qin.chen@datadoghq.com","widgets":[{"definition":{"type":"query_value","requests":[{"formulas":[{"formula":"query1 + query2","limit":{"count":10,"order":"asc"}}],"response_format":"scalar","queries":[{"aggregator":"sum","data_source":"metrics","name":"query1","query":"avg:system.cpu.system{*} by {datacenter}"},{"aggregator":"sum","data_source":"metrics","name":"query2","query":"avg:system.load.1{*} by {datacenter}"}]}],"autoscale":false,"precision":0},"id":8719702129204699},{"definition":{"type":"query_value","requests":[{"formulas":[{"formula":"query1","limit":{"count":25,"order":"desc"}}],"response_format":"scalar","queries":[{"data_source":"rum","compute":{"aggregation":"count"},"name":"query1","indexes":["*"]}]}],"autoscale":false,"precision":0},"id":8439038873460776}],"layout_type":"ordered"}' + body: '{"notify_list":[],"description":"Created using the Datadog provider in Terraform","author_name":null,"template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"7fq-hc7-w8z","title":"tf-TestAccDatadogDashboardQueryValueFormula_import-local-1614296348","url":"/dashboard/7fq-hc7-w8z/tf-testaccdatadogdashboardqueryvalueformulaimport-local-1614296348","created_at":"2021-02-25T23:39:08.962468+00:00","modified_at":"2021-02-25T23:39:08.962468+00:00","author_handle":"frog@datadoghq.com","widgets":[{"definition":{"type":"query_value","requests":[{"formulas":[{"formula":"query1 + query2","limit":{"count":10,"order":"asc"}}],"response_format":"scalar","queries":[{"aggregator":"sum","data_source":"metrics","name":"query1","query":"avg:system.cpu.system{*} by {datacenter}"},{"aggregator":"sum","data_source":"metrics","name":"query2","query":"avg:system.load.1{*} by {datacenter}"}]}],"autoscale":false,"precision":0},"id":3695516588483057},{"definition":{"type":"query_value","requests":[{"formulas":[{"formula":"query1","limit":{"count":25,"order":"desc"}}],"response_format":"scalar","queries":[{"data_source":"rum","compute":{"aggregation":"count"},"name":"query1","indexes":["*"]}]}],"autoscale":false,"precision":0},"id":35421410005026}],"layout_type":"ordered"}' headers: Cache-Control: - no-cache @@ -70,7 +70,7 @@ interactions: Content-Type: - application/json Date: - - Mon, 24 May 2021 14:29:08 GMT + - Thu, 25 Feb 2021 23:39:12 GMT Pragma: - no-cache Strict-Transport-Security: @@ -80,9 +80,9 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Debug: - - SY1h8ScsWq+kYmtbh63ltMLFAZsQjqfrgvdfAoRX+9TzT1sgMBRYaFRwfWWRRe9a + - tpRCH6w417YjBovRJ8VmtuXmNONVYiRp2c8d2AxjPdGBn8PCtgG4vAztrx3qUZAN X-Dd-Version: - - "35.4593741" + - "35.3986175" X-Frame-Options: - SAMEORIGIN status: 200 OK @@ -97,11 +97,11 @@ interactions: Dd-Operation-Id: - GetDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) - url: https://api.datadoghq.com/api/v1/dashboard/u4t-b58-rsh + - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.16+dev (go go1.15.6; os darwin; arch amd64) + url: https://api.datadoghq.com/api/v1/dashboard/7fq-hc7-w8z method: GET response: - body: '{"notify_list":[],"description":"Created using the Datadog provider in Terraform","restricted_roles":["284d8b66-93f9-11eb-9c37-da7ad0900002","043a2842-e140-11e8-bb04-7fd10177666e","657de3a2-29f8-11eb-83b5-6b8ebfb2f184","e82bf27a-986c-11eb-9cba-da7ad0900002","f257ba30-dbb2-11ea-a5ff-5fd1d308318a","6bf314be-5c16-11eb-8e98-2356ea436065","62cbc476-5c16-11eb-8e98-0388ea7a41f8","08604de8-1dca-11eb-800c-9f5f55ff734d","9b3ab170-b768-11eb-a45a-da7ad0900002","7a83f306-96ca-11eb-9c74-da7ad0900002","16169788-28e4-11eb-832c-fb84162ef3eb","4de53192-9946-11eb-9cee-da7ad0900002","1302282c-b93b-11eb-a436-da7ad0900002","17d73994-7531-11eb-94b9-da7ad0900002"],"author_name":"Qin Chen","template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"u4t-b58-rsh","title":"tf-TestAccDatadogDashboardQueryValueFormula_import-local-1621866546","url":"/dashboard/u4t-b58-rsh/tf-testaccdatadogdashboardqueryvalueformulaimport-local-1621866546","created_at":"2021-05-24T14:29:07.997598+00:00","modified_at":"2021-05-24T14:29:07.997598+00:00","author_handle":"qin.chen@datadoghq.com","widgets":[{"definition":{"type":"query_value","requests":[{"formulas":[{"formula":"query1 + query2","limit":{"count":10,"order":"asc"}}],"response_format":"scalar","queries":[{"aggregator":"sum","data_source":"metrics","name":"query1","query":"avg:system.cpu.system{*} by {datacenter}"},{"aggregator":"sum","data_source":"metrics","name":"query2","query":"avg:system.load.1{*} by {datacenter}"}]}],"autoscale":false,"precision":0},"id":8719702129204699},{"definition":{"type":"query_value","requests":[{"formulas":[{"formula":"query1","limit":{"count":25,"order":"desc"}}],"response_format":"scalar","queries":[{"data_source":"rum","compute":{"aggregation":"count"},"name":"query1","indexes":["*"]}]}],"autoscale":false,"precision":0},"id":8439038873460776}],"layout_type":"ordered"}' + body: '{"notify_list":[],"description":"Created using the Datadog provider in Terraform","author_name":null,"template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"7fq-hc7-w8z","title":"tf-TestAccDatadogDashboardQueryValueFormula_import-local-1614296348","url":"/dashboard/7fq-hc7-w8z/tf-testaccdatadogdashboardqueryvalueformulaimport-local-1614296348","created_at":"2021-02-25T23:39:08.962468+00:00","modified_at":"2021-02-25T23:39:08.962468+00:00","author_handle":"frog@datadoghq.com","widgets":[{"definition":{"type":"query_value","requests":[{"formulas":[{"formula":"query1 + query2","limit":{"count":10,"order":"asc"}}],"response_format":"scalar","queries":[{"aggregator":"sum","data_source":"metrics","name":"query1","query":"avg:system.cpu.system{*} by {datacenter}"},{"aggregator":"sum","data_source":"metrics","name":"query2","query":"avg:system.load.1{*} by {datacenter}"}]}],"autoscale":false,"precision":0},"id":3695516588483057},{"definition":{"type":"query_value","requests":[{"formulas":[{"formula":"query1","limit":{"count":25,"order":"desc"}}],"response_format":"scalar","queries":[{"data_source":"rum","compute":{"aggregation":"count"},"name":"query1","indexes":["*"]}]}],"autoscale":false,"precision":0},"id":35421410005026}],"layout_type":"ordered"}' headers: Cache-Control: - no-cache @@ -112,7 +112,7 @@ interactions: Content-Type: - application/json Date: - - Mon, 24 May 2021 14:29:09 GMT + - Thu, 25 Feb 2021 23:39:13 GMT Pragma: - no-cache Strict-Transport-Security: @@ -122,9 +122,9 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Debug: - - 5gfwVh/5HZ+AnGd/Di93w3NEWC6KMHT9KzmHEiRJmNdOjBtAsbOcgVFyqEChw71h + - vdJ3/nHEY1ioXQ6pQrBVvsQK1s4yyc+wufBMPSoXql71qZVuP/xMdtNo6DafhOAk X-Dd-Version: - - "35.4593741" + - "35.3986175" X-Frame-Options: - SAMEORIGIN status: 200 OK @@ -139,11 +139,11 @@ interactions: Dd-Operation-Id: - GetDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) - url: https://api.datadoghq.com/api/v1/dashboard/u4t-b58-rsh + - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.16+dev (go go1.15.6; os darwin; arch amd64) + url: https://api.datadoghq.com/api/v1/dashboard/7fq-hc7-w8z method: GET response: - body: '{"notify_list":[],"description":"Created using the Datadog provider in Terraform","restricted_roles":["284d8b66-93f9-11eb-9c37-da7ad0900002","043a2842-e140-11e8-bb04-7fd10177666e","657de3a2-29f8-11eb-83b5-6b8ebfb2f184","e82bf27a-986c-11eb-9cba-da7ad0900002","f257ba30-dbb2-11ea-a5ff-5fd1d308318a","6bf314be-5c16-11eb-8e98-2356ea436065","62cbc476-5c16-11eb-8e98-0388ea7a41f8","08604de8-1dca-11eb-800c-9f5f55ff734d","9b3ab170-b768-11eb-a45a-da7ad0900002","7a83f306-96ca-11eb-9c74-da7ad0900002","16169788-28e4-11eb-832c-fb84162ef3eb","4de53192-9946-11eb-9cee-da7ad0900002","1302282c-b93b-11eb-a436-da7ad0900002","17d73994-7531-11eb-94b9-da7ad0900002"],"author_name":"Qin Chen","template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"u4t-b58-rsh","title":"tf-TestAccDatadogDashboardQueryValueFormula_import-local-1621866546","url":"/dashboard/u4t-b58-rsh/tf-testaccdatadogdashboardqueryvalueformulaimport-local-1621866546","created_at":"2021-05-24T14:29:07.997598+00:00","modified_at":"2021-05-24T14:29:07.997598+00:00","author_handle":"qin.chen@datadoghq.com","widgets":[{"definition":{"type":"query_value","requests":[{"formulas":[{"formula":"query1 + query2","limit":{"count":10,"order":"asc"}}],"response_format":"scalar","queries":[{"aggregator":"sum","data_source":"metrics","name":"query1","query":"avg:system.cpu.system{*} by {datacenter}"},{"aggregator":"sum","data_source":"metrics","name":"query2","query":"avg:system.load.1{*} by {datacenter}"}]}],"autoscale":false,"precision":0},"id":8719702129204699},{"definition":{"type":"query_value","requests":[{"formulas":[{"formula":"query1","limit":{"count":25,"order":"desc"}}],"response_format":"scalar","queries":[{"data_source":"rum","compute":{"aggregation":"count"},"name":"query1","indexes":["*"]}]}],"autoscale":false,"precision":0},"id":8439038873460776}],"layout_type":"ordered"}' + body: '{"notify_list":[],"description":"Created using the Datadog provider in Terraform","author_name":null,"template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"7fq-hc7-w8z","title":"tf-TestAccDatadogDashboardQueryValueFormula_import-local-1614296348","url":"/dashboard/7fq-hc7-w8z/tf-testaccdatadogdashboardqueryvalueformulaimport-local-1614296348","created_at":"2021-02-25T23:39:08.962468+00:00","modified_at":"2021-02-25T23:39:08.962468+00:00","author_handle":"frog@datadoghq.com","widgets":[{"definition":{"type":"query_value","requests":[{"formulas":[{"formula":"query1 + query2","limit":{"count":10,"order":"asc"}}],"response_format":"scalar","queries":[{"aggregator":"sum","data_source":"metrics","name":"query1","query":"avg:system.cpu.system{*} by {datacenter}"},{"aggregator":"sum","data_source":"metrics","name":"query2","query":"avg:system.load.1{*} by {datacenter}"}]}],"autoscale":false,"precision":0},"id":3695516588483057},{"definition":{"type":"query_value","requests":[{"formulas":[{"formula":"query1","limit":{"count":25,"order":"desc"}}],"response_format":"scalar","queries":[{"data_source":"rum","compute":{"aggregation":"count"},"name":"query1","indexes":["*"]}]}],"autoscale":false,"precision":0},"id":35421410005026}],"layout_type":"ordered"}' headers: Cache-Control: - no-cache @@ -154,7 +154,7 @@ interactions: Content-Type: - application/json Date: - - Mon, 24 May 2021 14:29:09 GMT + - Thu, 25 Feb 2021 23:39:13 GMT Pragma: - no-cache Strict-Transport-Security: @@ -164,9 +164,9 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Debug: - - 5gfwVh/5HZ+AnGd/Di93w3NEWC6KMHT9KzmHEiRJmNdOjBtAsbOcgVFyqEChw71h + - B1nwy/pPNqX+q4pQT22cdp1QCexE35IF8qwSHy0Nf7IW0Y881qtn4tXN1lpmzaKc X-Dd-Version: - - "35.4593741" + - "35.3986175" X-Frame-Options: - SAMEORIGIN status: 200 OK @@ -181,11 +181,11 @@ interactions: Dd-Operation-Id: - GetDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) - url: https://api.datadoghq.com/api/v1/dashboard/u4t-b58-rsh + - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.16+dev (go go1.15.6; os darwin; arch amd64) + url: https://api.datadoghq.com/api/v1/dashboard/7fq-hc7-w8z method: GET response: - body: '{"notify_list":[],"description":"Created using the Datadog provider in Terraform","restricted_roles":["284d8b66-93f9-11eb-9c37-da7ad0900002","043a2842-e140-11e8-bb04-7fd10177666e","657de3a2-29f8-11eb-83b5-6b8ebfb2f184","e82bf27a-986c-11eb-9cba-da7ad0900002","f257ba30-dbb2-11ea-a5ff-5fd1d308318a","6bf314be-5c16-11eb-8e98-2356ea436065","62cbc476-5c16-11eb-8e98-0388ea7a41f8","08604de8-1dca-11eb-800c-9f5f55ff734d","9b3ab170-b768-11eb-a45a-da7ad0900002","7a83f306-96ca-11eb-9c74-da7ad0900002","16169788-28e4-11eb-832c-fb84162ef3eb","4de53192-9946-11eb-9cee-da7ad0900002","1302282c-b93b-11eb-a436-da7ad0900002","17d73994-7531-11eb-94b9-da7ad0900002"],"author_name":"Qin Chen","template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"u4t-b58-rsh","title":"tf-TestAccDatadogDashboardQueryValueFormula_import-local-1621866546","url":"/dashboard/u4t-b58-rsh/tf-testaccdatadogdashboardqueryvalueformulaimport-local-1621866546","created_at":"2021-05-24T14:29:07.997598+00:00","modified_at":"2021-05-24T14:29:07.997598+00:00","author_handle":"qin.chen@datadoghq.com","widgets":[{"definition":{"type":"query_value","requests":[{"formulas":[{"formula":"query1 + query2","limit":{"count":10,"order":"asc"}}],"response_format":"scalar","queries":[{"aggregator":"sum","data_source":"metrics","name":"query1","query":"avg:system.cpu.system{*} by {datacenter}"},{"aggregator":"sum","data_source":"metrics","name":"query2","query":"avg:system.load.1{*} by {datacenter}"}]}],"autoscale":false,"precision":0},"id":8719702129204699},{"definition":{"type":"query_value","requests":[{"formulas":[{"formula":"query1","limit":{"count":25,"order":"desc"}}],"response_format":"scalar","queries":[{"data_source":"rum","compute":{"aggregation":"count"},"name":"query1","indexes":["*"]}]}],"autoscale":false,"precision":0},"id":8439038873460776}],"layout_type":"ordered"}' + body: '{"notify_list":[],"description":"Created using the Datadog provider in Terraform","author_name":null,"template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"7fq-hc7-w8z","title":"tf-TestAccDatadogDashboardQueryValueFormula_import-local-1614296348","url":"/dashboard/7fq-hc7-w8z/tf-testaccdatadogdashboardqueryvalueformulaimport-local-1614296348","created_at":"2021-02-25T23:39:08.962468+00:00","modified_at":"2021-02-25T23:39:08.962468+00:00","author_handle":"frog@datadoghq.com","widgets":[{"definition":{"type":"query_value","requests":[{"formulas":[{"formula":"query1 + query2","limit":{"count":10,"order":"asc"}}],"response_format":"scalar","queries":[{"aggregator":"sum","data_source":"metrics","name":"query1","query":"avg:system.cpu.system{*} by {datacenter}"},{"aggregator":"sum","data_source":"metrics","name":"query2","query":"avg:system.load.1{*} by {datacenter}"}]}],"autoscale":false,"precision":0},"id":3695516588483057},{"definition":{"type":"query_value","requests":[{"formulas":[{"formula":"query1","limit":{"count":25,"order":"desc"}}],"response_format":"scalar","queries":[{"data_source":"rum","compute":{"aggregation":"count"},"name":"query1","indexes":["*"]}]}],"autoscale":false,"precision":0},"id":35421410005026}],"layout_type":"ordered"}' headers: Cache-Control: - no-cache @@ -196,7 +196,7 @@ interactions: Content-Type: - application/json Date: - - Mon, 24 May 2021 14:29:10 GMT + - Thu, 25 Feb 2021 23:39:13 GMT Pragma: - no-cache Strict-Transport-Security: @@ -206,9 +206,9 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Debug: - - dPySkcOzIZtKyMKDAAzuysY3gNGGj6RtYogGuSb76E8mPvoqzREyRp6lPYm91hQU + - S1wfaMZOKGT/IoMw6fqAwAwGWo2vQ44sjF3YzuETnQfxZO2T5eJbs0aX3UKb9Dwu X-Dd-Version: - - "35.4593741" + - "35.3986175" X-Frame-Options: - SAMEORIGIN status: 200 OK @@ -223,11 +223,11 @@ interactions: Dd-Operation-Id: - GetDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) - url: https://api.datadoghq.com/api/v1/dashboard/u4t-b58-rsh + - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.16+dev (go go1.15.6; os darwin; arch amd64) + url: https://api.datadoghq.com/api/v1/dashboard/7fq-hc7-w8z method: GET response: - body: '{"notify_list":[],"description":"Created using the Datadog provider in Terraform","restricted_roles":["284d8b66-93f9-11eb-9c37-da7ad0900002","043a2842-e140-11e8-bb04-7fd10177666e","657de3a2-29f8-11eb-83b5-6b8ebfb2f184","e82bf27a-986c-11eb-9cba-da7ad0900002","f257ba30-dbb2-11ea-a5ff-5fd1d308318a","6bf314be-5c16-11eb-8e98-2356ea436065","62cbc476-5c16-11eb-8e98-0388ea7a41f8","08604de8-1dca-11eb-800c-9f5f55ff734d","9b3ab170-b768-11eb-a45a-da7ad0900002","7a83f306-96ca-11eb-9c74-da7ad0900002","16169788-28e4-11eb-832c-fb84162ef3eb","4de53192-9946-11eb-9cee-da7ad0900002","1302282c-b93b-11eb-a436-da7ad0900002","17d73994-7531-11eb-94b9-da7ad0900002"],"author_name":"Qin Chen","template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"u4t-b58-rsh","title":"tf-TestAccDatadogDashboardQueryValueFormula_import-local-1621866546","url":"/dashboard/u4t-b58-rsh/tf-testaccdatadogdashboardqueryvalueformulaimport-local-1621866546","created_at":"2021-05-24T14:29:07.997598+00:00","modified_at":"2021-05-24T14:29:07.997598+00:00","author_handle":"qin.chen@datadoghq.com","widgets":[{"definition":{"type":"query_value","requests":[{"formulas":[{"formula":"query1 + query2","limit":{"count":10,"order":"asc"}}],"response_format":"scalar","queries":[{"aggregator":"sum","data_source":"metrics","name":"query1","query":"avg:system.cpu.system{*} by {datacenter}"},{"aggregator":"sum","data_source":"metrics","name":"query2","query":"avg:system.load.1{*} by {datacenter}"}]}],"autoscale":false,"precision":0},"id":8719702129204699},{"definition":{"type":"query_value","requests":[{"formulas":[{"formula":"query1","limit":{"count":25,"order":"desc"}}],"response_format":"scalar","queries":[{"data_source":"rum","compute":{"aggregation":"count"},"name":"query1","indexes":["*"]}]}],"autoscale":false,"precision":0},"id":8439038873460776}],"layout_type":"ordered"}' + body: '{"notify_list":[],"description":"Created using the Datadog provider in Terraform","author_name":null,"template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"7fq-hc7-w8z","title":"tf-TestAccDatadogDashboardQueryValueFormula_import-local-1614296348","url":"/dashboard/7fq-hc7-w8z/tf-testaccdatadogdashboardqueryvalueformulaimport-local-1614296348","created_at":"2021-02-25T23:39:08.962468+00:00","modified_at":"2021-02-25T23:39:08.962468+00:00","author_handle":"frog@datadoghq.com","widgets":[{"definition":{"type":"query_value","requests":[{"formulas":[{"formula":"query1 + query2","limit":{"count":10,"order":"asc"}}],"response_format":"scalar","queries":[{"aggregator":"sum","data_source":"metrics","name":"query1","query":"avg:system.cpu.system{*} by {datacenter}"},{"aggregator":"sum","data_source":"metrics","name":"query2","query":"avg:system.load.1{*} by {datacenter}"}]}],"autoscale":false,"precision":0},"id":3695516588483057},{"definition":{"type":"query_value","requests":[{"formulas":[{"formula":"query1","limit":{"count":25,"order":"desc"}}],"response_format":"scalar","queries":[{"data_source":"rum","compute":{"aggregation":"count"},"name":"query1","indexes":["*"]}]}],"autoscale":false,"precision":0},"id":35421410005026}],"layout_type":"ordered"}' headers: Cache-Control: - no-cache @@ -238,7 +238,7 @@ interactions: Content-Type: - application/json Date: - - Mon, 24 May 2021 14:29:10 GMT + - Thu, 25 Feb 2021 23:39:13 GMT Pragma: - no-cache Strict-Transport-Security: @@ -248,9 +248,9 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Debug: - - fIO2C4qGDheGHy4YbS+r3a3CXbh4cbRo7roILOimQyiHGjQdOat0cIpWCkupM1uX + - bgHykj7A9bfZx0Y5ZO3swhhp5tGUSNJHqFWR868+qg087CYrDOd5hQslC+noiEtH X-Dd-Version: - - "35.4593741" + - "35.3986175" X-Frame-Options: - SAMEORIGIN status: 200 OK @@ -265,11 +265,11 @@ interactions: Dd-Operation-Id: - DeleteDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) - url: https://api.datadoghq.com/api/v1/dashboard/u4t-b58-rsh + - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.16+dev (go go1.15.6; os darwin; arch amd64) + url: https://api.datadoghq.com/api/v1/dashboard/7fq-hc7-w8z method: DELETE response: - body: '{"deleted_dashboard_id":"u4t-b58-rsh"}' + body: '{"deleted_dashboard_id":"7fq-hc7-w8z"}' headers: Cache-Control: - no-cache @@ -280,7 +280,7 @@ interactions: Content-Type: - application/json Date: - - Mon, 24 May 2021 14:29:11 GMT + - Thu, 25 Feb 2021 23:39:13 GMT Pragma: - no-cache Strict-Transport-Security: @@ -292,7 +292,7 @@ interactions: X-Dd-Debug: - JpIJLwIH2nFlZOC+u71rq7aAOL43MLZN3MUsL+gpYHdZz5QLUOG8Jysf8kVK6tPU X-Dd-Version: - - "35.4593741" + - "35.3986175" X-Frame-Options: - SAMEORIGIN status: 200 OK @@ -307,11 +307,11 @@ interactions: Dd-Operation-Id: - GetDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) - url: https://api.datadoghq.com/api/v1/dashboard/u4t-b58-rsh + - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.16+dev (go go1.15.6; os darwin; arch amd64) + url: https://api.datadoghq.com/api/v1/dashboard/7fq-hc7-w8z method: GET response: - body: '{"errors": ["Dashboard with ID u4t-b58-rsh not found"]}' + body: '{"errors": ["Dashboard with ID 7fq-hc7-w8z not found"]}' headers: Cache-Control: - no-cache @@ -322,7 +322,7 @@ interactions: Content-Type: - application/json Date: - - Mon, 24 May 2021 14:29:11 GMT + - Thu, 25 Feb 2021 23:39:14 GMT Pragma: - no-cache Strict-Transport-Security: @@ -332,7 +332,7 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Version: - - "35.4593741" + - "35.3986175" X-Frame-Options: - SAMEORIGIN status: 404 Not Found diff --git a/datadog/tests/cassettes/TestAccDatadogDashboardQueryValue_import.freeze b/datadog/tests/cassettes/TestAccDatadogDashboardQueryValue_import.freeze index 017051caa..a966df220 100644 --- a/datadog/tests/cassettes/TestAccDatadogDashboardQueryValue_import.freeze +++ b/datadog/tests/cassettes/TestAccDatadogDashboardQueryValue_import.freeze @@ -1 +1 @@ -2021-05-24T10:37:36.390332-04:00 \ No newline at end of file +2020-12-31T15:42:08.737331+01:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogDashboardQueryValue_import.yaml b/datadog/tests/cassettes/TestAccDatadogDashboardQueryValue_import.yaml index 6330507f3..04e3d1a7d 100644 --- a/datadog/tests/cassettes/TestAccDatadogDashboardQueryValue_import.yaml +++ b/datadog/tests/cassettes/TestAccDatadogDashboardQueryValue_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-TestAccDatadogDashboardQueryValue_import-local-1621866546","widgets":[{"definition":{"autoscale":true,"custom_links":[{"label":"Test Custom Link label","link":"https://app.datadoghq.com/dashboard/lists"}],"custom_unit":"Gib","precision":3,"requests":[{"aggregator":"max","conditional_formats":[{"comparator":"\u003c","hide_value":false,"palette":"white_on_red","value":9},{"comparator":"\u003e=","hide_value":false,"palette":"white_on_green","value":9}],"q":"avg:system.mem.free{account:prod}"}],"time":{"live_span":"1h"},"title":"Avg of system.mem.free over account:prod","title_align":"center","title_size":"16","type":"query_value"}}]} + {"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-TestAccDatadogDashboardQueryValue_import-local-1609425728","widgets":[{"definition":{"autoscale":true,"custom_links":[{"label":"Test Custom Link label","link":"https://app.datadoghq.com/dashboard/lists"}],"custom_unit":"Gib","precision":3,"requests":[{"aggregator":"max","conditional_formats":[{"comparator":"\u003c","hide_value":false,"palette":"white_on_red","value":9},{"comparator":"\u003e=","hide_value":false,"palette":"white_on_green","value":9}],"q":"avg:system.mem.free{account:prod}"}],"time":{"live_span":"1h"},"title":"Avg of system.mem.free over account:prod","title_align":"center","title_size":"16","type":"query_value"}}]} form: {} headers: Accept: @@ -13,11 +13,20 @@ interactions: Dd-Operation-Id: - CreateDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) + - terraform-provider-datadog/dev (terraform 1.15.0; terraform-cli 0.12.7-sdk) + datadog-api-client-go/1.0.0-beta.13+dev (go go1.15.4; os darwin; arch amd64) + X-Datadog-Parent-Id: + - "4563019862769337818" + X-Datadog-Sampling-Priority: + - "1" + X-Datadog-Trace-Id: + - "6696800086964894963" url: https://api.datadoghq.com/api/v1/dashboard method: POST response: - body: '{"notify_list":[],"description":"Created using the Datadog provider in Terraform","restricted_roles":["043a2842-e140-11e8-bb04-7fd10177666e","08604de8-1dca-11eb-800c-9f5f55ff734d","1302282c-b93b-11eb-a436-da7ad0900002","16169788-28e4-11eb-832c-fb84162ef3eb","17d73994-7531-11eb-94b9-da7ad0900002","284d8b66-93f9-11eb-9c37-da7ad0900002","4de53192-9946-11eb-9cee-da7ad0900002","62cbc476-5c16-11eb-8e98-0388ea7a41f8","657de3a2-29f8-11eb-83b5-6b8ebfb2f184","6bf314be-5c16-11eb-8e98-2356ea436065","7a83f306-96ca-11eb-9c74-da7ad0900002","9b3ab170-b768-11eb-a45a-da7ad0900002","e82bf27a-986c-11eb-9cba-da7ad0900002","f257ba30-dbb2-11ea-a5ff-5fd1d308318a"],"author_name":"Qin Chen","template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"bce-jum-p9q","title":"tf-TestAccDatadogDashboardQueryValue_import-local-1621866546","url":"/dashboard/bce-jum-p9q/tf-testaccdatadogdashboardqueryvalueimport-local-1621866546","created_at":"2021-05-24T14:29:08.000886+00:00","modified_at":"2021-05-24T14:29:08.000886+00:00","author_handle":"qin.chen@datadoghq.com","widgets":[{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test Custom Link label"}],"autoscale":true,"title":"Avg of system.mem.free over account:prod","title_align":"center","custom_unit":"Gib","precision":3,"time":{"live_span":"1h"},"title_size":"16","requests":[{"q":"avg:system.mem.free{account:prod}","aggregator":"max","conditional_formats":[{"palette":"white_on_red","hide_value":false,"value":9,"comparator":"<"},{"palette":"white_on_green","hide_value":false,"value":9,"comparator":">="}]}],"type":"query_value"},"id":4749539379491735}],"layout_type":"ordered"}' + body: '{"notify_list":[],"description":"Created using the Datadog provider in + Terraform","author_name":null,"template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"n7s-cta-xh6","title":"tf-TestAccDatadogDashboardQueryValue_import-local-1609425728","url":"/dashboard/n7s-cta-xh6/tf-testaccdatadogdashboardqueryvalueimport-local-1609425728","created_at":"2020-12-31T14:48:27.169222+00:00","modified_at":"2020-12-31T14:48:27.169222+00:00","author_handle":"frog@datadoghq.com","widgets":[{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test + Custom Link label"}],"autoscale":true,"title":"Avg of system.mem.free over account:prod","title_align":"center","custom_unit":"Gib","precision":3,"time":{"live_span":"1h"},"title_size":"16","requests":[{"q":"avg:system.mem.free{account:prod}","aggregator":"max","conditional_formats":[{"palette":"white_on_red","hide_value":false,"value":9,"comparator":"<"},{"palette":"white_on_green","hide_value":false,"value":9,"comparator":">="}]}],"type":"query_value"},"id":6328273002183677}],"layout_type":"ordered"}' headers: Cache-Control: - no-cache @@ -28,9 +37,12 @@ interactions: Content-Type: - application/json Date: - - Mon, 24 May 2021 14:29:08 GMT + - Thu, 31 Dec 2020 14:48:29 GMT Pragma: - no-cache + Set-Cookie: + - DD-PSHARD=233; Max-Age=604800; Path=/; expires=Thu, 07-Jan-2021 14:48:27 GMT; + secure; HttpOnly Strict-Transport-Security: - max-age=15724800; Vary: @@ -38,9 +50,9 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Debug: - - B1nwy/pPNqX+q4pQT22cdp1QCexE35IF8qwSHy0Nf7IW0Y881qtn4tXN1lpmzaKc + - OqKY7agPmI/v3hVHuBa6xblzuasXfwEx0fPUFdqZoAEPJYT3VaeupIdfNnd+cYH0 X-Dd-Version: - - "35.4593741" + - "35.3622023" X-Frame-Options: - SAMEORIGIN status: 200 OK @@ -55,11 +67,20 @@ interactions: Dd-Operation-Id: - GetDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) - url: https://api.datadoghq.com/api/v1/dashboard/bce-jum-p9q + - terraform-provider-datadog/dev (terraform 1.15.0; terraform-cli 0.12.7-sdk) + datadog-api-client-go/1.0.0-beta.13+dev (go go1.15.4; os darwin; arch amd64) + X-Datadog-Parent-Id: + - "4817756512181113639" + X-Datadog-Sampling-Priority: + - "1" + X-Datadog-Trace-Id: + - "6696800086964894963" + url: https://api.datadoghq.com/api/v1/dashboard/n7s-cta-xh6 method: GET response: - body: '{"notify_list":[],"description":"Created using the Datadog provider in Terraform","restricted_roles":["284d8b66-93f9-11eb-9c37-da7ad0900002","043a2842-e140-11e8-bb04-7fd10177666e","657de3a2-29f8-11eb-83b5-6b8ebfb2f184","e82bf27a-986c-11eb-9cba-da7ad0900002","f257ba30-dbb2-11ea-a5ff-5fd1d308318a","6bf314be-5c16-11eb-8e98-2356ea436065","62cbc476-5c16-11eb-8e98-0388ea7a41f8","08604de8-1dca-11eb-800c-9f5f55ff734d","9b3ab170-b768-11eb-a45a-da7ad0900002","7a83f306-96ca-11eb-9c74-da7ad0900002","16169788-28e4-11eb-832c-fb84162ef3eb","4de53192-9946-11eb-9cee-da7ad0900002","1302282c-b93b-11eb-a436-da7ad0900002","17d73994-7531-11eb-94b9-da7ad0900002"],"author_name":"Qin Chen","template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"bce-jum-p9q","title":"tf-TestAccDatadogDashboardQueryValue_import-local-1621866546","url":"/dashboard/bce-jum-p9q/tf-testaccdatadogdashboardqueryvalueimport-local-1621866546","created_at":"2021-05-24T14:29:08.000886+00:00","modified_at":"2021-05-24T14:29:08.000886+00:00","author_handle":"qin.chen@datadoghq.com","widgets":[{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test Custom Link label"}],"autoscale":true,"title":"Avg of system.mem.free over account:prod","title_align":"center","custom_unit":"Gib","precision":3,"time":{"live_span":"1h"},"title_size":"16","requests":[{"q":"avg:system.mem.free{account:prod}","aggregator":"max","conditional_formats":[{"palette":"white_on_red","hide_value":false,"value":9,"comparator":"<"},{"palette":"white_on_green","hide_value":false,"value":9,"comparator":">="}]}],"type":"query_value"},"id":4749539379491735}],"layout_type":"ordered"}' + body: '{"notify_list":[],"description":"Created using the Datadog provider in + Terraform","author_name":null,"template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"n7s-cta-xh6","title":"tf-TestAccDatadogDashboardQueryValue_import-local-1609425728","url":"/dashboard/n7s-cta-xh6/tf-testaccdatadogdashboardqueryvalueimport-local-1609425728","created_at":"2020-12-31T14:48:27.169222+00:00","modified_at":"2020-12-31T14:48:27.169222+00:00","author_handle":"frog@datadoghq.com","widgets":[{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test + Custom Link label"}],"autoscale":true,"title":"Avg of system.mem.free over account:prod","title_align":"center","custom_unit":"Gib","precision":3,"time":{"live_span":"1h"},"title_size":"16","requests":[{"q":"avg:system.mem.free{account:prod}","aggregator":"max","conditional_formats":[{"palette":"white_on_red","hide_value":false,"value":9,"comparator":"<"},{"palette":"white_on_green","hide_value":false,"value":9,"comparator":">="}]}],"type":"query_value"},"id":6328273002183677}],"layout_type":"ordered"}' headers: Cache-Control: - no-cache @@ -70,9 +91,12 @@ interactions: Content-Type: - application/json Date: - - Mon, 24 May 2021 14:29:08 GMT + - Thu, 31 Dec 2020 14:48:29 GMT Pragma: - no-cache + Set-Cookie: + - DD-PSHARD=233; Max-Age=604800; Path=/; expires=Thu, 07-Jan-2021 14:48:29 GMT; + secure; HttpOnly Strict-Transport-Security: - max-age=15724800; Vary: @@ -80,9 +104,9 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Debug: - - dCmL/3rURV6BPeaqeP3Rxigq41m5CAb17XjrRE42uZ01zpr07HVhbL5/3TWMkvgu + - UPwGSEkEo+aTtV9/qlvsM9xVIKq1xypRG0bv22kO1eeJfu8bY+H+f1xOa3JlvZhZ X-Dd-Version: - - "35.4593741" + - "35.3622023" X-Frame-Options: - SAMEORIGIN status: 200 OK @@ -97,11 +121,20 @@ interactions: Dd-Operation-Id: - GetDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) - url: https://api.datadoghq.com/api/v1/dashboard/bce-jum-p9q + - terraform-provider-datadog/dev (terraform 1.15.0; terraform-cli 0.12.7-sdk) + datadog-api-client-go/1.0.0-beta.13+dev (go go1.15.4; os darwin; arch amd64) + X-Datadog-Parent-Id: + - "410483925817832805" + X-Datadog-Sampling-Priority: + - "1" + X-Datadog-Trace-Id: + - "6696800086964894963" + url: https://api.datadoghq.com/api/v1/dashboard/n7s-cta-xh6 method: GET response: - body: '{"notify_list":[],"description":"Created using the Datadog provider in Terraform","restricted_roles":["284d8b66-93f9-11eb-9c37-da7ad0900002","043a2842-e140-11e8-bb04-7fd10177666e","657de3a2-29f8-11eb-83b5-6b8ebfb2f184","e82bf27a-986c-11eb-9cba-da7ad0900002","f257ba30-dbb2-11ea-a5ff-5fd1d308318a","6bf314be-5c16-11eb-8e98-2356ea436065","62cbc476-5c16-11eb-8e98-0388ea7a41f8","08604de8-1dca-11eb-800c-9f5f55ff734d","9b3ab170-b768-11eb-a45a-da7ad0900002","7a83f306-96ca-11eb-9c74-da7ad0900002","16169788-28e4-11eb-832c-fb84162ef3eb","4de53192-9946-11eb-9cee-da7ad0900002","1302282c-b93b-11eb-a436-da7ad0900002","17d73994-7531-11eb-94b9-da7ad0900002"],"author_name":"Qin Chen","template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"bce-jum-p9q","title":"tf-TestAccDatadogDashboardQueryValue_import-local-1621866546","url":"/dashboard/bce-jum-p9q/tf-testaccdatadogdashboardqueryvalueimport-local-1621866546","created_at":"2021-05-24T14:29:08.000886+00:00","modified_at":"2021-05-24T14:29:08.000886+00:00","author_handle":"qin.chen@datadoghq.com","widgets":[{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test Custom Link label"}],"autoscale":true,"title":"Avg of system.mem.free over account:prod","title_align":"center","custom_unit":"Gib","precision":3,"time":{"live_span":"1h"},"title_size":"16","requests":[{"q":"avg:system.mem.free{account:prod}","aggregator":"max","conditional_formats":[{"palette":"white_on_red","hide_value":false,"value":9,"comparator":"<"},{"palette":"white_on_green","hide_value":false,"value":9,"comparator":">="}]}],"type":"query_value"},"id":4749539379491735}],"layout_type":"ordered"}' + body: '{"notify_list":[],"description":"Created using the Datadog provider in + Terraform","author_name":null,"template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"n7s-cta-xh6","title":"tf-TestAccDatadogDashboardQueryValue_import-local-1609425728","url":"/dashboard/n7s-cta-xh6/tf-testaccdatadogdashboardqueryvalueimport-local-1609425728","created_at":"2020-12-31T14:48:27.169222+00:00","modified_at":"2020-12-31T14:48:27.169222+00:00","author_handle":"frog@datadoghq.com","widgets":[{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test + Custom Link label"}],"autoscale":true,"title":"Avg of system.mem.free over account:prod","title_align":"center","custom_unit":"Gib","precision":3,"time":{"live_span":"1h"},"title_size":"16","requests":[{"q":"avg:system.mem.free{account:prod}","aggregator":"max","conditional_formats":[{"palette":"white_on_red","hide_value":false,"value":9,"comparator":"<"},{"palette":"white_on_green","hide_value":false,"value":9,"comparator":">="}]}],"type":"query_value"},"id":6328273002183677}],"layout_type":"ordered"}' headers: Cache-Control: - no-cache @@ -112,9 +145,12 @@ interactions: Content-Type: - application/json Date: - - Mon, 24 May 2021 14:29:09 GMT + - Thu, 31 Dec 2020 14:48:36 GMT Pragma: - no-cache + Set-Cookie: + - DD-PSHARD=233; Max-Age=604800; Path=/; expires=Thu, 07-Jan-2021 14:48:36 GMT; + secure; HttpOnly Strict-Transport-Security: - max-age=15724800; Vary: @@ -122,9 +158,9 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Debug: - - dPySkcOzIZtKyMKDAAzuysY3gNGGj6RtYogGuSb76E8mPvoqzREyRp6lPYm91hQU + - XhN3sROXhRtxvw2F+uRtJTWMwUQRYhDKBCNr1DfCqtzQgh490ZXtNSOhIx1TzG8K X-Dd-Version: - - "35.4593741" + - "35.3622023" X-Frame-Options: - SAMEORIGIN status: 200 OK @@ -139,11 +175,20 @@ interactions: Dd-Operation-Id: - GetDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) - url: https://api.datadoghq.com/api/v1/dashboard/bce-jum-p9q + - terraform-provider-datadog/dev (terraform 1.15.0; terraform-cli 0.12.7-sdk) + datadog-api-client-go/1.0.0-beta.13+dev (go go1.15.4; os darwin; arch amd64) + X-Datadog-Parent-Id: + - "8116908409645718334" + X-Datadog-Sampling-Priority: + - "1" + X-Datadog-Trace-Id: + - "6696800086964894963" + url: https://api.datadoghq.com/api/v1/dashboard/n7s-cta-xh6 method: GET response: - body: '{"notify_list":[],"description":"Created using the Datadog provider in Terraform","restricted_roles":["284d8b66-93f9-11eb-9c37-da7ad0900002","043a2842-e140-11e8-bb04-7fd10177666e","657de3a2-29f8-11eb-83b5-6b8ebfb2f184","e82bf27a-986c-11eb-9cba-da7ad0900002","f257ba30-dbb2-11ea-a5ff-5fd1d308318a","6bf314be-5c16-11eb-8e98-2356ea436065","62cbc476-5c16-11eb-8e98-0388ea7a41f8","08604de8-1dca-11eb-800c-9f5f55ff734d","9b3ab170-b768-11eb-a45a-da7ad0900002","7a83f306-96ca-11eb-9c74-da7ad0900002","16169788-28e4-11eb-832c-fb84162ef3eb","4de53192-9946-11eb-9cee-da7ad0900002","1302282c-b93b-11eb-a436-da7ad0900002","17d73994-7531-11eb-94b9-da7ad0900002"],"author_name":"Qin Chen","template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"bce-jum-p9q","title":"tf-TestAccDatadogDashboardQueryValue_import-local-1621866546","url":"/dashboard/bce-jum-p9q/tf-testaccdatadogdashboardqueryvalueimport-local-1621866546","created_at":"2021-05-24T14:29:08.000886+00:00","modified_at":"2021-05-24T14:29:08.000886+00:00","author_handle":"qin.chen@datadoghq.com","widgets":[{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test Custom Link label"}],"autoscale":true,"title":"Avg of system.mem.free over account:prod","title_align":"center","custom_unit":"Gib","precision":3,"time":{"live_span":"1h"},"title_size":"16","requests":[{"q":"avg:system.mem.free{account:prod}","aggregator":"max","conditional_formats":[{"palette":"white_on_red","hide_value":false,"value":9,"comparator":"<"},{"palette":"white_on_green","hide_value":false,"value":9,"comparator":">="}]}],"type":"query_value"},"id":4749539379491735}],"layout_type":"ordered"}' + body: '{"notify_list":[],"description":"Created using the Datadog provider in + Terraform","author_name":null,"template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"n7s-cta-xh6","title":"tf-TestAccDatadogDashboardQueryValue_import-local-1609425728","url":"/dashboard/n7s-cta-xh6/tf-testaccdatadogdashboardqueryvalueimport-local-1609425728","created_at":"2020-12-31T14:48:27.169222+00:00","modified_at":"2020-12-31T14:48:27.169222+00:00","author_handle":"frog@datadoghq.com","widgets":[{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test + Custom Link label"}],"autoscale":true,"title":"Avg of system.mem.free over account:prod","title_align":"center","custom_unit":"Gib","precision":3,"time":{"live_span":"1h"},"title_size":"16","requests":[{"q":"avg:system.mem.free{account:prod}","aggregator":"max","conditional_formats":[{"palette":"white_on_red","hide_value":false,"value":9,"comparator":"<"},{"palette":"white_on_green","hide_value":false,"value":9,"comparator":">="}]}],"type":"query_value"},"id":6328273002183677}],"layout_type":"ordered"}' headers: Cache-Control: - no-cache @@ -154,9 +199,12 @@ interactions: Content-Type: - application/json Date: - - Mon, 24 May 2021 14:29:09 GMT + - Thu, 31 Dec 2020 14:48:39 GMT Pragma: - no-cache + Set-Cookie: + - DD-PSHARD=233; Max-Age=604800; Path=/; expires=Thu, 07-Jan-2021 14:48:39 GMT; + secure; HttpOnly Strict-Transport-Security: - max-age=15724800; Vary: @@ -164,9 +212,9 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Debug: - - mNzaoDhdDKO7t4QSrAe5X7pHd0bJND187D+vRbwoluXouE2m1UaQQX0RGCvRpLVE + - H6mGk0NVWFFYd9VUP8vVAv2c5S84SY5SnfwDRAyGeGOpnNeKpu2AiMB1a9R6+y9D X-Dd-Version: - - "35.4593741" + - "35.3622023" X-Frame-Options: - SAMEORIGIN status: 200 OK @@ -181,11 +229,20 @@ interactions: Dd-Operation-Id: - GetDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) - url: https://api.datadoghq.com/api/v1/dashboard/bce-jum-p9q + - terraform-provider-datadog/dev (terraform 1.15.0; terraform-cli 0.12.7-sdk) + datadog-api-client-go/1.0.0-beta.13+dev (go go1.15.4; os darwin; arch amd64) + X-Datadog-Parent-Id: + - "6578142534117566549" + X-Datadog-Sampling-Priority: + - "1" + X-Datadog-Trace-Id: + - "6696800086964894963" + url: https://api.datadoghq.com/api/v1/dashboard/n7s-cta-xh6 method: GET response: - body: '{"notify_list":[],"description":"Created using the Datadog provider in Terraform","restricted_roles":["284d8b66-93f9-11eb-9c37-da7ad0900002","043a2842-e140-11e8-bb04-7fd10177666e","657de3a2-29f8-11eb-83b5-6b8ebfb2f184","e82bf27a-986c-11eb-9cba-da7ad0900002","f257ba30-dbb2-11ea-a5ff-5fd1d308318a","6bf314be-5c16-11eb-8e98-2356ea436065","62cbc476-5c16-11eb-8e98-0388ea7a41f8","08604de8-1dca-11eb-800c-9f5f55ff734d","9b3ab170-b768-11eb-a45a-da7ad0900002","7a83f306-96ca-11eb-9c74-da7ad0900002","16169788-28e4-11eb-832c-fb84162ef3eb","4de53192-9946-11eb-9cee-da7ad0900002","1302282c-b93b-11eb-a436-da7ad0900002","17d73994-7531-11eb-94b9-da7ad0900002"],"author_name":"Qin Chen","template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"bce-jum-p9q","title":"tf-TestAccDatadogDashboardQueryValue_import-local-1621866546","url":"/dashboard/bce-jum-p9q/tf-testaccdatadogdashboardqueryvalueimport-local-1621866546","created_at":"2021-05-24T14:29:08.000886+00:00","modified_at":"2021-05-24T14:29:08.000886+00:00","author_handle":"qin.chen@datadoghq.com","widgets":[{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test Custom Link label"}],"autoscale":true,"title":"Avg of system.mem.free over account:prod","title_align":"center","custom_unit":"Gib","precision":3,"time":{"live_span":"1h"},"title_size":"16","requests":[{"q":"avg:system.mem.free{account:prod}","aggregator":"max","conditional_formats":[{"palette":"white_on_red","hide_value":false,"value":9,"comparator":"<"},{"palette":"white_on_green","hide_value":false,"value":9,"comparator":">="}]}],"type":"query_value"},"id":4749539379491735}],"layout_type":"ordered"}' + body: '{"notify_list":[],"description":"Created using the Datadog provider in + Terraform","author_name":null,"template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"n7s-cta-xh6","title":"tf-TestAccDatadogDashboardQueryValue_import-local-1609425728","url":"/dashboard/n7s-cta-xh6/tf-testaccdatadogdashboardqueryvalueimport-local-1609425728","created_at":"2020-12-31T14:48:27.169222+00:00","modified_at":"2020-12-31T14:48:27.169222+00:00","author_handle":"frog@datadoghq.com","widgets":[{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test + Custom Link label"}],"autoscale":true,"title":"Avg of system.mem.free over account:prod","title_align":"center","custom_unit":"Gib","precision":3,"time":{"live_span":"1h"},"title_size":"16","requests":[{"q":"avg:system.mem.free{account:prod}","aggregator":"max","conditional_formats":[{"palette":"white_on_red","hide_value":false,"value":9,"comparator":"<"},{"palette":"white_on_green","hide_value":false,"value":9,"comparator":">="}]}],"type":"query_value"},"id":6328273002183677}],"layout_type":"ordered"}' headers: Cache-Control: - no-cache @@ -196,9 +253,12 @@ interactions: Content-Type: - application/json Date: - - Mon, 24 May 2021 14:29:09 GMT + - Thu, 31 Dec 2020 14:48:41 GMT Pragma: - no-cache + Set-Cookie: + - DD-PSHARD=233; Max-Age=604800; Path=/; expires=Thu, 07-Jan-2021 14:48:40 GMT; + secure; HttpOnly Strict-Transport-Security: - max-age=15724800; Vary: @@ -206,9 +266,9 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Debug: - - S1wfaMZOKGT/IoMw6fqAwAwGWo2vQ44sjF3YzuETnQfxZO2T5eJbs0aX3UKb9Dwu + - oY1U+Bw1sQyS4cySYbM3yP2PHmEdjLzb50z+L43vQMCCtEGfcc06BRHI9VdccfS3 X-Dd-Version: - - "35.4593741" + - "35.3622023" X-Frame-Options: - SAMEORIGIN status: 200 OK @@ -223,11 +283,20 @@ interactions: Dd-Operation-Id: - GetDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) - url: https://api.datadoghq.com/api/v1/dashboard/bce-jum-p9q + - terraform-provider-datadog/dev (terraform 1.15.0; terraform-cli 0.12.7-sdk) + datadog-api-client-go/1.0.0-beta.13+dev (go go1.15.4; os darwin; arch amd64) + X-Datadog-Parent-Id: + - "3076415627515219379" + X-Datadog-Sampling-Priority: + - "1" + X-Datadog-Trace-Id: + - "6696800086964894963" + url: https://api.datadoghq.com/api/v1/dashboard/n7s-cta-xh6 method: GET response: - body: '{"notify_list":[],"description":"Created using the Datadog provider in Terraform","restricted_roles":["284d8b66-93f9-11eb-9c37-da7ad0900002","043a2842-e140-11e8-bb04-7fd10177666e","657de3a2-29f8-11eb-83b5-6b8ebfb2f184","e82bf27a-986c-11eb-9cba-da7ad0900002","f257ba30-dbb2-11ea-a5ff-5fd1d308318a","6bf314be-5c16-11eb-8e98-2356ea436065","62cbc476-5c16-11eb-8e98-0388ea7a41f8","08604de8-1dca-11eb-800c-9f5f55ff734d","9b3ab170-b768-11eb-a45a-da7ad0900002","7a83f306-96ca-11eb-9c74-da7ad0900002","16169788-28e4-11eb-832c-fb84162ef3eb","4de53192-9946-11eb-9cee-da7ad0900002","1302282c-b93b-11eb-a436-da7ad0900002","17d73994-7531-11eb-94b9-da7ad0900002"],"author_name":"Qin Chen","template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"bce-jum-p9q","title":"tf-TestAccDatadogDashboardQueryValue_import-local-1621866546","url":"/dashboard/bce-jum-p9q/tf-testaccdatadogdashboardqueryvalueimport-local-1621866546","created_at":"2021-05-24T14:29:08.000886+00:00","modified_at":"2021-05-24T14:29:08.000886+00:00","author_handle":"qin.chen@datadoghq.com","widgets":[{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test Custom Link label"}],"autoscale":true,"title":"Avg of system.mem.free over account:prod","title_align":"center","custom_unit":"Gib","precision":3,"time":{"live_span":"1h"},"title_size":"16","requests":[{"q":"avg:system.mem.free{account:prod}","aggregator":"max","conditional_formats":[{"palette":"white_on_red","hide_value":false,"value":9,"comparator":"<"},{"palette":"white_on_green","hide_value":false,"value":9,"comparator":">="}]}],"type":"query_value"},"id":4749539379491735}],"layout_type":"ordered"}' + body: '{"notify_list":[],"description":"Created using the Datadog provider in + Terraform","author_name":null,"template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"n7s-cta-xh6","title":"tf-TestAccDatadogDashboardQueryValue_import-local-1609425728","url":"/dashboard/n7s-cta-xh6/tf-testaccdatadogdashboardqueryvalueimport-local-1609425728","created_at":"2020-12-31T14:48:27.169222+00:00","modified_at":"2020-12-31T14:48:27.169222+00:00","author_handle":"frog@datadoghq.com","widgets":[{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test + Custom Link label"}],"autoscale":true,"title":"Avg of system.mem.free over account:prod","title_align":"center","custom_unit":"Gib","precision":3,"time":{"live_span":"1h"},"title_size":"16","requests":[{"q":"avg:system.mem.free{account:prod}","aggregator":"max","conditional_formats":[{"palette":"white_on_red","hide_value":false,"value":9,"comparator":"<"},{"palette":"white_on_green","hide_value":false,"value":9,"comparator":">="}]}],"type":"query_value"},"id":6328273002183677}],"layout_type":"ordered"}' headers: Cache-Control: - no-cache @@ -238,9 +307,12 @@ interactions: Content-Type: - application/json Date: - - Mon, 24 May 2021 14:29:10 GMT + - Thu, 31 Dec 2020 14:48:44 GMT Pragma: - no-cache + Set-Cookie: + - DD-PSHARD=233; Max-Age=604800; Path=/; expires=Thu, 07-Jan-2021 14:48:43 GMT; + secure; HttpOnly Strict-Transport-Security: - max-age=15724800; Vary: @@ -248,9 +320,9 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Debug: - - Wjq53IVIwnB4SiR238oOYgHFMq/ZYP0LQ/Dv8C2fFLBwTje/dWJHu6pI6vIOK1zG + - D6xOASGs+SeSoSr1onTNqEyFDtjQwnjR937DW7eQT5G8CxiOSfzMZ/Hv6SqRh+8b X-Dd-Version: - - "35.4593741" + - "35.3622023" X-Frame-Options: - SAMEORIGIN status: 200 OK @@ -265,11 +337,18 @@ interactions: Dd-Operation-Id: - DeleteDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) - url: https://api.datadoghq.com/api/v1/dashboard/bce-jum-p9q + - terraform-provider-datadog/dev (terraform 1.15.0; terraform-cli 0.12.7-sdk) + datadog-api-client-go/1.0.0-beta.13+dev (go go1.15.4; os darwin; arch amd64) + X-Datadog-Parent-Id: + - "9018745479391485890" + X-Datadog-Sampling-Priority: + - "1" + X-Datadog-Trace-Id: + - "6696800086964894963" + url: https://api.datadoghq.com/api/v1/dashboard/n7s-cta-xh6 method: DELETE response: - body: '{"deleted_dashboard_id":"bce-jum-p9q"}' + body: '{"deleted_dashboard_id":"n7s-cta-xh6"}' headers: Cache-Control: - no-cache @@ -280,9 +359,12 @@ interactions: Content-Type: - application/json Date: - - Mon, 24 May 2021 14:29:10 GMT + - Thu, 31 Dec 2020 14:48:48 GMT Pragma: - no-cache + Set-Cookie: + - DD-PSHARD=233; Max-Age=604800; Path=/; expires=Thu, 07-Jan-2021 14:48:48 GMT; + secure; HttpOnly Strict-Transport-Security: - max-age=15724800; Vary: @@ -290,9 +372,9 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Debug: - - PhosSd3Ch1B6B0DXI71steKUi7XhPDttnPiIP1NdXTw0VJNWpoUnYyBmODS5ne3q + - 6IhQMEQHjYL1ZYwBd1xPnaqhoM5GIKrVP4vKHrLdyvV0W9ZbpSld8lY0ehD40SZe X-Dd-Version: - - "35.4593741" + - "35.3622023" X-Frame-Options: - SAMEORIGIN status: 200 OK @@ -307,11 +389,18 @@ interactions: Dd-Operation-Id: - GetDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) - url: https://api.datadoghq.com/api/v1/dashboard/bce-jum-p9q + - terraform-provider-datadog/dev (terraform 1.15.0; terraform-cli 0.12.7-sdk) + datadog-api-client-go/1.0.0-beta.13+dev (go go1.15.4; os darwin; arch amd64) + X-Datadog-Parent-Id: + - "607867210014317417" + X-Datadog-Sampling-Priority: + - "1" + X-Datadog-Trace-Id: + - "6696800086964894963" + url: https://api.datadoghq.com/api/v1/dashboard/n7s-cta-xh6 method: GET response: - body: '{"errors": ["Dashboard with ID bce-jum-p9q not found"]}' + body: '{"errors": ["Dashboard with ID n7s-cta-xh6 not found"]}' headers: Cache-Control: - no-cache @@ -322,7 +411,7 @@ interactions: Content-Type: - application/json Date: - - Mon, 24 May 2021 14:29:10 GMT + - Thu, 31 Dec 2020 14:48:48 GMT Pragma: - no-cache Strict-Transport-Security: @@ -332,7 +421,7 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Version: - - "35.4593741" + - "34.3622270" X-Frame-Options: - SAMEORIGIN status: 404 Not Found diff --git a/datadog/tests/cassettes/TestAccDatadogDashboardSLO.freeze b/datadog/tests/cassettes/TestAccDatadogDashboardSLO.freeze index 2d590e0a3..6e146a214 100644 --- a/datadog/tests/cassettes/TestAccDatadogDashboardSLO.freeze +++ b/datadog/tests/cassettes/TestAccDatadogDashboardSLO.freeze @@ -1 +1 @@ -2021-05-24T10:37:36.331871-04:00 \ No newline at end of file +2021-03-23T18:36:20.618813-04:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogDashboardSLO_import.freeze b/datadog/tests/cassettes/TestAccDatadogDashboardSLO_import.freeze index e42b18109..b95d1d7b3 100644 --- a/datadog/tests/cassettes/TestAccDatadogDashboardSLO_import.freeze +++ b/datadog/tests/cassettes/TestAccDatadogDashboardSLO_import.freeze @@ -1 +1 @@ -2021-05-24T10:37:36.331861-04:00 \ No newline at end of file +2021-03-23T18:36:20.618821-04:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogDashboardScatterplot.freeze b/datadog/tests/cassettes/TestAccDatadogDashboardScatterplot.freeze index 1b8cdbf46..2da9f2022 100644 --- a/datadog/tests/cassettes/TestAccDatadogDashboardScatterplot.freeze +++ b/datadog/tests/cassettes/TestAccDatadogDashboardScatterplot.freeze @@ -1 +1 @@ -2021-05-24T10:37:36.298277-04:00 \ No newline at end of file +2021-01-28T17:18:26.725663+01:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogDashboardScatterplot.yaml b/datadog/tests/cassettes/TestAccDatadogDashboardScatterplot.yaml index e48e5f0c1..15227c96f 100644 --- a/datadog/tests/cassettes/TestAccDatadogDashboardScatterplot.yaml +++ b/datadog/tests/cassettes/TestAccDatadogDashboardScatterplot.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-TestAccDatadogDashboardScatterplot-local-1621866671","widgets":[{"definition":{"color_by_groups":["app"],"custom_links":[{"label":"Test Custom Link label","link":"https://app.datadoghq.com/dashboard/lists"},{"is_hidden":true,"link":"https://app.datadoghq.com/dashboard/lists","override_label":"logs"}],"requests":{"x":{"aggregator":"avg","q":"avg:system.cpu.user{account:prod} by {service, team, app}"},"y":{"aggregator":"avg","q":"avg:system.mem.used{env:prod} by {service, team, app}"}},"time":{"live_span":"15m"},"title":"system.mem.used and system.cpu.user by service,team,app colored by app","title_align":"right","title_size":"16","type":"scatterplot","xaxis":{"include_zero":false,"label":"cpu (%)","max":"100","min":"0","scale":"log"},"yaxis":{"include_zero":false,"label":"mem (Gib)","min":"1","scale":"log"}}},{"definition":{"color_by_groups":["app"],"custom_links":[{"label":"Test Custom Link label","link":"https://app.datadoghq.com/dashboard/lists"}],"requests":{"x":{"aggregator":"avg","q":"avg:system.cpu.user{account:prod} by {service, team, app}"},"y":{"aggregator":"avg","q":"avg:system.mem.used{env:prod} by {service, team, app}"}},"time":{"live_span":"15m"},"title":"system.mem.used and system.cpu.user by service,team,app colored by app","title_align":"right","title_size":"16","type":"scatterplot","xaxis":{"include_zero":false,"label":"cpu (%)","max":"100","min":"0","scale":"log"},"yaxis":{"include_zero":false,"label":"mem (Gib)","min":"1","scale":"log"}}}]} + {"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-TestAccDatadogDashboardScatterplot-local-1611850706","widgets":[{"definition":{"color_by_groups":["app"],"custom_links":[{"label":"Test Custom Link label","link":"https://app.datadoghq.com/dashboard/lists"}],"requests":{"x":{"aggregator":"avg","q":"avg:system.cpu.user{account:prod} by {service, team, app}"},"y":{"aggregator":"avg","q":"avg:system.mem.used{env:prod} by {service, team, app}"}},"time":{"live_span":"15m"},"title":"system.mem.used and system.cpu.user by service,team,app colored by app","title_align":"right","title_size":"16","type":"scatterplot","xaxis":{"include_zero":false,"label":"cpu (%)","max":"100","min":"0","scale":"log"},"yaxis":{"include_zero":false,"label":"mem (Gib)","min":"1","scale":"log"}}},{"definition":{"color_by_groups":["app"],"custom_links":[{"label":"Test Custom Link label","link":"https://app.datadoghq.com/dashboard/lists"}],"requests":{"x":{"aggregator":"avg","q":"avg:system.cpu.user{account:prod} by {service, team, app}"},"y":{"aggregator":"avg","q":"avg:system.mem.used{env:prod} by {service, team, app}"}},"time":{"live_span":"15m"},"title":"system.mem.used and system.cpu.user by service,team,app colored by app","title_align":"right","title_size":"16","type":"scatterplot","xaxis":{"include_zero":false,"label":"cpu (%)","max":"100","min":"0","scale":"log"},"yaxis":{"include_zero":false,"label":"mem (Gib)","min":"1","scale":"log"}}}]} form: {} headers: Accept: @@ -13,11 +13,31 @@ interactions: Dd-Operation-Id: - CreateDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) + - terraform-provider-datadog/dev (terraform 1.15.0; terraform-cli 0.12.7-sdk) + datadog-api-client-go/1.0.0-beta.14 (go go1.15.4; os darwin; arch amd64) + X-Datadog-Parent-Id: + - "722419173507070389" + X-Datadog-Sampling-Priority: + - "1" + X-Datadog-Trace-Id: + - "6251496224295302927" url: https://api.datadoghq.com/api/v1/dashboard method: POST response: - body: '{"notify_list":[],"description":"Created using the Datadog provider in Terraform","restricted_roles":["043a2842-e140-11e8-bb04-7fd10177666e","08604de8-1dca-11eb-800c-9f5f55ff734d","1302282c-b93b-11eb-a436-da7ad0900002","16169788-28e4-11eb-832c-fb84162ef3eb","17d73994-7531-11eb-94b9-da7ad0900002","284d8b66-93f9-11eb-9c37-da7ad0900002","4de53192-9946-11eb-9cee-da7ad0900002","62cbc476-5c16-11eb-8e98-0388ea7a41f8","657de3a2-29f8-11eb-83b5-6b8ebfb2f184","6bf314be-5c16-11eb-8e98-2356ea436065","7a83f306-96ca-11eb-9c74-da7ad0900002","9b3ab170-b768-11eb-a45a-da7ad0900002","e82bf27a-986c-11eb-9cba-da7ad0900002","f257ba30-dbb2-11ea-a5ff-5fd1d308318a"],"author_name":"Qin Chen","template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"7hp-h42-dc3","title":"tf-TestAccDatadogDashboardScatterplot-local-1621866671","url":"/dashboard/7hp-h42-dc3/tf-testaccdatadogdashboardscatterplot-local-1621866671","created_at":"2021-05-24T14:31:12.305063+00:00","modified_at":"2021-05-24T14:31:12.305063+00:00","author_handle":"qin.chen@datadoghq.com","widgets":[{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test Custom Link label"},{"override_label":"logs","is_hidden":true,"link":"https://app.datadoghq.com/dashboard/lists"}],"title_size":"16","yaxis":{"include_zero":false,"scale":"log","min":"1","label":"mem (Gib)"},"title_align":"right","color_by_groups":["app"],"xaxis":{"include_zero":false,"max":"100","min":"0","scale":"log","label":"cpu (%)"},"time":{"live_span":"15m"},"title":"system.mem.used and system.cpu.user by service,team,app colored by app","requests":{"y":{"q":"avg:system.mem.used{env:prod} by {service, team, app}","aggregator":"avg"},"x":{"q":"avg:system.cpu.user{account:prod} by {service, team, app}","aggregator":"avg"}},"type":"scatterplot"},"id":7534151761779212},{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test Custom Link label"}],"title_size":"16","yaxis":{"include_zero":false,"scale":"log","min":"1","label":"mem (Gib)"},"title_align":"right","color_by_groups":["app"],"xaxis":{"include_zero":false,"max":"100","min":"0","scale":"log","label":"cpu (%)"},"time":{"live_span":"15m"},"title":"system.mem.used and system.cpu.user by service,team,app colored by app","requests":{"y":{"q":"avg:system.mem.used{env:prod} by {service, team, app}","aggregator":"avg"},"x":{"q":"avg:system.cpu.user{account:prod} by {service, team, app}","aggregator":"avg"}},"type":"scatterplot"},"id":3583701607680569}],"layout_type":"ordered"}' + body: '{"notify_list":[],"description":"Created using the Datadog provider in + Terraform","author_name":null,"template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"x9v-tdh-64k","title":"tf-TestAccDatadogDashboardScatterplot-local-1611850706","url":"/dashboard/x9v-tdh-64k/tf-testaccdatadogdashboardscatterplot-local-1611850706","created_at":"2021-01-28T16:49:22.693247+00:00","modified_at":"2021-01-28T16:49:22.693247+00:00","author_handle":"frog@datadoghq.com","widgets":[{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test + Custom Link label"}],"title_size":"16","yaxis":{"include_zero":false,"scale":"log","min":"1","label":"mem + (Gib)"},"title_align":"right","color_by_groups":["app"],"xaxis":{"include_zero":false,"max":"100","min":"0","scale":"log","label":"cpu + (%)"},"time":{"live_span":"15m"},"title":"system.mem.used and system.cpu.user + by service,team,app colored by app","requests":{"y":{"q":"avg:system.mem.used{env:prod} + by {service, team, app}","aggregator":"avg"},"x":{"q":"avg:system.cpu.user{account:prod} + by {service, team, app}","aggregator":"avg"}},"type":"scatterplot"},"id":3387263182653338},{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test + Custom Link label"}],"title_size":"16","yaxis":{"include_zero":false,"scale":"log","min":"1","label":"mem + (Gib)"},"title_align":"right","color_by_groups":["app"],"xaxis":{"include_zero":false,"max":"100","min":"0","scale":"log","label":"cpu + (%)"},"time":{"live_span":"15m"},"title":"system.mem.used and system.cpu.user + by service,team,app colored by app","requests":{"y":{"q":"avg:system.mem.used{env:prod} + by {service, team, app}","aggregator":"avg"},"x":{"q":"avg:system.cpu.user{account:prod} + by {service, team, app}","aggregator":"avg"}},"type":"scatterplot"},"id":7872484918933697}],"layout_type":"ordered"}' headers: Cache-Control: - no-cache @@ -28,9 +48,12 @@ interactions: Content-Type: - application/json Date: - - Mon, 24 May 2021 14:31:12 GMT + - Thu, 28 Jan 2021 16:49:25 GMT Pragma: - no-cache + Set-Cookie: + - DD-PSHARD=233; Max-Age=604800; Path=/; expires=Thu, 04-Feb-2021 16:49:22 GMT; + secure; HttpOnly Strict-Transport-Security: - max-age=15724800; Vary: @@ -38,9 +61,9 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Debug: - - 25u1gDlL724DHllbjFT4BhOLorBTilh+aah2uWAUEjFC/+rjczJdiyWrV/HwLwe/ + - dCmL/3rURV6BPeaqeP3Rxigq41m5CAb17XjrRE42uZ01zpr07HVhbL5/3TWMkvgu X-Dd-Version: - - "35.4593741" + - "35.3796727" X-Frame-Options: - SAMEORIGIN status: 200 OK @@ -55,11 +78,31 @@ interactions: Dd-Operation-Id: - GetDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) - url: https://api.datadoghq.com/api/v1/dashboard/7hp-h42-dc3 + - terraform-provider-datadog/dev (terraform 1.15.0; terraform-cli 0.12.7-sdk) + datadog-api-client-go/1.0.0-beta.14 (go go1.15.4; os darwin; arch amd64) + X-Datadog-Parent-Id: + - "5600690351351574193" + X-Datadog-Sampling-Priority: + - "1" + X-Datadog-Trace-Id: + - "6251496224295302927" + url: https://api.datadoghq.com/api/v1/dashboard/x9v-tdh-64k method: GET response: - body: '{"notify_list":[],"description":"Created using the Datadog provider in Terraform","restricted_roles":["284d8b66-93f9-11eb-9c37-da7ad0900002","043a2842-e140-11e8-bb04-7fd10177666e","657de3a2-29f8-11eb-83b5-6b8ebfb2f184","e82bf27a-986c-11eb-9cba-da7ad0900002","f257ba30-dbb2-11ea-a5ff-5fd1d308318a","6bf314be-5c16-11eb-8e98-2356ea436065","62cbc476-5c16-11eb-8e98-0388ea7a41f8","08604de8-1dca-11eb-800c-9f5f55ff734d","9b3ab170-b768-11eb-a45a-da7ad0900002","7a83f306-96ca-11eb-9c74-da7ad0900002","16169788-28e4-11eb-832c-fb84162ef3eb","4de53192-9946-11eb-9cee-da7ad0900002","1302282c-b93b-11eb-a436-da7ad0900002","17d73994-7531-11eb-94b9-da7ad0900002"],"author_name":"Qin Chen","template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"7hp-h42-dc3","title":"tf-TestAccDatadogDashboardScatterplot-local-1621866671","url":"/dashboard/7hp-h42-dc3/tf-testaccdatadogdashboardscatterplot-local-1621866671","created_at":"2021-05-24T14:31:12.305063+00:00","modified_at":"2021-05-24T14:31:12.305063+00:00","author_handle":"qin.chen@datadoghq.com","widgets":[{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test Custom Link label"},{"override_label":"logs","is_hidden":true,"link":"https://app.datadoghq.com/dashboard/lists"}],"title_size":"16","yaxis":{"include_zero":false,"scale":"log","min":"1","label":"mem (Gib)"},"title_align":"right","color_by_groups":["app"],"xaxis":{"include_zero":false,"max":"100","min":"0","scale":"log","label":"cpu (%)"},"time":{"live_span":"15m"},"title":"system.mem.used and system.cpu.user by service,team,app colored by app","requests":{"y":{"q":"avg:system.mem.used{env:prod} by {service, team, app}","aggregator":"avg"},"x":{"q":"avg:system.cpu.user{account:prod} by {service, team, app}","aggregator":"avg"}},"type":"scatterplot"},"id":7534151761779212},{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test Custom Link label"}],"title_size":"16","yaxis":{"include_zero":false,"scale":"log","min":"1","label":"mem (Gib)"},"title_align":"right","color_by_groups":["app"],"xaxis":{"include_zero":false,"max":"100","min":"0","scale":"log","label":"cpu (%)"},"time":{"live_span":"15m"},"title":"system.mem.used and system.cpu.user by service,team,app colored by app","requests":{"y":{"q":"avg:system.mem.used{env:prod} by {service, team, app}","aggregator":"avg"},"x":{"q":"avg:system.cpu.user{account:prod} by {service, team, app}","aggregator":"avg"}},"type":"scatterplot"},"id":3583701607680569}],"layout_type":"ordered"}' + body: '{"notify_list":[],"description":"Created using the Datadog provider in + Terraform","author_name":null,"template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"x9v-tdh-64k","title":"tf-TestAccDatadogDashboardScatterplot-local-1611850706","url":"/dashboard/x9v-tdh-64k/tf-testaccdatadogdashboardscatterplot-local-1611850706","created_at":"2021-01-28T16:49:22.693247+00:00","modified_at":"2021-01-28T16:49:22.693247+00:00","author_handle":"frog@datadoghq.com","widgets":[{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test + Custom Link label"}],"title_size":"16","yaxis":{"include_zero":false,"scale":"log","min":"1","label":"mem + (Gib)"},"title_align":"right","color_by_groups":["app"],"xaxis":{"include_zero":false,"max":"100","min":"0","scale":"log","label":"cpu + (%)"},"time":{"live_span":"15m"},"title":"system.mem.used and system.cpu.user + by service,team,app colored by app","requests":{"y":{"q":"avg:system.mem.used{env:prod} + by {service, team, app}","aggregator":"avg"},"x":{"q":"avg:system.cpu.user{account:prod} + by {service, team, app}","aggregator":"avg"}},"type":"scatterplot"},"id":3387263182653338},{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test + Custom Link label"}],"title_size":"16","yaxis":{"include_zero":false,"scale":"log","min":"1","label":"mem + (Gib)"},"title_align":"right","color_by_groups":["app"],"xaxis":{"include_zero":false,"max":"100","min":"0","scale":"log","label":"cpu + (%)"},"time":{"live_span":"15m"},"title":"system.mem.used and system.cpu.user + by service,team,app colored by app","requests":{"y":{"q":"avg:system.mem.used{env:prod} + by {service, team, app}","aggregator":"avg"},"x":{"q":"avg:system.cpu.user{account:prod} + by {service, team, app}","aggregator":"avg"}},"type":"scatterplot"},"id":7872484918933697}],"layout_type":"ordered"}' headers: Cache-Control: - no-cache @@ -70,9 +113,12 @@ interactions: Content-Type: - application/json Date: - - Mon, 24 May 2021 14:31:12 GMT + - Thu, 28 Jan 2021 16:49:25 GMT Pragma: - no-cache + Set-Cookie: + - DD-PSHARD=233; Max-Age=604800; Path=/; expires=Thu, 04-Feb-2021 16:49:25 GMT; + secure; HttpOnly Strict-Transport-Security: - max-age=15724800; Vary: @@ -80,9 +126,9 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Debug: - - dPySkcOzIZtKyMKDAAzuysY3gNGGj6RtYogGuSb76E8mPvoqzREyRp6lPYm91hQU + - HbtaOKlJ6OCrx9tMXO6ivMTrEM+g0c93HDp08trmOmgdHozC5J+vn10F0H4WPjCU X-Dd-Version: - - "35.4593741" + - "35.3796727" X-Frame-Options: - SAMEORIGIN status: 200 OK @@ -97,11 +143,31 @@ interactions: Dd-Operation-Id: - GetDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) - url: https://api.datadoghq.com/api/v1/dashboard/7hp-h42-dc3 + - terraform-provider-datadog/dev (terraform 1.15.0; terraform-cli 0.12.7-sdk) + datadog-api-client-go/1.0.0-beta.14 (go go1.15.4; os darwin; arch amd64) + X-Datadog-Parent-Id: + - "8080540688691880235" + X-Datadog-Sampling-Priority: + - "1" + X-Datadog-Trace-Id: + - "6251496224295302927" + url: https://api.datadoghq.com/api/v1/dashboard/x9v-tdh-64k method: GET response: - body: '{"notify_list":[],"description":"Created using the Datadog provider in Terraform","restricted_roles":["284d8b66-93f9-11eb-9c37-da7ad0900002","043a2842-e140-11e8-bb04-7fd10177666e","657de3a2-29f8-11eb-83b5-6b8ebfb2f184","e82bf27a-986c-11eb-9cba-da7ad0900002","f257ba30-dbb2-11ea-a5ff-5fd1d308318a","6bf314be-5c16-11eb-8e98-2356ea436065","62cbc476-5c16-11eb-8e98-0388ea7a41f8","08604de8-1dca-11eb-800c-9f5f55ff734d","9b3ab170-b768-11eb-a45a-da7ad0900002","7a83f306-96ca-11eb-9c74-da7ad0900002","16169788-28e4-11eb-832c-fb84162ef3eb","4de53192-9946-11eb-9cee-da7ad0900002","1302282c-b93b-11eb-a436-da7ad0900002","17d73994-7531-11eb-94b9-da7ad0900002"],"author_name":"Qin Chen","template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"7hp-h42-dc3","title":"tf-TestAccDatadogDashboardScatterplot-local-1621866671","url":"/dashboard/7hp-h42-dc3/tf-testaccdatadogdashboardscatterplot-local-1621866671","created_at":"2021-05-24T14:31:12.305063+00:00","modified_at":"2021-05-24T14:31:12.305063+00:00","author_handle":"qin.chen@datadoghq.com","widgets":[{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test Custom Link label"},{"override_label":"logs","is_hidden":true,"link":"https://app.datadoghq.com/dashboard/lists"}],"title_size":"16","yaxis":{"include_zero":false,"scale":"log","min":"1","label":"mem (Gib)"},"title_align":"right","color_by_groups":["app"],"xaxis":{"include_zero":false,"max":"100","min":"0","scale":"log","label":"cpu (%)"},"time":{"live_span":"15m"},"title":"system.mem.used and system.cpu.user by service,team,app colored by app","requests":{"y":{"q":"avg:system.mem.used{env:prod} by {service, team, app}","aggregator":"avg"},"x":{"q":"avg:system.cpu.user{account:prod} by {service, team, app}","aggregator":"avg"}},"type":"scatterplot"},"id":7534151761779212},{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test Custom Link label"}],"title_size":"16","yaxis":{"include_zero":false,"scale":"log","min":"1","label":"mem (Gib)"},"title_align":"right","color_by_groups":["app"],"xaxis":{"include_zero":false,"max":"100","min":"0","scale":"log","label":"cpu (%)"},"time":{"live_span":"15m"},"title":"system.mem.used and system.cpu.user by service,team,app colored by app","requests":{"y":{"q":"avg:system.mem.used{env:prod} by {service, team, app}","aggregator":"avg"},"x":{"q":"avg:system.cpu.user{account:prod} by {service, team, app}","aggregator":"avg"}},"type":"scatterplot"},"id":3583701607680569}],"layout_type":"ordered"}' + body: '{"notify_list":[],"description":"Created using the Datadog provider in + Terraform","author_name":null,"template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"x9v-tdh-64k","title":"tf-TestAccDatadogDashboardScatterplot-local-1611850706","url":"/dashboard/x9v-tdh-64k/tf-testaccdatadogdashboardscatterplot-local-1611850706","created_at":"2021-01-28T16:49:22.693247+00:00","modified_at":"2021-01-28T16:49:22.693247+00:00","author_handle":"frog@datadoghq.com","widgets":[{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test + Custom Link label"}],"title_size":"16","yaxis":{"include_zero":false,"scale":"log","min":"1","label":"mem + (Gib)"},"title_align":"right","color_by_groups":["app"],"xaxis":{"include_zero":false,"max":"100","min":"0","scale":"log","label":"cpu + (%)"},"time":{"live_span":"15m"},"title":"system.mem.used and system.cpu.user + by service,team,app colored by app","requests":{"y":{"q":"avg:system.mem.used{env:prod} + by {service, team, app}","aggregator":"avg"},"x":{"q":"avg:system.cpu.user{account:prod} + by {service, team, app}","aggregator":"avg"}},"type":"scatterplot"},"id":3387263182653338},{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test + Custom Link label"}],"title_size":"16","yaxis":{"include_zero":false,"scale":"log","min":"1","label":"mem + (Gib)"},"title_align":"right","color_by_groups":["app"],"xaxis":{"include_zero":false,"max":"100","min":"0","scale":"log","label":"cpu + (%)"},"time":{"live_span":"15m"},"title":"system.mem.used and system.cpu.user + by service,team,app colored by app","requests":{"y":{"q":"avg:system.mem.used{env:prod} + by {service, team, app}","aggregator":"avg"},"x":{"q":"avg:system.cpu.user{account:prod} + by {service, team, app}","aggregator":"avg"}},"type":"scatterplot"},"id":7872484918933697}],"layout_type":"ordered"}' headers: Cache-Control: - no-cache @@ -112,9 +178,12 @@ interactions: Content-Type: - application/json Date: - - Mon, 24 May 2021 14:31:12 GMT + - Thu, 28 Jan 2021 16:49:31 GMT Pragma: - no-cache + Set-Cookie: + - DD-PSHARD=233; Max-Age=604800; Path=/; expires=Thu, 04-Feb-2021 16:49:31 GMT; + secure; HttpOnly Strict-Transport-Security: - max-age=15724800; Vary: @@ -122,9 +191,9 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Debug: - - Um4CoU685QqAscnxhS5BD+goWu2yX1Jd4zCfGzSsEvPPIm1qURZaF8dlLl/OEY4I + - bgHykj7A9bfZx0Y5ZO3swhhp5tGUSNJHqFWR868+qg087CYrDOd5hQslC+noiEtH X-Dd-Version: - - "35.4593741" + - "35.3796727" X-Frame-Options: - SAMEORIGIN status: 200 OK @@ -139,11 +208,31 @@ interactions: Dd-Operation-Id: - GetDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) - url: https://api.datadoghq.com/api/v1/dashboard/7hp-h42-dc3 + - terraform-provider-datadog/dev (terraform 1.15.0; terraform-cli 0.12.7-sdk) + datadog-api-client-go/1.0.0-beta.14 (go go1.15.4; os darwin; arch amd64) + X-Datadog-Parent-Id: + - "7596460136759929974" + X-Datadog-Sampling-Priority: + - "1" + X-Datadog-Trace-Id: + - "6251496224295302927" + url: https://api.datadoghq.com/api/v1/dashboard/x9v-tdh-64k method: GET response: - body: '{"notify_list":[],"description":"Created using the Datadog provider in Terraform","restricted_roles":["284d8b66-93f9-11eb-9c37-da7ad0900002","043a2842-e140-11e8-bb04-7fd10177666e","657de3a2-29f8-11eb-83b5-6b8ebfb2f184","e82bf27a-986c-11eb-9cba-da7ad0900002","f257ba30-dbb2-11ea-a5ff-5fd1d308318a","6bf314be-5c16-11eb-8e98-2356ea436065","62cbc476-5c16-11eb-8e98-0388ea7a41f8","08604de8-1dca-11eb-800c-9f5f55ff734d","9b3ab170-b768-11eb-a45a-da7ad0900002","7a83f306-96ca-11eb-9c74-da7ad0900002","16169788-28e4-11eb-832c-fb84162ef3eb","4de53192-9946-11eb-9cee-da7ad0900002","1302282c-b93b-11eb-a436-da7ad0900002","17d73994-7531-11eb-94b9-da7ad0900002"],"author_name":"Qin Chen","template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"7hp-h42-dc3","title":"tf-TestAccDatadogDashboardScatterplot-local-1621866671","url":"/dashboard/7hp-h42-dc3/tf-testaccdatadogdashboardscatterplot-local-1621866671","created_at":"2021-05-24T14:31:12.305063+00:00","modified_at":"2021-05-24T14:31:12.305063+00:00","author_handle":"qin.chen@datadoghq.com","widgets":[{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test Custom Link label"},{"override_label":"logs","is_hidden":true,"link":"https://app.datadoghq.com/dashboard/lists"}],"title_size":"16","yaxis":{"include_zero":false,"scale":"log","min":"1","label":"mem (Gib)"},"title_align":"right","color_by_groups":["app"],"xaxis":{"include_zero":false,"max":"100","min":"0","scale":"log","label":"cpu (%)"},"time":{"live_span":"15m"},"title":"system.mem.used and system.cpu.user by service,team,app colored by app","requests":{"y":{"q":"avg:system.mem.used{env:prod} by {service, team, app}","aggregator":"avg"},"x":{"q":"avg:system.cpu.user{account:prod} by {service, team, app}","aggregator":"avg"}},"type":"scatterplot"},"id":7534151761779212},{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test Custom Link label"}],"title_size":"16","yaxis":{"include_zero":false,"scale":"log","min":"1","label":"mem (Gib)"},"title_align":"right","color_by_groups":["app"],"xaxis":{"include_zero":false,"max":"100","min":"0","scale":"log","label":"cpu (%)"},"time":{"live_span":"15m"},"title":"system.mem.used and system.cpu.user by service,team,app colored by app","requests":{"y":{"q":"avg:system.mem.used{env:prod} by {service, team, app}","aggregator":"avg"},"x":{"q":"avg:system.cpu.user{account:prod} by {service, team, app}","aggregator":"avg"}},"type":"scatterplot"},"id":3583701607680569}],"layout_type":"ordered"}' + body: '{"notify_list":[],"description":"Created using the Datadog provider in + Terraform","author_name":null,"template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"x9v-tdh-64k","title":"tf-TestAccDatadogDashboardScatterplot-local-1611850706","url":"/dashboard/x9v-tdh-64k/tf-testaccdatadogdashboardscatterplot-local-1611850706","created_at":"2021-01-28T16:49:22.693247+00:00","modified_at":"2021-01-28T16:49:22.693247+00:00","author_handle":"frog@datadoghq.com","widgets":[{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test + Custom Link label"}],"title_size":"16","yaxis":{"include_zero":false,"scale":"log","min":"1","label":"mem + (Gib)"},"title_align":"right","color_by_groups":["app"],"xaxis":{"include_zero":false,"max":"100","min":"0","scale":"log","label":"cpu + (%)"},"time":{"live_span":"15m"},"title":"system.mem.used and system.cpu.user + by service,team,app colored by app","requests":{"y":{"q":"avg:system.mem.used{env:prod} + by {service, team, app}","aggregator":"avg"},"x":{"q":"avg:system.cpu.user{account:prod} + by {service, team, app}","aggregator":"avg"}},"type":"scatterplot"},"id":3387263182653338},{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test + Custom Link label"}],"title_size":"16","yaxis":{"include_zero":false,"scale":"log","min":"1","label":"mem + (Gib)"},"title_align":"right","color_by_groups":["app"],"xaxis":{"include_zero":false,"max":"100","min":"0","scale":"log","label":"cpu + (%)"},"time":{"live_span":"15m"},"title":"system.mem.used and system.cpu.user + by service,team,app colored by app","requests":{"y":{"q":"avg:system.mem.used{env:prod} + by {service, team, app}","aggregator":"avg"},"x":{"q":"avg:system.cpu.user{account:prod} + by {service, team, app}","aggregator":"avg"}},"type":"scatterplot"},"id":7872484918933697}],"layout_type":"ordered"}' headers: Cache-Control: - no-cache @@ -154,9 +243,12 @@ interactions: Content-Type: - application/json Date: - - Mon, 24 May 2021 14:31:13 GMT + - Thu, 28 Jan 2021 16:50:07 GMT Pragma: - no-cache + Set-Cookie: + - DD-PSHARD=233; Max-Age=604800; Path=/; expires=Thu, 04-Feb-2021 16:50:07 GMT; + secure; HttpOnly Strict-Transport-Security: - max-age=15724800; Vary: @@ -164,9 +256,9 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Debug: - - 2328yjLSqI4XmR1pVqrPRR/SFcQsbafjEpPmZx7/3PfxUK1nJQQsX+wrMelyVyj+ + - bgHykj7A9bfZx0Y5ZO3swhhp5tGUSNJHqFWR868+qg087CYrDOd5hQslC+noiEtH X-Dd-Version: - - "35.4593741" + - "35.3796727" X-Frame-Options: - SAMEORIGIN status: 200 OK @@ -181,11 +273,31 @@ interactions: Dd-Operation-Id: - GetDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) - url: https://api.datadoghq.com/api/v1/dashboard/7hp-h42-dc3 + - terraform-provider-datadog/dev (terraform 1.15.0; terraform-cli 0.12.7-sdk) + datadog-api-client-go/1.0.0-beta.14 (go go1.15.4; os darwin; arch amd64) + X-Datadog-Parent-Id: + - "5199018300529567672" + X-Datadog-Sampling-Priority: + - "1" + X-Datadog-Trace-Id: + - "6251496224295302927" + url: https://api.datadoghq.com/api/v1/dashboard/x9v-tdh-64k method: GET response: - body: '{"notify_list":[],"description":"Created using the Datadog provider in Terraform","restricted_roles":["284d8b66-93f9-11eb-9c37-da7ad0900002","043a2842-e140-11e8-bb04-7fd10177666e","657de3a2-29f8-11eb-83b5-6b8ebfb2f184","e82bf27a-986c-11eb-9cba-da7ad0900002","f257ba30-dbb2-11ea-a5ff-5fd1d308318a","6bf314be-5c16-11eb-8e98-2356ea436065","62cbc476-5c16-11eb-8e98-0388ea7a41f8","08604de8-1dca-11eb-800c-9f5f55ff734d","9b3ab170-b768-11eb-a45a-da7ad0900002","7a83f306-96ca-11eb-9c74-da7ad0900002","16169788-28e4-11eb-832c-fb84162ef3eb","4de53192-9946-11eb-9cee-da7ad0900002","1302282c-b93b-11eb-a436-da7ad0900002","17d73994-7531-11eb-94b9-da7ad0900002"],"author_name":"Qin Chen","template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"7hp-h42-dc3","title":"tf-TestAccDatadogDashboardScatterplot-local-1621866671","url":"/dashboard/7hp-h42-dc3/tf-testaccdatadogdashboardscatterplot-local-1621866671","created_at":"2021-05-24T14:31:12.305063+00:00","modified_at":"2021-05-24T14:31:12.305063+00:00","author_handle":"qin.chen@datadoghq.com","widgets":[{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test Custom Link label"},{"override_label":"logs","is_hidden":true,"link":"https://app.datadoghq.com/dashboard/lists"}],"title_size":"16","yaxis":{"include_zero":false,"scale":"log","min":"1","label":"mem (Gib)"},"title_align":"right","color_by_groups":["app"],"xaxis":{"include_zero":false,"max":"100","min":"0","scale":"log","label":"cpu (%)"},"time":{"live_span":"15m"},"title":"system.mem.used and system.cpu.user by service,team,app colored by app","requests":{"y":{"q":"avg:system.mem.used{env:prod} by {service, team, app}","aggregator":"avg"},"x":{"q":"avg:system.cpu.user{account:prod} by {service, team, app}","aggregator":"avg"}},"type":"scatterplot"},"id":7534151761779212},{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test Custom Link label"}],"title_size":"16","yaxis":{"include_zero":false,"scale":"log","min":"1","label":"mem (Gib)"},"title_align":"right","color_by_groups":["app"],"xaxis":{"include_zero":false,"max":"100","min":"0","scale":"log","label":"cpu (%)"},"time":{"live_span":"15m"},"title":"system.mem.used and system.cpu.user by service,team,app colored by app","requests":{"y":{"q":"avg:system.mem.used{env:prod} by {service, team, app}","aggregator":"avg"},"x":{"q":"avg:system.cpu.user{account:prod} by {service, team, app}","aggregator":"avg"}},"type":"scatterplot"},"id":3583701607680569}],"layout_type":"ordered"}' + body: '{"notify_list":[],"description":"Created using the Datadog provider in + Terraform","author_name":null,"template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"x9v-tdh-64k","title":"tf-TestAccDatadogDashboardScatterplot-local-1611850706","url":"/dashboard/x9v-tdh-64k/tf-testaccdatadogdashboardscatterplot-local-1611850706","created_at":"2021-01-28T16:49:22.693247+00:00","modified_at":"2021-01-28T16:49:22.693247+00:00","author_handle":"frog@datadoghq.com","widgets":[{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test + Custom Link label"}],"title_size":"16","yaxis":{"include_zero":false,"scale":"log","min":"1","label":"mem + (Gib)"},"title_align":"right","color_by_groups":["app"],"xaxis":{"include_zero":false,"max":"100","min":"0","scale":"log","label":"cpu + (%)"},"time":{"live_span":"15m"},"title":"system.mem.used and system.cpu.user + by service,team,app colored by app","requests":{"y":{"q":"avg:system.mem.used{env:prod} + by {service, team, app}","aggregator":"avg"},"x":{"q":"avg:system.cpu.user{account:prod} + by {service, team, app}","aggregator":"avg"}},"type":"scatterplot"},"id":3387263182653338},{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test + Custom Link label"}],"title_size":"16","yaxis":{"include_zero":false,"scale":"log","min":"1","label":"mem + (Gib)"},"title_align":"right","color_by_groups":["app"],"xaxis":{"include_zero":false,"max":"100","min":"0","scale":"log","label":"cpu + (%)"},"time":{"live_span":"15m"},"title":"system.mem.used and system.cpu.user + by service,team,app colored by app","requests":{"y":{"q":"avg:system.mem.used{env:prod} + by {service, team, app}","aggregator":"avg"},"x":{"q":"avg:system.cpu.user{account:prod} + by {service, team, app}","aggregator":"avg"}},"type":"scatterplot"},"id":7872484918933697}],"layout_type":"ordered"}' headers: Cache-Control: - no-cache @@ -196,9 +308,12 @@ interactions: Content-Type: - application/json Date: - - Mon, 24 May 2021 14:31:13 GMT + - Thu, 28 Jan 2021 16:50:57 GMT Pragma: - no-cache + Set-Cookie: + - DD-PSHARD=233; Max-Age=604800; Path=/; expires=Thu, 04-Feb-2021 16:50:57 GMT; + secure; HttpOnly Strict-Transport-Security: - max-age=15724800; Vary: @@ -206,9 +321,9 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Debug: - - dCmL/3rURV6BPeaqeP3Rxigq41m5CAb17XjrRE42uZ01zpr07HVhbL5/3TWMkvgu + - /L+SFFO+m1pPY+hRCpk5325fvfrNl0KmiquUNJolBN/5hu3HIwflqjZSbJ6NxDFG X-Dd-Version: - - "35.4593741" + - "35.3796727" X-Frame-Options: - SAMEORIGIN status: 200 OK @@ -223,11 +338,18 @@ interactions: Dd-Operation-Id: - DeleteDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) - url: https://api.datadoghq.com/api/v1/dashboard/7hp-h42-dc3 + - terraform-provider-datadog/dev (terraform 1.15.0; terraform-cli 0.12.7-sdk) + datadog-api-client-go/1.0.0-beta.14 (go go1.15.4; os darwin; arch amd64) + X-Datadog-Parent-Id: + - "6296817157214483627" + X-Datadog-Sampling-Priority: + - "1" + X-Datadog-Trace-Id: + - "6251496224295302927" + url: https://api.datadoghq.com/api/v1/dashboard/x9v-tdh-64k method: DELETE response: - body: '{"deleted_dashboard_id":"7hp-h42-dc3"}' + body: '{"deleted_dashboard_id":"x9v-tdh-64k"}' headers: Cache-Control: - no-cache @@ -238,9 +360,12 @@ interactions: Content-Type: - application/json Date: - - Mon, 24 May 2021 14:31:14 GMT + - Thu, 28 Jan 2021 16:51:20 GMT Pragma: - no-cache + Set-Cookie: + - DD-PSHARD=233; Max-Age=604800; Path=/; expires=Thu, 04-Feb-2021 16:51:19 GMT; + secure; HttpOnly Strict-Transport-Security: - max-age=15724800; Vary: @@ -248,9 +373,9 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Debug: - - HbtaOKlJ6OCrx9tMXO6ivMTrEM+g0c93HDp08trmOmgdHozC5J+vn10F0H4WPjCU + - B1nwy/pPNqX+q4pQT22cdp1QCexE35IF8qwSHy0Nf7IW0Y881qtn4tXN1lpmzaKc X-Dd-Version: - - "35.4593741" + - "35.3796727" X-Frame-Options: - SAMEORIGIN status: 200 OK @@ -265,11 +390,18 @@ interactions: Dd-Operation-Id: - GetDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) - url: https://api.datadoghq.com/api/v1/dashboard/7hp-h42-dc3 + - terraform-provider-datadog/dev (terraform 1.15.0; terraform-cli 0.12.7-sdk) + datadog-api-client-go/1.0.0-beta.14 (go go1.15.4; os darwin; arch amd64) + X-Datadog-Parent-Id: + - "5027174709423246870" + X-Datadog-Sampling-Priority: + - "1" + X-Datadog-Trace-Id: + - "6251496224295302927" + url: https://api.datadoghq.com/api/v1/dashboard/x9v-tdh-64k method: GET response: - body: '{"errors": ["Dashboard with ID 7hp-h42-dc3 not found"]}' + body: '{"errors": ["Dashboard with ID x9v-tdh-64k not found"]}' headers: Cache-Control: - no-cache @@ -280,7 +412,7 @@ interactions: Content-Type: - application/json Date: - - Mon, 24 May 2021 14:31:14 GMT + - Thu, 28 Jan 2021 16:51:22 GMT Pragma: - no-cache Strict-Transport-Security: @@ -290,7 +422,7 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Version: - - "35.4593741" + - "35.3796727" X-Frame-Options: - SAMEORIGIN status: 404 Not Found diff --git a/datadog/tests/cassettes/TestAccDatadogDashboardScatterplot_import.freeze b/datadog/tests/cassettes/TestAccDatadogDashboardScatterplot_import.freeze index 53b1ce471..7e48b95ad 100644 --- a/datadog/tests/cassettes/TestAccDatadogDashboardScatterplot_import.freeze +++ b/datadog/tests/cassettes/TestAccDatadogDashboardScatterplot_import.freeze @@ -1 +1 @@ -2021-05-24T10:37:36.33913-04:00 \ No newline at end of file +2020-12-31T15:42:08.74021+01:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogDashboardScatterplot_import.yaml b/datadog/tests/cassettes/TestAccDatadogDashboardScatterplot_import.yaml index 53e98d51c..9238211e0 100644 --- a/datadog/tests/cassettes/TestAccDatadogDashboardScatterplot_import.yaml +++ b/datadog/tests/cassettes/TestAccDatadogDashboardScatterplot_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-TestAccDatadogDashboardScatterplot_import-local-1621866671","widgets":[{"definition":{"color_by_groups":["app"],"custom_links":[{"label":"Test Custom Link label","link":"https://app.datadoghq.com/dashboard/lists"}],"requests":{"x":{"aggregator":"avg","q":"avg:system.cpu.user{account:prod} by {service, team, app}"},"y":{"aggregator":"avg","q":"avg:system.mem.used{env:prod} by {service, team, app}"}},"time":{"live_span":"15m"},"title":"system.mem.used and system.cpu.user by service,team,app colored by app","title_align":"right","title_size":"16","type":"scatterplot","xaxis":{"include_zero":false,"label":"cpu (%)","max":"100","min":"0","scale":"log"},"yaxis":{"include_zero":false,"label":"mem (Gib)","min":"1","scale":"log"}}}]} + {"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-TestAccDatadogDashboardScatterplot_import-local-1609425728","widgets":[{"definition":{"color_by_groups":["app"],"custom_links":[{"label":"Test Custom Link label","link":"https://app.datadoghq.com/dashboard/lists"}],"requests":{"x":{"aggregator":"avg","q":"avg:system.cpu.user{account:prod} by {service, team, app}"},"y":{"aggregator":"avg","q":"avg:system.mem.used{env:prod} by {service, team, app}"}},"time":{"live_span":"15m"},"title":"system.mem.used and system.cpu.user by service,team,app colored by app","title_align":"right","title_size":"16","type":"scatterplot","xaxis":{"include_zero":false,"label":"cpu (%)","max":"100","min":"0","scale":"log"},"yaxis":{"include_zero":false,"label":"mem (Gib)","min":"1","scale":"log"}}}]} form: {} headers: Accept: @@ -13,11 +13,25 @@ interactions: Dd-Operation-Id: - CreateDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) + - terraform-provider-datadog/dev (terraform 1.15.0; terraform-cli 0.12.7-sdk) + datadog-api-client-go/1.0.0-beta.13+dev (go go1.15.4; os darwin; arch amd64) + X-Datadog-Parent-Id: + - "2948060761037736520" + X-Datadog-Sampling-Priority: + - "1" + X-Datadog-Trace-Id: + - "639391645206334338" url: https://api.datadoghq.com/api/v1/dashboard method: POST response: - body: '{"notify_list":[],"description":"Created using the Datadog provider in Terraform","restricted_roles":["043a2842-e140-11e8-bb04-7fd10177666e","08604de8-1dca-11eb-800c-9f5f55ff734d","1302282c-b93b-11eb-a436-da7ad0900002","16169788-28e4-11eb-832c-fb84162ef3eb","17d73994-7531-11eb-94b9-da7ad0900002","284d8b66-93f9-11eb-9c37-da7ad0900002","4de53192-9946-11eb-9cee-da7ad0900002","62cbc476-5c16-11eb-8e98-0388ea7a41f8","657de3a2-29f8-11eb-83b5-6b8ebfb2f184","6bf314be-5c16-11eb-8e98-2356ea436065","7a83f306-96ca-11eb-9c74-da7ad0900002","9b3ab170-b768-11eb-a45a-da7ad0900002","e82bf27a-986c-11eb-9cba-da7ad0900002","f257ba30-dbb2-11ea-a5ff-5fd1d308318a"],"author_name":"Qin Chen","template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"vm2-3ct-rqs","title":"tf-TestAccDatadogDashboardScatterplot_import-local-1621866671","url":"/dashboard/vm2-3ct-rqs/tf-testaccdatadogdashboardscatterplotimport-local-1621866671","created_at":"2021-05-24T14:31:12.293354+00:00","modified_at":"2021-05-24T14:31:12.293354+00:00","author_handle":"qin.chen@datadoghq.com","widgets":[{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test Custom Link label"}],"title_size":"16","yaxis":{"include_zero":false,"scale":"log","min":"1","label":"mem (Gib)"},"title_align":"right","color_by_groups":["app"],"xaxis":{"include_zero":false,"max":"100","min":"0","scale":"log","label":"cpu (%)"},"time":{"live_span":"15m"},"title":"system.mem.used and system.cpu.user by service,team,app colored by app","requests":{"y":{"q":"avg:system.mem.used{env:prod} by {service, team, app}","aggregator":"avg"},"x":{"q":"avg:system.cpu.user{account:prod} by {service, team, app}","aggregator":"avg"}},"type":"scatterplot"},"id":5802586078425630}],"layout_type":"ordered"}' + body: '{"notify_list":[],"description":"Created using the Datadog provider in + Terraform","author_name":null,"template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"5bp-8ub-kfy","title":"tf-TestAccDatadogDashboardScatterplot_import-local-1609425728","url":"/dashboard/5bp-8ub-kfy/tf-testaccdatadogdashboardscatterplotimport-local-1609425728","created_at":"2020-12-31T14:48:01.044093+00:00","modified_at":"2020-12-31T14:48:01.044093+00:00","author_handle":"frog@datadoghq.com","widgets":[{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test + Custom Link label"}],"title_size":"16","yaxis":{"include_zero":false,"scale":"log","min":"1","label":"mem + (Gib)"},"title_align":"right","color_by_groups":["app"],"xaxis":{"include_zero":false,"max":"100","min":"0","scale":"log","label":"cpu + (%)"},"time":{"live_span":"15m"},"title":"system.mem.used and system.cpu.user + by service,team,app colored by app","requests":{"y":{"q":"avg:system.mem.used{env:prod} + by {service, team, app}","aggregator":"avg"},"x":{"q":"avg:system.cpu.user{account:prod} + by {service, team, app}","aggregator":"avg"}},"type":"scatterplot"},"id":1459065978924874}],"layout_type":"ordered"}' headers: Cache-Control: - no-cache @@ -28,9 +42,12 @@ interactions: Content-Type: - application/json Date: - - Mon, 24 May 2021 14:31:12 GMT + - Thu, 31 Dec 2020 14:48:03 GMT Pragma: - no-cache + Set-Cookie: + - DD-PSHARD=233; Max-Age=604800; Path=/; expires=Thu, 07-Jan-2021 14:48:00 GMT; + secure; HttpOnly Strict-Transport-Security: - max-age=15724800; Vary: @@ -38,9 +55,9 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Debug: - - 5gfwVh/5HZ+AnGd/Di93w3NEWC6KMHT9KzmHEiRJmNdOjBtAsbOcgVFyqEChw71h + - XhN3sROXhRtxvw2F+uRtJTWMwUQRYhDKBCNr1DfCqtzQgh490ZXtNSOhIx1TzG8K X-Dd-Version: - - "35.4593741" + - "35.3622023" X-Frame-Options: - SAMEORIGIN status: 200 OK @@ -55,11 +72,25 @@ interactions: Dd-Operation-Id: - GetDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) - url: https://api.datadoghq.com/api/v1/dashboard/vm2-3ct-rqs + - terraform-provider-datadog/dev (terraform 1.15.0; terraform-cli 0.12.7-sdk) + datadog-api-client-go/1.0.0-beta.13+dev (go go1.15.4; os darwin; arch amd64) + X-Datadog-Parent-Id: + - "3283282512363111526" + X-Datadog-Sampling-Priority: + - "1" + X-Datadog-Trace-Id: + - "639391645206334338" + url: https://api.datadoghq.com/api/v1/dashboard/5bp-8ub-kfy method: GET response: - body: '{"notify_list":[],"description":"Created using the Datadog provider in Terraform","restricted_roles":["284d8b66-93f9-11eb-9c37-da7ad0900002","043a2842-e140-11e8-bb04-7fd10177666e","657de3a2-29f8-11eb-83b5-6b8ebfb2f184","e82bf27a-986c-11eb-9cba-da7ad0900002","f257ba30-dbb2-11ea-a5ff-5fd1d308318a","6bf314be-5c16-11eb-8e98-2356ea436065","62cbc476-5c16-11eb-8e98-0388ea7a41f8","08604de8-1dca-11eb-800c-9f5f55ff734d","9b3ab170-b768-11eb-a45a-da7ad0900002","7a83f306-96ca-11eb-9c74-da7ad0900002","16169788-28e4-11eb-832c-fb84162ef3eb","4de53192-9946-11eb-9cee-da7ad0900002","1302282c-b93b-11eb-a436-da7ad0900002","17d73994-7531-11eb-94b9-da7ad0900002"],"author_name":"Qin Chen","template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"vm2-3ct-rqs","title":"tf-TestAccDatadogDashboardScatterplot_import-local-1621866671","url":"/dashboard/vm2-3ct-rqs/tf-testaccdatadogdashboardscatterplotimport-local-1621866671","created_at":"2021-05-24T14:31:12.293354+00:00","modified_at":"2021-05-24T14:31:12.293354+00:00","author_handle":"qin.chen@datadoghq.com","widgets":[{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test Custom Link label"}],"title_size":"16","yaxis":{"include_zero":false,"scale":"log","min":"1","label":"mem (Gib)"},"title_align":"right","color_by_groups":["app"],"xaxis":{"include_zero":false,"max":"100","min":"0","scale":"log","label":"cpu (%)"},"time":{"live_span":"15m"},"title":"system.mem.used and system.cpu.user by service,team,app colored by app","requests":{"y":{"q":"avg:system.mem.used{env:prod} by {service, team, app}","aggregator":"avg"},"x":{"q":"avg:system.cpu.user{account:prod} by {service, team, app}","aggregator":"avg"}},"type":"scatterplot"},"id":5802586078425630}],"layout_type":"ordered"}' + body: '{"notify_list":[],"description":"Created using the Datadog provider in + Terraform","author_name":null,"template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"5bp-8ub-kfy","title":"tf-TestAccDatadogDashboardScatterplot_import-local-1609425728","url":"/dashboard/5bp-8ub-kfy/tf-testaccdatadogdashboardscatterplotimport-local-1609425728","created_at":"2020-12-31T14:48:01.044093+00:00","modified_at":"2020-12-31T14:48:01.044093+00:00","author_handle":"frog@datadoghq.com","widgets":[{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test + Custom Link label"}],"title_size":"16","yaxis":{"include_zero":false,"scale":"log","min":"1","label":"mem + (Gib)"},"title_align":"right","color_by_groups":["app"],"xaxis":{"include_zero":false,"max":"100","min":"0","scale":"log","label":"cpu + (%)"},"time":{"live_span":"15m"},"title":"system.mem.used and system.cpu.user + by service,team,app colored by app","requests":{"y":{"q":"avg:system.mem.used{env:prod} + by {service, team, app}","aggregator":"avg"},"x":{"q":"avg:system.cpu.user{account:prod} + by {service, team, app}","aggregator":"avg"}},"type":"scatterplot"},"id":1459065978924874}],"layout_type":"ordered"}' headers: Cache-Control: - no-cache @@ -70,9 +101,12 @@ interactions: Content-Type: - application/json Date: - - Mon, 24 May 2021 14:31:12 GMT + - Thu, 31 Dec 2020 14:48:04 GMT Pragma: - no-cache + Set-Cookie: + - DD-PSHARD=233; Max-Age=604800; Path=/; expires=Thu, 07-Jan-2021 14:48:04 GMT; + secure; HttpOnly Strict-Transport-Security: - max-age=15724800; Vary: @@ -80,9 +114,9 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Debug: - - LcgNasIYBRkNppmD6mCKE9J6iv0eEjosuuHR5V5zw2fWbR54i39C8dhdK8zDq/40 + - GzqFsJiHmsMG2ZkgPZxP4KU7BbP1543ieTDBlTOcSv7mMVZ5sYoywme9ykeCrzfU X-Dd-Version: - - "35.4593741" + - "35.3622023" X-Frame-Options: - SAMEORIGIN status: 200 OK @@ -97,11 +131,25 @@ interactions: Dd-Operation-Id: - GetDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) - url: https://api.datadoghq.com/api/v1/dashboard/vm2-3ct-rqs + - terraform-provider-datadog/dev (terraform 1.15.0; terraform-cli 0.12.7-sdk) + datadog-api-client-go/1.0.0-beta.13+dev (go go1.15.4; os darwin; arch amd64) + X-Datadog-Parent-Id: + - "2193345642508321953" + X-Datadog-Sampling-Priority: + - "1" + X-Datadog-Trace-Id: + - "639391645206334338" + url: https://api.datadoghq.com/api/v1/dashboard/5bp-8ub-kfy method: GET response: - body: '{"notify_list":[],"description":"Created using the Datadog provider in Terraform","restricted_roles":["284d8b66-93f9-11eb-9c37-da7ad0900002","043a2842-e140-11e8-bb04-7fd10177666e","657de3a2-29f8-11eb-83b5-6b8ebfb2f184","e82bf27a-986c-11eb-9cba-da7ad0900002","f257ba30-dbb2-11ea-a5ff-5fd1d308318a","6bf314be-5c16-11eb-8e98-2356ea436065","62cbc476-5c16-11eb-8e98-0388ea7a41f8","08604de8-1dca-11eb-800c-9f5f55ff734d","9b3ab170-b768-11eb-a45a-da7ad0900002","7a83f306-96ca-11eb-9c74-da7ad0900002","16169788-28e4-11eb-832c-fb84162ef3eb","4de53192-9946-11eb-9cee-da7ad0900002","1302282c-b93b-11eb-a436-da7ad0900002","17d73994-7531-11eb-94b9-da7ad0900002"],"author_name":"Qin Chen","template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"vm2-3ct-rqs","title":"tf-TestAccDatadogDashboardScatterplot_import-local-1621866671","url":"/dashboard/vm2-3ct-rqs/tf-testaccdatadogdashboardscatterplotimport-local-1621866671","created_at":"2021-05-24T14:31:12.293354+00:00","modified_at":"2021-05-24T14:31:12.293354+00:00","author_handle":"qin.chen@datadoghq.com","widgets":[{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test Custom Link label"}],"title_size":"16","yaxis":{"include_zero":false,"scale":"log","min":"1","label":"mem (Gib)"},"title_align":"right","color_by_groups":["app"],"xaxis":{"include_zero":false,"max":"100","min":"0","scale":"log","label":"cpu (%)"},"time":{"live_span":"15m"},"title":"system.mem.used and system.cpu.user by service,team,app colored by app","requests":{"y":{"q":"avg:system.mem.used{env:prod} by {service, team, app}","aggregator":"avg"},"x":{"q":"avg:system.cpu.user{account:prod} by {service, team, app}","aggregator":"avg"}},"type":"scatterplot"},"id":5802586078425630}],"layout_type":"ordered"}' + body: '{"notify_list":[],"description":"Created using the Datadog provider in + Terraform","author_name":null,"template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"5bp-8ub-kfy","title":"tf-TestAccDatadogDashboardScatterplot_import-local-1609425728","url":"/dashboard/5bp-8ub-kfy/tf-testaccdatadogdashboardscatterplotimport-local-1609425728","created_at":"2020-12-31T14:48:01.044093+00:00","modified_at":"2020-12-31T14:48:01.044093+00:00","author_handle":"frog@datadoghq.com","widgets":[{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test + Custom Link label"}],"title_size":"16","yaxis":{"include_zero":false,"scale":"log","min":"1","label":"mem + (Gib)"},"title_align":"right","color_by_groups":["app"],"xaxis":{"include_zero":false,"max":"100","min":"0","scale":"log","label":"cpu + (%)"},"time":{"live_span":"15m"},"title":"system.mem.used and system.cpu.user + by service,team,app colored by app","requests":{"y":{"q":"avg:system.mem.used{env:prod} + by {service, team, app}","aggregator":"avg"},"x":{"q":"avg:system.cpu.user{account:prod} + by {service, team, app}","aggregator":"avg"}},"type":"scatterplot"},"id":1459065978924874}],"layout_type":"ordered"}' headers: Cache-Control: - no-cache @@ -112,9 +160,12 @@ interactions: Content-Type: - application/json Date: - - Mon, 24 May 2021 14:31:13 GMT + - Thu, 31 Dec 2020 14:48:11 GMT Pragma: - no-cache + Set-Cookie: + - DD-PSHARD=233; Max-Age=604800; Path=/; expires=Thu, 07-Jan-2021 14:48:11 GMT; + secure; HttpOnly Strict-Transport-Security: - max-age=15724800; Vary: @@ -122,9 +173,9 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Debug: - - L3ULR3HwCWYmEqCWGz2Yob3chcH4pjowBacBXkncP7o+/uPqKt9yGEYf/g1AJPzQ + - Q8knEw82SgGErSuAaD0RuA7obbJQJNFXaFmNNzPtQBtywdtSi82Z9gGaD787DJ0K X-Dd-Version: - - "35.4593741" + - "35.3622023" X-Frame-Options: - SAMEORIGIN status: 200 OK @@ -139,11 +190,25 @@ interactions: Dd-Operation-Id: - GetDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) - url: https://api.datadoghq.com/api/v1/dashboard/vm2-3ct-rqs + - terraform-provider-datadog/dev (terraform 1.15.0; terraform-cli 0.12.7-sdk) + datadog-api-client-go/1.0.0-beta.13+dev (go go1.15.4; os darwin; arch amd64) + X-Datadog-Parent-Id: + - "8065431697700298103" + X-Datadog-Sampling-Priority: + - "1" + X-Datadog-Trace-Id: + - "639391645206334338" + url: https://api.datadoghq.com/api/v1/dashboard/5bp-8ub-kfy method: GET response: - body: '{"notify_list":[],"description":"Created using the Datadog provider in Terraform","restricted_roles":["284d8b66-93f9-11eb-9c37-da7ad0900002","043a2842-e140-11e8-bb04-7fd10177666e","657de3a2-29f8-11eb-83b5-6b8ebfb2f184","e82bf27a-986c-11eb-9cba-da7ad0900002","f257ba30-dbb2-11ea-a5ff-5fd1d308318a","6bf314be-5c16-11eb-8e98-2356ea436065","62cbc476-5c16-11eb-8e98-0388ea7a41f8","08604de8-1dca-11eb-800c-9f5f55ff734d","9b3ab170-b768-11eb-a45a-da7ad0900002","7a83f306-96ca-11eb-9c74-da7ad0900002","16169788-28e4-11eb-832c-fb84162ef3eb","4de53192-9946-11eb-9cee-da7ad0900002","1302282c-b93b-11eb-a436-da7ad0900002","17d73994-7531-11eb-94b9-da7ad0900002"],"author_name":"Qin Chen","template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"vm2-3ct-rqs","title":"tf-TestAccDatadogDashboardScatterplot_import-local-1621866671","url":"/dashboard/vm2-3ct-rqs/tf-testaccdatadogdashboardscatterplotimport-local-1621866671","created_at":"2021-05-24T14:31:12.293354+00:00","modified_at":"2021-05-24T14:31:12.293354+00:00","author_handle":"qin.chen@datadoghq.com","widgets":[{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test Custom Link label"}],"title_size":"16","yaxis":{"include_zero":false,"scale":"log","min":"1","label":"mem (Gib)"},"title_align":"right","color_by_groups":["app"],"xaxis":{"include_zero":false,"max":"100","min":"0","scale":"log","label":"cpu (%)"},"time":{"live_span":"15m"},"title":"system.mem.used and system.cpu.user by service,team,app colored by app","requests":{"y":{"q":"avg:system.mem.used{env:prod} by {service, team, app}","aggregator":"avg"},"x":{"q":"avg:system.cpu.user{account:prod} by {service, team, app}","aggregator":"avg"}},"type":"scatterplot"},"id":5802586078425630}],"layout_type":"ordered"}' + body: '{"notify_list":[],"description":"Created using the Datadog provider in + Terraform","author_name":null,"template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"5bp-8ub-kfy","title":"tf-TestAccDatadogDashboardScatterplot_import-local-1609425728","url":"/dashboard/5bp-8ub-kfy/tf-testaccdatadogdashboardscatterplotimport-local-1609425728","created_at":"2020-12-31T14:48:01.044093+00:00","modified_at":"2020-12-31T14:48:01.044093+00:00","author_handle":"frog@datadoghq.com","widgets":[{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test + Custom Link label"}],"title_size":"16","yaxis":{"include_zero":false,"scale":"log","min":"1","label":"mem + (Gib)"},"title_align":"right","color_by_groups":["app"],"xaxis":{"include_zero":false,"max":"100","min":"0","scale":"log","label":"cpu + (%)"},"time":{"live_span":"15m"},"title":"system.mem.used and system.cpu.user + by service,team,app colored by app","requests":{"y":{"q":"avg:system.mem.used{env:prod} + by {service, team, app}","aggregator":"avg"},"x":{"q":"avg:system.cpu.user{account:prod} + by {service, team, app}","aggregator":"avg"}},"type":"scatterplot"},"id":1459065978924874}],"layout_type":"ordered"}' headers: Cache-Control: - no-cache @@ -154,9 +219,12 @@ interactions: Content-Type: - application/json Date: - - Mon, 24 May 2021 14:31:13 GMT + - Thu, 31 Dec 2020 14:48:17 GMT Pragma: - no-cache + Set-Cookie: + - DD-PSHARD=233; Max-Age=604800; Path=/; expires=Thu, 07-Jan-2021 14:48:16 GMT; + secure; HttpOnly Strict-Transport-Security: - max-age=15724800; Vary: @@ -164,9 +232,9 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Debug: - - mNzaoDhdDKO7t4QSrAe5X7pHd0bJND187D+vRbwoluXouE2m1UaQQX0RGCvRpLVE + - NVN1vUIP943yBv5BrKvNkq9LhGENimQCGx913v3GQzIJuXIMEzcrTlr1CpALPFWv X-Dd-Version: - - "35.4593741" + - "35.3622023" X-Frame-Options: - SAMEORIGIN status: 200 OK @@ -181,11 +249,25 @@ interactions: Dd-Operation-Id: - GetDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) - url: https://api.datadoghq.com/api/v1/dashboard/vm2-3ct-rqs + - terraform-provider-datadog/dev (terraform 1.15.0; terraform-cli 0.12.7-sdk) + datadog-api-client-go/1.0.0-beta.13+dev (go go1.15.4; os darwin; arch amd64) + X-Datadog-Parent-Id: + - "2577828331695774481" + X-Datadog-Sampling-Priority: + - "1" + X-Datadog-Trace-Id: + - "639391645206334338" + url: https://api.datadoghq.com/api/v1/dashboard/5bp-8ub-kfy method: GET response: - body: '{"notify_list":[],"description":"Created using the Datadog provider in Terraform","restricted_roles":["284d8b66-93f9-11eb-9c37-da7ad0900002","043a2842-e140-11e8-bb04-7fd10177666e","657de3a2-29f8-11eb-83b5-6b8ebfb2f184","e82bf27a-986c-11eb-9cba-da7ad0900002","f257ba30-dbb2-11ea-a5ff-5fd1d308318a","6bf314be-5c16-11eb-8e98-2356ea436065","62cbc476-5c16-11eb-8e98-0388ea7a41f8","08604de8-1dca-11eb-800c-9f5f55ff734d","9b3ab170-b768-11eb-a45a-da7ad0900002","7a83f306-96ca-11eb-9c74-da7ad0900002","16169788-28e4-11eb-832c-fb84162ef3eb","4de53192-9946-11eb-9cee-da7ad0900002","1302282c-b93b-11eb-a436-da7ad0900002","17d73994-7531-11eb-94b9-da7ad0900002"],"author_name":"Qin Chen","template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"vm2-3ct-rqs","title":"tf-TestAccDatadogDashboardScatterplot_import-local-1621866671","url":"/dashboard/vm2-3ct-rqs/tf-testaccdatadogdashboardscatterplotimport-local-1621866671","created_at":"2021-05-24T14:31:12.293354+00:00","modified_at":"2021-05-24T14:31:12.293354+00:00","author_handle":"qin.chen@datadoghq.com","widgets":[{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test Custom Link label"}],"title_size":"16","yaxis":{"include_zero":false,"scale":"log","min":"1","label":"mem (Gib)"},"title_align":"right","color_by_groups":["app"],"xaxis":{"include_zero":false,"max":"100","min":"0","scale":"log","label":"cpu (%)"},"time":{"live_span":"15m"},"title":"system.mem.used and system.cpu.user by service,team,app colored by app","requests":{"y":{"q":"avg:system.mem.used{env:prod} by {service, team, app}","aggregator":"avg"},"x":{"q":"avg:system.cpu.user{account:prod} by {service, team, app}","aggregator":"avg"}},"type":"scatterplot"},"id":5802586078425630}],"layout_type":"ordered"}' + body: '{"notify_list":[],"description":"Created using the Datadog provider in + Terraform","author_name":null,"template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"5bp-8ub-kfy","title":"tf-TestAccDatadogDashboardScatterplot_import-local-1609425728","url":"/dashboard/5bp-8ub-kfy/tf-testaccdatadogdashboardscatterplotimport-local-1609425728","created_at":"2020-12-31T14:48:01.044093+00:00","modified_at":"2020-12-31T14:48:01.044093+00:00","author_handle":"frog@datadoghq.com","widgets":[{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test + Custom Link label"}],"title_size":"16","yaxis":{"include_zero":false,"scale":"log","min":"1","label":"mem + (Gib)"},"title_align":"right","color_by_groups":["app"],"xaxis":{"include_zero":false,"max":"100","min":"0","scale":"log","label":"cpu + (%)"},"time":{"live_span":"15m"},"title":"system.mem.used and system.cpu.user + by service,team,app colored by app","requests":{"y":{"q":"avg:system.mem.used{env:prod} + by {service, team, app}","aggregator":"avg"},"x":{"q":"avg:system.cpu.user{account:prod} + by {service, team, app}","aggregator":"avg"}},"type":"scatterplot"},"id":1459065978924874}],"layout_type":"ordered"}' headers: Cache-Control: - no-cache @@ -196,9 +278,12 @@ interactions: Content-Type: - application/json Date: - - Mon, 24 May 2021 14:31:13 GMT + - Thu, 31 Dec 2020 14:48:18 GMT Pragma: - no-cache + Set-Cookie: + - DD-PSHARD=233; Max-Age=604800; Path=/; expires=Thu, 07-Jan-2021 14:48:18 GMT; + secure; HttpOnly Strict-Transport-Security: - max-age=15724800; Vary: @@ -206,9 +291,9 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Debug: - - vdJ3/nHEY1ioXQ6pQrBVvsQK1s4yyc+wufBMPSoXql71qZVuP/xMdtNo6DafhOAk + - uhKf3DOQ/asSODSNh+771Jj2mAFRCrXnSErQegeSH33qVMu18OG0v+JTvu/HjcV7 X-Dd-Version: - - "35.4593741" + - "35.3622023" X-Frame-Options: - SAMEORIGIN status: 200 OK @@ -223,11 +308,25 @@ interactions: Dd-Operation-Id: - GetDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) - url: https://api.datadoghq.com/api/v1/dashboard/vm2-3ct-rqs + - terraform-provider-datadog/dev (terraform 1.15.0; terraform-cli 0.12.7-sdk) + datadog-api-client-go/1.0.0-beta.13+dev (go go1.15.4; os darwin; arch amd64) + X-Datadog-Parent-Id: + - "1300212220457134712" + X-Datadog-Sampling-Priority: + - "1" + X-Datadog-Trace-Id: + - "639391645206334338" + url: https://api.datadoghq.com/api/v1/dashboard/5bp-8ub-kfy method: GET response: - body: '{"notify_list":[],"description":"Created using the Datadog provider in Terraform","restricted_roles":["284d8b66-93f9-11eb-9c37-da7ad0900002","043a2842-e140-11e8-bb04-7fd10177666e","657de3a2-29f8-11eb-83b5-6b8ebfb2f184","e82bf27a-986c-11eb-9cba-da7ad0900002","f257ba30-dbb2-11ea-a5ff-5fd1d308318a","6bf314be-5c16-11eb-8e98-2356ea436065","62cbc476-5c16-11eb-8e98-0388ea7a41f8","08604de8-1dca-11eb-800c-9f5f55ff734d","9b3ab170-b768-11eb-a45a-da7ad0900002","7a83f306-96ca-11eb-9c74-da7ad0900002","16169788-28e4-11eb-832c-fb84162ef3eb","4de53192-9946-11eb-9cee-da7ad0900002","1302282c-b93b-11eb-a436-da7ad0900002","17d73994-7531-11eb-94b9-da7ad0900002"],"author_name":"Qin Chen","template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"vm2-3ct-rqs","title":"tf-TestAccDatadogDashboardScatterplot_import-local-1621866671","url":"/dashboard/vm2-3ct-rqs/tf-testaccdatadogdashboardscatterplotimport-local-1621866671","created_at":"2021-05-24T14:31:12.293354+00:00","modified_at":"2021-05-24T14:31:12.293354+00:00","author_handle":"qin.chen@datadoghq.com","widgets":[{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test Custom Link label"}],"title_size":"16","yaxis":{"include_zero":false,"scale":"log","min":"1","label":"mem (Gib)"},"title_align":"right","color_by_groups":["app"],"xaxis":{"include_zero":false,"max":"100","min":"0","scale":"log","label":"cpu (%)"},"time":{"live_span":"15m"},"title":"system.mem.used and system.cpu.user by service,team,app colored by app","requests":{"y":{"q":"avg:system.mem.used{env:prod} by {service, team, app}","aggregator":"avg"},"x":{"q":"avg:system.cpu.user{account:prod} by {service, team, app}","aggregator":"avg"}},"type":"scatterplot"},"id":5802586078425630}],"layout_type":"ordered"}' + body: '{"notify_list":[],"description":"Created using the Datadog provider in + Terraform","author_name":null,"template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"5bp-8ub-kfy","title":"tf-TestAccDatadogDashboardScatterplot_import-local-1609425728","url":"/dashboard/5bp-8ub-kfy/tf-testaccdatadogdashboardscatterplotimport-local-1609425728","created_at":"2020-12-31T14:48:01.044093+00:00","modified_at":"2020-12-31T14:48:01.044093+00:00","author_handle":"frog@datadoghq.com","widgets":[{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test + Custom Link label"}],"title_size":"16","yaxis":{"include_zero":false,"scale":"log","min":"1","label":"mem + (Gib)"},"title_align":"right","color_by_groups":["app"],"xaxis":{"include_zero":false,"max":"100","min":"0","scale":"log","label":"cpu + (%)"},"time":{"live_span":"15m"},"title":"system.mem.used and system.cpu.user + by service,team,app colored by app","requests":{"y":{"q":"avg:system.mem.used{env:prod} + by {service, team, app}","aggregator":"avg"},"x":{"q":"avg:system.cpu.user{account:prod} + by {service, team, app}","aggregator":"avg"}},"type":"scatterplot"},"id":1459065978924874}],"layout_type":"ordered"}' headers: Cache-Control: - no-cache @@ -238,9 +337,12 @@ interactions: Content-Type: - application/json Date: - - Mon, 24 May 2021 14:31:14 GMT + - Thu, 31 Dec 2020 14:48:20 GMT Pragma: - no-cache + Set-Cookie: + - DD-PSHARD=233; Max-Age=604800; Path=/; expires=Thu, 07-Jan-2021 14:48:20 GMT; + secure; HttpOnly Strict-Transport-Security: - max-age=15724800; Vary: @@ -248,9 +350,9 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Debug: - - bgHykj7A9bfZx0Y5ZO3swhhp5tGUSNJHqFWR868+qg087CYrDOd5hQslC+noiEtH + - Xg/YZweB8L/9y2bk9dLfKv6mTe53iWJN13eGXk6rwnDvTKZPuXf1i9AdXnCIzJ+B X-Dd-Version: - - "35.4593741" + - "35.3622023" X-Frame-Options: - SAMEORIGIN status: 200 OK @@ -265,11 +367,18 @@ interactions: Dd-Operation-Id: - DeleteDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) - url: https://api.datadoghq.com/api/v1/dashboard/vm2-3ct-rqs + - terraform-provider-datadog/dev (terraform 1.15.0; terraform-cli 0.12.7-sdk) + datadog-api-client-go/1.0.0-beta.13+dev (go go1.15.4; os darwin; arch amd64) + X-Datadog-Parent-Id: + - "6784993331637152888" + X-Datadog-Sampling-Priority: + - "1" + X-Datadog-Trace-Id: + - "639391645206334338" + url: https://api.datadoghq.com/api/v1/dashboard/5bp-8ub-kfy method: DELETE response: - body: '{"deleted_dashboard_id":"vm2-3ct-rqs"}' + body: '{"deleted_dashboard_id":"5bp-8ub-kfy"}' headers: Cache-Control: - no-cache @@ -280,9 +389,12 @@ interactions: Content-Type: - application/json Date: - - Mon, 24 May 2021 14:31:14 GMT + - Thu, 31 Dec 2020 14:48:25 GMT Pragma: - no-cache + Set-Cookie: + - DD-PSHARD=233; Max-Age=604800; Path=/; expires=Thu, 07-Jan-2021 14:48:25 GMT; + secure; HttpOnly Strict-Transport-Security: - max-age=15724800; Vary: @@ -290,9 +402,9 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Debug: - - S1wfaMZOKGT/IoMw6fqAwAwGWo2vQ44sjF3YzuETnQfxZO2T5eJbs0aX3UKb9Dwu + - WmMtMFngDL31sZYuYCiUaMFRtAs90zyIJHnMIoB4iHZztA/Ona9SnOav516bWmh7 X-Dd-Version: - - "35.4593741" + - "35.3622023" X-Frame-Options: - SAMEORIGIN status: 200 OK @@ -307,11 +419,18 @@ interactions: Dd-Operation-Id: - GetDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) - url: https://api.datadoghq.com/api/v1/dashboard/vm2-3ct-rqs + - terraform-provider-datadog/dev (terraform 1.15.0; terraform-cli 0.12.7-sdk) + datadog-api-client-go/1.0.0-beta.13+dev (go go1.15.4; os darwin; arch amd64) + X-Datadog-Parent-Id: + - "8750366110365724623" + X-Datadog-Sampling-Priority: + - "1" + X-Datadog-Trace-Id: + - "639391645206334338" + url: https://api.datadoghq.com/api/v1/dashboard/5bp-8ub-kfy method: GET response: - body: '{"errors": ["Dashboard with ID vm2-3ct-rqs not found"]}' + body: '{"errors": ["Dashboard with ID 5bp-8ub-kfy not found"]}' headers: Cache-Control: - no-cache @@ -322,7 +441,7 @@ interactions: Content-Type: - application/json Date: - - Mon, 24 May 2021 14:31:14 GMT + - Thu, 31 Dec 2020 14:48:26 GMT Pragma: - no-cache Strict-Transport-Security: @@ -332,7 +451,7 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Version: - - "35.4593741" + - "35.3622023" X-Frame-Options: - SAMEORIGIN status: 404 Not Found diff --git a/datadog/tests/cassettes/TestAccDatadogDashboardServiceMap.freeze b/datadog/tests/cassettes/TestAccDatadogDashboardServiceMap.freeze index cd595f48c..c23a25905 100644 --- a/datadog/tests/cassettes/TestAccDatadogDashboardServiceMap.freeze +++ b/datadog/tests/cassettes/TestAccDatadogDashboardServiceMap.freeze @@ -1 +1 @@ -2021-05-24T10:37:36.33442-04:00 \ No newline at end of file +2021-05-03T11:37:01.664408+02:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogDashboardServiceMap.yaml b/datadog/tests/cassettes/TestAccDatadogDashboardServiceMap.yaml index 945f67b49..e9f511e6f 100644 --- a/datadog/tests/cassettes/TestAccDatadogDashboardServiceMap.yaml +++ b/datadog/tests/cassettes/TestAccDatadogDashboardServiceMap.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":"free","notify_list":[],"template_variable_presets":[],"template_variables":[],"title":"tf-TestAccDatadogDashboardServiceMap-local-1621866799","widgets":[{"definition":{"custom_links":[{"label":"Test Custom Link label","link":"https://app.datadoghq.com/dashboard/lists"},{"is_hidden":true,"link":"https://app.datadoghq.com/dashboard/lists","override_label":"logs"}],"filters":["env:prod","datacenter:us1.prod.dog"],"service":"master-db","title":"env: prod, datacenter:us1.prod.dog, service: master-db","title_align":"left","title_size":"16","type":"servicemap"},"layout":{"height":43,"is_column_break":false,"width":32,"x":5,"y":5}}]} + {"description":"Created using the Datadog provider in Terraform","id":"","is_read_only":true,"layout_type":"free","notify_list":[],"template_variable_presets":[],"template_variables":[],"title":"tf-TestAccDatadogDashboardServiceMap-local-1620034621","widgets":[{"definition":{"custom_links":[{"label":"Test Custom Link label","link":"https://app.datadoghq.com/dashboard/lists"}],"filters":["env:prod","datacenter:us1.prod.dog"],"service":"master-db","title":"env: prod, datacenter:us1.prod.dog, service: master-db","title_align":"left","title_size":"16","type":"servicemap"},"layout":{"height":43,"is_column_break":false,"width":32,"x":5,"y":5}}]} form: {} headers: Accept: @@ -13,11 +13,11 @@ interactions: Dd-Operation-Id: - CreateDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) + - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.21+dev (go go1.16.2; os darwin; arch amd64) url: https://api.datadoghq.com/api/v1/dashboard method: POST response: - body: '{"notify_list":[],"description":"Created using the Datadog provider in Terraform","restricted_roles":["043a2842-e140-11e8-bb04-7fd10177666e","08604de8-1dca-11eb-800c-9f5f55ff734d","1302282c-b93b-11eb-a436-da7ad0900002","16169788-28e4-11eb-832c-fb84162ef3eb","17d73994-7531-11eb-94b9-da7ad0900002","284d8b66-93f9-11eb-9c37-da7ad0900002","4de53192-9946-11eb-9cee-da7ad0900002","62cbc476-5c16-11eb-8e98-0388ea7a41f8","657de3a2-29f8-11eb-83b5-6b8ebfb2f184","6bf314be-5c16-11eb-8e98-2356ea436065","7a83f306-96ca-11eb-9c74-da7ad0900002","9b3ab170-b768-11eb-a45a-da7ad0900002","e82bf27a-986c-11eb-9cba-da7ad0900002","f257ba30-dbb2-11ea-a5ff-5fd1d308318a"],"author_name":"Qin Chen","template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"tiw-459-csz","title":"tf-TestAccDatadogDashboardServiceMap-local-1621866799","url":"/dashboard/tiw-459-csz/tf-testaccdatadogdashboardservicemap-local-1621866799","created_at":"2021-05-24T14:33:20.906979+00:00","modified_at":"2021-05-24T14:33:20.906979+00:00","author_handle":"qin.chen@datadoghq.com","widgets":[{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test Custom Link label"},{"override_label":"logs","is_hidden":true,"link":"https://app.datadoghq.com/dashboard/lists"}],"title_size":"16","service":"master-db","title":"env: prod, datacenter:us1.prod.dog, service: master-db","title_align":"left","filters":["env:prod","datacenter:us1.prod.dog"],"type":"servicemap"},"layout":{"y":5,"width":32,"is_column_break":false,"x":5,"height":43},"id":6566869533210252}],"layout_type":"free"}' + body: '{"notify_list":[],"description":"Created using the Datadog provider in Terraform","restricted_roles":["043a2842-e140-11e8-bb04-7fd10177666e","08604de8-1dca-11eb-800c-9f5f55ff734d","16169788-28e4-11eb-832c-fb84162ef3eb","17d73994-7531-11eb-94b9-da7ad0900002","284d8b66-93f9-11eb-9c37-da7ad0900002","4de53192-9946-11eb-9cee-da7ad0900002","62cbc476-5c16-11eb-8e98-0388ea7a41f8","657de3a2-29f8-11eb-83b5-6b8ebfb2f184","6bf314be-5c16-11eb-8e98-2356ea436065","7a83f306-96ca-11eb-9c74-da7ad0900002","e82bf27a-986c-11eb-9cba-da7ad0900002","f0674aa4-9d38-11eb-9dc6-da7ad0900002","f257ba30-dbb2-11ea-a5ff-5fd1d308318a","fc72d08c-55f5-11eb-8d12-df0bb6cadca3"],"author_name":"David Robert-Ansart","template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"amy-2pn-yh9","title":"tf-TestAccDatadogDashboardServiceMap-local-1620034621","url":"/dashboard/amy-2pn-yh9/tf-testaccdatadogdashboardservicemap-local-1620034621","created_at":"2021-05-03T09:37:02.762807+00:00","modified_at":"2021-05-03T09:37:02.762807+00:00","author_handle":"david.robertansart@datadoghq.com","widgets":[{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test Custom Link label"}],"title_size":"16","service":"master-db","title":"env: prod, datacenter:us1.prod.dog, service: master-db","title_align":"left","filters":["env:prod","datacenter:us1.prod.dog"],"type":"servicemap"},"layout":{"y":5,"width":32,"is_column_break":false,"x":5,"height":43},"id":2608702087748843}],"layout_type":"free"}' headers: Cache-Control: - no-cache @@ -28,7 +28,7 @@ interactions: Content-Type: - application/json Date: - - Mon, 24 May 2021 14:33:21 GMT + - Mon, 03 May 2021 09:37:02 GMT Pragma: - no-cache Strict-Transport-Security: @@ -38,9 +38,9 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Debug: - - S1wfaMZOKGT/IoMw6fqAwAwGWo2vQ44sjF3YzuETnQfxZO2T5eJbs0aX3UKb9Dwu + - PhosSd3Ch1B6B0DXI71steKUi7XhPDttnPiIP1NdXTw0VJNWpoUnYyBmODS5ne3q X-Dd-Version: - - "35.4593741" + - "35.4442455" X-Frame-Options: - SAMEORIGIN status: 200 OK @@ -55,11 +55,11 @@ interactions: Dd-Operation-Id: - GetDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) - url: https://api.datadoghq.com/api/v1/dashboard/tiw-459-csz + - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.21+dev (go go1.16.2; os darwin; arch amd64) + url: https://api.datadoghq.com/api/v1/dashboard/amy-2pn-yh9 method: GET response: - body: '{"notify_list":[],"description":"Created using the Datadog provider in Terraform","restricted_roles":["284d8b66-93f9-11eb-9c37-da7ad0900002","043a2842-e140-11e8-bb04-7fd10177666e","657de3a2-29f8-11eb-83b5-6b8ebfb2f184","e82bf27a-986c-11eb-9cba-da7ad0900002","f257ba30-dbb2-11ea-a5ff-5fd1d308318a","6bf314be-5c16-11eb-8e98-2356ea436065","62cbc476-5c16-11eb-8e98-0388ea7a41f8","08604de8-1dca-11eb-800c-9f5f55ff734d","9b3ab170-b768-11eb-a45a-da7ad0900002","7a83f306-96ca-11eb-9c74-da7ad0900002","16169788-28e4-11eb-832c-fb84162ef3eb","4de53192-9946-11eb-9cee-da7ad0900002","1302282c-b93b-11eb-a436-da7ad0900002","17d73994-7531-11eb-94b9-da7ad0900002"],"author_name":"Qin Chen","template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"tiw-459-csz","title":"tf-TestAccDatadogDashboardServiceMap-local-1621866799","url":"/dashboard/tiw-459-csz/tf-testaccdatadogdashboardservicemap-local-1621866799","created_at":"2021-05-24T14:33:20.906979+00:00","modified_at":"2021-05-24T14:33:20.906979+00:00","author_handle":"qin.chen@datadoghq.com","widgets":[{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test Custom Link label"},{"override_label":"logs","is_hidden":true,"link":"https://app.datadoghq.com/dashboard/lists"}],"title_size":"16","service":"master-db","title":"env: prod, datacenter:us1.prod.dog, service: master-db","title_align":"left","filters":["env:prod","datacenter:us1.prod.dog"],"type":"servicemap"},"layout":{"y":5,"width":32,"is_column_break":false,"x":5,"height":43},"id":6566869533210252}],"layout_type":"free"}' + body: '{"notify_list":[],"description":"Created using the Datadog provider in Terraform","restricted_roles":["f0674aa4-9d38-11eb-9dc6-da7ad0900002","284d8b66-93f9-11eb-9c37-da7ad0900002","043a2842-e140-11e8-bb04-7fd10177666e","fc72d08c-55f5-11eb-8d12-df0bb6cadca3","17d73994-7531-11eb-94b9-da7ad0900002","657de3a2-29f8-11eb-83b5-6b8ebfb2f184","e82bf27a-986c-11eb-9cba-da7ad0900002","f257ba30-dbb2-11ea-a5ff-5fd1d308318a","6bf314be-5c16-11eb-8e98-2356ea436065","62cbc476-5c16-11eb-8e98-0388ea7a41f8","08604de8-1dca-11eb-800c-9f5f55ff734d","7a83f306-96ca-11eb-9c74-da7ad0900002","16169788-28e4-11eb-832c-fb84162ef3eb","4de53192-9946-11eb-9cee-da7ad0900002"],"author_name":"David Robert-Ansart","template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"amy-2pn-yh9","title":"tf-TestAccDatadogDashboardServiceMap-local-1620034621","url":"/dashboard/amy-2pn-yh9/tf-testaccdatadogdashboardservicemap-local-1620034621","created_at":"2021-05-03T09:37:02.762807+00:00","modified_at":"2021-05-03T09:37:02.762807+00:00","author_handle":"david.robertansart@datadoghq.com","widgets":[{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test Custom Link label"}],"title_size":"16","service":"master-db","title":"env: prod, datacenter:us1.prod.dog, service: master-db","title_align":"left","filters":["env:prod","datacenter:us1.prod.dog"],"type":"servicemap"},"layout":{"y":5,"width":32,"is_column_break":false,"x":5,"height":43},"id":2608702087748843}],"layout_type":"free"}' headers: Cache-Control: - no-cache @@ -70,7 +70,7 @@ interactions: Content-Type: - application/json Date: - - Mon, 24 May 2021 14:33:21 GMT + - Mon, 03 May 2021 09:37:03 GMT Pragma: - no-cache Strict-Transport-Security: @@ -80,9 +80,9 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Debug: - - SY1h8ScsWq+kYmtbh63ltMLFAZsQjqfrgvdfAoRX+9TzT1sgMBRYaFRwfWWRRe9a + - LcgNasIYBRkNppmD6mCKE9J6iv0eEjosuuHR5V5zw2fWbR54i39C8dhdK8zDq/40 X-Dd-Version: - - "35.4593741" + - "35.4442455" X-Frame-Options: - SAMEORIGIN status: 200 OK @@ -97,11 +97,11 @@ interactions: Dd-Operation-Id: - GetDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) - url: https://api.datadoghq.com/api/v1/dashboard/tiw-459-csz + - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.21+dev (go go1.16.2; os darwin; arch amd64) + url: https://api.datadoghq.com/api/v1/dashboard/amy-2pn-yh9 method: GET response: - body: '{"notify_list":[],"description":"Created using the Datadog provider in Terraform","restricted_roles":["284d8b66-93f9-11eb-9c37-da7ad0900002","043a2842-e140-11e8-bb04-7fd10177666e","657de3a2-29f8-11eb-83b5-6b8ebfb2f184","e82bf27a-986c-11eb-9cba-da7ad0900002","f257ba30-dbb2-11ea-a5ff-5fd1d308318a","6bf314be-5c16-11eb-8e98-2356ea436065","62cbc476-5c16-11eb-8e98-0388ea7a41f8","08604de8-1dca-11eb-800c-9f5f55ff734d","9b3ab170-b768-11eb-a45a-da7ad0900002","7a83f306-96ca-11eb-9c74-da7ad0900002","16169788-28e4-11eb-832c-fb84162ef3eb","4de53192-9946-11eb-9cee-da7ad0900002","1302282c-b93b-11eb-a436-da7ad0900002","17d73994-7531-11eb-94b9-da7ad0900002"],"author_name":"Qin Chen","template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"tiw-459-csz","title":"tf-TestAccDatadogDashboardServiceMap-local-1621866799","url":"/dashboard/tiw-459-csz/tf-testaccdatadogdashboardservicemap-local-1621866799","created_at":"2021-05-24T14:33:20.906979+00:00","modified_at":"2021-05-24T14:33:20.906979+00:00","author_handle":"qin.chen@datadoghq.com","widgets":[{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test Custom Link label"},{"override_label":"logs","is_hidden":true,"link":"https://app.datadoghq.com/dashboard/lists"}],"title_size":"16","service":"master-db","title":"env: prod, datacenter:us1.prod.dog, service: master-db","title_align":"left","filters":["env:prod","datacenter:us1.prod.dog"],"type":"servicemap"},"layout":{"y":5,"width":32,"is_column_break":false,"x":5,"height":43},"id":6566869533210252}],"layout_type":"free"}' + body: '{"notify_list":[],"description":"Created using the Datadog provider in Terraform","restricted_roles":["f0674aa4-9d38-11eb-9dc6-da7ad0900002","284d8b66-93f9-11eb-9c37-da7ad0900002","043a2842-e140-11e8-bb04-7fd10177666e","fc72d08c-55f5-11eb-8d12-df0bb6cadca3","17d73994-7531-11eb-94b9-da7ad0900002","657de3a2-29f8-11eb-83b5-6b8ebfb2f184","e82bf27a-986c-11eb-9cba-da7ad0900002","f257ba30-dbb2-11ea-a5ff-5fd1d308318a","6bf314be-5c16-11eb-8e98-2356ea436065","62cbc476-5c16-11eb-8e98-0388ea7a41f8","08604de8-1dca-11eb-800c-9f5f55ff734d","7a83f306-96ca-11eb-9c74-da7ad0900002","16169788-28e4-11eb-832c-fb84162ef3eb","4de53192-9946-11eb-9cee-da7ad0900002"],"author_name":"David Robert-Ansart","template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"amy-2pn-yh9","title":"tf-TestAccDatadogDashboardServiceMap-local-1620034621","url":"/dashboard/amy-2pn-yh9/tf-testaccdatadogdashboardservicemap-local-1620034621","created_at":"2021-05-03T09:37:02.762807+00:00","modified_at":"2021-05-03T09:37:02.762807+00:00","author_handle":"david.robertansart@datadoghq.com","widgets":[{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test Custom Link label"}],"title_size":"16","service":"master-db","title":"env: prod, datacenter:us1.prod.dog, service: master-db","title_align":"left","filters":["env:prod","datacenter:us1.prod.dog"],"type":"servicemap"},"layout":{"y":5,"width":32,"is_column_break":false,"x":5,"height":43},"id":2608702087748843}],"layout_type":"free"}' headers: Cache-Control: - no-cache @@ -112,7 +112,7 @@ interactions: Content-Type: - application/json Date: - - Mon, 24 May 2021 14:33:21 GMT + - Mon, 03 May 2021 09:37:03 GMT Pragma: - no-cache Strict-Transport-Security: @@ -122,9 +122,9 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Debug: - - l4HFlaRP3QwYSqoGKhzbYfv7zgkK63HIRR7YkyVYZspq0lGjjTBwoK8V/alf+XYt + - 2328yjLSqI4XmR1pVqrPRR/SFcQsbafjEpPmZx7/3PfxUK1nJQQsX+wrMelyVyj+ X-Dd-Version: - - "35.4593741" + - "35.4442455" X-Frame-Options: - SAMEORIGIN status: 200 OK @@ -139,11 +139,11 @@ interactions: Dd-Operation-Id: - GetDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) - url: https://api.datadoghq.com/api/v1/dashboard/tiw-459-csz + - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.21+dev (go go1.16.2; os darwin; arch amd64) + url: https://api.datadoghq.com/api/v1/dashboard/amy-2pn-yh9 method: GET response: - body: '{"notify_list":[],"description":"Created using the Datadog provider in Terraform","restricted_roles":["284d8b66-93f9-11eb-9c37-da7ad0900002","043a2842-e140-11e8-bb04-7fd10177666e","657de3a2-29f8-11eb-83b5-6b8ebfb2f184","e82bf27a-986c-11eb-9cba-da7ad0900002","f257ba30-dbb2-11ea-a5ff-5fd1d308318a","6bf314be-5c16-11eb-8e98-2356ea436065","62cbc476-5c16-11eb-8e98-0388ea7a41f8","08604de8-1dca-11eb-800c-9f5f55ff734d","9b3ab170-b768-11eb-a45a-da7ad0900002","7a83f306-96ca-11eb-9c74-da7ad0900002","16169788-28e4-11eb-832c-fb84162ef3eb","4de53192-9946-11eb-9cee-da7ad0900002","1302282c-b93b-11eb-a436-da7ad0900002","17d73994-7531-11eb-94b9-da7ad0900002"],"author_name":"Qin Chen","template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"tiw-459-csz","title":"tf-TestAccDatadogDashboardServiceMap-local-1621866799","url":"/dashboard/tiw-459-csz/tf-testaccdatadogdashboardservicemap-local-1621866799","created_at":"2021-05-24T14:33:20.906979+00:00","modified_at":"2021-05-24T14:33:20.906979+00:00","author_handle":"qin.chen@datadoghq.com","widgets":[{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test Custom Link label"},{"override_label":"logs","is_hidden":true,"link":"https://app.datadoghq.com/dashboard/lists"}],"title_size":"16","service":"master-db","title":"env: prod, datacenter:us1.prod.dog, service: master-db","title_align":"left","filters":["env:prod","datacenter:us1.prod.dog"],"type":"servicemap"},"layout":{"y":5,"width":32,"is_column_break":false,"x":5,"height":43},"id":6566869533210252}],"layout_type":"free"}' + body: '{"notify_list":[],"description":"Created using the Datadog provider in Terraform","restricted_roles":["f0674aa4-9d38-11eb-9dc6-da7ad0900002","284d8b66-93f9-11eb-9c37-da7ad0900002","043a2842-e140-11e8-bb04-7fd10177666e","fc72d08c-55f5-11eb-8d12-df0bb6cadca3","17d73994-7531-11eb-94b9-da7ad0900002","657de3a2-29f8-11eb-83b5-6b8ebfb2f184","e82bf27a-986c-11eb-9cba-da7ad0900002","f257ba30-dbb2-11ea-a5ff-5fd1d308318a","6bf314be-5c16-11eb-8e98-2356ea436065","62cbc476-5c16-11eb-8e98-0388ea7a41f8","08604de8-1dca-11eb-800c-9f5f55ff734d","7a83f306-96ca-11eb-9c74-da7ad0900002","16169788-28e4-11eb-832c-fb84162ef3eb","4de53192-9946-11eb-9cee-da7ad0900002"],"author_name":"David Robert-Ansart","template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"amy-2pn-yh9","title":"tf-TestAccDatadogDashboardServiceMap-local-1620034621","url":"/dashboard/amy-2pn-yh9/tf-testaccdatadogdashboardservicemap-local-1620034621","created_at":"2021-05-03T09:37:02.762807+00:00","modified_at":"2021-05-03T09:37:02.762807+00:00","author_handle":"david.robertansart@datadoghq.com","widgets":[{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test Custom Link label"}],"title_size":"16","service":"master-db","title":"env: prod, datacenter:us1.prod.dog, service: master-db","title_align":"left","filters":["env:prod","datacenter:us1.prod.dog"],"type":"servicemap"},"layout":{"y":5,"width":32,"is_column_break":false,"x":5,"height":43},"id":2608702087748843}],"layout_type":"free"}' headers: Cache-Control: - no-cache @@ -154,7 +154,7 @@ interactions: Content-Type: - application/json Date: - - Mon, 24 May 2021 14:33:21 GMT + - Mon, 03 May 2021 09:37:03 GMT Pragma: - no-cache Strict-Transport-Security: @@ -164,9 +164,9 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Debug: - - vdJ3/nHEY1ioXQ6pQrBVvsQK1s4yyc+wufBMPSoXql71qZVuP/xMdtNo6DafhOAk + - LcgNasIYBRkNppmD6mCKE9J6iv0eEjosuuHR5V5zw2fWbR54i39C8dhdK8zDq/40 X-Dd-Version: - - "35.4593741" + - "35.4442455" X-Frame-Options: - SAMEORIGIN status: 200 OK @@ -181,11 +181,11 @@ interactions: Dd-Operation-Id: - GetDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) - url: https://api.datadoghq.com/api/v1/dashboard/tiw-459-csz + - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.21+dev (go go1.16.2; os darwin; arch amd64) + url: https://api.datadoghq.com/api/v1/dashboard/amy-2pn-yh9 method: GET response: - body: '{"notify_list":[],"description":"Created using the Datadog provider in Terraform","restricted_roles":["284d8b66-93f9-11eb-9c37-da7ad0900002","043a2842-e140-11e8-bb04-7fd10177666e","657de3a2-29f8-11eb-83b5-6b8ebfb2f184","e82bf27a-986c-11eb-9cba-da7ad0900002","f257ba30-dbb2-11ea-a5ff-5fd1d308318a","6bf314be-5c16-11eb-8e98-2356ea436065","62cbc476-5c16-11eb-8e98-0388ea7a41f8","08604de8-1dca-11eb-800c-9f5f55ff734d","9b3ab170-b768-11eb-a45a-da7ad0900002","7a83f306-96ca-11eb-9c74-da7ad0900002","16169788-28e4-11eb-832c-fb84162ef3eb","4de53192-9946-11eb-9cee-da7ad0900002","1302282c-b93b-11eb-a436-da7ad0900002","17d73994-7531-11eb-94b9-da7ad0900002"],"author_name":"Qin Chen","template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"tiw-459-csz","title":"tf-TestAccDatadogDashboardServiceMap-local-1621866799","url":"/dashboard/tiw-459-csz/tf-testaccdatadogdashboardservicemap-local-1621866799","created_at":"2021-05-24T14:33:20.906979+00:00","modified_at":"2021-05-24T14:33:20.906979+00:00","author_handle":"qin.chen@datadoghq.com","widgets":[{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test Custom Link label"},{"override_label":"logs","is_hidden":true,"link":"https://app.datadoghq.com/dashboard/lists"}],"title_size":"16","service":"master-db","title":"env: prod, datacenter:us1.prod.dog, service: master-db","title_align":"left","filters":["env:prod","datacenter:us1.prod.dog"],"type":"servicemap"},"layout":{"y":5,"width":32,"is_column_break":false,"x":5,"height":43},"id":6566869533210252}],"layout_type":"free"}' + body: '{"notify_list":[],"description":"Created using the Datadog provider in Terraform","restricted_roles":["f0674aa4-9d38-11eb-9dc6-da7ad0900002","284d8b66-93f9-11eb-9c37-da7ad0900002","043a2842-e140-11e8-bb04-7fd10177666e","fc72d08c-55f5-11eb-8d12-df0bb6cadca3","17d73994-7531-11eb-94b9-da7ad0900002","657de3a2-29f8-11eb-83b5-6b8ebfb2f184","e82bf27a-986c-11eb-9cba-da7ad0900002","f257ba30-dbb2-11ea-a5ff-5fd1d308318a","6bf314be-5c16-11eb-8e98-2356ea436065","62cbc476-5c16-11eb-8e98-0388ea7a41f8","08604de8-1dca-11eb-800c-9f5f55ff734d","7a83f306-96ca-11eb-9c74-da7ad0900002","16169788-28e4-11eb-832c-fb84162ef3eb","4de53192-9946-11eb-9cee-da7ad0900002"],"author_name":"David Robert-Ansart","template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"amy-2pn-yh9","title":"tf-TestAccDatadogDashboardServiceMap-local-1620034621","url":"/dashboard/amy-2pn-yh9/tf-testaccdatadogdashboardservicemap-local-1620034621","created_at":"2021-05-03T09:37:02.762807+00:00","modified_at":"2021-05-03T09:37:02.762807+00:00","author_handle":"david.robertansart@datadoghq.com","widgets":[{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test Custom Link label"}],"title_size":"16","service":"master-db","title":"env: prod, datacenter:us1.prod.dog, service: master-db","title_align":"left","filters":["env:prod","datacenter:us1.prod.dog"],"type":"servicemap"},"layout":{"y":5,"width":32,"is_column_break":false,"x":5,"height":43},"id":2608702087748843}],"layout_type":"free"}' headers: Cache-Control: - no-cache @@ -196,7 +196,7 @@ interactions: Content-Type: - application/json Date: - - Mon, 24 May 2021 14:33:22 GMT + - Mon, 03 May 2021 09:37:04 GMT Pragma: - no-cache Strict-Transport-Security: @@ -208,7 +208,7 @@ interactions: X-Dd-Debug: - bgHykj7A9bfZx0Y5ZO3swhhp5tGUSNJHqFWR868+qg087CYrDOd5hQslC+noiEtH X-Dd-Version: - - "35.4593741" + - "35.4442455" X-Frame-Options: - SAMEORIGIN status: 200 OK @@ -223,11 +223,11 @@ interactions: Dd-Operation-Id: - DeleteDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) - url: https://api.datadoghq.com/api/v1/dashboard/tiw-459-csz + - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.21+dev (go go1.16.2; os darwin; arch amd64) + url: https://api.datadoghq.com/api/v1/dashboard/amy-2pn-yh9 method: DELETE response: - body: '{"deleted_dashboard_id":"tiw-459-csz"}' + body: '{"deleted_dashboard_id":"amy-2pn-yh9"}' headers: Cache-Control: - no-cache @@ -238,7 +238,7 @@ interactions: Content-Type: - application/json Date: - - Mon, 24 May 2021 14:33:22 GMT + - Mon, 03 May 2021 09:37:04 GMT Pragma: - no-cache Strict-Transport-Security: @@ -248,9 +248,9 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Debug: - - SY1h8ScsWq+kYmtbh63ltMLFAZsQjqfrgvdfAoRX+9TzT1sgMBRYaFRwfWWRRe9a + - L3ULR3HwCWYmEqCWGz2Yob3chcH4pjowBacBXkncP7o+/uPqKt9yGEYf/g1AJPzQ X-Dd-Version: - - "35.4593741" + - "35.4442455" X-Frame-Options: - SAMEORIGIN status: 200 OK @@ -265,11 +265,11 @@ interactions: Dd-Operation-Id: - GetDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) - url: https://api.datadoghq.com/api/v1/dashboard/tiw-459-csz + - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.21+dev (go go1.16.2; os darwin; arch amd64) + url: https://api.datadoghq.com/api/v1/dashboard/amy-2pn-yh9 method: GET response: - body: '{"errors": ["Dashboard with ID tiw-459-csz not found"]}' + body: '{"errors": ["Dashboard with ID amy-2pn-yh9 not found"]}' headers: Cache-Control: - no-cache @@ -280,7 +280,7 @@ interactions: Content-Type: - application/json Date: - - Mon, 24 May 2021 14:33:22 GMT + - Mon, 03 May 2021 09:37:04 GMT Pragma: - no-cache Strict-Transport-Security: @@ -290,7 +290,7 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Version: - - "35.4593741" + - "35.4442455" X-Frame-Options: - SAMEORIGIN status: 404 Not Found diff --git a/datadog/tests/cassettes/TestAccDatadogDashboardServiceMap_import.freeze b/datadog/tests/cassettes/TestAccDatadogDashboardServiceMap_import.freeze index 449a35f1e..2aaac3397 100644 --- a/datadog/tests/cassettes/TestAccDatadogDashboardServiceMap_import.freeze +++ b/datadog/tests/cassettes/TestAccDatadogDashboardServiceMap_import.freeze @@ -1 +1 @@ -2021-05-24T10:37:36.33467-04:00 \ No newline at end of file +2021-05-03T11:37:17.250301+02:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogDashboardServiceMap_import.yaml b/datadog/tests/cassettes/TestAccDatadogDashboardServiceMap_import.yaml index 9d968955c..aec221138 100644 --- a/datadog/tests/cassettes/TestAccDatadogDashboardServiceMap_import.yaml +++ b/datadog/tests/cassettes/TestAccDatadogDashboardServiceMap_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":"free","notify_list":[],"template_variable_presets":[],"template_variables":[],"title":"tf-TestAccDatadogDashboardServiceMap_import-local-1621866799","widgets":[{"definition":{"custom_links":[{"label":"Test Custom Link label","link":"https://app.datadoghq.com/dashboard/lists"},{"is_hidden":true,"link":"https://app.datadoghq.com/dashboard/lists","override_label":"logs"}],"filters":["env:prod","datacenter:us1.prod.dog"],"service":"master-db","title":"env: prod, datacenter:us1.prod.dog, service: master-db","title_align":"left","title_size":"16","type":"servicemap"},"layout":{"height":43,"is_column_break":false,"width":32,"x":5,"y":5}}]} + {"description":"Created using the Datadog provider in Terraform","id":"","is_read_only":true,"layout_type":"free","notify_list":[],"template_variable_presets":[],"template_variables":[],"title":"tf-TestAccDatadogDashboardServiceMap_import-local-1620034637","widgets":[{"definition":{"custom_links":[{"label":"Test Custom Link label","link":"https://app.datadoghq.com/dashboard/lists"}],"filters":["env:prod","datacenter:us1.prod.dog"],"service":"master-db","title":"env: prod, datacenter:us1.prod.dog, service: master-db","title_align":"left","title_size":"16","type":"servicemap"},"layout":{"height":43,"is_column_break":false,"width":32,"x":5,"y":5}}]} form: {} headers: Accept: @@ -13,11 +13,11 @@ interactions: Dd-Operation-Id: - CreateDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) + - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.21+dev (go go1.16.2; os darwin; arch amd64) url: https://api.datadoghq.com/api/v1/dashboard method: POST response: - body: '{"notify_list":[],"description":"Created using the Datadog provider in Terraform","restricted_roles":["043a2842-e140-11e8-bb04-7fd10177666e","08604de8-1dca-11eb-800c-9f5f55ff734d","1302282c-b93b-11eb-a436-da7ad0900002","16169788-28e4-11eb-832c-fb84162ef3eb","17d73994-7531-11eb-94b9-da7ad0900002","284d8b66-93f9-11eb-9c37-da7ad0900002","4de53192-9946-11eb-9cee-da7ad0900002","62cbc476-5c16-11eb-8e98-0388ea7a41f8","657de3a2-29f8-11eb-83b5-6b8ebfb2f184","6bf314be-5c16-11eb-8e98-2356ea436065","7a83f306-96ca-11eb-9c74-da7ad0900002","9b3ab170-b768-11eb-a45a-da7ad0900002","e82bf27a-986c-11eb-9cba-da7ad0900002","f257ba30-dbb2-11ea-a5ff-5fd1d308318a"],"author_name":"Qin Chen","template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"9wa-c5y-te2","title":"tf-TestAccDatadogDashboardServiceMap_import-local-1621866799","url":"/dashboard/9wa-c5y-te2/tf-testaccdatadogdashboardservicemapimport-local-1621866799","created_at":"2021-05-24T14:33:20.921118+00:00","modified_at":"2021-05-24T14:33:20.921118+00:00","author_handle":"qin.chen@datadoghq.com","widgets":[{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test Custom Link label"},{"override_label":"logs","is_hidden":true,"link":"https://app.datadoghq.com/dashboard/lists"}],"title_size":"16","service":"master-db","title":"env: prod, datacenter:us1.prod.dog, service: master-db","title_align":"left","filters":["env:prod","datacenter:us1.prod.dog"],"type":"servicemap"},"layout":{"y":5,"width":32,"is_column_break":false,"x":5,"height":43},"id":1216547762165145}],"layout_type":"free"}' + body: '{"notify_list":[],"description":"Created using the Datadog provider in Terraform","restricted_roles":["043a2842-e140-11e8-bb04-7fd10177666e","08604de8-1dca-11eb-800c-9f5f55ff734d","16169788-28e4-11eb-832c-fb84162ef3eb","17d73994-7531-11eb-94b9-da7ad0900002","284d8b66-93f9-11eb-9c37-da7ad0900002","4de53192-9946-11eb-9cee-da7ad0900002","62cbc476-5c16-11eb-8e98-0388ea7a41f8","657de3a2-29f8-11eb-83b5-6b8ebfb2f184","6bf314be-5c16-11eb-8e98-2356ea436065","7a83f306-96ca-11eb-9c74-da7ad0900002","e82bf27a-986c-11eb-9cba-da7ad0900002","f0674aa4-9d38-11eb-9dc6-da7ad0900002","f257ba30-dbb2-11ea-a5ff-5fd1d308318a","fc72d08c-55f5-11eb-8d12-df0bb6cadca3"],"author_name":"David Robert-Ansart","template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"7qg-rkt-i6p","title":"tf-TestAccDatadogDashboardServiceMap_import-local-1620034637","url":"/dashboard/7qg-rkt-i6p/tf-testaccdatadogdashboardservicemapimport-local-1620034637","created_at":"2021-05-03T09:37:18.295939+00:00","modified_at":"2021-05-03T09:37:18.295939+00:00","author_handle":"david.robertansart@datadoghq.com","widgets":[{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test Custom Link label"}],"title_size":"16","service":"master-db","title":"env: prod, datacenter:us1.prod.dog, service: master-db","title_align":"left","filters":["env:prod","datacenter:us1.prod.dog"],"type":"servicemap"},"layout":{"y":5,"width":32,"is_column_break":false,"x":5,"height":43},"id":4426635934451805}],"layout_type":"free"}' headers: Cache-Control: - no-cache @@ -28,7 +28,7 @@ interactions: Content-Type: - application/json Date: - - Mon, 24 May 2021 14:33:21 GMT + - Mon, 03 May 2021 09:37:18 GMT Pragma: - no-cache Strict-Transport-Security: @@ -38,9 +38,9 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Debug: - - twvpGlmuom5y6A0pjGtXzTf554cmwJgTcCZ71fK4H/RDi+v5ehBK0zQiRcTJQG5C + - SY1h8ScsWq+kYmtbh63ltMLFAZsQjqfrgvdfAoRX+9TzT1sgMBRYaFRwfWWRRe9a X-Dd-Version: - - "35.4593741" + - "35.4442455" X-Frame-Options: - SAMEORIGIN status: 200 OK @@ -55,11 +55,11 @@ interactions: Dd-Operation-Id: - GetDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) - url: https://api.datadoghq.com/api/v1/dashboard/9wa-c5y-te2 + - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.21+dev (go go1.16.2; os darwin; arch amd64) + url: https://api.datadoghq.com/api/v1/dashboard/7qg-rkt-i6p method: GET response: - body: '{"notify_list":[],"description":"Created using the Datadog provider in Terraform","restricted_roles":["284d8b66-93f9-11eb-9c37-da7ad0900002","043a2842-e140-11e8-bb04-7fd10177666e","657de3a2-29f8-11eb-83b5-6b8ebfb2f184","e82bf27a-986c-11eb-9cba-da7ad0900002","f257ba30-dbb2-11ea-a5ff-5fd1d308318a","6bf314be-5c16-11eb-8e98-2356ea436065","62cbc476-5c16-11eb-8e98-0388ea7a41f8","08604de8-1dca-11eb-800c-9f5f55ff734d","9b3ab170-b768-11eb-a45a-da7ad0900002","7a83f306-96ca-11eb-9c74-da7ad0900002","16169788-28e4-11eb-832c-fb84162ef3eb","4de53192-9946-11eb-9cee-da7ad0900002","1302282c-b93b-11eb-a436-da7ad0900002","17d73994-7531-11eb-94b9-da7ad0900002"],"author_name":"Qin Chen","template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"9wa-c5y-te2","title":"tf-TestAccDatadogDashboardServiceMap_import-local-1621866799","url":"/dashboard/9wa-c5y-te2/tf-testaccdatadogdashboardservicemapimport-local-1621866799","created_at":"2021-05-24T14:33:20.921118+00:00","modified_at":"2021-05-24T14:33:20.921118+00:00","author_handle":"qin.chen@datadoghq.com","widgets":[{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test Custom Link label"},{"override_label":"logs","is_hidden":true,"link":"https://app.datadoghq.com/dashboard/lists"}],"title_size":"16","service":"master-db","title":"env: prod, datacenter:us1.prod.dog, service: master-db","title_align":"left","filters":["env:prod","datacenter:us1.prod.dog"],"type":"servicemap"},"layout":{"y":5,"width":32,"is_column_break":false,"x":5,"height":43},"id":1216547762165145}],"layout_type":"free"}' + body: '{"notify_list":[],"description":"Created using the Datadog provider in Terraform","restricted_roles":["f0674aa4-9d38-11eb-9dc6-da7ad0900002","284d8b66-93f9-11eb-9c37-da7ad0900002","043a2842-e140-11e8-bb04-7fd10177666e","fc72d08c-55f5-11eb-8d12-df0bb6cadca3","17d73994-7531-11eb-94b9-da7ad0900002","657de3a2-29f8-11eb-83b5-6b8ebfb2f184","e82bf27a-986c-11eb-9cba-da7ad0900002","f257ba30-dbb2-11ea-a5ff-5fd1d308318a","6bf314be-5c16-11eb-8e98-2356ea436065","62cbc476-5c16-11eb-8e98-0388ea7a41f8","08604de8-1dca-11eb-800c-9f5f55ff734d","7a83f306-96ca-11eb-9c74-da7ad0900002","16169788-28e4-11eb-832c-fb84162ef3eb","4de53192-9946-11eb-9cee-da7ad0900002"],"author_name":"David Robert-Ansart","template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"7qg-rkt-i6p","title":"tf-TestAccDatadogDashboardServiceMap_import-local-1620034637","url":"/dashboard/7qg-rkt-i6p/tf-testaccdatadogdashboardservicemapimport-local-1620034637","created_at":"2021-05-03T09:37:18.295939+00:00","modified_at":"2021-05-03T09:37:18.295939+00:00","author_handle":"david.robertansart@datadoghq.com","widgets":[{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test Custom Link label"}],"title_size":"16","service":"master-db","title":"env: prod, datacenter:us1.prod.dog, service: master-db","title_align":"left","filters":["env:prod","datacenter:us1.prod.dog"],"type":"servicemap"},"layout":{"y":5,"width":32,"is_column_break":false,"x":5,"height":43},"id":4426635934451805}],"layout_type":"free"}' headers: Cache-Control: - no-cache @@ -70,7 +70,7 @@ interactions: Content-Type: - application/json Date: - - Mon, 24 May 2021 14:33:21 GMT + - Mon, 03 May 2021 09:37:18 GMT Pragma: - no-cache Strict-Transport-Security: @@ -80,9 +80,9 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Debug: - - LcgNasIYBRkNppmD6mCKE9J6iv0eEjosuuHR5V5zw2fWbR54i39C8dhdK8zDq/40 + - gYZcaADwbKcv7Hm19HJx6WsLoKuOijDWAt2viPeCfWqUgyKY+9e1xZdmMJeXV3YV X-Dd-Version: - - "35.4593741" + - "35.4442455" X-Frame-Options: - SAMEORIGIN status: 200 OK @@ -97,11 +97,11 @@ interactions: Dd-Operation-Id: - GetDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) - url: https://api.datadoghq.com/api/v1/dashboard/9wa-c5y-te2 + - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.21+dev (go go1.16.2; os darwin; arch amd64) + url: https://api.datadoghq.com/api/v1/dashboard/7qg-rkt-i6p method: GET response: - body: '{"notify_list":[],"description":"Created using the Datadog provider in Terraform","restricted_roles":["284d8b66-93f9-11eb-9c37-da7ad0900002","043a2842-e140-11e8-bb04-7fd10177666e","657de3a2-29f8-11eb-83b5-6b8ebfb2f184","e82bf27a-986c-11eb-9cba-da7ad0900002","f257ba30-dbb2-11ea-a5ff-5fd1d308318a","6bf314be-5c16-11eb-8e98-2356ea436065","62cbc476-5c16-11eb-8e98-0388ea7a41f8","08604de8-1dca-11eb-800c-9f5f55ff734d","9b3ab170-b768-11eb-a45a-da7ad0900002","7a83f306-96ca-11eb-9c74-da7ad0900002","16169788-28e4-11eb-832c-fb84162ef3eb","4de53192-9946-11eb-9cee-da7ad0900002","1302282c-b93b-11eb-a436-da7ad0900002","17d73994-7531-11eb-94b9-da7ad0900002"],"author_name":"Qin Chen","template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"9wa-c5y-te2","title":"tf-TestAccDatadogDashboardServiceMap_import-local-1621866799","url":"/dashboard/9wa-c5y-te2/tf-testaccdatadogdashboardservicemapimport-local-1621866799","created_at":"2021-05-24T14:33:20.921118+00:00","modified_at":"2021-05-24T14:33:20.921118+00:00","author_handle":"qin.chen@datadoghq.com","widgets":[{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test Custom Link label"},{"override_label":"logs","is_hidden":true,"link":"https://app.datadoghq.com/dashboard/lists"}],"title_size":"16","service":"master-db","title":"env: prod, datacenter:us1.prod.dog, service: master-db","title_align":"left","filters":["env:prod","datacenter:us1.prod.dog"],"type":"servicemap"},"layout":{"y":5,"width":32,"is_column_break":false,"x":5,"height":43},"id":1216547762165145}],"layout_type":"free"}' + body: '{"notify_list":[],"description":"Created using the Datadog provider in Terraform","restricted_roles":["f0674aa4-9d38-11eb-9dc6-da7ad0900002","284d8b66-93f9-11eb-9c37-da7ad0900002","043a2842-e140-11e8-bb04-7fd10177666e","fc72d08c-55f5-11eb-8d12-df0bb6cadca3","17d73994-7531-11eb-94b9-da7ad0900002","657de3a2-29f8-11eb-83b5-6b8ebfb2f184","e82bf27a-986c-11eb-9cba-da7ad0900002","f257ba30-dbb2-11ea-a5ff-5fd1d308318a","6bf314be-5c16-11eb-8e98-2356ea436065","62cbc476-5c16-11eb-8e98-0388ea7a41f8","08604de8-1dca-11eb-800c-9f5f55ff734d","7a83f306-96ca-11eb-9c74-da7ad0900002","16169788-28e4-11eb-832c-fb84162ef3eb","4de53192-9946-11eb-9cee-da7ad0900002"],"author_name":"David Robert-Ansart","template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"7qg-rkt-i6p","title":"tf-TestAccDatadogDashboardServiceMap_import-local-1620034637","url":"/dashboard/7qg-rkt-i6p/tf-testaccdatadogdashboardservicemapimport-local-1620034637","created_at":"2021-05-03T09:37:18.295939+00:00","modified_at":"2021-05-03T09:37:18.295939+00:00","author_handle":"david.robertansart@datadoghq.com","widgets":[{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test Custom Link label"}],"title_size":"16","service":"master-db","title":"env: prod, datacenter:us1.prod.dog, service: master-db","title_align":"left","filters":["env:prod","datacenter:us1.prod.dog"],"type":"servicemap"},"layout":{"y":5,"width":32,"is_column_break":false,"x":5,"height":43},"id":4426635934451805}],"layout_type":"free"}' headers: Cache-Control: - no-cache @@ -112,7 +112,7 @@ interactions: Content-Type: - application/json Date: - - Mon, 24 May 2021 14:33:21 GMT + - Mon, 03 May 2021 09:37:18 GMT Pragma: - no-cache Strict-Transport-Security: @@ -122,9 +122,9 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Debug: - - B1nwy/pPNqX+q4pQT22cdp1QCexE35IF8qwSHy0Nf7IW0Y881qtn4tXN1lpmzaKc + - bgHykj7A9bfZx0Y5ZO3swhhp5tGUSNJHqFWR868+qg087CYrDOd5hQslC+noiEtH X-Dd-Version: - - "35.4593741" + - "35.4442455" X-Frame-Options: - SAMEORIGIN status: 200 OK @@ -139,11 +139,11 @@ interactions: Dd-Operation-Id: - GetDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) - url: https://api.datadoghq.com/api/v1/dashboard/9wa-c5y-te2 + - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.21+dev (go go1.16.2; os darwin; arch amd64) + url: https://api.datadoghq.com/api/v1/dashboard/7qg-rkt-i6p method: GET response: - body: '{"notify_list":[],"description":"Created using the Datadog provider in Terraform","restricted_roles":["284d8b66-93f9-11eb-9c37-da7ad0900002","043a2842-e140-11e8-bb04-7fd10177666e","657de3a2-29f8-11eb-83b5-6b8ebfb2f184","e82bf27a-986c-11eb-9cba-da7ad0900002","f257ba30-dbb2-11ea-a5ff-5fd1d308318a","6bf314be-5c16-11eb-8e98-2356ea436065","62cbc476-5c16-11eb-8e98-0388ea7a41f8","08604de8-1dca-11eb-800c-9f5f55ff734d","9b3ab170-b768-11eb-a45a-da7ad0900002","7a83f306-96ca-11eb-9c74-da7ad0900002","16169788-28e4-11eb-832c-fb84162ef3eb","4de53192-9946-11eb-9cee-da7ad0900002","1302282c-b93b-11eb-a436-da7ad0900002","17d73994-7531-11eb-94b9-da7ad0900002"],"author_name":"Qin Chen","template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"9wa-c5y-te2","title":"tf-TestAccDatadogDashboardServiceMap_import-local-1621866799","url":"/dashboard/9wa-c5y-te2/tf-testaccdatadogdashboardservicemapimport-local-1621866799","created_at":"2021-05-24T14:33:20.921118+00:00","modified_at":"2021-05-24T14:33:20.921118+00:00","author_handle":"qin.chen@datadoghq.com","widgets":[{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test Custom Link label"},{"override_label":"logs","is_hidden":true,"link":"https://app.datadoghq.com/dashboard/lists"}],"title_size":"16","service":"master-db","title":"env: prod, datacenter:us1.prod.dog, service: master-db","title_align":"left","filters":["env:prod","datacenter:us1.prod.dog"],"type":"servicemap"},"layout":{"y":5,"width":32,"is_column_break":false,"x":5,"height":43},"id":1216547762165145}],"layout_type":"free"}' + body: '{"notify_list":[],"description":"Created using the Datadog provider in Terraform","restricted_roles":["f0674aa4-9d38-11eb-9dc6-da7ad0900002","284d8b66-93f9-11eb-9c37-da7ad0900002","043a2842-e140-11e8-bb04-7fd10177666e","fc72d08c-55f5-11eb-8d12-df0bb6cadca3","17d73994-7531-11eb-94b9-da7ad0900002","657de3a2-29f8-11eb-83b5-6b8ebfb2f184","e82bf27a-986c-11eb-9cba-da7ad0900002","f257ba30-dbb2-11ea-a5ff-5fd1d308318a","6bf314be-5c16-11eb-8e98-2356ea436065","62cbc476-5c16-11eb-8e98-0388ea7a41f8","08604de8-1dca-11eb-800c-9f5f55ff734d","7a83f306-96ca-11eb-9c74-da7ad0900002","16169788-28e4-11eb-832c-fb84162ef3eb","4de53192-9946-11eb-9cee-da7ad0900002"],"author_name":"David Robert-Ansart","template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"7qg-rkt-i6p","title":"tf-TestAccDatadogDashboardServiceMap_import-local-1620034637","url":"/dashboard/7qg-rkt-i6p/tf-testaccdatadogdashboardservicemapimport-local-1620034637","created_at":"2021-05-03T09:37:18.295939+00:00","modified_at":"2021-05-03T09:37:18.295939+00:00","author_handle":"david.robertansart@datadoghq.com","widgets":[{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test Custom Link label"}],"title_size":"16","service":"master-db","title":"env: prod, datacenter:us1.prod.dog, service: master-db","title_align":"left","filters":["env:prod","datacenter:us1.prod.dog"],"type":"servicemap"},"layout":{"y":5,"width":32,"is_column_break":false,"x":5,"height":43},"id":4426635934451805}],"layout_type":"free"}' headers: Cache-Control: - no-cache @@ -154,7 +154,7 @@ interactions: Content-Type: - application/json Date: - - Mon, 24 May 2021 14:33:22 GMT + - Mon, 03 May 2021 09:37:19 GMT Pragma: - no-cache Strict-Transport-Security: @@ -164,9 +164,9 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Debug: - - l4HFlaRP3QwYSqoGKhzbYfv7zgkK63HIRR7YkyVYZspq0lGjjTBwoK8V/alf+XYt + - dPySkcOzIZtKyMKDAAzuysY3gNGGj6RtYogGuSb76E8mPvoqzREyRp6lPYm91hQU X-Dd-Version: - - "35.4593741" + - "35.4442455" X-Frame-Options: - SAMEORIGIN status: 200 OK @@ -181,11 +181,11 @@ interactions: Dd-Operation-Id: - GetDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) - url: https://api.datadoghq.com/api/v1/dashboard/9wa-c5y-te2 + - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.21+dev (go go1.16.2; os darwin; arch amd64) + url: https://api.datadoghq.com/api/v1/dashboard/7qg-rkt-i6p method: GET response: - body: '{"notify_list":[],"description":"Created using the Datadog provider in Terraform","restricted_roles":["284d8b66-93f9-11eb-9c37-da7ad0900002","043a2842-e140-11e8-bb04-7fd10177666e","657de3a2-29f8-11eb-83b5-6b8ebfb2f184","e82bf27a-986c-11eb-9cba-da7ad0900002","f257ba30-dbb2-11ea-a5ff-5fd1d308318a","6bf314be-5c16-11eb-8e98-2356ea436065","62cbc476-5c16-11eb-8e98-0388ea7a41f8","08604de8-1dca-11eb-800c-9f5f55ff734d","9b3ab170-b768-11eb-a45a-da7ad0900002","7a83f306-96ca-11eb-9c74-da7ad0900002","16169788-28e4-11eb-832c-fb84162ef3eb","4de53192-9946-11eb-9cee-da7ad0900002","1302282c-b93b-11eb-a436-da7ad0900002","17d73994-7531-11eb-94b9-da7ad0900002"],"author_name":"Qin Chen","template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"9wa-c5y-te2","title":"tf-TestAccDatadogDashboardServiceMap_import-local-1621866799","url":"/dashboard/9wa-c5y-te2/tf-testaccdatadogdashboardservicemapimport-local-1621866799","created_at":"2021-05-24T14:33:20.921118+00:00","modified_at":"2021-05-24T14:33:20.921118+00:00","author_handle":"qin.chen@datadoghq.com","widgets":[{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test Custom Link label"},{"override_label":"logs","is_hidden":true,"link":"https://app.datadoghq.com/dashboard/lists"}],"title_size":"16","service":"master-db","title":"env: prod, datacenter:us1.prod.dog, service: master-db","title_align":"left","filters":["env:prod","datacenter:us1.prod.dog"],"type":"servicemap"},"layout":{"y":5,"width":32,"is_column_break":false,"x":5,"height":43},"id":1216547762165145}],"layout_type":"free"}' + body: '{"notify_list":[],"description":"Created using the Datadog provider in Terraform","restricted_roles":["f0674aa4-9d38-11eb-9dc6-da7ad0900002","284d8b66-93f9-11eb-9c37-da7ad0900002","043a2842-e140-11e8-bb04-7fd10177666e","fc72d08c-55f5-11eb-8d12-df0bb6cadca3","17d73994-7531-11eb-94b9-da7ad0900002","657de3a2-29f8-11eb-83b5-6b8ebfb2f184","e82bf27a-986c-11eb-9cba-da7ad0900002","f257ba30-dbb2-11ea-a5ff-5fd1d308318a","6bf314be-5c16-11eb-8e98-2356ea436065","62cbc476-5c16-11eb-8e98-0388ea7a41f8","08604de8-1dca-11eb-800c-9f5f55ff734d","7a83f306-96ca-11eb-9c74-da7ad0900002","16169788-28e4-11eb-832c-fb84162ef3eb","4de53192-9946-11eb-9cee-da7ad0900002"],"author_name":"David Robert-Ansart","template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"7qg-rkt-i6p","title":"tf-TestAccDatadogDashboardServiceMap_import-local-1620034637","url":"/dashboard/7qg-rkt-i6p/tf-testaccdatadogdashboardservicemapimport-local-1620034637","created_at":"2021-05-03T09:37:18.295939+00:00","modified_at":"2021-05-03T09:37:18.295939+00:00","author_handle":"david.robertansart@datadoghq.com","widgets":[{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test Custom Link label"}],"title_size":"16","service":"master-db","title":"env: prod, datacenter:us1.prod.dog, service: master-db","title_align":"left","filters":["env:prod","datacenter:us1.prod.dog"],"type":"servicemap"},"layout":{"y":5,"width":32,"is_column_break":false,"x":5,"height":43},"id":4426635934451805}],"layout_type":"free"}' headers: Cache-Control: - no-cache @@ -196,7 +196,7 @@ interactions: Content-Type: - application/json Date: - - Mon, 24 May 2021 14:33:22 GMT + - Mon, 03 May 2021 09:37:19 GMT Pragma: - no-cache Strict-Transport-Security: @@ -206,9 +206,9 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Debug: - - l4HFlaRP3QwYSqoGKhzbYfv7zgkK63HIRR7YkyVYZspq0lGjjTBwoK8V/alf+XYt + - twvpGlmuom5y6A0pjGtXzTf554cmwJgTcCZ71fK4H/RDi+v5ehBK0zQiRcTJQG5C X-Dd-Version: - - "35.4593741" + - "35.4442455" X-Frame-Options: - SAMEORIGIN status: 200 OK @@ -223,11 +223,11 @@ interactions: Dd-Operation-Id: - GetDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) - url: https://api.datadoghq.com/api/v1/dashboard/9wa-c5y-te2 + - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.21+dev (go go1.16.2; os darwin; arch amd64) + url: https://api.datadoghq.com/api/v1/dashboard/7qg-rkt-i6p method: GET response: - body: '{"notify_list":[],"description":"Created using the Datadog provider in Terraform","restricted_roles":["284d8b66-93f9-11eb-9c37-da7ad0900002","043a2842-e140-11e8-bb04-7fd10177666e","657de3a2-29f8-11eb-83b5-6b8ebfb2f184","e82bf27a-986c-11eb-9cba-da7ad0900002","f257ba30-dbb2-11ea-a5ff-5fd1d308318a","6bf314be-5c16-11eb-8e98-2356ea436065","62cbc476-5c16-11eb-8e98-0388ea7a41f8","08604de8-1dca-11eb-800c-9f5f55ff734d","9b3ab170-b768-11eb-a45a-da7ad0900002","7a83f306-96ca-11eb-9c74-da7ad0900002","16169788-28e4-11eb-832c-fb84162ef3eb","4de53192-9946-11eb-9cee-da7ad0900002","1302282c-b93b-11eb-a436-da7ad0900002","17d73994-7531-11eb-94b9-da7ad0900002"],"author_name":"Qin Chen","template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"9wa-c5y-te2","title":"tf-TestAccDatadogDashboardServiceMap_import-local-1621866799","url":"/dashboard/9wa-c5y-te2/tf-testaccdatadogdashboardservicemapimport-local-1621866799","created_at":"2021-05-24T14:33:20.921118+00:00","modified_at":"2021-05-24T14:33:20.921118+00:00","author_handle":"qin.chen@datadoghq.com","widgets":[{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test Custom Link label"},{"override_label":"logs","is_hidden":true,"link":"https://app.datadoghq.com/dashboard/lists"}],"title_size":"16","service":"master-db","title":"env: prod, datacenter:us1.prod.dog, service: master-db","title_align":"left","filters":["env:prod","datacenter:us1.prod.dog"],"type":"servicemap"},"layout":{"y":5,"width":32,"is_column_break":false,"x":5,"height":43},"id":1216547762165145}],"layout_type":"free"}' + body: '{"notify_list":[],"description":"Created using the Datadog provider in Terraform","restricted_roles":["f0674aa4-9d38-11eb-9dc6-da7ad0900002","284d8b66-93f9-11eb-9c37-da7ad0900002","043a2842-e140-11e8-bb04-7fd10177666e","fc72d08c-55f5-11eb-8d12-df0bb6cadca3","17d73994-7531-11eb-94b9-da7ad0900002","657de3a2-29f8-11eb-83b5-6b8ebfb2f184","e82bf27a-986c-11eb-9cba-da7ad0900002","f257ba30-dbb2-11ea-a5ff-5fd1d308318a","6bf314be-5c16-11eb-8e98-2356ea436065","62cbc476-5c16-11eb-8e98-0388ea7a41f8","08604de8-1dca-11eb-800c-9f5f55ff734d","7a83f306-96ca-11eb-9c74-da7ad0900002","16169788-28e4-11eb-832c-fb84162ef3eb","4de53192-9946-11eb-9cee-da7ad0900002"],"author_name":"David Robert-Ansart","template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"7qg-rkt-i6p","title":"tf-TestAccDatadogDashboardServiceMap_import-local-1620034637","url":"/dashboard/7qg-rkt-i6p/tf-testaccdatadogdashboardservicemapimport-local-1620034637","created_at":"2021-05-03T09:37:18.295939+00:00","modified_at":"2021-05-03T09:37:18.295939+00:00","author_handle":"david.robertansart@datadoghq.com","widgets":[{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test Custom Link label"}],"title_size":"16","service":"master-db","title":"env: prod, datacenter:us1.prod.dog, service: master-db","title_align":"left","filters":["env:prod","datacenter:us1.prod.dog"],"type":"servicemap"},"layout":{"y":5,"width":32,"is_column_break":false,"x":5,"height":43},"id":4426635934451805}],"layout_type":"free"}' headers: Cache-Control: - no-cache @@ -238,7 +238,7 @@ interactions: Content-Type: - application/json Date: - - Mon, 24 May 2021 14:33:22 GMT + - Mon, 03 May 2021 09:37:20 GMT Pragma: - no-cache Strict-Transport-Security: @@ -248,9 +248,9 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Debug: - - 2328yjLSqI4XmR1pVqrPRR/SFcQsbafjEpPmZx7/3PfxUK1nJQQsX+wrMelyVyj+ + - /L+SFFO+m1pPY+hRCpk5325fvfrNl0KmiquUNJolBN/5hu3HIwflqjZSbJ6NxDFG X-Dd-Version: - - "35.4593741" + - "35.4442455" X-Frame-Options: - SAMEORIGIN status: 200 OK @@ -265,11 +265,11 @@ interactions: Dd-Operation-Id: - DeleteDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) - url: https://api.datadoghq.com/api/v1/dashboard/9wa-c5y-te2 + - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.21+dev (go go1.16.2; os darwin; arch amd64) + url: https://api.datadoghq.com/api/v1/dashboard/7qg-rkt-i6p method: DELETE response: - body: '{"deleted_dashboard_id":"9wa-c5y-te2"}' + body: '{"deleted_dashboard_id":"7qg-rkt-i6p"}' headers: Cache-Control: - no-cache @@ -280,7 +280,7 @@ interactions: Content-Type: - application/json Date: - - Mon, 24 May 2021 14:33:23 GMT + - Mon, 03 May 2021 09:37:20 GMT Pragma: - no-cache Strict-Transport-Security: @@ -290,9 +290,9 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Debug: - - Um4CoU685QqAscnxhS5BD+goWu2yX1Jd4zCfGzSsEvPPIm1qURZaF8dlLl/OEY4I + - LcgNasIYBRkNppmD6mCKE9J6iv0eEjosuuHR5V5zw2fWbR54i39C8dhdK8zDq/40 X-Dd-Version: - - "35.4593741" + - "35.4442455" X-Frame-Options: - SAMEORIGIN status: 200 OK @@ -307,11 +307,11 @@ interactions: Dd-Operation-Id: - GetDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) - url: https://api.datadoghq.com/api/v1/dashboard/9wa-c5y-te2 + - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.21+dev (go go1.16.2; os darwin; arch amd64) + url: https://api.datadoghq.com/api/v1/dashboard/7qg-rkt-i6p method: GET response: - body: '{"errors": ["Dashboard with ID 9wa-c5y-te2 not found"]}' + body: '{"errors": ["Dashboard with ID 7qg-rkt-i6p not found"]}' headers: Cache-Control: - no-cache @@ -322,7 +322,7 @@ interactions: Content-Type: - application/json Date: - - Mon, 24 May 2021 14:33:23 GMT + - Mon, 03 May 2021 09:37:20 GMT Pragma: - no-cache Strict-Transport-Security: @@ -332,7 +332,7 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Version: - - "35.4593741" + - "35.4442455" X-Frame-Options: - SAMEORIGIN status: 404 Not Found diff --git a/datadog/tests/cassettes/TestAccDatadogDashboardTimeseries.freeze b/datadog/tests/cassettes/TestAccDatadogDashboardTimeseries.freeze index 7c7ad0fdd..65e3d491f 100644 --- a/datadog/tests/cassettes/TestAccDatadogDashboardTimeseries.freeze +++ b/datadog/tests/cassettes/TestAccDatadogDashboardTimeseries.freeze @@ -1 +1 @@ -2021-05-24T10:37:36.328452-04:00 \ No newline at end of file +2021-03-18T18:33:19.520908+01:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogDashboardTimeseriesMultiCompute.freeze b/datadog/tests/cassettes/TestAccDatadogDashboardTimeseriesMultiCompute.freeze index c391bf0f1..c983e71a1 100644 --- a/datadog/tests/cassettes/TestAccDatadogDashboardTimeseriesMultiCompute.freeze +++ b/datadog/tests/cassettes/TestAccDatadogDashboardTimeseriesMultiCompute.freeze @@ -1 +1 @@ -2021-05-24T10:37:36.313754-04:00 \ No newline at end of file +2021-03-18T18:33:19.521033+01:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogDashboardTimeseriesMultiCompute.yaml b/datadog/tests/cassettes/TestAccDatadogDashboardTimeseriesMultiCompute.yaml index 94de1ba1a..c27e0325a 100644 --- a/datadog/tests/cassettes/TestAccDatadogDashboardTimeseriesMultiCompute.yaml +++ b/datadog/tests/cassettes/TestAccDatadogDashboardTimeseriesMultiCompute.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-TestAccDatadogDashboardTimeseriesMultiCompute-local-1621866970","widgets":[{"definition":{"events":[{"q":"sources:test tags:1","tags_execution":"and"}],"legend_size":"2","markers":[{"display_type":"error dashed","label":"y=500000","value":"y=500000"},{"display_type":"warning dashed","label":"y=400000","value":"y=400000"}],"requests":[{"display_type":"line","log_query":{"group_by":[{"facet":"service","limit":10,"sort":{"aggregation":"count","order":"desc"}}],"index":"*","multi_compute":[{"aggregation":"count"},{"aggregation":"cardinality","facet":"env","interval":1000}],"search":{"query":""}},"on_right_yaxis":true,"style":{"line_type":"solid","line_width":"normal","palette":"cool"}}],"right_yaxis":{"include_zero":false,"max":"599998","min":"1"},"show_legend":true,"time":{"live_span":"5m"},"title":"system.cpu.user, env, process.stat.cpu.total_pct, network.bytes_read, @d...","title_align":"left","title_size":"16","type":"timeseries","yaxis":{"include_zero":true,"max":"599999","min":"0"}}},{"definition":{"events":[{"q":"sources:test tags:1","tags_execution":"and"}],"legend_size":"2","markers":[{"display_type":"error dashed","label":"y=500000","value":"y=500000"},{"display_type":"warning dashed","label":"y=400000","value":"y=400000"}],"requests":[{"display_type":"line","log_query":{"group_by":[{"facet":"service","limit":10,"sort":{"aggregation":"count","order":"desc"}}],"index":"*","multi_compute":[{"aggregation":"count"},{"aggregation":"cardinality","facet":"env","interval":1000}],"search":{"query":""}},"on_right_yaxis":true,"style":{"line_type":"solid","line_width":"normal","palette":"cool"}}],"right_yaxis":{"include_zero":false,"max":"599998","min":"1"},"show_legend":true,"time":{"live_span":"5m"},"title":"system.cpu.user, env, process.stat.cpu.total_pct, network.bytes_read, @d...","title_align":"left","title_size":"16","type":"timeseries","yaxis":{"include_zero":true,"max":"599999","min":"0"}}}]} + {"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-TestAccDatadogDashboardTimeseriesMultiCompute-local-1616088799","widgets":[{"definition":{"events":[{"q":"sources:test tags:1","tags_execution":"and"}],"legend_size":"2","markers":[{"display_type":"error dashed","label":"y=500000","value":"y=500000"},{"display_type":"warning dashed","label":"y=400000","value":"y=400000"}],"requests":[{"display_type":"line","log_query":{"group_by":[{"facet":"service","limit":10,"sort":{"aggregation":"count","order":"desc"}}],"index":"*","multi_compute":[{"aggregation":"count"},{"aggregation":"cardinality","facet":"env","interval":1000}],"search":{"query":""}},"on_right_yaxis":true,"style":{"line_type":"solid","line_width":"normal","palette":"cool"}}],"right_yaxis":{"include_zero":false,"max":"599998","min":"1"},"show_legend":true,"time":{"live_span":"5m"},"title":"system.cpu.user, env, process.stat.cpu.total_pct, network.bytes_read, @d...","title_align":"left","title_size":"16","type":"timeseries","yaxis":{"include_zero":true,"max":"599999","min":"0"}}},{"definition":{"events":[{"q":"sources:test tags:1","tags_execution":"and"}],"legend_size":"2","markers":[{"display_type":"error dashed","label":"y=500000","value":"y=500000"},{"display_type":"warning dashed","label":"y=400000","value":"y=400000"}],"requests":[{"display_type":"line","log_query":{"group_by":[{"facet":"service","limit":10,"sort":{"aggregation":"count","order":"desc"}}],"index":"*","multi_compute":[{"aggregation":"count"},{"aggregation":"cardinality","facet":"env","interval":1000}],"search":{"query":""}},"on_right_yaxis":true,"style":{"line_type":"solid","line_width":"normal","palette":"cool"}}],"right_yaxis":{"include_zero":false,"max":"599998","min":"1"},"show_legend":true,"time":{"live_span":"5m"},"title":"system.cpu.user, env, process.stat.cpu.total_pct, network.bytes_read, @d...","title_align":"left","title_size":"16","type":"timeseries","yaxis":{"include_zero":true,"max":"599999","min":"0"}}}]} form: {} headers: Accept: @@ -13,11 +13,11 @@ interactions: Dd-Operation-Id: - CreateDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) + - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.18+dev (go go1.15.7; os darwin; arch amd64) url: https://api.datadoghq.com/api/v1/dashboard method: POST response: - body: '{"notify_list":[],"description":"Created using the Datadog provider in Terraform","restricted_roles":["043a2842-e140-11e8-bb04-7fd10177666e","08604de8-1dca-11eb-800c-9f5f55ff734d","1302282c-b93b-11eb-a436-da7ad0900002","16169788-28e4-11eb-832c-fb84162ef3eb","17d73994-7531-11eb-94b9-da7ad0900002","284d8b66-93f9-11eb-9c37-da7ad0900002","4de53192-9946-11eb-9cee-da7ad0900002","62cbc476-5c16-11eb-8e98-0388ea7a41f8","657de3a2-29f8-11eb-83b5-6b8ebfb2f184","6bf314be-5c16-11eb-8e98-2356ea436065","7a83f306-96ca-11eb-9c74-da7ad0900002","9b3ab170-b768-11eb-a45a-da7ad0900002","e82bf27a-986c-11eb-9cba-da7ad0900002","f257ba30-dbb2-11ea-a5ff-5fd1d308318a"],"author_name":"Qin Chen","template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"ytr-c5j-nq4","title":"tf-TestAccDatadogDashboardTimeseriesMultiCompute-local-1621866970","url":"/dashboard/ytr-c5j-nq4/tf-testaccdatadogdashboardtimeseriesmulticompute-local-1621866970","created_at":"2021-05-24T14:36:12.072207+00:00","modified_at":"2021-05-24T14:36:12.072207+00:00","author_handle":"qin.chen@datadoghq.com","widgets":[{"definition":{"title_size":"16","yaxis":{"include_zero":true,"min":"0","max":"599999"},"title_align":"left","right_yaxis":{"include_zero":false,"min":"1","max":"599998"},"events":[{"q":"sources:test tags:1","tags_execution":"and"}],"show_legend":true,"markers":[{"display_type":"error dashed","value":"y=500000","label":"y=500000"},{"display_type":"warning dashed","value":"y=400000","label":"y=400000"}],"time":{"live_span":"5m"},"title":"system.cpu.user, env, process.stat.cpu.total_pct, network.bytes_read, @d...","legend_size":"2","type":"timeseries","requests":[{"on_right_yaxis":true,"style":{"line_width":"normal","palette":"cool","line_type":"solid"},"display_type":"line","log_query":{"index":"*","search":{"query":""},"group_by":[{"facet":"service","sort":{"aggregation":"count","order":"desc"},"limit":10}],"multi_compute":[{"aggregation":"count"},{"facet":"env","interval":1000,"aggregation":"cardinality"}]}}]},"id":8063248867071279},{"definition":{"title_size":"16","yaxis":{"include_zero":true,"min":"0","max":"599999"},"title_align":"left","right_yaxis":{"include_zero":false,"min":"1","max":"599998"},"events":[{"q":"sources:test tags:1","tags_execution":"and"}],"show_legend":true,"markers":[{"display_type":"error dashed","value":"y=500000","label":"y=500000"},{"display_type":"warning dashed","value":"y=400000","label":"y=400000"}],"time":{"live_span":"5m"},"title":"system.cpu.user, env, process.stat.cpu.total_pct, network.bytes_read, @d...","legend_size":"2","type":"timeseries","requests":[{"on_right_yaxis":true,"style":{"line_width":"normal","palette":"cool","line_type":"solid"},"display_type":"line","log_query":{"index":"*","search":{"query":""},"group_by":[{"facet":"service","sort":{"aggregation":"count","order":"desc"},"limit":10}],"multi_compute":[{"aggregation":"count"},{"facet":"env","interval":1000,"aggregation":"cardinality"}]}}]},"id":6763491334183299}],"layout_type":"ordered"}' + body: '{"notify_list":[],"description":"Created using the Datadog provider in Terraform","author_name":null,"template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"c3d-82g-w7k","title":"tf-TestAccDatadogDashboardTimeseriesMultiCompute-local-1616088799","url":"/dashboard/c3d-82g-w7k/tf-testaccdatadogdashboardtimeseriesmulticompute-local-1616088799","created_at":"2021-03-18T17:33:20.653584+00:00","modified_at":"2021-03-18T17:33:20.653584+00:00","author_handle":"frog@datadoghq.com","widgets":[{"definition":{"title_size":"16","yaxis":{"include_zero":true,"min":"0","max":"599999"},"title_align":"left","right_yaxis":{"include_zero":false,"min":"1","max":"599998"},"events":[{"q":"sources:test tags:1","tags_execution":"and"}],"show_legend":true,"markers":[{"display_type":"error dashed","value":"y=500000","label":"y=500000"},{"display_type":"warning dashed","value":"y=400000","label":"y=400000"}],"time":{"live_span":"5m"},"title":"system.cpu.user, env, process.stat.cpu.total_pct, network.bytes_read, @d...","legend_size":"2","type":"timeseries","requests":[{"on_right_yaxis":true,"style":{"line_width":"normal","palette":"cool","line_type":"solid"},"display_type":"line","log_query":{"index":"*","search":{"query":""},"group_by":[{"facet":"service","sort":{"aggregation":"count","order":"desc"},"limit":10}],"multi_compute":[{"aggregation":"count"},{"facet":"env","interval":1000,"aggregation":"cardinality"}]}}]},"id":6110599780111334},{"definition":{"title_size":"16","yaxis":{"include_zero":true,"min":"0","max":"599999"},"title_align":"left","right_yaxis":{"include_zero":false,"min":"1","max":"599998"},"events":[{"q":"sources:test tags:1","tags_execution":"and"}],"show_legend":true,"markers":[{"display_type":"error dashed","value":"y=500000","label":"y=500000"},{"display_type":"warning dashed","value":"y=400000","label":"y=400000"}],"time":{"live_span":"5m"},"title":"system.cpu.user, env, process.stat.cpu.total_pct, network.bytes_read, @d...","legend_size":"2","type":"timeseries","requests":[{"on_right_yaxis":true,"style":{"line_width":"normal","palette":"cool","line_type":"solid"},"display_type":"line","log_query":{"index":"*","search":{"query":""},"group_by":[{"facet":"service","sort":{"aggregation":"count","order":"desc"},"limit":10}],"multi_compute":[{"aggregation":"count"},{"facet":"env","interval":1000,"aggregation":"cardinality"}]}}]},"id":7666935917205894}],"layout_type":"ordered"}' headers: Cache-Control: - no-cache @@ -28,7 +28,7 @@ interactions: Content-Type: - application/json Date: - - Mon, 24 May 2021 14:36:12 GMT + - Thu, 18 Mar 2021 17:33:23 GMT Pragma: - no-cache Strict-Transport-Security: @@ -38,9 +38,9 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Debug: - - Um4CoU685QqAscnxhS5BD+goWu2yX1Jd4zCfGzSsEvPPIm1qURZaF8dlLl/OEY4I + - /L+SFFO+m1pPY+hRCpk5325fvfrNl0KmiquUNJolBN/5hu3HIwflqjZSbJ6NxDFG X-Dd-Version: - - "35.4593741" + - "35.4125004" X-Frame-Options: - SAMEORIGIN status: 200 OK @@ -55,11 +55,11 @@ interactions: Dd-Operation-Id: - GetDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) - url: https://api.datadoghq.com/api/v1/dashboard/ytr-c5j-nq4 + - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.18+dev (go go1.15.7; os darwin; arch amd64) + url: https://api.datadoghq.com/api/v1/dashboard/c3d-82g-w7k method: GET response: - body: '{"notify_list":[],"description":"Created using the Datadog provider in Terraform","restricted_roles":["284d8b66-93f9-11eb-9c37-da7ad0900002","043a2842-e140-11e8-bb04-7fd10177666e","657de3a2-29f8-11eb-83b5-6b8ebfb2f184","e82bf27a-986c-11eb-9cba-da7ad0900002","f257ba30-dbb2-11ea-a5ff-5fd1d308318a","6bf314be-5c16-11eb-8e98-2356ea436065","62cbc476-5c16-11eb-8e98-0388ea7a41f8","08604de8-1dca-11eb-800c-9f5f55ff734d","9b3ab170-b768-11eb-a45a-da7ad0900002","7a83f306-96ca-11eb-9c74-da7ad0900002","16169788-28e4-11eb-832c-fb84162ef3eb","4de53192-9946-11eb-9cee-da7ad0900002","1302282c-b93b-11eb-a436-da7ad0900002","17d73994-7531-11eb-94b9-da7ad0900002"],"author_name":"Qin Chen","template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"ytr-c5j-nq4","title":"tf-TestAccDatadogDashboardTimeseriesMultiCompute-local-1621866970","url":"/dashboard/ytr-c5j-nq4/tf-testaccdatadogdashboardtimeseriesmulticompute-local-1621866970","created_at":"2021-05-24T14:36:12.072207+00:00","modified_at":"2021-05-24T14:36:12.072207+00:00","author_handle":"qin.chen@datadoghq.com","widgets":[{"definition":{"title_size":"16","yaxis":{"include_zero":true,"min":"0","max":"599999"},"title_align":"left","right_yaxis":{"include_zero":false,"min":"1","max":"599998"},"events":[{"q":"sources:test tags:1","tags_execution":"and"}],"show_legend":true,"markers":[{"display_type":"error dashed","value":"y=500000","label":"y=500000"},{"display_type":"warning dashed","value":"y=400000","label":"y=400000"}],"time":{"live_span":"5m"},"title":"system.cpu.user, env, process.stat.cpu.total_pct, network.bytes_read, @d...","legend_size":"2","type":"timeseries","requests":[{"on_right_yaxis":true,"style":{"line_width":"normal","palette":"cool","line_type":"solid"},"display_type":"line","log_query":{"index":"*","search":{"query":""},"group_by":[{"facet":"service","sort":{"aggregation":"count","order":"desc"},"limit":10}],"multi_compute":[{"aggregation":"count"},{"facet":"env","interval":1000,"aggregation":"cardinality"}]}}]},"id":8063248867071279},{"definition":{"title_size":"16","yaxis":{"include_zero":true,"min":"0","max":"599999"},"title_align":"left","right_yaxis":{"include_zero":false,"min":"1","max":"599998"},"events":[{"q":"sources:test tags:1","tags_execution":"and"}],"show_legend":true,"markers":[{"display_type":"error dashed","value":"y=500000","label":"y=500000"},{"display_type":"warning dashed","value":"y=400000","label":"y=400000"}],"time":{"live_span":"5m"},"title":"system.cpu.user, env, process.stat.cpu.total_pct, network.bytes_read, @d...","legend_size":"2","type":"timeseries","requests":[{"on_right_yaxis":true,"style":{"line_width":"normal","palette":"cool","line_type":"solid"},"display_type":"line","log_query":{"index":"*","search":{"query":""},"group_by":[{"facet":"service","sort":{"aggregation":"count","order":"desc"},"limit":10}],"multi_compute":[{"aggregation":"count"},{"facet":"env","interval":1000,"aggregation":"cardinality"}]}}]},"id":6763491334183299}],"layout_type":"ordered"}' + body: '{"notify_list":[],"description":"Created using the Datadog provider in Terraform","author_name":null,"template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"c3d-82g-w7k","title":"tf-TestAccDatadogDashboardTimeseriesMultiCompute-local-1616088799","url":"/dashboard/c3d-82g-w7k/tf-testaccdatadogdashboardtimeseriesmulticompute-local-1616088799","created_at":"2021-03-18T17:33:20.653584+00:00","modified_at":"2021-03-18T17:33:20.653584+00:00","author_handle":"frog@datadoghq.com","widgets":[{"definition":{"title_size":"16","yaxis":{"include_zero":true,"min":"0","max":"599999"},"title_align":"left","right_yaxis":{"include_zero":false,"min":"1","max":"599998"},"events":[{"q":"sources:test tags:1","tags_execution":"and"}],"show_legend":true,"markers":[{"display_type":"error dashed","value":"y=500000","label":"y=500000"},{"display_type":"warning dashed","value":"y=400000","label":"y=400000"}],"time":{"live_span":"5m"},"title":"system.cpu.user, env, process.stat.cpu.total_pct, network.bytes_read, @d...","legend_size":"2","type":"timeseries","requests":[{"on_right_yaxis":true,"style":{"line_width":"normal","palette":"cool","line_type":"solid"},"display_type":"line","log_query":{"index":"*","search":{"query":""},"group_by":[{"facet":"service","sort":{"aggregation":"count","order":"desc"},"limit":10}],"multi_compute":[{"aggregation":"count"},{"facet":"env","interval":1000,"aggregation":"cardinality"}]}}]},"id":6110599780111334},{"definition":{"title_size":"16","yaxis":{"include_zero":true,"min":"0","max":"599999"},"title_align":"left","right_yaxis":{"include_zero":false,"min":"1","max":"599998"},"events":[{"q":"sources:test tags:1","tags_execution":"and"}],"show_legend":true,"markers":[{"display_type":"error dashed","value":"y=500000","label":"y=500000"},{"display_type":"warning dashed","value":"y=400000","label":"y=400000"}],"time":{"live_span":"5m"},"title":"system.cpu.user, env, process.stat.cpu.total_pct, network.bytes_read, @d...","legend_size":"2","type":"timeseries","requests":[{"on_right_yaxis":true,"style":{"line_width":"normal","palette":"cool","line_type":"solid"},"display_type":"line","log_query":{"index":"*","search":{"query":""},"group_by":[{"facet":"service","sort":{"aggregation":"count","order":"desc"},"limit":10}],"multi_compute":[{"aggregation":"count"},{"facet":"env","interval":1000,"aggregation":"cardinality"}]}}]},"id":7666935917205894}],"layout_type":"ordered"}' headers: Cache-Control: - no-cache @@ -70,7 +70,7 @@ interactions: Content-Type: - application/json Date: - - Mon, 24 May 2021 14:36:12 GMT + - Thu, 18 Mar 2021 17:33:23 GMT Pragma: - no-cache Strict-Transport-Security: @@ -80,9 +80,9 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Debug: - - LcgNasIYBRkNppmD6mCKE9J6iv0eEjosuuHR5V5zw2fWbR54i39C8dhdK8zDq/40 + - gYZcaADwbKcv7Hm19HJx6WsLoKuOijDWAt2viPeCfWqUgyKY+9e1xZdmMJeXV3YV X-Dd-Version: - - "35.4593741" + - "35.4125004" X-Frame-Options: - SAMEORIGIN status: 200 OK @@ -97,11 +97,11 @@ interactions: Dd-Operation-Id: - GetDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) - url: https://api.datadoghq.com/api/v1/dashboard/ytr-c5j-nq4 + - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.18+dev (go go1.15.7; os darwin; arch amd64) + url: https://api.datadoghq.com/api/v1/dashboard/c3d-82g-w7k method: GET response: - body: '{"notify_list":[],"description":"Created using the Datadog provider in Terraform","restricted_roles":["284d8b66-93f9-11eb-9c37-da7ad0900002","043a2842-e140-11e8-bb04-7fd10177666e","657de3a2-29f8-11eb-83b5-6b8ebfb2f184","e82bf27a-986c-11eb-9cba-da7ad0900002","f257ba30-dbb2-11ea-a5ff-5fd1d308318a","6bf314be-5c16-11eb-8e98-2356ea436065","62cbc476-5c16-11eb-8e98-0388ea7a41f8","08604de8-1dca-11eb-800c-9f5f55ff734d","9b3ab170-b768-11eb-a45a-da7ad0900002","7a83f306-96ca-11eb-9c74-da7ad0900002","16169788-28e4-11eb-832c-fb84162ef3eb","4de53192-9946-11eb-9cee-da7ad0900002","1302282c-b93b-11eb-a436-da7ad0900002","17d73994-7531-11eb-94b9-da7ad0900002"],"author_name":"Qin Chen","template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"ytr-c5j-nq4","title":"tf-TestAccDatadogDashboardTimeseriesMultiCompute-local-1621866970","url":"/dashboard/ytr-c5j-nq4/tf-testaccdatadogdashboardtimeseriesmulticompute-local-1621866970","created_at":"2021-05-24T14:36:12.072207+00:00","modified_at":"2021-05-24T14:36:12.072207+00:00","author_handle":"qin.chen@datadoghq.com","widgets":[{"definition":{"title_size":"16","yaxis":{"include_zero":true,"min":"0","max":"599999"},"title_align":"left","right_yaxis":{"include_zero":false,"min":"1","max":"599998"},"events":[{"q":"sources:test tags:1","tags_execution":"and"}],"show_legend":true,"markers":[{"display_type":"error dashed","value":"y=500000","label":"y=500000"},{"display_type":"warning dashed","value":"y=400000","label":"y=400000"}],"time":{"live_span":"5m"},"title":"system.cpu.user, env, process.stat.cpu.total_pct, network.bytes_read, @d...","legend_size":"2","type":"timeseries","requests":[{"on_right_yaxis":true,"style":{"line_width":"normal","palette":"cool","line_type":"solid"},"display_type":"line","log_query":{"index":"*","search":{"query":""},"group_by":[{"facet":"service","sort":{"aggregation":"count","order":"desc"},"limit":10}],"multi_compute":[{"aggregation":"count"},{"facet":"env","interval":1000,"aggregation":"cardinality"}]}}]},"id":8063248867071279},{"definition":{"title_size":"16","yaxis":{"include_zero":true,"min":"0","max":"599999"},"title_align":"left","right_yaxis":{"include_zero":false,"min":"1","max":"599998"},"events":[{"q":"sources:test tags:1","tags_execution":"and"}],"show_legend":true,"markers":[{"display_type":"error dashed","value":"y=500000","label":"y=500000"},{"display_type":"warning dashed","value":"y=400000","label":"y=400000"}],"time":{"live_span":"5m"},"title":"system.cpu.user, env, process.stat.cpu.total_pct, network.bytes_read, @d...","legend_size":"2","type":"timeseries","requests":[{"on_right_yaxis":true,"style":{"line_width":"normal","palette":"cool","line_type":"solid"},"display_type":"line","log_query":{"index":"*","search":{"query":""},"group_by":[{"facet":"service","sort":{"aggregation":"count","order":"desc"},"limit":10}],"multi_compute":[{"aggregation":"count"},{"facet":"env","interval":1000,"aggregation":"cardinality"}]}}]},"id":6763491334183299}],"layout_type":"ordered"}' + body: '{"notify_list":[],"description":"Created using the Datadog provider in Terraform","author_name":null,"template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"c3d-82g-w7k","title":"tf-TestAccDatadogDashboardTimeseriesMultiCompute-local-1616088799","url":"/dashboard/c3d-82g-w7k/tf-testaccdatadogdashboardtimeseriesmulticompute-local-1616088799","created_at":"2021-03-18T17:33:20.653584+00:00","modified_at":"2021-03-18T17:33:20.653584+00:00","author_handle":"frog@datadoghq.com","widgets":[{"definition":{"title_size":"16","yaxis":{"include_zero":true,"min":"0","max":"599999"},"title_align":"left","right_yaxis":{"include_zero":false,"min":"1","max":"599998"},"events":[{"q":"sources:test tags:1","tags_execution":"and"}],"show_legend":true,"markers":[{"display_type":"error dashed","value":"y=500000","label":"y=500000"},{"display_type":"warning dashed","value":"y=400000","label":"y=400000"}],"time":{"live_span":"5m"},"title":"system.cpu.user, env, process.stat.cpu.total_pct, network.bytes_read, @d...","legend_size":"2","type":"timeseries","requests":[{"on_right_yaxis":true,"style":{"line_width":"normal","palette":"cool","line_type":"solid"},"display_type":"line","log_query":{"index":"*","search":{"query":""},"group_by":[{"facet":"service","sort":{"aggregation":"count","order":"desc"},"limit":10}],"multi_compute":[{"aggregation":"count"},{"facet":"env","interval":1000,"aggregation":"cardinality"}]}}]},"id":6110599780111334},{"definition":{"title_size":"16","yaxis":{"include_zero":true,"min":"0","max":"599999"},"title_align":"left","right_yaxis":{"include_zero":false,"min":"1","max":"599998"},"events":[{"q":"sources:test tags:1","tags_execution":"and"}],"show_legend":true,"markers":[{"display_type":"error dashed","value":"y=500000","label":"y=500000"},{"display_type":"warning dashed","value":"y=400000","label":"y=400000"}],"time":{"live_span":"5m"},"title":"system.cpu.user, env, process.stat.cpu.total_pct, network.bytes_read, @d...","legend_size":"2","type":"timeseries","requests":[{"on_right_yaxis":true,"style":{"line_width":"normal","palette":"cool","line_type":"solid"},"display_type":"line","log_query":{"index":"*","search":{"query":""},"group_by":[{"facet":"service","sort":{"aggregation":"count","order":"desc"},"limit":10}],"multi_compute":[{"aggregation":"count"},{"facet":"env","interval":1000,"aggregation":"cardinality"}]}}]},"id":7666935917205894}],"layout_type":"ordered"}' headers: Cache-Control: - no-cache @@ -112,7 +112,7 @@ interactions: Content-Type: - application/json Date: - - Mon, 24 May 2021 14:36:12 GMT + - Thu, 18 Mar 2021 17:33:24 GMT Pragma: - no-cache Strict-Transport-Security: @@ -122,9 +122,9 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Debug: - - F5gm0Rce1/Abr9/0Fw8HAqWfiz0FdiH8er/AXnN6lOn3L6KyGgbsLCwgPlob1No8 + - JpIJLwIH2nFlZOC+u71rq7aAOL43MLZN3MUsL+gpYHdZz5QLUOG8Jysf8kVK6tPU X-Dd-Version: - - "35.4593741" + - "35.4125004" X-Frame-Options: - SAMEORIGIN status: 200 OK @@ -139,11 +139,11 @@ interactions: Dd-Operation-Id: - GetDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) - url: https://api.datadoghq.com/api/v1/dashboard/ytr-c5j-nq4 + - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.18+dev (go go1.15.7; os darwin; arch amd64) + url: https://api.datadoghq.com/api/v1/dashboard/c3d-82g-w7k method: GET response: - body: '{"notify_list":[],"description":"Created using the Datadog provider in Terraform","restricted_roles":["284d8b66-93f9-11eb-9c37-da7ad0900002","043a2842-e140-11e8-bb04-7fd10177666e","657de3a2-29f8-11eb-83b5-6b8ebfb2f184","e82bf27a-986c-11eb-9cba-da7ad0900002","f257ba30-dbb2-11ea-a5ff-5fd1d308318a","6bf314be-5c16-11eb-8e98-2356ea436065","62cbc476-5c16-11eb-8e98-0388ea7a41f8","08604de8-1dca-11eb-800c-9f5f55ff734d","9b3ab170-b768-11eb-a45a-da7ad0900002","7a83f306-96ca-11eb-9c74-da7ad0900002","16169788-28e4-11eb-832c-fb84162ef3eb","4de53192-9946-11eb-9cee-da7ad0900002","1302282c-b93b-11eb-a436-da7ad0900002","17d73994-7531-11eb-94b9-da7ad0900002"],"author_name":"Qin Chen","template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"ytr-c5j-nq4","title":"tf-TestAccDatadogDashboardTimeseriesMultiCompute-local-1621866970","url":"/dashboard/ytr-c5j-nq4/tf-testaccdatadogdashboardtimeseriesmulticompute-local-1621866970","created_at":"2021-05-24T14:36:12.072207+00:00","modified_at":"2021-05-24T14:36:12.072207+00:00","author_handle":"qin.chen@datadoghq.com","widgets":[{"definition":{"title_size":"16","yaxis":{"include_zero":true,"min":"0","max":"599999"},"title_align":"left","right_yaxis":{"include_zero":false,"min":"1","max":"599998"},"events":[{"q":"sources:test tags:1","tags_execution":"and"}],"show_legend":true,"markers":[{"display_type":"error dashed","value":"y=500000","label":"y=500000"},{"display_type":"warning dashed","value":"y=400000","label":"y=400000"}],"time":{"live_span":"5m"},"title":"system.cpu.user, env, process.stat.cpu.total_pct, network.bytes_read, @d...","legend_size":"2","type":"timeseries","requests":[{"on_right_yaxis":true,"style":{"line_width":"normal","palette":"cool","line_type":"solid"},"display_type":"line","log_query":{"index":"*","search":{"query":""},"group_by":[{"facet":"service","sort":{"aggregation":"count","order":"desc"},"limit":10}],"multi_compute":[{"aggregation":"count"},{"facet":"env","interval":1000,"aggregation":"cardinality"}]}}]},"id":8063248867071279},{"definition":{"title_size":"16","yaxis":{"include_zero":true,"min":"0","max":"599999"},"title_align":"left","right_yaxis":{"include_zero":false,"min":"1","max":"599998"},"events":[{"q":"sources:test tags:1","tags_execution":"and"}],"show_legend":true,"markers":[{"display_type":"error dashed","value":"y=500000","label":"y=500000"},{"display_type":"warning dashed","value":"y=400000","label":"y=400000"}],"time":{"live_span":"5m"},"title":"system.cpu.user, env, process.stat.cpu.total_pct, network.bytes_read, @d...","legend_size":"2","type":"timeseries","requests":[{"on_right_yaxis":true,"style":{"line_width":"normal","palette":"cool","line_type":"solid"},"display_type":"line","log_query":{"index":"*","search":{"query":""},"group_by":[{"facet":"service","sort":{"aggregation":"count","order":"desc"},"limit":10}],"multi_compute":[{"aggregation":"count"},{"facet":"env","interval":1000,"aggregation":"cardinality"}]}}]},"id":6763491334183299}],"layout_type":"ordered"}' + body: '{"notify_list":[],"description":"Created using the Datadog provider in Terraform","author_name":null,"template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"c3d-82g-w7k","title":"tf-TestAccDatadogDashboardTimeseriesMultiCompute-local-1616088799","url":"/dashboard/c3d-82g-w7k/tf-testaccdatadogdashboardtimeseriesmulticompute-local-1616088799","created_at":"2021-03-18T17:33:20.653584+00:00","modified_at":"2021-03-18T17:33:20.653584+00:00","author_handle":"frog@datadoghq.com","widgets":[{"definition":{"title_size":"16","yaxis":{"include_zero":true,"min":"0","max":"599999"},"title_align":"left","right_yaxis":{"include_zero":false,"min":"1","max":"599998"},"events":[{"q":"sources:test tags:1","tags_execution":"and"}],"show_legend":true,"markers":[{"display_type":"error dashed","value":"y=500000","label":"y=500000"},{"display_type":"warning dashed","value":"y=400000","label":"y=400000"}],"time":{"live_span":"5m"},"title":"system.cpu.user, env, process.stat.cpu.total_pct, network.bytes_read, @d...","legend_size":"2","type":"timeseries","requests":[{"on_right_yaxis":true,"style":{"line_width":"normal","palette":"cool","line_type":"solid"},"display_type":"line","log_query":{"index":"*","search":{"query":""},"group_by":[{"facet":"service","sort":{"aggregation":"count","order":"desc"},"limit":10}],"multi_compute":[{"aggregation":"count"},{"facet":"env","interval":1000,"aggregation":"cardinality"}]}}]},"id":6110599780111334},{"definition":{"title_size":"16","yaxis":{"include_zero":true,"min":"0","max":"599999"},"title_align":"left","right_yaxis":{"include_zero":false,"min":"1","max":"599998"},"events":[{"q":"sources:test tags:1","tags_execution":"and"}],"show_legend":true,"markers":[{"display_type":"error dashed","value":"y=500000","label":"y=500000"},{"display_type":"warning dashed","value":"y=400000","label":"y=400000"}],"time":{"live_span":"5m"},"title":"system.cpu.user, env, process.stat.cpu.total_pct, network.bytes_read, @d...","legend_size":"2","type":"timeseries","requests":[{"on_right_yaxis":true,"style":{"line_width":"normal","palette":"cool","line_type":"solid"},"display_type":"line","log_query":{"index":"*","search":{"query":""},"group_by":[{"facet":"service","sort":{"aggregation":"count","order":"desc"},"limit":10}],"multi_compute":[{"aggregation":"count"},{"facet":"env","interval":1000,"aggregation":"cardinality"}]}}]},"id":7666935917205894}],"layout_type":"ordered"}' headers: Cache-Control: - no-cache @@ -154,7 +154,7 @@ interactions: Content-Type: - application/json Date: - - Mon, 24 May 2021 14:36:12 GMT + - Thu, 18 Mar 2021 17:33:24 GMT Pragma: - no-cache Strict-Transport-Security: @@ -164,9 +164,9 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Debug: - - B1nwy/pPNqX+q4pQT22cdp1QCexE35IF8qwSHy0Nf7IW0Y881qtn4tXN1lpmzaKc + - PhosSd3Ch1B6B0DXI71steKUi7XhPDttnPiIP1NdXTw0VJNWpoUnYyBmODS5ne3q X-Dd-Version: - - "35.4593741" + - "35.4125004" X-Frame-Options: - SAMEORIGIN status: 200 OK @@ -181,11 +181,11 @@ interactions: Dd-Operation-Id: - GetDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) - url: https://api.datadoghq.com/api/v1/dashboard/ytr-c5j-nq4 + - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.18+dev (go go1.15.7; os darwin; arch amd64) + url: https://api.datadoghq.com/api/v1/dashboard/c3d-82g-w7k method: GET response: - body: '{"notify_list":[],"description":"Created using the Datadog provider in Terraform","restricted_roles":["284d8b66-93f9-11eb-9c37-da7ad0900002","043a2842-e140-11e8-bb04-7fd10177666e","657de3a2-29f8-11eb-83b5-6b8ebfb2f184","e82bf27a-986c-11eb-9cba-da7ad0900002","f257ba30-dbb2-11ea-a5ff-5fd1d308318a","6bf314be-5c16-11eb-8e98-2356ea436065","62cbc476-5c16-11eb-8e98-0388ea7a41f8","08604de8-1dca-11eb-800c-9f5f55ff734d","9b3ab170-b768-11eb-a45a-da7ad0900002","7a83f306-96ca-11eb-9c74-da7ad0900002","16169788-28e4-11eb-832c-fb84162ef3eb","4de53192-9946-11eb-9cee-da7ad0900002","1302282c-b93b-11eb-a436-da7ad0900002","17d73994-7531-11eb-94b9-da7ad0900002"],"author_name":"Qin Chen","template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"ytr-c5j-nq4","title":"tf-TestAccDatadogDashboardTimeseriesMultiCompute-local-1621866970","url":"/dashboard/ytr-c5j-nq4/tf-testaccdatadogdashboardtimeseriesmulticompute-local-1621866970","created_at":"2021-05-24T14:36:12.072207+00:00","modified_at":"2021-05-24T14:36:12.072207+00:00","author_handle":"qin.chen@datadoghq.com","widgets":[{"definition":{"title_size":"16","yaxis":{"include_zero":true,"min":"0","max":"599999"},"title_align":"left","right_yaxis":{"include_zero":false,"min":"1","max":"599998"},"events":[{"q":"sources:test tags:1","tags_execution":"and"}],"show_legend":true,"markers":[{"display_type":"error dashed","value":"y=500000","label":"y=500000"},{"display_type":"warning dashed","value":"y=400000","label":"y=400000"}],"time":{"live_span":"5m"},"title":"system.cpu.user, env, process.stat.cpu.total_pct, network.bytes_read, @d...","legend_size":"2","type":"timeseries","requests":[{"on_right_yaxis":true,"style":{"line_width":"normal","palette":"cool","line_type":"solid"},"display_type":"line","log_query":{"index":"*","search":{"query":""},"group_by":[{"facet":"service","sort":{"aggregation":"count","order":"desc"},"limit":10}],"multi_compute":[{"aggregation":"count"},{"facet":"env","interval":1000,"aggregation":"cardinality"}]}}]},"id":8063248867071279},{"definition":{"title_size":"16","yaxis":{"include_zero":true,"min":"0","max":"599999"},"title_align":"left","right_yaxis":{"include_zero":false,"min":"1","max":"599998"},"events":[{"q":"sources:test tags:1","tags_execution":"and"}],"show_legend":true,"markers":[{"display_type":"error dashed","value":"y=500000","label":"y=500000"},{"display_type":"warning dashed","value":"y=400000","label":"y=400000"}],"time":{"live_span":"5m"},"title":"system.cpu.user, env, process.stat.cpu.total_pct, network.bytes_read, @d...","legend_size":"2","type":"timeseries","requests":[{"on_right_yaxis":true,"style":{"line_width":"normal","palette":"cool","line_type":"solid"},"display_type":"line","log_query":{"index":"*","search":{"query":""},"group_by":[{"facet":"service","sort":{"aggregation":"count","order":"desc"},"limit":10}],"multi_compute":[{"aggregation":"count"},{"facet":"env","interval":1000,"aggregation":"cardinality"}]}}]},"id":6763491334183299}],"layout_type":"ordered"}' + body: '{"notify_list":[],"description":"Created using the Datadog provider in Terraform","author_name":null,"template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"c3d-82g-w7k","title":"tf-TestAccDatadogDashboardTimeseriesMultiCompute-local-1616088799","url":"/dashboard/c3d-82g-w7k/tf-testaccdatadogdashboardtimeseriesmulticompute-local-1616088799","created_at":"2021-03-18T17:33:20.653584+00:00","modified_at":"2021-03-18T17:33:20.653584+00:00","author_handle":"frog@datadoghq.com","widgets":[{"definition":{"title_size":"16","yaxis":{"include_zero":true,"min":"0","max":"599999"},"title_align":"left","right_yaxis":{"include_zero":false,"min":"1","max":"599998"},"events":[{"q":"sources:test tags:1","tags_execution":"and"}],"show_legend":true,"markers":[{"display_type":"error dashed","value":"y=500000","label":"y=500000"},{"display_type":"warning dashed","value":"y=400000","label":"y=400000"}],"time":{"live_span":"5m"},"title":"system.cpu.user, env, process.stat.cpu.total_pct, network.bytes_read, @d...","legend_size":"2","type":"timeseries","requests":[{"on_right_yaxis":true,"style":{"line_width":"normal","palette":"cool","line_type":"solid"},"display_type":"line","log_query":{"index":"*","search":{"query":""},"group_by":[{"facet":"service","sort":{"aggregation":"count","order":"desc"},"limit":10}],"multi_compute":[{"aggregation":"count"},{"facet":"env","interval":1000,"aggregation":"cardinality"}]}}]},"id":6110599780111334},{"definition":{"title_size":"16","yaxis":{"include_zero":true,"min":"0","max":"599999"},"title_align":"left","right_yaxis":{"include_zero":false,"min":"1","max":"599998"},"events":[{"q":"sources:test tags:1","tags_execution":"and"}],"show_legend":true,"markers":[{"display_type":"error dashed","value":"y=500000","label":"y=500000"},{"display_type":"warning dashed","value":"y=400000","label":"y=400000"}],"time":{"live_span":"5m"},"title":"system.cpu.user, env, process.stat.cpu.total_pct, network.bytes_read, @d...","legend_size":"2","type":"timeseries","requests":[{"on_right_yaxis":true,"style":{"line_width":"normal","palette":"cool","line_type":"solid"},"display_type":"line","log_query":{"index":"*","search":{"query":""},"group_by":[{"facet":"service","sort":{"aggregation":"count","order":"desc"},"limit":10}],"multi_compute":[{"aggregation":"count"},{"facet":"env","interval":1000,"aggregation":"cardinality"}]}}]},"id":7666935917205894}],"layout_type":"ordered"}' headers: Cache-Control: - no-cache @@ -196,7 +196,7 @@ interactions: Content-Type: - application/json Date: - - Mon, 24 May 2021 14:36:13 GMT + - Thu, 18 Mar 2021 17:33:25 GMT Pragma: - no-cache Strict-Transport-Security: @@ -206,9 +206,9 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Debug: - - nLnnBNvlCFDECRnZvzDb0z4sAO35G+IMidcAs8vrCKyjvsKWE8Yd9S3n6OjZ1qRN + - SY1h8ScsWq+kYmtbh63ltMLFAZsQjqfrgvdfAoRX+9TzT1sgMBRYaFRwfWWRRe9a X-Dd-Version: - - "35.4593741" + - "35.4125004" X-Frame-Options: - SAMEORIGIN status: 200 OK @@ -223,11 +223,11 @@ interactions: Dd-Operation-Id: - DeleteDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) - url: https://api.datadoghq.com/api/v1/dashboard/ytr-c5j-nq4 + - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.18+dev (go go1.15.7; os darwin; arch amd64) + url: https://api.datadoghq.com/api/v1/dashboard/c3d-82g-w7k method: DELETE response: - body: '{"deleted_dashboard_id":"ytr-c5j-nq4"}' + body: '{"deleted_dashboard_id":"c3d-82g-w7k"}' headers: Cache-Control: - no-cache @@ -238,7 +238,7 @@ interactions: Content-Type: - application/json Date: - - Mon, 24 May 2021 14:36:14 GMT + - Thu, 18 Mar 2021 17:33:25 GMT Pragma: - no-cache Strict-Transport-Security: @@ -248,9 +248,9 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Debug: - - nLnnBNvlCFDECRnZvzDb0z4sAO35G+IMidcAs8vrCKyjvsKWE8Yd9S3n6OjZ1qRN + - 25u1gDlL724DHllbjFT4BhOLorBTilh+aah2uWAUEjFC/+rjczJdiyWrV/HwLwe/ X-Dd-Version: - - "35.4593741" + - "35.4125004" X-Frame-Options: - SAMEORIGIN status: 200 OK @@ -265,11 +265,11 @@ interactions: Dd-Operation-Id: - GetDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) - url: https://api.datadoghq.com/api/v1/dashboard/ytr-c5j-nq4 + - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.18+dev (go go1.15.7; os darwin; arch amd64) + url: https://api.datadoghq.com/api/v1/dashboard/c3d-82g-w7k method: GET response: - body: '{"errors": ["Dashboard with ID ytr-c5j-nq4 not found"]}' + body: '{"errors": ["Dashboard with ID c3d-82g-w7k not found"]}' headers: Cache-Control: - no-cache @@ -280,7 +280,7 @@ interactions: Content-Type: - application/json Date: - - Mon, 24 May 2021 14:36:14 GMT + - Thu, 18 Mar 2021 17:33:25 GMT Pragma: - no-cache Strict-Transport-Security: @@ -290,7 +290,7 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Version: - - "35.4593741" + - "35.4125004" X-Frame-Options: - SAMEORIGIN status: 404 Not Found diff --git a/datadog/tests/cassettes/TestAccDatadogDashboardTimeseriesMultiCompute_import.freeze b/datadog/tests/cassettes/TestAccDatadogDashboardTimeseriesMultiCompute_import.freeze index be0e08462..0a33322ef 100644 --- a/datadog/tests/cassettes/TestAccDatadogDashboardTimeseriesMultiCompute_import.freeze +++ b/datadog/tests/cassettes/TestAccDatadogDashboardTimeseriesMultiCompute_import.freeze @@ -1 +1 @@ -2021-05-24T10:37:36.314778-04:00 \ No newline at end of file +2021-03-18T18:33:19.521025+01:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogDashboardTimeseriesMultiCompute_import.yaml b/datadog/tests/cassettes/TestAccDatadogDashboardTimeseriesMultiCompute_import.yaml index 41020d175..0a5037069 100644 --- a/datadog/tests/cassettes/TestAccDatadogDashboardTimeseriesMultiCompute_import.yaml +++ b/datadog/tests/cassettes/TestAccDatadogDashboardTimeseriesMultiCompute_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-TestAccDatadogDashboardTimeseriesMultiCompute_import-local-1621866970","widgets":[{"definition":{"events":[{"q":"sources:test tags:1","tags_execution":"and"}],"legend_size":"2","markers":[{"display_type":"error dashed","label":"y=500000","value":"y=500000"},{"display_type":"warning dashed","label":"y=400000","value":"y=400000"}],"requests":[{"display_type":"line","log_query":{"group_by":[{"facet":"service","limit":10,"sort":{"aggregation":"count","order":"desc"}}],"index":"*","multi_compute":[{"aggregation":"count"},{"aggregation":"cardinality","facet":"env","interval":1000}],"search":{"query":""}},"on_right_yaxis":true,"style":{"line_type":"solid","line_width":"normal","palette":"cool"}}],"right_yaxis":{"include_zero":false,"max":"599998","min":"1"},"show_legend":true,"time":{"live_span":"5m"},"title":"system.cpu.user, env, process.stat.cpu.total_pct, network.bytes_read, @d...","title_align":"left","title_size":"16","type":"timeseries","yaxis":{"include_zero":true,"max":"599999","min":"0"}}}]} + {"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-TestAccDatadogDashboardTimeseriesMultiCompute_import-local-1616088799","widgets":[{"definition":{"events":[{"q":"sources:test tags:1","tags_execution":"and"}],"legend_size":"2","markers":[{"display_type":"error dashed","label":"y=500000","value":"y=500000"},{"display_type":"warning dashed","label":"y=400000","value":"y=400000"}],"requests":[{"display_type":"line","log_query":{"group_by":[{"facet":"service","limit":10,"sort":{"aggregation":"count","order":"desc"}}],"index":"*","multi_compute":[{"aggregation":"count"},{"aggregation":"cardinality","facet":"env","interval":1000}],"search":{"query":""}},"on_right_yaxis":true,"style":{"line_type":"solid","line_width":"normal","palette":"cool"}}],"right_yaxis":{"include_zero":false,"max":"599998","min":"1"},"show_legend":true,"time":{"live_span":"5m"},"title":"system.cpu.user, env, process.stat.cpu.total_pct, network.bytes_read, @d...","title_align":"left","title_size":"16","type":"timeseries","yaxis":{"include_zero":true,"max":"599999","min":"0"}}}]} form: {} headers: Accept: @@ -13,11 +13,11 @@ interactions: Dd-Operation-Id: - CreateDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) + - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.18+dev (go go1.15.7; os darwin; arch amd64) url: https://api.datadoghq.com/api/v1/dashboard method: POST response: - body: '{"notify_list":[],"description":"Created using the Datadog provider in Terraform","restricted_roles":["043a2842-e140-11e8-bb04-7fd10177666e","08604de8-1dca-11eb-800c-9f5f55ff734d","1302282c-b93b-11eb-a436-da7ad0900002","16169788-28e4-11eb-832c-fb84162ef3eb","17d73994-7531-11eb-94b9-da7ad0900002","284d8b66-93f9-11eb-9c37-da7ad0900002","4de53192-9946-11eb-9cee-da7ad0900002","62cbc476-5c16-11eb-8e98-0388ea7a41f8","657de3a2-29f8-11eb-83b5-6b8ebfb2f184","6bf314be-5c16-11eb-8e98-2356ea436065","7a83f306-96ca-11eb-9c74-da7ad0900002","9b3ab170-b768-11eb-a45a-da7ad0900002","e82bf27a-986c-11eb-9cba-da7ad0900002","f257ba30-dbb2-11ea-a5ff-5fd1d308318a"],"author_name":"Qin Chen","template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"ssj-vgy-c34","title":"tf-TestAccDatadogDashboardTimeseriesMultiCompute_import-local-1621866970","url":"/dashboard/ssj-vgy-c34/tf-testaccdatadogdashboardtimeseriesmulticomputeimport-local-1621866970","created_at":"2021-05-24T14:36:12.074330+00:00","modified_at":"2021-05-24T14:36:12.074330+00:00","author_handle":"qin.chen@datadoghq.com","widgets":[{"definition":{"title_size":"16","yaxis":{"include_zero":true,"min":"0","max":"599999"},"title_align":"left","right_yaxis":{"include_zero":false,"min":"1","max":"599998"},"events":[{"q":"sources:test tags:1","tags_execution":"and"}],"show_legend":true,"markers":[{"display_type":"error dashed","value":"y=500000","label":"y=500000"},{"display_type":"warning dashed","value":"y=400000","label":"y=400000"}],"time":{"live_span":"5m"},"title":"system.cpu.user, env, process.stat.cpu.total_pct, network.bytes_read, @d...","legend_size":"2","type":"timeseries","requests":[{"on_right_yaxis":true,"style":{"line_width":"normal","palette":"cool","line_type":"solid"},"display_type":"line","log_query":{"index":"*","search":{"query":""},"group_by":[{"facet":"service","sort":{"aggregation":"count","order":"desc"},"limit":10}],"multi_compute":[{"aggregation":"count"},{"facet":"env","interval":1000,"aggregation":"cardinality"}]}}]},"id":828015928397007}],"layout_type":"ordered"}' + body: '{"notify_list":[],"description":"Created using the Datadog provider in Terraform","author_name":null,"template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"edu-dm8-kss","title":"tf-TestAccDatadogDashboardTimeseriesMultiCompute_import-local-1616088799","url":"/dashboard/edu-dm8-kss/tf-testaccdatadogdashboardtimeseriesmulticomputeimport-local-1616088799","created_at":"2021-03-18T17:33:20.584024+00:00","modified_at":"2021-03-18T17:33:20.584024+00:00","author_handle":"frog@datadoghq.com","widgets":[{"definition":{"title_size":"16","yaxis":{"include_zero":true,"min":"0","max":"599999"},"title_align":"left","right_yaxis":{"include_zero":false,"min":"1","max":"599998"},"events":[{"q":"sources:test tags:1","tags_execution":"and"}],"show_legend":true,"markers":[{"display_type":"error dashed","value":"y=500000","label":"y=500000"},{"display_type":"warning dashed","value":"y=400000","label":"y=400000"}],"time":{"live_span":"5m"},"title":"system.cpu.user, env, process.stat.cpu.total_pct, network.bytes_read, @d...","legend_size":"2","type":"timeseries","requests":[{"on_right_yaxis":true,"style":{"line_width":"normal","palette":"cool","line_type":"solid"},"display_type":"line","log_query":{"index":"*","search":{"query":""},"group_by":[{"facet":"service","sort":{"aggregation":"count","order":"desc"},"limit":10}],"multi_compute":[{"aggregation":"count"},{"facet":"env","interval":1000,"aggregation":"cardinality"}]}}]},"id":4662406963868713}],"layout_type":"ordered"}' headers: Cache-Control: - no-cache @@ -28,7 +28,7 @@ interactions: Content-Type: - application/json Date: - - Mon, 24 May 2021 14:36:12 GMT + - Thu, 18 Mar 2021 17:33:23 GMT Pragma: - no-cache Strict-Transport-Security: @@ -38,9 +38,9 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Debug: - - B1nwy/pPNqX+q4pQT22cdp1QCexE35IF8qwSHy0Nf7IW0Y881qtn4tXN1lpmzaKc + - fIO2C4qGDheGHy4YbS+r3a3CXbh4cbRo7roILOimQyiHGjQdOat0cIpWCkupM1uX X-Dd-Version: - - "35.4593741" + - "35.4125004" X-Frame-Options: - SAMEORIGIN status: 200 OK @@ -55,11 +55,11 @@ interactions: Dd-Operation-Id: - GetDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) - url: https://api.datadoghq.com/api/v1/dashboard/ssj-vgy-c34 + - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.18+dev (go go1.15.7; os darwin; arch amd64) + url: https://api.datadoghq.com/api/v1/dashboard/edu-dm8-kss method: GET response: - body: '{"notify_list":[],"description":"Created using the Datadog provider in Terraform","restricted_roles":["284d8b66-93f9-11eb-9c37-da7ad0900002","043a2842-e140-11e8-bb04-7fd10177666e","657de3a2-29f8-11eb-83b5-6b8ebfb2f184","e82bf27a-986c-11eb-9cba-da7ad0900002","f257ba30-dbb2-11ea-a5ff-5fd1d308318a","6bf314be-5c16-11eb-8e98-2356ea436065","62cbc476-5c16-11eb-8e98-0388ea7a41f8","08604de8-1dca-11eb-800c-9f5f55ff734d","9b3ab170-b768-11eb-a45a-da7ad0900002","7a83f306-96ca-11eb-9c74-da7ad0900002","16169788-28e4-11eb-832c-fb84162ef3eb","4de53192-9946-11eb-9cee-da7ad0900002","1302282c-b93b-11eb-a436-da7ad0900002","17d73994-7531-11eb-94b9-da7ad0900002"],"author_name":"Qin Chen","template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"ssj-vgy-c34","title":"tf-TestAccDatadogDashboardTimeseriesMultiCompute_import-local-1621866970","url":"/dashboard/ssj-vgy-c34/tf-testaccdatadogdashboardtimeseriesmulticomputeimport-local-1621866970","created_at":"2021-05-24T14:36:12.074330+00:00","modified_at":"2021-05-24T14:36:12.074330+00:00","author_handle":"qin.chen@datadoghq.com","widgets":[{"definition":{"title_size":"16","yaxis":{"include_zero":true,"min":"0","max":"599999"},"title_align":"left","right_yaxis":{"include_zero":false,"min":"1","max":"599998"},"events":[{"q":"sources:test tags:1","tags_execution":"and"}],"show_legend":true,"markers":[{"display_type":"error dashed","value":"y=500000","label":"y=500000"},{"display_type":"warning dashed","value":"y=400000","label":"y=400000"}],"time":{"live_span":"5m"},"title":"system.cpu.user, env, process.stat.cpu.total_pct, network.bytes_read, @d...","legend_size":"2","type":"timeseries","requests":[{"on_right_yaxis":true,"style":{"line_width":"normal","palette":"cool","line_type":"solid"},"display_type":"line","log_query":{"index":"*","search":{"query":""},"group_by":[{"facet":"service","sort":{"aggregation":"count","order":"desc"},"limit":10}],"multi_compute":[{"aggregation":"count"},{"facet":"env","interval":1000,"aggregation":"cardinality"}]}}]},"id":828015928397007}],"layout_type":"ordered"}' + body: '{"notify_list":[],"description":"Created using the Datadog provider in Terraform","author_name":null,"template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"edu-dm8-kss","title":"tf-TestAccDatadogDashboardTimeseriesMultiCompute_import-local-1616088799","url":"/dashboard/edu-dm8-kss/tf-testaccdatadogdashboardtimeseriesmulticomputeimport-local-1616088799","created_at":"2021-03-18T17:33:20.584024+00:00","modified_at":"2021-03-18T17:33:20.584024+00:00","author_handle":"frog@datadoghq.com","widgets":[{"definition":{"title_size":"16","yaxis":{"include_zero":true,"min":"0","max":"599999"},"title_align":"left","right_yaxis":{"include_zero":false,"min":"1","max":"599998"},"events":[{"q":"sources:test tags:1","tags_execution":"and"}],"show_legend":true,"markers":[{"display_type":"error dashed","value":"y=500000","label":"y=500000"},{"display_type":"warning dashed","value":"y=400000","label":"y=400000"}],"time":{"live_span":"5m"},"title":"system.cpu.user, env, process.stat.cpu.total_pct, network.bytes_read, @d...","legend_size":"2","type":"timeseries","requests":[{"on_right_yaxis":true,"style":{"line_width":"normal","palette":"cool","line_type":"solid"},"display_type":"line","log_query":{"index":"*","search":{"query":""},"group_by":[{"facet":"service","sort":{"aggregation":"count","order":"desc"},"limit":10}],"multi_compute":[{"aggregation":"count"},{"facet":"env","interval":1000,"aggregation":"cardinality"}]}}]},"id":4662406963868713}],"layout_type":"ordered"}' headers: Cache-Control: - no-cache @@ -70,7 +70,7 @@ interactions: Content-Type: - application/json Date: - - Mon, 24 May 2021 14:36:12 GMT + - Thu, 18 Mar 2021 17:33:23 GMT Pragma: - no-cache Strict-Transport-Security: @@ -80,9 +80,9 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Debug: - - LcgNasIYBRkNppmD6mCKE9J6iv0eEjosuuHR5V5zw2fWbR54i39C8dhdK8zDq/40 + - bgHykj7A9bfZx0Y5ZO3swhhp5tGUSNJHqFWR868+qg087CYrDOd5hQslC+noiEtH X-Dd-Version: - - "35.4593741" + - "35.4125004" X-Frame-Options: - SAMEORIGIN status: 200 OK @@ -97,11 +97,11 @@ interactions: Dd-Operation-Id: - GetDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) - url: https://api.datadoghq.com/api/v1/dashboard/ssj-vgy-c34 + - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.18+dev (go go1.15.7; os darwin; arch amd64) + url: https://api.datadoghq.com/api/v1/dashboard/edu-dm8-kss method: GET response: - body: '{"notify_list":[],"description":"Created using the Datadog provider in Terraform","restricted_roles":["284d8b66-93f9-11eb-9c37-da7ad0900002","043a2842-e140-11e8-bb04-7fd10177666e","657de3a2-29f8-11eb-83b5-6b8ebfb2f184","e82bf27a-986c-11eb-9cba-da7ad0900002","f257ba30-dbb2-11ea-a5ff-5fd1d308318a","6bf314be-5c16-11eb-8e98-2356ea436065","62cbc476-5c16-11eb-8e98-0388ea7a41f8","08604de8-1dca-11eb-800c-9f5f55ff734d","9b3ab170-b768-11eb-a45a-da7ad0900002","7a83f306-96ca-11eb-9c74-da7ad0900002","16169788-28e4-11eb-832c-fb84162ef3eb","4de53192-9946-11eb-9cee-da7ad0900002","1302282c-b93b-11eb-a436-da7ad0900002","17d73994-7531-11eb-94b9-da7ad0900002"],"author_name":"Qin Chen","template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"ssj-vgy-c34","title":"tf-TestAccDatadogDashboardTimeseriesMultiCompute_import-local-1621866970","url":"/dashboard/ssj-vgy-c34/tf-testaccdatadogdashboardtimeseriesmulticomputeimport-local-1621866970","created_at":"2021-05-24T14:36:12.074330+00:00","modified_at":"2021-05-24T14:36:12.074330+00:00","author_handle":"qin.chen@datadoghq.com","widgets":[{"definition":{"title_size":"16","yaxis":{"include_zero":true,"min":"0","max":"599999"},"title_align":"left","right_yaxis":{"include_zero":false,"min":"1","max":"599998"},"events":[{"q":"sources:test tags:1","tags_execution":"and"}],"show_legend":true,"markers":[{"display_type":"error dashed","value":"y=500000","label":"y=500000"},{"display_type":"warning dashed","value":"y=400000","label":"y=400000"}],"time":{"live_span":"5m"},"title":"system.cpu.user, env, process.stat.cpu.total_pct, network.bytes_read, @d...","legend_size":"2","type":"timeseries","requests":[{"on_right_yaxis":true,"style":{"line_width":"normal","palette":"cool","line_type":"solid"},"display_type":"line","log_query":{"index":"*","search":{"query":""},"group_by":[{"facet":"service","sort":{"aggregation":"count","order":"desc"},"limit":10}],"multi_compute":[{"aggregation":"count"},{"facet":"env","interval":1000,"aggregation":"cardinality"}]}}]},"id":828015928397007}],"layout_type":"ordered"}' + body: '{"notify_list":[],"description":"Created using the Datadog provider in Terraform","author_name":null,"template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"edu-dm8-kss","title":"tf-TestAccDatadogDashboardTimeseriesMultiCompute_import-local-1616088799","url":"/dashboard/edu-dm8-kss/tf-testaccdatadogdashboardtimeseriesmulticomputeimport-local-1616088799","created_at":"2021-03-18T17:33:20.584024+00:00","modified_at":"2021-03-18T17:33:20.584024+00:00","author_handle":"frog@datadoghq.com","widgets":[{"definition":{"title_size":"16","yaxis":{"include_zero":true,"min":"0","max":"599999"},"title_align":"left","right_yaxis":{"include_zero":false,"min":"1","max":"599998"},"events":[{"q":"sources:test tags:1","tags_execution":"and"}],"show_legend":true,"markers":[{"display_type":"error dashed","value":"y=500000","label":"y=500000"},{"display_type":"warning dashed","value":"y=400000","label":"y=400000"}],"time":{"live_span":"5m"},"title":"system.cpu.user, env, process.stat.cpu.total_pct, network.bytes_read, @d...","legend_size":"2","type":"timeseries","requests":[{"on_right_yaxis":true,"style":{"line_width":"normal","palette":"cool","line_type":"solid"},"display_type":"line","log_query":{"index":"*","search":{"query":""},"group_by":[{"facet":"service","sort":{"aggregation":"count","order":"desc"},"limit":10}],"multi_compute":[{"aggregation":"count"},{"facet":"env","interval":1000,"aggregation":"cardinality"}]}}]},"id":4662406963868713}],"layout_type":"ordered"}' headers: Cache-Control: - no-cache @@ -112,7 +112,7 @@ interactions: Content-Type: - application/json Date: - - Mon, 24 May 2021 14:36:12 GMT + - Thu, 18 Mar 2021 17:33:24 GMT Pragma: - no-cache Strict-Transport-Security: @@ -122,9 +122,9 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Debug: - - HbtaOKlJ6OCrx9tMXO6ivMTrEM+g0c93HDp08trmOmgdHozC5J+vn10F0H4WPjCU + - dCmL/3rURV6BPeaqeP3Rxigq41m5CAb17XjrRE42uZ01zpr07HVhbL5/3TWMkvgu X-Dd-Version: - - "35.4593741" + - "35.4125004" X-Frame-Options: - SAMEORIGIN status: 200 OK @@ -139,11 +139,11 @@ interactions: Dd-Operation-Id: - GetDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) - url: https://api.datadoghq.com/api/v1/dashboard/ssj-vgy-c34 + - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.18+dev (go go1.15.7; os darwin; arch amd64) + url: https://api.datadoghq.com/api/v1/dashboard/edu-dm8-kss method: GET response: - body: '{"notify_list":[],"description":"Created using the Datadog provider in Terraform","restricted_roles":["284d8b66-93f9-11eb-9c37-da7ad0900002","043a2842-e140-11e8-bb04-7fd10177666e","657de3a2-29f8-11eb-83b5-6b8ebfb2f184","e82bf27a-986c-11eb-9cba-da7ad0900002","f257ba30-dbb2-11ea-a5ff-5fd1d308318a","6bf314be-5c16-11eb-8e98-2356ea436065","62cbc476-5c16-11eb-8e98-0388ea7a41f8","08604de8-1dca-11eb-800c-9f5f55ff734d","9b3ab170-b768-11eb-a45a-da7ad0900002","7a83f306-96ca-11eb-9c74-da7ad0900002","16169788-28e4-11eb-832c-fb84162ef3eb","4de53192-9946-11eb-9cee-da7ad0900002","1302282c-b93b-11eb-a436-da7ad0900002","17d73994-7531-11eb-94b9-da7ad0900002"],"author_name":"Qin Chen","template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"ssj-vgy-c34","title":"tf-TestAccDatadogDashboardTimeseriesMultiCompute_import-local-1621866970","url":"/dashboard/ssj-vgy-c34/tf-testaccdatadogdashboardtimeseriesmulticomputeimport-local-1621866970","created_at":"2021-05-24T14:36:12.074330+00:00","modified_at":"2021-05-24T14:36:12.074330+00:00","author_handle":"qin.chen@datadoghq.com","widgets":[{"definition":{"title_size":"16","yaxis":{"include_zero":true,"min":"0","max":"599999"},"title_align":"left","right_yaxis":{"include_zero":false,"min":"1","max":"599998"},"events":[{"q":"sources:test tags:1","tags_execution":"and"}],"show_legend":true,"markers":[{"display_type":"error dashed","value":"y=500000","label":"y=500000"},{"display_type":"warning dashed","value":"y=400000","label":"y=400000"}],"time":{"live_span":"5m"},"title":"system.cpu.user, env, process.stat.cpu.total_pct, network.bytes_read, @d...","legend_size":"2","type":"timeseries","requests":[{"on_right_yaxis":true,"style":{"line_width":"normal","palette":"cool","line_type":"solid"},"display_type":"line","log_query":{"index":"*","search":{"query":""},"group_by":[{"facet":"service","sort":{"aggregation":"count","order":"desc"},"limit":10}],"multi_compute":[{"aggregation":"count"},{"facet":"env","interval":1000,"aggregation":"cardinality"}]}}]},"id":828015928397007}],"layout_type":"ordered"}' + body: '{"notify_list":[],"description":"Created using the Datadog provider in Terraform","author_name":null,"template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"edu-dm8-kss","title":"tf-TestAccDatadogDashboardTimeseriesMultiCompute_import-local-1616088799","url":"/dashboard/edu-dm8-kss/tf-testaccdatadogdashboardtimeseriesmulticomputeimport-local-1616088799","created_at":"2021-03-18T17:33:20.584024+00:00","modified_at":"2021-03-18T17:33:20.584024+00:00","author_handle":"frog@datadoghq.com","widgets":[{"definition":{"title_size":"16","yaxis":{"include_zero":true,"min":"0","max":"599999"},"title_align":"left","right_yaxis":{"include_zero":false,"min":"1","max":"599998"},"events":[{"q":"sources:test tags:1","tags_execution":"and"}],"show_legend":true,"markers":[{"display_type":"error dashed","value":"y=500000","label":"y=500000"},{"display_type":"warning dashed","value":"y=400000","label":"y=400000"}],"time":{"live_span":"5m"},"title":"system.cpu.user, env, process.stat.cpu.total_pct, network.bytes_read, @d...","legend_size":"2","type":"timeseries","requests":[{"on_right_yaxis":true,"style":{"line_width":"normal","palette":"cool","line_type":"solid"},"display_type":"line","log_query":{"index":"*","search":{"query":""},"group_by":[{"facet":"service","sort":{"aggregation":"count","order":"desc"},"limit":10}],"multi_compute":[{"aggregation":"count"},{"facet":"env","interval":1000,"aggregation":"cardinality"}]}}]},"id":4662406963868713}],"layout_type":"ordered"}' headers: Cache-Control: - no-cache @@ -154,7 +154,7 @@ interactions: Content-Type: - application/json Date: - - Mon, 24 May 2021 14:36:13 GMT + - Thu, 18 Mar 2021 17:33:24 GMT Pragma: - no-cache Strict-Transport-Security: @@ -164,9 +164,9 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Debug: - - dPySkcOzIZtKyMKDAAzuysY3gNGGj6RtYogGuSb76E8mPvoqzREyRp6lPYm91hQU + - l8RQo2maZqJf6GFThBbKNE6dvthz6njusVtau3dPXJWL2RLFoN81H+BLPB/1xgs1 X-Dd-Version: - - "35.4593741" + - "35.4125004" X-Frame-Options: - SAMEORIGIN status: 200 OK @@ -181,11 +181,11 @@ interactions: Dd-Operation-Id: - GetDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) - url: https://api.datadoghq.com/api/v1/dashboard/ssj-vgy-c34 + - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.18+dev (go go1.15.7; os darwin; arch amd64) + url: https://api.datadoghq.com/api/v1/dashboard/edu-dm8-kss method: GET response: - body: '{"notify_list":[],"description":"Created using the Datadog provider in Terraform","restricted_roles":["284d8b66-93f9-11eb-9c37-da7ad0900002","043a2842-e140-11e8-bb04-7fd10177666e","657de3a2-29f8-11eb-83b5-6b8ebfb2f184","e82bf27a-986c-11eb-9cba-da7ad0900002","f257ba30-dbb2-11ea-a5ff-5fd1d308318a","6bf314be-5c16-11eb-8e98-2356ea436065","62cbc476-5c16-11eb-8e98-0388ea7a41f8","08604de8-1dca-11eb-800c-9f5f55ff734d","9b3ab170-b768-11eb-a45a-da7ad0900002","7a83f306-96ca-11eb-9c74-da7ad0900002","16169788-28e4-11eb-832c-fb84162ef3eb","4de53192-9946-11eb-9cee-da7ad0900002","1302282c-b93b-11eb-a436-da7ad0900002","17d73994-7531-11eb-94b9-da7ad0900002"],"author_name":"Qin Chen","template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"ssj-vgy-c34","title":"tf-TestAccDatadogDashboardTimeseriesMultiCompute_import-local-1621866970","url":"/dashboard/ssj-vgy-c34/tf-testaccdatadogdashboardtimeseriesmulticomputeimport-local-1621866970","created_at":"2021-05-24T14:36:12.074330+00:00","modified_at":"2021-05-24T14:36:12.074330+00:00","author_handle":"qin.chen@datadoghq.com","widgets":[{"definition":{"title_size":"16","yaxis":{"include_zero":true,"min":"0","max":"599999"},"title_align":"left","right_yaxis":{"include_zero":false,"min":"1","max":"599998"},"events":[{"q":"sources:test tags:1","tags_execution":"and"}],"show_legend":true,"markers":[{"display_type":"error dashed","value":"y=500000","label":"y=500000"},{"display_type":"warning dashed","value":"y=400000","label":"y=400000"}],"time":{"live_span":"5m"},"title":"system.cpu.user, env, process.stat.cpu.total_pct, network.bytes_read, @d...","legend_size":"2","type":"timeseries","requests":[{"on_right_yaxis":true,"style":{"line_width":"normal","palette":"cool","line_type":"solid"},"display_type":"line","log_query":{"index":"*","search":{"query":""},"group_by":[{"facet":"service","sort":{"aggregation":"count","order":"desc"},"limit":10}],"multi_compute":[{"aggregation":"count"},{"facet":"env","interval":1000,"aggregation":"cardinality"}]}}]},"id":828015928397007}],"layout_type":"ordered"}' + body: '{"notify_list":[],"description":"Created using the Datadog provider in Terraform","author_name":null,"template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"edu-dm8-kss","title":"tf-TestAccDatadogDashboardTimeseriesMultiCompute_import-local-1616088799","url":"/dashboard/edu-dm8-kss/tf-testaccdatadogdashboardtimeseriesmulticomputeimport-local-1616088799","created_at":"2021-03-18T17:33:20.584024+00:00","modified_at":"2021-03-18T17:33:20.584024+00:00","author_handle":"frog@datadoghq.com","widgets":[{"definition":{"title_size":"16","yaxis":{"include_zero":true,"min":"0","max":"599999"},"title_align":"left","right_yaxis":{"include_zero":false,"min":"1","max":"599998"},"events":[{"q":"sources:test tags:1","tags_execution":"and"}],"show_legend":true,"markers":[{"display_type":"error dashed","value":"y=500000","label":"y=500000"},{"display_type":"warning dashed","value":"y=400000","label":"y=400000"}],"time":{"live_span":"5m"},"title":"system.cpu.user, env, process.stat.cpu.total_pct, network.bytes_read, @d...","legend_size":"2","type":"timeseries","requests":[{"on_right_yaxis":true,"style":{"line_width":"normal","palette":"cool","line_type":"solid"},"display_type":"line","log_query":{"index":"*","search":{"query":""},"group_by":[{"facet":"service","sort":{"aggregation":"count","order":"desc"},"limit":10}],"multi_compute":[{"aggregation":"count"},{"facet":"env","interval":1000,"aggregation":"cardinality"}]}}]},"id":4662406963868713}],"layout_type":"ordered"}' headers: Cache-Control: - no-cache @@ -196,7 +196,7 @@ interactions: Content-Type: - application/json Date: - - Mon, 24 May 2021 14:36:13 GMT + - Thu, 18 Mar 2021 17:33:24 GMT Pragma: - no-cache Strict-Transport-Security: @@ -206,9 +206,9 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Debug: - - 5gfwVh/5HZ+AnGd/Di93w3NEWC6KMHT9KzmHEiRJmNdOjBtAsbOcgVFyqEChw71h + - bgHykj7A9bfZx0Y5ZO3swhhp5tGUSNJHqFWR868+qg087CYrDOd5hQslC+noiEtH X-Dd-Version: - - "35.4593741" + - "35.4125004" X-Frame-Options: - SAMEORIGIN status: 200 OK @@ -223,11 +223,11 @@ interactions: Dd-Operation-Id: - GetDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) - url: https://api.datadoghq.com/api/v1/dashboard/ssj-vgy-c34 + - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.18+dev (go go1.15.7; os darwin; arch amd64) + url: https://api.datadoghq.com/api/v1/dashboard/edu-dm8-kss method: GET response: - body: '{"notify_list":[],"description":"Created using the Datadog provider in Terraform","restricted_roles":["284d8b66-93f9-11eb-9c37-da7ad0900002","043a2842-e140-11e8-bb04-7fd10177666e","657de3a2-29f8-11eb-83b5-6b8ebfb2f184","e82bf27a-986c-11eb-9cba-da7ad0900002","f257ba30-dbb2-11ea-a5ff-5fd1d308318a","6bf314be-5c16-11eb-8e98-2356ea436065","62cbc476-5c16-11eb-8e98-0388ea7a41f8","08604de8-1dca-11eb-800c-9f5f55ff734d","9b3ab170-b768-11eb-a45a-da7ad0900002","7a83f306-96ca-11eb-9c74-da7ad0900002","16169788-28e4-11eb-832c-fb84162ef3eb","4de53192-9946-11eb-9cee-da7ad0900002","1302282c-b93b-11eb-a436-da7ad0900002","17d73994-7531-11eb-94b9-da7ad0900002"],"author_name":"Qin Chen","template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"ssj-vgy-c34","title":"tf-TestAccDatadogDashboardTimeseriesMultiCompute_import-local-1621866970","url":"/dashboard/ssj-vgy-c34/tf-testaccdatadogdashboardtimeseriesmulticomputeimport-local-1621866970","created_at":"2021-05-24T14:36:12.074330+00:00","modified_at":"2021-05-24T14:36:12.074330+00:00","author_handle":"qin.chen@datadoghq.com","widgets":[{"definition":{"title_size":"16","yaxis":{"include_zero":true,"min":"0","max":"599999"},"title_align":"left","right_yaxis":{"include_zero":false,"min":"1","max":"599998"},"events":[{"q":"sources:test tags:1","tags_execution":"and"}],"show_legend":true,"markers":[{"display_type":"error dashed","value":"y=500000","label":"y=500000"},{"display_type":"warning dashed","value":"y=400000","label":"y=400000"}],"time":{"live_span":"5m"},"title":"system.cpu.user, env, process.stat.cpu.total_pct, network.bytes_read, @d...","legend_size":"2","type":"timeseries","requests":[{"on_right_yaxis":true,"style":{"line_width":"normal","palette":"cool","line_type":"solid"},"display_type":"line","log_query":{"index":"*","search":{"query":""},"group_by":[{"facet":"service","sort":{"aggregation":"count","order":"desc"},"limit":10}],"multi_compute":[{"aggregation":"count"},{"facet":"env","interval":1000,"aggregation":"cardinality"}]}}]},"id":828015928397007}],"layout_type":"ordered"}' + body: '{"notify_list":[],"description":"Created using the Datadog provider in Terraform","author_name":null,"template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"edu-dm8-kss","title":"tf-TestAccDatadogDashboardTimeseriesMultiCompute_import-local-1616088799","url":"/dashboard/edu-dm8-kss/tf-testaccdatadogdashboardtimeseriesmulticomputeimport-local-1616088799","created_at":"2021-03-18T17:33:20.584024+00:00","modified_at":"2021-03-18T17:33:20.584024+00:00","author_handle":"frog@datadoghq.com","widgets":[{"definition":{"title_size":"16","yaxis":{"include_zero":true,"min":"0","max":"599999"},"title_align":"left","right_yaxis":{"include_zero":false,"min":"1","max":"599998"},"events":[{"q":"sources:test tags:1","tags_execution":"and"}],"show_legend":true,"markers":[{"display_type":"error dashed","value":"y=500000","label":"y=500000"},{"display_type":"warning dashed","value":"y=400000","label":"y=400000"}],"time":{"live_span":"5m"},"title":"system.cpu.user, env, process.stat.cpu.total_pct, network.bytes_read, @d...","legend_size":"2","type":"timeseries","requests":[{"on_right_yaxis":true,"style":{"line_width":"normal","palette":"cool","line_type":"solid"},"display_type":"line","log_query":{"index":"*","search":{"query":""},"group_by":[{"facet":"service","sort":{"aggregation":"count","order":"desc"},"limit":10}],"multi_compute":[{"aggregation":"count"},{"facet":"env","interval":1000,"aggregation":"cardinality"}]}}]},"id":4662406963868713}],"layout_type":"ordered"}' headers: Cache-Control: - no-cache @@ -238,7 +238,7 @@ interactions: Content-Type: - application/json Date: - - Mon, 24 May 2021 14:36:13 GMT + - Thu, 18 Mar 2021 17:33:25 GMT Pragma: - no-cache Strict-Transport-Security: @@ -248,9 +248,9 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Debug: - - HbtaOKlJ6OCrx9tMXO6ivMTrEM+g0c93HDp08trmOmgdHozC5J+vn10F0H4WPjCU + - B1nwy/pPNqX+q4pQT22cdp1QCexE35IF8qwSHy0Nf7IW0Y881qtn4tXN1lpmzaKc X-Dd-Version: - - "35.4593741" + - "35.4125004" X-Frame-Options: - SAMEORIGIN status: 200 OK @@ -265,11 +265,11 @@ interactions: Dd-Operation-Id: - DeleteDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) - url: https://api.datadoghq.com/api/v1/dashboard/ssj-vgy-c34 + - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.18+dev (go go1.15.7; os darwin; arch amd64) + url: https://api.datadoghq.com/api/v1/dashboard/edu-dm8-kss method: DELETE response: - body: '{"deleted_dashboard_id":"ssj-vgy-c34"}' + body: '{"deleted_dashboard_id":"edu-dm8-kss"}' headers: Cache-Control: - no-cache @@ -280,7 +280,7 @@ interactions: Content-Type: - application/json Date: - - Mon, 24 May 2021 14:36:14 GMT + - Thu, 18 Mar 2021 17:33:25 GMT Pragma: - no-cache Strict-Transport-Security: @@ -290,9 +290,9 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Debug: - - 5gfwVh/5HZ+AnGd/Di93w3NEWC6KMHT9KzmHEiRJmNdOjBtAsbOcgVFyqEChw71h + - SY1h8ScsWq+kYmtbh63ltMLFAZsQjqfrgvdfAoRX+9TzT1sgMBRYaFRwfWWRRe9a X-Dd-Version: - - "35.4593741" + - "35.4125004" X-Frame-Options: - SAMEORIGIN status: 200 OK @@ -307,11 +307,11 @@ interactions: Dd-Operation-Id: - GetDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) - url: https://api.datadoghq.com/api/v1/dashboard/ssj-vgy-c34 + - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.18+dev (go go1.15.7; os darwin; arch amd64) + url: https://api.datadoghq.com/api/v1/dashboard/edu-dm8-kss method: GET response: - body: '{"errors": ["Dashboard with ID ssj-vgy-c34 not found"]}' + body: '{"errors": ["Dashboard with ID edu-dm8-kss not found"]}' headers: Cache-Control: - no-cache @@ -322,7 +322,7 @@ interactions: Content-Type: - application/json Date: - - Mon, 24 May 2021 14:36:14 GMT + - Thu, 18 Mar 2021 17:33:25 GMT Pragma: - no-cache Strict-Transport-Security: @@ -332,7 +332,7 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Version: - - "35.4593741" + - "35.4125004" X-Frame-Options: - SAMEORIGIN status: 404 Not Found diff --git a/datadog/tests/cassettes/TestAccDatadogDashboardTimeseries_import.freeze b/datadog/tests/cassettes/TestAccDatadogDashboardTimeseries_import.freeze index 348295041..da4a3bf91 100644 --- a/datadog/tests/cassettes/TestAccDatadogDashboardTimeseries_import.freeze +++ b/datadog/tests/cassettes/TestAccDatadogDashboardTimeseries_import.freeze @@ -1 +1 @@ -2021-05-24T10:37:36.3172-04:00 \ No newline at end of file +2021-03-18T18:33:19.520881+01:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogDashboardTopList.freeze b/datadog/tests/cassettes/TestAccDatadogDashboardTopList.freeze index 00ee0a43c..6c427570f 100644 --- a/datadog/tests/cassettes/TestAccDatadogDashboardTopList.freeze +++ b/datadog/tests/cassettes/TestAccDatadogDashboardTopList.freeze @@ -1 +1 @@ -2021-05-24T10:37:41.493297-04:00 \ No newline at end of file +2021-04-16T13:25:09.299432-04:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogDashboardTopList.yaml b/datadog/tests/cassettes/TestAccDatadogDashboardTopList.yaml index 07f29d94f..918de0c6a 100644 --- a/datadog/tests/cassettes/TestAccDatadogDashboardTopList.yaml +++ b/datadog/tests/cassettes/TestAccDatadogDashboardTopList.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-TestAccDatadogDashboardTopList-local-1621867061","widgets":[{"definition":{"custom_links":[{"label":"Test Custom Link label","link":"https://app.datadoghq.com/dashboard/lists"},{"is_hidden":true,"link":"https://app.datadoghq.com/dashboard/lists","override_label":"logs"}],"requests":[{"conditional_formats":[{"comparator":"\u003e","hide_value":false,"palette":"white_on_red","value":15000}],"q":"top(avg:system.core.user{account:prod} by {service,app}, 10, 'sum', 'desc')"}],"time":{"live_span":"1w"},"title":"Avg of system.core.user over account:prod by service,app","title_align":"right","title_size":"16","type":"toplist"}},{"definition":{"custom_links":[{"label":"Test Custom Link label","link":"https://app.datadoghq.com/dashboard/lists"}],"requests":[{"conditional_formats":[{"comparator":"\u003e","hide_value":false,"palette":"white_on_red","value":15000}],"q":"top(avg:system.core.user{account:prod} by {service,app}, 10, 'sum', 'desc')"}],"time":{"live_span":"1w"},"title":"Avg of system.core.user over account:prod by service,app","title_align":"right","title_size":"16","type":"toplist"}}]} + {"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-TestAccDatadogDashboardTopList-local-1618593909","widgets":[{"definition":{"custom_links":[{"label":"Test Custom Link label","link":"https://app.datadoghq.com/dashboard/lists"}],"requests":[{"conditional_formats":[{"comparator":"\u003e","hide_value":false,"palette":"white_on_red","value":15000}],"q":"top(avg:system.core.user{account:prod} by {service,app}, 10, 'sum', 'desc')"}],"time":{"live_span":"1w"},"title":"Avg of system.core.user over account:prod by service,app","title_align":"right","title_size":"16","type":"toplist"}},{"definition":{"custom_links":[{"label":"Test Custom Link label","link":"https://app.datadoghq.com/dashboard/lists"}],"requests":[{"conditional_formats":[{"comparator":"\u003e","hide_value":false,"palette":"white_on_red","value":15000}],"q":"top(avg:system.core.user{account:prod} by {service,app}, 10, 'sum', 'desc')"}],"time":{"live_span":"1w"},"title":"Avg of system.core.user over account:prod by service,app","title_align":"right","title_size":"16","type":"toplist"}}]} form: {} headers: Accept: @@ -13,11 +13,11 @@ interactions: Dd-Operation-Id: - CreateDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) + - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.19+dev (go go1.15.6; os darwin; arch amd64) url: https://api.datadoghq.com/api/v1/dashboard method: POST response: - body: '{"notify_list":[],"description":"Created using the Datadog provider in Terraform","restricted_roles":["043a2842-e140-11e8-bb04-7fd10177666e","08604de8-1dca-11eb-800c-9f5f55ff734d","1302282c-b93b-11eb-a436-da7ad0900002","16169788-28e4-11eb-832c-fb84162ef3eb","17d73994-7531-11eb-94b9-da7ad0900002","284d8b66-93f9-11eb-9c37-da7ad0900002","4de53192-9946-11eb-9cee-da7ad0900002","62cbc476-5c16-11eb-8e98-0388ea7a41f8","657de3a2-29f8-11eb-83b5-6b8ebfb2f184","6bf314be-5c16-11eb-8e98-2356ea436065","7a83f306-96ca-11eb-9c74-da7ad0900002","9b3ab170-b768-11eb-a45a-da7ad0900002","e82bf27a-986c-11eb-9cba-da7ad0900002","f257ba30-dbb2-11ea-a5ff-5fd1d308318a"],"author_name":"Qin Chen","template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"sgu-apz-p35","title":"tf-TestAccDatadogDashboardTopList-local-1621867061","url":"/dashboard/sgu-apz-p35/tf-testaccdatadogdashboardtoplist-local-1621867061","created_at":"2021-05-24T14:37:43.367366+00:00","modified_at":"2021-05-24T14:37:43.367366+00:00","author_handle":"qin.chen@datadoghq.com","widgets":[{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test Custom Link label"},{"override_label":"logs","is_hidden":true,"link":"https://app.datadoghq.com/dashboard/lists"}],"title_size":"16","title":"Avg of system.core.user over account:prod by service,app","title_align":"right","time":{"live_span":"1w"},"requests":[{"q":"top(avg:system.core.user{account:prod} by {service,app}, 10, ''sum'', ''desc'')","conditional_formats":[{"palette":"white_on_red","hide_value":false,"value":15000,"comparator":">"}]}],"type":"toplist"},"id":2610233465084590},{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test Custom Link label"}],"title_size":"16","title":"Avg of system.core.user over account:prod by service,app","title_align":"right","time":{"live_span":"1w"},"requests":[{"q":"top(avg:system.core.user{account:prod} by {service,app}, 10, ''sum'', ''desc'')","conditional_formats":[{"palette":"white_on_red","hide_value":false,"value":15000,"comparator":">"}]}],"type":"toplist"},"id":1901104524129795}],"layout_type":"ordered"}' + body: '{"notify_list":[],"description":"Created using the Datadog provider in Terraform","author_name":null,"template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"iki-r6j-i7m","title":"tf-TestAccDatadogDashboardTopList-local-1618593909","url":"/dashboard/iki-r6j-i7m/tf-testaccdatadogdashboardtoplist-local-1618593909","created_at":"2021-04-16T17:25:10.189326+00:00","modified_at":"2021-04-16T17:25:10.189326+00:00","author_handle":"frog@datadoghq.com","widgets":[{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test Custom Link label"}],"title_size":"16","title":"Avg of system.core.user over account:prod by service,app","title_align":"right","time":{"live_span":"1w"},"requests":[{"q":"top(avg:system.core.user{account:prod} by {service,app}, 10, ''sum'', ''desc'')","conditional_formats":[{"palette":"white_on_red","hide_value":false,"value":15000,"comparator":">"}]}],"type":"toplist"},"id":1666692195672788},{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test Custom Link label"}],"title_size":"16","title":"Avg of system.core.user over account:prod by service,app","title_align":"right","time":{"live_span":"1w"},"requests":[{"q":"top(avg:system.core.user{account:prod} by {service,app}, 10, ''sum'', ''desc'')","conditional_formats":[{"palette":"white_on_red","hide_value":false,"value":15000,"comparator":">"}]}],"type":"toplist"},"id":2972998670623026}],"layout_type":"ordered"}' headers: Cache-Control: - no-cache @@ -28,7 +28,7 @@ interactions: Content-Type: - application/json Date: - - Mon, 24 May 2021 14:37:43 GMT + - Fri, 16 Apr 2021 17:25:14 GMT Pragma: - no-cache Strict-Transport-Security: @@ -38,9 +38,9 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Debug: - - 5gfwVh/5HZ+AnGd/Di93w3NEWC6KMHT9KzmHEiRJmNdOjBtAsbOcgVFyqEChw71h + - l8RQo2maZqJf6GFThBbKNE6dvthz6njusVtau3dPXJWL2RLFoN81H+BLPB/1xgs1 X-Dd-Version: - - "35.4593741" + - "35.4330587" X-Frame-Options: - SAMEORIGIN status: 200 OK @@ -55,11 +55,11 @@ interactions: Dd-Operation-Id: - GetDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) - url: https://api.datadoghq.com/api/v1/dashboard/sgu-apz-p35 + - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.19+dev (go go1.15.6; os darwin; arch amd64) + url: https://api.datadoghq.com/api/v1/dashboard/iki-r6j-i7m method: GET response: - body: '{"notify_list":[],"description":"Created using the Datadog provider in Terraform","restricted_roles":["284d8b66-93f9-11eb-9c37-da7ad0900002","043a2842-e140-11e8-bb04-7fd10177666e","657de3a2-29f8-11eb-83b5-6b8ebfb2f184","e82bf27a-986c-11eb-9cba-da7ad0900002","f257ba30-dbb2-11ea-a5ff-5fd1d308318a","6bf314be-5c16-11eb-8e98-2356ea436065","62cbc476-5c16-11eb-8e98-0388ea7a41f8","08604de8-1dca-11eb-800c-9f5f55ff734d","9b3ab170-b768-11eb-a45a-da7ad0900002","7a83f306-96ca-11eb-9c74-da7ad0900002","16169788-28e4-11eb-832c-fb84162ef3eb","4de53192-9946-11eb-9cee-da7ad0900002","1302282c-b93b-11eb-a436-da7ad0900002","17d73994-7531-11eb-94b9-da7ad0900002"],"author_name":"Qin Chen","template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"sgu-apz-p35","title":"tf-TestAccDatadogDashboardTopList-local-1621867061","url":"/dashboard/sgu-apz-p35/tf-testaccdatadogdashboardtoplist-local-1621867061","created_at":"2021-05-24T14:37:43.367366+00:00","modified_at":"2021-05-24T14:37:43.367366+00:00","author_handle":"qin.chen@datadoghq.com","widgets":[{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test Custom Link label"},{"override_label":"logs","is_hidden":true,"link":"https://app.datadoghq.com/dashboard/lists"}],"title_size":"16","title":"Avg of system.core.user over account:prod by service,app","title_align":"right","time":{"live_span":"1w"},"requests":[{"q":"top(avg:system.core.user{account:prod} by {service,app}, 10, ''sum'', ''desc'')","conditional_formats":[{"palette":"white_on_red","hide_value":false,"value":15000,"comparator":">"}]}],"type":"toplist"},"id":2610233465084590},{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test Custom Link label"}],"title_size":"16","title":"Avg of system.core.user over account:prod by service,app","title_align":"right","time":{"live_span":"1w"},"requests":[{"q":"top(avg:system.core.user{account:prod} by {service,app}, 10, ''sum'', ''desc'')","conditional_formats":[{"palette":"white_on_red","hide_value":false,"value":15000,"comparator":">"}]}],"type":"toplist"},"id":1901104524129795}],"layout_type":"ordered"}' + body: '{"notify_list":[],"description":"Created using the Datadog provider in Terraform","author_name":null,"template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"iki-r6j-i7m","title":"tf-TestAccDatadogDashboardTopList-local-1618593909","url":"/dashboard/iki-r6j-i7m/tf-testaccdatadogdashboardtoplist-local-1618593909","created_at":"2021-04-16T17:25:10.189326+00:00","modified_at":"2021-04-16T17:25:10.189326+00:00","author_handle":"frog@datadoghq.com","widgets":[{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test Custom Link label"}],"title_size":"16","title":"Avg of system.core.user over account:prod by service,app","title_align":"right","time":{"live_span":"1w"},"requests":[{"q":"top(avg:system.core.user{account:prod} by {service,app}, 10, ''sum'', ''desc'')","conditional_formats":[{"palette":"white_on_red","hide_value":false,"value":15000,"comparator":">"}]}],"type":"toplist"},"id":1666692195672788},{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test Custom Link label"}],"title_size":"16","title":"Avg of system.core.user over account:prod by service,app","title_align":"right","time":{"live_span":"1w"},"requests":[{"q":"top(avg:system.core.user{account:prod} by {service,app}, 10, ''sum'', ''desc'')","conditional_formats":[{"palette":"white_on_red","hide_value":false,"value":15000,"comparator":">"}]}],"type":"toplist"},"id":2972998670623026}],"layout_type":"ordered"}' headers: Cache-Control: - no-cache @@ -70,7 +70,7 @@ interactions: Content-Type: - application/json Date: - - Mon, 24 May 2021 14:37:43 GMT + - Fri, 16 Apr 2021 17:25:14 GMT Pragma: - no-cache Strict-Transport-Security: @@ -80,9 +80,9 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Debug: - - dPySkcOzIZtKyMKDAAzuysY3gNGGj6RtYogGuSb76E8mPvoqzREyRp6lPYm91hQU + - l8RQo2maZqJf6GFThBbKNE6dvthz6njusVtau3dPXJWL2RLFoN81H+BLPB/1xgs1 X-Dd-Version: - - "35.4593741" + - "35.4330587" X-Frame-Options: - SAMEORIGIN status: 200 OK @@ -97,11 +97,11 @@ interactions: Dd-Operation-Id: - GetDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) - url: https://api.datadoghq.com/api/v1/dashboard/sgu-apz-p35 + - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.19+dev (go go1.15.6; os darwin; arch amd64) + url: https://api.datadoghq.com/api/v1/dashboard/iki-r6j-i7m method: GET response: - body: '{"notify_list":[],"description":"Created using the Datadog provider in Terraform","restricted_roles":["284d8b66-93f9-11eb-9c37-da7ad0900002","043a2842-e140-11e8-bb04-7fd10177666e","657de3a2-29f8-11eb-83b5-6b8ebfb2f184","e82bf27a-986c-11eb-9cba-da7ad0900002","f257ba30-dbb2-11ea-a5ff-5fd1d308318a","6bf314be-5c16-11eb-8e98-2356ea436065","62cbc476-5c16-11eb-8e98-0388ea7a41f8","08604de8-1dca-11eb-800c-9f5f55ff734d","9b3ab170-b768-11eb-a45a-da7ad0900002","7a83f306-96ca-11eb-9c74-da7ad0900002","16169788-28e4-11eb-832c-fb84162ef3eb","4de53192-9946-11eb-9cee-da7ad0900002","1302282c-b93b-11eb-a436-da7ad0900002","17d73994-7531-11eb-94b9-da7ad0900002"],"author_name":"Qin Chen","template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"sgu-apz-p35","title":"tf-TestAccDatadogDashboardTopList-local-1621867061","url":"/dashboard/sgu-apz-p35/tf-testaccdatadogdashboardtoplist-local-1621867061","created_at":"2021-05-24T14:37:43.367366+00:00","modified_at":"2021-05-24T14:37:43.367366+00:00","author_handle":"qin.chen@datadoghq.com","widgets":[{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test Custom Link label"},{"override_label":"logs","is_hidden":true,"link":"https://app.datadoghq.com/dashboard/lists"}],"title_size":"16","title":"Avg of system.core.user over account:prod by service,app","title_align":"right","time":{"live_span":"1w"},"requests":[{"q":"top(avg:system.core.user{account:prod} by {service,app}, 10, ''sum'', ''desc'')","conditional_formats":[{"palette":"white_on_red","hide_value":false,"value":15000,"comparator":">"}]}],"type":"toplist"},"id":2610233465084590},{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test Custom Link label"}],"title_size":"16","title":"Avg of system.core.user over account:prod by service,app","title_align":"right","time":{"live_span":"1w"},"requests":[{"q":"top(avg:system.core.user{account:prod} by {service,app}, 10, ''sum'', ''desc'')","conditional_formats":[{"palette":"white_on_red","hide_value":false,"value":15000,"comparator":">"}]}],"type":"toplist"},"id":1901104524129795}],"layout_type":"ordered"}' + body: '{"notify_list":[],"description":"Created using the Datadog provider in Terraform","author_name":null,"template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"iki-r6j-i7m","title":"tf-TestAccDatadogDashboardTopList-local-1618593909","url":"/dashboard/iki-r6j-i7m/tf-testaccdatadogdashboardtoplist-local-1618593909","created_at":"2021-04-16T17:25:10.189326+00:00","modified_at":"2021-04-16T17:25:10.189326+00:00","author_handle":"frog@datadoghq.com","widgets":[{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test Custom Link label"}],"title_size":"16","title":"Avg of system.core.user over account:prod by service,app","title_align":"right","time":{"live_span":"1w"},"requests":[{"q":"top(avg:system.core.user{account:prod} by {service,app}, 10, ''sum'', ''desc'')","conditional_formats":[{"palette":"white_on_red","hide_value":false,"value":15000,"comparator":">"}]}],"type":"toplist"},"id":1666692195672788},{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test Custom Link label"}],"title_size":"16","title":"Avg of system.core.user over account:prod by service,app","title_align":"right","time":{"live_span":"1w"},"requests":[{"q":"top(avg:system.core.user{account:prod} by {service,app}, 10, ''sum'', ''desc'')","conditional_formats":[{"palette":"white_on_red","hide_value":false,"value":15000,"comparator":">"}]}],"type":"toplist"},"id":2972998670623026}],"layout_type":"ordered"}' headers: Cache-Control: - no-cache @@ -112,7 +112,7 @@ interactions: Content-Type: - application/json Date: - - Mon, 24 May 2021 14:37:43 GMT + - Fri, 16 Apr 2021 17:25:14 GMT Pragma: - no-cache Strict-Transport-Security: @@ -122,9 +122,9 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Debug: - - mNzaoDhdDKO7t4QSrAe5X7pHd0bJND187D+vRbwoluXouE2m1UaQQX0RGCvRpLVE + - Wjq53IVIwnB4SiR238oOYgHFMq/ZYP0LQ/Dv8C2fFLBwTje/dWJHu6pI6vIOK1zG X-Dd-Version: - - "35.4593741" + - "35.4330587" X-Frame-Options: - SAMEORIGIN status: 200 OK @@ -139,11 +139,11 @@ interactions: Dd-Operation-Id: - GetDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) - url: https://api.datadoghq.com/api/v1/dashboard/sgu-apz-p35 + - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.19+dev (go go1.15.6; os darwin; arch amd64) + url: https://api.datadoghq.com/api/v1/dashboard/iki-r6j-i7m method: GET response: - body: '{"notify_list":[],"description":"Created using the Datadog provider in Terraform","restricted_roles":["284d8b66-93f9-11eb-9c37-da7ad0900002","043a2842-e140-11e8-bb04-7fd10177666e","657de3a2-29f8-11eb-83b5-6b8ebfb2f184","e82bf27a-986c-11eb-9cba-da7ad0900002","f257ba30-dbb2-11ea-a5ff-5fd1d308318a","6bf314be-5c16-11eb-8e98-2356ea436065","62cbc476-5c16-11eb-8e98-0388ea7a41f8","08604de8-1dca-11eb-800c-9f5f55ff734d","9b3ab170-b768-11eb-a45a-da7ad0900002","7a83f306-96ca-11eb-9c74-da7ad0900002","16169788-28e4-11eb-832c-fb84162ef3eb","4de53192-9946-11eb-9cee-da7ad0900002","1302282c-b93b-11eb-a436-da7ad0900002","17d73994-7531-11eb-94b9-da7ad0900002"],"author_name":"Qin Chen","template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"sgu-apz-p35","title":"tf-TestAccDatadogDashboardTopList-local-1621867061","url":"/dashboard/sgu-apz-p35/tf-testaccdatadogdashboardtoplist-local-1621867061","created_at":"2021-05-24T14:37:43.367366+00:00","modified_at":"2021-05-24T14:37:43.367366+00:00","author_handle":"qin.chen@datadoghq.com","widgets":[{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test Custom Link label"},{"override_label":"logs","is_hidden":true,"link":"https://app.datadoghq.com/dashboard/lists"}],"title_size":"16","title":"Avg of system.core.user over account:prod by service,app","title_align":"right","time":{"live_span":"1w"},"requests":[{"q":"top(avg:system.core.user{account:prod} by {service,app}, 10, ''sum'', ''desc'')","conditional_formats":[{"palette":"white_on_red","hide_value":false,"value":15000,"comparator":">"}]}],"type":"toplist"},"id":2610233465084590},{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test Custom Link label"}],"title_size":"16","title":"Avg of system.core.user over account:prod by service,app","title_align":"right","time":{"live_span":"1w"},"requests":[{"q":"top(avg:system.core.user{account:prod} by {service,app}, 10, ''sum'', ''desc'')","conditional_formats":[{"palette":"white_on_red","hide_value":false,"value":15000,"comparator":">"}]}],"type":"toplist"},"id":1901104524129795}],"layout_type":"ordered"}' + body: '{"notify_list":[],"description":"Created using the Datadog provider in Terraform","author_name":null,"template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"iki-r6j-i7m","title":"tf-TestAccDatadogDashboardTopList-local-1618593909","url":"/dashboard/iki-r6j-i7m/tf-testaccdatadogdashboardtoplist-local-1618593909","created_at":"2021-04-16T17:25:10.189326+00:00","modified_at":"2021-04-16T17:25:10.189326+00:00","author_handle":"frog@datadoghq.com","widgets":[{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test Custom Link label"}],"title_size":"16","title":"Avg of system.core.user over account:prod by service,app","title_align":"right","time":{"live_span":"1w"},"requests":[{"q":"top(avg:system.core.user{account:prod} by {service,app}, 10, ''sum'', ''desc'')","conditional_formats":[{"palette":"white_on_red","hide_value":false,"value":15000,"comparator":">"}]}],"type":"toplist"},"id":1666692195672788},{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test Custom Link label"}],"title_size":"16","title":"Avg of system.core.user over account:prod by service,app","title_align":"right","time":{"live_span":"1w"},"requests":[{"q":"top(avg:system.core.user{account:prod} by {service,app}, 10, ''sum'', ''desc'')","conditional_formats":[{"palette":"white_on_red","hide_value":false,"value":15000,"comparator":">"}]}],"type":"toplist"},"id":2972998670623026}],"layout_type":"ordered"}' headers: Cache-Control: - no-cache @@ -154,7 +154,7 @@ interactions: Content-Type: - application/json Date: - - Mon, 24 May 2021 14:37:44 GMT + - Fri, 16 Apr 2021 17:25:14 GMT Pragma: - no-cache Strict-Transport-Security: @@ -164,9 +164,9 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Debug: - - Um4CoU685QqAscnxhS5BD+goWu2yX1Jd4zCfGzSsEvPPIm1qURZaF8dlLl/OEY4I + - L3ULR3HwCWYmEqCWGz2Yob3chcH4pjowBacBXkncP7o+/uPqKt9yGEYf/g1AJPzQ X-Dd-Version: - - "35.4593741" + - "35.4330587" X-Frame-Options: - SAMEORIGIN status: 200 OK @@ -181,11 +181,11 @@ interactions: Dd-Operation-Id: - GetDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) - url: https://api.datadoghq.com/api/v1/dashboard/sgu-apz-p35 + - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.19+dev (go go1.15.6; os darwin; arch amd64) + url: https://api.datadoghq.com/api/v1/dashboard/iki-r6j-i7m method: GET response: - body: '{"notify_list":[],"description":"Created using the Datadog provider in Terraform","restricted_roles":["284d8b66-93f9-11eb-9c37-da7ad0900002","043a2842-e140-11e8-bb04-7fd10177666e","657de3a2-29f8-11eb-83b5-6b8ebfb2f184","e82bf27a-986c-11eb-9cba-da7ad0900002","f257ba30-dbb2-11ea-a5ff-5fd1d308318a","6bf314be-5c16-11eb-8e98-2356ea436065","62cbc476-5c16-11eb-8e98-0388ea7a41f8","08604de8-1dca-11eb-800c-9f5f55ff734d","9b3ab170-b768-11eb-a45a-da7ad0900002","7a83f306-96ca-11eb-9c74-da7ad0900002","16169788-28e4-11eb-832c-fb84162ef3eb","4de53192-9946-11eb-9cee-da7ad0900002","1302282c-b93b-11eb-a436-da7ad0900002","17d73994-7531-11eb-94b9-da7ad0900002"],"author_name":"Qin Chen","template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"sgu-apz-p35","title":"tf-TestAccDatadogDashboardTopList-local-1621867061","url":"/dashboard/sgu-apz-p35/tf-testaccdatadogdashboardtoplist-local-1621867061","created_at":"2021-05-24T14:37:43.367366+00:00","modified_at":"2021-05-24T14:37:43.367366+00:00","author_handle":"qin.chen@datadoghq.com","widgets":[{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test Custom Link label"},{"override_label":"logs","is_hidden":true,"link":"https://app.datadoghq.com/dashboard/lists"}],"title_size":"16","title":"Avg of system.core.user over account:prod by service,app","title_align":"right","time":{"live_span":"1w"},"requests":[{"q":"top(avg:system.core.user{account:prod} by {service,app}, 10, ''sum'', ''desc'')","conditional_formats":[{"palette":"white_on_red","hide_value":false,"value":15000,"comparator":">"}]}],"type":"toplist"},"id":2610233465084590},{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test Custom Link label"}],"title_size":"16","title":"Avg of system.core.user over account:prod by service,app","title_align":"right","time":{"live_span":"1w"},"requests":[{"q":"top(avg:system.core.user{account:prod} by {service,app}, 10, ''sum'', ''desc'')","conditional_formats":[{"palette":"white_on_red","hide_value":false,"value":15000,"comparator":">"}]}],"type":"toplist"},"id":1901104524129795}],"layout_type":"ordered"}' + body: '{"notify_list":[],"description":"Created using the Datadog provider in Terraform","author_name":null,"template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"iki-r6j-i7m","title":"tf-TestAccDatadogDashboardTopList-local-1618593909","url":"/dashboard/iki-r6j-i7m/tf-testaccdatadogdashboardtoplist-local-1618593909","created_at":"2021-04-16T17:25:10.189326+00:00","modified_at":"2021-04-16T17:25:10.189326+00:00","author_handle":"frog@datadoghq.com","widgets":[{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test Custom Link label"}],"title_size":"16","title":"Avg of system.core.user over account:prod by service,app","title_align":"right","time":{"live_span":"1w"},"requests":[{"q":"top(avg:system.core.user{account:prod} by {service,app}, 10, ''sum'', ''desc'')","conditional_formats":[{"palette":"white_on_red","hide_value":false,"value":15000,"comparator":">"}]}],"type":"toplist"},"id":1666692195672788},{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test Custom Link label"}],"title_size":"16","title":"Avg of system.core.user over account:prod by service,app","title_align":"right","time":{"live_span":"1w"},"requests":[{"q":"top(avg:system.core.user{account:prod} by {service,app}, 10, ''sum'', ''desc'')","conditional_formats":[{"palette":"white_on_red","hide_value":false,"value":15000,"comparator":">"}]}],"type":"toplist"},"id":2972998670623026}],"layout_type":"ordered"}' headers: Cache-Control: - no-cache @@ -196,7 +196,7 @@ interactions: Content-Type: - application/json Date: - - Mon, 24 May 2021 14:37:45 GMT + - Fri, 16 Apr 2021 17:25:15 GMT Pragma: - no-cache Strict-Transport-Security: @@ -206,9 +206,9 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Debug: - - dPySkcOzIZtKyMKDAAzuysY3gNGGj6RtYogGuSb76E8mPvoqzREyRp6lPYm91hQU + - vdJ3/nHEY1ioXQ6pQrBVvsQK1s4yyc+wufBMPSoXql71qZVuP/xMdtNo6DafhOAk X-Dd-Version: - - "35.4593741" + - "35.4330587" X-Frame-Options: - SAMEORIGIN status: 200 OK @@ -223,11 +223,11 @@ interactions: Dd-Operation-Id: - DeleteDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) - url: https://api.datadoghq.com/api/v1/dashboard/sgu-apz-p35 + - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.19+dev (go go1.15.6; os darwin; arch amd64) + url: https://api.datadoghq.com/api/v1/dashboard/iki-r6j-i7m method: DELETE response: - body: '{"deleted_dashboard_id":"sgu-apz-p35"}' + body: '{"deleted_dashboard_id":"iki-r6j-i7m"}' headers: Cache-Control: - no-cache @@ -238,7 +238,7 @@ interactions: Content-Type: - application/json Date: - - Mon, 24 May 2021 14:37:46 GMT + - Fri, 16 Apr 2021 17:25:15 GMT Pragma: - no-cache Strict-Transport-Security: @@ -248,9 +248,9 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Debug: - - 2328yjLSqI4XmR1pVqrPRR/SFcQsbafjEpPmZx7/3PfxUK1nJQQsX+wrMelyVyj+ + - fIO2C4qGDheGHy4YbS+r3a3CXbh4cbRo7roILOimQyiHGjQdOat0cIpWCkupM1uX X-Dd-Version: - - "35.4593741" + - "35.4330587" X-Frame-Options: - SAMEORIGIN status: 200 OK @@ -265,11 +265,11 @@ interactions: Dd-Operation-Id: - GetDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) - url: https://api.datadoghq.com/api/v1/dashboard/sgu-apz-p35 + - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.19+dev (go go1.15.6; os darwin; arch amd64) + url: https://api.datadoghq.com/api/v1/dashboard/iki-r6j-i7m method: GET response: - body: '{"errors": ["Dashboard with ID sgu-apz-p35 not found"]}' + body: '{"errors": ["Dashboard with ID iki-r6j-i7m not found"]}' headers: Cache-Control: - no-cache @@ -280,7 +280,7 @@ interactions: Content-Type: - application/json Date: - - Mon, 24 May 2021 14:37:46 GMT + - Fri, 16 Apr 2021 17:25:15 GMT Pragma: - no-cache Strict-Transport-Security: @@ -290,7 +290,7 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Version: - - "35.4593741" + - "35.4330587" X-Frame-Options: - SAMEORIGIN status: 404 Not Found diff --git a/datadog/tests/cassettes/TestAccDatadogDashboardTopListFormula.freeze b/datadog/tests/cassettes/TestAccDatadogDashboardTopListFormula.freeze index 22807c0ac..23137d6c7 100644 --- a/datadog/tests/cassettes/TestAccDatadogDashboardTopListFormula.freeze +++ b/datadog/tests/cassettes/TestAccDatadogDashboardTopListFormula.freeze @@ -1 +1 @@ -2021-05-24T10:37:41.489737-04:00 \ No newline at end of file +2021-04-16T13:25:09.298892-04:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogDashboardTopListFormula.yaml b/datadog/tests/cassettes/TestAccDatadogDashboardTopListFormula.yaml index aa9983618..3afb358c0 100644 --- a/datadog/tests/cassettes/TestAccDatadogDashboardTopListFormula.yaml +++ b/datadog/tests/cassettes/TestAccDatadogDashboardTopListFormula.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-TestAccDatadogDashboardTopListFormula-local-1621867061","widgets":[{"definition":{"requests":[{"formulas":[{"formula":"query1 + query2","limit":{"count":10,"order":"asc"}}],"queries":[{"aggregator":"sum","data_source":"metrics","name":"query1","query":"avg:system.cpu.system{*} by {datacenter}"},{"aggregator":"sum","data_source":"metrics","name":"query2","query":"avg:system.load.1{*} by {datacenter}"}],"response_format":"scalar"}],"type":"toplist"}},{"definition":{"requests":[{"formulas":[{"formula":"query1","limit":{"count":25,"order":"desc"}}],"queries":[{"compute":{"aggregation":"count"},"data_source":"rum","indexes":["*"],"name":"query1","search":{"query":"abc"}}],"response_format":"scalar"}],"type":"toplist"}}]} + {"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-TestAccDatadogDashboardTopListFormula-local-1618593909","widgets":[{"definition":{"requests":[{"formulas":[{"formula":"query1 + query2","limit":{"count":10,"order":"asc"}}],"queries":[{"aggregator":"sum","data_source":"metrics","name":"query1","query":"avg:system.cpu.system{*} by {datacenter}"},{"aggregator":"sum","data_source":"metrics","name":"query2","query":"avg:system.load.1{*} by {datacenter}"}],"response_format":"scalar"}],"type":"toplist"}},{"definition":{"requests":[{"formulas":[{"formula":"query1","limit":{"count":25,"order":"desc"}}],"queries":[{"compute":{"aggregation":"count"},"data_source":"rum","indexes":["*"],"name":"query1","search":{"query":"abc"}}],"response_format":"scalar"}],"type":"toplist"}}]} form: {} headers: Accept: @@ -13,11 +13,11 @@ interactions: Dd-Operation-Id: - CreateDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) + - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.19+dev (go go1.15.6; os darwin; arch amd64) url: https://api.datadoghq.com/api/v1/dashboard method: POST response: - body: '{"notify_list":[],"description":"Created using the Datadog provider in Terraform","restricted_roles":["043a2842-e140-11e8-bb04-7fd10177666e","08604de8-1dca-11eb-800c-9f5f55ff734d","1302282c-b93b-11eb-a436-da7ad0900002","16169788-28e4-11eb-832c-fb84162ef3eb","17d73994-7531-11eb-94b9-da7ad0900002","284d8b66-93f9-11eb-9c37-da7ad0900002","4de53192-9946-11eb-9cee-da7ad0900002","62cbc476-5c16-11eb-8e98-0388ea7a41f8","657de3a2-29f8-11eb-83b5-6b8ebfb2f184","6bf314be-5c16-11eb-8e98-2356ea436065","7a83f306-96ca-11eb-9c74-da7ad0900002","9b3ab170-b768-11eb-a45a-da7ad0900002","e82bf27a-986c-11eb-9cba-da7ad0900002","f257ba30-dbb2-11ea-a5ff-5fd1d308318a"],"author_name":"Qin Chen","template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"8t3-jnp-3af","title":"tf-TestAccDatadogDashboardTopListFormula-local-1621867061","url":"/dashboard/8t3-jnp-3af/tf-testaccdatadogdashboardtoplistformula-local-1621867061","created_at":"2021-05-24T14:37:43.380179+00:00","modified_at":"2021-05-24T14:37:43.380179+00:00","author_handle":"qin.chen@datadoghq.com","widgets":[{"definition":{"requests":[{"formulas":[{"formula":"query1 + query2","limit":{"count":10,"order":"asc"}}],"response_format":"scalar","queries":[{"aggregator":"sum","data_source":"metrics","name":"query1","query":"avg:system.cpu.system{*} by {datacenter}"},{"aggregator":"sum","data_source":"metrics","name":"query2","query":"avg:system.load.1{*} by {datacenter}"}]}],"type":"toplist"},"id":8142373583202108},{"definition":{"requests":[{"formulas":[{"formula":"query1","limit":{"count":25,"order":"desc"}}],"response_format":"scalar","queries":[{"search":{"query":"abc"},"data_source":"rum","compute":{"aggregation":"count"},"name":"query1","indexes":["*"]}]}],"type":"toplist"},"id":3715338987470913}],"layout_type":"ordered"}' + body: '{"notify_list":[],"description":"Created using the Datadog provider in Terraform","author_name":null,"template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"n2x-25q-def","title":"tf-TestAccDatadogDashboardTopListFormula-local-1618593909","url":"/dashboard/n2x-25q-def/tf-testaccdatadogdashboardtoplistformula-local-1618593909","created_at":"2021-04-16T17:25:10.178675+00:00","modified_at":"2021-04-16T17:25:10.178675+00:00","author_handle":"frog@datadoghq.com","widgets":[{"definition":{"requests":[{"formulas":[{"formula":"query1 + query2","limit":{"count":10,"order":"asc"}}],"response_format":"scalar","queries":[{"aggregator":"sum","data_source":"metrics","name":"query1","query":"avg:system.cpu.system{*} by {datacenter}"},{"aggregator":"sum","data_source":"metrics","name":"query2","query":"avg:system.load.1{*} by {datacenter}"}]}],"type":"toplist"},"id":7631037175834849},{"definition":{"requests":[{"formulas":[{"formula":"query1","limit":{"count":25,"order":"desc"}}],"response_format":"scalar","queries":[{"search":{"query":"abc"},"data_source":"rum","compute":{"aggregation":"count"},"name":"query1","indexes":["*"]}]}],"type":"toplist"},"id":6558674061820933}],"layout_type":"ordered"}' headers: Cache-Control: - no-cache @@ -28,7 +28,7 @@ interactions: Content-Type: - application/json Date: - - Mon, 24 May 2021 14:37:43 GMT + - Fri, 16 Apr 2021 17:25:14 GMT Pragma: - no-cache Strict-Transport-Security: @@ -38,9 +38,9 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Debug: - - l4HFlaRP3QwYSqoGKhzbYfv7zgkK63HIRR7YkyVYZspq0lGjjTBwoK8V/alf+XYt + - Wjq53IVIwnB4SiR238oOYgHFMq/ZYP0LQ/Dv8C2fFLBwTje/dWJHu6pI6vIOK1zG X-Dd-Version: - - "35.4593741" + - "35.4330587" X-Frame-Options: - SAMEORIGIN status: 200 OK @@ -55,11 +55,11 @@ interactions: Dd-Operation-Id: - GetDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) - url: https://api.datadoghq.com/api/v1/dashboard/8t3-jnp-3af + - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.19+dev (go go1.15.6; os darwin; arch amd64) + url: https://api.datadoghq.com/api/v1/dashboard/n2x-25q-def method: GET response: - body: '{"notify_list":[],"description":"Created using the Datadog provider in Terraform","restricted_roles":["284d8b66-93f9-11eb-9c37-da7ad0900002","043a2842-e140-11e8-bb04-7fd10177666e","657de3a2-29f8-11eb-83b5-6b8ebfb2f184","e82bf27a-986c-11eb-9cba-da7ad0900002","f257ba30-dbb2-11ea-a5ff-5fd1d308318a","6bf314be-5c16-11eb-8e98-2356ea436065","62cbc476-5c16-11eb-8e98-0388ea7a41f8","08604de8-1dca-11eb-800c-9f5f55ff734d","9b3ab170-b768-11eb-a45a-da7ad0900002","7a83f306-96ca-11eb-9c74-da7ad0900002","16169788-28e4-11eb-832c-fb84162ef3eb","4de53192-9946-11eb-9cee-da7ad0900002","1302282c-b93b-11eb-a436-da7ad0900002","17d73994-7531-11eb-94b9-da7ad0900002"],"author_name":"Qin Chen","template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"8t3-jnp-3af","title":"tf-TestAccDatadogDashboardTopListFormula-local-1621867061","url":"/dashboard/8t3-jnp-3af/tf-testaccdatadogdashboardtoplistformula-local-1621867061","created_at":"2021-05-24T14:37:43.380179+00:00","modified_at":"2021-05-24T14:37:43.380179+00:00","author_handle":"qin.chen@datadoghq.com","widgets":[{"definition":{"requests":[{"formulas":[{"formula":"query1 + query2","limit":{"count":10,"order":"asc"}}],"response_format":"scalar","queries":[{"aggregator":"sum","data_source":"metrics","name":"query1","query":"avg:system.cpu.system{*} by {datacenter}"},{"aggregator":"sum","data_source":"metrics","name":"query2","query":"avg:system.load.1{*} by {datacenter}"}]}],"type":"toplist"},"id":8142373583202108},{"definition":{"requests":[{"formulas":[{"formula":"query1","limit":{"count":25,"order":"desc"}}],"response_format":"scalar","queries":[{"search":{"query":"abc"},"data_source":"rum","compute":{"aggregation":"count"},"name":"query1","indexes":["*"]}]}],"type":"toplist"},"id":3715338987470913}],"layout_type":"ordered"}' + body: '{"notify_list":[],"description":"Created using the Datadog provider in Terraform","author_name":null,"template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"n2x-25q-def","title":"tf-TestAccDatadogDashboardTopListFormula-local-1618593909","url":"/dashboard/n2x-25q-def/tf-testaccdatadogdashboardtoplistformula-local-1618593909","created_at":"2021-04-16T17:25:10.178675+00:00","modified_at":"2021-04-16T17:25:10.178675+00:00","author_handle":"frog@datadoghq.com","widgets":[{"definition":{"requests":[{"formulas":[{"formula":"query1 + query2","limit":{"count":10,"order":"asc"}}],"response_format":"scalar","queries":[{"aggregator":"sum","data_source":"metrics","name":"query1","query":"avg:system.cpu.system{*} by {datacenter}"},{"aggregator":"sum","data_source":"metrics","name":"query2","query":"avg:system.load.1{*} by {datacenter}"}]}],"type":"toplist"},"id":7631037175834849},{"definition":{"requests":[{"formulas":[{"formula":"query1","limit":{"count":25,"order":"desc"}}],"response_format":"scalar","queries":[{"search":{"query":"abc"},"data_source":"rum","compute":{"aggregation":"count"},"name":"query1","indexes":["*"]}]}],"type":"toplist"},"id":6558674061820933}],"layout_type":"ordered"}' headers: Cache-Control: - no-cache @@ -70,7 +70,7 @@ interactions: Content-Type: - application/json Date: - - Mon, 24 May 2021 14:37:43 GMT + - Fri, 16 Apr 2021 17:25:14 GMT Pragma: - no-cache Strict-Transport-Security: @@ -80,9 +80,9 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Debug: - - fIO2C4qGDheGHy4YbS+r3a3CXbh4cbRo7roILOimQyiHGjQdOat0cIpWCkupM1uX + - 25u1gDlL724DHllbjFT4BhOLorBTilh+aah2uWAUEjFC/+rjczJdiyWrV/HwLwe/ X-Dd-Version: - - "35.4593741" + - "35.4330587" X-Frame-Options: - SAMEORIGIN status: 200 OK @@ -97,11 +97,11 @@ interactions: Dd-Operation-Id: - GetDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) - url: https://api.datadoghq.com/api/v1/dashboard/8t3-jnp-3af + - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.19+dev (go go1.15.6; os darwin; arch amd64) + url: https://api.datadoghq.com/api/v1/dashboard/n2x-25q-def method: GET response: - body: '{"notify_list":[],"description":"Created using the Datadog provider in Terraform","restricted_roles":["284d8b66-93f9-11eb-9c37-da7ad0900002","043a2842-e140-11e8-bb04-7fd10177666e","657de3a2-29f8-11eb-83b5-6b8ebfb2f184","e82bf27a-986c-11eb-9cba-da7ad0900002","f257ba30-dbb2-11ea-a5ff-5fd1d308318a","6bf314be-5c16-11eb-8e98-2356ea436065","62cbc476-5c16-11eb-8e98-0388ea7a41f8","08604de8-1dca-11eb-800c-9f5f55ff734d","9b3ab170-b768-11eb-a45a-da7ad0900002","7a83f306-96ca-11eb-9c74-da7ad0900002","16169788-28e4-11eb-832c-fb84162ef3eb","4de53192-9946-11eb-9cee-da7ad0900002","1302282c-b93b-11eb-a436-da7ad0900002","17d73994-7531-11eb-94b9-da7ad0900002"],"author_name":"Qin Chen","template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"8t3-jnp-3af","title":"tf-TestAccDatadogDashboardTopListFormula-local-1621867061","url":"/dashboard/8t3-jnp-3af/tf-testaccdatadogdashboardtoplistformula-local-1621867061","created_at":"2021-05-24T14:37:43.380179+00:00","modified_at":"2021-05-24T14:37:43.380179+00:00","author_handle":"qin.chen@datadoghq.com","widgets":[{"definition":{"requests":[{"formulas":[{"formula":"query1 + query2","limit":{"count":10,"order":"asc"}}],"response_format":"scalar","queries":[{"aggregator":"sum","data_source":"metrics","name":"query1","query":"avg:system.cpu.system{*} by {datacenter}"},{"aggregator":"sum","data_source":"metrics","name":"query2","query":"avg:system.load.1{*} by {datacenter}"}]}],"type":"toplist"},"id":8142373583202108},{"definition":{"requests":[{"formulas":[{"formula":"query1","limit":{"count":25,"order":"desc"}}],"response_format":"scalar","queries":[{"search":{"query":"abc"},"data_source":"rum","compute":{"aggregation":"count"},"name":"query1","indexes":["*"]}]}],"type":"toplist"},"id":3715338987470913}],"layout_type":"ordered"}' + body: '{"notify_list":[],"description":"Created using the Datadog provider in Terraform","author_name":null,"template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"n2x-25q-def","title":"tf-TestAccDatadogDashboardTopListFormula-local-1618593909","url":"/dashboard/n2x-25q-def/tf-testaccdatadogdashboardtoplistformula-local-1618593909","created_at":"2021-04-16T17:25:10.178675+00:00","modified_at":"2021-04-16T17:25:10.178675+00:00","author_handle":"frog@datadoghq.com","widgets":[{"definition":{"requests":[{"formulas":[{"formula":"query1 + query2","limit":{"count":10,"order":"asc"}}],"response_format":"scalar","queries":[{"aggregator":"sum","data_source":"metrics","name":"query1","query":"avg:system.cpu.system{*} by {datacenter}"},{"aggregator":"sum","data_source":"metrics","name":"query2","query":"avg:system.load.1{*} by {datacenter}"}]}],"type":"toplist"},"id":7631037175834849},{"definition":{"requests":[{"formulas":[{"formula":"query1","limit":{"count":25,"order":"desc"}}],"response_format":"scalar","queries":[{"search":{"query":"abc"},"data_source":"rum","compute":{"aggregation":"count"},"name":"query1","indexes":["*"]}]}],"type":"toplist"},"id":6558674061820933}],"layout_type":"ordered"}' headers: Cache-Control: - no-cache @@ -112,7 +112,7 @@ interactions: Content-Type: - application/json Date: - - Mon, 24 May 2021 14:37:43 GMT + - Fri, 16 Apr 2021 17:25:14 GMT Pragma: - no-cache Strict-Transport-Security: @@ -122,9 +122,9 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Debug: - - Um4CoU685QqAscnxhS5BD+goWu2yX1Jd4zCfGzSsEvPPIm1qURZaF8dlLl/OEY4I + - twvpGlmuom5y6A0pjGtXzTf554cmwJgTcCZ71fK4H/RDi+v5ehBK0zQiRcTJQG5C X-Dd-Version: - - "35.4593741" + - "35.4330587" X-Frame-Options: - SAMEORIGIN status: 200 OK @@ -139,11 +139,11 @@ interactions: Dd-Operation-Id: - GetDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) - url: https://api.datadoghq.com/api/v1/dashboard/8t3-jnp-3af + - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.19+dev (go go1.15.6; os darwin; arch amd64) + url: https://api.datadoghq.com/api/v1/dashboard/n2x-25q-def method: GET response: - body: '{"notify_list":[],"description":"Created using the Datadog provider in Terraform","restricted_roles":["284d8b66-93f9-11eb-9c37-da7ad0900002","043a2842-e140-11e8-bb04-7fd10177666e","657de3a2-29f8-11eb-83b5-6b8ebfb2f184","e82bf27a-986c-11eb-9cba-da7ad0900002","f257ba30-dbb2-11ea-a5ff-5fd1d308318a","6bf314be-5c16-11eb-8e98-2356ea436065","62cbc476-5c16-11eb-8e98-0388ea7a41f8","08604de8-1dca-11eb-800c-9f5f55ff734d","9b3ab170-b768-11eb-a45a-da7ad0900002","7a83f306-96ca-11eb-9c74-da7ad0900002","16169788-28e4-11eb-832c-fb84162ef3eb","4de53192-9946-11eb-9cee-da7ad0900002","1302282c-b93b-11eb-a436-da7ad0900002","17d73994-7531-11eb-94b9-da7ad0900002"],"author_name":"Qin Chen","template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"8t3-jnp-3af","title":"tf-TestAccDatadogDashboardTopListFormula-local-1621867061","url":"/dashboard/8t3-jnp-3af/tf-testaccdatadogdashboardtoplistformula-local-1621867061","created_at":"2021-05-24T14:37:43.380179+00:00","modified_at":"2021-05-24T14:37:43.380179+00:00","author_handle":"qin.chen@datadoghq.com","widgets":[{"definition":{"requests":[{"formulas":[{"formula":"query1 + query2","limit":{"count":10,"order":"asc"}}],"response_format":"scalar","queries":[{"aggregator":"sum","data_source":"metrics","name":"query1","query":"avg:system.cpu.system{*} by {datacenter}"},{"aggregator":"sum","data_source":"metrics","name":"query2","query":"avg:system.load.1{*} by {datacenter}"}]}],"type":"toplist"},"id":8142373583202108},{"definition":{"requests":[{"formulas":[{"formula":"query1","limit":{"count":25,"order":"desc"}}],"response_format":"scalar","queries":[{"search":{"query":"abc"},"data_source":"rum","compute":{"aggregation":"count"},"name":"query1","indexes":["*"]}]}],"type":"toplist"},"id":3715338987470913}],"layout_type":"ordered"}' + body: '{"notify_list":[],"description":"Created using the Datadog provider in Terraform","author_name":null,"template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"n2x-25q-def","title":"tf-TestAccDatadogDashboardTopListFormula-local-1618593909","url":"/dashboard/n2x-25q-def/tf-testaccdatadogdashboardtoplistformula-local-1618593909","created_at":"2021-04-16T17:25:10.178675+00:00","modified_at":"2021-04-16T17:25:10.178675+00:00","author_handle":"frog@datadoghq.com","widgets":[{"definition":{"requests":[{"formulas":[{"formula":"query1 + query2","limit":{"count":10,"order":"asc"}}],"response_format":"scalar","queries":[{"aggregator":"sum","data_source":"metrics","name":"query1","query":"avg:system.cpu.system{*} by {datacenter}"},{"aggregator":"sum","data_source":"metrics","name":"query2","query":"avg:system.load.1{*} by {datacenter}"}]}],"type":"toplist"},"id":7631037175834849},{"definition":{"requests":[{"formulas":[{"formula":"query1","limit":{"count":25,"order":"desc"}}],"response_format":"scalar","queries":[{"search":{"query":"abc"},"data_source":"rum","compute":{"aggregation":"count"},"name":"query1","indexes":["*"]}]}],"type":"toplist"},"id":6558674061820933}],"layout_type":"ordered"}' headers: Cache-Control: - no-cache @@ -154,7 +154,7 @@ interactions: Content-Type: - application/json Date: - - Mon, 24 May 2021 14:37:44 GMT + - Fri, 16 Apr 2021 17:25:14 GMT Pragma: - no-cache Strict-Transport-Security: @@ -164,9 +164,9 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Debug: - - SY1h8ScsWq+kYmtbh63ltMLFAZsQjqfrgvdfAoRX+9TzT1sgMBRYaFRwfWWRRe9a + - B1nwy/pPNqX+q4pQT22cdp1QCexE35IF8qwSHy0Nf7IW0Y881qtn4tXN1lpmzaKc X-Dd-Version: - - "35.4593741" + - "35.4330587" X-Frame-Options: - SAMEORIGIN status: 200 OK @@ -181,11 +181,11 @@ interactions: Dd-Operation-Id: - GetDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) - url: https://api.datadoghq.com/api/v1/dashboard/8t3-jnp-3af + - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.19+dev (go go1.15.6; os darwin; arch amd64) + url: https://api.datadoghq.com/api/v1/dashboard/n2x-25q-def method: GET response: - body: '{"notify_list":[],"description":"Created using the Datadog provider in Terraform","restricted_roles":["284d8b66-93f9-11eb-9c37-da7ad0900002","043a2842-e140-11e8-bb04-7fd10177666e","657de3a2-29f8-11eb-83b5-6b8ebfb2f184","e82bf27a-986c-11eb-9cba-da7ad0900002","f257ba30-dbb2-11ea-a5ff-5fd1d308318a","6bf314be-5c16-11eb-8e98-2356ea436065","62cbc476-5c16-11eb-8e98-0388ea7a41f8","08604de8-1dca-11eb-800c-9f5f55ff734d","9b3ab170-b768-11eb-a45a-da7ad0900002","7a83f306-96ca-11eb-9c74-da7ad0900002","16169788-28e4-11eb-832c-fb84162ef3eb","4de53192-9946-11eb-9cee-da7ad0900002","1302282c-b93b-11eb-a436-da7ad0900002","17d73994-7531-11eb-94b9-da7ad0900002"],"author_name":"Qin Chen","template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"8t3-jnp-3af","title":"tf-TestAccDatadogDashboardTopListFormula-local-1621867061","url":"/dashboard/8t3-jnp-3af/tf-testaccdatadogdashboardtoplistformula-local-1621867061","created_at":"2021-05-24T14:37:43.380179+00:00","modified_at":"2021-05-24T14:37:43.380179+00:00","author_handle":"qin.chen@datadoghq.com","widgets":[{"definition":{"requests":[{"formulas":[{"formula":"query1 + query2","limit":{"count":10,"order":"asc"}}],"response_format":"scalar","queries":[{"aggregator":"sum","data_source":"metrics","name":"query1","query":"avg:system.cpu.system{*} by {datacenter}"},{"aggregator":"sum","data_source":"metrics","name":"query2","query":"avg:system.load.1{*} by {datacenter}"}]}],"type":"toplist"},"id":8142373583202108},{"definition":{"requests":[{"formulas":[{"formula":"query1","limit":{"count":25,"order":"desc"}}],"response_format":"scalar","queries":[{"search":{"query":"abc"},"data_source":"rum","compute":{"aggregation":"count"},"name":"query1","indexes":["*"]}]}],"type":"toplist"},"id":3715338987470913}],"layout_type":"ordered"}' + body: '{"notify_list":[],"description":"Created using the Datadog provider in Terraform","author_name":null,"template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"n2x-25q-def","title":"tf-TestAccDatadogDashboardTopListFormula-local-1618593909","url":"/dashboard/n2x-25q-def/tf-testaccdatadogdashboardtoplistformula-local-1618593909","created_at":"2021-04-16T17:25:10.178675+00:00","modified_at":"2021-04-16T17:25:10.178675+00:00","author_handle":"frog@datadoghq.com","widgets":[{"definition":{"requests":[{"formulas":[{"formula":"query1 + query2","limit":{"count":10,"order":"asc"}}],"response_format":"scalar","queries":[{"aggregator":"sum","data_source":"metrics","name":"query1","query":"avg:system.cpu.system{*} by {datacenter}"},{"aggregator":"sum","data_source":"metrics","name":"query2","query":"avg:system.load.1{*} by {datacenter}"}]}],"type":"toplist"},"id":7631037175834849},{"definition":{"requests":[{"formulas":[{"formula":"query1","limit":{"count":25,"order":"desc"}}],"response_format":"scalar","queries":[{"search":{"query":"abc"},"data_source":"rum","compute":{"aggregation":"count"},"name":"query1","indexes":["*"]}]}],"type":"toplist"},"id":6558674061820933}],"layout_type":"ordered"}' headers: Cache-Control: - no-cache @@ -196,7 +196,7 @@ interactions: Content-Type: - application/json Date: - - Mon, 24 May 2021 14:37:45 GMT + - Fri, 16 Apr 2021 17:25:15 GMT Pragma: - no-cache Strict-Transport-Security: @@ -206,9 +206,9 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Debug: - - HbtaOKlJ6OCrx9tMXO6ivMTrEM+g0c93HDp08trmOmgdHozC5J+vn10F0H4WPjCU + - twvpGlmuom5y6A0pjGtXzTf554cmwJgTcCZ71fK4H/RDi+v5ehBK0zQiRcTJQG5C X-Dd-Version: - - "35.4593741" + - "35.4330587" X-Frame-Options: - SAMEORIGIN status: 200 OK @@ -223,11 +223,11 @@ interactions: Dd-Operation-Id: - DeleteDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) - url: https://api.datadoghq.com/api/v1/dashboard/8t3-jnp-3af + - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.19+dev (go go1.15.6; os darwin; arch amd64) + url: https://api.datadoghq.com/api/v1/dashboard/n2x-25q-def method: DELETE response: - body: '{"deleted_dashboard_id":"8t3-jnp-3af"}' + body: '{"deleted_dashboard_id":"n2x-25q-def"}' headers: Cache-Control: - no-cache @@ -238,7 +238,7 @@ interactions: Content-Type: - application/json Date: - - Mon, 24 May 2021 14:37:46 GMT + - Fri, 16 Apr 2021 17:25:15 GMT Pragma: - no-cache Strict-Transport-Security: @@ -248,9 +248,9 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Debug: - - vdJ3/nHEY1ioXQ6pQrBVvsQK1s4yyc+wufBMPSoXql71qZVuP/xMdtNo6DafhOAk + - HbtaOKlJ6OCrx9tMXO6ivMTrEM+g0c93HDp08trmOmgdHozC5J+vn10F0H4WPjCU X-Dd-Version: - - "35.4593741" + - "35.4330587" X-Frame-Options: - SAMEORIGIN status: 200 OK @@ -265,11 +265,11 @@ interactions: Dd-Operation-Id: - GetDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) - url: https://api.datadoghq.com/api/v1/dashboard/8t3-jnp-3af + - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.19+dev (go go1.15.6; os darwin; arch amd64) + url: https://api.datadoghq.com/api/v1/dashboard/n2x-25q-def method: GET response: - body: '{"errors": ["Dashboard with ID 8t3-jnp-3af not found"]}' + body: '{"errors": ["Dashboard with ID n2x-25q-def not found"]}' headers: Cache-Control: - no-cache @@ -280,7 +280,7 @@ interactions: Content-Type: - application/json Date: - - Mon, 24 May 2021 14:37:46 GMT + - Fri, 16 Apr 2021 17:25:15 GMT Pragma: - no-cache Strict-Transport-Security: @@ -290,7 +290,7 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Version: - - "35.4593741" + - "35.4330587" X-Frame-Options: - SAMEORIGIN status: 404 Not Found diff --git a/datadog/tests/cassettes/TestAccDatadogDashboardTopListFormula_import.freeze b/datadog/tests/cassettes/TestAccDatadogDashboardTopListFormula_import.freeze index f37f57e54..d0398dd29 100644 --- a/datadog/tests/cassettes/TestAccDatadogDashboardTopListFormula_import.freeze +++ b/datadog/tests/cassettes/TestAccDatadogDashboardTopListFormula_import.freeze @@ -1 +1 @@ -2021-05-24T10:37:41.487065-04:00 \ No newline at end of file +2021-04-16T13:25:09.298847-04:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogDashboardTopListFormula_import.yaml b/datadog/tests/cassettes/TestAccDatadogDashboardTopListFormula_import.yaml index 93c32904e..04470f374 100644 --- a/datadog/tests/cassettes/TestAccDatadogDashboardTopListFormula_import.yaml +++ b/datadog/tests/cassettes/TestAccDatadogDashboardTopListFormula_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-TestAccDatadogDashboardTopListFormula_import-local-1621867061","widgets":[{"definition":{"requests":[{"formulas":[{"formula":"query1 + query2","limit":{"count":10,"order":"asc"}}],"queries":[{"aggregator":"sum","data_source":"metrics","name":"query1","query":"avg:system.cpu.system{*} by {datacenter}"},{"aggregator":"sum","data_source":"metrics","name":"query2","query":"avg:system.load.1{*} by {datacenter}"}],"response_format":"scalar"}],"type":"toplist"}},{"definition":{"requests":[{"formulas":[{"formula":"query1","limit":{"count":25,"order":"desc"}}],"queries":[{"compute":{"aggregation":"count"},"data_source":"rum","indexes":["*"],"name":"query1","search":{"query":"abc"}}],"response_format":"scalar"}],"type":"toplist"}}]} + {"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-TestAccDatadogDashboardTopListFormula_import-local-1618593909","widgets":[{"definition":{"requests":[{"formulas":[{"formula":"query1 + query2","limit":{"count":10,"order":"asc"}}],"queries":[{"aggregator":"sum","data_source":"metrics","name":"query1","query":"avg:system.cpu.system{*} by {datacenter}"},{"aggregator":"sum","data_source":"metrics","name":"query2","query":"avg:system.load.1{*} by {datacenter}"}],"response_format":"scalar"}],"type":"toplist"}},{"definition":{"requests":[{"formulas":[{"formula":"query1","limit":{"count":25,"order":"desc"}}],"queries":[{"compute":{"aggregation":"count"},"data_source":"rum","indexes":["*"],"name":"query1","search":{"query":"abc"}}],"response_format":"scalar"}],"type":"toplist"}}]} form: {} headers: Accept: @@ -13,11 +13,11 @@ interactions: Dd-Operation-Id: - CreateDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) + - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.19+dev (go go1.15.6; os darwin; arch amd64) url: https://api.datadoghq.com/api/v1/dashboard method: POST response: - body: '{"notify_list":[],"description":"Created using the Datadog provider in Terraform","restricted_roles":["043a2842-e140-11e8-bb04-7fd10177666e","08604de8-1dca-11eb-800c-9f5f55ff734d","1302282c-b93b-11eb-a436-da7ad0900002","16169788-28e4-11eb-832c-fb84162ef3eb","17d73994-7531-11eb-94b9-da7ad0900002","284d8b66-93f9-11eb-9c37-da7ad0900002","4de53192-9946-11eb-9cee-da7ad0900002","62cbc476-5c16-11eb-8e98-0388ea7a41f8","657de3a2-29f8-11eb-83b5-6b8ebfb2f184","6bf314be-5c16-11eb-8e98-2356ea436065","7a83f306-96ca-11eb-9c74-da7ad0900002","9b3ab170-b768-11eb-a45a-da7ad0900002","e82bf27a-986c-11eb-9cba-da7ad0900002","f257ba30-dbb2-11ea-a5ff-5fd1d308318a"],"author_name":"Qin Chen","template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"wjv-9d4-2d7","title":"tf-TestAccDatadogDashboardTopListFormula_import-local-1621867061","url":"/dashboard/wjv-9d4-2d7/tf-testaccdatadogdashboardtoplistformulaimport-local-1621867061","created_at":"2021-05-24T14:37:43.363735+00:00","modified_at":"2021-05-24T14:37:43.363735+00:00","author_handle":"qin.chen@datadoghq.com","widgets":[{"definition":{"requests":[{"formulas":[{"formula":"query1 + query2","limit":{"count":10,"order":"asc"}}],"response_format":"scalar","queries":[{"aggregator":"sum","data_source":"metrics","name":"query1","query":"avg:system.cpu.system{*} by {datacenter}"},{"aggregator":"sum","data_source":"metrics","name":"query2","query":"avg:system.load.1{*} by {datacenter}"}]}],"type":"toplist"},"id":510320029391672},{"definition":{"requests":[{"formulas":[{"formula":"query1","limit":{"count":25,"order":"desc"}}],"response_format":"scalar","queries":[{"search":{"query":"abc"},"data_source":"rum","compute":{"aggregation":"count"},"name":"query1","indexes":["*"]}]}],"type":"toplist"},"id":2705302552826011}],"layout_type":"ordered"}' + body: '{"notify_list":[],"description":"Created using the Datadog provider in Terraform","author_name":null,"template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"8m8-w4i-zck","title":"tf-TestAccDatadogDashboardTopListFormula_import-local-1618593909","url":"/dashboard/8m8-w4i-zck/tf-testaccdatadogdashboardtoplistformulaimport-local-1618593909","created_at":"2021-04-16T17:25:10.190731+00:00","modified_at":"2021-04-16T17:25:10.190731+00:00","author_handle":"frog@datadoghq.com","widgets":[{"definition":{"requests":[{"formulas":[{"formula":"query1 + query2","limit":{"count":10,"order":"asc"}}],"response_format":"scalar","queries":[{"aggregator":"sum","data_source":"metrics","name":"query1","query":"avg:system.cpu.system{*} by {datacenter}"},{"aggregator":"sum","data_source":"metrics","name":"query2","query":"avg:system.load.1{*} by {datacenter}"}]}],"type":"toplist"},"id":3925289752360287},{"definition":{"requests":[{"formulas":[{"formula":"query1","limit":{"count":25,"order":"desc"}}],"response_format":"scalar","queries":[{"search":{"query":"abc"},"data_source":"rum","compute":{"aggregation":"count"},"name":"query1","indexes":["*"]}]}],"type":"toplist"},"id":6057887070427033}],"layout_type":"ordered"}' headers: Cache-Control: - no-cache @@ -28,7 +28,7 @@ interactions: Content-Type: - application/json Date: - - Mon, 24 May 2021 14:37:43 GMT + - Fri, 16 Apr 2021 17:25:13 GMT Pragma: - no-cache Strict-Transport-Security: @@ -38,9 +38,9 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Debug: - - tpRCH6w417YjBovRJ8VmtuXmNONVYiRp2c8d2AxjPdGBn8PCtgG4vAztrx3qUZAN + - HbtaOKlJ6OCrx9tMXO6ivMTrEM+g0c93HDp08trmOmgdHozC5J+vn10F0H4WPjCU X-Dd-Version: - - "35.4593741" + - "35.4330587" X-Frame-Options: - SAMEORIGIN status: 200 OK @@ -55,11 +55,11 @@ interactions: Dd-Operation-Id: - GetDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) - url: https://api.datadoghq.com/api/v1/dashboard/wjv-9d4-2d7 + - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.19+dev (go go1.15.6; os darwin; arch amd64) + url: https://api.datadoghq.com/api/v1/dashboard/8m8-w4i-zck method: GET response: - body: '{"notify_list":[],"description":"Created using the Datadog provider in Terraform","restricted_roles":["284d8b66-93f9-11eb-9c37-da7ad0900002","043a2842-e140-11e8-bb04-7fd10177666e","657de3a2-29f8-11eb-83b5-6b8ebfb2f184","e82bf27a-986c-11eb-9cba-da7ad0900002","f257ba30-dbb2-11ea-a5ff-5fd1d308318a","6bf314be-5c16-11eb-8e98-2356ea436065","62cbc476-5c16-11eb-8e98-0388ea7a41f8","08604de8-1dca-11eb-800c-9f5f55ff734d","9b3ab170-b768-11eb-a45a-da7ad0900002","7a83f306-96ca-11eb-9c74-da7ad0900002","16169788-28e4-11eb-832c-fb84162ef3eb","4de53192-9946-11eb-9cee-da7ad0900002","1302282c-b93b-11eb-a436-da7ad0900002","17d73994-7531-11eb-94b9-da7ad0900002"],"author_name":"Qin Chen","template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"wjv-9d4-2d7","title":"tf-TestAccDatadogDashboardTopListFormula_import-local-1621867061","url":"/dashboard/wjv-9d4-2d7/tf-testaccdatadogdashboardtoplistformulaimport-local-1621867061","created_at":"2021-05-24T14:37:43.363735+00:00","modified_at":"2021-05-24T14:37:43.363735+00:00","author_handle":"qin.chen@datadoghq.com","widgets":[{"definition":{"requests":[{"formulas":[{"formula":"query1 + query2","limit":{"count":10,"order":"asc"}}],"response_format":"scalar","queries":[{"aggregator":"sum","data_source":"metrics","name":"query1","query":"avg:system.cpu.system{*} by {datacenter}"},{"aggregator":"sum","data_source":"metrics","name":"query2","query":"avg:system.load.1{*} by {datacenter}"}]}],"type":"toplist"},"id":510320029391672},{"definition":{"requests":[{"formulas":[{"formula":"query1","limit":{"count":25,"order":"desc"}}],"response_format":"scalar","queries":[{"search":{"query":"abc"},"data_source":"rum","compute":{"aggregation":"count"},"name":"query1","indexes":["*"]}]}],"type":"toplist"},"id":2705302552826011}],"layout_type":"ordered"}' + body: '{"notify_list":[],"description":"Created using the Datadog provider in Terraform","author_name":null,"template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"8m8-w4i-zck","title":"tf-TestAccDatadogDashboardTopListFormula_import-local-1618593909","url":"/dashboard/8m8-w4i-zck/tf-testaccdatadogdashboardtoplistformulaimport-local-1618593909","created_at":"2021-04-16T17:25:10.190731+00:00","modified_at":"2021-04-16T17:25:10.190731+00:00","author_handle":"frog@datadoghq.com","widgets":[{"definition":{"requests":[{"formulas":[{"formula":"query1 + query2","limit":{"count":10,"order":"asc"}}],"response_format":"scalar","queries":[{"aggregator":"sum","data_source":"metrics","name":"query1","query":"avg:system.cpu.system{*} by {datacenter}"},{"aggregator":"sum","data_source":"metrics","name":"query2","query":"avg:system.load.1{*} by {datacenter}"}]}],"type":"toplist"},"id":3925289752360287},{"definition":{"requests":[{"formulas":[{"formula":"query1","limit":{"count":25,"order":"desc"}}],"response_format":"scalar","queries":[{"search":{"query":"abc"},"data_source":"rum","compute":{"aggregation":"count"},"name":"query1","indexes":["*"]}]}],"type":"toplist"},"id":6057887070427033}],"layout_type":"ordered"}' headers: Cache-Control: - no-cache @@ -70,7 +70,7 @@ interactions: Content-Type: - application/json Date: - - Mon, 24 May 2021 14:37:43 GMT + - Fri, 16 Apr 2021 17:25:13 GMT Pragma: - no-cache Strict-Transport-Security: @@ -80,9 +80,9 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Debug: - - l8RQo2maZqJf6GFThBbKNE6dvthz6njusVtau3dPXJWL2RLFoN81H+BLPB/1xgs1 + - LcgNasIYBRkNppmD6mCKE9J6iv0eEjosuuHR5V5zw2fWbR54i39C8dhdK8zDq/40 X-Dd-Version: - - "35.4593741" + - "35.4330587" X-Frame-Options: - SAMEORIGIN status: 200 OK @@ -97,11 +97,11 @@ interactions: Dd-Operation-Id: - GetDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) - url: https://api.datadoghq.com/api/v1/dashboard/wjv-9d4-2d7 + - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.19+dev (go go1.15.6; os darwin; arch amd64) + url: https://api.datadoghq.com/api/v1/dashboard/8m8-w4i-zck method: GET response: - body: '{"notify_list":[],"description":"Created using the Datadog provider in Terraform","restricted_roles":["284d8b66-93f9-11eb-9c37-da7ad0900002","043a2842-e140-11e8-bb04-7fd10177666e","657de3a2-29f8-11eb-83b5-6b8ebfb2f184","e82bf27a-986c-11eb-9cba-da7ad0900002","f257ba30-dbb2-11ea-a5ff-5fd1d308318a","6bf314be-5c16-11eb-8e98-2356ea436065","62cbc476-5c16-11eb-8e98-0388ea7a41f8","08604de8-1dca-11eb-800c-9f5f55ff734d","9b3ab170-b768-11eb-a45a-da7ad0900002","7a83f306-96ca-11eb-9c74-da7ad0900002","16169788-28e4-11eb-832c-fb84162ef3eb","4de53192-9946-11eb-9cee-da7ad0900002","1302282c-b93b-11eb-a436-da7ad0900002","17d73994-7531-11eb-94b9-da7ad0900002"],"author_name":"Qin Chen","template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"wjv-9d4-2d7","title":"tf-TestAccDatadogDashboardTopListFormula_import-local-1621867061","url":"/dashboard/wjv-9d4-2d7/tf-testaccdatadogdashboardtoplistformulaimport-local-1621867061","created_at":"2021-05-24T14:37:43.363735+00:00","modified_at":"2021-05-24T14:37:43.363735+00:00","author_handle":"qin.chen@datadoghq.com","widgets":[{"definition":{"requests":[{"formulas":[{"formula":"query1 + query2","limit":{"count":10,"order":"asc"}}],"response_format":"scalar","queries":[{"aggregator":"sum","data_source":"metrics","name":"query1","query":"avg:system.cpu.system{*} by {datacenter}"},{"aggregator":"sum","data_source":"metrics","name":"query2","query":"avg:system.load.1{*} by {datacenter}"}]}],"type":"toplist"},"id":510320029391672},{"definition":{"requests":[{"formulas":[{"formula":"query1","limit":{"count":25,"order":"desc"}}],"response_format":"scalar","queries":[{"search":{"query":"abc"},"data_source":"rum","compute":{"aggregation":"count"},"name":"query1","indexes":["*"]}]}],"type":"toplist"},"id":2705302552826011}],"layout_type":"ordered"}' + body: '{"notify_list":[],"description":"Created using the Datadog provider in Terraform","author_name":null,"template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"8m8-w4i-zck","title":"tf-TestAccDatadogDashboardTopListFormula_import-local-1618593909","url":"/dashboard/8m8-w4i-zck/tf-testaccdatadogdashboardtoplistformulaimport-local-1618593909","created_at":"2021-04-16T17:25:10.190731+00:00","modified_at":"2021-04-16T17:25:10.190731+00:00","author_handle":"frog@datadoghq.com","widgets":[{"definition":{"requests":[{"formulas":[{"formula":"query1 + query2","limit":{"count":10,"order":"asc"}}],"response_format":"scalar","queries":[{"aggregator":"sum","data_source":"metrics","name":"query1","query":"avg:system.cpu.system{*} by {datacenter}"},{"aggregator":"sum","data_source":"metrics","name":"query2","query":"avg:system.load.1{*} by {datacenter}"}]}],"type":"toplist"},"id":3925289752360287},{"definition":{"requests":[{"formulas":[{"formula":"query1","limit":{"count":25,"order":"desc"}}],"response_format":"scalar","queries":[{"search":{"query":"abc"},"data_source":"rum","compute":{"aggregation":"count"},"name":"query1","indexes":["*"]}]}],"type":"toplist"},"id":6057887070427033}],"layout_type":"ordered"}' headers: Cache-Control: - no-cache @@ -112,7 +112,7 @@ interactions: Content-Type: - application/json Date: - - Mon, 24 May 2021 14:37:44 GMT + - Fri, 16 Apr 2021 17:25:14 GMT Pragma: - no-cache Strict-Transport-Security: @@ -122,9 +122,9 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Debug: - - vdJ3/nHEY1ioXQ6pQrBVvsQK1s4yyc+wufBMPSoXql71qZVuP/xMdtNo6DafhOAk + - mNzaoDhdDKO7t4QSrAe5X7pHd0bJND187D+vRbwoluXouE2m1UaQQX0RGCvRpLVE X-Dd-Version: - - "35.4593741" + - "35.4330587" X-Frame-Options: - SAMEORIGIN status: 200 OK @@ -139,11 +139,11 @@ interactions: Dd-Operation-Id: - GetDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) - url: https://api.datadoghq.com/api/v1/dashboard/wjv-9d4-2d7 + - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.19+dev (go go1.15.6; os darwin; arch amd64) + url: https://api.datadoghq.com/api/v1/dashboard/8m8-w4i-zck method: GET response: - body: '{"notify_list":[],"description":"Created using the Datadog provider in Terraform","restricted_roles":["284d8b66-93f9-11eb-9c37-da7ad0900002","043a2842-e140-11e8-bb04-7fd10177666e","657de3a2-29f8-11eb-83b5-6b8ebfb2f184","e82bf27a-986c-11eb-9cba-da7ad0900002","f257ba30-dbb2-11ea-a5ff-5fd1d308318a","6bf314be-5c16-11eb-8e98-2356ea436065","62cbc476-5c16-11eb-8e98-0388ea7a41f8","08604de8-1dca-11eb-800c-9f5f55ff734d","9b3ab170-b768-11eb-a45a-da7ad0900002","7a83f306-96ca-11eb-9c74-da7ad0900002","16169788-28e4-11eb-832c-fb84162ef3eb","4de53192-9946-11eb-9cee-da7ad0900002","1302282c-b93b-11eb-a436-da7ad0900002","17d73994-7531-11eb-94b9-da7ad0900002"],"author_name":"Qin Chen","template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"wjv-9d4-2d7","title":"tf-TestAccDatadogDashboardTopListFormula_import-local-1621867061","url":"/dashboard/wjv-9d4-2d7/tf-testaccdatadogdashboardtoplistformulaimport-local-1621867061","created_at":"2021-05-24T14:37:43.363735+00:00","modified_at":"2021-05-24T14:37:43.363735+00:00","author_handle":"qin.chen@datadoghq.com","widgets":[{"definition":{"requests":[{"formulas":[{"formula":"query1 + query2","limit":{"count":10,"order":"asc"}}],"response_format":"scalar","queries":[{"aggregator":"sum","data_source":"metrics","name":"query1","query":"avg:system.cpu.system{*} by {datacenter}"},{"aggregator":"sum","data_source":"metrics","name":"query2","query":"avg:system.load.1{*} by {datacenter}"}]}],"type":"toplist"},"id":510320029391672},{"definition":{"requests":[{"formulas":[{"formula":"query1","limit":{"count":25,"order":"desc"}}],"response_format":"scalar","queries":[{"search":{"query":"abc"},"data_source":"rum","compute":{"aggregation":"count"},"name":"query1","indexes":["*"]}]}],"type":"toplist"},"id":2705302552826011}],"layout_type":"ordered"}' + body: '{"notify_list":[],"description":"Created using the Datadog provider in Terraform","author_name":null,"template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"8m8-w4i-zck","title":"tf-TestAccDatadogDashboardTopListFormula_import-local-1618593909","url":"/dashboard/8m8-w4i-zck/tf-testaccdatadogdashboardtoplistformulaimport-local-1618593909","created_at":"2021-04-16T17:25:10.190731+00:00","modified_at":"2021-04-16T17:25:10.190731+00:00","author_handle":"frog@datadoghq.com","widgets":[{"definition":{"requests":[{"formulas":[{"formula":"query1 + query2","limit":{"count":10,"order":"asc"}}],"response_format":"scalar","queries":[{"aggregator":"sum","data_source":"metrics","name":"query1","query":"avg:system.cpu.system{*} by {datacenter}"},{"aggregator":"sum","data_source":"metrics","name":"query2","query":"avg:system.load.1{*} by {datacenter}"}]}],"type":"toplist"},"id":3925289752360287},{"definition":{"requests":[{"formulas":[{"formula":"query1","limit":{"count":25,"order":"desc"}}],"response_format":"scalar","queries":[{"search":{"query":"abc"},"data_source":"rum","compute":{"aggregation":"count"},"name":"query1","indexes":["*"]}]}],"type":"toplist"},"id":6057887070427033}],"layout_type":"ordered"}' headers: Cache-Control: - no-cache @@ -154,7 +154,7 @@ interactions: Content-Type: - application/json Date: - - Mon, 24 May 2021 14:37:45 GMT + - Fri, 16 Apr 2021 17:25:14 GMT Pragma: - no-cache Strict-Transport-Security: @@ -164,9 +164,9 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Debug: - - PhosSd3Ch1B6B0DXI71steKUi7XhPDttnPiIP1NdXTw0VJNWpoUnYyBmODS5ne3q + - bgHykj7A9bfZx0Y5ZO3swhhp5tGUSNJHqFWR868+qg087CYrDOd5hQslC+noiEtH X-Dd-Version: - - "35.4593741" + - "35.4330587" X-Frame-Options: - SAMEORIGIN status: 200 OK @@ -181,11 +181,11 @@ interactions: Dd-Operation-Id: - GetDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) - url: https://api.datadoghq.com/api/v1/dashboard/wjv-9d4-2d7 + - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.19+dev (go go1.15.6; os darwin; arch amd64) + url: https://api.datadoghq.com/api/v1/dashboard/8m8-w4i-zck method: GET response: - body: '{"notify_list":[],"description":"Created using the Datadog provider in Terraform","restricted_roles":["284d8b66-93f9-11eb-9c37-da7ad0900002","043a2842-e140-11e8-bb04-7fd10177666e","657de3a2-29f8-11eb-83b5-6b8ebfb2f184","e82bf27a-986c-11eb-9cba-da7ad0900002","f257ba30-dbb2-11ea-a5ff-5fd1d308318a","6bf314be-5c16-11eb-8e98-2356ea436065","62cbc476-5c16-11eb-8e98-0388ea7a41f8","08604de8-1dca-11eb-800c-9f5f55ff734d","9b3ab170-b768-11eb-a45a-da7ad0900002","7a83f306-96ca-11eb-9c74-da7ad0900002","16169788-28e4-11eb-832c-fb84162ef3eb","4de53192-9946-11eb-9cee-da7ad0900002","1302282c-b93b-11eb-a436-da7ad0900002","17d73994-7531-11eb-94b9-da7ad0900002"],"author_name":"Qin Chen","template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"wjv-9d4-2d7","title":"tf-TestAccDatadogDashboardTopListFormula_import-local-1621867061","url":"/dashboard/wjv-9d4-2d7/tf-testaccdatadogdashboardtoplistformulaimport-local-1621867061","created_at":"2021-05-24T14:37:43.363735+00:00","modified_at":"2021-05-24T14:37:43.363735+00:00","author_handle":"qin.chen@datadoghq.com","widgets":[{"definition":{"requests":[{"formulas":[{"formula":"query1 + query2","limit":{"count":10,"order":"asc"}}],"response_format":"scalar","queries":[{"aggregator":"sum","data_source":"metrics","name":"query1","query":"avg:system.cpu.system{*} by {datacenter}"},{"aggregator":"sum","data_source":"metrics","name":"query2","query":"avg:system.load.1{*} by {datacenter}"}]}],"type":"toplist"},"id":510320029391672},{"definition":{"requests":[{"formulas":[{"formula":"query1","limit":{"count":25,"order":"desc"}}],"response_format":"scalar","queries":[{"search":{"query":"abc"},"data_source":"rum","compute":{"aggregation":"count"},"name":"query1","indexes":["*"]}]}],"type":"toplist"},"id":2705302552826011}],"layout_type":"ordered"}' + body: '{"notify_list":[],"description":"Created using the Datadog provider in Terraform","author_name":null,"template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"8m8-w4i-zck","title":"tf-TestAccDatadogDashboardTopListFormula_import-local-1618593909","url":"/dashboard/8m8-w4i-zck/tf-testaccdatadogdashboardtoplistformulaimport-local-1618593909","created_at":"2021-04-16T17:25:10.190731+00:00","modified_at":"2021-04-16T17:25:10.190731+00:00","author_handle":"frog@datadoghq.com","widgets":[{"definition":{"requests":[{"formulas":[{"formula":"query1 + query2","limit":{"count":10,"order":"asc"}}],"response_format":"scalar","queries":[{"aggregator":"sum","data_source":"metrics","name":"query1","query":"avg:system.cpu.system{*} by {datacenter}"},{"aggregator":"sum","data_source":"metrics","name":"query2","query":"avg:system.load.1{*} by {datacenter}"}]}],"type":"toplist"},"id":3925289752360287},{"definition":{"requests":[{"formulas":[{"formula":"query1","limit":{"count":25,"order":"desc"}}],"response_format":"scalar","queries":[{"search":{"query":"abc"},"data_source":"rum","compute":{"aggregation":"count"},"name":"query1","indexes":["*"]}]}],"type":"toplist"},"id":6057887070427033}],"layout_type":"ordered"}' headers: Cache-Control: - no-cache @@ -196,7 +196,7 @@ interactions: Content-Type: - application/json Date: - - Mon, 24 May 2021 14:37:45 GMT + - Fri, 16 Apr 2021 17:25:14 GMT Pragma: - no-cache Strict-Transport-Security: @@ -206,9 +206,9 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Debug: - - dCmL/3rURV6BPeaqeP3Rxigq41m5CAb17XjrRE42uZ01zpr07HVhbL5/3TWMkvgu + - Um4CoU685QqAscnxhS5BD+goWu2yX1Jd4zCfGzSsEvPPIm1qURZaF8dlLl/OEY4I X-Dd-Version: - - "35.4593741" + - "35.4330587" X-Frame-Options: - SAMEORIGIN status: 200 OK @@ -223,11 +223,11 @@ interactions: Dd-Operation-Id: - GetDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) - url: https://api.datadoghq.com/api/v1/dashboard/wjv-9d4-2d7 + - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.19+dev (go go1.15.6; os darwin; arch amd64) + url: https://api.datadoghq.com/api/v1/dashboard/8m8-w4i-zck method: GET response: - body: '{"notify_list":[],"description":"Created using the Datadog provider in Terraform","restricted_roles":["284d8b66-93f9-11eb-9c37-da7ad0900002","043a2842-e140-11e8-bb04-7fd10177666e","657de3a2-29f8-11eb-83b5-6b8ebfb2f184","e82bf27a-986c-11eb-9cba-da7ad0900002","f257ba30-dbb2-11ea-a5ff-5fd1d308318a","6bf314be-5c16-11eb-8e98-2356ea436065","62cbc476-5c16-11eb-8e98-0388ea7a41f8","08604de8-1dca-11eb-800c-9f5f55ff734d","9b3ab170-b768-11eb-a45a-da7ad0900002","7a83f306-96ca-11eb-9c74-da7ad0900002","16169788-28e4-11eb-832c-fb84162ef3eb","4de53192-9946-11eb-9cee-da7ad0900002","1302282c-b93b-11eb-a436-da7ad0900002","17d73994-7531-11eb-94b9-da7ad0900002"],"author_name":"Qin Chen","template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"wjv-9d4-2d7","title":"tf-TestAccDatadogDashboardTopListFormula_import-local-1621867061","url":"/dashboard/wjv-9d4-2d7/tf-testaccdatadogdashboardtoplistformulaimport-local-1621867061","created_at":"2021-05-24T14:37:43.363735+00:00","modified_at":"2021-05-24T14:37:43.363735+00:00","author_handle":"qin.chen@datadoghq.com","widgets":[{"definition":{"requests":[{"formulas":[{"formula":"query1 + query2","limit":{"count":10,"order":"asc"}}],"response_format":"scalar","queries":[{"aggregator":"sum","data_source":"metrics","name":"query1","query":"avg:system.cpu.system{*} by {datacenter}"},{"aggregator":"sum","data_source":"metrics","name":"query2","query":"avg:system.load.1{*} by {datacenter}"}]}],"type":"toplist"},"id":510320029391672},{"definition":{"requests":[{"formulas":[{"formula":"query1","limit":{"count":25,"order":"desc"}}],"response_format":"scalar","queries":[{"search":{"query":"abc"},"data_source":"rum","compute":{"aggregation":"count"},"name":"query1","indexes":["*"]}]}],"type":"toplist"},"id":2705302552826011}],"layout_type":"ordered"}' + body: '{"notify_list":[],"description":"Created using the Datadog provider in Terraform","author_name":null,"template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"8m8-w4i-zck","title":"tf-TestAccDatadogDashboardTopListFormula_import-local-1618593909","url":"/dashboard/8m8-w4i-zck/tf-testaccdatadogdashboardtoplistformulaimport-local-1618593909","created_at":"2021-04-16T17:25:10.190731+00:00","modified_at":"2021-04-16T17:25:10.190731+00:00","author_handle":"frog@datadoghq.com","widgets":[{"definition":{"requests":[{"formulas":[{"formula":"query1 + query2","limit":{"count":10,"order":"asc"}}],"response_format":"scalar","queries":[{"aggregator":"sum","data_source":"metrics","name":"query1","query":"avg:system.cpu.system{*} by {datacenter}"},{"aggregator":"sum","data_source":"metrics","name":"query2","query":"avg:system.load.1{*} by {datacenter}"}]}],"type":"toplist"},"id":3925289752360287},{"definition":{"requests":[{"formulas":[{"formula":"query1","limit":{"count":25,"order":"desc"}}],"response_format":"scalar","queries":[{"search":{"query":"abc"},"data_source":"rum","compute":{"aggregation":"count"},"name":"query1","indexes":["*"]}]}],"type":"toplist"},"id":6057887070427033}],"layout_type":"ordered"}' headers: Cache-Control: - no-cache @@ -238,7 +238,7 @@ interactions: Content-Type: - application/json Date: - - Mon, 24 May 2021 14:37:45 GMT + - Fri, 16 Apr 2021 17:25:15 GMT Pragma: - no-cache Strict-Transport-Security: @@ -248,9 +248,9 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Debug: - - F5gm0Rce1/Abr9/0Fw8HAqWfiz0FdiH8er/AXnN6lOn3L6KyGgbsLCwgPlob1No8 + - gYZcaADwbKcv7Hm19HJx6WsLoKuOijDWAt2viPeCfWqUgyKY+9e1xZdmMJeXV3YV X-Dd-Version: - - "35.4593741" + - "35.4330587" X-Frame-Options: - SAMEORIGIN status: 200 OK @@ -265,11 +265,11 @@ interactions: Dd-Operation-Id: - DeleteDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) - url: https://api.datadoghq.com/api/v1/dashboard/wjv-9d4-2d7 + - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.19+dev (go go1.15.6; os darwin; arch amd64) + url: https://api.datadoghq.com/api/v1/dashboard/8m8-w4i-zck method: DELETE response: - body: '{"deleted_dashboard_id":"wjv-9d4-2d7"}' + body: '{"deleted_dashboard_id":"8m8-w4i-zck"}' headers: Cache-Control: - no-cache @@ -280,7 +280,7 @@ interactions: Content-Type: - application/json Date: - - Mon, 24 May 2021 14:37:46 GMT + - Fri, 16 Apr 2021 17:25:15 GMT Pragma: - no-cache Strict-Transport-Security: @@ -290,9 +290,9 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Debug: - - L3ULR3HwCWYmEqCWGz2Yob3chcH4pjowBacBXkncP7o+/uPqKt9yGEYf/g1AJPzQ + - B1nwy/pPNqX+q4pQT22cdp1QCexE35IF8qwSHy0Nf7IW0Y881qtn4tXN1lpmzaKc X-Dd-Version: - - "35.4593741" + - "35.4330587" X-Frame-Options: - SAMEORIGIN status: 200 OK @@ -307,11 +307,11 @@ interactions: Dd-Operation-Id: - GetDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) - url: https://api.datadoghq.com/api/v1/dashboard/wjv-9d4-2d7 + - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.19+dev (go go1.15.6; os darwin; arch amd64) + url: https://api.datadoghq.com/api/v1/dashboard/8m8-w4i-zck method: GET response: - body: '{"errors": ["Dashboard with ID wjv-9d4-2d7 not found"]}' + body: '{"errors": ["Dashboard with ID 8m8-w4i-zck not found"]}' headers: Cache-Control: - no-cache @@ -322,7 +322,7 @@ interactions: Content-Type: - application/json Date: - - Mon, 24 May 2021 14:37:46 GMT + - Fri, 16 Apr 2021 17:25:15 GMT Pragma: - no-cache Strict-Transport-Security: @@ -332,7 +332,7 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Version: - - "35.4593741" + - "35.4330587" X-Frame-Options: - SAMEORIGIN status: 404 Not Found diff --git a/datadog/tests/cassettes/TestAccDatadogDashboardTopList_import.freeze b/datadog/tests/cassettes/TestAccDatadogDashboardTopList_import.freeze index 3934149c5..29ac1946a 100644 --- a/datadog/tests/cassettes/TestAccDatadogDashboardTopList_import.freeze +++ b/datadog/tests/cassettes/TestAccDatadogDashboardTopList_import.freeze @@ -1 +1 @@ -2021-05-24T10:37:41.494713-04:00 \ No newline at end of file +2021-04-16T13:25:09.298871-04:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogDashboardTopList_import.yaml b/datadog/tests/cassettes/TestAccDatadogDashboardTopList_import.yaml index 033127c89..6d3360e4a 100644 --- a/datadog/tests/cassettes/TestAccDatadogDashboardTopList_import.yaml +++ b/datadog/tests/cassettes/TestAccDatadogDashboardTopList_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-TestAccDatadogDashboardTopList_import-local-1621867061","widgets":[{"definition":{"custom_links":[{"label":"Test Custom Link label","link":"https://app.datadoghq.com/dashboard/lists"}],"requests":[{"conditional_formats":[{"comparator":"\u003e","hide_value":false,"palette":"white_on_red","value":15000}],"q":"top(avg:system.core.user{account:prod} by {service,app}, 10, 'sum', 'desc')"}],"time":{"live_span":"1w"},"title":"Avg of system.core.user over account:prod by service,app","title_align":"right","title_size":"16","type":"toplist"}}]} + {"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-TestAccDatadogDashboardTopList_import-local-1618593909","widgets":[{"definition":{"custom_links":[{"label":"Test Custom Link label","link":"https://app.datadoghq.com/dashboard/lists"}],"requests":[{"conditional_formats":[{"comparator":"\u003e","hide_value":false,"palette":"white_on_red","value":15000}],"q":"top(avg:system.core.user{account:prod} by {service,app}, 10, 'sum', 'desc')"}],"time":{"live_span":"1w"},"title":"Avg of system.core.user over account:prod by service,app","title_align":"right","title_size":"16","type":"toplist"}}]} form: {} headers: Accept: @@ -13,11 +13,11 @@ interactions: Dd-Operation-Id: - CreateDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) + - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.19+dev (go go1.15.6; os darwin; arch amd64) url: https://api.datadoghq.com/api/v1/dashboard method: POST response: - body: '{"notify_list":[],"description":"Created using the Datadog provider in Terraform","restricted_roles":["043a2842-e140-11e8-bb04-7fd10177666e","08604de8-1dca-11eb-800c-9f5f55ff734d","1302282c-b93b-11eb-a436-da7ad0900002","16169788-28e4-11eb-832c-fb84162ef3eb","17d73994-7531-11eb-94b9-da7ad0900002","284d8b66-93f9-11eb-9c37-da7ad0900002","4de53192-9946-11eb-9cee-da7ad0900002","62cbc476-5c16-11eb-8e98-0388ea7a41f8","657de3a2-29f8-11eb-83b5-6b8ebfb2f184","6bf314be-5c16-11eb-8e98-2356ea436065","7a83f306-96ca-11eb-9c74-da7ad0900002","9b3ab170-b768-11eb-a45a-da7ad0900002","e82bf27a-986c-11eb-9cba-da7ad0900002","f257ba30-dbb2-11ea-a5ff-5fd1d308318a"],"author_name":"Qin Chen","template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"28p-gm3-6ev","title":"tf-TestAccDatadogDashboardTopList_import-local-1621867061","url":"/dashboard/28p-gm3-6ev/tf-testaccdatadogdashboardtoplistimport-local-1621867061","created_at":"2021-05-24T14:37:43.366481+00:00","modified_at":"2021-05-24T14:37:43.366481+00:00","author_handle":"qin.chen@datadoghq.com","widgets":[{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test Custom Link label"}],"title_size":"16","title":"Avg of system.core.user over account:prod by service,app","title_align":"right","time":{"live_span":"1w"},"requests":[{"q":"top(avg:system.core.user{account:prod} by {service,app}, 10, ''sum'', ''desc'')","conditional_formats":[{"palette":"white_on_red","hide_value":false,"value":15000,"comparator":">"}]}],"type":"toplist"},"id":889836208978988}],"layout_type":"ordered"}' + body: '{"notify_list":[],"description":"Created using the Datadog provider in Terraform","author_name":null,"template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"xwv-u3g-gen","title":"tf-TestAccDatadogDashboardTopList_import-local-1618593909","url":"/dashboard/xwv-u3g-gen/tf-testaccdatadogdashboardtoplistimport-local-1618593909","created_at":"2021-04-16T17:25:10.207371+00:00","modified_at":"2021-04-16T17:25:10.207371+00:00","author_handle":"frog@datadoghq.com","widgets":[{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test Custom Link label"}],"title_size":"16","title":"Avg of system.core.user over account:prod by service,app","title_align":"right","time":{"live_span":"1w"},"requests":[{"q":"top(avg:system.core.user{account:prod} by {service,app}, 10, ''sum'', ''desc'')","conditional_formats":[{"palette":"white_on_red","hide_value":false,"value":15000,"comparator":">"}]}],"type":"toplist"},"id":4612504202992112}],"layout_type":"ordered"}' headers: Cache-Control: - no-cache @@ -28,7 +28,7 @@ interactions: Content-Type: - application/json Date: - - Mon, 24 May 2021 14:37:43 GMT + - Fri, 16 Apr 2021 17:25:13 GMT Pragma: - no-cache Strict-Transport-Security: @@ -38,9 +38,9 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Debug: - - 2328yjLSqI4XmR1pVqrPRR/SFcQsbafjEpPmZx7/3PfxUK1nJQQsX+wrMelyVyj+ + - L3ULR3HwCWYmEqCWGz2Yob3chcH4pjowBacBXkncP7o+/uPqKt9yGEYf/g1AJPzQ X-Dd-Version: - - "35.4593741" + - "35.4330587" X-Frame-Options: - SAMEORIGIN status: 200 OK @@ -55,11 +55,11 @@ interactions: Dd-Operation-Id: - GetDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) - url: https://api.datadoghq.com/api/v1/dashboard/28p-gm3-6ev + - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.19+dev (go go1.15.6; os darwin; arch amd64) + url: https://api.datadoghq.com/api/v1/dashboard/xwv-u3g-gen method: GET response: - body: '{"notify_list":[],"description":"Created using the Datadog provider in Terraform","restricted_roles":["284d8b66-93f9-11eb-9c37-da7ad0900002","043a2842-e140-11e8-bb04-7fd10177666e","657de3a2-29f8-11eb-83b5-6b8ebfb2f184","e82bf27a-986c-11eb-9cba-da7ad0900002","f257ba30-dbb2-11ea-a5ff-5fd1d308318a","6bf314be-5c16-11eb-8e98-2356ea436065","62cbc476-5c16-11eb-8e98-0388ea7a41f8","08604de8-1dca-11eb-800c-9f5f55ff734d","9b3ab170-b768-11eb-a45a-da7ad0900002","7a83f306-96ca-11eb-9c74-da7ad0900002","16169788-28e4-11eb-832c-fb84162ef3eb","4de53192-9946-11eb-9cee-da7ad0900002","1302282c-b93b-11eb-a436-da7ad0900002","17d73994-7531-11eb-94b9-da7ad0900002"],"author_name":"Qin Chen","template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"28p-gm3-6ev","title":"tf-TestAccDatadogDashboardTopList_import-local-1621867061","url":"/dashboard/28p-gm3-6ev/tf-testaccdatadogdashboardtoplistimport-local-1621867061","created_at":"2021-05-24T14:37:43.366481+00:00","modified_at":"2021-05-24T14:37:43.366481+00:00","author_handle":"qin.chen@datadoghq.com","widgets":[{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test Custom Link label"}],"title_size":"16","title":"Avg of system.core.user over account:prod by service,app","title_align":"right","time":{"live_span":"1w"},"requests":[{"q":"top(avg:system.core.user{account:prod} by {service,app}, 10, ''sum'', ''desc'')","conditional_formats":[{"palette":"white_on_red","hide_value":false,"value":15000,"comparator":">"}]}],"type":"toplist"},"id":889836208978988}],"layout_type":"ordered"}' + body: '{"notify_list":[],"description":"Created using the Datadog provider in Terraform","author_name":null,"template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"xwv-u3g-gen","title":"tf-TestAccDatadogDashboardTopList_import-local-1618593909","url":"/dashboard/xwv-u3g-gen/tf-testaccdatadogdashboardtoplistimport-local-1618593909","created_at":"2021-04-16T17:25:10.207371+00:00","modified_at":"2021-04-16T17:25:10.207371+00:00","author_handle":"frog@datadoghq.com","widgets":[{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test Custom Link label"}],"title_size":"16","title":"Avg of system.core.user over account:prod by service,app","title_align":"right","time":{"live_span":"1w"},"requests":[{"q":"top(avg:system.core.user{account:prod} by {service,app}, 10, ''sum'', ''desc'')","conditional_formats":[{"palette":"white_on_red","hide_value":false,"value":15000,"comparator":">"}]}],"type":"toplist"},"id":4612504202992112}],"layout_type":"ordered"}' headers: Cache-Control: - no-cache @@ -70,7 +70,7 @@ interactions: Content-Type: - application/json Date: - - Mon, 24 May 2021 14:37:43 GMT + - Fri, 16 Apr 2021 17:25:13 GMT Pragma: - no-cache Strict-Transport-Security: @@ -80,9 +80,9 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Debug: - - L3ULR3HwCWYmEqCWGz2Yob3chcH4pjowBacBXkncP7o+/uPqKt9yGEYf/g1AJPzQ + - fIO2C4qGDheGHy4YbS+r3a3CXbh4cbRo7roILOimQyiHGjQdOat0cIpWCkupM1uX X-Dd-Version: - - "35.4593741" + - "35.4330587" X-Frame-Options: - SAMEORIGIN status: 200 OK @@ -97,11 +97,11 @@ interactions: Dd-Operation-Id: - GetDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) - url: https://api.datadoghq.com/api/v1/dashboard/28p-gm3-6ev + - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.19+dev (go go1.15.6; os darwin; arch amd64) + url: https://api.datadoghq.com/api/v1/dashboard/xwv-u3g-gen method: GET response: - body: '{"notify_list":[],"description":"Created using the Datadog provider in Terraform","restricted_roles":["284d8b66-93f9-11eb-9c37-da7ad0900002","043a2842-e140-11e8-bb04-7fd10177666e","657de3a2-29f8-11eb-83b5-6b8ebfb2f184","e82bf27a-986c-11eb-9cba-da7ad0900002","f257ba30-dbb2-11ea-a5ff-5fd1d308318a","6bf314be-5c16-11eb-8e98-2356ea436065","62cbc476-5c16-11eb-8e98-0388ea7a41f8","08604de8-1dca-11eb-800c-9f5f55ff734d","9b3ab170-b768-11eb-a45a-da7ad0900002","7a83f306-96ca-11eb-9c74-da7ad0900002","16169788-28e4-11eb-832c-fb84162ef3eb","4de53192-9946-11eb-9cee-da7ad0900002","1302282c-b93b-11eb-a436-da7ad0900002","17d73994-7531-11eb-94b9-da7ad0900002"],"author_name":"Qin Chen","template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"28p-gm3-6ev","title":"tf-TestAccDatadogDashboardTopList_import-local-1621867061","url":"/dashboard/28p-gm3-6ev/tf-testaccdatadogdashboardtoplistimport-local-1621867061","created_at":"2021-05-24T14:37:43.366481+00:00","modified_at":"2021-05-24T14:37:43.366481+00:00","author_handle":"qin.chen@datadoghq.com","widgets":[{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test Custom Link label"}],"title_size":"16","title":"Avg of system.core.user over account:prod by service,app","title_align":"right","time":{"live_span":"1w"},"requests":[{"q":"top(avg:system.core.user{account:prod} by {service,app}, 10, ''sum'', ''desc'')","conditional_formats":[{"palette":"white_on_red","hide_value":false,"value":15000,"comparator":">"}]}],"type":"toplist"},"id":889836208978988}],"layout_type":"ordered"}' + body: '{"notify_list":[],"description":"Created using the Datadog provider in Terraform","author_name":null,"template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"xwv-u3g-gen","title":"tf-TestAccDatadogDashboardTopList_import-local-1618593909","url":"/dashboard/xwv-u3g-gen/tf-testaccdatadogdashboardtoplistimport-local-1618593909","created_at":"2021-04-16T17:25:10.207371+00:00","modified_at":"2021-04-16T17:25:10.207371+00:00","author_handle":"frog@datadoghq.com","widgets":[{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test Custom Link label"}],"title_size":"16","title":"Avg of system.core.user over account:prod by service,app","title_align":"right","time":{"live_span":"1w"},"requests":[{"q":"top(avg:system.core.user{account:prod} by {service,app}, 10, ''sum'', ''desc'')","conditional_formats":[{"palette":"white_on_red","hide_value":false,"value":15000,"comparator":">"}]}],"type":"toplist"},"id":4612504202992112}],"layout_type":"ordered"}' headers: Cache-Control: - no-cache @@ -112,7 +112,7 @@ interactions: Content-Type: - application/json Date: - - Mon, 24 May 2021 14:37:44 GMT + - Fri, 16 Apr 2021 17:25:14 GMT Pragma: - no-cache Strict-Transport-Security: @@ -122,9 +122,9 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Debug: - - mNzaoDhdDKO7t4QSrAe5X7pHd0bJND187D+vRbwoluXouE2m1UaQQX0RGCvRpLVE + - dPySkcOzIZtKyMKDAAzuysY3gNGGj6RtYogGuSb76E8mPvoqzREyRp6lPYm91hQU X-Dd-Version: - - "35.4593741" + - "35.4330587" X-Frame-Options: - SAMEORIGIN status: 200 OK @@ -139,11 +139,11 @@ interactions: Dd-Operation-Id: - GetDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) - url: https://api.datadoghq.com/api/v1/dashboard/28p-gm3-6ev + - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.19+dev (go go1.15.6; os darwin; arch amd64) + url: https://api.datadoghq.com/api/v1/dashboard/xwv-u3g-gen method: GET response: - body: '{"notify_list":[],"description":"Created using the Datadog provider in Terraform","restricted_roles":["284d8b66-93f9-11eb-9c37-da7ad0900002","043a2842-e140-11e8-bb04-7fd10177666e","657de3a2-29f8-11eb-83b5-6b8ebfb2f184","e82bf27a-986c-11eb-9cba-da7ad0900002","f257ba30-dbb2-11ea-a5ff-5fd1d308318a","6bf314be-5c16-11eb-8e98-2356ea436065","62cbc476-5c16-11eb-8e98-0388ea7a41f8","08604de8-1dca-11eb-800c-9f5f55ff734d","9b3ab170-b768-11eb-a45a-da7ad0900002","7a83f306-96ca-11eb-9c74-da7ad0900002","16169788-28e4-11eb-832c-fb84162ef3eb","4de53192-9946-11eb-9cee-da7ad0900002","1302282c-b93b-11eb-a436-da7ad0900002","17d73994-7531-11eb-94b9-da7ad0900002"],"author_name":"Qin Chen","template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"28p-gm3-6ev","title":"tf-TestAccDatadogDashboardTopList_import-local-1621867061","url":"/dashboard/28p-gm3-6ev/tf-testaccdatadogdashboardtoplistimport-local-1621867061","created_at":"2021-05-24T14:37:43.366481+00:00","modified_at":"2021-05-24T14:37:43.366481+00:00","author_handle":"qin.chen@datadoghq.com","widgets":[{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test Custom Link label"}],"title_size":"16","title":"Avg of system.core.user over account:prod by service,app","title_align":"right","time":{"live_span":"1w"},"requests":[{"q":"top(avg:system.core.user{account:prod} by {service,app}, 10, ''sum'', ''desc'')","conditional_formats":[{"palette":"white_on_red","hide_value":false,"value":15000,"comparator":">"}]}],"type":"toplist"},"id":889836208978988}],"layout_type":"ordered"}' + body: '{"notify_list":[],"description":"Created using the Datadog provider in Terraform","author_name":null,"template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"xwv-u3g-gen","title":"tf-TestAccDatadogDashboardTopList_import-local-1618593909","url":"/dashboard/xwv-u3g-gen/tf-testaccdatadogdashboardtoplistimport-local-1618593909","created_at":"2021-04-16T17:25:10.207371+00:00","modified_at":"2021-04-16T17:25:10.207371+00:00","author_handle":"frog@datadoghq.com","widgets":[{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test Custom Link label"}],"title_size":"16","title":"Avg of system.core.user over account:prod by service,app","title_align":"right","time":{"live_span":"1w"},"requests":[{"q":"top(avg:system.core.user{account:prod} by {service,app}, 10, ''sum'', ''desc'')","conditional_formats":[{"palette":"white_on_red","hide_value":false,"value":15000,"comparator":">"}]}],"type":"toplist"},"id":4612504202992112}],"layout_type":"ordered"}' headers: Cache-Control: - no-cache @@ -154,7 +154,7 @@ interactions: Content-Type: - application/json Date: - - Mon, 24 May 2021 14:37:45 GMT + - Fri, 16 Apr 2021 17:25:14 GMT Pragma: - no-cache Strict-Transport-Security: @@ -164,9 +164,9 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Debug: - - Wjq53IVIwnB4SiR238oOYgHFMq/ZYP0LQ/Dv8C2fFLBwTje/dWJHu6pI6vIOK1zG + - tpRCH6w417YjBovRJ8VmtuXmNONVYiRp2c8d2AxjPdGBn8PCtgG4vAztrx3qUZAN X-Dd-Version: - - "35.4593741" + - "35.4330587" X-Frame-Options: - SAMEORIGIN status: 200 OK @@ -181,11 +181,11 @@ interactions: Dd-Operation-Id: - GetDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) - url: https://api.datadoghq.com/api/v1/dashboard/28p-gm3-6ev + - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.19+dev (go go1.15.6; os darwin; arch amd64) + url: https://api.datadoghq.com/api/v1/dashboard/xwv-u3g-gen method: GET response: - body: '{"notify_list":[],"description":"Created using the Datadog provider in Terraform","restricted_roles":["284d8b66-93f9-11eb-9c37-da7ad0900002","043a2842-e140-11e8-bb04-7fd10177666e","657de3a2-29f8-11eb-83b5-6b8ebfb2f184","e82bf27a-986c-11eb-9cba-da7ad0900002","f257ba30-dbb2-11ea-a5ff-5fd1d308318a","6bf314be-5c16-11eb-8e98-2356ea436065","62cbc476-5c16-11eb-8e98-0388ea7a41f8","08604de8-1dca-11eb-800c-9f5f55ff734d","9b3ab170-b768-11eb-a45a-da7ad0900002","7a83f306-96ca-11eb-9c74-da7ad0900002","16169788-28e4-11eb-832c-fb84162ef3eb","4de53192-9946-11eb-9cee-da7ad0900002","1302282c-b93b-11eb-a436-da7ad0900002","17d73994-7531-11eb-94b9-da7ad0900002"],"author_name":"Qin Chen","template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"28p-gm3-6ev","title":"tf-TestAccDatadogDashboardTopList_import-local-1621867061","url":"/dashboard/28p-gm3-6ev/tf-testaccdatadogdashboardtoplistimport-local-1621867061","created_at":"2021-05-24T14:37:43.366481+00:00","modified_at":"2021-05-24T14:37:43.366481+00:00","author_handle":"qin.chen@datadoghq.com","widgets":[{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test Custom Link label"}],"title_size":"16","title":"Avg of system.core.user over account:prod by service,app","title_align":"right","time":{"live_span":"1w"},"requests":[{"q":"top(avg:system.core.user{account:prod} by {service,app}, 10, ''sum'', ''desc'')","conditional_formats":[{"palette":"white_on_red","hide_value":false,"value":15000,"comparator":">"}]}],"type":"toplist"},"id":889836208978988}],"layout_type":"ordered"}' + body: '{"notify_list":[],"description":"Created using the Datadog provider in Terraform","author_name":null,"template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"xwv-u3g-gen","title":"tf-TestAccDatadogDashboardTopList_import-local-1618593909","url":"/dashboard/xwv-u3g-gen/tf-testaccdatadogdashboardtoplistimport-local-1618593909","created_at":"2021-04-16T17:25:10.207371+00:00","modified_at":"2021-04-16T17:25:10.207371+00:00","author_handle":"frog@datadoghq.com","widgets":[{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test Custom Link label"}],"title_size":"16","title":"Avg of system.core.user over account:prod by service,app","title_align":"right","time":{"live_span":"1w"},"requests":[{"q":"top(avg:system.core.user{account:prod} by {service,app}, 10, ''sum'', ''desc'')","conditional_formats":[{"palette":"white_on_red","hide_value":false,"value":15000,"comparator":">"}]}],"type":"toplist"},"id":4612504202992112}],"layout_type":"ordered"}' headers: Cache-Control: - no-cache @@ -196,7 +196,7 @@ interactions: Content-Type: - application/json Date: - - Mon, 24 May 2021 14:37:45 GMT + - Fri, 16 Apr 2021 17:25:14 GMT Pragma: - no-cache Strict-Transport-Security: @@ -206,9 +206,9 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Debug: - - 2328yjLSqI4XmR1pVqrPRR/SFcQsbafjEpPmZx7/3PfxUK1nJQQsX+wrMelyVyj+ + - Um4CoU685QqAscnxhS5BD+goWu2yX1Jd4zCfGzSsEvPPIm1qURZaF8dlLl/OEY4I X-Dd-Version: - - "35.4593741" + - "35.4330587" X-Frame-Options: - SAMEORIGIN status: 200 OK @@ -223,11 +223,11 @@ interactions: Dd-Operation-Id: - GetDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) - url: https://api.datadoghq.com/api/v1/dashboard/28p-gm3-6ev + - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.19+dev (go go1.15.6; os darwin; arch amd64) + url: https://api.datadoghq.com/api/v1/dashboard/xwv-u3g-gen method: GET response: - body: '{"notify_list":[],"description":"Created using the Datadog provider in Terraform","restricted_roles":["284d8b66-93f9-11eb-9c37-da7ad0900002","043a2842-e140-11e8-bb04-7fd10177666e","657de3a2-29f8-11eb-83b5-6b8ebfb2f184","e82bf27a-986c-11eb-9cba-da7ad0900002","f257ba30-dbb2-11ea-a5ff-5fd1d308318a","6bf314be-5c16-11eb-8e98-2356ea436065","62cbc476-5c16-11eb-8e98-0388ea7a41f8","08604de8-1dca-11eb-800c-9f5f55ff734d","9b3ab170-b768-11eb-a45a-da7ad0900002","7a83f306-96ca-11eb-9c74-da7ad0900002","16169788-28e4-11eb-832c-fb84162ef3eb","4de53192-9946-11eb-9cee-da7ad0900002","1302282c-b93b-11eb-a436-da7ad0900002","17d73994-7531-11eb-94b9-da7ad0900002"],"author_name":"Qin Chen","template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"28p-gm3-6ev","title":"tf-TestAccDatadogDashboardTopList_import-local-1621867061","url":"/dashboard/28p-gm3-6ev/tf-testaccdatadogdashboardtoplistimport-local-1621867061","created_at":"2021-05-24T14:37:43.366481+00:00","modified_at":"2021-05-24T14:37:43.366481+00:00","author_handle":"qin.chen@datadoghq.com","widgets":[{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test Custom Link label"}],"title_size":"16","title":"Avg of system.core.user over account:prod by service,app","title_align":"right","time":{"live_span":"1w"},"requests":[{"q":"top(avg:system.core.user{account:prod} by {service,app}, 10, ''sum'', ''desc'')","conditional_formats":[{"palette":"white_on_red","hide_value":false,"value":15000,"comparator":">"}]}],"type":"toplist"},"id":889836208978988}],"layout_type":"ordered"}' + body: '{"notify_list":[],"description":"Created using the Datadog provider in Terraform","author_name":null,"template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"xwv-u3g-gen","title":"tf-TestAccDatadogDashboardTopList_import-local-1618593909","url":"/dashboard/xwv-u3g-gen/tf-testaccdatadogdashboardtoplistimport-local-1618593909","created_at":"2021-04-16T17:25:10.207371+00:00","modified_at":"2021-04-16T17:25:10.207371+00:00","author_handle":"frog@datadoghq.com","widgets":[{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test Custom Link label"}],"title_size":"16","title":"Avg of system.core.user over account:prod by service,app","title_align":"right","time":{"live_span":"1w"},"requests":[{"q":"top(avg:system.core.user{account:prod} by {service,app}, 10, ''sum'', ''desc'')","conditional_formats":[{"palette":"white_on_red","hide_value":false,"value":15000,"comparator":">"}]}],"type":"toplist"},"id":4612504202992112}],"layout_type":"ordered"}' headers: Cache-Control: - no-cache @@ -238,7 +238,7 @@ interactions: Content-Type: - application/json Date: - - Mon, 24 May 2021 14:37:45 GMT + - Fri, 16 Apr 2021 17:25:14 GMT Pragma: - no-cache Strict-Transport-Security: @@ -248,9 +248,9 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Debug: - - dPySkcOzIZtKyMKDAAzuysY3gNGGj6RtYogGuSb76E8mPvoqzREyRp6lPYm91hQU + - SY1h8ScsWq+kYmtbh63ltMLFAZsQjqfrgvdfAoRX+9TzT1sgMBRYaFRwfWWRRe9a X-Dd-Version: - - "35.4593741" + - "35.4330587" X-Frame-Options: - SAMEORIGIN status: 200 OK @@ -265,11 +265,11 @@ interactions: Dd-Operation-Id: - DeleteDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) - url: https://api.datadoghq.com/api/v1/dashboard/28p-gm3-6ev + - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.19+dev (go go1.15.6; os darwin; arch amd64) + url: https://api.datadoghq.com/api/v1/dashboard/xwv-u3g-gen method: DELETE response: - body: '{"deleted_dashboard_id":"28p-gm3-6ev"}' + body: '{"deleted_dashboard_id":"xwv-u3g-gen"}' headers: Cache-Control: - no-cache @@ -280,7 +280,7 @@ interactions: Content-Type: - application/json Date: - - Mon, 24 May 2021 14:37:46 GMT + - Fri, 16 Apr 2021 17:25:15 GMT Pragma: - no-cache Strict-Transport-Security: @@ -290,9 +290,9 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Debug: - - nLnnBNvlCFDECRnZvzDb0z4sAO35G+IMidcAs8vrCKyjvsKWE8Yd9S3n6OjZ1qRN + - Um4CoU685QqAscnxhS5BD+goWu2yX1Jd4zCfGzSsEvPPIm1qURZaF8dlLl/OEY4I X-Dd-Version: - - "35.4593741" + - "35.4330587" X-Frame-Options: - SAMEORIGIN status: 200 OK @@ -307,11 +307,11 @@ interactions: Dd-Operation-Id: - GetDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) - url: https://api.datadoghq.com/api/v1/dashboard/28p-gm3-6ev + - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.19+dev (go go1.15.6; os darwin; arch amd64) + url: https://api.datadoghq.com/api/v1/dashboard/xwv-u3g-gen method: GET response: - body: '{"errors": ["Dashboard with ID 28p-gm3-6ev not found"]}' + body: '{"errors": ["Dashboard with ID xwv-u3g-gen not found"]}' headers: Cache-Control: - no-cache @@ -322,7 +322,7 @@ interactions: Content-Type: - application/json Date: - - Mon, 24 May 2021 14:37:46 GMT + - Fri, 16 Apr 2021 17:25:15 GMT Pragma: - no-cache Strict-Transport-Security: @@ -332,7 +332,7 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Version: - - "35.4593741" + - "35.4330587" X-Frame-Options: - SAMEORIGIN status: 404 Not Found diff --git a/datadog/tests/cassettes/TestAccDatadogDashboardTraceService.freeze b/datadog/tests/cassettes/TestAccDatadogDashboardTraceService.freeze index 7c1b74168..419bdb7fb 100644 --- a/datadog/tests/cassettes/TestAccDatadogDashboardTraceService.freeze +++ b/datadog/tests/cassettes/TestAccDatadogDashboardTraceService.freeze @@ -1 +1 @@ -2021-05-24T10:37:36.300172-04:00 \ No newline at end of file +2021-05-14T08:59:30.873757+02:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogDashboardTraceService_import.freeze b/datadog/tests/cassettes/TestAccDatadogDashboardTraceService_import.freeze index 2ed6a3cf7..8574298bd 100644 --- a/datadog/tests/cassettes/TestAccDatadogDashboardTraceService_import.freeze +++ b/datadog/tests/cassettes/TestAccDatadogDashboardTraceService_import.freeze @@ -1 +1 @@ -2021-05-24T10:37:36.281069-04:00 \ No newline at end of file +2021-05-14T08:59:30.87422+02:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogDashboard_import.freeze b/datadog/tests/cassettes/TestAccDatadogDashboard_import.freeze index 37e2a1299..afa830e3b 100644 --- a/datadog/tests/cassettes/TestAccDatadogDashboard_import.freeze +++ b/datadog/tests/cassettes/TestAccDatadogDashboard_import.freeze @@ -1 +1 @@ -2021-05-24T10:37:36.320473-04:00 \ No newline at end of file +2021-05-03T11:40:24.869737+02:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogDashboard_update.freeze b/datadog/tests/cassettes/TestAccDatadogDashboard_update.freeze index ba0e5d3ac..9fe928329 100644 --- a/datadog/tests/cassettes/TestAccDatadogDashboard_update.freeze +++ b/datadog/tests/cassettes/TestAccDatadogDashboard_update.freeze @@ -1 +1 @@ -2021-05-24T10:37:36.333559-04:00 \ No newline at end of file +2021-05-03T11:37:50.130001+02:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogDowntimeDates.freeze b/datadog/tests/cassettes/TestAccDatadogDowntimeDates.freeze index 00fd270b7..eac53b281 100644 --- a/datadog/tests/cassettes/TestAccDatadogDowntimeDates.freeze +++ b/datadog/tests/cassettes/TestAccDatadogDowntimeDates.freeze @@ -1 +1 @@ -2021-05-24T10:37:36.493395-04:00 \ No newline at end of file +2020-12-31T15:42:08.800524+01:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogDowntimeDatesConflict.freeze b/datadog/tests/cassettes/TestAccDatadogDowntimeDatesConflict.freeze index 373335a19..76a09e4ef 100644 --- a/datadog/tests/cassettes/TestAccDatadogDowntimeDatesConflict.freeze +++ b/datadog/tests/cassettes/TestAccDatadogDowntimeDatesConflict.freeze @@ -1 +1 @@ -2021-05-24T10:37:36.477588-04:00 \ No newline at end of file +2020-12-31T15:42:08.801731+01:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogDowntime_Basic.freeze b/datadog/tests/cassettes/TestAccDatadogDowntime_Basic.freeze index f79282915..a5e30a263 100644 --- a/datadog/tests/cassettes/TestAccDatadogDowntime_Basic.freeze +++ b/datadog/tests/cassettes/TestAccDatadogDowntime_Basic.freeze @@ -1 +1 @@ -2021-05-24T10:37:36.529941-04:00 \ No newline at end of file +2020-12-31T15:42:08.783651+01:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogDowntime_BasicMultiScope.freeze b/datadog/tests/cassettes/TestAccDatadogDowntime_BasicMultiScope.freeze index d5098eaba..613182326 100644 --- a/datadog/tests/cassettes/TestAccDatadogDowntime_BasicMultiScope.freeze +++ b/datadog/tests/cassettes/TestAccDatadogDowntime_BasicMultiScope.freeze @@ -1 +1 @@ -2021-05-24T10:37:36.517698-04:00 \ No newline at end of file +2020-12-31T15:42:08.788453+01:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogDowntime_BasicNoRecurrence.freeze b/datadog/tests/cassettes/TestAccDatadogDowntime_BasicNoRecurrence.freeze index c8b117ae5..efb0298ef 100644 --- a/datadog/tests/cassettes/TestAccDatadogDowntime_BasicNoRecurrence.freeze +++ b/datadog/tests/cassettes/TestAccDatadogDowntime_BasicNoRecurrence.freeze @@ -1 +1 @@ -2021-05-24T10:37:36.521373-04:00 \ No newline at end of file +2020-12-31T15:42:08.789946+01:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogDowntime_BasicUntilDateRecurrence.freeze b/datadog/tests/cassettes/TestAccDatadogDowntime_BasicUntilDateRecurrence.freeze index de91f9774..5c79fdb61 100644 --- a/datadog/tests/cassettes/TestAccDatadogDowntime_BasicUntilDateRecurrence.freeze +++ b/datadog/tests/cassettes/TestAccDatadogDowntime_BasicUntilDateRecurrence.freeze @@ -1 +1 @@ -2021-05-24T10:37:36.517107-04:00 \ No newline at end of file +2020-12-31T15:42:08.791497+01:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogDowntime_BasicUntilOccurrencesRecurrence.freeze b/datadog/tests/cassettes/TestAccDatadogDowntime_BasicUntilOccurrencesRecurrence.freeze index 1f2acc8e5..f24753a4d 100644 --- a/datadog/tests/cassettes/TestAccDatadogDowntime_BasicUntilOccurrencesRecurrence.freeze +++ b/datadog/tests/cassettes/TestAccDatadogDowntime_BasicUntilOccurrencesRecurrence.freeze @@ -1 +1 @@ -2021-05-24T10:37:36.489796-04:00 \ No newline at end of file +2020-12-31T15:42:08.792762+01:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogDowntime_BasicWithMonitor.freeze b/datadog/tests/cassettes/TestAccDatadogDowntime_BasicWithMonitor.freeze index 6a841c066..353bbca9b 100644 --- a/datadog/tests/cassettes/TestAccDatadogDowntime_BasicWithMonitor.freeze +++ b/datadog/tests/cassettes/TestAccDatadogDowntime_BasicWithMonitor.freeze @@ -1 +1 @@ -2021-05-24T10:37:36.529704-04:00 \ No newline at end of file +2020-12-31T15:42:08.785663+01:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogDowntime_BasicWithMonitorTags.freeze b/datadog/tests/cassettes/TestAccDatadogDowntime_BasicWithMonitorTags.freeze index e988707df..851bc659a 100644 --- a/datadog/tests/cassettes/TestAccDatadogDowntime_BasicWithMonitorTags.freeze +++ b/datadog/tests/cassettes/TestAccDatadogDowntime_BasicWithMonitorTags.freeze @@ -1 +1 @@ -2021-05-24T10:37:36.532927-04:00 \ No newline at end of file +2020-12-31T15:42:08.787158+01:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogDowntime_DiffStart.freeze b/datadog/tests/cassettes/TestAccDatadogDowntime_DiffStart.freeze index 8377bd54e..4f23aa793 100644 --- a/datadog/tests/cassettes/TestAccDatadogDowntime_DiffStart.freeze +++ b/datadog/tests/cassettes/TestAccDatadogDowntime_DiffStart.freeze @@ -1 +1 @@ -2021-05-24T10:37:36.492011-04:00 \ No newline at end of file +2021-04-22T18:05:51.631723+02:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogDowntime_RRule.freeze b/datadog/tests/cassettes/TestAccDatadogDowntime_RRule.freeze index cd0237a66..f0e4271a7 100644 --- a/datadog/tests/cassettes/TestAccDatadogDowntime_RRule.freeze +++ b/datadog/tests/cassettes/TestAccDatadogDowntime_RRule.freeze @@ -1 +1 @@ -2021-05-24T10:37:36.501606-04:00 \ No newline at end of file +2020-12-31T15:42:08.795409+01:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogDowntime_TrimWhitespace.freeze b/datadog/tests/cassettes/TestAccDatadogDowntime_TrimWhitespace.freeze index 524d1c81e..0b27c79b9 100644 --- a/datadog/tests/cassettes/TestAccDatadogDowntime_TrimWhitespace.freeze +++ b/datadog/tests/cassettes/TestAccDatadogDowntime_TrimWhitespace.freeze @@ -1 +1 @@ -2021-05-24T10:37:36.496519-04:00 \ No newline at end of file +2020-12-31T15:42:08.797929+01:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogDowntime_Updated.freeze b/datadog/tests/cassettes/TestAccDatadogDowntime_Updated.freeze index f99edb020..0e8eb06fa 100644 --- a/datadog/tests/cassettes/TestAccDatadogDowntime_Updated.freeze +++ b/datadog/tests/cassettes/TestAccDatadogDowntime_Updated.freeze @@ -1 +1 @@ -2021-05-24T10:37:36.494668-04:00 \ No newline at end of file +2020-12-31T15:42:08.796658+01:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogDowntime_WeekDayRecurring.freeze b/datadog/tests/cassettes/TestAccDatadogDowntime_WeekDayRecurring.freeze index 124877638..f0e043bf9 100644 --- a/datadog/tests/cassettes/TestAccDatadogDowntime_WeekDayRecurring.freeze +++ b/datadog/tests/cassettes/TestAccDatadogDowntime_WeekDayRecurring.freeze @@ -1 +1 @@ -2021-05-24T10:37:36.510315-04:00 \ No newline at end of file +2020-12-31T15:42:08.794199+01:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogFreeDashboard.freeze b/datadog/tests/cassettes/TestAccDatadogFreeDashboard.freeze index c17f30fdd..6c7782bb3 100644 --- a/datadog/tests/cassettes/TestAccDatadogFreeDashboard.freeze +++ b/datadog/tests/cassettes/TestAccDatadogFreeDashboard.freeze @@ -1 +1 @@ -2021-05-24T10:37:36.333696-04:00 \ No newline at end of file +2021-05-03T11:38:01.138719+02:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogIntegrationAWS.freeze b/datadog/tests/cassettes/TestAccDatadogIntegrationAWS.freeze index c008d2f72..6f04fb27b 100644 --- a/datadog/tests/cassettes/TestAccDatadogIntegrationAWS.freeze +++ b/datadog/tests/cassettes/TestAccDatadogIntegrationAWS.freeze @@ -1 +1 @@ -2021-05-24T10:37:36.215724-04:00 \ No newline at end of file +2020-12-31T15:42:28.691873+01:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogIntegrationAWSLambdaArn.freeze b/datadog/tests/cassettes/TestAccDatadogIntegrationAWSLambdaArn.freeze index dd6bdb943..b4ebb0286 100644 --- a/datadog/tests/cassettes/TestAccDatadogIntegrationAWSLambdaArn.freeze +++ b/datadog/tests/cassettes/TestAccDatadogIntegrationAWSLambdaArn.freeze @@ -1 +1 @@ -2021-05-24T10:37:36.206729-04:00 \ No newline at end of file +2020-12-31T15:42:08.803998+01:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogIntegrationAWSLogCollection.freeze b/datadog/tests/cassettes/TestAccDatadogIntegrationAWSLogCollection.freeze index 6b4fd11f8..e104f8ad2 100644 --- a/datadog/tests/cassettes/TestAccDatadogIntegrationAWSLogCollection.freeze +++ b/datadog/tests/cassettes/TestAccDatadogIntegrationAWSLogCollection.freeze @@ -1 +1 @@ -2021-05-24T10:37:36.210165-04:00 \ No newline at end of file +2021-01-27T17:52:02.772145-05:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogIntegrationAwsTagFilter_Basic.freeze b/datadog/tests/cassettes/TestAccDatadogIntegrationAwsTagFilter_Basic.freeze index e9c43c744..63c435191 100644 --- a/datadog/tests/cassettes/TestAccDatadogIntegrationAwsTagFilter_Basic.freeze +++ b/datadog/tests/cassettes/TestAccDatadogIntegrationAwsTagFilter_Basic.freeze @@ -1 +1 @@ -2021-05-24T10:37:36.212613-04:00 \ No newline at end of file +2021-02-08T09:24:53.23552-05:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogIntegrationAzure.freeze b/datadog/tests/cassettes/TestAccDatadogIntegrationAzure.freeze index 6cd9ae54b..19d4c2ce3 100644 --- a/datadog/tests/cassettes/TestAccDatadogIntegrationAzure.freeze +++ b/datadog/tests/cassettes/TestAccDatadogIntegrationAzure.freeze @@ -1 +1 @@ -2021-05-24T10:37:36.219384-04:00 \ No newline at end of file +2020-12-31T15:42:42.840905+01:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogIntegrationGCP.freeze b/datadog/tests/cassettes/TestAccDatadogIntegrationGCP.freeze index f60fffe11..562a42e3a 100644 --- a/datadog/tests/cassettes/TestAccDatadogIntegrationGCP.freeze +++ b/datadog/tests/cassettes/TestAccDatadogIntegrationGCP.freeze @@ -1 +1 @@ -2021-05-24T10:37:36.221506-04:00 \ No newline at end of file +2021-03-30T13:30:54.526302-04:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogIntegrationPagerdutyServiceObject_Basic.freeze b/datadog/tests/cassettes/TestAccDatadogIntegrationPagerdutyServiceObject_Basic.freeze index bf2217cb7..3e175e31a 100644 --- a/datadog/tests/cassettes/TestAccDatadogIntegrationPagerdutyServiceObject_Basic.freeze +++ b/datadog/tests/cassettes/TestAccDatadogIntegrationPagerdutyServiceObject_Basic.freeze @@ -1 +1 @@ -2021-05-24T10:37:36.224238-04:00 \ No newline at end of file +2020-12-31T15:42:59.710078+01:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogIntegrationPagerduty_Basic.freeze b/datadog/tests/cassettes/TestAccDatadogIntegrationPagerduty_Basic.freeze index c2229ebf7..027b80e0b 100644 --- a/datadog/tests/cassettes/TestAccDatadogIntegrationPagerduty_Basic.freeze +++ b/datadog/tests/cassettes/TestAccDatadogIntegrationPagerduty_Basic.freeze @@ -1 +1 @@ -2021-05-24T10:37:36.226734-04:00 \ No newline at end of file +2020-12-31T15:43:22.176299+01:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogIntegrationPagerduty_Migrate2ServiceObjects.freeze b/datadog/tests/cassettes/TestAccDatadogIntegrationPagerduty_Migrate2ServiceObjects.freeze index 25f576622..d3c586f96 100644 --- a/datadog/tests/cassettes/TestAccDatadogIntegrationPagerduty_Migrate2ServiceObjects.freeze +++ b/datadog/tests/cassettes/TestAccDatadogIntegrationPagerduty_Migrate2ServiceObjects.freeze @@ -1 +1 @@ -2021-05-24T10:37:36.231105-04:00 \ No newline at end of file +2020-12-31T15:43:32.639231+01:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogIntegrationPagerduty_TwoServices.freeze b/datadog/tests/cassettes/TestAccDatadogIntegrationPagerduty_TwoServices.freeze index b8a09de7b..185589893 100644 --- a/datadog/tests/cassettes/TestAccDatadogIntegrationPagerduty_TwoServices.freeze +++ b/datadog/tests/cassettes/TestAccDatadogIntegrationPagerduty_TwoServices.freeze @@ -1 +1 @@ -2021-05-24T10:37:36.228905-04:00 \ No newline at end of file +2020-12-31T15:43:27.814555+01:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogIntegrationSlackChannel_Basic.freeze b/datadog/tests/cassettes/TestAccDatadogIntegrationSlackChannel_Basic.freeze index 4d9d0bb44..782617481 100644 --- a/datadog/tests/cassettes/TestAccDatadogIntegrationSlackChannel_Basic.freeze +++ b/datadog/tests/cassettes/TestAccDatadogIntegrationSlackChannel_Basic.freeze @@ -1 +1 @@ -2021-05-24T10:37:36.23522-04:00 \ No newline at end of file +2021-02-24T10:36:56.464519-05:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogIntegrationSlackChannel_Import.freeze b/datadog/tests/cassettes/TestAccDatadogIntegrationSlackChannel_Import.freeze index d1d35cdf2..f5ad330be 100644 --- a/datadog/tests/cassettes/TestAccDatadogIntegrationSlackChannel_Import.freeze +++ b/datadog/tests/cassettes/TestAccDatadogIntegrationSlackChannel_Import.freeze @@ -1 +1 @@ -2021-05-24T10:37:36.237417-04:00 \ No newline at end of file +2021-04-02T17:21:13.24789-04:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogIpRangesDatasource_existing.freeze b/datadog/tests/cassettes/TestAccDatadogIpRangesDatasource_existing.freeze index c93b277e5..8e8c0b8cd 100644 --- a/datadog/tests/cassettes/TestAccDatadogIpRangesDatasource_existing.freeze +++ b/datadog/tests/cassettes/TestAccDatadogIpRangesDatasource_existing.freeze @@ -1 +1 @@ -2021-05-24T10:37:36.543977-04:00 \ No newline at end of file +2020-12-31T15:41:45.458709+01:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogLogsArchiveAzure_basic.freeze b/datadog/tests/cassettes/TestAccDatadogLogsArchiveAzure_basic.freeze index b60a2ad71..8883866bb 100644 --- a/datadog/tests/cassettes/TestAccDatadogLogsArchiveAzure_basic.freeze +++ b/datadog/tests/cassettes/TestAccDatadogLogsArchiveAzure_basic.freeze @@ -1 +1 @@ -2021-05-24T10:37:36.2454-04:00 \ No newline at end of file +2021-02-11T11:22:42.274999+01:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogLogsArchiveAzure_basicDeprecated.freeze b/datadog/tests/cassettes/TestAccDatadogLogsArchiveAzure_basicDeprecated.freeze index 98b8150a6..241b2b862 100644 --- a/datadog/tests/cassettes/TestAccDatadogLogsArchiveAzure_basicDeprecated.freeze +++ b/datadog/tests/cassettes/TestAccDatadogLogsArchiveAzure_basicDeprecated.freeze @@ -1 +1 @@ -2021-05-24T10:37:36.242775-04:00 \ No newline at end of file +2021-02-11T11:22:37.567134+01:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogLogsArchiveGCS_basic.freeze b/datadog/tests/cassettes/TestAccDatadogLogsArchiveGCS_basic.freeze index 2cfeb04a6..8407adc3e 100644 --- a/datadog/tests/cassettes/TestAccDatadogLogsArchiveGCS_basic.freeze +++ b/datadog/tests/cassettes/TestAccDatadogLogsArchiveGCS_basic.freeze @@ -1 +1 @@ -2021-05-24T10:37:36.252561-04:00 \ No newline at end of file +2021-03-30T13:48:22.326086-04:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogLogsArchiveGCS_basicDeprecated.freeze b/datadog/tests/cassettes/TestAccDatadogLogsArchiveGCS_basicDeprecated.freeze index 6b5c1a632..d2c5db607 100644 --- a/datadog/tests/cassettes/TestAccDatadogLogsArchiveGCS_basicDeprecated.freeze +++ b/datadog/tests/cassettes/TestAccDatadogLogsArchiveGCS_basicDeprecated.freeze @@ -1 +1 @@ -2021-05-24T10:37:36.250304-04:00 \ No newline at end of file +2021-03-30T13:48:19.618471-04:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogLogsArchiveOrder_basic.freeze b/datadog/tests/cassettes/TestAccDatadogLogsArchiveOrder_basic.freeze index 33617d809..03a60a0e2 100644 --- a/datadog/tests/cassettes/TestAccDatadogLogsArchiveOrder_basic.freeze +++ b/datadog/tests/cassettes/TestAccDatadogLogsArchiveOrder_basic.freeze @@ -1 +1 @@ -2021-05-24T10:37:36.238825-04:00 \ No newline at end of file +2020-12-31T15:43:54.931655+01:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogLogsArchiveOrder_empty.freeze b/datadog/tests/cassettes/TestAccDatadogLogsArchiveOrder_empty.freeze index 19f6d7f36..a6b186c4e 100644 --- a/datadog/tests/cassettes/TestAccDatadogLogsArchiveOrder_empty.freeze +++ b/datadog/tests/cassettes/TestAccDatadogLogsArchiveOrder_empty.freeze @@ -1 +1 @@ -2021-05-24T10:37:36.24054-04:00 \ No newline at end of file +2020-12-31T15:43:56.214089+01:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogLogsArchiveS3Update_basic.freeze b/datadog/tests/cassettes/TestAccDatadogLogsArchiveS3Update_basic.freeze index 542debeea..e87b89508 100644 --- a/datadog/tests/cassettes/TestAccDatadogLogsArchiveS3Update_basic.freeze +++ b/datadog/tests/cassettes/TestAccDatadogLogsArchiveS3Update_basic.freeze @@ -1 +1 @@ -2021-05-24T10:37:36.259033-04:00 \ No newline at end of file +2021-02-11T11:23:06.169854+01:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogLogsArchiveS3_basic.freeze b/datadog/tests/cassettes/TestAccDatadogLogsArchiveS3_basic.freeze index 1ff9d3768..0591437c5 100644 --- a/datadog/tests/cassettes/TestAccDatadogLogsArchiveS3_basic.freeze +++ b/datadog/tests/cassettes/TestAccDatadogLogsArchiveS3_basic.freeze @@ -1 +1 @@ -2021-05-24T10:37:36.256915-04:00 \ No newline at end of file +2021-02-11T11:22:59.849738+01:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogLogsArchiveS3_basicDeprecated.freeze b/datadog/tests/cassettes/TestAccDatadogLogsArchiveS3_basicDeprecated.freeze index 0972213e5..b751c1ab9 100644 --- a/datadog/tests/cassettes/TestAccDatadogLogsArchiveS3_basicDeprecated.freeze +++ b/datadog/tests/cassettes/TestAccDatadogLogsArchiveS3_basicDeprecated.freeze @@ -1 +1 @@ -2021-05-24T10:37:36.254784-04:00 \ No newline at end of file +2021-02-11T11:22:54.537145+01:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogLogsMetric_Basic.freeze b/datadog/tests/cassettes/TestAccDatadogLogsMetric_Basic.freeze index 1050b153f..c678ae87b 100644 --- a/datadog/tests/cassettes/TestAccDatadogLogsMetric_Basic.freeze +++ b/datadog/tests/cassettes/TestAccDatadogLogsMetric_Basic.freeze @@ -1 +1 @@ -2021-05-24T10:37:36.486855-04:00 \ No newline at end of file +2021-02-11T19:56:57.265256+01:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogLogsMetric_import.freeze b/datadog/tests/cassettes/TestAccDatadogLogsMetric_import.freeze index 60b08c93b..a912e1cbb 100644 --- a/datadog/tests/cassettes/TestAccDatadogLogsMetric_import.freeze +++ b/datadog/tests/cassettes/TestAccDatadogLogsMetric_import.freeze @@ -1 +1 @@ -2021-05-24T10:37:36.488994-04:00 \ No newline at end of file +2021-02-11T19:56:57.261814+01:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogLogsPipelineEmptyFilterQuery.freeze b/datadog/tests/cassettes/TestAccDatadogLogsPipelineEmptyFilterQuery.freeze index 7b4b7c666..6428072bb 100644 --- a/datadog/tests/cassettes/TestAccDatadogLogsPipelineEmptyFilterQuery.freeze +++ b/datadog/tests/cassettes/TestAccDatadogLogsPipelineEmptyFilterQuery.freeze @@ -1 +1 @@ -2021-05-24T10:37:36.261335-04:00 \ No newline at end of file +2021-02-11T12:42:54.635337+01:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogLogsPipeline_basic.freeze b/datadog/tests/cassettes/TestAccDatadogLogsPipeline_basic.freeze index d321fff45..8c31b6606 100644 --- a/datadog/tests/cassettes/TestAccDatadogLogsPipeline_basic.freeze +++ b/datadog/tests/cassettes/TestAccDatadogLogsPipeline_basic.freeze @@ -1 +1 @@ -2021-05-24T10:37:36.488524-04:00 \ No newline at end of file +2021-02-11T12:42:54.633672+01:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogMetricMetadata_Basic.freeze b/datadog/tests/cassettes/TestAccDatadogMetricMetadata_Basic.freeze index a4f29fd7a..bd2aae8a2 100644 --- a/datadog/tests/cassettes/TestAccDatadogMetricMetadata_Basic.freeze +++ b/datadog/tests/cassettes/TestAccDatadogMetricMetadata_Basic.freeze @@ -1 +1 @@ -2021-05-24T10:37:36.268036-04:00 \ No newline at end of file +2020-12-31T15:44:34.185227+01:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogMetricMetadata_Updated.freeze b/datadog/tests/cassettes/TestAccDatadogMetricMetadata_Updated.freeze index e3c69522b..3829f7a62 100644 --- a/datadog/tests/cassettes/TestAccDatadogMetricMetadata_Updated.freeze +++ b/datadog/tests/cassettes/TestAccDatadogMetricMetadata_Updated.freeze @@ -1 +1 @@ -2021-05-24T10:37:36.273388-04:00 \ No newline at end of file +2020-12-31T15:44:35.49207+01:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogMetricTagConfiguration_Error.freeze b/datadog/tests/cassettes/TestAccDatadogMetricTagConfiguration_Error.freeze index 45b625f6d..779ac436c 100644 --- a/datadog/tests/cassettes/TestAccDatadogMetricTagConfiguration_Error.freeze +++ b/datadog/tests/cassettes/TestAccDatadogMetricTagConfiguration_Error.freeze @@ -1 +1 @@ -2021-05-24T10:37:36.275875-04:00 \ No newline at end of file +2021-05-03T11:43:36.459701+02:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogMonitorDatasource.freeze b/datadog/tests/cassettes/TestAccDatadogMonitorDatasource.freeze index df2da9be5..81bb25223 100644 --- a/datadog/tests/cassettes/TestAccDatadogMonitorDatasource.freeze +++ b/datadog/tests/cassettes/TestAccDatadogMonitorDatasource.freeze @@ -1 +1 @@ -2021-05-24T10:37:36.540397-04:00 \ No newline at end of file +2021-01-12T15:04:25.506015+01:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogMonitorServiceCheck_Basic.freeze b/datadog/tests/cassettes/TestAccDatadogMonitorServiceCheck_Basic.freeze index d845d6633..542d9fe1b 100644 --- a/datadog/tests/cassettes/TestAccDatadogMonitorServiceCheck_Basic.freeze +++ b/datadog/tests/cassettes/TestAccDatadogMonitorServiceCheck_Basic.freeze @@ -1 +1 @@ -2021-05-24T10:37:36.483586-04:00 \ No newline at end of file +2020-12-31T15:44:37.582677+01:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogMonitor_Basic.freeze b/datadog/tests/cassettes/TestAccDatadogMonitor_Basic.freeze index 622d4a3e4..66138ca12 100644 --- a/datadog/tests/cassettes/TestAccDatadogMonitor_Basic.freeze +++ b/datadog/tests/cassettes/TestAccDatadogMonitor_Basic.freeze @@ -1 +1 @@ -2021-05-24T10:37:36.483724-04:00 \ No newline at end of file +2020-12-31T15:44:37.581111+01:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogMonitor_BasicNoTreshold.freeze b/datadog/tests/cassettes/TestAccDatadogMonitor_BasicNoTreshold.freeze index 54a3a3f8e..5528825dd 100644 --- a/datadog/tests/cassettes/TestAccDatadogMonitor_BasicNoTreshold.freeze +++ b/datadog/tests/cassettes/TestAccDatadogMonitor_BasicNoTreshold.freeze @@ -1 +1 @@ -2021-05-24T10:37:36.483384-04:00 \ No newline at end of file +2020-12-31T15:44:37.58399+01:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogMonitor_Basic_float_int.freeze b/datadog/tests/cassettes/TestAccDatadogMonitor_Basic_float_int.freeze index daa74f1d3..690f5a0ed 100644 --- a/datadog/tests/cassettes/TestAccDatadogMonitor_Basic_float_int.freeze +++ b/datadog/tests/cassettes/TestAccDatadogMonitor_Basic_float_int.freeze @@ -1 +1 @@ -2021-05-24T10:37:36.478842-04:00 \ No newline at end of file +2021-02-08T15:42:21.319801+01:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogMonitor_ComposeWithSyntheticsTest.freeze b/datadog/tests/cassettes/TestAccDatadogMonitor_ComposeWithSyntheticsTest.freeze index a34290a2b..06e1690b3 100644 --- a/datadog/tests/cassettes/TestAccDatadogMonitor_ComposeWithSyntheticsTest.freeze +++ b/datadog/tests/cassettes/TestAccDatadogMonitor_ComposeWithSyntheticsTest.freeze @@ -1 +1 @@ -2021-05-24T10:37:36.47018-04:00 \ No newline at end of file +2021-04-02T13:12:17.309332+02:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogMonitor_Log.freeze b/datadog/tests/cassettes/TestAccDatadogMonitor_Log.freeze index c6738ada5..86c28ee31 100644 --- a/datadog/tests/cassettes/TestAccDatadogMonitor_Log.freeze +++ b/datadog/tests/cassettes/TestAccDatadogMonitor_Log.freeze @@ -1 +1 @@ -2021-05-24T10:37:36.47329-04:00 \ No newline at end of file +2021-03-02T14:57:26.387907+01:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogMonitor_NoThresholdWindows.freeze b/datadog/tests/cassettes/TestAccDatadogMonitor_NoThresholdWindows.freeze index 07f1a220c..8b62d1ae6 100644 --- a/datadog/tests/cassettes/TestAccDatadogMonitor_NoThresholdWindows.freeze +++ b/datadog/tests/cassettes/TestAccDatadogMonitor_NoThresholdWindows.freeze @@ -1 +1 @@ -2021-05-24T10:37:36.43878-04:00 \ No newline at end of file +2020-12-31T15:44:37.592494+01:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogMonitor_RestrictedRoles.freeze b/datadog/tests/cassettes/TestAccDatadogMonitor_RestrictedRoles.freeze index 367b78cc7..dd63bd947 100644 --- a/datadog/tests/cassettes/TestAccDatadogMonitor_RestrictedRoles.freeze +++ b/datadog/tests/cassettes/TestAccDatadogMonitor_RestrictedRoles.freeze @@ -1 +1 @@ -2021-05-24T10:37:36.469603-04:00 \ No newline at end of file +2021-01-29T18:41:44.143653-05:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogMonitor_SilencedUpdateNoDiff.freeze b/datadog/tests/cassettes/TestAccDatadogMonitor_SilencedUpdateNoDiff.freeze index 1e5e916ff..577d8891f 100644 --- a/datadog/tests/cassettes/TestAccDatadogMonitor_SilencedUpdateNoDiff.freeze +++ b/datadog/tests/cassettes/TestAccDatadogMonitor_SilencedUpdateNoDiff.freeze @@ -1 +1 @@ -2021-05-24T10:37:36.473999-04:00 \ No newline at end of file +2020-12-31T15:44:37.59894+01:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogMonitor_ThresholdWindows.freeze b/datadog/tests/cassettes/TestAccDatadogMonitor_ThresholdWindows.freeze index 1af5ea614..dd5e159ee 100644 --- a/datadog/tests/cassettes/TestAccDatadogMonitor_ThresholdWindows.freeze +++ b/datadog/tests/cassettes/TestAccDatadogMonitor_ThresholdWindows.freeze @@ -1 +1 @@ -2021-05-24T10:37:36.473335-04:00 \ No newline at end of file +2020-12-31T15:44:37.593799+01:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogMonitor_TrimWhitespace.freeze b/datadog/tests/cassettes/TestAccDatadogMonitor_TrimWhitespace.freeze index a1e3c4889..7850a6ed3 100644 --- a/datadog/tests/cassettes/TestAccDatadogMonitor_TrimWhitespace.freeze +++ b/datadog/tests/cassettes/TestAccDatadogMonitor_TrimWhitespace.freeze @@ -1 +1 @@ -2021-05-24T10:37:36.479741-04:00 \ No newline at end of file +2020-12-31T15:44:37.58812+01:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogMonitor_Updated.freeze b/datadog/tests/cassettes/TestAccDatadogMonitor_Updated.freeze index 3d971fb4a..2c3b9f8aa 100644 --- a/datadog/tests/cassettes/TestAccDatadogMonitor_Updated.freeze +++ b/datadog/tests/cassettes/TestAccDatadogMonitor_Updated.freeze @@ -1 +1 @@ -2021-05-24T10:37:36.48269-04:00 \ No newline at end of file +2021-02-01T22:50:15.580497-05:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogMonitor_UpdatedToRemoveTags.freeze b/datadog/tests/cassettes/TestAccDatadogMonitor_UpdatedToRemoveTags.freeze index cec8e039f..83c94a2fc 100644 --- a/datadog/tests/cassettes/TestAccDatadogMonitor_UpdatedToRemoveTags.freeze +++ b/datadog/tests/cassettes/TestAccDatadogMonitor_UpdatedToRemoveTags.freeze @@ -1 +1 @@ -2021-05-24T10:37:36.478956-04:00 \ No newline at end of file +2021-02-01T22:50:15.582315-05:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogMonitor_ZeroDelay.freeze b/datadog/tests/cassettes/TestAccDatadogMonitor_ZeroDelay.freeze index 63e5d8e3f..73b971566 100644 --- a/datadog/tests/cassettes/TestAccDatadogMonitor_ZeroDelay.freeze +++ b/datadog/tests/cassettes/TestAccDatadogMonitor_ZeroDelay.freeze @@ -1 +1 @@ -2021-05-24T10:37:36.467223-04:00 \ No newline at end of file +2020-12-31T15:44:37.601678+01:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogMonitorsDatasource.freeze b/datadog/tests/cassettes/TestAccDatadogMonitorsDatasource.freeze index d7c4a3844..d65a169ba 100644 --- a/datadog/tests/cassettes/TestAccDatadogMonitorsDatasource.freeze +++ b/datadog/tests/cassettes/TestAccDatadogMonitorsDatasource.freeze @@ -1 +1 @@ -2021-05-24T10:37:36.544148-04:00 \ No newline at end of file +2021-04-29T12:20:30.636712+02:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogPermissionsDatasource.freeze b/datadog/tests/cassettes/TestAccDatadogPermissionsDatasource.freeze index eace22210..cd23eb674 100644 --- a/datadog/tests/cassettes/TestAccDatadogPermissionsDatasource.freeze +++ b/datadog/tests/cassettes/TestAccDatadogPermissionsDatasource.freeze @@ -1 +1 @@ -2021-05-24T10:37:36.542617-04:00 \ No newline at end of file +2020-12-31T15:41:45.463768+01:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogRoleDatasource.freeze b/datadog/tests/cassettes/TestAccDatadogRoleDatasource.freeze index 3f58e0d5c..f33239ad0 100644 --- a/datadog/tests/cassettes/TestAccDatadogRoleDatasource.freeze +++ b/datadog/tests/cassettes/TestAccDatadogRoleDatasource.freeze @@ -1 +1 @@ -2021-05-24T10:37:36.535595-04:00 \ No newline at end of file +2021-02-15T14:21:57.89198+01:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogRoleDatasourceError.freeze b/datadog/tests/cassettes/TestAccDatadogRoleDatasourceError.freeze index f225f14ef..07065b2c6 100644 --- a/datadog/tests/cassettes/TestAccDatadogRoleDatasourceError.freeze +++ b/datadog/tests/cassettes/TestAccDatadogRoleDatasourceError.freeze @@ -1 +1 @@ -2021-05-24T10:37:36.540354-04:00 \ No newline at end of file +2021-02-15T14:21:57.896103+01:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogRoleDatasourceExactMatch.freeze b/datadog/tests/cassettes/TestAccDatadogRoleDatasourceExactMatch.freeze index 501fc5d78..15902d484 100644 --- a/datadog/tests/cassettes/TestAccDatadogRoleDatasourceExactMatch.freeze +++ b/datadog/tests/cassettes/TestAccDatadogRoleDatasourceExactMatch.freeze @@ -1 +1 @@ -2021-05-24T10:37:36.543547-04:00 \ No newline at end of file +2021-02-15T14:21:57.89368+01:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogRole_CreateUpdate.freeze b/datadog/tests/cassettes/TestAccDatadogRole_CreateUpdate.freeze index cd30ad11e..59d937a4b 100644 --- a/datadog/tests/cassettes/TestAccDatadogRole_CreateUpdate.freeze +++ b/datadog/tests/cassettes/TestAccDatadogRole_CreateUpdate.freeze @@ -1 +1 @@ -2021-05-24T10:37:36.463896-04:00 \ No newline at end of file +2021-02-15T14:21:57.897898+01:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogRole_InvalidPerm.freeze b/datadog/tests/cassettes/TestAccDatadogRole_InvalidPerm.freeze index 9ea2a9cb3..9953ed8d1 100644 --- a/datadog/tests/cassettes/TestAccDatadogRole_InvalidPerm.freeze +++ b/datadog/tests/cassettes/TestAccDatadogRole_InvalidPerm.freeze @@ -1 +1 @@ -2021-05-24T10:37:36.4633-04:00 \ No newline at end of file +2021-02-15T14:21:57.899612+01:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogScreenboard_update.freeze b/datadog/tests/cassettes/TestAccDatadogScreenboard_update.freeze index 07ecf3abe..f5903581e 100644 --- a/datadog/tests/cassettes/TestAccDatadogScreenboard_update.freeze +++ b/datadog/tests/cassettes/TestAccDatadogScreenboard_update.freeze @@ -1 +1 @@ -2021-05-24T10:37:36.461431-04:00 \ No newline at end of file +2020-12-31T15:44:37.613176+01:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogSecurityMonitoringDefaultRule_Basic.freeze b/datadog/tests/cassettes/TestAccDatadogSecurityMonitoringDefaultRule_Basic.freeze index 1cc32a5fc..6e9959127 100644 --- a/datadog/tests/cassettes/TestAccDatadogSecurityMonitoringDefaultRule_Basic.freeze +++ b/datadog/tests/cassettes/TestAccDatadogSecurityMonitoringDefaultRule_Basic.freeze @@ -1 +1 @@ -2021-05-24T10:37:36.462074-04:00 \ No newline at end of file +2021-03-04T15:17:53.797072+01:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogSecurityMonitoringRuleDatasource.freeze b/datadog/tests/cassettes/TestAccDatadogSecurityMonitoringRuleDatasource.freeze index c76307b41..6643238f5 100644 --- a/datadog/tests/cassettes/TestAccDatadogSecurityMonitoringRuleDatasource.freeze +++ b/datadog/tests/cassettes/TestAccDatadogSecurityMonitoringRuleDatasource.freeze @@ -1 +1 @@ -2021-05-24T10:37:36.536721-04:00 \ No newline at end of file +2021-01-22T17:06:40.551462-05:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogSecurityMonitoringRule_Basic.freeze b/datadog/tests/cassettes/TestAccDatadogSecurityMonitoringRule_Basic.freeze index e176e567f..b52ddb00f 100644 --- a/datadog/tests/cassettes/TestAccDatadogSecurityMonitoringRule_Basic.freeze +++ b/datadog/tests/cassettes/TestAccDatadogSecurityMonitoringRule_Basic.freeze @@ -1 +1 @@ -2021-05-24T10:37:36.459975-04:00 \ No newline at end of file +2021-01-22T17:06:52.177162-05:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogSecurityMonitoringRule_Import.freeze b/datadog/tests/cassettes/TestAccDatadogSecurityMonitoringRule_Import.freeze index 14a011115..bcce8224d 100644 --- a/datadog/tests/cassettes/TestAccDatadogSecurityMonitoringRule_Import.freeze +++ b/datadog/tests/cassettes/TestAccDatadogSecurityMonitoringRule_Import.freeze @@ -1 +1 @@ -2021-05-24T10:37:36.455309-04:00 \ No newline at end of file +2021-01-22T17:06:52.17986-05:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogSecurityMonitoringRule_OnlyRequiredFields.freeze b/datadog/tests/cassettes/TestAccDatadogSecurityMonitoringRule_OnlyRequiredFields.freeze index ca7e45143..7ec03b8a5 100644 --- a/datadog/tests/cassettes/TestAccDatadogSecurityMonitoringRule_OnlyRequiredFields.freeze +++ b/datadog/tests/cassettes/TestAccDatadogSecurityMonitoringRule_OnlyRequiredFields.freeze @@ -1 +1 @@ -2021-05-24T10:37:36.457319-04:00 \ No newline at end of file +2021-01-22T17:06:52.178581-05:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogServiceLevelObjectiveDatasource.freeze b/datadog/tests/cassettes/TestAccDatadogServiceLevelObjectiveDatasource.freeze index 62f5fbe0c..a80397e82 100644 --- a/datadog/tests/cassettes/TestAccDatadogServiceLevelObjectiveDatasource.freeze +++ b/datadog/tests/cassettes/TestAccDatadogServiceLevelObjectiveDatasource.freeze @@ -1 +1 @@ -2021-05-24T10:37:36.536043-04:00 \ No newline at end of file +2021-04-30T14:29:18.144871+02:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogServiceLevelObjective_Basic.freeze b/datadog/tests/cassettes/TestAccDatadogServiceLevelObjective_Basic.freeze index bc0469ad4..1668812b8 100644 --- a/datadog/tests/cassettes/TestAccDatadogServiceLevelObjective_Basic.freeze +++ b/datadog/tests/cassettes/TestAccDatadogServiceLevelObjective_Basic.freeze @@ -1 +1 @@ -2021-05-24T10:37:36.456245-04:00 \ No newline at end of file +2021-04-15T11:38:12.27234-04:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogServiceLevelObjective_InvalidMonitor.freeze b/datadog/tests/cassettes/TestAccDatadogServiceLevelObjective_InvalidMonitor.freeze index d7bc9af66..27eb65ca4 100644 --- a/datadog/tests/cassettes/TestAccDatadogServiceLevelObjective_InvalidMonitor.freeze +++ b/datadog/tests/cassettes/TestAccDatadogServiceLevelObjective_InvalidMonitor.freeze @@ -1 +1 @@ -2021-05-24T10:37:36.4608-04:00 \ No newline at end of file +2021-04-15T11:38:12.272342-04:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogServiceLevelObjectivesDatasource.freeze b/datadog/tests/cassettes/TestAccDatadogServiceLevelObjectivesDatasource.freeze index c0e11e3a3..132e2a5fc 100644 --- a/datadog/tests/cassettes/TestAccDatadogServiceLevelObjectivesDatasource.freeze +++ b/datadog/tests/cassettes/TestAccDatadogServiceLevelObjectivesDatasource.freeze @@ -1 +1 @@ -2021-05-24T10:37:36.497875-04:00 \ No newline at end of file +2021-05-17T10:47:31.90025-04:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogSloCorrection_Basic.freeze b/datadog/tests/cassettes/TestAccDatadogSloCorrection_Basic.freeze index 7f1c7a559..ee33be748 100644 --- a/datadog/tests/cassettes/TestAccDatadogSloCorrection_Basic.freeze +++ b/datadog/tests/cassettes/TestAccDatadogSloCorrection_Basic.freeze @@ -1 +1 @@ -2021-05-24T10:37:36.453209-04:00 \ No newline at end of file +2021-04-15T11:38:24.036199-04:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogSloCorrection_Updated.freeze b/datadog/tests/cassettes/TestAccDatadogSloCorrection_Updated.freeze index 337ab2706..547103e59 100644 --- a/datadog/tests/cassettes/TestAccDatadogSloCorrection_Updated.freeze +++ b/datadog/tests/cassettes/TestAccDatadogSloCorrection_Updated.freeze @@ -1 +1 @@ -2021-05-24T10:37:36.451788-04:00 \ No newline at end of file +2021-04-15T11:38:24.036186-04:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogSyntheticsAPITest_Basic.freeze b/datadog/tests/cassettes/TestAccDatadogSyntheticsAPITest_Basic.freeze index d4513105b..879f983fd 100644 --- a/datadog/tests/cassettes/TestAccDatadogSyntheticsAPITest_Basic.freeze +++ b/datadog/tests/cassettes/TestAccDatadogSyntheticsAPITest_Basic.freeze @@ -1 +1 @@ -2021-05-24T10:37:36.375927-04:00 \ No newline at end of file +2021-03-31T15:11:25.332564+02:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogSyntheticsAPITest_BasicDeprecated.freeze b/datadog/tests/cassettes/TestAccDatadogSyntheticsAPITest_BasicDeprecated.freeze index d40ab251a..66925156e 100644 --- a/datadog/tests/cassettes/TestAccDatadogSyntheticsAPITest_BasicDeprecated.freeze +++ b/datadog/tests/cassettes/TestAccDatadogSyntheticsAPITest_BasicDeprecated.freeze @@ -1 +1 @@ -2021-05-24T10:37:36.376066-04:00 \ No newline at end of file +2021-03-31T15:11:32.566446+02:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogSyntheticsAPITest_BasicNewAssertionsOptions.freeze b/datadog/tests/cassettes/TestAccDatadogSyntheticsAPITest_BasicNewAssertionsOptions.freeze index d3bef29e6..500c199ff 100644 --- a/datadog/tests/cassettes/TestAccDatadogSyntheticsAPITest_BasicNewAssertionsOptions.freeze +++ b/datadog/tests/cassettes/TestAccDatadogSyntheticsAPITest_BasicNewAssertionsOptions.freeze @@ -1 +1 @@ -2021-05-24T10:37:36.372281-04:00 \ No newline at end of file +2021-03-31T15:11:38.390471+02:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogSyntheticsAPITest_Updated.freeze b/datadog/tests/cassettes/TestAccDatadogSyntheticsAPITest_Updated.freeze index 8b5eb2af5..2dc3e30d4 100644 --- a/datadog/tests/cassettes/TestAccDatadogSyntheticsAPITest_Updated.freeze +++ b/datadog/tests/cassettes/TestAccDatadogSyntheticsAPITest_Updated.freeze @@ -1 +1 @@ -2021-05-24T10:37:36.372505-04:00 \ No newline at end of file +2021-03-31T15:11:44.280001+02:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogSyntheticsAPITest_UpdatedDeprecated.freeze b/datadog/tests/cassettes/TestAccDatadogSyntheticsAPITest_UpdatedDeprecated.freeze index 8ff5fc31a..b34a6c202 100644 --- a/datadog/tests/cassettes/TestAccDatadogSyntheticsAPITest_UpdatedDeprecated.freeze +++ b/datadog/tests/cassettes/TestAccDatadogSyntheticsAPITest_UpdatedDeprecated.freeze @@ -1 +1 @@ -2021-05-24T10:37:36.376006-04:00 \ No newline at end of file +2021-03-31T15:11:52.660906+02:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogSyntheticsAPITest_UpdatedNewAssertionsOptions.freeze b/datadog/tests/cassettes/TestAccDatadogSyntheticsAPITest_UpdatedNewAssertionsOptions.freeze index e36129239..279a536ac 100644 --- a/datadog/tests/cassettes/TestAccDatadogSyntheticsAPITest_UpdatedNewAssertionsOptions.freeze +++ b/datadog/tests/cassettes/TestAccDatadogSyntheticsAPITest_UpdatedNewAssertionsOptions.freeze @@ -1 +1 @@ -2021-05-24T10:37:36.373633-04:00 \ No newline at end of file +2021-03-31T15:12:00.468347+02:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogSyntheticsAPITest_importBasic.freeze b/datadog/tests/cassettes/TestAccDatadogSyntheticsAPITest_importBasic.freeze index 6f27b97c4..49c359bcd 100644 --- a/datadog/tests/cassettes/TestAccDatadogSyntheticsAPITest_importBasic.freeze +++ b/datadog/tests/cassettes/TestAccDatadogSyntheticsAPITest_importBasic.freeze @@ -1 +1 @@ -2021-05-24T10:37:36.439299-04:00 \ No newline at end of file +2021-03-31T15:12:07.773378+02:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogSyntheticsBrowserTestBrowserNewBrowserStep_Basic.freeze b/datadog/tests/cassettes/TestAccDatadogSyntheticsBrowserTestBrowserNewBrowserStep_Basic.freeze index 1c6067b48..8682e0b7b 100644 --- a/datadog/tests/cassettes/TestAccDatadogSyntheticsBrowserTestBrowserNewBrowserStep_Basic.freeze +++ b/datadog/tests/cassettes/TestAccDatadogSyntheticsBrowserTestBrowserNewBrowserStep_Basic.freeze @@ -1 +1 @@ -2021-05-24T10:37:36.349236-04:00 \ No newline at end of file +2021-04-08T11:52:28.223822+02:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogSyntheticsBrowserTestBrowserVariables_Basic.freeze b/datadog/tests/cassettes/TestAccDatadogSyntheticsBrowserTestBrowserVariables_Basic.freeze index 723d75744..b9dce3404 100644 --- a/datadog/tests/cassettes/TestAccDatadogSyntheticsBrowserTestBrowserVariables_Basic.freeze +++ b/datadog/tests/cassettes/TestAccDatadogSyntheticsBrowserTestBrowserVariables_Basic.freeze @@ -1 +1 @@ -2021-05-24T10:37:36.352991-04:00 \ No newline at end of file +2021-03-31T15:12:24.121473+02:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogSyntheticsBrowserTest_Basic.freeze b/datadog/tests/cassettes/TestAccDatadogSyntheticsBrowserTest_Basic.freeze index fa7078573..ca67b28ae 100644 --- a/datadog/tests/cassettes/TestAccDatadogSyntheticsBrowserTest_Basic.freeze +++ b/datadog/tests/cassettes/TestAccDatadogSyntheticsBrowserTest_Basic.freeze @@ -1 +1 @@ -2021-05-24T10:37:36.354003-04:00 \ No newline at end of file +2021-04-30T11:05:29.087788+02:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogSyntheticsBrowserTest_Updated.freeze b/datadog/tests/cassettes/TestAccDatadogSyntheticsBrowserTest_Updated.freeze index 071b66fa0..4d7bca4c7 100644 --- a/datadog/tests/cassettes/TestAccDatadogSyntheticsBrowserTest_Updated.freeze +++ b/datadog/tests/cassettes/TestAccDatadogSyntheticsBrowserTest_Updated.freeze @@ -1 +1 @@ -2021-05-24T10:37:36.354159-04:00 \ No newline at end of file +2021-04-30T11:58:59.573995+02:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogSyntheticsBrowserTest_importBasic.freeze b/datadog/tests/cassettes/TestAccDatadogSyntheticsBrowserTest_importBasic.freeze index f8c67e9aa..9d6feb5ef 100644 --- a/datadog/tests/cassettes/TestAccDatadogSyntheticsBrowserTest_importBasic.freeze +++ b/datadog/tests/cassettes/TestAccDatadogSyntheticsBrowserTest_importBasic.freeze @@ -1 +1 @@ -2021-05-24T10:37:36.376769-04:00 \ No newline at end of file +2021-04-30T11:59:17.993561+02:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogSyntheticsDNSTest_Basic.freeze b/datadog/tests/cassettes/TestAccDatadogSyntheticsDNSTest_Basic.freeze index ba5ccda81..eb26b0f87 100644 --- a/datadog/tests/cassettes/TestAccDatadogSyntheticsDNSTest_Basic.freeze +++ b/datadog/tests/cassettes/TestAccDatadogSyntheticsDNSTest_Basic.freeze @@ -1 +1 @@ -2021-05-24T10:37:36.361013-04:00 \ No newline at end of file +2021-04-30T11:46:48.05605+02:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogSyntheticsDNSTest_Updated.freeze b/datadog/tests/cassettes/TestAccDatadogSyntheticsDNSTest_Updated.freeze index 104e7973f..2243ba611 100644 --- a/datadog/tests/cassettes/TestAccDatadogSyntheticsDNSTest_Updated.freeze +++ b/datadog/tests/cassettes/TestAccDatadogSyntheticsDNSTest_Updated.freeze @@ -1 +1 @@ -2021-05-24T10:37:36.357937-04:00 \ No newline at end of file +2021-04-30T11:58:24.541778+02:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogSyntheticsDNSTest_importBasic.freeze b/datadog/tests/cassettes/TestAccDatadogSyntheticsDNSTest_importBasic.freeze index 43bb0fc43..111088e6d 100644 --- a/datadog/tests/cassettes/TestAccDatadogSyntheticsDNSTest_importBasic.freeze +++ b/datadog/tests/cassettes/TestAccDatadogSyntheticsDNSTest_importBasic.freeze @@ -1 +1 @@ -2021-05-24T10:37:36.385196-04:00 \ No newline at end of file +2021-04-30T11:58:51.485532+02:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogSyntheticsGlobalVariableFromTest_Basic.freeze b/datadog/tests/cassettes/TestAccDatadogSyntheticsGlobalVariableFromTest_Basic.freeze index b01317d2d..e0a0be427 100644 --- a/datadog/tests/cassettes/TestAccDatadogSyntheticsGlobalVariableFromTest_Basic.freeze +++ b/datadog/tests/cassettes/TestAccDatadogSyntheticsGlobalVariableFromTest_Basic.freeze @@ -1 +1 @@ -2021-05-24T10:37:36.444482-04:00 \ No newline at end of file +2021-03-31T15:13:12.802537+02:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogSyntheticsGlobalVariableSecure_Basic.freeze b/datadog/tests/cassettes/TestAccDatadogSyntheticsGlobalVariableSecure_Basic.freeze index c4fcfa613..a4ef2277b 100644 --- a/datadog/tests/cassettes/TestAccDatadogSyntheticsGlobalVariableSecure_Basic.freeze +++ b/datadog/tests/cassettes/TestAccDatadogSyntheticsGlobalVariableSecure_Basic.freeze @@ -1 +1 @@ -2021-05-24T10:37:36.452507-04:00 \ No newline at end of file +2021-03-31T15:13:21.203013+02:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogSyntheticsGlobalVariableSecure_Updated.freeze b/datadog/tests/cassettes/TestAccDatadogSyntheticsGlobalVariableSecure_Updated.freeze index 547918ed9..4887a3446 100644 --- a/datadog/tests/cassettes/TestAccDatadogSyntheticsGlobalVariableSecure_Updated.freeze +++ b/datadog/tests/cassettes/TestAccDatadogSyntheticsGlobalVariableSecure_Updated.freeze @@ -1 +1 @@ -2021-05-24T10:37:36.44441-04:00 \ No newline at end of file +2021-05-17T14:05:35.08015-04:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogSyntheticsGlobalVariable_Basic.freeze b/datadog/tests/cassettes/TestAccDatadogSyntheticsGlobalVariable_Basic.freeze index ddc509403..c77101186 100644 --- a/datadog/tests/cassettes/TestAccDatadogSyntheticsGlobalVariable_Basic.freeze +++ b/datadog/tests/cassettes/TestAccDatadogSyntheticsGlobalVariable_Basic.freeze @@ -1 +1 @@ -2021-05-24T10:37:36.44856-04:00 \ No newline at end of file +2021-03-31T15:13:31.620246+02:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogSyntheticsGlobalVariable_Updated.freeze b/datadog/tests/cassettes/TestAccDatadogSyntheticsGlobalVariable_Updated.freeze index 367b7600a..062ca1f10 100644 --- a/datadog/tests/cassettes/TestAccDatadogSyntheticsGlobalVariable_Updated.freeze +++ b/datadog/tests/cassettes/TestAccDatadogSyntheticsGlobalVariable_Updated.freeze @@ -1 +1 @@ -2021-05-24T10:37:36.446056-04:00 \ No newline at end of file +2021-03-31T15:13:36.571469+02:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogSyntheticsGlobalVariable_importBasic.freeze b/datadog/tests/cassettes/TestAccDatadogSyntheticsGlobalVariable_importBasic.freeze index c5d74f6ae..da86dec8b 100644 --- a/datadog/tests/cassettes/TestAccDatadogSyntheticsGlobalVariable_importBasic.freeze +++ b/datadog/tests/cassettes/TestAccDatadogSyntheticsGlobalVariable_importBasic.freeze @@ -1 +1 @@ -2021-05-24T10:37:36.45078-04:00 \ No newline at end of file +2021-03-31T15:13:41.941383+02:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogSyntheticsICMPTest_Basic.freeze b/datadog/tests/cassettes/TestAccDatadogSyntheticsICMPTest_Basic.freeze index b6a4f5558..d0bf8e675 100644 --- a/datadog/tests/cassettes/TestAccDatadogSyntheticsICMPTest_Basic.freeze +++ b/datadog/tests/cassettes/TestAccDatadogSyntheticsICMPTest_Basic.freeze @@ -1 +1 @@ -2021-05-24T10:37:36.357268-04:00 \ No newline at end of file +2021-04-28T08:51:10.526148+02:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogSyntheticsPrivateLocation_Basic.freeze b/datadog/tests/cassettes/TestAccDatadogSyntheticsPrivateLocation_Basic.freeze index 999d056db..51405b3e5 100644 --- a/datadog/tests/cassettes/TestAccDatadogSyntheticsPrivateLocation_Basic.freeze +++ b/datadog/tests/cassettes/TestAccDatadogSyntheticsPrivateLocation_Basic.freeze @@ -1 +1 @@ -2021-05-24T10:37:36.440914-04:00 \ No newline at end of file +2021-03-31T15:13:46.541081+02:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogSyntheticsPrivateLocation_Updated.freeze b/datadog/tests/cassettes/TestAccDatadogSyntheticsPrivateLocation_Updated.freeze index 990185d74..1179e2a75 100644 --- a/datadog/tests/cassettes/TestAccDatadogSyntheticsPrivateLocation_Updated.freeze +++ b/datadog/tests/cassettes/TestAccDatadogSyntheticsPrivateLocation_Updated.freeze @@ -1 +1 @@ -2021-05-24T10:37:36.438879-04:00 \ No newline at end of file +2021-03-31T15:13:51.922153+02:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogSyntheticsPrivateLocation_importBasic.freeze b/datadog/tests/cassettes/TestAccDatadogSyntheticsPrivateLocation_importBasic.freeze index a7bb1eb03..f493b5feb 100644 --- a/datadog/tests/cassettes/TestAccDatadogSyntheticsPrivateLocation_importBasic.freeze +++ b/datadog/tests/cassettes/TestAccDatadogSyntheticsPrivateLocation_importBasic.freeze @@ -1 +1 @@ -2021-05-24T10:37:36.445301-04:00 \ No newline at end of file +2021-03-31T15:13:58.727241+02:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogSyntheticsSSLMissingTagsAttributeTest_Basic.freeze b/datadog/tests/cassettes/TestAccDatadogSyntheticsSSLMissingTagsAttributeTest_Basic.freeze index 60768ffd4..643dd8092 100644 --- a/datadog/tests/cassettes/TestAccDatadogSyntheticsSSLMissingTagsAttributeTest_Basic.freeze +++ b/datadog/tests/cassettes/TestAccDatadogSyntheticsSSLMissingTagsAttributeTest_Basic.freeze @@ -1 +1 @@ -2021-05-24T10:37:36.361347-04:00 \ No newline at end of file +2021-03-31T15:14:06.683428+02:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogSyntheticsSSLTest_Basic.freeze b/datadog/tests/cassettes/TestAccDatadogSyntheticsSSLTest_Basic.freeze index 0b24d5956..861e2293a 100644 --- a/datadog/tests/cassettes/TestAccDatadogSyntheticsSSLTest_Basic.freeze +++ b/datadog/tests/cassettes/TestAccDatadogSyntheticsSSLTest_Basic.freeze @@ -1 +1 @@ -2021-05-24T10:37:36.372552-04:00 \ No newline at end of file +2021-03-31T15:14:13.047336+02:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogSyntheticsSSLTest_Updated.freeze b/datadog/tests/cassettes/TestAccDatadogSyntheticsSSLTest_Updated.freeze index 945e7975a..ac5006c9d 100644 --- a/datadog/tests/cassettes/TestAccDatadogSyntheticsSSLTest_Updated.freeze +++ b/datadog/tests/cassettes/TestAccDatadogSyntheticsSSLTest_Updated.freeze @@ -1 +1 @@ -2021-05-24T10:37:36.3663-04:00 \ No newline at end of file +2021-03-31T15:14:18.595639+02:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogSyntheticsSSLTest_importBasic.freeze b/datadog/tests/cassettes/TestAccDatadogSyntheticsSSLTest_importBasic.freeze index 8db0cef37..8f7dd1675 100644 --- a/datadog/tests/cassettes/TestAccDatadogSyntheticsSSLTest_importBasic.freeze +++ b/datadog/tests/cassettes/TestAccDatadogSyntheticsSSLTest_importBasic.freeze @@ -1 +1 @@ -2021-05-24T10:37:36.38896-04:00 \ No newline at end of file +2021-03-31T15:14:28.090343+02:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogSyntheticsTCPTest_Basic.freeze b/datadog/tests/cassettes/TestAccDatadogSyntheticsTCPTest_Basic.freeze index 6b5e711ed..47b9ade1d 100644 --- a/datadog/tests/cassettes/TestAccDatadogSyntheticsTCPTest_Basic.freeze +++ b/datadog/tests/cassettes/TestAccDatadogSyntheticsTCPTest_Basic.freeze @@ -1 +1 @@ -2021-05-24T10:37:36.360035-04:00 \ No newline at end of file +2021-03-31T15:14:35.244242+02:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogSyntheticsTCPTest_Updated.freeze b/datadog/tests/cassettes/TestAccDatadogSyntheticsTCPTest_Updated.freeze index 21e12b0e8..22bbf39e7 100644 --- a/datadog/tests/cassettes/TestAccDatadogSyntheticsTCPTest_Updated.freeze +++ b/datadog/tests/cassettes/TestAccDatadogSyntheticsTCPTest_Updated.freeze @@ -1 +1 @@ -2021-05-24T10:37:36.359463-04:00 \ No newline at end of file +2021-03-31T15:14:40.961224+02:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogSyntheticsTCPTest_importBasic.freeze b/datadog/tests/cassettes/TestAccDatadogSyntheticsTCPTest_importBasic.freeze index b0b2abab9..57e12e135 100644 --- a/datadog/tests/cassettes/TestAccDatadogSyntheticsTCPTest_importBasic.freeze +++ b/datadog/tests/cassettes/TestAccDatadogSyntheticsTCPTest_importBasic.freeze @@ -1 +1 @@ -2021-05-24T10:37:36.380643-04:00 \ No newline at end of file +2021-03-31T15:14:48.939141+02:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogSyntheticsTestBrowserMML_Basic.freeze b/datadog/tests/cassettes/TestAccDatadogSyntheticsTestBrowserMML_Basic.freeze index db2c8decf..730860f87 100644 --- a/datadog/tests/cassettes/TestAccDatadogSyntheticsTestBrowserMML_Basic.freeze +++ b/datadog/tests/cassettes/TestAccDatadogSyntheticsTestBrowserMML_Basic.freeze @@ -1 +1 @@ -2021-05-24T10:37:36.348455-04:00 \ No newline at end of file +2021-04-02T11:59:44.77686+02:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogSyntheticsTestMultistepApi_Basic.freeze b/datadog/tests/cassettes/TestAccDatadogSyntheticsTestMultistepApi_Basic.freeze index 186424a5f..2f6f8c92e 100644 --- a/datadog/tests/cassettes/TestAccDatadogSyntheticsTestMultistepApi_Basic.freeze +++ b/datadog/tests/cassettes/TestAccDatadogSyntheticsTestMultistepApi_Basic.freeze @@ -1 +1 @@ -2021-05-24T10:37:36.357006-04:00 \ No newline at end of file +2021-04-30T11:57:49.509326+02:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogTimeboard_update.freeze b/datadog/tests/cassettes/TestAccDatadogTimeboard_update.freeze index 269b1c8a2..8eb856790 100644 --- a/datadog/tests/cassettes/TestAccDatadogTimeboard_update.freeze +++ b/datadog/tests/cassettes/TestAccDatadogTimeboard_update.freeze @@ -1 +1 @@ -2021-05-24T10:37:36.341132-04:00 \ No newline at end of file +2020-12-31T15:44:37.719751+01:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogUser_Existing.freeze b/datadog/tests/cassettes/TestAccDatadogUser_Existing.freeze index 6f52b4a61..624106099 100644 --- a/datadog/tests/cassettes/TestAccDatadogUser_Existing.freeze +++ b/datadog/tests/cassettes/TestAccDatadogUser_Existing.freeze @@ -1 +1 @@ -2021-05-24T10:37:36.298571-04:00 \ No newline at end of file +2021-02-16T10:56:59.630091+01:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogUser_Invitation.freeze b/datadog/tests/cassettes/TestAccDatadogUser_Invitation.freeze index 2a40a32fb..0cab3b469 100644 --- a/datadog/tests/cassettes/TestAccDatadogUser_Invitation.freeze +++ b/datadog/tests/cassettes/TestAccDatadogUser_Invitation.freeze @@ -1 +1 @@ -2021-05-24T10:37:36.347582-04:00 \ No newline at end of file +2021-02-16T10:56:59.625752+01:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogUser_NoInvitation.freeze b/datadog/tests/cassettes/TestAccDatadogUser_NoInvitation.freeze index 1b6faf21e..3974c81e0 100644 --- a/datadog/tests/cassettes/TestAccDatadogUser_NoInvitation.freeze +++ b/datadog/tests/cassettes/TestAccDatadogUser_NoInvitation.freeze @@ -1 +1 @@ -2021-05-24T10:37:36.341242-04:00 \ No newline at end of file +2021-02-16T10:56:59.628383+01:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogUser_RoleDatasource.freeze b/datadog/tests/cassettes/TestAccDatadogUser_RoleDatasource.freeze index be2065745..35d767b15 100644 --- a/datadog/tests/cassettes/TestAccDatadogUser_RoleDatasource.freeze +++ b/datadog/tests/cassettes/TestAccDatadogUser_RoleDatasource.freeze @@ -1 +1 @@ -2021-05-24T10:37:36.29711-04:00 \ No newline at end of file +2021-02-16T10:56:59.631949+01:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogUser_UpdateRole.freeze b/datadog/tests/cassettes/TestAccDatadogUser_UpdateRole.freeze index 0b622bb24..1c32a74d8 100644 --- a/datadog/tests/cassettes/TestAccDatadogUser_UpdateRole.freeze +++ b/datadog/tests/cassettes/TestAccDatadogUser_UpdateRole.freeze @@ -1 +1 @@ -2021-05-24T10:37:36.283351-04:00 \ No newline at end of file +2021-02-16T10:56:59.634428+01:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogUser_Updated.freeze b/datadog/tests/cassettes/TestAccDatadogUser_Updated.freeze index 0957d9add..d286fd30b 100644 --- a/datadog/tests/cassettes/TestAccDatadogUser_Updated.freeze +++ b/datadog/tests/cassettes/TestAccDatadogUser_Updated.freeze @@ -1 +1 @@ -2021-05-24T10:37:36.342668-04:00 \ No newline at end of file +2021-02-16T10:56:59.624166+01:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatatogSyntheticsLocation_existing.freeze b/datadog/tests/cassettes/TestAccDatatogSyntheticsLocation_existing.freeze index 79617baa3..2ca5290d1 100644 --- a/datadog/tests/cassettes/TestAccDatatogSyntheticsLocation_existing.freeze +++ b/datadog/tests/cassettes/TestAccDatatogSyntheticsLocation_existing.freeze @@ -1 +1 @@ -2021-05-24T10:37:36.536465-04:00 \ No newline at end of file +2021-03-31T13:21:32.834711+02:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccLogsCustomPipeline_importBasic.freeze b/datadog/tests/cassettes/TestAccLogsCustomPipeline_importBasic.freeze index 0483404db..62ab4bf5a 100644 --- a/datadog/tests/cassettes/TestAccLogsCustomPipeline_importBasic.freeze +++ b/datadog/tests/cassettes/TestAccLogsCustomPipeline_importBasic.freeze @@ -1 +1 @@ -2021-05-24T10:37:36.517303-04:00 \ No newline at end of file +2021-02-11T18:53:32.609954+01:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestDatadogDashListImport.freeze b/datadog/tests/cassettes/TestDatadogDashListImport.freeze index 76c96d0df..a7d3318d5 100644 --- a/datadog/tests/cassettes/TestDatadogDashListImport.freeze +++ b/datadog/tests/cassettes/TestDatadogDashListImport.freeze @@ -1 +1 @@ -2021-05-24T10:37:36.193534-04:00 \ No newline at end of file +2021-05-14T09:02:16.039788+02:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestDatadogDashListInDashboard.freeze b/datadog/tests/cassettes/TestDatadogDashListInDashboard.freeze index 75a248fd0..44cafa7d5 100644 --- a/datadog/tests/cassettes/TestDatadogDashListInDashboard.freeze +++ b/datadog/tests/cassettes/TestDatadogDashListInDashboard.freeze @@ -1 +1 @@ -2021-05-24T10:37:36.195025-04:00 \ No newline at end of file +2020-12-31T15:42:08.157786+01:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestDatadogDowntime_import.freeze b/datadog/tests/cassettes/TestDatadogDowntime_import.freeze index 151176248..98335c30f 100644 --- a/datadog/tests/cassettes/TestDatadogDowntime_import.freeze +++ b/datadog/tests/cassettes/TestDatadogDowntime_import.freeze @@ -1 +1 @@ -2021-05-24T10:37:36.156566-04:00 \ No newline at end of file +2020-12-31T15:42:02.854961+01:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestDatadogIntegrationPagerduty_import.freeze b/datadog/tests/cassettes/TestDatadogIntegrationPagerduty_import.freeze index cd93f14b7..90c555060 100644 --- a/datadog/tests/cassettes/TestDatadogIntegrationPagerduty_import.freeze +++ b/datadog/tests/cassettes/TestDatadogIntegrationPagerduty_import.freeze @@ -1 +1 @@ -2021-05-24T10:37:36.1595-04:00 \ No newline at end of file +2020-12-31T15:42:04.377732+01:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestDatadogMonitor_import.freeze b/datadog/tests/cassettes/TestDatadogMonitor_import.freeze index 372e5900f..361cf077a 100644 --- a/datadog/tests/cassettes/TestDatadogMonitor_import.freeze +++ b/datadog/tests/cassettes/TestDatadogMonitor_import.freeze @@ -1 +1 @@ -2021-05-24T10:37:36.514799-04:00 \ No newline at end of file +2021-03-31T13:23:09.294353+02:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestDatadogMonitor_importNoDataTimeFrame.freeze b/datadog/tests/cassettes/TestDatadogMonitor_importNoDataTimeFrame.freeze index 2a4cfbb7c..10a90fa04 100644 --- a/datadog/tests/cassettes/TestDatadogMonitor_importNoDataTimeFrame.freeze +++ b/datadog/tests/cassettes/TestDatadogMonitor_importNoDataTimeFrame.freeze @@ -1 +1 @@ -2021-05-24T10:37:36.509834-04:00 \ No newline at end of file +2021-03-31T13:23:09.29527+02:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestDatadogMonitor_import_no_recovery.freeze b/datadog/tests/cassettes/TestDatadogMonitor_import_no_recovery.freeze index 08425f9a4..b9cb04e4c 100644 --- a/datadog/tests/cassettes/TestDatadogMonitor_import_no_recovery.freeze +++ b/datadog/tests/cassettes/TestDatadogMonitor_import_no_recovery.freeze @@ -1 +1 @@ -2021-05-24T10:37:36.513901-04:00 \ No newline at end of file +2021-03-31T13:23:09.294741+02:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestDatadogUser_import.freeze b/datadog/tests/cassettes/TestDatadogUser_import.freeze index 07c17dfb6..46eacb720 100644 --- a/datadog/tests/cassettes/TestDatadogUser_import.freeze +++ b/datadog/tests/cassettes/TestDatadogUser_import.freeze @@ -1 +1 @@ -2021-05-24T10:37:36.509417-04:00 \ No newline at end of file +2021-01-06T12:17:26.582261+01:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestProvider.freeze b/datadog/tests/cassettes/TestProvider.freeze index 30a8cc63c..d1f4960ac 100644 --- a/datadog/tests/cassettes/TestProvider.freeze +++ b/datadog/tests/cassettes/TestProvider.freeze @@ -1 +1 @@ -2021-05-24T10:37:36.166221-04:00 \ No newline at end of file +2020-12-31T15:42:08.065993+01:00 \ No newline at end of file From 0c1cbc7f084e01fd4609d1554ffe3e4f0354b83b Mon Sep 17 00:00:00 2001 From: Qin Cheng Chen Date: Mon, 24 May 2021 13:30:58 -0400 Subject: [PATCH 12/22] fix TestAccDatadogDashboardTopList --- .../tests/cassettes/TestAccDatadogDashboardAlertGraph.freeze | 2 +- .../cassettes/TestAccDatadogDashboardAlertGraph_import.freeze | 2 +- .../tests/cassettes/TestAccDatadogDashboardAlertValue.freeze | 2 +- .../cassettes/TestAccDatadogDashboardAlertValue_import.freeze | 2 +- datadog/tests/cassettes/TestAccDatadogDashboardChange.freeze | 2 +- .../tests/cassettes/TestAccDatadogDashboardChange_import.freeze | 2 +- .../tests/cassettes/TestAccDatadogDashboardCheckStatus.freeze | 2 +- .../cassettes/TestAccDatadogDashboardCheckStatus_import.freeze | 2 +- .../tests/cassettes/TestAccDatadogDashboardDatasource.freeze | 2 +- .../tests/cassettes/TestAccDatadogDashboardDistribution.freeze | 2 +- .../cassettes/TestAccDatadogDashboardDistribution_import.freeze | 2 +- .../tests/cassettes/TestAccDatadogDashboardEventStream.freeze | 2 +- .../cassettes/TestAccDatadogDashboardEventStream_import.freeze | 2 +- .../tests/cassettes/TestAccDatadogDashboardEventTimeline.freeze | 2 +- .../TestAccDatadogDashboardEventTimeline_import.freeze | 2 +- datadog/tests/cassettes/TestAccDatadogDashboardFormula.freeze | 2 +- .../cassettes/TestAccDatadogDashboardFormula_import.freeze | 2 +- datadog/tests/cassettes/TestAccDatadogDashboardFreeText.freeze | 2 +- .../cassettes/TestAccDatadogDashboardFreeText_import.freeze | 2 +- datadog/tests/cassettes/TestAccDatadogDashboardGeomap.freeze | 2 +- .../tests/cassettes/TestAccDatadogDashboardGeomapFormula.freeze | 2 +- .../TestAccDatadogDashboardGeomapFormula_import.freeze | 2 +- .../tests/cassettes/TestAccDatadogDashboardGeomap_import.freeze | 2 +- datadog/tests/cassettes/TestAccDatadogDashboardHeatMap.freeze | 2 +- .../cassettes/TestAccDatadogDashboardHeatMap_import.freeze | 2 +- datadog/tests/cassettes/TestAccDatadogDashboardHostMap.freeze | 2 +- .../cassettes/TestAccDatadogDashboardHostMap_import.freeze | 2 +- datadog/tests/cassettes/TestAccDatadogDashboardIFrame.freeze | 2 +- .../tests/cassettes/TestAccDatadogDashboardIFrame_import.freeze | 2 +- datadog/tests/cassettes/TestAccDatadogDashboardImage.freeze | 2 +- .../tests/cassettes/TestAccDatadogDashboardImage_import.freeze | 2 +- .../TestAccDatadogDashboardJSONBasicScreenboard.freeze | 2 +- .../cassettes/TestAccDatadogDashboardJSONBasicTimeboard.freeze | 2 +- .../tests/cassettes/TestAccDatadogDashboardJSONImport.freeze | 2 +- .../cassettes/TestAccDatadogDashboardLayoutForceNew.freeze | 2 +- .../cassettes/TestAccDatadogDashboardListDatasource.freeze | 2 +- datadog/tests/cassettes/TestAccDatadogDashboardLogStream.freeze | 2 +- .../cassettes/TestAccDatadogDashboardLogStreamLogSet.freeze | 2 +- .../TestAccDatadogDashboardLogStreamLogSet_import.freeze | 2 +- .../cassettes/TestAccDatadogDashboardLogStream_import.freeze | 2 +- .../tests/cassettes/TestAccDatadogDashboardManageStatus.freeze | 2 +- .../cassettes/TestAccDatadogDashboardManageStatus_import.freeze | 2 +- datadog/tests/cassettes/TestAccDatadogDashboardNote.freeze | 2 +- .../cassettes/TestAccDatadogDashboardNoteContentError.freeze | 2 +- .../tests/cassettes/TestAccDatadogDashboardNote_import.freeze | 2 +- .../tests/cassettes/TestAccDatadogDashboardQueryTable.freeze | 2 +- .../cassettes/TestAccDatadogDashboardQueryTable_import.freeze | 2 +- .../tests/cassettes/TestAccDatadogDashboardQueryValue.freeze | 2 +- .../cassettes/TestAccDatadogDashboardQueryValueFormula.freeze | 2 +- .../TestAccDatadogDashboardQueryValueFormula_import.freeze | 2 +- .../cassettes/TestAccDatadogDashboardQueryValue_import.freeze | 2 +- datadog/tests/cassettes/TestAccDatadogDashboardSLO.freeze | 2 +- .../tests/cassettes/TestAccDatadogDashboardSLO_import.freeze | 2 +- .../tests/cassettes/TestAccDatadogDashboardScatterplot.freeze | 2 +- .../cassettes/TestAccDatadogDashboardScatterplot_import.freeze | 2 +- .../tests/cassettes/TestAccDatadogDashboardServiceMap.freeze | 2 +- .../cassettes/TestAccDatadogDashboardServiceMap_import.freeze | 2 +- .../tests/cassettes/TestAccDatadogDashboardTimeseries.freeze | 2 +- .../TestAccDatadogDashboardTimeseriesMultiCompute.freeze | 2 +- .../TestAccDatadogDashboardTimeseriesMultiCompute_import.freeze | 2 +- .../cassettes/TestAccDatadogDashboardTimeseries_import.freeze | 2 +- datadog/tests/cassettes/TestAccDatadogDashboardTopList.freeze | 2 +- .../cassettes/TestAccDatadogDashboardTopListFormula.freeze | 2 +- .../TestAccDatadogDashboardTopListFormula_import.freeze | 2 +- .../cassettes/TestAccDatadogDashboardTopList_import.freeze | 2 +- .../tests/cassettes/TestAccDatadogDashboardTraceService.freeze | 2 +- .../cassettes/TestAccDatadogDashboardTraceService_import.freeze | 2 +- datadog/tests/cassettes/TestAccDatadogDashboard_import.freeze | 2 +- datadog/tests/cassettes/TestAccDatadogDashboard_update.freeze | 2 +- datadog/tests/cassettes/TestAccDatadogDowntimeDates.freeze | 2 +- .../tests/cassettes/TestAccDatadogDowntimeDatesConflict.freeze | 2 +- datadog/tests/cassettes/TestAccDatadogDowntime_Basic.freeze | 2 +- .../cassettes/TestAccDatadogDowntime_BasicMultiScope.freeze | 2 +- .../cassettes/TestAccDatadogDowntime_BasicNoRecurrence.freeze | 2 +- .../TestAccDatadogDowntime_BasicUntilDateRecurrence.freeze | 2 +- ...estAccDatadogDowntime_BasicUntilOccurrencesRecurrence.freeze | 2 +- .../cassettes/TestAccDatadogDowntime_BasicWithMonitor.freeze | 2 +- .../TestAccDatadogDowntime_BasicWithMonitorTags.freeze | 2 +- datadog/tests/cassettes/TestAccDatadogDowntime_DiffStart.freeze | 2 +- datadog/tests/cassettes/TestAccDatadogDowntime_RRule.freeze | 2 +- .../cassettes/TestAccDatadogDowntime_TrimWhitespace.freeze | 2 +- datadog/tests/cassettes/TestAccDatadogDowntime_Updated.freeze | 2 +- .../cassettes/TestAccDatadogDowntime_WeekDayRecurring.freeze | 2 +- datadog/tests/cassettes/TestAccDatadogFreeDashboard.freeze | 2 +- datadog/tests/cassettes/TestAccDatadogIntegrationAWS.freeze | 2 +- .../cassettes/TestAccDatadogIntegrationAWSLambdaArn.freeze | 2 +- .../cassettes/TestAccDatadogIntegrationAWSLogCollection.freeze | 2 +- .../TestAccDatadogIntegrationAwsTagFilter_Basic.freeze | 2 +- datadog/tests/cassettes/TestAccDatadogIntegrationAzure.freeze | 2 +- datadog/tests/cassettes/TestAccDatadogIntegrationGCP.freeze | 2 +- ...TestAccDatadogIntegrationPagerdutyServiceObject_Basic.freeze | 2 +- .../cassettes/TestAccDatadogIntegrationPagerduty_Basic.freeze | 2 +- ...AccDatadogIntegrationPagerduty_Migrate2ServiceObjects.freeze | 2 +- .../TestAccDatadogIntegrationPagerduty_TwoServices.freeze | 2 +- .../TestAccDatadogIntegrationSlackChannel_Basic.freeze | 2 +- .../TestAccDatadogIntegrationSlackChannel_Import.freeze | 2 +- .../cassettes/TestAccDatadogIpRangesDatasource_existing.freeze | 2 +- .../tests/cassettes/TestAccDatadogLogsArchiveAzure_basic.freeze | 2 +- .../TestAccDatadogLogsArchiveAzure_basicDeprecated.freeze | 2 +- .../tests/cassettes/TestAccDatadogLogsArchiveGCS_basic.freeze | 2 +- .../TestAccDatadogLogsArchiveGCS_basicDeprecated.freeze | 2 +- .../tests/cassettes/TestAccDatadogLogsArchiveOrder_basic.freeze | 2 +- .../tests/cassettes/TestAccDatadogLogsArchiveOrder_empty.freeze | 2 +- .../cassettes/TestAccDatadogLogsArchiveS3Update_basic.freeze | 2 +- .../tests/cassettes/TestAccDatadogLogsArchiveS3_basic.freeze | 2 +- .../TestAccDatadogLogsArchiveS3_basicDeprecated.freeze | 2 +- datadog/tests/cassettes/TestAccDatadogLogsMetric_Basic.freeze | 2 +- datadog/tests/cassettes/TestAccDatadogLogsMetric_import.freeze | 2 +- .../cassettes/TestAccDatadogLogsPipelineEmptyFilterQuery.freeze | 2 +- datadog/tests/cassettes/TestAccDatadogLogsPipeline_basic.freeze | 2 +- .../tests/cassettes/TestAccDatadogMetricMetadata_Basic.freeze | 2 +- .../tests/cassettes/TestAccDatadogMetricMetadata_Updated.freeze | 2 +- .../cassettes/TestAccDatadogMetricTagConfiguration_Error.freeze | 2 +- datadog/tests/cassettes/TestAccDatadogMonitorDatasource.freeze | 2 +- .../cassettes/TestAccDatadogMonitorServiceCheck_Basic.freeze | 2 +- datadog/tests/cassettes/TestAccDatadogMonitor_Basic.freeze | 2 +- .../cassettes/TestAccDatadogMonitor_BasicNoTreshold.freeze | 2 +- .../cassettes/TestAccDatadogMonitor_Basic_float_int.freeze | 2 +- .../TestAccDatadogMonitor_ComposeWithSyntheticsTest.freeze | 2 +- datadog/tests/cassettes/TestAccDatadogMonitor_Log.freeze | 2 +- .../cassettes/TestAccDatadogMonitor_NoThresholdWindows.freeze | 2 +- .../cassettes/TestAccDatadogMonitor_RestrictedRoles.freeze | 2 +- .../cassettes/TestAccDatadogMonitor_SilencedUpdateNoDiff.freeze | 2 +- .../cassettes/TestAccDatadogMonitor_ThresholdWindows.freeze | 2 +- .../tests/cassettes/TestAccDatadogMonitor_TrimWhitespace.freeze | 2 +- datadog/tests/cassettes/TestAccDatadogMonitor_Updated.freeze | 2 +- .../cassettes/TestAccDatadogMonitor_UpdatedToRemoveTags.freeze | 2 +- datadog/tests/cassettes/TestAccDatadogMonitor_ZeroDelay.freeze | 2 +- datadog/tests/cassettes/TestAccDatadogMonitorsDatasource.freeze | 2 +- .../tests/cassettes/TestAccDatadogPermissionsDatasource.freeze | 2 +- datadog/tests/cassettes/TestAccDatadogRoleDatasource.freeze | 2 +- .../tests/cassettes/TestAccDatadogRoleDatasourceError.freeze | 2 +- .../cassettes/TestAccDatadogRoleDatasourceExactMatch.freeze | 2 +- datadog/tests/cassettes/TestAccDatadogRole_CreateUpdate.freeze | 2 +- datadog/tests/cassettes/TestAccDatadogRole_InvalidPerm.freeze | 2 +- datadog/tests/cassettes/TestAccDatadogScreenboard_update.freeze | 2 +- .../TestAccDatadogSecurityMonitoringDefaultRule_Basic.freeze | 2 +- .../TestAccDatadogSecurityMonitoringRuleDatasource.freeze | 2 +- .../cassettes/TestAccDatadogSecurityMonitoringRule_Basic.freeze | 2 +- .../TestAccDatadogSecurityMonitoringRule_Import.freeze | 2 +- ...stAccDatadogSecurityMonitoringRule_OnlyRequiredFields.freeze | 2 +- .../TestAccDatadogServiceLevelObjectiveDatasource.freeze | 2 +- .../cassettes/TestAccDatadogServiceLevelObjective_Basic.freeze | 2 +- .../TestAccDatadogServiceLevelObjective_InvalidMonitor.freeze | 2 +- .../TestAccDatadogServiceLevelObjectivesDatasource.freeze | 2 +- .../tests/cassettes/TestAccDatadogSloCorrection_Basic.freeze | 2 +- .../tests/cassettes/TestAccDatadogSloCorrection_Updated.freeze | 2 +- .../cassettes/TestAccDatadogSyntheticsAPITest_Basic.freeze | 2 +- .../TestAccDatadogSyntheticsAPITest_BasicDeprecated.freeze | 2 +- ...AccDatadogSyntheticsAPITest_BasicNewAssertionsOptions.freeze | 2 +- .../cassettes/TestAccDatadogSyntheticsAPITest_Updated.freeze | 2 +- .../TestAccDatadogSyntheticsAPITest_UpdatedDeprecated.freeze | 2 +- ...cDatadogSyntheticsAPITest_UpdatedNewAssertionsOptions.freeze | 2 +- .../TestAccDatadogSyntheticsAPITest_importBasic.freeze | 2 +- ...tadogSyntheticsBrowserTestBrowserNewBrowserStep_Basic.freeze | 2 +- ...AccDatadogSyntheticsBrowserTestBrowserVariables_Basic.freeze | 2 +- .../cassettes/TestAccDatadogSyntheticsBrowserTest_Basic.freeze | 2 +- .../TestAccDatadogSyntheticsBrowserTest_Updated.freeze | 2 +- .../TestAccDatadogSyntheticsBrowserTest_importBasic.freeze | 2 +- .../cassettes/TestAccDatadogSyntheticsDNSTest_Basic.freeze | 2 +- .../cassettes/TestAccDatadogSyntheticsDNSTest_Updated.freeze | 2 +- .../TestAccDatadogSyntheticsDNSTest_importBasic.freeze | 2 +- .../TestAccDatadogSyntheticsGlobalVariableFromTest_Basic.freeze | 2 +- .../TestAccDatadogSyntheticsGlobalVariableSecure_Basic.freeze | 2 +- .../TestAccDatadogSyntheticsGlobalVariableSecure_Updated.freeze | 2 +- .../TestAccDatadogSyntheticsGlobalVariable_Basic.freeze | 2 +- .../TestAccDatadogSyntheticsGlobalVariable_Updated.freeze | 2 +- .../TestAccDatadogSyntheticsGlobalVariable_importBasic.freeze | 2 +- .../cassettes/TestAccDatadogSyntheticsICMPTest_Basic.freeze | 2 +- .../TestAccDatadogSyntheticsPrivateLocation_Basic.freeze | 2 +- .../TestAccDatadogSyntheticsPrivateLocation_Updated.freeze | 2 +- .../TestAccDatadogSyntheticsPrivateLocation_importBasic.freeze | 2 +- ...AccDatadogSyntheticsSSLMissingTagsAttributeTest_Basic.freeze | 2 +- .../cassettes/TestAccDatadogSyntheticsSSLTest_Basic.freeze | 2 +- .../cassettes/TestAccDatadogSyntheticsSSLTest_Updated.freeze | 2 +- .../TestAccDatadogSyntheticsSSLTest_importBasic.freeze | 2 +- .../cassettes/TestAccDatadogSyntheticsTCPTest_Basic.freeze | 2 +- .../cassettes/TestAccDatadogSyntheticsTCPTest_Updated.freeze | 2 +- .../TestAccDatadogSyntheticsTCPTest_importBasic.freeze | 2 +- .../TestAccDatadogSyntheticsTestBrowserMML_Basic.freeze | 2 +- .../TestAccDatadogSyntheticsTestMultistepApi_Basic.freeze | 2 +- datadog/tests/cassettes/TestAccDatadogTimeboard_update.freeze | 2 +- datadog/tests/cassettes/TestAccDatadogUser_Existing.freeze | 2 +- datadog/tests/cassettes/TestAccDatadogUser_Invitation.freeze | 2 +- datadog/tests/cassettes/TestAccDatadogUser_NoInvitation.freeze | 2 +- .../tests/cassettes/TestAccDatadogUser_RoleDatasource.freeze | 2 +- datadog/tests/cassettes/TestAccDatadogUser_UpdateRole.freeze | 2 +- datadog/tests/cassettes/TestAccDatadogUser_Updated.freeze | 2 +- .../cassettes/TestAccDatatogSyntheticsLocation_existing.freeze | 2 +- .../cassettes/TestAccLogsCustomPipeline_importBasic.freeze | 2 +- datadog/tests/cassettes/TestDatadogDashListImport.freeze | 2 +- datadog/tests/cassettes/TestDatadogDashListInDashboard.freeze | 2 +- datadog/tests/cassettes/TestDatadogDowntime_import.freeze | 2 +- .../cassettes/TestDatadogIntegrationPagerduty_import.freeze | 2 +- datadog/tests/cassettes/TestDatadogMonitor_import.freeze | 2 +- .../cassettes/TestDatadogMonitor_importNoDataTimeFrame.freeze | 2 +- .../cassettes/TestDatadogMonitor_import_no_recovery.freeze | 2 +- datadog/tests/cassettes/TestDatadogUser_import.freeze | 2 +- datadog/tests/cassettes/TestProvider.freeze | 2 +- 199 files changed, 199 insertions(+), 199 deletions(-) diff --git a/datadog/tests/cassettes/TestAccDatadogDashboardAlertGraph.freeze b/datadog/tests/cassettes/TestAccDatadogDashboardAlertGraph.freeze index 6e130c250..41648ee85 100644 --- a/datadog/tests/cassettes/TestAccDatadogDashboardAlertGraph.freeze +++ b/datadog/tests/cassettes/TestAccDatadogDashboardAlertGraph.freeze @@ -1 +1 @@ -2021-01-28T17:18:24.91386+01:00 \ No newline at end of file +2021-05-24T13:30:23.579039-04:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogDashboardAlertGraph_import.freeze b/datadog/tests/cassettes/TestAccDatadogDashboardAlertGraph_import.freeze index 424253059..a7c6de0a5 100644 --- a/datadog/tests/cassettes/TestAccDatadogDashboardAlertGraph_import.freeze +++ b/datadog/tests/cassettes/TestAccDatadogDashboardAlertGraph_import.freeze @@ -1 +1 @@ -2020-12-31T15:42:08.091095+01:00 \ No newline at end of file +2021-05-24T13:30:23.579538-04:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogDashboardAlertValue.freeze b/datadog/tests/cassettes/TestAccDatadogDashboardAlertValue.freeze index 2083ccfa6..be317550e 100644 --- a/datadog/tests/cassettes/TestAccDatadogDashboardAlertValue.freeze +++ b/datadog/tests/cassettes/TestAccDatadogDashboardAlertValue.freeze @@ -1 +1 @@ -2021-01-28T17:18:24.927493+01:00 \ No newline at end of file +2021-05-24T13:30:23.579412-04:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogDashboardAlertValue_import.freeze b/datadog/tests/cassettes/TestAccDatadogDashboardAlertValue_import.freeze index 265acfde4..54d1494e3 100644 --- a/datadog/tests/cassettes/TestAccDatadogDashboardAlertValue_import.freeze +++ b/datadog/tests/cassettes/TestAccDatadogDashboardAlertValue_import.freeze @@ -1 +1 @@ -2020-12-31T15:42:08.096666+01:00 \ No newline at end of file +2021-05-24T13:30:23.581923-04:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogDashboardChange.freeze b/datadog/tests/cassettes/TestAccDatadogDashboardChange.freeze index c90806e91..8fb5a58e1 100644 --- a/datadog/tests/cassettes/TestAccDatadogDashboardChange.freeze +++ b/datadog/tests/cassettes/TestAccDatadogDashboardChange.freeze @@ -1 +1 @@ -2021-01-28T17:18:24.942622+01:00 \ No newline at end of file +2021-05-24T13:30:23.574231-04:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogDashboardChange_import.freeze b/datadog/tests/cassettes/TestAccDatadogDashboardChange_import.freeze index 287650608..938df8e83 100644 --- a/datadog/tests/cassettes/TestAccDatadogDashboardChange_import.freeze +++ b/datadog/tests/cassettes/TestAccDatadogDashboardChange_import.freeze @@ -1 +1 @@ -2020-12-31T15:42:08.103145+01:00 \ No newline at end of file +2021-05-24T13:30:23.573204-04:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogDashboardCheckStatus.freeze b/datadog/tests/cassettes/TestAccDatadogDashboardCheckStatus.freeze index 2c964a438..5cd7a35b3 100644 --- a/datadog/tests/cassettes/TestAccDatadogDashboardCheckStatus.freeze +++ b/datadog/tests/cassettes/TestAccDatadogDashboardCheckStatus.freeze @@ -1 +1 @@ -2021-01-28T17:18:24.968915+01:00 \ No newline at end of file +2021-05-24T13:30:23.569458-04:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogDashboardCheckStatus_import.freeze b/datadog/tests/cassettes/TestAccDatadogDashboardCheckStatus_import.freeze index 5a0c753e4..fdc6ae483 100644 --- a/datadog/tests/cassettes/TestAccDatadogDashboardCheckStatus_import.freeze +++ b/datadog/tests/cassettes/TestAccDatadogDashboardCheckStatus_import.freeze @@ -1 +1 @@ -2020-12-31T15:42:08.108147+01:00 \ No newline at end of file +2021-05-24T13:30:23.567475-04:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogDashboardDatasource.freeze b/datadog/tests/cassettes/TestAccDatadogDashboardDatasource.freeze index e9accd5a5..520f48621 100644 --- a/datadog/tests/cassettes/TestAccDatadogDashboardDatasource.freeze +++ b/datadog/tests/cassettes/TestAccDatadogDashboardDatasource.freeze @@ -1 +1 @@ -2021-01-28T17:18:24.901762+01:00 \ No newline at end of file +2021-05-24T13:30:23.613749-04:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogDashboardDistribution.freeze b/datadog/tests/cassettes/TestAccDatadogDashboardDistribution.freeze index f0bcf169f..e91a4db19 100644 --- a/datadog/tests/cassettes/TestAccDatadogDashboardDistribution.freeze +++ b/datadog/tests/cassettes/TestAccDatadogDashboardDistribution.freeze @@ -1 +1 @@ -2021-01-28T17:18:24.975309+01:00 \ No newline at end of file +2021-05-24T13:30:23.566307-04:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogDashboardDistribution_import.freeze b/datadog/tests/cassettes/TestAccDatadogDashboardDistribution_import.freeze index 5e23f481b..2dab82371 100644 --- a/datadog/tests/cassettes/TestAccDatadogDashboardDistribution_import.freeze +++ b/datadog/tests/cassettes/TestAccDatadogDashboardDistribution_import.freeze @@ -1 +1 @@ -2020-12-31T15:42:08.11141+01:00 \ No newline at end of file +2021-05-24T13:30:23.573262-04:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogDashboardEventStream.freeze b/datadog/tests/cassettes/TestAccDatadogDashboardEventStream.freeze index 7c98588aa..c7384a595 100644 --- a/datadog/tests/cassettes/TestAccDatadogDashboardEventStream.freeze +++ b/datadog/tests/cassettes/TestAccDatadogDashboardEventStream.freeze @@ -1 +1 @@ -2021-05-14T09:04:20.836181+02:00 \ No newline at end of file +2021-05-24T13:30:23.574302-04:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogDashboardEventStream_import.freeze b/datadog/tests/cassettes/TestAccDatadogDashboardEventStream_import.freeze index fa95e6991..f7ad0544d 100644 --- a/datadog/tests/cassettes/TestAccDatadogDashboardEventStream_import.freeze +++ b/datadog/tests/cassettes/TestAccDatadogDashboardEventStream_import.freeze @@ -1 +1 @@ -2021-05-14T09:04:20.836255+02:00 \ No newline at end of file +2021-05-24T13:30:23.561616-04:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogDashboardEventTimeline.freeze b/datadog/tests/cassettes/TestAccDatadogDashboardEventTimeline.freeze index 6ba451e74..6e570ce93 100644 --- a/datadog/tests/cassettes/TestAccDatadogDashboardEventTimeline.freeze +++ b/datadog/tests/cassettes/TestAccDatadogDashboardEventTimeline.freeze @@ -1 +1 @@ -2021-05-14T08:59:48.845828+02:00 \ No newline at end of file +2021-05-24T13:30:23.56148-04:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogDashboardEventTimeline_import.freeze b/datadog/tests/cassettes/TestAccDatadogDashboardEventTimeline_import.freeze index fa8912e9a..0b4bc9f69 100644 --- a/datadog/tests/cassettes/TestAccDatadogDashboardEventTimeline_import.freeze +++ b/datadog/tests/cassettes/TestAccDatadogDashboardEventTimeline_import.freeze @@ -1 +1 @@ -2021-05-14T08:59:48.845889+02:00 \ No newline at end of file +2021-05-24T13:30:23.561261-04:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogDashboardFormula.freeze b/datadog/tests/cassettes/TestAccDatadogDashboardFormula.freeze index 80f094777..c866b6ede 100644 --- a/datadog/tests/cassettes/TestAccDatadogDashboardFormula.freeze +++ b/datadog/tests/cassettes/TestAccDatadogDashboardFormula.freeze @@ -1 +1 @@ -2021-02-24T11:27:37.338898-05:00 \ No newline at end of file +2021-05-24T13:30:23.509098-04:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogDashboardFormula_import.freeze b/datadog/tests/cassettes/TestAccDatadogDashboardFormula_import.freeze index f5a888f99..56db21127 100644 --- a/datadog/tests/cassettes/TestAccDatadogDashboardFormula_import.freeze +++ b/datadog/tests/cassettes/TestAccDatadogDashboardFormula_import.freeze @@ -1 +1 @@ -2021-02-24T11:27:37.338907-05:00 \ No newline at end of file +2021-05-24T13:30:23.511604-04:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogDashboardFreeText.freeze b/datadog/tests/cassettes/TestAccDatadogDashboardFreeText.freeze index f88763ea0..6e73a563b 100644 --- a/datadog/tests/cassettes/TestAccDatadogDashboardFreeText.freeze +++ b/datadog/tests/cassettes/TestAccDatadogDashboardFreeText.freeze @@ -1 +1 @@ -2021-05-03T11:40:17.559383+02:00 \ No newline at end of file +2021-05-24T13:30:23.562163-04:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogDashboardFreeText_import.freeze b/datadog/tests/cassettes/TestAccDatadogDashboardFreeText_import.freeze index 78c8d5b5f..43ad3788c 100644 --- a/datadog/tests/cassettes/TestAccDatadogDashboardFreeText_import.freeze +++ b/datadog/tests/cassettes/TestAccDatadogDashboardFreeText_import.freeze @@ -1 +1 @@ -2021-05-03T11:40:37.002672+02:00 \ No newline at end of file +2021-05-24T13:30:23.557717-04:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogDashboardGeomap.freeze b/datadog/tests/cassettes/TestAccDatadogDashboardGeomap.freeze index 8ca2823e9..9310f4a3d 100644 --- a/datadog/tests/cassettes/TestAccDatadogDashboardGeomap.freeze +++ b/datadog/tests/cassettes/TestAccDatadogDashboardGeomap.freeze @@ -1 +1 @@ -2021-04-27T08:58:27.619962+02:00 \ No newline at end of file +2021-05-24T13:30:23.556513-04:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogDashboardGeomapFormula.freeze b/datadog/tests/cassettes/TestAccDatadogDashboardGeomapFormula.freeze index 12046087a..a9001a245 100644 --- a/datadog/tests/cassettes/TestAccDatadogDashboardGeomapFormula.freeze +++ b/datadog/tests/cassettes/TestAccDatadogDashboardGeomapFormula.freeze @@ -1 +1 @@ -2021-04-27T08:58:27.619933+02:00 \ No newline at end of file +2021-05-24T13:30:23.556391-04:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogDashboardGeomapFormula_import.freeze b/datadog/tests/cassettes/TestAccDatadogDashboardGeomapFormula_import.freeze index a807f71eb..027a5477a 100644 --- a/datadog/tests/cassettes/TestAccDatadogDashboardGeomapFormula_import.freeze +++ b/datadog/tests/cassettes/TestAccDatadogDashboardGeomapFormula_import.freeze @@ -1 +1 @@ -2021-04-27T08:58:27.620391+02:00 \ No newline at end of file +2021-05-24T13:30:23.553598-04:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogDashboardGeomap_import.freeze b/datadog/tests/cassettes/TestAccDatadogDashboardGeomap_import.freeze index c9fd84193..9384563f4 100644 --- a/datadog/tests/cassettes/TestAccDatadogDashboardGeomap_import.freeze +++ b/datadog/tests/cassettes/TestAccDatadogDashboardGeomap_import.freeze @@ -1 +1 @@ -2021-04-27T08:58:27.619914+02:00 \ No newline at end of file +2021-05-24T13:30:23.556865-04:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogDashboardHeatMap.freeze b/datadog/tests/cassettes/TestAccDatadogDashboardHeatMap.freeze index 74f1eb009..b5771ec1a 100644 --- a/datadog/tests/cassettes/TestAccDatadogDashboardHeatMap.freeze +++ b/datadog/tests/cassettes/TestAccDatadogDashboardHeatMap.freeze @@ -1 +1 @@ -2021-01-28T17:18:25.050258+01:00 \ No newline at end of file +2021-05-24T13:30:23.55292-04:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogDashboardHeatMap_import.freeze b/datadog/tests/cassettes/TestAccDatadogDashboardHeatMap_import.freeze index 259275627..f4a6d8e4e 100644 --- a/datadog/tests/cassettes/TestAccDatadogDashboardHeatMap_import.freeze +++ b/datadog/tests/cassettes/TestAccDatadogDashboardHeatMap_import.freeze @@ -1 +1 @@ -2020-12-31T15:42:08.128735+01:00 \ No newline at end of file +2021-05-24T13:30:23.555124-04:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogDashboardHostMap.freeze b/datadog/tests/cassettes/TestAccDatadogDashboardHostMap.freeze index fd6f9e2a4..c0f7bf26b 100644 --- a/datadog/tests/cassettes/TestAccDatadogDashboardHostMap.freeze +++ b/datadog/tests/cassettes/TestAccDatadogDashboardHostMap.freeze @@ -1 +1 @@ -2021-01-28T17:18:25.058707+01:00 \ No newline at end of file +2021-05-24T13:30:23.549171-04:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogDashboardHostMap_import.freeze b/datadog/tests/cassettes/TestAccDatadogDashboardHostMap_import.freeze index 1c58f4921..716065b2f 100644 --- a/datadog/tests/cassettes/TestAccDatadogDashboardHostMap_import.freeze +++ b/datadog/tests/cassettes/TestAccDatadogDashboardHostMap_import.freeze @@ -1 +1 @@ -2020-12-31T15:42:08.134677+01:00 \ No newline at end of file +2021-05-24T13:30:23.54843-04:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogDashboardIFrame.freeze b/datadog/tests/cassettes/TestAccDatadogDashboardIFrame.freeze index e465b31e5..6d5ac6e6f 100644 --- a/datadog/tests/cassettes/TestAccDatadogDashboardIFrame.freeze +++ b/datadog/tests/cassettes/TestAccDatadogDashboardIFrame.freeze @@ -1 +1 @@ -2021-05-03T11:40:46.105451+02:00 \ No newline at end of file +2021-05-24T13:30:23.551595-04:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogDashboardIFrame_import.freeze b/datadog/tests/cassettes/TestAccDatadogDashboardIFrame_import.freeze index 797631a6e..4c928ca99 100644 --- a/datadog/tests/cassettes/TestAccDatadogDashboardIFrame_import.freeze +++ b/datadog/tests/cassettes/TestAccDatadogDashboardIFrame_import.freeze @@ -1 +1 @@ -2021-05-03T11:41:05.327088+02:00 \ No newline at end of file +2021-05-24T13:30:23.546812-04:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogDashboardImage.freeze b/datadog/tests/cassettes/TestAccDatadogDashboardImage.freeze index 58d99d020..7dbbad363 100644 --- a/datadog/tests/cassettes/TestAccDatadogDashboardImage.freeze +++ b/datadog/tests/cassettes/TestAccDatadogDashboardImage.freeze @@ -1 +1 @@ -2021-05-03T11:41:13.225832+02:00 \ No newline at end of file +2021-05-24T13:30:23.543732-04:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogDashboardImage_import.freeze b/datadog/tests/cassettes/TestAccDatadogDashboardImage_import.freeze index 6f73a730a..5643aabf4 100644 --- a/datadog/tests/cassettes/TestAccDatadogDashboardImage_import.freeze +++ b/datadog/tests/cassettes/TestAccDatadogDashboardImage_import.freeze @@ -1 +1 @@ -2021-05-03T11:41:21.605052+02:00 \ No newline at end of file +2021-05-24T13:30:23.543812-04:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogDashboardJSONBasicScreenboard.freeze b/datadog/tests/cassettes/TestAccDatadogDashboardJSONBasicScreenboard.freeze index 978acd718..d641ea91d 100644 --- a/datadog/tests/cassettes/TestAccDatadogDashboardJSONBasicScreenboard.freeze +++ b/datadog/tests/cassettes/TestAccDatadogDashboardJSONBasicScreenboard.freeze @@ -1 +1 @@ -2021-05-19T16:40:26.109396-04:00 \ No newline at end of file +2021-05-24T13:30:23.540877-04:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogDashboardJSONBasicTimeboard.freeze b/datadog/tests/cassettes/TestAccDatadogDashboardJSONBasicTimeboard.freeze index 67631f021..c46ee8345 100644 --- a/datadog/tests/cassettes/TestAccDatadogDashboardJSONBasicTimeboard.freeze +++ b/datadog/tests/cassettes/TestAccDatadogDashboardJSONBasicTimeboard.freeze @@ -1 +1 @@ -2021-05-19T16:40:26.109367-04:00 \ No newline at end of file +2021-05-24T13:30:23.54311-04:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogDashboardJSONImport.freeze b/datadog/tests/cassettes/TestAccDatadogDashboardJSONImport.freeze index fe4dbf05d..34accc1c4 100644 --- a/datadog/tests/cassettes/TestAccDatadogDashboardJSONImport.freeze +++ b/datadog/tests/cassettes/TestAccDatadogDashboardJSONImport.freeze @@ -1 +1 @@ -2021-05-19T16:39:22.669441-04:00 \ No newline at end of file +2021-05-24T13:30:23.362852-04:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogDashboardLayoutForceNew.freeze b/datadog/tests/cassettes/TestAccDatadogDashboardLayoutForceNew.freeze index 6c8f5e36c..d55d43f7f 100644 --- a/datadog/tests/cassettes/TestAccDatadogDashboardLayoutForceNew.freeze +++ b/datadog/tests/cassettes/TestAccDatadogDashboardLayoutForceNew.freeze @@ -1 +1 @@ -2021-05-03T11:38:12.213597+02:00 \ No newline at end of file +2021-05-24T13:30:23.520032-04:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogDashboardListDatasource.freeze b/datadog/tests/cassettes/TestAccDatadogDashboardListDatasource.freeze index 96be67356..1deb1b501 100644 --- a/datadog/tests/cassettes/TestAccDatadogDashboardListDatasource.freeze +++ b/datadog/tests/cassettes/TestAccDatadogDashboardListDatasource.freeze @@ -1 +1 @@ -2021-01-28T17:18:24.8916+01:00 \ No newline at end of file +2021-05-24T13:30:23.445288-04:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogDashboardLogStream.freeze b/datadog/tests/cassettes/TestAccDatadogDashboardLogStream.freeze index ecd3913b5..d1fd3fbe9 100644 --- a/datadog/tests/cassettes/TestAccDatadogDashboardLogStream.freeze +++ b/datadog/tests/cassettes/TestAccDatadogDashboardLogStream.freeze @@ -1 +1 @@ -2021-05-14T09:02:36.084132+02:00 \ No newline at end of file +2021-05-24T13:30:23.541698-04:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogDashboardLogStreamLogSet.freeze b/datadog/tests/cassettes/TestAccDatadogDashboardLogStreamLogSet.freeze index 180d284c3..d641ea91d 100644 --- a/datadog/tests/cassettes/TestAccDatadogDashboardLogStreamLogSet.freeze +++ b/datadog/tests/cassettes/TestAccDatadogDashboardLogStreamLogSet.freeze @@ -1 +1 @@ -2021-05-14T09:02:36.0833+02:00 \ No newline at end of file +2021-05-24T13:30:23.540877-04:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogDashboardLogStreamLogSet_import.freeze b/datadog/tests/cassettes/TestAccDatadogDashboardLogStreamLogSet_import.freeze index 419eae5c1..b5a4fc25a 100644 --- a/datadog/tests/cassettes/TestAccDatadogDashboardLogStreamLogSet_import.freeze +++ b/datadog/tests/cassettes/TestAccDatadogDashboardLogStreamLogSet_import.freeze @@ -1 +1 @@ -2021-05-14T09:02:36.083981+02:00 \ No newline at end of file +2021-05-24T13:30:23.542987-04:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogDashboardLogStream_import.freeze b/datadog/tests/cassettes/TestAccDatadogDashboardLogStream_import.freeze index a6f80571f..10f4b6b56 100644 --- a/datadog/tests/cassettes/TestAccDatadogDashboardLogStream_import.freeze +++ b/datadog/tests/cassettes/TestAccDatadogDashboardLogStream_import.freeze @@ -1 +1 @@ -2021-05-14T09:02:36.083518+02:00 \ No newline at end of file +2021-05-24T13:30:23.537177-04:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogDashboardManageStatus.freeze b/datadog/tests/cassettes/TestAccDatadogDashboardManageStatus.freeze index e17da19d3..5fcbd8816 100644 --- a/datadog/tests/cassettes/TestAccDatadogDashboardManageStatus.freeze +++ b/datadog/tests/cassettes/TestAccDatadogDashboardManageStatus.freeze @@ -1 +1 @@ -2021-05-03T11:42:20.12836+02:00 \ No newline at end of file +2021-05-24T13:30:23.53484-04:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogDashboardManageStatus_import.freeze b/datadog/tests/cassettes/TestAccDatadogDashboardManageStatus_import.freeze index d0b99be3d..972bce59a 100644 --- a/datadog/tests/cassettes/TestAccDatadogDashboardManageStatus_import.freeze +++ b/datadog/tests/cassettes/TestAccDatadogDashboardManageStatus_import.freeze @@ -1 +1 @@ -2021-05-03T11:42:36.831554+02:00 \ No newline at end of file +2021-05-24T13:30:23.534173-04:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogDashboardNote.freeze b/datadog/tests/cassettes/TestAccDatadogDashboardNote.freeze index 3b88eb513..05b22f1e7 100644 --- a/datadog/tests/cassettes/TestAccDatadogDashboardNote.freeze +++ b/datadog/tests/cassettes/TestAccDatadogDashboardNote.freeze @@ -1 +1 @@ -2021-05-03T11:42:45.118614+02:00 \ No newline at end of file +2021-05-24T13:30:23.532134-04:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogDashboardNoteContentError.freeze b/datadog/tests/cassettes/TestAccDatadogDashboardNoteContentError.freeze index 7006a9d73..295567025 100644 --- a/datadog/tests/cassettes/TestAccDatadogDashboardNoteContentError.freeze +++ b/datadog/tests/cassettes/TestAccDatadogDashboardNoteContentError.freeze @@ -1 +1 @@ -2021-05-03T11:42:44.991214+02:00 \ No newline at end of file +2021-05-24T13:30:23.372898-04:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogDashboardNote_import.freeze b/datadog/tests/cassettes/TestAccDatadogDashboardNote_import.freeze index c83deafa4..8692b3f88 100644 --- a/datadog/tests/cassettes/TestAccDatadogDashboardNote_import.freeze +++ b/datadog/tests/cassettes/TestAccDatadogDashboardNote_import.freeze @@ -1 +1 @@ -2021-05-03T11:42:52.35047+02:00 \ No newline at end of file +2021-05-24T13:30:23.532111-04:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogDashboardQueryTable.freeze b/datadog/tests/cassettes/TestAccDatadogDashboardQueryTable.freeze index 5933add15..2a8c553ef 100644 --- a/datadog/tests/cassettes/TestAccDatadogDashboardQueryTable.freeze +++ b/datadog/tests/cassettes/TestAccDatadogDashboardQueryTable.freeze @@ -1 +1 @@ -2021-01-28T17:18:26.710414+01:00 \ No newline at end of file +2021-05-24T13:30:23.53119-04:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogDashboardQueryTable_import.freeze b/datadog/tests/cassettes/TestAccDatadogDashboardQueryTable_import.freeze index 46e361f93..a31991382 100644 --- a/datadog/tests/cassettes/TestAccDatadogDashboardQueryTable_import.freeze +++ b/datadog/tests/cassettes/TestAccDatadogDashboardQueryTable_import.freeze @@ -1 +1 @@ -2020-12-31T15:42:08.733512+01:00 \ No newline at end of file +2021-05-24T13:30:23.530901-04:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogDashboardQueryValue.freeze b/datadog/tests/cassettes/TestAccDatadogDashboardQueryValue.freeze index a46e9f109..166b14220 100644 --- a/datadog/tests/cassettes/TestAccDatadogDashboardQueryValue.freeze +++ b/datadog/tests/cassettes/TestAccDatadogDashboardQueryValue.freeze @@ -1 +1 @@ -2021-01-28T17:18:26.717647+01:00 \ No newline at end of file +2021-05-24T13:30:23.527768-04:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogDashboardQueryValueFormula.freeze b/datadog/tests/cassettes/TestAccDatadogDashboardQueryValueFormula.freeze index 5c128e2bf..76c21d1c6 100644 --- a/datadog/tests/cassettes/TestAccDatadogDashboardQueryValueFormula.freeze +++ b/datadog/tests/cassettes/TestAccDatadogDashboardQueryValueFormula.freeze @@ -1 +1 @@ -2021-02-25T18:39:08.086427-05:00 \ No newline at end of file +2021-05-24T13:30:23.527349-04:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogDashboardQueryValueFormula_import.freeze b/datadog/tests/cassettes/TestAccDatadogDashboardQueryValueFormula_import.freeze index 3f789bf39..0fa844544 100644 --- a/datadog/tests/cassettes/TestAccDatadogDashboardQueryValueFormula_import.freeze +++ b/datadog/tests/cassettes/TestAccDatadogDashboardQueryValueFormula_import.freeze @@ -1 +1 @@ -2021-02-25T18:39:08.086824-05:00 \ No newline at end of file +2021-05-24T13:30:23.528572-04:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogDashboardQueryValue_import.freeze b/datadog/tests/cassettes/TestAccDatadogDashboardQueryValue_import.freeze index a966df220..d4043d385 100644 --- a/datadog/tests/cassettes/TestAccDatadogDashboardQueryValue_import.freeze +++ b/datadog/tests/cassettes/TestAccDatadogDashboardQueryValue_import.freeze @@ -1 +1 @@ -2020-12-31T15:42:08.737331+01:00 \ No newline at end of file +2021-05-24T13:30:23.527267-04:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogDashboardSLO.freeze b/datadog/tests/cassettes/TestAccDatadogDashboardSLO.freeze index 6e146a214..ed134012a 100644 --- a/datadog/tests/cassettes/TestAccDatadogDashboardSLO.freeze +++ b/datadog/tests/cassettes/TestAccDatadogDashboardSLO.freeze @@ -1 +1 @@ -2021-03-23T18:36:20.618813-04:00 \ No newline at end of file +2021-05-24T13:30:23.522205-04:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogDashboardSLO_import.freeze b/datadog/tests/cassettes/TestAccDatadogDashboardSLO_import.freeze index b95d1d7b3..bda6e78d8 100644 --- a/datadog/tests/cassettes/TestAccDatadogDashboardSLO_import.freeze +++ b/datadog/tests/cassettes/TestAccDatadogDashboardSLO_import.freeze @@ -1 +1 @@ -2021-03-23T18:36:20.618821-04:00 \ No newline at end of file +2021-05-24T13:30:23.518273-04:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogDashboardScatterplot.freeze b/datadog/tests/cassettes/TestAccDatadogDashboardScatterplot.freeze index 2da9f2022..ed710cb25 100644 --- a/datadog/tests/cassettes/TestAccDatadogDashboardScatterplot.freeze +++ b/datadog/tests/cassettes/TestAccDatadogDashboardScatterplot.freeze @@ -1 +1 @@ -2021-01-28T17:18:26.725663+01:00 \ No newline at end of file +2021-05-24T13:30:23.522819-04:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogDashboardScatterplot_import.freeze b/datadog/tests/cassettes/TestAccDatadogDashboardScatterplot_import.freeze index 7e48b95ad..cdc3bd360 100644 --- a/datadog/tests/cassettes/TestAccDatadogDashboardScatterplot_import.freeze +++ b/datadog/tests/cassettes/TestAccDatadogDashboardScatterplot_import.freeze @@ -1 +1 @@ -2020-12-31T15:42:08.74021+01:00 \ No newline at end of file +2021-05-24T13:30:23.522217-04:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogDashboardServiceMap.freeze b/datadog/tests/cassettes/TestAccDatadogDashboardServiceMap.freeze index c23a25905..03a077e43 100644 --- a/datadog/tests/cassettes/TestAccDatadogDashboardServiceMap.freeze +++ b/datadog/tests/cassettes/TestAccDatadogDashboardServiceMap.freeze @@ -1 +1 @@ -2021-05-03T11:37:01.664408+02:00 \ No newline at end of file +2021-05-24T13:30:23.521162-04:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogDashboardServiceMap_import.freeze b/datadog/tests/cassettes/TestAccDatadogDashboardServiceMap_import.freeze index 2aaac3397..218fb77e5 100644 --- a/datadog/tests/cassettes/TestAccDatadogDashboardServiceMap_import.freeze +++ b/datadog/tests/cassettes/TestAccDatadogDashboardServiceMap_import.freeze @@ -1 +1 @@ -2021-05-03T11:37:17.250301+02:00 \ No newline at end of file +2021-05-24T13:30:23.520373-04:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogDashboardTimeseries.freeze b/datadog/tests/cassettes/TestAccDatadogDashboardTimeseries.freeze index 65e3d491f..a4503a3b5 100644 --- a/datadog/tests/cassettes/TestAccDatadogDashboardTimeseries.freeze +++ b/datadog/tests/cassettes/TestAccDatadogDashboardTimeseries.freeze @@ -1 +1 @@ -2021-03-18T18:33:19.520908+01:00 \ No newline at end of file +2021-05-24T13:30:23.511467-04:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogDashboardTimeseriesMultiCompute.freeze b/datadog/tests/cassettes/TestAccDatadogDashboardTimeseriesMultiCompute.freeze index c983e71a1..533187409 100644 --- a/datadog/tests/cassettes/TestAccDatadogDashboardTimeseriesMultiCompute.freeze +++ b/datadog/tests/cassettes/TestAccDatadogDashboardTimeseriesMultiCompute.freeze @@ -1 +1 @@ -2021-03-18T18:33:19.521033+01:00 \ No newline at end of file +2021-05-24T13:30:23.507199-04:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogDashboardTimeseriesMultiCompute_import.freeze b/datadog/tests/cassettes/TestAccDatadogDashboardTimeseriesMultiCompute_import.freeze index 0a33322ef..e75ff3e25 100644 --- a/datadog/tests/cassettes/TestAccDatadogDashboardTimeseriesMultiCompute_import.freeze +++ b/datadog/tests/cassettes/TestAccDatadogDashboardTimeseriesMultiCompute_import.freeze @@ -1 +1 @@ -2021-03-18T18:33:19.521025+01:00 \ No newline at end of file +2021-05-24T13:30:23.50417-04:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogDashboardTimeseries_import.freeze b/datadog/tests/cassettes/TestAccDatadogDashboardTimeseries_import.freeze index da4a3bf91..7c2aab1be 100644 --- a/datadog/tests/cassettes/TestAccDatadogDashboardTimeseries_import.freeze +++ b/datadog/tests/cassettes/TestAccDatadogDashboardTimeseries_import.freeze @@ -1 +1 @@ -2021-03-18T18:33:19.520881+01:00 \ No newline at end of file +2021-05-24T13:30:23.510832-04:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogDashboardTopList.freeze b/datadog/tests/cassettes/TestAccDatadogDashboardTopList.freeze index 6c427570f..fb036ff2c 100644 --- a/datadog/tests/cassettes/TestAccDatadogDashboardTopList.freeze +++ b/datadog/tests/cassettes/TestAccDatadogDashboardTopList.freeze @@ -1 +1 @@ -2021-04-16T13:25:09.299432-04:00 \ No newline at end of file +2021-05-24T13:30:23.508764-04:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogDashboardTopListFormula.freeze b/datadog/tests/cassettes/TestAccDatadogDashboardTopListFormula.freeze index 23137d6c7..282263c42 100644 --- a/datadog/tests/cassettes/TestAccDatadogDashboardTopListFormula.freeze +++ b/datadog/tests/cassettes/TestAccDatadogDashboardTopListFormula.freeze @@ -1 +1 @@ -2021-04-16T13:25:09.298892-04:00 \ No newline at end of file +2021-05-24T13:30:23.503683-04:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogDashboardTopListFormula_import.freeze b/datadog/tests/cassettes/TestAccDatadogDashboardTopListFormula_import.freeze index d0398dd29..bcdc32e37 100644 --- a/datadog/tests/cassettes/TestAccDatadogDashboardTopListFormula_import.freeze +++ b/datadog/tests/cassettes/TestAccDatadogDashboardTopListFormula_import.freeze @@ -1 +1 @@ -2021-04-16T13:25:09.298847-04:00 \ No newline at end of file +2021-05-24T13:30:23.496407-04:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogDashboardTopList_import.freeze b/datadog/tests/cassettes/TestAccDatadogDashboardTopList_import.freeze index 29ac1946a..027390358 100644 --- a/datadog/tests/cassettes/TestAccDatadogDashboardTopList_import.freeze +++ b/datadog/tests/cassettes/TestAccDatadogDashboardTopList_import.freeze @@ -1 +1 @@ -2021-04-16T13:25:09.298871-04:00 \ No newline at end of file +2021-05-24T13:30:23.501075-04:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogDashboardTraceService.freeze b/datadog/tests/cassettes/TestAccDatadogDashboardTraceService.freeze index 419bdb7fb..15b328792 100644 --- a/datadog/tests/cassettes/TestAccDatadogDashboardTraceService.freeze +++ b/datadog/tests/cassettes/TestAccDatadogDashboardTraceService.freeze @@ -1 +1 @@ -2021-05-14T08:59:30.873757+02:00 \ No newline at end of file +2021-05-24T13:30:23.495241-04:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogDashboardTraceService_import.freeze b/datadog/tests/cassettes/TestAccDatadogDashboardTraceService_import.freeze index 8574298bd..9492e160a 100644 --- a/datadog/tests/cassettes/TestAccDatadogDashboardTraceService_import.freeze +++ b/datadog/tests/cassettes/TestAccDatadogDashboardTraceService_import.freeze @@ -1 +1 @@ -2021-05-14T08:59:30.87422+02:00 \ No newline at end of file +2021-05-24T13:30:23.492585-04:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogDashboard_import.freeze b/datadog/tests/cassettes/TestAccDatadogDashboard_import.freeze index afa830e3b..cb970e363 100644 --- a/datadog/tests/cassettes/TestAccDatadogDashboard_import.freeze +++ b/datadog/tests/cassettes/TestAccDatadogDashboard_import.freeze @@ -1 +1 @@ -2021-05-03T11:40:24.869737+02:00 \ No newline at end of file +2021-05-24T13:30:23.514322-04:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogDashboard_update.freeze b/datadog/tests/cassettes/TestAccDatadogDashboard_update.freeze index 9fe928329..13276e571 100644 --- a/datadog/tests/cassettes/TestAccDatadogDashboard_update.freeze +++ b/datadog/tests/cassettes/TestAccDatadogDashboard_update.freeze @@ -1 +1 @@ -2021-05-03T11:37:50.130001+02:00 \ No newline at end of file +2021-05-24T13:30:23.516799-04:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogDowntimeDates.freeze b/datadog/tests/cassettes/TestAccDatadogDowntimeDates.freeze index eac53b281..f4173efa2 100644 --- a/datadog/tests/cassettes/TestAccDatadogDowntimeDates.freeze +++ b/datadog/tests/cassettes/TestAccDatadogDowntimeDates.freeze @@ -1 +1 @@ -2020-12-31T15:42:08.800524+01:00 \ No newline at end of file +2021-05-24T13:30:23.477336-04:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogDowntimeDatesConflict.freeze b/datadog/tests/cassettes/TestAccDatadogDowntimeDatesConflict.freeze index 76a09e4ef..0543ba09c 100644 --- a/datadog/tests/cassettes/TestAccDatadogDowntimeDatesConflict.freeze +++ b/datadog/tests/cassettes/TestAccDatadogDowntimeDatesConflict.freeze @@ -1 +1 @@ -2020-12-31T15:42:08.801731+01:00 \ No newline at end of file +2021-05-24T13:30:23.470919-04:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogDowntime_Basic.freeze b/datadog/tests/cassettes/TestAccDatadogDowntime_Basic.freeze index a5e30a263..719de4114 100644 --- a/datadog/tests/cassettes/TestAccDatadogDowntime_Basic.freeze +++ b/datadog/tests/cassettes/TestAccDatadogDowntime_Basic.freeze @@ -1 +1 @@ -2020-12-31T15:42:08.783651+01:00 \ No newline at end of file +2021-05-24T13:30:23.492306-04:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogDowntime_BasicMultiScope.freeze b/datadog/tests/cassettes/TestAccDatadogDowntime_BasicMultiScope.freeze index 613182326..e290c0255 100644 --- a/datadog/tests/cassettes/TestAccDatadogDowntime_BasicMultiScope.freeze +++ b/datadog/tests/cassettes/TestAccDatadogDowntime_BasicMultiScope.freeze @@ -1 +1 @@ -2020-12-31T15:42:08.788453+01:00 \ No newline at end of file +2021-05-24T13:30:23.497536-04:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogDowntime_BasicNoRecurrence.freeze b/datadog/tests/cassettes/TestAccDatadogDowntime_BasicNoRecurrence.freeze index efb0298ef..fd106950f 100644 --- a/datadog/tests/cassettes/TestAccDatadogDowntime_BasicNoRecurrence.freeze +++ b/datadog/tests/cassettes/TestAccDatadogDowntime_BasicNoRecurrence.freeze @@ -1 +1 @@ -2020-12-31T15:42:08.789946+01:00 \ No newline at end of file +2021-05-24T13:30:23.490245-04:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogDowntime_BasicUntilDateRecurrence.freeze b/datadog/tests/cassettes/TestAccDatadogDowntime_BasicUntilDateRecurrence.freeze index 5c79fdb61..f815587fb 100644 --- a/datadog/tests/cassettes/TestAccDatadogDowntime_BasicUntilDateRecurrence.freeze +++ b/datadog/tests/cassettes/TestAccDatadogDowntime_BasicUntilDateRecurrence.freeze @@ -1 +1 @@ -2020-12-31T15:42:08.791497+01:00 \ No newline at end of file +2021-05-24T13:30:23.483343-04:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogDowntime_BasicUntilOccurrencesRecurrence.freeze b/datadog/tests/cassettes/TestAccDatadogDowntime_BasicUntilOccurrencesRecurrence.freeze index f24753a4d..51258d627 100644 --- a/datadog/tests/cassettes/TestAccDatadogDowntime_BasicUntilOccurrencesRecurrence.freeze +++ b/datadog/tests/cassettes/TestAccDatadogDowntime_BasicUntilOccurrencesRecurrence.freeze @@ -1 +1 @@ -2020-12-31T15:42:08.792762+01:00 \ No newline at end of file +2021-05-24T13:30:23.483209-04:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogDowntime_BasicWithMonitor.freeze b/datadog/tests/cassettes/TestAccDatadogDowntime_BasicWithMonitor.freeze index 353bbca9b..6709169cc 100644 --- a/datadog/tests/cassettes/TestAccDatadogDowntime_BasicWithMonitor.freeze +++ b/datadog/tests/cassettes/TestAccDatadogDowntime_BasicWithMonitor.freeze @@ -1 +1 @@ -2020-12-31T15:42:08.785663+01:00 \ No newline at end of file +2021-05-24T13:30:23.500249-04:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogDowntime_BasicWithMonitorTags.freeze b/datadog/tests/cassettes/TestAccDatadogDowntime_BasicWithMonitorTags.freeze index 851bc659a..b06496b58 100644 --- a/datadog/tests/cassettes/TestAccDatadogDowntime_BasicWithMonitorTags.freeze +++ b/datadog/tests/cassettes/TestAccDatadogDowntime_BasicWithMonitorTags.freeze @@ -1 +1 @@ -2020-12-31T15:42:08.787158+01:00 \ No newline at end of file +2021-05-24T13:30:23.488023-04:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogDowntime_DiffStart.freeze b/datadog/tests/cassettes/TestAccDatadogDowntime_DiffStart.freeze index 4f23aa793..f38aa890c 100644 --- a/datadog/tests/cassettes/TestAccDatadogDowntime_DiffStart.freeze +++ b/datadog/tests/cassettes/TestAccDatadogDowntime_DiffStart.freeze @@ -1 +1 @@ -2021-04-22T18:05:51.631723+02:00 \ No newline at end of file +2021-05-24T13:30:23.476439-04:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogDowntime_RRule.freeze b/datadog/tests/cassettes/TestAccDatadogDowntime_RRule.freeze index f0e4271a7..4f1de95b1 100644 --- a/datadog/tests/cassettes/TestAccDatadogDowntime_RRule.freeze +++ b/datadog/tests/cassettes/TestAccDatadogDowntime_RRule.freeze @@ -1 +1 @@ -2020-12-31T15:42:08.795409+01:00 \ No newline at end of file +2021-05-24T13:30:23.481637-04:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogDowntime_TrimWhitespace.freeze b/datadog/tests/cassettes/TestAccDatadogDowntime_TrimWhitespace.freeze index 0b27c79b9..c1ef4f695 100644 --- a/datadog/tests/cassettes/TestAccDatadogDowntime_TrimWhitespace.freeze +++ b/datadog/tests/cassettes/TestAccDatadogDowntime_TrimWhitespace.freeze @@ -1 +1 @@ -2020-12-31T15:42:08.797929+01:00 \ No newline at end of file +2021-05-24T13:30:23.477667-04:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogDowntime_Updated.freeze b/datadog/tests/cassettes/TestAccDatadogDowntime_Updated.freeze index 0e8eb06fa..eec15f77c 100644 --- a/datadog/tests/cassettes/TestAccDatadogDowntime_Updated.freeze +++ b/datadog/tests/cassettes/TestAccDatadogDowntime_Updated.freeze @@ -1 +1 @@ -2020-12-31T15:42:08.796658+01:00 \ No newline at end of file +2021-05-24T13:30:23.479279-04:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogDowntime_WeekDayRecurring.freeze b/datadog/tests/cassettes/TestAccDatadogDowntime_WeekDayRecurring.freeze index f0e043bf9..b44a05da2 100644 --- a/datadog/tests/cassettes/TestAccDatadogDowntime_WeekDayRecurring.freeze +++ b/datadog/tests/cassettes/TestAccDatadogDowntime_WeekDayRecurring.freeze @@ -1 +1 @@ -2020-12-31T15:42:08.794199+01:00 \ No newline at end of file +2021-05-24T13:30:23.490575-04:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogFreeDashboard.freeze b/datadog/tests/cassettes/TestAccDatadogFreeDashboard.freeze index 6c7782bb3..b155feb3c 100644 --- a/datadog/tests/cassettes/TestAccDatadogFreeDashboard.freeze +++ b/datadog/tests/cassettes/TestAccDatadogFreeDashboard.freeze @@ -1 +1 @@ -2021-05-03T11:38:01.138719+02:00 \ No newline at end of file +2021-05-24T13:30:23.516962-04:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogIntegrationAWS.freeze b/datadog/tests/cassettes/TestAccDatadogIntegrationAWS.freeze index 6f04fb27b..ea5e58374 100644 --- a/datadog/tests/cassettes/TestAccDatadogIntegrationAWS.freeze +++ b/datadog/tests/cassettes/TestAccDatadogIntegrationAWS.freeze @@ -1 +1 @@ -2020-12-31T15:42:28.691873+01:00 \ No newline at end of file +2021-05-24T13:30:23.386521-04:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogIntegrationAWSLambdaArn.freeze b/datadog/tests/cassettes/TestAccDatadogIntegrationAWSLambdaArn.freeze index b4ebb0286..f7868d622 100644 --- a/datadog/tests/cassettes/TestAccDatadogIntegrationAWSLambdaArn.freeze +++ b/datadog/tests/cassettes/TestAccDatadogIntegrationAWSLambdaArn.freeze @@ -1 +1 @@ -2020-12-31T15:42:08.803998+01:00 \ No newline at end of file +2021-05-24T13:30:23.378837-04:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogIntegrationAWSLogCollection.freeze b/datadog/tests/cassettes/TestAccDatadogIntegrationAWSLogCollection.freeze index e104f8ad2..6ac2a502a 100644 --- a/datadog/tests/cassettes/TestAccDatadogIntegrationAWSLogCollection.freeze +++ b/datadog/tests/cassettes/TestAccDatadogIntegrationAWSLogCollection.freeze @@ -1 +1 @@ -2021-01-27T17:52:02.772145-05:00 \ No newline at end of file +2021-05-24T13:30:23.381269-04:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogIntegrationAwsTagFilter_Basic.freeze b/datadog/tests/cassettes/TestAccDatadogIntegrationAwsTagFilter_Basic.freeze index 63c435191..ea8a67dcc 100644 --- a/datadog/tests/cassettes/TestAccDatadogIntegrationAwsTagFilter_Basic.freeze +++ b/datadog/tests/cassettes/TestAccDatadogIntegrationAwsTagFilter_Basic.freeze @@ -1 +1 @@ -2021-02-08T09:24:53.23552-05:00 \ No newline at end of file +2021-05-24T13:30:23.383728-04:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogIntegrationAzure.freeze b/datadog/tests/cassettes/TestAccDatadogIntegrationAzure.freeze index 19d4c2ce3..fefaf0825 100644 --- a/datadog/tests/cassettes/TestAccDatadogIntegrationAzure.freeze +++ b/datadog/tests/cassettes/TestAccDatadogIntegrationAzure.freeze @@ -1 +1 @@ -2020-12-31T15:42:42.840905+01:00 \ No newline at end of file +2021-05-24T13:30:23.394617-04:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogIntegrationGCP.freeze b/datadog/tests/cassettes/TestAccDatadogIntegrationGCP.freeze index 562a42e3a..768dd3e80 100644 --- a/datadog/tests/cassettes/TestAccDatadogIntegrationGCP.freeze +++ b/datadog/tests/cassettes/TestAccDatadogIntegrationGCP.freeze @@ -1 +1 @@ -2021-03-30T13:30:54.526302-04:00 \ No newline at end of file +2021-05-24T13:30:23.397875-04:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogIntegrationPagerdutyServiceObject_Basic.freeze b/datadog/tests/cassettes/TestAccDatadogIntegrationPagerdutyServiceObject_Basic.freeze index 3e175e31a..7772a2db7 100644 --- a/datadog/tests/cassettes/TestAccDatadogIntegrationPagerdutyServiceObject_Basic.freeze +++ b/datadog/tests/cassettes/TestAccDatadogIntegrationPagerdutyServiceObject_Basic.freeze @@ -1 +1 @@ -2020-12-31T15:42:59.710078+01:00 \ No newline at end of file +2021-05-24T13:30:23.399852-04:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogIntegrationPagerduty_Basic.freeze b/datadog/tests/cassettes/TestAccDatadogIntegrationPagerduty_Basic.freeze index 027b80e0b..ffe98b6de 100644 --- a/datadog/tests/cassettes/TestAccDatadogIntegrationPagerduty_Basic.freeze +++ b/datadog/tests/cassettes/TestAccDatadogIntegrationPagerduty_Basic.freeze @@ -1 +1 @@ -2020-12-31T15:43:22.176299+01:00 \ No newline at end of file +2021-05-24T13:30:23.401637-04:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogIntegrationPagerduty_Migrate2ServiceObjects.freeze b/datadog/tests/cassettes/TestAccDatadogIntegrationPagerduty_Migrate2ServiceObjects.freeze index d3c586f96..b45b05809 100644 --- a/datadog/tests/cassettes/TestAccDatadogIntegrationPagerduty_Migrate2ServiceObjects.freeze +++ b/datadog/tests/cassettes/TestAccDatadogIntegrationPagerduty_Migrate2ServiceObjects.freeze @@ -1 +1 @@ -2020-12-31T15:43:32.639231+01:00 \ No newline at end of file +2021-05-24T13:30:23.406385-04:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogIntegrationPagerduty_TwoServices.freeze b/datadog/tests/cassettes/TestAccDatadogIntegrationPagerduty_TwoServices.freeze index 185589893..91d55a1af 100644 --- a/datadog/tests/cassettes/TestAccDatadogIntegrationPagerduty_TwoServices.freeze +++ b/datadog/tests/cassettes/TestAccDatadogIntegrationPagerduty_TwoServices.freeze @@ -1 +1 @@ -2020-12-31T15:43:27.814555+01:00 \ No newline at end of file +2021-05-24T13:30:23.403931-04:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogIntegrationSlackChannel_Basic.freeze b/datadog/tests/cassettes/TestAccDatadogIntegrationSlackChannel_Basic.freeze index 782617481..04edcdbd2 100644 --- a/datadog/tests/cassettes/TestAccDatadogIntegrationSlackChannel_Basic.freeze +++ b/datadog/tests/cassettes/TestAccDatadogIntegrationSlackChannel_Basic.freeze @@ -1 +1 @@ -2021-02-24T10:36:56.464519-05:00 \ No newline at end of file +2021-05-24T13:30:23.411224-04:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogIntegrationSlackChannel_Import.freeze b/datadog/tests/cassettes/TestAccDatadogIntegrationSlackChannel_Import.freeze index f5ad330be..2b79ff52a 100644 --- a/datadog/tests/cassettes/TestAccDatadogIntegrationSlackChannel_Import.freeze +++ b/datadog/tests/cassettes/TestAccDatadogIntegrationSlackChannel_Import.freeze @@ -1 +1 @@ -2021-04-02T17:21:13.24789-04:00 \ No newline at end of file +2021-05-24T13:30:23.412755-04:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogIpRangesDatasource_existing.freeze b/datadog/tests/cassettes/TestAccDatadogIpRangesDatasource_existing.freeze index 8e8c0b8cd..14fdd080c 100644 --- a/datadog/tests/cassettes/TestAccDatadogIpRangesDatasource_existing.freeze +++ b/datadog/tests/cassettes/TestAccDatadogIpRangesDatasource_existing.freeze @@ -1 +1 @@ -2020-12-31T15:41:45.458709+01:00 \ No newline at end of file +2021-05-24T13:30:23.618733-04:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogLogsArchiveAzure_basic.freeze b/datadog/tests/cassettes/TestAccDatadogLogsArchiveAzure_basic.freeze index 8883866bb..c39d5e218 100644 --- a/datadog/tests/cassettes/TestAccDatadogLogsArchiveAzure_basic.freeze +++ b/datadog/tests/cassettes/TestAccDatadogLogsArchiveAzure_basic.freeze @@ -1 +1 @@ -2021-02-11T11:22:42.274999+01:00 \ No newline at end of file +2021-05-24T13:30:23.422247-04:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogLogsArchiveAzure_basicDeprecated.freeze b/datadog/tests/cassettes/TestAccDatadogLogsArchiveAzure_basicDeprecated.freeze index 241b2b862..c65e76125 100644 --- a/datadog/tests/cassettes/TestAccDatadogLogsArchiveAzure_basicDeprecated.freeze +++ b/datadog/tests/cassettes/TestAccDatadogLogsArchiveAzure_basicDeprecated.freeze @@ -1 +1 @@ -2021-02-11T11:22:37.567134+01:00 \ No newline at end of file +2021-05-24T13:30:23.418522-04:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogLogsArchiveGCS_basic.freeze b/datadog/tests/cassettes/TestAccDatadogLogsArchiveGCS_basic.freeze index 8407adc3e..b66b35413 100644 --- a/datadog/tests/cassettes/TestAccDatadogLogsArchiveGCS_basic.freeze +++ b/datadog/tests/cassettes/TestAccDatadogLogsArchiveGCS_basic.freeze @@ -1 +1 @@ -2021-03-30T13:48:22.326086-04:00 \ No newline at end of file +2021-05-24T13:30:23.426271-04:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogLogsArchiveGCS_basicDeprecated.freeze b/datadog/tests/cassettes/TestAccDatadogLogsArchiveGCS_basicDeprecated.freeze index d2c5db607..e9447f879 100644 --- a/datadog/tests/cassettes/TestAccDatadogLogsArchiveGCS_basicDeprecated.freeze +++ b/datadog/tests/cassettes/TestAccDatadogLogsArchiveGCS_basicDeprecated.freeze @@ -1 +1 @@ -2021-03-30T13:48:19.618471-04:00 \ No newline at end of file +2021-05-24T13:30:23.424657-04:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogLogsArchiveOrder_basic.freeze b/datadog/tests/cassettes/TestAccDatadogLogsArchiveOrder_basic.freeze index 03a60a0e2..3f1ee8a95 100644 --- a/datadog/tests/cassettes/TestAccDatadogLogsArchiveOrder_basic.freeze +++ b/datadog/tests/cassettes/TestAccDatadogLogsArchiveOrder_basic.freeze @@ -1 +1 @@ -2020-12-31T15:43:54.931655+01:00 \ No newline at end of file +2021-05-24T13:30:23.414155-04:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogLogsArchiveOrder_empty.freeze b/datadog/tests/cassettes/TestAccDatadogLogsArchiveOrder_empty.freeze index a6b186c4e..1eea65275 100644 --- a/datadog/tests/cassettes/TestAccDatadogLogsArchiveOrder_empty.freeze +++ b/datadog/tests/cassettes/TestAccDatadogLogsArchiveOrder_empty.freeze @@ -1 +1 @@ -2020-12-31T15:43:56.214089+01:00 \ No newline at end of file +2021-05-24T13:30:23.416498-04:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogLogsArchiveS3Update_basic.freeze b/datadog/tests/cassettes/TestAccDatadogLogsArchiveS3Update_basic.freeze index e87b89508..50a9d6aa3 100644 --- a/datadog/tests/cassettes/TestAccDatadogLogsArchiveS3Update_basic.freeze +++ b/datadog/tests/cassettes/TestAccDatadogLogsArchiveS3Update_basic.freeze @@ -1 +1 @@ -2021-02-11T11:23:06.169854+01:00 \ No newline at end of file +2021-05-24T13:30:23.430906-04:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogLogsArchiveS3_basic.freeze b/datadog/tests/cassettes/TestAccDatadogLogsArchiveS3_basic.freeze index 0591437c5..52a254e0b 100644 --- a/datadog/tests/cassettes/TestAccDatadogLogsArchiveS3_basic.freeze +++ b/datadog/tests/cassettes/TestAccDatadogLogsArchiveS3_basic.freeze @@ -1 +1 @@ -2021-02-11T11:22:59.849738+01:00 \ No newline at end of file +2021-05-24T13:30:23.429438-04:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogLogsArchiveS3_basicDeprecated.freeze b/datadog/tests/cassettes/TestAccDatadogLogsArchiveS3_basicDeprecated.freeze index b751c1ab9..2857e6088 100644 --- a/datadog/tests/cassettes/TestAccDatadogLogsArchiveS3_basicDeprecated.freeze +++ b/datadog/tests/cassettes/TestAccDatadogLogsArchiveS3_basicDeprecated.freeze @@ -1 +1 @@ -2021-02-11T11:22:54.537145+01:00 \ No newline at end of file +2021-05-24T13:30:23.427986-04:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogLogsMetric_Basic.freeze b/datadog/tests/cassettes/TestAccDatadogLogsMetric_Basic.freeze index c678ae87b..e0c60fd67 100644 --- a/datadog/tests/cassettes/TestAccDatadogLogsMetric_Basic.freeze +++ b/datadog/tests/cassettes/TestAccDatadogLogsMetric_Basic.freeze @@ -1 +1 @@ -2021-02-11T19:56:57.265256+01:00 \ No newline at end of file +2021-05-24T13:30:23.464914-04:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogLogsMetric_import.freeze b/datadog/tests/cassettes/TestAccDatadogLogsMetric_import.freeze index a912e1cbb..cabddc07e 100644 --- a/datadog/tests/cassettes/TestAccDatadogLogsMetric_import.freeze +++ b/datadog/tests/cassettes/TestAccDatadogLogsMetric_import.freeze @@ -1 +1 @@ -2021-02-11T19:56:57.261814+01:00 \ No newline at end of file +2021-05-24T13:30:23.469523-04:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogLogsPipelineEmptyFilterQuery.freeze b/datadog/tests/cassettes/TestAccDatadogLogsPipelineEmptyFilterQuery.freeze index 6428072bb..720fdb5ed 100644 --- a/datadog/tests/cassettes/TestAccDatadogLogsPipelineEmptyFilterQuery.freeze +++ b/datadog/tests/cassettes/TestAccDatadogLogsPipelineEmptyFilterQuery.freeze @@ -1 +1 @@ -2021-02-11T12:42:54.635337+01:00 \ No newline at end of file +2021-05-24T13:30:23.433225-04:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogLogsPipeline_basic.freeze b/datadog/tests/cassettes/TestAccDatadogLogsPipeline_basic.freeze index 8c31b6606..7389fdada 100644 --- a/datadog/tests/cassettes/TestAccDatadogLogsPipeline_basic.freeze +++ b/datadog/tests/cassettes/TestAccDatadogLogsPipeline_basic.freeze @@ -1 +1 @@ -2021-02-11T12:42:54.633672+01:00 \ No newline at end of file +2021-05-24T13:30:23.478608-04:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogMetricMetadata_Basic.freeze b/datadog/tests/cassettes/TestAccDatadogMetricMetadata_Basic.freeze index bd2aae8a2..8123a1422 100644 --- a/datadog/tests/cassettes/TestAccDatadogMetricMetadata_Basic.freeze +++ b/datadog/tests/cassettes/TestAccDatadogMetricMetadata_Basic.freeze @@ -1 +1 @@ -2020-12-31T15:44:34.185227+01:00 \ No newline at end of file +2021-05-24T13:30:23.438378-04:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogMetricMetadata_Updated.freeze b/datadog/tests/cassettes/TestAccDatadogMetricMetadata_Updated.freeze index 3829f7a62..d4e4b4800 100644 --- a/datadog/tests/cassettes/TestAccDatadogMetricMetadata_Updated.freeze +++ b/datadog/tests/cassettes/TestAccDatadogMetricMetadata_Updated.freeze @@ -1 +1 @@ -2020-12-31T15:44:35.49207+01:00 \ No newline at end of file +2021-05-24T13:30:23.440163-04:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogMetricTagConfiguration_Error.freeze b/datadog/tests/cassettes/TestAccDatadogMetricTagConfiguration_Error.freeze index 779ac436c..d1fe86621 100644 --- a/datadog/tests/cassettes/TestAccDatadogMetricTagConfiguration_Error.freeze +++ b/datadog/tests/cassettes/TestAccDatadogMetricTagConfiguration_Error.freeze @@ -1 +1 @@ -2021-05-03T11:43:36.459701+02:00 \ No newline at end of file +2021-05-24T13:30:23.441741-04:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogMonitorDatasource.freeze b/datadog/tests/cassettes/TestAccDatadogMonitorDatasource.freeze index 81bb25223..1ed0b032c 100644 --- a/datadog/tests/cassettes/TestAccDatadogMonitorDatasource.freeze +++ b/datadog/tests/cassettes/TestAccDatadogMonitorDatasource.freeze @@ -1 +1 @@ -2021-01-12T15:04:25.506015+01:00 \ No newline at end of file +2021-05-24T13:30:23.613391-04:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogMonitorServiceCheck_Basic.freeze b/datadog/tests/cassettes/TestAccDatadogMonitorServiceCheck_Basic.freeze index 542d9fe1b..c7e3eb4af 100644 --- a/datadog/tests/cassettes/TestAccDatadogMonitorServiceCheck_Basic.freeze +++ b/datadog/tests/cassettes/TestAccDatadogMonitorServiceCheck_Basic.freeze @@ -1 +1 @@ -2020-12-31T15:44:37.582677+01:00 \ No newline at end of file +2021-05-24T13:30:23.464475-04:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogMonitor_Basic.freeze b/datadog/tests/cassettes/TestAccDatadogMonitor_Basic.freeze index 66138ca12..77df0aa58 100644 --- a/datadog/tests/cassettes/TestAccDatadogMonitor_Basic.freeze +++ b/datadog/tests/cassettes/TestAccDatadogMonitor_Basic.freeze @@ -1 +1 @@ -2020-12-31T15:44:37.581111+01:00 \ No newline at end of file +2021-05-24T13:30:23.464716-04:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogMonitor_BasicNoTreshold.freeze b/datadog/tests/cassettes/TestAccDatadogMonitor_BasicNoTreshold.freeze index 5528825dd..83a1b3bc3 100644 --- a/datadog/tests/cassettes/TestAccDatadogMonitor_BasicNoTreshold.freeze +++ b/datadog/tests/cassettes/TestAccDatadogMonitor_BasicNoTreshold.freeze @@ -1 +1 @@ -2020-12-31T15:44:37.58399+01:00 \ No newline at end of file +2021-05-24T13:30:23.462456-04:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogMonitor_Basic_float_int.freeze b/datadog/tests/cassettes/TestAccDatadogMonitor_Basic_float_int.freeze index 690f5a0ed..9638a07c9 100644 --- a/datadog/tests/cassettes/TestAccDatadogMonitor_Basic_float_int.freeze +++ b/datadog/tests/cassettes/TestAccDatadogMonitor_Basic_float_int.freeze @@ -1 +1 @@ -2021-02-08T15:42:21.319801+01:00 \ No newline at end of file +2021-05-24T13:30:23.456726-04:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogMonitor_ComposeWithSyntheticsTest.freeze b/datadog/tests/cassettes/TestAccDatadogMonitor_ComposeWithSyntheticsTest.freeze index 06e1690b3..f01aa5218 100644 --- a/datadog/tests/cassettes/TestAccDatadogMonitor_ComposeWithSyntheticsTest.freeze +++ b/datadog/tests/cassettes/TestAccDatadogMonitor_ComposeWithSyntheticsTest.freeze @@ -1 +1 @@ -2021-04-02T13:12:17.309332+02:00 \ No newline at end of file +2021-05-24T13:30:23.451402-04:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogMonitor_Log.freeze b/datadog/tests/cassettes/TestAccDatadogMonitor_Log.freeze index 86c28ee31..051581e30 100644 --- a/datadog/tests/cassettes/TestAccDatadogMonitor_Log.freeze +++ b/datadog/tests/cassettes/TestAccDatadogMonitor_Log.freeze @@ -1 +1 @@ -2021-03-02T14:57:26.387907+01:00 \ No newline at end of file +2021-05-24T13:30:23.454364-04:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogMonitor_NoThresholdWindows.freeze b/datadog/tests/cassettes/TestAccDatadogMonitor_NoThresholdWindows.freeze index 8b62d1ae6..8ab4b2b28 100644 --- a/datadog/tests/cassettes/TestAccDatadogMonitor_NoThresholdWindows.freeze +++ b/datadog/tests/cassettes/TestAccDatadogMonitor_NoThresholdWindows.freeze @@ -1 +1 @@ -2020-12-31T15:44:37.592494+01:00 \ No newline at end of file +2021-05-24T13:30:23.453649-04:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogMonitor_RestrictedRoles.freeze b/datadog/tests/cassettes/TestAccDatadogMonitor_RestrictedRoles.freeze index dd63bd947..288e7c91f 100644 --- a/datadog/tests/cassettes/TestAccDatadogMonitor_RestrictedRoles.freeze +++ b/datadog/tests/cassettes/TestAccDatadogMonitor_RestrictedRoles.freeze @@ -1 +1 @@ -2021-01-29T18:41:44.143653-05:00 \ No newline at end of file +2021-05-24T13:30:23.452211-04:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogMonitor_SilencedUpdateNoDiff.freeze b/datadog/tests/cassettes/TestAccDatadogMonitor_SilencedUpdateNoDiff.freeze index 577d8891f..8c9e24018 100644 --- a/datadog/tests/cassettes/TestAccDatadogMonitor_SilencedUpdateNoDiff.freeze +++ b/datadog/tests/cassettes/TestAccDatadogMonitor_SilencedUpdateNoDiff.freeze @@ -1 +1 @@ -2020-12-31T15:44:37.59894+01:00 \ No newline at end of file +2021-05-24T13:30:23.451358-04:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogMonitor_ThresholdWindows.freeze b/datadog/tests/cassettes/TestAccDatadogMonitor_ThresholdWindows.freeze index dd5e159ee..ef7655d41 100644 --- a/datadog/tests/cassettes/TestAccDatadogMonitor_ThresholdWindows.freeze +++ b/datadog/tests/cassettes/TestAccDatadogMonitor_ThresholdWindows.freeze @@ -1 +1 @@ -2020-12-31T15:44:37.593799+01:00 \ No newline at end of file +2021-05-24T13:30:23.454063-04:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogMonitor_TrimWhitespace.freeze b/datadog/tests/cassettes/TestAccDatadogMonitor_TrimWhitespace.freeze index 7850a6ed3..29cba965e 100644 --- a/datadog/tests/cassettes/TestAccDatadogMonitor_TrimWhitespace.freeze +++ b/datadog/tests/cassettes/TestAccDatadogMonitor_TrimWhitespace.freeze @@ -1 +1 @@ -2020-12-31T15:44:37.58812+01:00 \ No newline at end of file +2021-05-24T13:30:23.465571-04:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogMonitor_Updated.freeze b/datadog/tests/cassettes/TestAccDatadogMonitor_Updated.freeze index 2c3b9f8aa..719fccc2b 100644 --- a/datadog/tests/cassettes/TestAccDatadogMonitor_Updated.freeze +++ b/datadog/tests/cassettes/TestAccDatadogMonitor_Updated.freeze @@ -1 +1 @@ -2021-02-01T22:50:15.580497-05:00 \ No newline at end of file +2021-05-24T13:30:23.462597-04:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogMonitor_UpdatedToRemoveTags.freeze b/datadog/tests/cassettes/TestAccDatadogMonitor_UpdatedToRemoveTags.freeze index 83c94a2fc..fde9176a8 100644 --- a/datadog/tests/cassettes/TestAccDatadogMonitor_UpdatedToRemoveTags.freeze +++ b/datadog/tests/cassettes/TestAccDatadogMonitor_UpdatedToRemoveTags.freeze @@ -1 +1 @@ -2021-02-01T22:50:15.582315-05:00 \ No newline at end of file +2021-05-24T13:30:23.461873-04:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogMonitor_ZeroDelay.freeze b/datadog/tests/cassettes/TestAccDatadogMonitor_ZeroDelay.freeze index 73b971566..70d52206a 100644 --- a/datadog/tests/cassettes/TestAccDatadogMonitor_ZeroDelay.freeze +++ b/datadog/tests/cassettes/TestAccDatadogMonitor_ZeroDelay.freeze @@ -1 +1 @@ -2020-12-31T15:44:37.601678+01:00 \ No newline at end of file +2021-05-24T13:30:23.451556-04:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogMonitorsDatasource.freeze b/datadog/tests/cassettes/TestAccDatadogMonitorsDatasource.freeze index d65a169ba..2e590d0b6 100644 --- a/datadog/tests/cassettes/TestAccDatadogMonitorsDatasource.freeze +++ b/datadog/tests/cassettes/TestAccDatadogMonitorsDatasource.freeze @@ -1 +1 @@ -2021-04-29T12:20:30.636712+02:00 \ No newline at end of file +2021-05-24T13:30:23.611949-04:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogPermissionsDatasource.freeze b/datadog/tests/cassettes/TestAccDatadogPermissionsDatasource.freeze index cd23eb674..a4f2e8daf 100644 --- a/datadog/tests/cassettes/TestAccDatadogPermissionsDatasource.freeze +++ b/datadog/tests/cassettes/TestAccDatadogPermissionsDatasource.freeze @@ -1 +1 @@ -2020-12-31T15:41:45.463768+01:00 \ No newline at end of file +2021-05-24T13:30:23.602851-04:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogRoleDatasource.freeze b/datadog/tests/cassettes/TestAccDatadogRoleDatasource.freeze index f33239ad0..fadaaa825 100644 --- a/datadog/tests/cassettes/TestAccDatadogRoleDatasource.freeze +++ b/datadog/tests/cassettes/TestAccDatadogRoleDatasource.freeze @@ -1 +1 @@ -2021-02-15T14:21:57.89198+01:00 \ No newline at end of file +2021-05-24T13:30:23.599059-04:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogRoleDatasourceError.freeze b/datadog/tests/cassettes/TestAccDatadogRoleDatasourceError.freeze index 07065b2c6..75a548c26 100644 --- a/datadog/tests/cassettes/TestAccDatadogRoleDatasourceError.freeze +++ b/datadog/tests/cassettes/TestAccDatadogRoleDatasourceError.freeze @@ -1 +1 @@ -2021-02-15T14:21:57.896103+01:00 \ No newline at end of file +2021-05-24T13:30:23.597488-04:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogRoleDatasourceExactMatch.freeze b/datadog/tests/cassettes/TestAccDatadogRoleDatasourceExactMatch.freeze index 15902d484..fb1742b41 100644 --- a/datadog/tests/cassettes/TestAccDatadogRoleDatasourceExactMatch.freeze +++ b/datadog/tests/cassettes/TestAccDatadogRoleDatasourceExactMatch.freeze @@ -1 +1 @@ -2021-02-15T14:21:57.89368+01:00 \ No newline at end of file +2021-05-24T13:30:23.602193-04:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogRole_CreateUpdate.freeze b/datadog/tests/cassettes/TestAccDatadogRole_CreateUpdate.freeze index 59d937a4b..1f0db51a1 100644 --- a/datadog/tests/cassettes/TestAccDatadogRole_CreateUpdate.freeze +++ b/datadog/tests/cassettes/TestAccDatadogRole_CreateUpdate.freeze @@ -1 +1 @@ -2021-02-15T14:21:57.897898+01:00 \ No newline at end of file +2021-05-24T13:30:23.444638-04:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogRole_InvalidPerm.freeze b/datadog/tests/cassettes/TestAccDatadogRole_InvalidPerm.freeze index 9953ed8d1..ef26f548a 100644 --- a/datadog/tests/cassettes/TestAccDatadogRole_InvalidPerm.freeze +++ b/datadog/tests/cassettes/TestAccDatadogRole_InvalidPerm.freeze @@ -1 +1 @@ -2021-02-15T14:21:57.899612+01:00 \ No newline at end of file +2021-05-24T13:30:23.689161-04:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogScreenboard_update.freeze b/datadog/tests/cassettes/TestAccDatadogScreenboard_update.freeze index f5903581e..b1fea1322 100644 --- a/datadog/tests/cassettes/TestAccDatadogScreenboard_update.freeze +++ b/datadog/tests/cassettes/TestAccDatadogScreenboard_update.freeze @@ -1 +1 @@ -2020-12-31T15:44:37.613176+01:00 \ No newline at end of file +2021-05-24T13:30:23.680748-04:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogSecurityMonitoringDefaultRule_Basic.freeze b/datadog/tests/cassettes/TestAccDatadogSecurityMonitoringDefaultRule_Basic.freeze index 6e9959127..f08f6e7af 100644 --- a/datadog/tests/cassettes/TestAccDatadogSecurityMonitoringDefaultRule_Basic.freeze +++ b/datadog/tests/cassettes/TestAccDatadogSecurityMonitoringDefaultRule_Basic.freeze @@ -1 +1 @@ -2021-03-04T15:17:53.797072+01:00 \ No newline at end of file +2021-05-24T13:30:23.684861-04:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogSecurityMonitoringRuleDatasource.freeze b/datadog/tests/cassettes/TestAccDatadogSecurityMonitoringRuleDatasource.freeze index 6643238f5..8f78de87b 100644 --- a/datadog/tests/cassettes/TestAccDatadogSecurityMonitoringRuleDatasource.freeze +++ b/datadog/tests/cassettes/TestAccDatadogSecurityMonitoringRuleDatasource.freeze @@ -1 +1 @@ -2021-01-22T17:06:40.551462-05:00 \ No newline at end of file +2021-05-24T13:30:23.596175-04:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogSecurityMonitoringRule_Basic.freeze b/datadog/tests/cassettes/TestAccDatadogSecurityMonitoringRule_Basic.freeze index b52ddb00f..984ce7ae4 100644 --- a/datadog/tests/cassettes/TestAccDatadogSecurityMonitoringRule_Basic.freeze +++ b/datadog/tests/cassettes/TestAccDatadogSecurityMonitoringRule_Basic.freeze @@ -1 +1 @@ -2021-01-22T17:06:52.177162-05:00 \ No newline at end of file +2021-05-24T13:30:23.675297-04:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogSecurityMonitoringRule_Import.freeze b/datadog/tests/cassettes/TestAccDatadogSecurityMonitoringRule_Import.freeze index bcce8224d..de4e3f044 100644 --- a/datadog/tests/cassettes/TestAccDatadogSecurityMonitoringRule_Import.freeze +++ b/datadog/tests/cassettes/TestAccDatadogSecurityMonitoringRule_Import.freeze @@ -1 +1 @@ -2021-01-22T17:06:52.17986-05:00 \ No newline at end of file +2021-05-24T13:30:23.676656-04:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogSecurityMonitoringRule_OnlyRequiredFields.freeze b/datadog/tests/cassettes/TestAccDatadogSecurityMonitoringRule_OnlyRequiredFields.freeze index 7ec03b8a5..984ce7ae4 100644 --- a/datadog/tests/cassettes/TestAccDatadogSecurityMonitoringRule_OnlyRequiredFields.freeze +++ b/datadog/tests/cassettes/TestAccDatadogSecurityMonitoringRule_OnlyRequiredFields.freeze @@ -1 +1 @@ -2021-01-22T17:06:52.178581-05:00 \ No newline at end of file +2021-05-24T13:30:23.675297-04:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogServiceLevelObjectiveDatasource.freeze b/datadog/tests/cassettes/TestAccDatadogServiceLevelObjectiveDatasource.freeze index a80397e82..9e1a7fc50 100644 --- a/datadog/tests/cassettes/TestAccDatadogServiceLevelObjectiveDatasource.freeze +++ b/datadog/tests/cassettes/TestAccDatadogServiceLevelObjectiveDatasource.freeze @@ -1 +1 @@ -2021-04-30T14:29:18.144871+02:00 \ No newline at end of file +2021-05-24T13:30:23.604673-04:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogServiceLevelObjective_Basic.freeze b/datadog/tests/cassettes/TestAccDatadogServiceLevelObjective_Basic.freeze index 1668812b8..9ab05bd2a 100644 --- a/datadog/tests/cassettes/TestAccDatadogServiceLevelObjective_Basic.freeze +++ b/datadog/tests/cassettes/TestAccDatadogServiceLevelObjective_Basic.freeze @@ -1 +1 @@ -2021-04-15T11:38:12.27234-04:00 \ No newline at end of file +2021-05-24T13:30:23.657719-04:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogServiceLevelObjective_InvalidMonitor.freeze b/datadog/tests/cassettes/TestAccDatadogServiceLevelObjective_InvalidMonitor.freeze index 27eb65ca4..1ef3236bc 100644 --- a/datadog/tests/cassettes/TestAccDatadogServiceLevelObjective_InvalidMonitor.freeze +++ b/datadog/tests/cassettes/TestAccDatadogServiceLevelObjective_InvalidMonitor.freeze @@ -1 +1 @@ -2021-04-15T11:38:12.272342-04:00 \ No newline at end of file +2021-05-24T13:30:23.663465-04:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogServiceLevelObjectivesDatasource.freeze b/datadog/tests/cassettes/TestAccDatadogServiceLevelObjectivesDatasource.freeze index 132e2a5fc..071153fcb 100644 --- a/datadog/tests/cassettes/TestAccDatadogServiceLevelObjectivesDatasource.freeze +++ b/datadog/tests/cassettes/TestAccDatadogServiceLevelObjectivesDatasource.freeze @@ -1 +1 @@ -2021-05-17T10:47:31.90025-04:00 \ No newline at end of file +2021-05-24T13:30:23.593231-04:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogSloCorrection_Basic.freeze b/datadog/tests/cassettes/TestAccDatadogSloCorrection_Basic.freeze index ee33be748..b230712d5 100644 --- a/datadog/tests/cassettes/TestAccDatadogSloCorrection_Basic.freeze +++ b/datadog/tests/cassettes/TestAccDatadogSloCorrection_Basic.freeze @@ -1 +1 @@ -2021-04-15T11:38:24.036199-04:00 \ No newline at end of file +2021-05-24T13:30:23.6631-04:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogSloCorrection_Updated.freeze b/datadog/tests/cassettes/TestAccDatadogSloCorrection_Updated.freeze index 547103e59..8dce1cedc 100644 --- a/datadog/tests/cassettes/TestAccDatadogSloCorrection_Updated.freeze +++ b/datadog/tests/cassettes/TestAccDatadogSloCorrection_Updated.freeze @@ -1 +1 @@ -2021-04-15T11:38:24.036186-04:00 \ No newline at end of file +2021-05-24T13:30:23.661305-04:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogSyntheticsAPITest_Basic.freeze b/datadog/tests/cassettes/TestAccDatadogSyntheticsAPITest_Basic.freeze index 879f983fd..66b78434b 100644 --- a/datadog/tests/cassettes/TestAccDatadogSyntheticsAPITest_Basic.freeze +++ b/datadog/tests/cassettes/TestAccDatadogSyntheticsAPITest_Basic.freeze @@ -1 +1 @@ -2021-03-31T15:11:25.332564+02:00 \ No newline at end of file +2021-05-24T13:30:23.689594-04:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogSyntheticsAPITest_BasicDeprecated.freeze b/datadog/tests/cassettes/TestAccDatadogSyntheticsAPITest_BasicDeprecated.freeze index 66925156e..b4fb74264 100644 --- a/datadog/tests/cassettes/TestAccDatadogSyntheticsAPITest_BasicDeprecated.freeze +++ b/datadog/tests/cassettes/TestAccDatadogSyntheticsAPITest_BasicDeprecated.freeze @@ -1 +1 @@ -2021-03-31T15:11:32.566446+02:00 \ No newline at end of file +2021-05-24T13:30:23.619271-04:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogSyntheticsAPITest_BasicNewAssertionsOptions.freeze b/datadog/tests/cassettes/TestAccDatadogSyntheticsAPITest_BasicNewAssertionsOptions.freeze index 500c199ff..cf294be80 100644 --- a/datadog/tests/cassettes/TestAccDatadogSyntheticsAPITest_BasicNewAssertionsOptions.freeze +++ b/datadog/tests/cassettes/TestAccDatadogSyntheticsAPITest_BasicNewAssertionsOptions.freeze @@ -1 +1 @@ -2021-03-31T15:11:38.390471+02:00 \ No newline at end of file +2021-05-24T13:30:23.684448-04:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogSyntheticsAPITest_Updated.freeze b/datadog/tests/cassettes/TestAccDatadogSyntheticsAPITest_Updated.freeze index 2dc3e30d4..5fdfbc16a 100644 --- a/datadog/tests/cassettes/TestAccDatadogSyntheticsAPITest_Updated.freeze +++ b/datadog/tests/cassettes/TestAccDatadogSyntheticsAPITest_Updated.freeze @@ -1 +1 @@ -2021-03-31T15:11:44.280001+02:00 \ No newline at end of file +2021-05-24T13:30:23.686571-04:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogSyntheticsAPITest_UpdatedDeprecated.freeze b/datadog/tests/cassettes/TestAccDatadogSyntheticsAPITest_UpdatedDeprecated.freeze index b34a6c202..d19cc64da 100644 --- a/datadog/tests/cassettes/TestAccDatadogSyntheticsAPITest_UpdatedDeprecated.freeze +++ b/datadog/tests/cassettes/TestAccDatadogSyntheticsAPITest_UpdatedDeprecated.freeze @@ -1 +1 @@ -2021-03-31T15:11:52.660906+02:00 \ No newline at end of file +2021-05-24T13:30:23.68682-04:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogSyntheticsAPITest_UpdatedNewAssertionsOptions.freeze b/datadog/tests/cassettes/TestAccDatadogSyntheticsAPITest_UpdatedNewAssertionsOptions.freeze index 279a536ac..e7b3d6072 100644 --- a/datadog/tests/cassettes/TestAccDatadogSyntheticsAPITest_UpdatedNewAssertionsOptions.freeze +++ b/datadog/tests/cassettes/TestAccDatadogSyntheticsAPITest_UpdatedNewAssertionsOptions.freeze @@ -1 +1 @@ -2021-03-31T15:12:00.468347+02:00 \ No newline at end of file +2021-05-24T13:30:23.680114-04:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogSyntheticsAPITest_importBasic.freeze b/datadog/tests/cassettes/TestAccDatadogSyntheticsAPITest_importBasic.freeze index 49c359bcd..dbd5e15da 100644 --- a/datadog/tests/cassettes/TestAccDatadogSyntheticsAPITest_importBasic.freeze +++ b/datadog/tests/cassettes/TestAccDatadogSyntheticsAPITest_importBasic.freeze @@ -1 +1 @@ -2021-03-31T15:12:07.773378+02:00 \ No newline at end of file +2021-05-24T13:30:23.624985-04:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogSyntheticsBrowserTestBrowserNewBrowserStep_Basic.freeze b/datadog/tests/cassettes/TestAccDatadogSyntheticsBrowserTestBrowserNewBrowserStep_Basic.freeze index 8682e0b7b..af5213908 100644 --- a/datadog/tests/cassettes/TestAccDatadogSyntheticsBrowserTestBrowserNewBrowserStep_Basic.freeze +++ b/datadog/tests/cassettes/TestAccDatadogSyntheticsBrowserTestBrowserNewBrowserStep_Basic.freeze @@ -1 +1 @@ -2021-04-08T11:52:28.223822+02:00 \ No newline at end of file +2021-05-24T13:30:23.656767-04:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogSyntheticsBrowserTestBrowserVariables_Basic.freeze b/datadog/tests/cassettes/TestAccDatadogSyntheticsBrowserTestBrowserVariables_Basic.freeze index b9dce3404..1a3d87443 100644 --- a/datadog/tests/cassettes/TestAccDatadogSyntheticsBrowserTestBrowserVariables_Basic.freeze +++ b/datadog/tests/cassettes/TestAccDatadogSyntheticsBrowserTestBrowserVariables_Basic.freeze @@ -1 +1 @@ -2021-03-31T15:12:24.121473+02:00 \ No newline at end of file +2021-05-24T13:30:23.65509-04:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogSyntheticsBrowserTest_Basic.freeze b/datadog/tests/cassettes/TestAccDatadogSyntheticsBrowserTest_Basic.freeze index ca67b28ae..37693b68e 100644 --- a/datadog/tests/cassettes/TestAccDatadogSyntheticsBrowserTest_Basic.freeze +++ b/datadog/tests/cassettes/TestAccDatadogSyntheticsBrowserTest_Basic.freeze @@ -1 +1 @@ -2021-04-30T11:05:29.087788+02:00 \ No newline at end of file +2021-05-24T13:30:23.634113-04:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogSyntheticsBrowserTest_Updated.freeze b/datadog/tests/cassettes/TestAccDatadogSyntheticsBrowserTest_Updated.freeze index 4d7bca4c7..ec04341ec 100644 --- a/datadog/tests/cassettes/TestAccDatadogSyntheticsBrowserTest_Updated.freeze +++ b/datadog/tests/cassettes/TestAccDatadogSyntheticsBrowserTest_Updated.freeze @@ -1 +1 @@ -2021-04-30T11:58:59.573995+02:00 \ No newline at end of file +2021-05-24T13:30:23.655622-04:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogSyntheticsBrowserTest_importBasic.freeze b/datadog/tests/cassettes/TestAccDatadogSyntheticsBrowserTest_importBasic.freeze index 9d6feb5ef..9d7c2ef84 100644 --- a/datadog/tests/cassettes/TestAccDatadogSyntheticsBrowserTest_importBasic.freeze +++ b/datadog/tests/cassettes/TestAccDatadogSyntheticsBrowserTest_importBasic.freeze @@ -1 +1 @@ -2021-04-30T11:59:17.993561+02:00 \ No newline at end of file +2021-05-24T13:30:23.620852-04:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogSyntheticsDNSTest_Basic.freeze b/datadog/tests/cassettes/TestAccDatadogSyntheticsDNSTest_Basic.freeze index eb26b0f87..fecf55e3e 100644 --- a/datadog/tests/cassettes/TestAccDatadogSyntheticsDNSTest_Basic.freeze +++ b/datadog/tests/cassettes/TestAccDatadogSyntheticsDNSTest_Basic.freeze @@ -1 +1 @@ -2021-04-30T11:46:48.05605+02:00 \ No newline at end of file +2021-05-24T13:30:23.67035-04:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogSyntheticsDNSTest_Updated.freeze b/datadog/tests/cassettes/TestAccDatadogSyntheticsDNSTest_Updated.freeze index 2243ba611..c4243ac42 100644 --- a/datadog/tests/cassettes/TestAccDatadogSyntheticsDNSTest_Updated.freeze +++ b/datadog/tests/cassettes/TestAccDatadogSyntheticsDNSTest_Updated.freeze @@ -1 +1 @@ -2021-04-30T11:58:24.541778+02:00 \ No newline at end of file +2021-05-24T13:30:23.669149-04:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogSyntheticsDNSTest_importBasic.freeze b/datadog/tests/cassettes/TestAccDatadogSyntheticsDNSTest_importBasic.freeze index 111088e6d..cef14e34a 100644 --- a/datadog/tests/cassettes/TestAccDatadogSyntheticsDNSTest_importBasic.freeze +++ b/datadog/tests/cassettes/TestAccDatadogSyntheticsDNSTest_importBasic.freeze @@ -1 +1 @@ -2021-04-30T11:58:51.485532+02:00 \ No newline at end of file +2021-05-24T13:30:23.619872-04:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogSyntheticsGlobalVariableFromTest_Basic.freeze b/datadog/tests/cassettes/TestAccDatadogSyntheticsGlobalVariableFromTest_Basic.freeze index e0a0be427..d78f4e1f1 100644 --- a/datadog/tests/cassettes/TestAccDatadogSyntheticsGlobalVariableFromTest_Basic.freeze +++ b/datadog/tests/cassettes/TestAccDatadogSyntheticsGlobalVariableFromTest_Basic.freeze @@ -1 +1 @@ -2021-03-31T15:13:12.802537+02:00 \ No newline at end of file +2021-05-24T13:30:23.635284-04:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogSyntheticsGlobalVariableSecure_Basic.freeze b/datadog/tests/cassettes/TestAccDatadogSyntheticsGlobalVariableSecure_Basic.freeze index a4ef2277b..8b8fe2060 100644 --- a/datadog/tests/cassettes/TestAccDatadogSyntheticsGlobalVariableSecure_Basic.freeze +++ b/datadog/tests/cassettes/TestAccDatadogSyntheticsGlobalVariableSecure_Basic.freeze @@ -1 +1 @@ -2021-03-31T15:13:21.203013+02:00 \ No newline at end of file +2021-05-24T13:30:23.614711-04:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogSyntheticsGlobalVariableSecure_Updated.freeze b/datadog/tests/cassettes/TestAccDatadogSyntheticsGlobalVariableSecure_Updated.freeze index 4887a3446..5e60ded24 100644 --- a/datadog/tests/cassettes/TestAccDatadogSyntheticsGlobalVariableSecure_Updated.freeze +++ b/datadog/tests/cassettes/TestAccDatadogSyntheticsGlobalVariableSecure_Updated.freeze @@ -1 +1 @@ -2021-05-17T14:05:35.08015-04:00 \ No newline at end of file +2021-05-24T13:30:23.633633-04:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogSyntheticsGlobalVariable_Basic.freeze b/datadog/tests/cassettes/TestAccDatadogSyntheticsGlobalVariable_Basic.freeze index c77101186..d746d7cbb 100644 --- a/datadog/tests/cassettes/TestAccDatadogSyntheticsGlobalVariable_Basic.freeze +++ b/datadog/tests/cassettes/TestAccDatadogSyntheticsGlobalVariable_Basic.freeze @@ -1 +1 @@ -2021-03-31T15:13:31.620246+02:00 \ No newline at end of file +2021-05-24T13:30:23.658971-04:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogSyntheticsGlobalVariable_Updated.freeze b/datadog/tests/cassettes/TestAccDatadogSyntheticsGlobalVariable_Updated.freeze index 062ca1f10..8ceca1e31 100644 --- a/datadog/tests/cassettes/TestAccDatadogSyntheticsGlobalVariable_Updated.freeze +++ b/datadog/tests/cassettes/TestAccDatadogSyntheticsGlobalVariable_Updated.freeze @@ -1 +1 @@ -2021-03-31T15:13:36.571469+02:00 \ No newline at end of file +2021-05-24T13:30:23.634501-04:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogSyntheticsGlobalVariable_importBasic.freeze b/datadog/tests/cassettes/TestAccDatadogSyntheticsGlobalVariable_importBasic.freeze index da86dec8b..7daed6808 100644 --- a/datadog/tests/cassettes/TestAccDatadogSyntheticsGlobalVariable_importBasic.freeze +++ b/datadog/tests/cassettes/TestAccDatadogSyntheticsGlobalVariable_importBasic.freeze @@ -1 +1 @@ -2021-03-31T15:13:41.941383+02:00 \ No newline at end of file +2021-05-24T13:30:23.663238-04:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogSyntheticsICMPTest_Basic.freeze b/datadog/tests/cassettes/TestAccDatadogSyntheticsICMPTest_Basic.freeze index d0bf8e675..878f611e9 100644 --- a/datadog/tests/cassettes/TestAccDatadogSyntheticsICMPTest_Basic.freeze +++ b/datadog/tests/cassettes/TestAccDatadogSyntheticsICMPTest_Basic.freeze @@ -1 +1 @@ -2021-04-28T08:51:10.526148+02:00 \ No newline at end of file +2021-05-24T13:30:23.669353-04:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogSyntheticsPrivateLocation_Basic.freeze b/datadog/tests/cassettes/TestAccDatadogSyntheticsPrivateLocation_Basic.freeze index 51405b3e5..e6ad49e89 100644 --- a/datadog/tests/cassettes/TestAccDatadogSyntheticsPrivateLocation_Basic.freeze +++ b/datadog/tests/cassettes/TestAccDatadogSyntheticsPrivateLocation_Basic.freeze @@ -1 +1 @@ -2021-03-31T15:13:46.541081+02:00 \ No newline at end of file +2021-05-24T13:30:23.625285-04:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogSyntheticsPrivateLocation_Updated.freeze b/datadog/tests/cassettes/TestAccDatadogSyntheticsPrivateLocation_Updated.freeze index 1179e2a75..26e9172db 100644 --- a/datadog/tests/cassettes/TestAccDatadogSyntheticsPrivateLocation_Updated.freeze +++ b/datadog/tests/cassettes/TestAccDatadogSyntheticsPrivateLocation_Updated.freeze @@ -1 +1 @@ -2021-03-31T15:13:51.922153+02:00 \ No newline at end of file +2021-05-24T13:30:23.625891-04:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogSyntheticsPrivateLocation_importBasic.freeze b/datadog/tests/cassettes/TestAccDatadogSyntheticsPrivateLocation_importBasic.freeze index f493b5feb..05699e5f5 100644 --- a/datadog/tests/cassettes/TestAccDatadogSyntheticsPrivateLocation_importBasic.freeze +++ b/datadog/tests/cassettes/TestAccDatadogSyntheticsPrivateLocation_importBasic.freeze @@ -1 +1 @@ -2021-03-31T15:13:58.727241+02:00 \ No newline at end of file +2021-05-24T13:30:23.629552-04:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogSyntheticsSSLMissingTagsAttributeTest_Basic.freeze b/datadog/tests/cassettes/TestAccDatadogSyntheticsSSLMissingTagsAttributeTest_Basic.freeze index 643dd8092..9a91c9081 100644 --- a/datadog/tests/cassettes/TestAccDatadogSyntheticsSSLMissingTagsAttributeTest_Basic.freeze +++ b/datadog/tests/cassettes/TestAccDatadogSyntheticsSSLMissingTagsAttributeTest_Basic.freeze @@ -1 +1 @@ -2021-03-31T15:14:06.683428+02:00 \ No newline at end of file +2021-05-24T13:30:23.663947-04:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogSyntheticsSSLTest_Basic.freeze b/datadog/tests/cassettes/TestAccDatadogSyntheticsSSLTest_Basic.freeze index 861e2293a..6825abeb6 100644 --- a/datadog/tests/cassettes/TestAccDatadogSyntheticsSSLTest_Basic.freeze +++ b/datadog/tests/cassettes/TestAccDatadogSyntheticsSSLTest_Basic.freeze @@ -1 +1 @@ -2021-03-31T15:14:13.047336+02:00 \ No newline at end of file +2021-05-24T13:30:23.680632-04:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogSyntheticsSSLTest_Updated.freeze b/datadog/tests/cassettes/TestAccDatadogSyntheticsSSLTest_Updated.freeze index ac5006c9d..fa8ded2cf 100644 --- a/datadog/tests/cassettes/TestAccDatadogSyntheticsSSLTest_Updated.freeze +++ b/datadog/tests/cassettes/TestAccDatadogSyntheticsSSLTest_Updated.freeze @@ -1 +1 @@ -2021-03-31T15:14:18.595639+02:00 \ No newline at end of file +2021-05-24T13:30:23.683108-04:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogSyntheticsSSLTest_importBasic.freeze b/datadog/tests/cassettes/TestAccDatadogSyntheticsSSLTest_importBasic.freeze index 8f7dd1675..5218538cc 100644 --- a/datadog/tests/cassettes/TestAccDatadogSyntheticsSSLTest_importBasic.freeze +++ b/datadog/tests/cassettes/TestAccDatadogSyntheticsSSLTest_importBasic.freeze @@ -1 +1 @@ -2021-03-31T15:14:28.090343+02:00 \ No newline at end of file +2021-05-24T13:30:23.625354-04:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogSyntheticsTCPTest_Basic.freeze b/datadog/tests/cassettes/TestAccDatadogSyntheticsTCPTest_Basic.freeze index 47b9ade1d..c993397ac 100644 --- a/datadog/tests/cassettes/TestAccDatadogSyntheticsTCPTest_Basic.freeze +++ b/datadog/tests/cassettes/TestAccDatadogSyntheticsTCPTest_Basic.freeze @@ -1 +1 @@ -2021-03-31T15:14:35.244242+02:00 \ No newline at end of file +2021-05-24T13:30:23.672531-04:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogSyntheticsTCPTest_Updated.freeze b/datadog/tests/cassettes/TestAccDatadogSyntheticsTCPTest_Updated.freeze index 22bbf39e7..4ef962f22 100644 --- a/datadog/tests/cassettes/TestAccDatadogSyntheticsTCPTest_Updated.freeze +++ b/datadog/tests/cassettes/TestAccDatadogSyntheticsTCPTest_Updated.freeze @@ -1 +1 @@ -2021-03-31T15:14:40.961224+02:00 \ No newline at end of file +2021-05-24T13:30:23.669249-04:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogSyntheticsTCPTest_importBasic.freeze b/datadog/tests/cassettes/TestAccDatadogSyntheticsTCPTest_importBasic.freeze index 57e12e135..7aa171b30 100644 --- a/datadog/tests/cassettes/TestAccDatadogSyntheticsTCPTest_importBasic.freeze +++ b/datadog/tests/cassettes/TestAccDatadogSyntheticsTCPTest_importBasic.freeze @@ -1 +1 @@ -2021-03-31T15:14:48.939141+02:00 \ No newline at end of file +2021-05-24T13:30:23.622298-04:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogSyntheticsTestBrowserMML_Basic.freeze b/datadog/tests/cassettes/TestAccDatadogSyntheticsTestBrowserMML_Basic.freeze index 730860f87..a64d97222 100644 --- a/datadog/tests/cassettes/TestAccDatadogSyntheticsTestBrowserMML_Basic.freeze +++ b/datadog/tests/cassettes/TestAccDatadogSyntheticsTestBrowserMML_Basic.freeze @@ -1 +1 @@ -2021-04-02T11:59:44.77686+02:00 \ No newline at end of file +2021-05-24T13:30:23.645922-04:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogSyntheticsTestMultistepApi_Basic.freeze b/datadog/tests/cassettes/TestAccDatadogSyntheticsTestMultistepApi_Basic.freeze index 2f6f8c92e..c174e6555 100644 --- a/datadog/tests/cassettes/TestAccDatadogSyntheticsTestMultistepApi_Basic.freeze +++ b/datadog/tests/cassettes/TestAccDatadogSyntheticsTestMultistepApi_Basic.freeze @@ -1 +1 @@ -2021-04-30T11:57:49.509326+02:00 \ No newline at end of file +2021-05-24T13:30:23.649018-04:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogTimeboard_update.freeze b/datadog/tests/cassettes/TestAccDatadogTimeboard_update.freeze index 8eb856790..41ac4cb3c 100644 --- a/datadog/tests/cassettes/TestAccDatadogTimeboard_update.freeze +++ b/datadog/tests/cassettes/TestAccDatadogTimeboard_update.freeze @@ -1 +1 @@ -2020-12-31T15:44:37.719751+01:00 \ No newline at end of file +2021-05-24T13:30:23.653217-04:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogUser_Existing.freeze b/datadog/tests/cassettes/TestAccDatadogUser_Existing.freeze index 624106099..fd52ee784 100644 --- a/datadog/tests/cassettes/TestAccDatadogUser_Existing.freeze +++ b/datadog/tests/cassettes/TestAccDatadogUser_Existing.freeze @@ -1 +1 @@ -2021-02-16T10:56:59.630091+01:00 \ No newline at end of file +2021-05-24T13:30:23.649317-04:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogUser_Invitation.freeze b/datadog/tests/cassettes/TestAccDatadogUser_Invitation.freeze index 0cab3b469..a2c19519b 100644 --- a/datadog/tests/cassettes/TestAccDatadogUser_Invitation.freeze +++ b/datadog/tests/cassettes/TestAccDatadogUser_Invitation.freeze @@ -1 +1 @@ -2021-02-16T10:56:59.625752+01:00 \ No newline at end of file +2021-05-24T13:30:23.64287-04:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogUser_NoInvitation.freeze b/datadog/tests/cassettes/TestAccDatadogUser_NoInvitation.freeze index 3974c81e0..3b423aa30 100644 --- a/datadog/tests/cassettes/TestAccDatadogUser_NoInvitation.freeze +++ b/datadog/tests/cassettes/TestAccDatadogUser_NoInvitation.freeze @@ -1 +1 @@ -2021-02-16T10:56:59.628383+01:00 \ No newline at end of file +2021-05-24T13:30:23.642031-04:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogUser_RoleDatasource.freeze b/datadog/tests/cassettes/TestAccDatadogUser_RoleDatasource.freeze index 35d767b15..4ac2bc8e1 100644 --- a/datadog/tests/cassettes/TestAccDatadogUser_RoleDatasource.freeze +++ b/datadog/tests/cassettes/TestAccDatadogUser_RoleDatasource.freeze @@ -1 +1 @@ -2021-02-16T10:56:59.631949+01:00 \ No newline at end of file +2021-05-24T13:30:23.637262-04:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogUser_UpdateRole.freeze b/datadog/tests/cassettes/TestAccDatadogUser_UpdateRole.freeze index 1c32a74d8..c4f546ee1 100644 --- a/datadog/tests/cassettes/TestAccDatadogUser_UpdateRole.freeze +++ b/datadog/tests/cassettes/TestAccDatadogUser_UpdateRole.freeze @@ -1 +1 @@ -2021-02-16T10:56:59.634428+01:00 \ No newline at end of file +2021-05-24T13:30:23.635648-04:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogUser_Updated.freeze b/datadog/tests/cassettes/TestAccDatadogUser_Updated.freeze index d286fd30b..1914bc1bb 100644 --- a/datadog/tests/cassettes/TestAccDatadogUser_Updated.freeze +++ b/datadog/tests/cassettes/TestAccDatadogUser_Updated.freeze @@ -1 +1 @@ -2021-02-16T10:56:59.624166+01:00 \ No newline at end of file +2021-05-24T13:30:23.641533-04:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatatogSyntheticsLocation_existing.freeze b/datadog/tests/cassettes/TestAccDatatogSyntheticsLocation_existing.freeze index 2ca5290d1..6811a3597 100644 --- a/datadog/tests/cassettes/TestAccDatatogSyntheticsLocation_existing.freeze +++ b/datadog/tests/cassettes/TestAccDatatogSyntheticsLocation_existing.freeze @@ -1 +1 @@ -2021-03-31T13:21:32.834711+02:00 \ No newline at end of file +2021-05-24T13:30:23.589537-04:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccLogsCustomPipeline_importBasic.freeze b/datadog/tests/cassettes/TestAccLogsCustomPipeline_importBasic.freeze index 62ab4bf5a..60cf3aee8 100644 --- a/datadog/tests/cassettes/TestAccLogsCustomPipeline_importBasic.freeze +++ b/datadog/tests/cassettes/TestAccLogsCustomPipeline_importBasic.freeze @@ -1 +1 @@ -2021-02-11T18:53:32.609954+01:00 \ No newline at end of file +2021-05-24T13:30:23.588972-04:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestDatadogDashListImport.freeze b/datadog/tests/cassettes/TestDatadogDashListImport.freeze index a7d3318d5..6812f1510 100644 --- a/datadog/tests/cassettes/TestDatadogDashListImport.freeze +++ b/datadog/tests/cassettes/TestDatadogDashListImport.freeze @@ -1 +1 @@ -2021-05-14T09:02:16.039788+02:00 \ No newline at end of file +2021-05-24T13:30:23.366389-04:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestDatadogDashListInDashboard.freeze b/datadog/tests/cassettes/TestDatadogDashListInDashboard.freeze index 44cafa7d5..3b748e502 100644 --- a/datadog/tests/cassettes/TestDatadogDashListInDashboard.freeze +++ b/datadog/tests/cassettes/TestDatadogDashListInDashboard.freeze @@ -1 +1 @@ -2020-12-31T15:42:08.157786+01:00 \ No newline at end of file +2021-05-24T13:30:23.367766-04:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestDatadogDowntime_import.freeze b/datadog/tests/cassettes/TestDatadogDowntime_import.freeze index 98335c30f..12b550f51 100644 --- a/datadog/tests/cassettes/TestDatadogDowntime_import.freeze +++ b/datadog/tests/cassettes/TestDatadogDowntime_import.freeze @@ -1 +1 @@ -2020-12-31T15:42:02.854961+01:00 \ No newline at end of file +2021-05-24T13:30:23.32961-04:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestDatadogIntegrationPagerduty_import.freeze b/datadog/tests/cassettes/TestDatadogIntegrationPagerduty_import.freeze index 90c555060..d36ebb6aa 100644 --- a/datadog/tests/cassettes/TestDatadogIntegrationPagerduty_import.freeze +++ b/datadog/tests/cassettes/TestDatadogIntegrationPagerduty_import.freeze @@ -1 +1 @@ -2020-12-31T15:42:04.377732+01:00 \ No newline at end of file +2021-05-24T13:30:23.331894-04:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestDatadogMonitor_import.freeze b/datadog/tests/cassettes/TestDatadogMonitor_import.freeze index 361cf077a..6eccfa7c1 100644 --- a/datadog/tests/cassettes/TestDatadogMonitor_import.freeze +++ b/datadog/tests/cassettes/TestDatadogMonitor_import.freeze @@ -1 +1 @@ -2021-03-31T13:23:09.294353+02:00 \ No newline at end of file +2021-05-24T13:30:23.589543-04:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestDatadogMonitor_importNoDataTimeFrame.freeze b/datadog/tests/cassettes/TestDatadogMonitor_importNoDataTimeFrame.freeze index 10a90fa04..9c3135937 100644 --- a/datadog/tests/cassettes/TestDatadogMonitor_importNoDataTimeFrame.freeze +++ b/datadog/tests/cassettes/TestDatadogMonitor_importNoDataTimeFrame.freeze @@ -1 +1 @@ -2021-03-31T13:23:09.29527+02:00 \ No newline at end of file +2021-05-24T13:30:23.582427-04:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestDatadogMonitor_import_no_recovery.freeze b/datadog/tests/cassettes/TestDatadogMonitor_import_no_recovery.freeze index b9cb04e4c..0a9a512e4 100644 --- a/datadog/tests/cassettes/TestDatadogMonitor_import_no_recovery.freeze +++ b/datadog/tests/cassettes/TestDatadogMonitor_import_no_recovery.freeze @@ -1 +1 @@ -2021-03-31T13:23:09.294741+02:00 \ No newline at end of file +2021-05-24T13:30:23.590149-04:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestDatadogUser_import.freeze b/datadog/tests/cassettes/TestDatadogUser_import.freeze index 46eacb720..a45d6a8ad 100644 --- a/datadog/tests/cassettes/TestDatadogUser_import.freeze +++ b/datadog/tests/cassettes/TestDatadogUser_import.freeze @@ -1 +1 @@ -2021-01-06T12:17:26.582261+01:00 \ No newline at end of file +2021-05-24T13:30:23.582211-04:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestProvider.freeze b/datadog/tests/cassettes/TestProvider.freeze index d1f4960ac..444009ca3 100644 --- a/datadog/tests/cassettes/TestProvider.freeze +++ b/datadog/tests/cassettes/TestProvider.freeze @@ -1 +1 @@ -2020-12-31T15:42:08.065993+01:00 \ No newline at end of file +2021-05-24T13:30:23.335123-04:00 \ No newline at end of file From fba61d59b5e7a241c519851a5ce035957522cc1a Mon Sep 17 00:00:00 2001 From: Qin Cheng Chen Date: Mon, 24 May 2021 13:51:35 -0400 Subject: [PATCH 13/22] revert datadog/tests/cassettes changes --- .../tests/cassettes/TestAccDatadogDashboardAlertGraph.freeze | 2 +- .../cassettes/TestAccDatadogDashboardAlertGraph_import.freeze | 2 +- .../tests/cassettes/TestAccDatadogDashboardAlertValue.freeze | 2 +- .../cassettes/TestAccDatadogDashboardAlertValue_import.freeze | 2 +- datadog/tests/cassettes/TestAccDatadogDashboardChange.freeze | 2 +- .../tests/cassettes/TestAccDatadogDashboardChange_import.freeze | 2 +- .../tests/cassettes/TestAccDatadogDashboardCheckStatus.freeze | 2 +- .../cassettes/TestAccDatadogDashboardCheckStatus_import.freeze | 2 +- .../tests/cassettes/TestAccDatadogDashboardDatasource.freeze | 2 +- .../tests/cassettes/TestAccDatadogDashboardDistribution.freeze | 2 +- .../cassettes/TestAccDatadogDashboardDistribution_import.freeze | 2 +- .../tests/cassettes/TestAccDatadogDashboardEventStream.freeze | 2 +- .../cassettes/TestAccDatadogDashboardEventStream_import.freeze | 2 +- .../tests/cassettes/TestAccDatadogDashboardEventTimeline.freeze | 2 +- .../TestAccDatadogDashboardEventTimeline_import.freeze | 2 +- datadog/tests/cassettes/TestAccDatadogDashboardFormula.freeze | 2 +- .../cassettes/TestAccDatadogDashboardFormula_import.freeze | 2 +- datadog/tests/cassettes/TestAccDatadogDashboardFreeText.freeze | 2 +- .../cassettes/TestAccDatadogDashboardFreeText_import.freeze | 2 +- datadog/tests/cassettes/TestAccDatadogDashboardGeomap.freeze | 2 +- .../tests/cassettes/TestAccDatadogDashboardGeomapFormula.freeze | 2 +- .../TestAccDatadogDashboardGeomapFormula_import.freeze | 2 +- .../tests/cassettes/TestAccDatadogDashboardGeomap_import.freeze | 2 +- datadog/tests/cassettes/TestAccDatadogDashboardHeatMap.freeze | 2 +- .../cassettes/TestAccDatadogDashboardHeatMap_import.freeze | 2 +- datadog/tests/cassettes/TestAccDatadogDashboardHostMap.freeze | 2 +- .../cassettes/TestAccDatadogDashboardHostMap_import.freeze | 2 +- datadog/tests/cassettes/TestAccDatadogDashboardIFrame.freeze | 2 +- .../tests/cassettes/TestAccDatadogDashboardIFrame_import.freeze | 2 +- datadog/tests/cassettes/TestAccDatadogDashboardImage.freeze | 2 +- .../tests/cassettes/TestAccDatadogDashboardImage_import.freeze | 2 +- .../TestAccDatadogDashboardJSONBasicScreenboard.freeze | 2 +- .../cassettes/TestAccDatadogDashboardJSONBasicTimeboard.freeze | 2 +- .../tests/cassettes/TestAccDatadogDashboardJSONImport.freeze | 2 +- .../cassettes/TestAccDatadogDashboardLayoutForceNew.freeze | 2 +- .../cassettes/TestAccDatadogDashboardListDatasource.freeze | 2 +- datadog/tests/cassettes/TestAccDatadogDashboardLogStream.freeze | 2 +- .../cassettes/TestAccDatadogDashboardLogStreamLogSet.freeze | 2 +- .../TestAccDatadogDashboardLogStreamLogSet_import.freeze | 2 +- .../cassettes/TestAccDatadogDashboardLogStream_import.freeze | 2 +- .../tests/cassettes/TestAccDatadogDashboardManageStatus.freeze | 2 +- .../cassettes/TestAccDatadogDashboardManageStatus_import.freeze | 2 +- datadog/tests/cassettes/TestAccDatadogDashboardNote.freeze | 2 +- .../cassettes/TestAccDatadogDashboardNoteContentError.freeze | 2 +- .../tests/cassettes/TestAccDatadogDashboardNote_import.freeze | 2 +- .../tests/cassettes/TestAccDatadogDashboardQueryTable.freeze | 2 +- .../cassettes/TestAccDatadogDashboardQueryTable_import.freeze | 2 +- .../tests/cassettes/TestAccDatadogDashboardQueryValue.freeze | 2 +- .../cassettes/TestAccDatadogDashboardQueryValueFormula.freeze | 2 +- .../TestAccDatadogDashboardQueryValueFormula_import.freeze | 2 +- .../cassettes/TestAccDatadogDashboardQueryValue_import.freeze | 2 +- datadog/tests/cassettes/TestAccDatadogDashboardSLO.freeze | 2 +- .../tests/cassettes/TestAccDatadogDashboardSLO_import.freeze | 2 +- .../tests/cassettes/TestAccDatadogDashboardScatterplot.freeze | 2 +- .../cassettes/TestAccDatadogDashboardScatterplot_import.freeze | 2 +- .../tests/cassettes/TestAccDatadogDashboardServiceMap.freeze | 2 +- .../cassettes/TestAccDatadogDashboardServiceMap_import.freeze | 2 +- .../tests/cassettes/TestAccDatadogDashboardTimeseries.freeze | 2 +- .../TestAccDatadogDashboardTimeseriesMultiCompute.freeze | 2 +- .../TestAccDatadogDashboardTimeseriesMultiCompute_import.freeze | 2 +- .../cassettes/TestAccDatadogDashboardTimeseries_import.freeze | 2 +- datadog/tests/cassettes/TestAccDatadogDashboardTopList.freeze | 2 +- .../cassettes/TestAccDatadogDashboardTopListFormula.freeze | 2 +- .../TestAccDatadogDashboardTopListFormula_import.freeze | 2 +- .../cassettes/TestAccDatadogDashboardTopList_import.freeze | 2 +- .../tests/cassettes/TestAccDatadogDashboardTraceService.freeze | 2 +- .../cassettes/TestAccDatadogDashboardTraceService_import.freeze | 2 +- datadog/tests/cassettes/TestAccDatadogDashboard_import.freeze | 2 +- datadog/tests/cassettes/TestAccDatadogDashboard_update.freeze | 2 +- datadog/tests/cassettes/TestAccDatadogDowntimeDates.freeze | 2 +- .../tests/cassettes/TestAccDatadogDowntimeDatesConflict.freeze | 2 +- datadog/tests/cassettes/TestAccDatadogDowntime_Basic.freeze | 2 +- .../cassettes/TestAccDatadogDowntime_BasicMultiScope.freeze | 2 +- .../cassettes/TestAccDatadogDowntime_BasicNoRecurrence.freeze | 2 +- .../TestAccDatadogDowntime_BasicUntilDateRecurrence.freeze | 2 +- ...estAccDatadogDowntime_BasicUntilOccurrencesRecurrence.freeze | 2 +- .../cassettes/TestAccDatadogDowntime_BasicWithMonitor.freeze | 2 +- .../TestAccDatadogDowntime_BasicWithMonitorTags.freeze | 2 +- datadog/tests/cassettes/TestAccDatadogDowntime_DiffStart.freeze | 2 +- datadog/tests/cassettes/TestAccDatadogDowntime_RRule.freeze | 2 +- .../cassettes/TestAccDatadogDowntime_TrimWhitespace.freeze | 2 +- datadog/tests/cassettes/TestAccDatadogDowntime_Updated.freeze | 2 +- .../cassettes/TestAccDatadogDowntime_WeekDayRecurring.freeze | 2 +- datadog/tests/cassettes/TestAccDatadogFreeDashboard.freeze | 2 +- datadog/tests/cassettes/TestAccDatadogIntegrationAWS.freeze | 2 +- .../cassettes/TestAccDatadogIntegrationAWSLambdaArn.freeze | 2 +- .../cassettes/TestAccDatadogIntegrationAWSLogCollection.freeze | 2 +- .../TestAccDatadogIntegrationAwsTagFilter_Basic.freeze | 2 +- datadog/tests/cassettes/TestAccDatadogIntegrationAzure.freeze | 2 +- datadog/tests/cassettes/TestAccDatadogIntegrationGCP.freeze | 2 +- ...TestAccDatadogIntegrationPagerdutyServiceObject_Basic.freeze | 2 +- .../cassettes/TestAccDatadogIntegrationPagerduty_Basic.freeze | 2 +- ...AccDatadogIntegrationPagerduty_Migrate2ServiceObjects.freeze | 2 +- .../TestAccDatadogIntegrationPagerduty_TwoServices.freeze | 2 +- .../TestAccDatadogIntegrationSlackChannel_Basic.freeze | 2 +- .../TestAccDatadogIntegrationSlackChannel_Import.freeze | 2 +- .../cassettes/TestAccDatadogIpRangesDatasource_existing.freeze | 2 +- .../tests/cassettes/TestAccDatadogLogsArchiveAzure_basic.freeze | 2 +- .../TestAccDatadogLogsArchiveAzure_basicDeprecated.freeze | 2 +- .../tests/cassettes/TestAccDatadogLogsArchiveGCS_basic.freeze | 2 +- .../TestAccDatadogLogsArchiveGCS_basicDeprecated.freeze | 2 +- .../tests/cassettes/TestAccDatadogLogsArchiveOrder_basic.freeze | 2 +- .../tests/cassettes/TestAccDatadogLogsArchiveOrder_empty.freeze | 2 +- .../cassettes/TestAccDatadogLogsArchiveS3Update_basic.freeze | 2 +- .../tests/cassettes/TestAccDatadogLogsArchiveS3_basic.freeze | 2 +- .../TestAccDatadogLogsArchiveS3_basicDeprecated.freeze | 2 +- datadog/tests/cassettes/TestAccDatadogLogsMetric_Basic.freeze | 2 +- datadog/tests/cassettes/TestAccDatadogLogsMetric_import.freeze | 2 +- .../cassettes/TestAccDatadogLogsPipelineEmptyFilterQuery.freeze | 2 +- datadog/tests/cassettes/TestAccDatadogLogsPipeline_basic.freeze | 2 +- .../tests/cassettes/TestAccDatadogMetricMetadata_Basic.freeze | 2 +- .../tests/cassettes/TestAccDatadogMetricMetadata_Updated.freeze | 2 +- .../cassettes/TestAccDatadogMetricTagConfiguration_Error.freeze | 2 +- datadog/tests/cassettes/TestAccDatadogMonitorDatasource.freeze | 2 +- .../cassettes/TestAccDatadogMonitorServiceCheck_Basic.freeze | 2 +- datadog/tests/cassettes/TestAccDatadogMonitor_Basic.freeze | 2 +- .../cassettes/TestAccDatadogMonitor_BasicNoTreshold.freeze | 2 +- .../cassettes/TestAccDatadogMonitor_Basic_float_int.freeze | 2 +- .../TestAccDatadogMonitor_ComposeWithSyntheticsTest.freeze | 2 +- datadog/tests/cassettes/TestAccDatadogMonitor_Log.freeze | 2 +- .../cassettes/TestAccDatadogMonitor_NoThresholdWindows.freeze | 2 +- .../cassettes/TestAccDatadogMonitor_RestrictedRoles.freeze | 2 +- .../cassettes/TestAccDatadogMonitor_SilencedUpdateNoDiff.freeze | 2 +- .../cassettes/TestAccDatadogMonitor_ThresholdWindows.freeze | 2 +- .../tests/cassettes/TestAccDatadogMonitor_TrimWhitespace.freeze | 2 +- datadog/tests/cassettes/TestAccDatadogMonitor_Updated.freeze | 2 +- .../cassettes/TestAccDatadogMonitor_UpdatedToRemoveTags.freeze | 2 +- datadog/tests/cassettes/TestAccDatadogMonitor_ZeroDelay.freeze | 2 +- datadog/tests/cassettes/TestAccDatadogMonitorsDatasource.freeze | 2 +- .../tests/cassettes/TestAccDatadogPermissionsDatasource.freeze | 2 +- datadog/tests/cassettes/TestAccDatadogRoleDatasource.freeze | 2 +- .../tests/cassettes/TestAccDatadogRoleDatasourceError.freeze | 2 +- .../cassettes/TestAccDatadogRoleDatasourceExactMatch.freeze | 2 +- datadog/tests/cassettes/TestAccDatadogRole_CreateUpdate.freeze | 2 +- datadog/tests/cassettes/TestAccDatadogRole_InvalidPerm.freeze | 2 +- datadog/tests/cassettes/TestAccDatadogScreenboard_update.freeze | 2 +- .../TestAccDatadogSecurityMonitoringDefaultRule_Basic.freeze | 2 +- .../TestAccDatadogSecurityMonitoringRuleDatasource.freeze | 2 +- .../cassettes/TestAccDatadogSecurityMonitoringRule_Basic.freeze | 2 +- .../TestAccDatadogSecurityMonitoringRule_Import.freeze | 2 +- ...stAccDatadogSecurityMonitoringRule_OnlyRequiredFields.freeze | 2 +- .../TestAccDatadogServiceLevelObjectiveDatasource.freeze | 2 +- .../cassettes/TestAccDatadogServiceLevelObjective_Basic.freeze | 2 +- .../TestAccDatadogServiceLevelObjective_InvalidMonitor.freeze | 2 +- .../TestAccDatadogServiceLevelObjectivesDatasource.freeze | 2 +- .../tests/cassettes/TestAccDatadogSloCorrection_Basic.freeze | 2 +- .../tests/cassettes/TestAccDatadogSloCorrection_Updated.freeze | 2 +- .../cassettes/TestAccDatadogSyntheticsAPITest_Basic.freeze | 2 +- .../TestAccDatadogSyntheticsAPITest_BasicDeprecated.freeze | 2 +- ...AccDatadogSyntheticsAPITest_BasicNewAssertionsOptions.freeze | 2 +- .../cassettes/TestAccDatadogSyntheticsAPITest_Updated.freeze | 2 +- .../TestAccDatadogSyntheticsAPITest_UpdatedDeprecated.freeze | 2 +- ...cDatadogSyntheticsAPITest_UpdatedNewAssertionsOptions.freeze | 2 +- .../TestAccDatadogSyntheticsAPITest_importBasic.freeze | 2 +- ...tadogSyntheticsBrowserTestBrowserNewBrowserStep_Basic.freeze | 2 +- ...AccDatadogSyntheticsBrowserTestBrowserVariables_Basic.freeze | 2 +- .../cassettes/TestAccDatadogSyntheticsBrowserTest_Basic.freeze | 2 +- .../TestAccDatadogSyntheticsBrowserTest_Updated.freeze | 2 +- .../TestAccDatadogSyntheticsBrowserTest_importBasic.freeze | 2 +- .../cassettes/TestAccDatadogSyntheticsDNSTest_Basic.freeze | 2 +- .../cassettes/TestAccDatadogSyntheticsDNSTest_Updated.freeze | 2 +- .../TestAccDatadogSyntheticsDNSTest_importBasic.freeze | 2 +- .../TestAccDatadogSyntheticsGlobalVariableFromTest_Basic.freeze | 2 +- .../TestAccDatadogSyntheticsGlobalVariableSecure_Basic.freeze | 2 +- .../TestAccDatadogSyntheticsGlobalVariableSecure_Updated.freeze | 2 +- .../TestAccDatadogSyntheticsGlobalVariable_Basic.freeze | 2 +- .../TestAccDatadogSyntheticsGlobalVariable_Updated.freeze | 2 +- .../TestAccDatadogSyntheticsGlobalVariable_importBasic.freeze | 2 +- .../cassettes/TestAccDatadogSyntheticsICMPTest_Basic.freeze | 2 +- .../TestAccDatadogSyntheticsPrivateLocation_Basic.freeze | 2 +- .../TestAccDatadogSyntheticsPrivateLocation_Updated.freeze | 2 +- .../TestAccDatadogSyntheticsPrivateLocation_importBasic.freeze | 2 +- ...AccDatadogSyntheticsSSLMissingTagsAttributeTest_Basic.freeze | 2 +- .../cassettes/TestAccDatadogSyntheticsSSLTest_Basic.freeze | 2 +- .../cassettes/TestAccDatadogSyntheticsSSLTest_Updated.freeze | 2 +- .../TestAccDatadogSyntheticsSSLTest_importBasic.freeze | 2 +- .../cassettes/TestAccDatadogSyntheticsTCPTest_Basic.freeze | 2 +- .../cassettes/TestAccDatadogSyntheticsTCPTest_Updated.freeze | 2 +- .../TestAccDatadogSyntheticsTCPTest_importBasic.freeze | 2 +- .../TestAccDatadogSyntheticsTestBrowserMML_Basic.freeze | 2 +- .../TestAccDatadogSyntheticsTestMultistepApi_Basic.freeze | 2 +- datadog/tests/cassettes/TestAccDatadogTimeboard_update.freeze | 2 +- datadog/tests/cassettes/TestAccDatadogUser_Existing.freeze | 2 +- datadog/tests/cassettes/TestAccDatadogUser_Invitation.freeze | 2 +- datadog/tests/cassettes/TestAccDatadogUser_NoInvitation.freeze | 2 +- .../tests/cassettes/TestAccDatadogUser_RoleDatasource.freeze | 2 +- datadog/tests/cassettes/TestAccDatadogUser_UpdateRole.freeze | 2 +- datadog/tests/cassettes/TestAccDatadogUser_Updated.freeze | 2 +- .../cassettes/TestAccDatatogSyntheticsLocation_existing.freeze | 2 +- .../cassettes/TestAccLogsCustomPipeline_importBasic.freeze | 2 +- datadog/tests/cassettes/TestDatadogDashListImport.freeze | 2 +- datadog/tests/cassettes/TestDatadogDashListInDashboard.freeze | 2 +- datadog/tests/cassettes/TestDatadogDowntime_import.freeze | 2 +- .../cassettes/TestDatadogIntegrationPagerduty_import.freeze | 2 +- datadog/tests/cassettes/TestDatadogMonitor_import.freeze | 2 +- .../cassettes/TestDatadogMonitor_importNoDataTimeFrame.freeze | 2 +- .../cassettes/TestDatadogMonitor_import_no_recovery.freeze | 2 +- datadog/tests/cassettes/TestDatadogUser_import.freeze | 2 +- datadog/tests/cassettes/TestProvider.freeze | 2 +- 199 files changed, 199 insertions(+), 199 deletions(-) diff --git a/datadog/tests/cassettes/TestAccDatadogDashboardAlertGraph.freeze b/datadog/tests/cassettes/TestAccDatadogDashboardAlertGraph.freeze index 41648ee85..6e130c250 100644 --- a/datadog/tests/cassettes/TestAccDatadogDashboardAlertGraph.freeze +++ b/datadog/tests/cassettes/TestAccDatadogDashboardAlertGraph.freeze @@ -1 +1 @@ -2021-05-24T13:30:23.579039-04:00 \ No newline at end of file +2021-01-28T17:18:24.91386+01:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogDashboardAlertGraph_import.freeze b/datadog/tests/cassettes/TestAccDatadogDashboardAlertGraph_import.freeze index a7c6de0a5..424253059 100644 --- a/datadog/tests/cassettes/TestAccDatadogDashboardAlertGraph_import.freeze +++ b/datadog/tests/cassettes/TestAccDatadogDashboardAlertGraph_import.freeze @@ -1 +1 @@ -2021-05-24T13:30:23.579538-04:00 \ No newline at end of file +2020-12-31T15:42:08.091095+01:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogDashboardAlertValue.freeze b/datadog/tests/cassettes/TestAccDatadogDashboardAlertValue.freeze index be317550e..2083ccfa6 100644 --- a/datadog/tests/cassettes/TestAccDatadogDashboardAlertValue.freeze +++ b/datadog/tests/cassettes/TestAccDatadogDashboardAlertValue.freeze @@ -1 +1 @@ -2021-05-24T13:30:23.579412-04:00 \ No newline at end of file +2021-01-28T17:18:24.927493+01:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogDashboardAlertValue_import.freeze b/datadog/tests/cassettes/TestAccDatadogDashboardAlertValue_import.freeze index 54d1494e3..265acfde4 100644 --- a/datadog/tests/cassettes/TestAccDatadogDashboardAlertValue_import.freeze +++ b/datadog/tests/cassettes/TestAccDatadogDashboardAlertValue_import.freeze @@ -1 +1 @@ -2021-05-24T13:30:23.581923-04:00 \ No newline at end of file +2020-12-31T15:42:08.096666+01:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogDashboardChange.freeze b/datadog/tests/cassettes/TestAccDatadogDashboardChange.freeze index 8fb5a58e1..c90806e91 100644 --- a/datadog/tests/cassettes/TestAccDatadogDashboardChange.freeze +++ b/datadog/tests/cassettes/TestAccDatadogDashboardChange.freeze @@ -1 +1 @@ -2021-05-24T13:30:23.574231-04:00 \ No newline at end of file +2021-01-28T17:18:24.942622+01:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogDashboardChange_import.freeze b/datadog/tests/cassettes/TestAccDatadogDashboardChange_import.freeze index 938df8e83..287650608 100644 --- a/datadog/tests/cassettes/TestAccDatadogDashboardChange_import.freeze +++ b/datadog/tests/cassettes/TestAccDatadogDashboardChange_import.freeze @@ -1 +1 @@ -2021-05-24T13:30:23.573204-04:00 \ No newline at end of file +2020-12-31T15:42:08.103145+01:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogDashboardCheckStatus.freeze b/datadog/tests/cassettes/TestAccDatadogDashboardCheckStatus.freeze index 5cd7a35b3..2c964a438 100644 --- a/datadog/tests/cassettes/TestAccDatadogDashboardCheckStatus.freeze +++ b/datadog/tests/cassettes/TestAccDatadogDashboardCheckStatus.freeze @@ -1 +1 @@ -2021-05-24T13:30:23.569458-04:00 \ No newline at end of file +2021-01-28T17:18:24.968915+01:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogDashboardCheckStatus_import.freeze b/datadog/tests/cassettes/TestAccDatadogDashboardCheckStatus_import.freeze index fdc6ae483..5a0c753e4 100644 --- a/datadog/tests/cassettes/TestAccDatadogDashboardCheckStatus_import.freeze +++ b/datadog/tests/cassettes/TestAccDatadogDashboardCheckStatus_import.freeze @@ -1 +1 @@ -2021-05-24T13:30:23.567475-04:00 \ No newline at end of file +2020-12-31T15:42:08.108147+01:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogDashboardDatasource.freeze b/datadog/tests/cassettes/TestAccDatadogDashboardDatasource.freeze index 520f48621..e9accd5a5 100644 --- a/datadog/tests/cassettes/TestAccDatadogDashboardDatasource.freeze +++ b/datadog/tests/cassettes/TestAccDatadogDashboardDatasource.freeze @@ -1 +1 @@ -2021-05-24T13:30:23.613749-04:00 \ No newline at end of file +2021-01-28T17:18:24.901762+01:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogDashboardDistribution.freeze b/datadog/tests/cassettes/TestAccDatadogDashboardDistribution.freeze index e91a4db19..f0bcf169f 100644 --- a/datadog/tests/cassettes/TestAccDatadogDashboardDistribution.freeze +++ b/datadog/tests/cassettes/TestAccDatadogDashboardDistribution.freeze @@ -1 +1 @@ -2021-05-24T13:30:23.566307-04:00 \ No newline at end of file +2021-01-28T17:18:24.975309+01:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogDashboardDistribution_import.freeze b/datadog/tests/cassettes/TestAccDatadogDashboardDistribution_import.freeze index 2dab82371..5e23f481b 100644 --- a/datadog/tests/cassettes/TestAccDatadogDashboardDistribution_import.freeze +++ b/datadog/tests/cassettes/TestAccDatadogDashboardDistribution_import.freeze @@ -1 +1 @@ -2021-05-24T13:30:23.573262-04:00 \ No newline at end of file +2020-12-31T15:42:08.11141+01:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogDashboardEventStream.freeze b/datadog/tests/cassettes/TestAccDatadogDashboardEventStream.freeze index c7384a595..7c98588aa 100644 --- a/datadog/tests/cassettes/TestAccDatadogDashboardEventStream.freeze +++ b/datadog/tests/cassettes/TestAccDatadogDashboardEventStream.freeze @@ -1 +1 @@ -2021-05-24T13:30:23.574302-04:00 \ No newline at end of file +2021-05-14T09:04:20.836181+02:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogDashboardEventStream_import.freeze b/datadog/tests/cassettes/TestAccDatadogDashboardEventStream_import.freeze index f7ad0544d..fa95e6991 100644 --- a/datadog/tests/cassettes/TestAccDatadogDashboardEventStream_import.freeze +++ b/datadog/tests/cassettes/TestAccDatadogDashboardEventStream_import.freeze @@ -1 +1 @@ -2021-05-24T13:30:23.561616-04:00 \ No newline at end of file +2021-05-14T09:04:20.836255+02:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogDashboardEventTimeline.freeze b/datadog/tests/cassettes/TestAccDatadogDashboardEventTimeline.freeze index 6e570ce93..6ba451e74 100644 --- a/datadog/tests/cassettes/TestAccDatadogDashboardEventTimeline.freeze +++ b/datadog/tests/cassettes/TestAccDatadogDashboardEventTimeline.freeze @@ -1 +1 @@ -2021-05-24T13:30:23.56148-04:00 \ No newline at end of file +2021-05-14T08:59:48.845828+02:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogDashboardEventTimeline_import.freeze b/datadog/tests/cassettes/TestAccDatadogDashboardEventTimeline_import.freeze index 0b4bc9f69..fa8912e9a 100644 --- a/datadog/tests/cassettes/TestAccDatadogDashboardEventTimeline_import.freeze +++ b/datadog/tests/cassettes/TestAccDatadogDashboardEventTimeline_import.freeze @@ -1 +1 @@ -2021-05-24T13:30:23.561261-04:00 \ No newline at end of file +2021-05-14T08:59:48.845889+02:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogDashboardFormula.freeze b/datadog/tests/cassettes/TestAccDatadogDashboardFormula.freeze index c866b6ede..80f094777 100644 --- a/datadog/tests/cassettes/TestAccDatadogDashboardFormula.freeze +++ b/datadog/tests/cassettes/TestAccDatadogDashboardFormula.freeze @@ -1 +1 @@ -2021-05-24T13:30:23.509098-04:00 \ No newline at end of file +2021-02-24T11:27:37.338898-05:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogDashboardFormula_import.freeze b/datadog/tests/cassettes/TestAccDatadogDashboardFormula_import.freeze index 56db21127..f5a888f99 100644 --- a/datadog/tests/cassettes/TestAccDatadogDashboardFormula_import.freeze +++ b/datadog/tests/cassettes/TestAccDatadogDashboardFormula_import.freeze @@ -1 +1 @@ -2021-05-24T13:30:23.511604-04:00 \ No newline at end of file +2021-02-24T11:27:37.338907-05:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogDashboardFreeText.freeze b/datadog/tests/cassettes/TestAccDatadogDashboardFreeText.freeze index 6e73a563b..f88763ea0 100644 --- a/datadog/tests/cassettes/TestAccDatadogDashboardFreeText.freeze +++ b/datadog/tests/cassettes/TestAccDatadogDashboardFreeText.freeze @@ -1 +1 @@ -2021-05-24T13:30:23.562163-04:00 \ No newline at end of file +2021-05-03T11:40:17.559383+02:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogDashboardFreeText_import.freeze b/datadog/tests/cassettes/TestAccDatadogDashboardFreeText_import.freeze index 43ad3788c..78c8d5b5f 100644 --- a/datadog/tests/cassettes/TestAccDatadogDashboardFreeText_import.freeze +++ b/datadog/tests/cassettes/TestAccDatadogDashboardFreeText_import.freeze @@ -1 +1 @@ -2021-05-24T13:30:23.557717-04:00 \ No newline at end of file +2021-05-03T11:40:37.002672+02:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogDashboardGeomap.freeze b/datadog/tests/cassettes/TestAccDatadogDashboardGeomap.freeze index 9310f4a3d..8ca2823e9 100644 --- a/datadog/tests/cassettes/TestAccDatadogDashboardGeomap.freeze +++ b/datadog/tests/cassettes/TestAccDatadogDashboardGeomap.freeze @@ -1 +1 @@ -2021-05-24T13:30:23.556513-04:00 \ No newline at end of file +2021-04-27T08:58:27.619962+02:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogDashboardGeomapFormula.freeze b/datadog/tests/cassettes/TestAccDatadogDashboardGeomapFormula.freeze index a9001a245..12046087a 100644 --- a/datadog/tests/cassettes/TestAccDatadogDashboardGeomapFormula.freeze +++ b/datadog/tests/cassettes/TestAccDatadogDashboardGeomapFormula.freeze @@ -1 +1 @@ -2021-05-24T13:30:23.556391-04:00 \ No newline at end of file +2021-04-27T08:58:27.619933+02:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogDashboardGeomapFormula_import.freeze b/datadog/tests/cassettes/TestAccDatadogDashboardGeomapFormula_import.freeze index 027a5477a..a807f71eb 100644 --- a/datadog/tests/cassettes/TestAccDatadogDashboardGeomapFormula_import.freeze +++ b/datadog/tests/cassettes/TestAccDatadogDashboardGeomapFormula_import.freeze @@ -1 +1 @@ -2021-05-24T13:30:23.553598-04:00 \ No newline at end of file +2021-04-27T08:58:27.620391+02:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogDashboardGeomap_import.freeze b/datadog/tests/cassettes/TestAccDatadogDashboardGeomap_import.freeze index 9384563f4..c9fd84193 100644 --- a/datadog/tests/cassettes/TestAccDatadogDashboardGeomap_import.freeze +++ b/datadog/tests/cassettes/TestAccDatadogDashboardGeomap_import.freeze @@ -1 +1 @@ -2021-05-24T13:30:23.556865-04:00 \ No newline at end of file +2021-04-27T08:58:27.619914+02:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogDashboardHeatMap.freeze b/datadog/tests/cassettes/TestAccDatadogDashboardHeatMap.freeze index b5771ec1a..74f1eb009 100644 --- a/datadog/tests/cassettes/TestAccDatadogDashboardHeatMap.freeze +++ b/datadog/tests/cassettes/TestAccDatadogDashboardHeatMap.freeze @@ -1 +1 @@ -2021-05-24T13:30:23.55292-04:00 \ No newline at end of file +2021-01-28T17:18:25.050258+01:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogDashboardHeatMap_import.freeze b/datadog/tests/cassettes/TestAccDatadogDashboardHeatMap_import.freeze index f4a6d8e4e..259275627 100644 --- a/datadog/tests/cassettes/TestAccDatadogDashboardHeatMap_import.freeze +++ b/datadog/tests/cassettes/TestAccDatadogDashboardHeatMap_import.freeze @@ -1 +1 @@ -2021-05-24T13:30:23.555124-04:00 \ No newline at end of file +2020-12-31T15:42:08.128735+01:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogDashboardHostMap.freeze b/datadog/tests/cassettes/TestAccDatadogDashboardHostMap.freeze index c0f7bf26b..fd6f9e2a4 100644 --- a/datadog/tests/cassettes/TestAccDatadogDashboardHostMap.freeze +++ b/datadog/tests/cassettes/TestAccDatadogDashboardHostMap.freeze @@ -1 +1 @@ -2021-05-24T13:30:23.549171-04:00 \ No newline at end of file +2021-01-28T17:18:25.058707+01:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogDashboardHostMap_import.freeze b/datadog/tests/cassettes/TestAccDatadogDashboardHostMap_import.freeze index 716065b2f..1c58f4921 100644 --- a/datadog/tests/cassettes/TestAccDatadogDashboardHostMap_import.freeze +++ b/datadog/tests/cassettes/TestAccDatadogDashboardHostMap_import.freeze @@ -1 +1 @@ -2021-05-24T13:30:23.54843-04:00 \ No newline at end of file +2020-12-31T15:42:08.134677+01:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogDashboardIFrame.freeze b/datadog/tests/cassettes/TestAccDatadogDashboardIFrame.freeze index 6d5ac6e6f..e465b31e5 100644 --- a/datadog/tests/cassettes/TestAccDatadogDashboardIFrame.freeze +++ b/datadog/tests/cassettes/TestAccDatadogDashboardIFrame.freeze @@ -1 +1 @@ -2021-05-24T13:30:23.551595-04:00 \ No newline at end of file +2021-05-03T11:40:46.105451+02:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogDashboardIFrame_import.freeze b/datadog/tests/cassettes/TestAccDatadogDashboardIFrame_import.freeze index 4c928ca99..797631a6e 100644 --- a/datadog/tests/cassettes/TestAccDatadogDashboardIFrame_import.freeze +++ b/datadog/tests/cassettes/TestAccDatadogDashboardIFrame_import.freeze @@ -1 +1 @@ -2021-05-24T13:30:23.546812-04:00 \ No newline at end of file +2021-05-03T11:41:05.327088+02:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogDashboardImage.freeze b/datadog/tests/cassettes/TestAccDatadogDashboardImage.freeze index 7dbbad363..58d99d020 100644 --- a/datadog/tests/cassettes/TestAccDatadogDashboardImage.freeze +++ b/datadog/tests/cassettes/TestAccDatadogDashboardImage.freeze @@ -1 +1 @@ -2021-05-24T13:30:23.543732-04:00 \ No newline at end of file +2021-05-03T11:41:13.225832+02:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogDashboardImage_import.freeze b/datadog/tests/cassettes/TestAccDatadogDashboardImage_import.freeze index 5643aabf4..6f73a730a 100644 --- a/datadog/tests/cassettes/TestAccDatadogDashboardImage_import.freeze +++ b/datadog/tests/cassettes/TestAccDatadogDashboardImage_import.freeze @@ -1 +1 @@ -2021-05-24T13:30:23.543812-04:00 \ No newline at end of file +2021-05-03T11:41:21.605052+02:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogDashboardJSONBasicScreenboard.freeze b/datadog/tests/cassettes/TestAccDatadogDashboardJSONBasicScreenboard.freeze index d641ea91d..978acd718 100644 --- a/datadog/tests/cassettes/TestAccDatadogDashboardJSONBasicScreenboard.freeze +++ b/datadog/tests/cassettes/TestAccDatadogDashboardJSONBasicScreenboard.freeze @@ -1 +1 @@ -2021-05-24T13:30:23.540877-04:00 \ No newline at end of file +2021-05-19T16:40:26.109396-04:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogDashboardJSONBasicTimeboard.freeze b/datadog/tests/cassettes/TestAccDatadogDashboardJSONBasicTimeboard.freeze index c46ee8345..67631f021 100644 --- a/datadog/tests/cassettes/TestAccDatadogDashboardJSONBasicTimeboard.freeze +++ b/datadog/tests/cassettes/TestAccDatadogDashboardJSONBasicTimeboard.freeze @@ -1 +1 @@ -2021-05-24T13:30:23.54311-04:00 \ No newline at end of file +2021-05-19T16:40:26.109367-04:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogDashboardJSONImport.freeze b/datadog/tests/cassettes/TestAccDatadogDashboardJSONImport.freeze index 34accc1c4..fe4dbf05d 100644 --- a/datadog/tests/cassettes/TestAccDatadogDashboardJSONImport.freeze +++ b/datadog/tests/cassettes/TestAccDatadogDashboardJSONImport.freeze @@ -1 +1 @@ -2021-05-24T13:30:23.362852-04:00 \ No newline at end of file +2021-05-19T16:39:22.669441-04:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogDashboardLayoutForceNew.freeze b/datadog/tests/cassettes/TestAccDatadogDashboardLayoutForceNew.freeze index d55d43f7f..6c8f5e36c 100644 --- a/datadog/tests/cassettes/TestAccDatadogDashboardLayoutForceNew.freeze +++ b/datadog/tests/cassettes/TestAccDatadogDashboardLayoutForceNew.freeze @@ -1 +1 @@ -2021-05-24T13:30:23.520032-04:00 \ No newline at end of file +2021-05-03T11:38:12.213597+02:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogDashboardListDatasource.freeze b/datadog/tests/cassettes/TestAccDatadogDashboardListDatasource.freeze index 1deb1b501..96be67356 100644 --- a/datadog/tests/cassettes/TestAccDatadogDashboardListDatasource.freeze +++ b/datadog/tests/cassettes/TestAccDatadogDashboardListDatasource.freeze @@ -1 +1 @@ -2021-05-24T13:30:23.445288-04:00 \ No newline at end of file +2021-01-28T17:18:24.8916+01:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogDashboardLogStream.freeze b/datadog/tests/cassettes/TestAccDatadogDashboardLogStream.freeze index d1fd3fbe9..ecd3913b5 100644 --- a/datadog/tests/cassettes/TestAccDatadogDashboardLogStream.freeze +++ b/datadog/tests/cassettes/TestAccDatadogDashboardLogStream.freeze @@ -1 +1 @@ -2021-05-24T13:30:23.541698-04:00 \ No newline at end of file +2021-05-14T09:02:36.084132+02:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogDashboardLogStreamLogSet.freeze b/datadog/tests/cassettes/TestAccDatadogDashboardLogStreamLogSet.freeze index d641ea91d..180d284c3 100644 --- a/datadog/tests/cassettes/TestAccDatadogDashboardLogStreamLogSet.freeze +++ b/datadog/tests/cassettes/TestAccDatadogDashboardLogStreamLogSet.freeze @@ -1 +1 @@ -2021-05-24T13:30:23.540877-04:00 \ No newline at end of file +2021-05-14T09:02:36.0833+02:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogDashboardLogStreamLogSet_import.freeze b/datadog/tests/cassettes/TestAccDatadogDashboardLogStreamLogSet_import.freeze index b5a4fc25a..419eae5c1 100644 --- a/datadog/tests/cassettes/TestAccDatadogDashboardLogStreamLogSet_import.freeze +++ b/datadog/tests/cassettes/TestAccDatadogDashboardLogStreamLogSet_import.freeze @@ -1 +1 @@ -2021-05-24T13:30:23.542987-04:00 \ No newline at end of file +2021-05-14T09:02:36.083981+02:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogDashboardLogStream_import.freeze b/datadog/tests/cassettes/TestAccDatadogDashboardLogStream_import.freeze index 10f4b6b56..a6f80571f 100644 --- a/datadog/tests/cassettes/TestAccDatadogDashboardLogStream_import.freeze +++ b/datadog/tests/cassettes/TestAccDatadogDashboardLogStream_import.freeze @@ -1 +1 @@ -2021-05-24T13:30:23.537177-04:00 \ No newline at end of file +2021-05-14T09:02:36.083518+02:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogDashboardManageStatus.freeze b/datadog/tests/cassettes/TestAccDatadogDashboardManageStatus.freeze index 5fcbd8816..e17da19d3 100644 --- a/datadog/tests/cassettes/TestAccDatadogDashboardManageStatus.freeze +++ b/datadog/tests/cassettes/TestAccDatadogDashboardManageStatus.freeze @@ -1 +1 @@ -2021-05-24T13:30:23.53484-04:00 \ No newline at end of file +2021-05-03T11:42:20.12836+02:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogDashboardManageStatus_import.freeze b/datadog/tests/cassettes/TestAccDatadogDashboardManageStatus_import.freeze index 972bce59a..d0b99be3d 100644 --- a/datadog/tests/cassettes/TestAccDatadogDashboardManageStatus_import.freeze +++ b/datadog/tests/cassettes/TestAccDatadogDashboardManageStatus_import.freeze @@ -1 +1 @@ -2021-05-24T13:30:23.534173-04:00 \ No newline at end of file +2021-05-03T11:42:36.831554+02:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogDashboardNote.freeze b/datadog/tests/cassettes/TestAccDatadogDashboardNote.freeze index 05b22f1e7..3b88eb513 100644 --- a/datadog/tests/cassettes/TestAccDatadogDashboardNote.freeze +++ b/datadog/tests/cassettes/TestAccDatadogDashboardNote.freeze @@ -1 +1 @@ -2021-05-24T13:30:23.532134-04:00 \ No newline at end of file +2021-05-03T11:42:45.118614+02:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogDashboardNoteContentError.freeze b/datadog/tests/cassettes/TestAccDatadogDashboardNoteContentError.freeze index 295567025..7006a9d73 100644 --- a/datadog/tests/cassettes/TestAccDatadogDashboardNoteContentError.freeze +++ b/datadog/tests/cassettes/TestAccDatadogDashboardNoteContentError.freeze @@ -1 +1 @@ -2021-05-24T13:30:23.372898-04:00 \ No newline at end of file +2021-05-03T11:42:44.991214+02:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogDashboardNote_import.freeze b/datadog/tests/cassettes/TestAccDatadogDashboardNote_import.freeze index 8692b3f88..c83deafa4 100644 --- a/datadog/tests/cassettes/TestAccDatadogDashboardNote_import.freeze +++ b/datadog/tests/cassettes/TestAccDatadogDashboardNote_import.freeze @@ -1 +1 @@ -2021-05-24T13:30:23.532111-04:00 \ No newline at end of file +2021-05-03T11:42:52.35047+02:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogDashboardQueryTable.freeze b/datadog/tests/cassettes/TestAccDatadogDashboardQueryTable.freeze index 2a8c553ef..5933add15 100644 --- a/datadog/tests/cassettes/TestAccDatadogDashboardQueryTable.freeze +++ b/datadog/tests/cassettes/TestAccDatadogDashboardQueryTable.freeze @@ -1 +1 @@ -2021-05-24T13:30:23.53119-04:00 \ No newline at end of file +2021-01-28T17:18:26.710414+01:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogDashboardQueryTable_import.freeze b/datadog/tests/cassettes/TestAccDatadogDashboardQueryTable_import.freeze index a31991382..46e361f93 100644 --- a/datadog/tests/cassettes/TestAccDatadogDashboardQueryTable_import.freeze +++ b/datadog/tests/cassettes/TestAccDatadogDashboardQueryTable_import.freeze @@ -1 +1 @@ -2021-05-24T13:30:23.530901-04:00 \ No newline at end of file +2020-12-31T15:42:08.733512+01:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogDashboardQueryValue.freeze b/datadog/tests/cassettes/TestAccDatadogDashboardQueryValue.freeze index 166b14220..a46e9f109 100644 --- a/datadog/tests/cassettes/TestAccDatadogDashboardQueryValue.freeze +++ b/datadog/tests/cassettes/TestAccDatadogDashboardQueryValue.freeze @@ -1 +1 @@ -2021-05-24T13:30:23.527768-04:00 \ No newline at end of file +2021-01-28T17:18:26.717647+01:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogDashboardQueryValueFormula.freeze b/datadog/tests/cassettes/TestAccDatadogDashboardQueryValueFormula.freeze index 76c21d1c6..5c128e2bf 100644 --- a/datadog/tests/cassettes/TestAccDatadogDashboardQueryValueFormula.freeze +++ b/datadog/tests/cassettes/TestAccDatadogDashboardQueryValueFormula.freeze @@ -1 +1 @@ -2021-05-24T13:30:23.527349-04:00 \ No newline at end of file +2021-02-25T18:39:08.086427-05:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogDashboardQueryValueFormula_import.freeze b/datadog/tests/cassettes/TestAccDatadogDashboardQueryValueFormula_import.freeze index 0fa844544..3f789bf39 100644 --- a/datadog/tests/cassettes/TestAccDatadogDashboardQueryValueFormula_import.freeze +++ b/datadog/tests/cassettes/TestAccDatadogDashboardQueryValueFormula_import.freeze @@ -1 +1 @@ -2021-05-24T13:30:23.528572-04:00 \ No newline at end of file +2021-02-25T18:39:08.086824-05:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogDashboardQueryValue_import.freeze b/datadog/tests/cassettes/TestAccDatadogDashboardQueryValue_import.freeze index d4043d385..a966df220 100644 --- a/datadog/tests/cassettes/TestAccDatadogDashboardQueryValue_import.freeze +++ b/datadog/tests/cassettes/TestAccDatadogDashboardQueryValue_import.freeze @@ -1 +1 @@ -2021-05-24T13:30:23.527267-04:00 \ No newline at end of file +2020-12-31T15:42:08.737331+01:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogDashboardSLO.freeze b/datadog/tests/cassettes/TestAccDatadogDashboardSLO.freeze index ed134012a..6e146a214 100644 --- a/datadog/tests/cassettes/TestAccDatadogDashboardSLO.freeze +++ b/datadog/tests/cassettes/TestAccDatadogDashboardSLO.freeze @@ -1 +1 @@ -2021-05-24T13:30:23.522205-04:00 \ No newline at end of file +2021-03-23T18:36:20.618813-04:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogDashboardSLO_import.freeze b/datadog/tests/cassettes/TestAccDatadogDashboardSLO_import.freeze index bda6e78d8..b95d1d7b3 100644 --- a/datadog/tests/cassettes/TestAccDatadogDashboardSLO_import.freeze +++ b/datadog/tests/cassettes/TestAccDatadogDashboardSLO_import.freeze @@ -1 +1 @@ -2021-05-24T13:30:23.518273-04:00 \ No newline at end of file +2021-03-23T18:36:20.618821-04:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogDashboardScatterplot.freeze b/datadog/tests/cassettes/TestAccDatadogDashboardScatterplot.freeze index ed710cb25..2da9f2022 100644 --- a/datadog/tests/cassettes/TestAccDatadogDashboardScatterplot.freeze +++ b/datadog/tests/cassettes/TestAccDatadogDashboardScatterplot.freeze @@ -1 +1 @@ -2021-05-24T13:30:23.522819-04:00 \ No newline at end of file +2021-01-28T17:18:26.725663+01:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogDashboardScatterplot_import.freeze b/datadog/tests/cassettes/TestAccDatadogDashboardScatterplot_import.freeze index cdc3bd360..7e48b95ad 100644 --- a/datadog/tests/cassettes/TestAccDatadogDashboardScatterplot_import.freeze +++ b/datadog/tests/cassettes/TestAccDatadogDashboardScatterplot_import.freeze @@ -1 +1 @@ -2021-05-24T13:30:23.522217-04:00 \ No newline at end of file +2020-12-31T15:42:08.74021+01:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogDashboardServiceMap.freeze b/datadog/tests/cassettes/TestAccDatadogDashboardServiceMap.freeze index 03a077e43..c23a25905 100644 --- a/datadog/tests/cassettes/TestAccDatadogDashboardServiceMap.freeze +++ b/datadog/tests/cassettes/TestAccDatadogDashboardServiceMap.freeze @@ -1 +1 @@ -2021-05-24T13:30:23.521162-04:00 \ No newline at end of file +2021-05-03T11:37:01.664408+02:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogDashboardServiceMap_import.freeze b/datadog/tests/cassettes/TestAccDatadogDashboardServiceMap_import.freeze index 218fb77e5..2aaac3397 100644 --- a/datadog/tests/cassettes/TestAccDatadogDashboardServiceMap_import.freeze +++ b/datadog/tests/cassettes/TestAccDatadogDashboardServiceMap_import.freeze @@ -1 +1 @@ -2021-05-24T13:30:23.520373-04:00 \ No newline at end of file +2021-05-03T11:37:17.250301+02:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogDashboardTimeseries.freeze b/datadog/tests/cassettes/TestAccDatadogDashboardTimeseries.freeze index a4503a3b5..65e3d491f 100644 --- a/datadog/tests/cassettes/TestAccDatadogDashboardTimeseries.freeze +++ b/datadog/tests/cassettes/TestAccDatadogDashboardTimeseries.freeze @@ -1 +1 @@ -2021-05-24T13:30:23.511467-04:00 \ No newline at end of file +2021-03-18T18:33:19.520908+01:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogDashboardTimeseriesMultiCompute.freeze b/datadog/tests/cassettes/TestAccDatadogDashboardTimeseriesMultiCompute.freeze index 533187409..c983e71a1 100644 --- a/datadog/tests/cassettes/TestAccDatadogDashboardTimeseriesMultiCompute.freeze +++ b/datadog/tests/cassettes/TestAccDatadogDashboardTimeseriesMultiCompute.freeze @@ -1 +1 @@ -2021-05-24T13:30:23.507199-04:00 \ No newline at end of file +2021-03-18T18:33:19.521033+01:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogDashboardTimeseriesMultiCompute_import.freeze b/datadog/tests/cassettes/TestAccDatadogDashboardTimeseriesMultiCompute_import.freeze index e75ff3e25..0a33322ef 100644 --- a/datadog/tests/cassettes/TestAccDatadogDashboardTimeseriesMultiCompute_import.freeze +++ b/datadog/tests/cassettes/TestAccDatadogDashboardTimeseriesMultiCompute_import.freeze @@ -1 +1 @@ -2021-05-24T13:30:23.50417-04:00 \ No newline at end of file +2021-03-18T18:33:19.521025+01:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogDashboardTimeseries_import.freeze b/datadog/tests/cassettes/TestAccDatadogDashboardTimeseries_import.freeze index 7c2aab1be..da4a3bf91 100644 --- a/datadog/tests/cassettes/TestAccDatadogDashboardTimeseries_import.freeze +++ b/datadog/tests/cassettes/TestAccDatadogDashboardTimeseries_import.freeze @@ -1 +1 @@ -2021-05-24T13:30:23.510832-04:00 \ No newline at end of file +2021-03-18T18:33:19.520881+01:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogDashboardTopList.freeze b/datadog/tests/cassettes/TestAccDatadogDashboardTopList.freeze index fb036ff2c..6c427570f 100644 --- a/datadog/tests/cassettes/TestAccDatadogDashboardTopList.freeze +++ b/datadog/tests/cassettes/TestAccDatadogDashboardTopList.freeze @@ -1 +1 @@ -2021-05-24T13:30:23.508764-04:00 \ No newline at end of file +2021-04-16T13:25:09.299432-04:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogDashboardTopListFormula.freeze b/datadog/tests/cassettes/TestAccDatadogDashboardTopListFormula.freeze index 282263c42..23137d6c7 100644 --- a/datadog/tests/cassettes/TestAccDatadogDashboardTopListFormula.freeze +++ b/datadog/tests/cassettes/TestAccDatadogDashboardTopListFormula.freeze @@ -1 +1 @@ -2021-05-24T13:30:23.503683-04:00 \ No newline at end of file +2021-04-16T13:25:09.298892-04:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogDashboardTopListFormula_import.freeze b/datadog/tests/cassettes/TestAccDatadogDashboardTopListFormula_import.freeze index bcdc32e37..d0398dd29 100644 --- a/datadog/tests/cassettes/TestAccDatadogDashboardTopListFormula_import.freeze +++ b/datadog/tests/cassettes/TestAccDatadogDashboardTopListFormula_import.freeze @@ -1 +1 @@ -2021-05-24T13:30:23.496407-04:00 \ No newline at end of file +2021-04-16T13:25:09.298847-04:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogDashboardTopList_import.freeze b/datadog/tests/cassettes/TestAccDatadogDashboardTopList_import.freeze index 027390358..29ac1946a 100644 --- a/datadog/tests/cassettes/TestAccDatadogDashboardTopList_import.freeze +++ b/datadog/tests/cassettes/TestAccDatadogDashboardTopList_import.freeze @@ -1 +1 @@ -2021-05-24T13:30:23.501075-04:00 \ No newline at end of file +2021-04-16T13:25:09.298871-04:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogDashboardTraceService.freeze b/datadog/tests/cassettes/TestAccDatadogDashboardTraceService.freeze index 15b328792..419bdb7fb 100644 --- a/datadog/tests/cassettes/TestAccDatadogDashboardTraceService.freeze +++ b/datadog/tests/cassettes/TestAccDatadogDashboardTraceService.freeze @@ -1 +1 @@ -2021-05-24T13:30:23.495241-04:00 \ No newline at end of file +2021-05-14T08:59:30.873757+02:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogDashboardTraceService_import.freeze b/datadog/tests/cassettes/TestAccDatadogDashboardTraceService_import.freeze index 9492e160a..8574298bd 100644 --- a/datadog/tests/cassettes/TestAccDatadogDashboardTraceService_import.freeze +++ b/datadog/tests/cassettes/TestAccDatadogDashboardTraceService_import.freeze @@ -1 +1 @@ -2021-05-24T13:30:23.492585-04:00 \ No newline at end of file +2021-05-14T08:59:30.87422+02:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogDashboard_import.freeze b/datadog/tests/cassettes/TestAccDatadogDashboard_import.freeze index cb970e363..afa830e3b 100644 --- a/datadog/tests/cassettes/TestAccDatadogDashboard_import.freeze +++ b/datadog/tests/cassettes/TestAccDatadogDashboard_import.freeze @@ -1 +1 @@ -2021-05-24T13:30:23.514322-04:00 \ No newline at end of file +2021-05-03T11:40:24.869737+02:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogDashboard_update.freeze b/datadog/tests/cassettes/TestAccDatadogDashboard_update.freeze index 13276e571..9fe928329 100644 --- a/datadog/tests/cassettes/TestAccDatadogDashboard_update.freeze +++ b/datadog/tests/cassettes/TestAccDatadogDashboard_update.freeze @@ -1 +1 @@ -2021-05-24T13:30:23.516799-04:00 \ No newline at end of file +2021-05-03T11:37:50.130001+02:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogDowntimeDates.freeze b/datadog/tests/cassettes/TestAccDatadogDowntimeDates.freeze index f4173efa2..eac53b281 100644 --- a/datadog/tests/cassettes/TestAccDatadogDowntimeDates.freeze +++ b/datadog/tests/cassettes/TestAccDatadogDowntimeDates.freeze @@ -1 +1 @@ -2021-05-24T13:30:23.477336-04:00 \ No newline at end of file +2020-12-31T15:42:08.800524+01:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogDowntimeDatesConflict.freeze b/datadog/tests/cassettes/TestAccDatadogDowntimeDatesConflict.freeze index 0543ba09c..76a09e4ef 100644 --- a/datadog/tests/cassettes/TestAccDatadogDowntimeDatesConflict.freeze +++ b/datadog/tests/cassettes/TestAccDatadogDowntimeDatesConflict.freeze @@ -1 +1 @@ -2021-05-24T13:30:23.470919-04:00 \ No newline at end of file +2020-12-31T15:42:08.801731+01:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogDowntime_Basic.freeze b/datadog/tests/cassettes/TestAccDatadogDowntime_Basic.freeze index 719de4114..a5e30a263 100644 --- a/datadog/tests/cassettes/TestAccDatadogDowntime_Basic.freeze +++ b/datadog/tests/cassettes/TestAccDatadogDowntime_Basic.freeze @@ -1 +1 @@ -2021-05-24T13:30:23.492306-04:00 \ No newline at end of file +2020-12-31T15:42:08.783651+01:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogDowntime_BasicMultiScope.freeze b/datadog/tests/cassettes/TestAccDatadogDowntime_BasicMultiScope.freeze index e290c0255..613182326 100644 --- a/datadog/tests/cassettes/TestAccDatadogDowntime_BasicMultiScope.freeze +++ b/datadog/tests/cassettes/TestAccDatadogDowntime_BasicMultiScope.freeze @@ -1 +1 @@ -2021-05-24T13:30:23.497536-04:00 \ No newline at end of file +2020-12-31T15:42:08.788453+01:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogDowntime_BasicNoRecurrence.freeze b/datadog/tests/cassettes/TestAccDatadogDowntime_BasicNoRecurrence.freeze index fd106950f..efb0298ef 100644 --- a/datadog/tests/cassettes/TestAccDatadogDowntime_BasicNoRecurrence.freeze +++ b/datadog/tests/cassettes/TestAccDatadogDowntime_BasicNoRecurrence.freeze @@ -1 +1 @@ -2021-05-24T13:30:23.490245-04:00 \ No newline at end of file +2020-12-31T15:42:08.789946+01:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogDowntime_BasicUntilDateRecurrence.freeze b/datadog/tests/cassettes/TestAccDatadogDowntime_BasicUntilDateRecurrence.freeze index f815587fb..5c79fdb61 100644 --- a/datadog/tests/cassettes/TestAccDatadogDowntime_BasicUntilDateRecurrence.freeze +++ b/datadog/tests/cassettes/TestAccDatadogDowntime_BasicUntilDateRecurrence.freeze @@ -1 +1 @@ -2021-05-24T13:30:23.483343-04:00 \ No newline at end of file +2020-12-31T15:42:08.791497+01:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogDowntime_BasicUntilOccurrencesRecurrence.freeze b/datadog/tests/cassettes/TestAccDatadogDowntime_BasicUntilOccurrencesRecurrence.freeze index 51258d627..f24753a4d 100644 --- a/datadog/tests/cassettes/TestAccDatadogDowntime_BasicUntilOccurrencesRecurrence.freeze +++ b/datadog/tests/cassettes/TestAccDatadogDowntime_BasicUntilOccurrencesRecurrence.freeze @@ -1 +1 @@ -2021-05-24T13:30:23.483209-04:00 \ No newline at end of file +2020-12-31T15:42:08.792762+01:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogDowntime_BasicWithMonitor.freeze b/datadog/tests/cassettes/TestAccDatadogDowntime_BasicWithMonitor.freeze index 6709169cc..353bbca9b 100644 --- a/datadog/tests/cassettes/TestAccDatadogDowntime_BasicWithMonitor.freeze +++ b/datadog/tests/cassettes/TestAccDatadogDowntime_BasicWithMonitor.freeze @@ -1 +1 @@ -2021-05-24T13:30:23.500249-04:00 \ No newline at end of file +2020-12-31T15:42:08.785663+01:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogDowntime_BasicWithMonitorTags.freeze b/datadog/tests/cassettes/TestAccDatadogDowntime_BasicWithMonitorTags.freeze index b06496b58..851bc659a 100644 --- a/datadog/tests/cassettes/TestAccDatadogDowntime_BasicWithMonitorTags.freeze +++ b/datadog/tests/cassettes/TestAccDatadogDowntime_BasicWithMonitorTags.freeze @@ -1 +1 @@ -2021-05-24T13:30:23.488023-04:00 \ No newline at end of file +2020-12-31T15:42:08.787158+01:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogDowntime_DiffStart.freeze b/datadog/tests/cassettes/TestAccDatadogDowntime_DiffStart.freeze index f38aa890c..4f23aa793 100644 --- a/datadog/tests/cassettes/TestAccDatadogDowntime_DiffStart.freeze +++ b/datadog/tests/cassettes/TestAccDatadogDowntime_DiffStart.freeze @@ -1 +1 @@ -2021-05-24T13:30:23.476439-04:00 \ No newline at end of file +2021-04-22T18:05:51.631723+02:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogDowntime_RRule.freeze b/datadog/tests/cassettes/TestAccDatadogDowntime_RRule.freeze index 4f1de95b1..f0e4271a7 100644 --- a/datadog/tests/cassettes/TestAccDatadogDowntime_RRule.freeze +++ b/datadog/tests/cassettes/TestAccDatadogDowntime_RRule.freeze @@ -1 +1 @@ -2021-05-24T13:30:23.481637-04:00 \ No newline at end of file +2020-12-31T15:42:08.795409+01:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogDowntime_TrimWhitespace.freeze b/datadog/tests/cassettes/TestAccDatadogDowntime_TrimWhitespace.freeze index c1ef4f695..0b27c79b9 100644 --- a/datadog/tests/cassettes/TestAccDatadogDowntime_TrimWhitespace.freeze +++ b/datadog/tests/cassettes/TestAccDatadogDowntime_TrimWhitespace.freeze @@ -1 +1 @@ -2021-05-24T13:30:23.477667-04:00 \ No newline at end of file +2020-12-31T15:42:08.797929+01:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogDowntime_Updated.freeze b/datadog/tests/cassettes/TestAccDatadogDowntime_Updated.freeze index eec15f77c..0e8eb06fa 100644 --- a/datadog/tests/cassettes/TestAccDatadogDowntime_Updated.freeze +++ b/datadog/tests/cassettes/TestAccDatadogDowntime_Updated.freeze @@ -1 +1 @@ -2021-05-24T13:30:23.479279-04:00 \ No newline at end of file +2020-12-31T15:42:08.796658+01:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogDowntime_WeekDayRecurring.freeze b/datadog/tests/cassettes/TestAccDatadogDowntime_WeekDayRecurring.freeze index b44a05da2..f0e043bf9 100644 --- a/datadog/tests/cassettes/TestAccDatadogDowntime_WeekDayRecurring.freeze +++ b/datadog/tests/cassettes/TestAccDatadogDowntime_WeekDayRecurring.freeze @@ -1 +1 @@ -2021-05-24T13:30:23.490575-04:00 \ No newline at end of file +2020-12-31T15:42:08.794199+01:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogFreeDashboard.freeze b/datadog/tests/cassettes/TestAccDatadogFreeDashboard.freeze index b155feb3c..6c7782bb3 100644 --- a/datadog/tests/cassettes/TestAccDatadogFreeDashboard.freeze +++ b/datadog/tests/cassettes/TestAccDatadogFreeDashboard.freeze @@ -1 +1 @@ -2021-05-24T13:30:23.516962-04:00 \ No newline at end of file +2021-05-03T11:38:01.138719+02:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogIntegrationAWS.freeze b/datadog/tests/cassettes/TestAccDatadogIntegrationAWS.freeze index ea5e58374..6f04fb27b 100644 --- a/datadog/tests/cassettes/TestAccDatadogIntegrationAWS.freeze +++ b/datadog/tests/cassettes/TestAccDatadogIntegrationAWS.freeze @@ -1 +1 @@ -2021-05-24T13:30:23.386521-04:00 \ No newline at end of file +2020-12-31T15:42:28.691873+01:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogIntegrationAWSLambdaArn.freeze b/datadog/tests/cassettes/TestAccDatadogIntegrationAWSLambdaArn.freeze index f7868d622..b4ebb0286 100644 --- a/datadog/tests/cassettes/TestAccDatadogIntegrationAWSLambdaArn.freeze +++ b/datadog/tests/cassettes/TestAccDatadogIntegrationAWSLambdaArn.freeze @@ -1 +1 @@ -2021-05-24T13:30:23.378837-04:00 \ No newline at end of file +2020-12-31T15:42:08.803998+01:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogIntegrationAWSLogCollection.freeze b/datadog/tests/cassettes/TestAccDatadogIntegrationAWSLogCollection.freeze index 6ac2a502a..e104f8ad2 100644 --- a/datadog/tests/cassettes/TestAccDatadogIntegrationAWSLogCollection.freeze +++ b/datadog/tests/cassettes/TestAccDatadogIntegrationAWSLogCollection.freeze @@ -1 +1 @@ -2021-05-24T13:30:23.381269-04:00 \ No newline at end of file +2021-01-27T17:52:02.772145-05:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogIntegrationAwsTagFilter_Basic.freeze b/datadog/tests/cassettes/TestAccDatadogIntegrationAwsTagFilter_Basic.freeze index ea8a67dcc..63c435191 100644 --- a/datadog/tests/cassettes/TestAccDatadogIntegrationAwsTagFilter_Basic.freeze +++ b/datadog/tests/cassettes/TestAccDatadogIntegrationAwsTagFilter_Basic.freeze @@ -1 +1 @@ -2021-05-24T13:30:23.383728-04:00 \ No newline at end of file +2021-02-08T09:24:53.23552-05:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogIntegrationAzure.freeze b/datadog/tests/cassettes/TestAccDatadogIntegrationAzure.freeze index fefaf0825..19d4c2ce3 100644 --- a/datadog/tests/cassettes/TestAccDatadogIntegrationAzure.freeze +++ b/datadog/tests/cassettes/TestAccDatadogIntegrationAzure.freeze @@ -1 +1 @@ -2021-05-24T13:30:23.394617-04:00 \ No newline at end of file +2020-12-31T15:42:42.840905+01:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogIntegrationGCP.freeze b/datadog/tests/cassettes/TestAccDatadogIntegrationGCP.freeze index 768dd3e80..562a42e3a 100644 --- a/datadog/tests/cassettes/TestAccDatadogIntegrationGCP.freeze +++ b/datadog/tests/cassettes/TestAccDatadogIntegrationGCP.freeze @@ -1 +1 @@ -2021-05-24T13:30:23.397875-04:00 \ No newline at end of file +2021-03-30T13:30:54.526302-04:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogIntegrationPagerdutyServiceObject_Basic.freeze b/datadog/tests/cassettes/TestAccDatadogIntegrationPagerdutyServiceObject_Basic.freeze index 7772a2db7..3e175e31a 100644 --- a/datadog/tests/cassettes/TestAccDatadogIntegrationPagerdutyServiceObject_Basic.freeze +++ b/datadog/tests/cassettes/TestAccDatadogIntegrationPagerdutyServiceObject_Basic.freeze @@ -1 +1 @@ -2021-05-24T13:30:23.399852-04:00 \ No newline at end of file +2020-12-31T15:42:59.710078+01:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogIntegrationPagerduty_Basic.freeze b/datadog/tests/cassettes/TestAccDatadogIntegrationPagerduty_Basic.freeze index ffe98b6de..027b80e0b 100644 --- a/datadog/tests/cassettes/TestAccDatadogIntegrationPagerduty_Basic.freeze +++ b/datadog/tests/cassettes/TestAccDatadogIntegrationPagerduty_Basic.freeze @@ -1 +1 @@ -2021-05-24T13:30:23.401637-04:00 \ No newline at end of file +2020-12-31T15:43:22.176299+01:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogIntegrationPagerduty_Migrate2ServiceObjects.freeze b/datadog/tests/cassettes/TestAccDatadogIntegrationPagerduty_Migrate2ServiceObjects.freeze index b45b05809..d3c586f96 100644 --- a/datadog/tests/cassettes/TestAccDatadogIntegrationPagerduty_Migrate2ServiceObjects.freeze +++ b/datadog/tests/cassettes/TestAccDatadogIntegrationPagerduty_Migrate2ServiceObjects.freeze @@ -1 +1 @@ -2021-05-24T13:30:23.406385-04:00 \ No newline at end of file +2020-12-31T15:43:32.639231+01:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogIntegrationPagerduty_TwoServices.freeze b/datadog/tests/cassettes/TestAccDatadogIntegrationPagerduty_TwoServices.freeze index 91d55a1af..185589893 100644 --- a/datadog/tests/cassettes/TestAccDatadogIntegrationPagerduty_TwoServices.freeze +++ b/datadog/tests/cassettes/TestAccDatadogIntegrationPagerduty_TwoServices.freeze @@ -1 +1 @@ -2021-05-24T13:30:23.403931-04:00 \ No newline at end of file +2020-12-31T15:43:27.814555+01:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogIntegrationSlackChannel_Basic.freeze b/datadog/tests/cassettes/TestAccDatadogIntegrationSlackChannel_Basic.freeze index 04edcdbd2..782617481 100644 --- a/datadog/tests/cassettes/TestAccDatadogIntegrationSlackChannel_Basic.freeze +++ b/datadog/tests/cassettes/TestAccDatadogIntegrationSlackChannel_Basic.freeze @@ -1 +1 @@ -2021-05-24T13:30:23.411224-04:00 \ No newline at end of file +2021-02-24T10:36:56.464519-05:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogIntegrationSlackChannel_Import.freeze b/datadog/tests/cassettes/TestAccDatadogIntegrationSlackChannel_Import.freeze index 2b79ff52a..f5ad330be 100644 --- a/datadog/tests/cassettes/TestAccDatadogIntegrationSlackChannel_Import.freeze +++ b/datadog/tests/cassettes/TestAccDatadogIntegrationSlackChannel_Import.freeze @@ -1 +1 @@ -2021-05-24T13:30:23.412755-04:00 \ No newline at end of file +2021-04-02T17:21:13.24789-04:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogIpRangesDatasource_existing.freeze b/datadog/tests/cassettes/TestAccDatadogIpRangesDatasource_existing.freeze index 14fdd080c..8e8c0b8cd 100644 --- a/datadog/tests/cassettes/TestAccDatadogIpRangesDatasource_existing.freeze +++ b/datadog/tests/cassettes/TestAccDatadogIpRangesDatasource_existing.freeze @@ -1 +1 @@ -2021-05-24T13:30:23.618733-04:00 \ No newline at end of file +2020-12-31T15:41:45.458709+01:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogLogsArchiveAzure_basic.freeze b/datadog/tests/cassettes/TestAccDatadogLogsArchiveAzure_basic.freeze index c39d5e218..8883866bb 100644 --- a/datadog/tests/cassettes/TestAccDatadogLogsArchiveAzure_basic.freeze +++ b/datadog/tests/cassettes/TestAccDatadogLogsArchiveAzure_basic.freeze @@ -1 +1 @@ -2021-05-24T13:30:23.422247-04:00 \ No newline at end of file +2021-02-11T11:22:42.274999+01:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogLogsArchiveAzure_basicDeprecated.freeze b/datadog/tests/cassettes/TestAccDatadogLogsArchiveAzure_basicDeprecated.freeze index c65e76125..241b2b862 100644 --- a/datadog/tests/cassettes/TestAccDatadogLogsArchiveAzure_basicDeprecated.freeze +++ b/datadog/tests/cassettes/TestAccDatadogLogsArchiveAzure_basicDeprecated.freeze @@ -1 +1 @@ -2021-05-24T13:30:23.418522-04:00 \ No newline at end of file +2021-02-11T11:22:37.567134+01:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogLogsArchiveGCS_basic.freeze b/datadog/tests/cassettes/TestAccDatadogLogsArchiveGCS_basic.freeze index b66b35413..8407adc3e 100644 --- a/datadog/tests/cassettes/TestAccDatadogLogsArchiveGCS_basic.freeze +++ b/datadog/tests/cassettes/TestAccDatadogLogsArchiveGCS_basic.freeze @@ -1 +1 @@ -2021-05-24T13:30:23.426271-04:00 \ No newline at end of file +2021-03-30T13:48:22.326086-04:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogLogsArchiveGCS_basicDeprecated.freeze b/datadog/tests/cassettes/TestAccDatadogLogsArchiveGCS_basicDeprecated.freeze index e9447f879..d2c5db607 100644 --- a/datadog/tests/cassettes/TestAccDatadogLogsArchiveGCS_basicDeprecated.freeze +++ b/datadog/tests/cassettes/TestAccDatadogLogsArchiveGCS_basicDeprecated.freeze @@ -1 +1 @@ -2021-05-24T13:30:23.424657-04:00 \ No newline at end of file +2021-03-30T13:48:19.618471-04:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogLogsArchiveOrder_basic.freeze b/datadog/tests/cassettes/TestAccDatadogLogsArchiveOrder_basic.freeze index 3f1ee8a95..03a60a0e2 100644 --- a/datadog/tests/cassettes/TestAccDatadogLogsArchiveOrder_basic.freeze +++ b/datadog/tests/cassettes/TestAccDatadogLogsArchiveOrder_basic.freeze @@ -1 +1 @@ -2021-05-24T13:30:23.414155-04:00 \ No newline at end of file +2020-12-31T15:43:54.931655+01:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogLogsArchiveOrder_empty.freeze b/datadog/tests/cassettes/TestAccDatadogLogsArchiveOrder_empty.freeze index 1eea65275..a6b186c4e 100644 --- a/datadog/tests/cassettes/TestAccDatadogLogsArchiveOrder_empty.freeze +++ b/datadog/tests/cassettes/TestAccDatadogLogsArchiveOrder_empty.freeze @@ -1 +1 @@ -2021-05-24T13:30:23.416498-04:00 \ No newline at end of file +2020-12-31T15:43:56.214089+01:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogLogsArchiveS3Update_basic.freeze b/datadog/tests/cassettes/TestAccDatadogLogsArchiveS3Update_basic.freeze index 50a9d6aa3..e87b89508 100644 --- a/datadog/tests/cassettes/TestAccDatadogLogsArchiveS3Update_basic.freeze +++ b/datadog/tests/cassettes/TestAccDatadogLogsArchiveS3Update_basic.freeze @@ -1 +1 @@ -2021-05-24T13:30:23.430906-04:00 \ No newline at end of file +2021-02-11T11:23:06.169854+01:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogLogsArchiveS3_basic.freeze b/datadog/tests/cassettes/TestAccDatadogLogsArchiveS3_basic.freeze index 52a254e0b..0591437c5 100644 --- a/datadog/tests/cassettes/TestAccDatadogLogsArchiveS3_basic.freeze +++ b/datadog/tests/cassettes/TestAccDatadogLogsArchiveS3_basic.freeze @@ -1 +1 @@ -2021-05-24T13:30:23.429438-04:00 \ No newline at end of file +2021-02-11T11:22:59.849738+01:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogLogsArchiveS3_basicDeprecated.freeze b/datadog/tests/cassettes/TestAccDatadogLogsArchiveS3_basicDeprecated.freeze index 2857e6088..b751c1ab9 100644 --- a/datadog/tests/cassettes/TestAccDatadogLogsArchiveS3_basicDeprecated.freeze +++ b/datadog/tests/cassettes/TestAccDatadogLogsArchiveS3_basicDeprecated.freeze @@ -1 +1 @@ -2021-05-24T13:30:23.427986-04:00 \ No newline at end of file +2021-02-11T11:22:54.537145+01:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogLogsMetric_Basic.freeze b/datadog/tests/cassettes/TestAccDatadogLogsMetric_Basic.freeze index e0c60fd67..c678ae87b 100644 --- a/datadog/tests/cassettes/TestAccDatadogLogsMetric_Basic.freeze +++ b/datadog/tests/cassettes/TestAccDatadogLogsMetric_Basic.freeze @@ -1 +1 @@ -2021-05-24T13:30:23.464914-04:00 \ No newline at end of file +2021-02-11T19:56:57.265256+01:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogLogsMetric_import.freeze b/datadog/tests/cassettes/TestAccDatadogLogsMetric_import.freeze index cabddc07e..a912e1cbb 100644 --- a/datadog/tests/cassettes/TestAccDatadogLogsMetric_import.freeze +++ b/datadog/tests/cassettes/TestAccDatadogLogsMetric_import.freeze @@ -1 +1 @@ -2021-05-24T13:30:23.469523-04:00 \ No newline at end of file +2021-02-11T19:56:57.261814+01:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogLogsPipelineEmptyFilterQuery.freeze b/datadog/tests/cassettes/TestAccDatadogLogsPipelineEmptyFilterQuery.freeze index 720fdb5ed..6428072bb 100644 --- a/datadog/tests/cassettes/TestAccDatadogLogsPipelineEmptyFilterQuery.freeze +++ b/datadog/tests/cassettes/TestAccDatadogLogsPipelineEmptyFilterQuery.freeze @@ -1 +1 @@ -2021-05-24T13:30:23.433225-04:00 \ No newline at end of file +2021-02-11T12:42:54.635337+01:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogLogsPipeline_basic.freeze b/datadog/tests/cassettes/TestAccDatadogLogsPipeline_basic.freeze index 7389fdada..8c31b6606 100644 --- a/datadog/tests/cassettes/TestAccDatadogLogsPipeline_basic.freeze +++ b/datadog/tests/cassettes/TestAccDatadogLogsPipeline_basic.freeze @@ -1 +1 @@ -2021-05-24T13:30:23.478608-04:00 \ No newline at end of file +2021-02-11T12:42:54.633672+01:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogMetricMetadata_Basic.freeze b/datadog/tests/cassettes/TestAccDatadogMetricMetadata_Basic.freeze index 8123a1422..bd2aae8a2 100644 --- a/datadog/tests/cassettes/TestAccDatadogMetricMetadata_Basic.freeze +++ b/datadog/tests/cassettes/TestAccDatadogMetricMetadata_Basic.freeze @@ -1 +1 @@ -2021-05-24T13:30:23.438378-04:00 \ No newline at end of file +2020-12-31T15:44:34.185227+01:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogMetricMetadata_Updated.freeze b/datadog/tests/cassettes/TestAccDatadogMetricMetadata_Updated.freeze index d4e4b4800..3829f7a62 100644 --- a/datadog/tests/cassettes/TestAccDatadogMetricMetadata_Updated.freeze +++ b/datadog/tests/cassettes/TestAccDatadogMetricMetadata_Updated.freeze @@ -1 +1 @@ -2021-05-24T13:30:23.440163-04:00 \ No newline at end of file +2020-12-31T15:44:35.49207+01:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogMetricTagConfiguration_Error.freeze b/datadog/tests/cassettes/TestAccDatadogMetricTagConfiguration_Error.freeze index d1fe86621..779ac436c 100644 --- a/datadog/tests/cassettes/TestAccDatadogMetricTagConfiguration_Error.freeze +++ b/datadog/tests/cassettes/TestAccDatadogMetricTagConfiguration_Error.freeze @@ -1 +1 @@ -2021-05-24T13:30:23.441741-04:00 \ No newline at end of file +2021-05-03T11:43:36.459701+02:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogMonitorDatasource.freeze b/datadog/tests/cassettes/TestAccDatadogMonitorDatasource.freeze index 1ed0b032c..81bb25223 100644 --- a/datadog/tests/cassettes/TestAccDatadogMonitorDatasource.freeze +++ b/datadog/tests/cassettes/TestAccDatadogMonitorDatasource.freeze @@ -1 +1 @@ -2021-05-24T13:30:23.613391-04:00 \ No newline at end of file +2021-01-12T15:04:25.506015+01:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogMonitorServiceCheck_Basic.freeze b/datadog/tests/cassettes/TestAccDatadogMonitorServiceCheck_Basic.freeze index c7e3eb4af..542d9fe1b 100644 --- a/datadog/tests/cassettes/TestAccDatadogMonitorServiceCheck_Basic.freeze +++ b/datadog/tests/cassettes/TestAccDatadogMonitorServiceCheck_Basic.freeze @@ -1 +1 @@ -2021-05-24T13:30:23.464475-04:00 \ No newline at end of file +2020-12-31T15:44:37.582677+01:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogMonitor_Basic.freeze b/datadog/tests/cassettes/TestAccDatadogMonitor_Basic.freeze index 77df0aa58..66138ca12 100644 --- a/datadog/tests/cassettes/TestAccDatadogMonitor_Basic.freeze +++ b/datadog/tests/cassettes/TestAccDatadogMonitor_Basic.freeze @@ -1 +1 @@ -2021-05-24T13:30:23.464716-04:00 \ No newline at end of file +2020-12-31T15:44:37.581111+01:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogMonitor_BasicNoTreshold.freeze b/datadog/tests/cassettes/TestAccDatadogMonitor_BasicNoTreshold.freeze index 83a1b3bc3..5528825dd 100644 --- a/datadog/tests/cassettes/TestAccDatadogMonitor_BasicNoTreshold.freeze +++ b/datadog/tests/cassettes/TestAccDatadogMonitor_BasicNoTreshold.freeze @@ -1 +1 @@ -2021-05-24T13:30:23.462456-04:00 \ No newline at end of file +2020-12-31T15:44:37.58399+01:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogMonitor_Basic_float_int.freeze b/datadog/tests/cassettes/TestAccDatadogMonitor_Basic_float_int.freeze index 9638a07c9..690f5a0ed 100644 --- a/datadog/tests/cassettes/TestAccDatadogMonitor_Basic_float_int.freeze +++ b/datadog/tests/cassettes/TestAccDatadogMonitor_Basic_float_int.freeze @@ -1 +1 @@ -2021-05-24T13:30:23.456726-04:00 \ No newline at end of file +2021-02-08T15:42:21.319801+01:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogMonitor_ComposeWithSyntheticsTest.freeze b/datadog/tests/cassettes/TestAccDatadogMonitor_ComposeWithSyntheticsTest.freeze index f01aa5218..06e1690b3 100644 --- a/datadog/tests/cassettes/TestAccDatadogMonitor_ComposeWithSyntheticsTest.freeze +++ b/datadog/tests/cassettes/TestAccDatadogMonitor_ComposeWithSyntheticsTest.freeze @@ -1 +1 @@ -2021-05-24T13:30:23.451402-04:00 \ No newline at end of file +2021-04-02T13:12:17.309332+02:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogMonitor_Log.freeze b/datadog/tests/cassettes/TestAccDatadogMonitor_Log.freeze index 051581e30..86c28ee31 100644 --- a/datadog/tests/cassettes/TestAccDatadogMonitor_Log.freeze +++ b/datadog/tests/cassettes/TestAccDatadogMonitor_Log.freeze @@ -1 +1 @@ -2021-05-24T13:30:23.454364-04:00 \ No newline at end of file +2021-03-02T14:57:26.387907+01:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogMonitor_NoThresholdWindows.freeze b/datadog/tests/cassettes/TestAccDatadogMonitor_NoThresholdWindows.freeze index 8ab4b2b28..8b62d1ae6 100644 --- a/datadog/tests/cassettes/TestAccDatadogMonitor_NoThresholdWindows.freeze +++ b/datadog/tests/cassettes/TestAccDatadogMonitor_NoThresholdWindows.freeze @@ -1 +1 @@ -2021-05-24T13:30:23.453649-04:00 \ No newline at end of file +2020-12-31T15:44:37.592494+01:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogMonitor_RestrictedRoles.freeze b/datadog/tests/cassettes/TestAccDatadogMonitor_RestrictedRoles.freeze index 288e7c91f..dd63bd947 100644 --- a/datadog/tests/cassettes/TestAccDatadogMonitor_RestrictedRoles.freeze +++ b/datadog/tests/cassettes/TestAccDatadogMonitor_RestrictedRoles.freeze @@ -1 +1 @@ -2021-05-24T13:30:23.452211-04:00 \ No newline at end of file +2021-01-29T18:41:44.143653-05:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogMonitor_SilencedUpdateNoDiff.freeze b/datadog/tests/cassettes/TestAccDatadogMonitor_SilencedUpdateNoDiff.freeze index 8c9e24018..577d8891f 100644 --- a/datadog/tests/cassettes/TestAccDatadogMonitor_SilencedUpdateNoDiff.freeze +++ b/datadog/tests/cassettes/TestAccDatadogMonitor_SilencedUpdateNoDiff.freeze @@ -1 +1 @@ -2021-05-24T13:30:23.451358-04:00 \ No newline at end of file +2020-12-31T15:44:37.59894+01:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogMonitor_ThresholdWindows.freeze b/datadog/tests/cassettes/TestAccDatadogMonitor_ThresholdWindows.freeze index ef7655d41..dd5e159ee 100644 --- a/datadog/tests/cassettes/TestAccDatadogMonitor_ThresholdWindows.freeze +++ b/datadog/tests/cassettes/TestAccDatadogMonitor_ThresholdWindows.freeze @@ -1 +1 @@ -2021-05-24T13:30:23.454063-04:00 \ No newline at end of file +2020-12-31T15:44:37.593799+01:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogMonitor_TrimWhitespace.freeze b/datadog/tests/cassettes/TestAccDatadogMonitor_TrimWhitespace.freeze index 29cba965e..7850a6ed3 100644 --- a/datadog/tests/cassettes/TestAccDatadogMonitor_TrimWhitespace.freeze +++ b/datadog/tests/cassettes/TestAccDatadogMonitor_TrimWhitespace.freeze @@ -1 +1 @@ -2021-05-24T13:30:23.465571-04:00 \ No newline at end of file +2020-12-31T15:44:37.58812+01:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogMonitor_Updated.freeze b/datadog/tests/cassettes/TestAccDatadogMonitor_Updated.freeze index 719fccc2b..2c3b9f8aa 100644 --- a/datadog/tests/cassettes/TestAccDatadogMonitor_Updated.freeze +++ b/datadog/tests/cassettes/TestAccDatadogMonitor_Updated.freeze @@ -1 +1 @@ -2021-05-24T13:30:23.462597-04:00 \ No newline at end of file +2021-02-01T22:50:15.580497-05:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogMonitor_UpdatedToRemoveTags.freeze b/datadog/tests/cassettes/TestAccDatadogMonitor_UpdatedToRemoveTags.freeze index fde9176a8..83c94a2fc 100644 --- a/datadog/tests/cassettes/TestAccDatadogMonitor_UpdatedToRemoveTags.freeze +++ b/datadog/tests/cassettes/TestAccDatadogMonitor_UpdatedToRemoveTags.freeze @@ -1 +1 @@ -2021-05-24T13:30:23.461873-04:00 \ No newline at end of file +2021-02-01T22:50:15.582315-05:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogMonitor_ZeroDelay.freeze b/datadog/tests/cassettes/TestAccDatadogMonitor_ZeroDelay.freeze index 70d52206a..73b971566 100644 --- a/datadog/tests/cassettes/TestAccDatadogMonitor_ZeroDelay.freeze +++ b/datadog/tests/cassettes/TestAccDatadogMonitor_ZeroDelay.freeze @@ -1 +1 @@ -2021-05-24T13:30:23.451556-04:00 \ No newline at end of file +2020-12-31T15:44:37.601678+01:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogMonitorsDatasource.freeze b/datadog/tests/cassettes/TestAccDatadogMonitorsDatasource.freeze index 2e590d0b6..d65a169ba 100644 --- a/datadog/tests/cassettes/TestAccDatadogMonitorsDatasource.freeze +++ b/datadog/tests/cassettes/TestAccDatadogMonitorsDatasource.freeze @@ -1 +1 @@ -2021-05-24T13:30:23.611949-04:00 \ No newline at end of file +2021-04-29T12:20:30.636712+02:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogPermissionsDatasource.freeze b/datadog/tests/cassettes/TestAccDatadogPermissionsDatasource.freeze index a4f2e8daf..cd23eb674 100644 --- a/datadog/tests/cassettes/TestAccDatadogPermissionsDatasource.freeze +++ b/datadog/tests/cassettes/TestAccDatadogPermissionsDatasource.freeze @@ -1 +1 @@ -2021-05-24T13:30:23.602851-04:00 \ No newline at end of file +2020-12-31T15:41:45.463768+01:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogRoleDatasource.freeze b/datadog/tests/cassettes/TestAccDatadogRoleDatasource.freeze index fadaaa825..f33239ad0 100644 --- a/datadog/tests/cassettes/TestAccDatadogRoleDatasource.freeze +++ b/datadog/tests/cassettes/TestAccDatadogRoleDatasource.freeze @@ -1 +1 @@ -2021-05-24T13:30:23.599059-04:00 \ No newline at end of file +2021-02-15T14:21:57.89198+01:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogRoleDatasourceError.freeze b/datadog/tests/cassettes/TestAccDatadogRoleDatasourceError.freeze index 75a548c26..07065b2c6 100644 --- a/datadog/tests/cassettes/TestAccDatadogRoleDatasourceError.freeze +++ b/datadog/tests/cassettes/TestAccDatadogRoleDatasourceError.freeze @@ -1 +1 @@ -2021-05-24T13:30:23.597488-04:00 \ No newline at end of file +2021-02-15T14:21:57.896103+01:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogRoleDatasourceExactMatch.freeze b/datadog/tests/cassettes/TestAccDatadogRoleDatasourceExactMatch.freeze index fb1742b41..15902d484 100644 --- a/datadog/tests/cassettes/TestAccDatadogRoleDatasourceExactMatch.freeze +++ b/datadog/tests/cassettes/TestAccDatadogRoleDatasourceExactMatch.freeze @@ -1 +1 @@ -2021-05-24T13:30:23.602193-04:00 \ No newline at end of file +2021-02-15T14:21:57.89368+01:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogRole_CreateUpdate.freeze b/datadog/tests/cassettes/TestAccDatadogRole_CreateUpdate.freeze index 1f0db51a1..59d937a4b 100644 --- a/datadog/tests/cassettes/TestAccDatadogRole_CreateUpdate.freeze +++ b/datadog/tests/cassettes/TestAccDatadogRole_CreateUpdate.freeze @@ -1 +1 @@ -2021-05-24T13:30:23.444638-04:00 \ No newline at end of file +2021-02-15T14:21:57.897898+01:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogRole_InvalidPerm.freeze b/datadog/tests/cassettes/TestAccDatadogRole_InvalidPerm.freeze index ef26f548a..9953ed8d1 100644 --- a/datadog/tests/cassettes/TestAccDatadogRole_InvalidPerm.freeze +++ b/datadog/tests/cassettes/TestAccDatadogRole_InvalidPerm.freeze @@ -1 +1 @@ -2021-05-24T13:30:23.689161-04:00 \ No newline at end of file +2021-02-15T14:21:57.899612+01:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogScreenboard_update.freeze b/datadog/tests/cassettes/TestAccDatadogScreenboard_update.freeze index b1fea1322..f5903581e 100644 --- a/datadog/tests/cassettes/TestAccDatadogScreenboard_update.freeze +++ b/datadog/tests/cassettes/TestAccDatadogScreenboard_update.freeze @@ -1 +1 @@ -2021-05-24T13:30:23.680748-04:00 \ No newline at end of file +2020-12-31T15:44:37.613176+01:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogSecurityMonitoringDefaultRule_Basic.freeze b/datadog/tests/cassettes/TestAccDatadogSecurityMonitoringDefaultRule_Basic.freeze index f08f6e7af..6e9959127 100644 --- a/datadog/tests/cassettes/TestAccDatadogSecurityMonitoringDefaultRule_Basic.freeze +++ b/datadog/tests/cassettes/TestAccDatadogSecurityMonitoringDefaultRule_Basic.freeze @@ -1 +1 @@ -2021-05-24T13:30:23.684861-04:00 \ No newline at end of file +2021-03-04T15:17:53.797072+01:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogSecurityMonitoringRuleDatasource.freeze b/datadog/tests/cassettes/TestAccDatadogSecurityMonitoringRuleDatasource.freeze index 8f78de87b..6643238f5 100644 --- a/datadog/tests/cassettes/TestAccDatadogSecurityMonitoringRuleDatasource.freeze +++ b/datadog/tests/cassettes/TestAccDatadogSecurityMonitoringRuleDatasource.freeze @@ -1 +1 @@ -2021-05-24T13:30:23.596175-04:00 \ No newline at end of file +2021-01-22T17:06:40.551462-05:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogSecurityMonitoringRule_Basic.freeze b/datadog/tests/cassettes/TestAccDatadogSecurityMonitoringRule_Basic.freeze index 984ce7ae4..b52ddb00f 100644 --- a/datadog/tests/cassettes/TestAccDatadogSecurityMonitoringRule_Basic.freeze +++ b/datadog/tests/cassettes/TestAccDatadogSecurityMonitoringRule_Basic.freeze @@ -1 +1 @@ -2021-05-24T13:30:23.675297-04:00 \ No newline at end of file +2021-01-22T17:06:52.177162-05:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogSecurityMonitoringRule_Import.freeze b/datadog/tests/cassettes/TestAccDatadogSecurityMonitoringRule_Import.freeze index de4e3f044..bcce8224d 100644 --- a/datadog/tests/cassettes/TestAccDatadogSecurityMonitoringRule_Import.freeze +++ b/datadog/tests/cassettes/TestAccDatadogSecurityMonitoringRule_Import.freeze @@ -1 +1 @@ -2021-05-24T13:30:23.676656-04:00 \ No newline at end of file +2021-01-22T17:06:52.17986-05:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogSecurityMonitoringRule_OnlyRequiredFields.freeze b/datadog/tests/cassettes/TestAccDatadogSecurityMonitoringRule_OnlyRequiredFields.freeze index 984ce7ae4..7ec03b8a5 100644 --- a/datadog/tests/cassettes/TestAccDatadogSecurityMonitoringRule_OnlyRequiredFields.freeze +++ b/datadog/tests/cassettes/TestAccDatadogSecurityMonitoringRule_OnlyRequiredFields.freeze @@ -1 +1 @@ -2021-05-24T13:30:23.675297-04:00 \ No newline at end of file +2021-01-22T17:06:52.178581-05:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogServiceLevelObjectiveDatasource.freeze b/datadog/tests/cassettes/TestAccDatadogServiceLevelObjectiveDatasource.freeze index 9e1a7fc50..a80397e82 100644 --- a/datadog/tests/cassettes/TestAccDatadogServiceLevelObjectiveDatasource.freeze +++ b/datadog/tests/cassettes/TestAccDatadogServiceLevelObjectiveDatasource.freeze @@ -1 +1 @@ -2021-05-24T13:30:23.604673-04:00 \ No newline at end of file +2021-04-30T14:29:18.144871+02:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogServiceLevelObjective_Basic.freeze b/datadog/tests/cassettes/TestAccDatadogServiceLevelObjective_Basic.freeze index 9ab05bd2a..1668812b8 100644 --- a/datadog/tests/cassettes/TestAccDatadogServiceLevelObjective_Basic.freeze +++ b/datadog/tests/cassettes/TestAccDatadogServiceLevelObjective_Basic.freeze @@ -1 +1 @@ -2021-05-24T13:30:23.657719-04:00 \ No newline at end of file +2021-04-15T11:38:12.27234-04:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogServiceLevelObjective_InvalidMonitor.freeze b/datadog/tests/cassettes/TestAccDatadogServiceLevelObjective_InvalidMonitor.freeze index 1ef3236bc..27eb65ca4 100644 --- a/datadog/tests/cassettes/TestAccDatadogServiceLevelObjective_InvalidMonitor.freeze +++ b/datadog/tests/cassettes/TestAccDatadogServiceLevelObjective_InvalidMonitor.freeze @@ -1 +1 @@ -2021-05-24T13:30:23.663465-04:00 \ No newline at end of file +2021-04-15T11:38:12.272342-04:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogServiceLevelObjectivesDatasource.freeze b/datadog/tests/cassettes/TestAccDatadogServiceLevelObjectivesDatasource.freeze index 071153fcb..132e2a5fc 100644 --- a/datadog/tests/cassettes/TestAccDatadogServiceLevelObjectivesDatasource.freeze +++ b/datadog/tests/cassettes/TestAccDatadogServiceLevelObjectivesDatasource.freeze @@ -1 +1 @@ -2021-05-24T13:30:23.593231-04:00 \ No newline at end of file +2021-05-17T10:47:31.90025-04:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogSloCorrection_Basic.freeze b/datadog/tests/cassettes/TestAccDatadogSloCorrection_Basic.freeze index b230712d5..ee33be748 100644 --- a/datadog/tests/cassettes/TestAccDatadogSloCorrection_Basic.freeze +++ b/datadog/tests/cassettes/TestAccDatadogSloCorrection_Basic.freeze @@ -1 +1 @@ -2021-05-24T13:30:23.6631-04:00 \ No newline at end of file +2021-04-15T11:38:24.036199-04:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogSloCorrection_Updated.freeze b/datadog/tests/cassettes/TestAccDatadogSloCorrection_Updated.freeze index 8dce1cedc..547103e59 100644 --- a/datadog/tests/cassettes/TestAccDatadogSloCorrection_Updated.freeze +++ b/datadog/tests/cassettes/TestAccDatadogSloCorrection_Updated.freeze @@ -1 +1 @@ -2021-05-24T13:30:23.661305-04:00 \ No newline at end of file +2021-04-15T11:38:24.036186-04:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogSyntheticsAPITest_Basic.freeze b/datadog/tests/cassettes/TestAccDatadogSyntheticsAPITest_Basic.freeze index 66b78434b..879f983fd 100644 --- a/datadog/tests/cassettes/TestAccDatadogSyntheticsAPITest_Basic.freeze +++ b/datadog/tests/cassettes/TestAccDatadogSyntheticsAPITest_Basic.freeze @@ -1 +1 @@ -2021-05-24T13:30:23.689594-04:00 \ No newline at end of file +2021-03-31T15:11:25.332564+02:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogSyntheticsAPITest_BasicDeprecated.freeze b/datadog/tests/cassettes/TestAccDatadogSyntheticsAPITest_BasicDeprecated.freeze index b4fb74264..66925156e 100644 --- a/datadog/tests/cassettes/TestAccDatadogSyntheticsAPITest_BasicDeprecated.freeze +++ b/datadog/tests/cassettes/TestAccDatadogSyntheticsAPITest_BasicDeprecated.freeze @@ -1 +1 @@ -2021-05-24T13:30:23.619271-04:00 \ No newline at end of file +2021-03-31T15:11:32.566446+02:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogSyntheticsAPITest_BasicNewAssertionsOptions.freeze b/datadog/tests/cassettes/TestAccDatadogSyntheticsAPITest_BasicNewAssertionsOptions.freeze index cf294be80..500c199ff 100644 --- a/datadog/tests/cassettes/TestAccDatadogSyntheticsAPITest_BasicNewAssertionsOptions.freeze +++ b/datadog/tests/cassettes/TestAccDatadogSyntheticsAPITest_BasicNewAssertionsOptions.freeze @@ -1 +1 @@ -2021-05-24T13:30:23.684448-04:00 \ No newline at end of file +2021-03-31T15:11:38.390471+02:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogSyntheticsAPITest_Updated.freeze b/datadog/tests/cassettes/TestAccDatadogSyntheticsAPITest_Updated.freeze index 5fdfbc16a..2dc3e30d4 100644 --- a/datadog/tests/cassettes/TestAccDatadogSyntheticsAPITest_Updated.freeze +++ b/datadog/tests/cassettes/TestAccDatadogSyntheticsAPITest_Updated.freeze @@ -1 +1 @@ -2021-05-24T13:30:23.686571-04:00 \ No newline at end of file +2021-03-31T15:11:44.280001+02:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogSyntheticsAPITest_UpdatedDeprecated.freeze b/datadog/tests/cassettes/TestAccDatadogSyntheticsAPITest_UpdatedDeprecated.freeze index d19cc64da..b34a6c202 100644 --- a/datadog/tests/cassettes/TestAccDatadogSyntheticsAPITest_UpdatedDeprecated.freeze +++ b/datadog/tests/cassettes/TestAccDatadogSyntheticsAPITest_UpdatedDeprecated.freeze @@ -1 +1 @@ -2021-05-24T13:30:23.68682-04:00 \ No newline at end of file +2021-03-31T15:11:52.660906+02:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogSyntheticsAPITest_UpdatedNewAssertionsOptions.freeze b/datadog/tests/cassettes/TestAccDatadogSyntheticsAPITest_UpdatedNewAssertionsOptions.freeze index e7b3d6072..279a536ac 100644 --- a/datadog/tests/cassettes/TestAccDatadogSyntheticsAPITest_UpdatedNewAssertionsOptions.freeze +++ b/datadog/tests/cassettes/TestAccDatadogSyntheticsAPITest_UpdatedNewAssertionsOptions.freeze @@ -1 +1 @@ -2021-05-24T13:30:23.680114-04:00 \ No newline at end of file +2021-03-31T15:12:00.468347+02:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogSyntheticsAPITest_importBasic.freeze b/datadog/tests/cassettes/TestAccDatadogSyntheticsAPITest_importBasic.freeze index dbd5e15da..49c359bcd 100644 --- a/datadog/tests/cassettes/TestAccDatadogSyntheticsAPITest_importBasic.freeze +++ b/datadog/tests/cassettes/TestAccDatadogSyntheticsAPITest_importBasic.freeze @@ -1 +1 @@ -2021-05-24T13:30:23.624985-04:00 \ No newline at end of file +2021-03-31T15:12:07.773378+02:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogSyntheticsBrowserTestBrowserNewBrowserStep_Basic.freeze b/datadog/tests/cassettes/TestAccDatadogSyntheticsBrowserTestBrowserNewBrowserStep_Basic.freeze index af5213908..8682e0b7b 100644 --- a/datadog/tests/cassettes/TestAccDatadogSyntheticsBrowserTestBrowserNewBrowserStep_Basic.freeze +++ b/datadog/tests/cassettes/TestAccDatadogSyntheticsBrowserTestBrowserNewBrowserStep_Basic.freeze @@ -1 +1 @@ -2021-05-24T13:30:23.656767-04:00 \ No newline at end of file +2021-04-08T11:52:28.223822+02:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogSyntheticsBrowserTestBrowserVariables_Basic.freeze b/datadog/tests/cassettes/TestAccDatadogSyntheticsBrowserTestBrowserVariables_Basic.freeze index 1a3d87443..b9dce3404 100644 --- a/datadog/tests/cassettes/TestAccDatadogSyntheticsBrowserTestBrowserVariables_Basic.freeze +++ b/datadog/tests/cassettes/TestAccDatadogSyntheticsBrowserTestBrowserVariables_Basic.freeze @@ -1 +1 @@ -2021-05-24T13:30:23.65509-04:00 \ No newline at end of file +2021-03-31T15:12:24.121473+02:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogSyntheticsBrowserTest_Basic.freeze b/datadog/tests/cassettes/TestAccDatadogSyntheticsBrowserTest_Basic.freeze index 37693b68e..ca67b28ae 100644 --- a/datadog/tests/cassettes/TestAccDatadogSyntheticsBrowserTest_Basic.freeze +++ b/datadog/tests/cassettes/TestAccDatadogSyntheticsBrowserTest_Basic.freeze @@ -1 +1 @@ -2021-05-24T13:30:23.634113-04:00 \ No newline at end of file +2021-04-30T11:05:29.087788+02:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogSyntheticsBrowserTest_Updated.freeze b/datadog/tests/cassettes/TestAccDatadogSyntheticsBrowserTest_Updated.freeze index ec04341ec..4d7bca4c7 100644 --- a/datadog/tests/cassettes/TestAccDatadogSyntheticsBrowserTest_Updated.freeze +++ b/datadog/tests/cassettes/TestAccDatadogSyntheticsBrowserTest_Updated.freeze @@ -1 +1 @@ -2021-05-24T13:30:23.655622-04:00 \ No newline at end of file +2021-04-30T11:58:59.573995+02:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogSyntheticsBrowserTest_importBasic.freeze b/datadog/tests/cassettes/TestAccDatadogSyntheticsBrowserTest_importBasic.freeze index 9d7c2ef84..9d6feb5ef 100644 --- a/datadog/tests/cassettes/TestAccDatadogSyntheticsBrowserTest_importBasic.freeze +++ b/datadog/tests/cassettes/TestAccDatadogSyntheticsBrowserTest_importBasic.freeze @@ -1 +1 @@ -2021-05-24T13:30:23.620852-04:00 \ No newline at end of file +2021-04-30T11:59:17.993561+02:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogSyntheticsDNSTest_Basic.freeze b/datadog/tests/cassettes/TestAccDatadogSyntheticsDNSTest_Basic.freeze index fecf55e3e..eb26b0f87 100644 --- a/datadog/tests/cassettes/TestAccDatadogSyntheticsDNSTest_Basic.freeze +++ b/datadog/tests/cassettes/TestAccDatadogSyntheticsDNSTest_Basic.freeze @@ -1 +1 @@ -2021-05-24T13:30:23.67035-04:00 \ No newline at end of file +2021-04-30T11:46:48.05605+02:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogSyntheticsDNSTest_Updated.freeze b/datadog/tests/cassettes/TestAccDatadogSyntheticsDNSTest_Updated.freeze index c4243ac42..2243ba611 100644 --- a/datadog/tests/cassettes/TestAccDatadogSyntheticsDNSTest_Updated.freeze +++ b/datadog/tests/cassettes/TestAccDatadogSyntheticsDNSTest_Updated.freeze @@ -1 +1 @@ -2021-05-24T13:30:23.669149-04:00 \ No newline at end of file +2021-04-30T11:58:24.541778+02:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogSyntheticsDNSTest_importBasic.freeze b/datadog/tests/cassettes/TestAccDatadogSyntheticsDNSTest_importBasic.freeze index cef14e34a..111088e6d 100644 --- a/datadog/tests/cassettes/TestAccDatadogSyntheticsDNSTest_importBasic.freeze +++ b/datadog/tests/cassettes/TestAccDatadogSyntheticsDNSTest_importBasic.freeze @@ -1 +1 @@ -2021-05-24T13:30:23.619872-04:00 \ No newline at end of file +2021-04-30T11:58:51.485532+02:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogSyntheticsGlobalVariableFromTest_Basic.freeze b/datadog/tests/cassettes/TestAccDatadogSyntheticsGlobalVariableFromTest_Basic.freeze index d78f4e1f1..e0a0be427 100644 --- a/datadog/tests/cassettes/TestAccDatadogSyntheticsGlobalVariableFromTest_Basic.freeze +++ b/datadog/tests/cassettes/TestAccDatadogSyntheticsGlobalVariableFromTest_Basic.freeze @@ -1 +1 @@ -2021-05-24T13:30:23.635284-04:00 \ No newline at end of file +2021-03-31T15:13:12.802537+02:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogSyntheticsGlobalVariableSecure_Basic.freeze b/datadog/tests/cassettes/TestAccDatadogSyntheticsGlobalVariableSecure_Basic.freeze index 8b8fe2060..a4ef2277b 100644 --- a/datadog/tests/cassettes/TestAccDatadogSyntheticsGlobalVariableSecure_Basic.freeze +++ b/datadog/tests/cassettes/TestAccDatadogSyntheticsGlobalVariableSecure_Basic.freeze @@ -1 +1 @@ -2021-05-24T13:30:23.614711-04:00 \ No newline at end of file +2021-03-31T15:13:21.203013+02:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogSyntheticsGlobalVariableSecure_Updated.freeze b/datadog/tests/cassettes/TestAccDatadogSyntheticsGlobalVariableSecure_Updated.freeze index 5e60ded24..4887a3446 100644 --- a/datadog/tests/cassettes/TestAccDatadogSyntheticsGlobalVariableSecure_Updated.freeze +++ b/datadog/tests/cassettes/TestAccDatadogSyntheticsGlobalVariableSecure_Updated.freeze @@ -1 +1 @@ -2021-05-24T13:30:23.633633-04:00 \ No newline at end of file +2021-05-17T14:05:35.08015-04:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogSyntheticsGlobalVariable_Basic.freeze b/datadog/tests/cassettes/TestAccDatadogSyntheticsGlobalVariable_Basic.freeze index d746d7cbb..c77101186 100644 --- a/datadog/tests/cassettes/TestAccDatadogSyntheticsGlobalVariable_Basic.freeze +++ b/datadog/tests/cassettes/TestAccDatadogSyntheticsGlobalVariable_Basic.freeze @@ -1 +1 @@ -2021-05-24T13:30:23.658971-04:00 \ No newline at end of file +2021-03-31T15:13:31.620246+02:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogSyntheticsGlobalVariable_Updated.freeze b/datadog/tests/cassettes/TestAccDatadogSyntheticsGlobalVariable_Updated.freeze index 8ceca1e31..062ca1f10 100644 --- a/datadog/tests/cassettes/TestAccDatadogSyntheticsGlobalVariable_Updated.freeze +++ b/datadog/tests/cassettes/TestAccDatadogSyntheticsGlobalVariable_Updated.freeze @@ -1 +1 @@ -2021-05-24T13:30:23.634501-04:00 \ No newline at end of file +2021-03-31T15:13:36.571469+02:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogSyntheticsGlobalVariable_importBasic.freeze b/datadog/tests/cassettes/TestAccDatadogSyntheticsGlobalVariable_importBasic.freeze index 7daed6808..da86dec8b 100644 --- a/datadog/tests/cassettes/TestAccDatadogSyntheticsGlobalVariable_importBasic.freeze +++ b/datadog/tests/cassettes/TestAccDatadogSyntheticsGlobalVariable_importBasic.freeze @@ -1 +1 @@ -2021-05-24T13:30:23.663238-04:00 \ No newline at end of file +2021-03-31T15:13:41.941383+02:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogSyntheticsICMPTest_Basic.freeze b/datadog/tests/cassettes/TestAccDatadogSyntheticsICMPTest_Basic.freeze index 878f611e9..d0bf8e675 100644 --- a/datadog/tests/cassettes/TestAccDatadogSyntheticsICMPTest_Basic.freeze +++ b/datadog/tests/cassettes/TestAccDatadogSyntheticsICMPTest_Basic.freeze @@ -1 +1 @@ -2021-05-24T13:30:23.669353-04:00 \ No newline at end of file +2021-04-28T08:51:10.526148+02:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogSyntheticsPrivateLocation_Basic.freeze b/datadog/tests/cassettes/TestAccDatadogSyntheticsPrivateLocation_Basic.freeze index e6ad49e89..51405b3e5 100644 --- a/datadog/tests/cassettes/TestAccDatadogSyntheticsPrivateLocation_Basic.freeze +++ b/datadog/tests/cassettes/TestAccDatadogSyntheticsPrivateLocation_Basic.freeze @@ -1 +1 @@ -2021-05-24T13:30:23.625285-04:00 \ No newline at end of file +2021-03-31T15:13:46.541081+02:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogSyntheticsPrivateLocation_Updated.freeze b/datadog/tests/cassettes/TestAccDatadogSyntheticsPrivateLocation_Updated.freeze index 26e9172db..1179e2a75 100644 --- a/datadog/tests/cassettes/TestAccDatadogSyntheticsPrivateLocation_Updated.freeze +++ b/datadog/tests/cassettes/TestAccDatadogSyntheticsPrivateLocation_Updated.freeze @@ -1 +1 @@ -2021-05-24T13:30:23.625891-04:00 \ No newline at end of file +2021-03-31T15:13:51.922153+02:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogSyntheticsPrivateLocation_importBasic.freeze b/datadog/tests/cassettes/TestAccDatadogSyntheticsPrivateLocation_importBasic.freeze index 05699e5f5..f493b5feb 100644 --- a/datadog/tests/cassettes/TestAccDatadogSyntheticsPrivateLocation_importBasic.freeze +++ b/datadog/tests/cassettes/TestAccDatadogSyntheticsPrivateLocation_importBasic.freeze @@ -1 +1 @@ -2021-05-24T13:30:23.629552-04:00 \ No newline at end of file +2021-03-31T15:13:58.727241+02:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogSyntheticsSSLMissingTagsAttributeTest_Basic.freeze b/datadog/tests/cassettes/TestAccDatadogSyntheticsSSLMissingTagsAttributeTest_Basic.freeze index 9a91c9081..643dd8092 100644 --- a/datadog/tests/cassettes/TestAccDatadogSyntheticsSSLMissingTagsAttributeTest_Basic.freeze +++ b/datadog/tests/cassettes/TestAccDatadogSyntheticsSSLMissingTagsAttributeTest_Basic.freeze @@ -1 +1 @@ -2021-05-24T13:30:23.663947-04:00 \ No newline at end of file +2021-03-31T15:14:06.683428+02:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogSyntheticsSSLTest_Basic.freeze b/datadog/tests/cassettes/TestAccDatadogSyntheticsSSLTest_Basic.freeze index 6825abeb6..861e2293a 100644 --- a/datadog/tests/cassettes/TestAccDatadogSyntheticsSSLTest_Basic.freeze +++ b/datadog/tests/cassettes/TestAccDatadogSyntheticsSSLTest_Basic.freeze @@ -1 +1 @@ -2021-05-24T13:30:23.680632-04:00 \ No newline at end of file +2021-03-31T15:14:13.047336+02:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogSyntheticsSSLTest_Updated.freeze b/datadog/tests/cassettes/TestAccDatadogSyntheticsSSLTest_Updated.freeze index fa8ded2cf..ac5006c9d 100644 --- a/datadog/tests/cassettes/TestAccDatadogSyntheticsSSLTest_Updated.freeze +++ b/datadog/tests/cassettes/TestAccDatadogSyntheticsSSLTest_Updated.freeze @@ -1 +1 @@ -2021-05-24T13:30:23.683108-04:00 \ No newline at end of file +2021-03-31T15:14:18.595639+02:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogSyntheticsSSLTest_importBasic.freeze b/datadog/tests/cassettes/TestAccDatadogSyntheticsSSLTest_importBasic.freeze index 5218538cc..8f7dd1675 100644 --- a/datadog/tests/cassettes/TestAccDatadogSyntheticsSSLTest_importBasic.freeze +++ b/datadog/tests/cassettes/TestAccDatadogSyntheticsSSLTest_importBasic.freeze @@ -1 +1 @@ -2021-05-24T13:30:23.625354-04:00 \ No newline at end of file +2021-03-31T15:14:28.090343+02:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogSyntheticsTCPTest_Basic.freeze b/datadog/tests/cassettes/TestAccDatadogSyntheticsTCPTest_Basic.freeze index c993397ac..47b9ade1d 100644 --- a/datadog/tests/cassettes/TestAccDatadogSyntheticsTCPTest_Basic.freeze +++ b/datadog/tests/cassettes/TestAccDatadogSyntheticsTCPTest_Basic.freeze @@ -1 +1 @@ -2021-05-24T13:30:23.672531-04:00 \ No newline at end of file +2021-03-31T15:14:35.244242+02:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogSyntheticsTCPTest_Updated.freeze b/datadog/tests/cassettes/TestAccDatadogSyntheticsTCPTest_Updated.freeze index 4ef962f22..22bbf39e7 100644 --- a/datadog/tests/cassettes/TestAccDatadogSyntheticsTCPTest_Updated.freeze +++ b/datadog/tests/cassettes/TestAccDatadogSyntheticsTCPTest_Updated.freeze @@ -1 +1 @@ -2021-05-24T13:30:23.669249-04:00 \ No newline at end of file +2021-03-31T15:14:40.961224+02:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogSyntheticsTCPTest_importBasic.freeze b/datadog/tests/cassettes/TestAccDatadogSyntheticsTCPTest_importBasic.freeze index 7aa171b30..57e12e135 100644 --- a/datadog/tests/cassettes/TestAccDatadogSyntheticsTCPTest_importBasic.freeze +++ b/datadog/tests/cassettes/TestAccDatadogSyntheticsTCPTest_importBasic.freeze @@ -1 +1 @@ -2021-05-24T13:30:23.622298-04:00 \ No newline at end of file +2021-03-31T15:14:48.939141+02:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogSyntheticsTestBrowserMML_Basic.freeze b/datadog/tests/cassettes/TestAccDatadogSyntheticsTestBrowserMML_Basic.freeze index a64d97222..730860f87 100644 --- a/datadog/tests/cassettes/TestAccDatadogSyntheticsTestBrowserMML_Basic.freeze +++ b/datadog/tests/cassettes/TestAccDatadogSyntheticsTestBrowserMML_Basic.freeze @@ -1 +1 @@ -2021-05-24T13:30:23.645922-04:00 \ No newline at end of file +2021-04-02T11:59:44.77686+02:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogSyntheticsTestMultistepApi_Basic.freeze b/datadog/tests/cassettes/TestAccDatadogSyntheticsTestMultistepApi_Basic.freeze index c174e6555..2f6f8c92e 100644 --- a/datadog/tests/cassettes/TestAccDatadogSyntheticsTestMultistepApi_Basic.freeze +++ b/datadog/tests/cassettes/TestAccDatadogSyntheticsTestMultistepApi_Basic.freeze @@ -1 +1 @@ -2021-05-24T13:30:23.649018-04:00 \ No newline at end of file +2021-04-30T11:57:49.509326+02:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogTimeboard_update.freeze b/datadog/tests/cassettes/TestAccDatadogTimeboard_update.freeze index 41ac4cb3c..8eb856790 100644 --- a/datadog/tests/cassettes/TestAccDatadogTimeboard_update.freeze +++ b/datadog/tests/cassettes/TestAccDatadogTimeboard_update.freeze @@ -1 +1 @@ -2021-05-24T13:30:23.653217-04:00 \ No newline at end of file +2020-12-31T15:44:37.719751+01:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogUser_Existing.freeze b/datadog/tests/cassettes/TestAccDatadogUser_Existing.freeze index fd52ee784..624106099 100644 --- a/datadog/tests/cassettes/TestAccDatadogUser_Existing.freeze +++ b/datadog/tests/cassettes/TestAccDatadogUser_Existing.freeze @@ -1 +1 @@ -2021-05-24T13:30:23.649317-04:00 \ No newline at end of file +2021-02-16T10:56:59.630091+01:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogUser_Invitation.freeze b/datadog/tests/cassettes/TestAccDatadogUser_Invitation.freeze index a2c19519b..0cab3b469 100644 --- a/datadog/tests/cassettes/TestAccDatadogUser_Invitation.freeze +++ b/datadog/tests/cassettes/TestAccDatadogUser_Invitation.freeze @@ -1 +1 @@ -2021-05-24T13:30:23.64287-04:00 \ No newline at end of file +2021-02-16T10:56:59.625752+01:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogUser_NoInvitation.freeze b/datadog/tests/cassettes/TestAccDatadogUser_NoInvitation.freeze index 3b423aa30..3974c81e0 100644 --- a/datadog/tests/cassettes/TestAccDatadogUser_NoInvitation.freeze +++ b/datadog/tests/cassettes/TestAccDatadogUser_NoInvitation.freeze @@ -1 +1 @@ -2021-05-24T13:30:23.642031-04:00 \ No newline at end of file +2021-02-16T10:56:59.628383+01:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogUser_RoleDatasource.freeze b/datadog/tests/cassettes/TestAccDatadogUser_RoleDatasource.freeze index 4ac2bc8e1..35d767b15 100644 --- a/datadog/tests/cassettes/TestAccDatadogUser_RoleDatasource.freeze +++ b/datadog/tests/cassettes/TestAccDatadogUser_RoleDatasource.freeze @@ -1 +1 @@ -2021-05-24T13:30:23.637262-04:00 \ No newline at end of file +2021-02-16T10:56:59.631949+01:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogUser_UpdateRole.freeze b/datadog/tests/cassettes/TestAccDatadogUser_UpdateRole.freeze index c4f546ee1..1c32a74d8 100644 --- a/datadog/tests/cassettes/TestAccDatadogUser_UpdateRole.freeze +++ b/datadog/tests/cassettes/TestAccDatadogUser_UpdateRole.freeze @@ -1 +1 @@ -2021-05-24T13:30:23.635648-04:00 \ No newline at end of file +2021-02-16T10:56:59.634428+01:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogUser_Updated.freeze b/datadog/tests/cassettes/TestAccDatadogUser_Updated.freeze index 1914bc1bb..d286fd30b 100644 --- a/datadog/tests/cassettes/TestAccDatadogUser_Updated.freeze +++ b/datadog/tests/cassettes/TestAccDatadogUser_Updated.freeze @@ -1 +1 @@ -2021-05-24T13:30:23.641533-04:00 \ No newline at end of file +2021-02-16T10:56:59.624166+01:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatatogSyntheticsLocation_existing.freeze b/datadog/tests/cassettes/TestAccDatatogSyntheticsLocation_existing.freeze index 6811a3597..2ca5290d1 100644 --- a/datadog/tests/cassettes/TestAccDatatogSyntheticsLocation_existing.freeze +++ b/datadog/tests/cassettes/TestAccDatatogSyntheticsLocation_existing.freeze @@ -1 +1 @@ -2021-05-24T13:30:23.589537-04:00 \ No newline at end of file +2021-03-31T13:21:32.834711+02:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccLogsCustomPipeline_importBasic.freeze b/datadog/tests/cassettes/TestAccLogsCustomPipeline_importBasic.freeze index 60cf3aee8..62ab4bf5a 100644 --- a/datadog/tests/cassettes/TestAccLogsCustomPipeline_importBasic.freeze +++ b/datadog/tests/cassettes/TestAccLogsCustomPipeline_importBasic.freeze @@ -1 +1 @@ -2021-05-24T13:30:23.588972-04:00 \ No newline at end of file +2021-02-11T18:53:32.609954+01:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestDatadogDashListImport.freeze b/datadog/tests/cassettes/TestDatadogDashListImport.freeze index 6812f1510..a7d3318d5 100644 --- a/datadog/tests/cassettes/TestDatadogDashListImport.freeze +++ b/datadog/tests/cassettes/TestDatadogDashListImport.freeze @@ -1 +1 @@ -2021-05-24T13:30:23.366389-04:00 \ No newline at end of file +2021-05-14T09:02:16.039788+02:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestDatadogDashListInDashboard.freeze b/datadog/tests/cassettes/TestDatadogDashListInDashboard.freeze index 3b748e502..44cafa7d5 100644 --- a/datadog/tests/cassettes/TestDatadogDashListInDashboard.freeze +++ b/datadog/tests/cassettes/TestDatadogDashListInDashboard.freeze @@ -1 +1 @@ -2021-05-24T13:30:23.367766-04:00 \ No newline at end of file +2020-12-31T15:42:08.157786+01:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestDatadogDowntime_import.freeze b/datadog/tests/cassettes/TestDatadogDowntime_import.freeze index 12b550f51..98335c30f 100644 --- a/datadog/tests/cassettes/TestDatadogDowntime_import.freeze +++ b/datadog/tests/cassettes/TestDatadogDowntime_import.freeze @@ -1 +1 @@ -2021-05-24T13:30:23.32961-04:00 \ No newline at end of file +2020-12-31T15:42:02.854961+01:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestDatadogIntegrationPagerduty_import.freeze b/datadog/tests/cassettes/TestDatadogIntegrationPagerduty_import.freeze index d36ebb6aa..90c555060 100644 --- a/datadog/tests/cassettes/TestDatadogIntegrationPagerduty_import.freeze +++ b/datadog/tests/cassettes/TestDatadogIntegrationPagerduty_import.freeze @@ -1 +1 @@ -2021-05-24T13:30:23.331894-04:00 \ No newline at end of file +2020-12-31T15:42:04.377732+01:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestDatadogMonitor_import.freeze b/datadog/tests/cassettes/TestDatadogMonitor_import.freeze index 6eccfa7c1..361cf077a 100644 --- a/datadog/tests/cassettes/TestDatadogMonitor_import.freeze +++ b/datadog/tests/cassettes/TestDatadogMonitor_import.freeze @@ -1 +1 @@ -2021-05-24T13:30:23.589543-04:00 \ No newline at end of file +2021-03-31T13:23:09.294353+02:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestDatadogMonitor_importNoDataTimeFrame.freeze b/datadog/tests/cassettes/TestDatadogMonitor_importNoDataTimeFrame.freeze index 9c3135937..10a90fa04 100644 --- a/datadog/tests/cassettes/TestDatadogMonitor_importNoDataTimeFrame.freeze +++ b/datadog/tests/cassettes/TestDatadogMonitor_importNoDataTimeFrame.freeze @@ -1 +1 @@ -2021-05-24T13:30:23.582427-04:00 \ No newline at end of file +2021-03-31T13:23:09.29527+02:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestDatadogMonitor_import_no_recovery.freeze b/datadog/tests/cassettes/TestDatadogMonitor_import_no_recovery.freeze index 0a9a512e4..b9cb04e4c 100644 --- a/datadog/tests/cassettes/TestDatadogMonitor_import_no_recovery.freeze +++ b/datadog/tests/cassettes/TestDatadogMonitor_import_no_recovery.freeze @@ -1 +1 @@ -2021-05-24T13:30:23.590149-04:00 \ No newline at end of file +2021-03-31T13:23:09.294741+02:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestDatadogUser_import.freeze b/datadog/tests/cassettes/TestDatadogUser_import.freeze index a45d6a8ad..46eacb720 100644 --- a/datadog/tests/cassettes/TestDatadogUser_import.freeze +++ b/datadog/tests/cassettes/TestDatadogUser_import.freeze @@ -1 +1 @@ -2021-05-24T13:30:23.582211-04:00 \ No newline at end of file +2021-01-06T12:17:26.582261+01:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestProvider.freeze b/datadog/tests/cassettes/TestProvider.freeze index 444009ca3..d1f4960ac 100644 --- a/datadog/tests/cassettes/TestProvider.freeze +++ b/datadog/tests/cassettes/TestProvider.freeze @@ -1 +1 @@ -2021-05-24T13:30:23.335123-04:00 \ No newline at end of file +2020-12-31T15:42:08.065993+01:00 \ No newline at end of file From 642e29f800b1675b63df2a551f7d47997e88b115 Mon Sep 17 00:00:00 2001 From: Qin Cheng Chen Date: Mon, 24 May 2021 23:37:48 -0400 Subject: [PATCH 14/22] try to fix TestAccDatadogDashboardGeomap --- .../TestAccDatadogDashboardGeomap.freeze | 2 +- .../TestAccDatadogDashboardGeomap.yaml | 80 ++++++++-------- ...estAccDatadogDashboardGeomapFormula.freeze | 2 +- .../TestAccDatadogDashboardGeomapFormula.yaml | 82 ++++++++--------- ...atadogDashboardGeomapFormula_import.freeze | 2 +- ...cDatadogDashboardGeomapFormula_import.yaml | 90 +++++++++--------- ...estAccDatadogDashboardGeomap_import.freeze | 2 +- .../TestAccDatadogDashboardGeomap_import.yaml | 92 +++++++++---------- 8 files changed, 176 insertions(+), 176 deletions(-) diff --git a/datadog/tests/cassettes/TestAccDatadogDashboardGeomap.freeze b/datadog/tests/cassettes/TestAccDatadogDashboardGeomap.freeze index 8ca2823e9..0847d7b1d 100644 --- a/datadog/tests/cassettes/TestAccDatadogDashboardGeomap.freeze +++ b/datadog/tests/cassettes/TestAccDatadogDashboardGeomap.freeze @@ -1 +1 @@ -2021-04-27T08:58:27.619962+02:00 \ No newline at end of file +2021-05-24T23:35:50.553646-04:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogDashboardGeomap.yaml b/datadog/tests/cassettes/TestAccDatadogDashboardGeomap.yaml index 102e0b283..f9aeb5173 100644 --- a/datadog/tests/cassettes/TestAccDatadogDashboardGeomap.yaml +++ b/datadog/tests/cassettes/TestAccDatadogDashboardGeomap.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-TestAccDatadogDashboardGeomap-local-1619506707","widgets":[{"definition":{"requests":[{"q":"avg:system.load.1{*}"}],"style":{"palette":"hostmap_blues","palette_flip":false},"type":"geomap","view":{"focus":"WORLD"}}},{"definition":{"custom_links":[{"label":"Test Custom Link label","link":"https://app.datadoghq.com/dashboard/lists"}],"requests":[{"log_query":{"compute":{"aggregation":"count"},"index":"*","search":{"query":""}}}],"style":{"palette":"hostmap_blues","palette_flip":false},"time":{"live_span":"1h"},"type":"geomap","view":{"focus":"WORLD"}}},{"definition":{"requests":[{"rum_query":{"compute":{"aggregation":"count"},"index":"*","search":{"query":""}}}],"style":{"palette":"hostmap_blues","palette_flip":false},"time":{"live_span":"4h"},"type":"geomap","view":{"focus":"WORLD"}}}]} + {"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-TestAccDatadogDashboardGeomap-local-1621913750","widgets":[{"definition":{"requests":[{"q":"avg:system.load.1{*}"}],"style":{"palette":"hostmap_blues","palette_flip":false},"type":"geomap","view":{"focus":"WORLD"}}},{"definition":{"custom_links":[{"label":"Test Custom Link label","link":"https://app.datadoghq.com/dashboard/lists"},{"is_hidden":true,"link":"https://app.datadoghq.com/dashboard/lists","override_label":"logs"}],"requests":[{"log_query":{"compute":{"aggregation":"count"},"index":"*","search":{"query":""}}}],"style":{"palette":"hostmap_blues","palette_flip":false},"time":{"live_span":"1h"},"type":"geomap","view":{"focus":"WORLD"}}},{"definition":{"requests":[{"rum_query":{"compute":{"aggregation":"count"},"index":"*","search":{"query":""}}}],"style":{"palette":"hostmap_blues","palette_flip":false},"time":{"live_span":"4h"},"type":"geomap","view":{"focus":"WORLD"}}}]} form: {} headers: Accept: @@ -13,11 +13,11 @@ interactions: Dd-Operation-Id: - CreateDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.19 (go go1.15.7; os darwin; arch amd64) + - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) 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":"3s6-igk-ih5","title":"tf-TestAccDatadogDashboardGeomap-local-1619506707","url":"/dashboard/3s6-igk-ih5/tf-testaccdatadogdashboardgeomap-local-1619506707","created_at":"2021-04-27T06:58:29.156444+00:00","modified_at":"2021-04-27T06:58:29.156444+00:00","author_handle":"frog@datadoghq.com","widgets":[{"definition":{"requests":[{"q":"avg:system.load.1{*}"}],"type":"geomap","style":{"palette":"hostmap_blues","palette_flip":false},"view":{"focus":"WORLD"}},"id":2235960280314117},{"definition":{"style":{"palette":"hostmap_blues","palette_flip":false},"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test Custom Link label"}],"time":{"live_span":"1h"},"requests":[{"log_query":{"index":"*","search":{"query":""},"compute":{"aggregation":"count"}}}],"type":"geomap","view":{"focus":"WORLD"}},"id":481676151794705},{"definition":{"requests":[{"rum_query":{"index":"*","search":{"query":""},"compute":{"aggregation":"count"}}}],"view":{"focus":"WORLD"},"type":"geomap","style":{"palette":"hostmap_blues","palette_flip":false},"time":{"live_span":"4h"}},"id":2786918167906999}],"layout_type":"ordered"}' + body: '{"notify_list":[],"description":"Created using the Datadog provider in Terraform","restricted_roles":["043a2842-e140-11e8-bb04-7fd10177666e","08604de8-1dca-11eb-800c-9f5f55ff734d","1302282c-b93b-11eb-a436-da7ad0900002","16169788-28e4-11eb-832c-fb84162ef3eb","17d73994-7531-11eb-94b9-da7ad0900002","284d8b66-93f9-11eb-9c37-da7ad0900002","4de53192-9946-11eb-9cee-da7ad0900002","62cbc476-5c16-11eb-8e98-0388ea7a41f8","657de3a2-29f8-11eb-83b5-6b8ebfb2f184","6bf314be-5c16-11eb-8e98-2356ea436065","7a83f306-96ca-11eb-9c74-da7ad0900002","9b3ab170-b768-11eb-a45a-da7ad0900002","e82bf27a-986c-11eb-9cba-da7ad0900002","f257ba30-dbb2-11ea-a5ff-5fd1d308318a"],"author_name":"Qin Chen","template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"g83-uv4-2ay","title":"tf-TestAccDatadogDashboardGeomap-local-1621913750","url":"/dashboard/g83-uv4-2ay/tf-testaccdatadogdashboardgeomap-local-1621913750","created_at":"2021-05-25T03:35:52.135280+00:00","modified_at":"2021-05-25T03:35:52.135280+00:00","author_handle":"qin.chen@datadoghq.com","widgets":[{"definition":{"requests":[{"q":"avg:system.load.1{*}"}],"type":"geomap","style":{"palette":"hostmap_blues","palette_flip":false},"view":{"focus":"WORLD"}},"id":6817892829760541},{"definition":{"style":{"palette":"hostmap_blues","palette_flip":false},"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test Custom Link label"},{"override_label":"logs","is_hidden":true,"link":"https://app.datadoghq.com/dashboard/lists"}],"time":{"live_span":"1h"},"requests":[{"log_query":{"index":"*","search":{"query":""},"compute":{"aggregation":"count"}}}],"type":"geomap","view":{"focus":"WORLD"}},"id":3265018275083362},{"definition":{"requests":[{"rum_query":{"index":"*","search":{"query":""},"compute":{"aggregation":"count"}}}],"view":{"focus":"WORLD"},"type":"geomap","style":{"palette":"hostmap_blues","palette_flip":false},"time":{"live_span":"4h"}},"id":3851134700073453}],"layout_type":"ordered"}' headers: Cache-Control: - no-cache @@ -28,7 +28,7 @@ interactions: Content-Type: - application/json Date: - - Tue, 27 Apr 2021 06:58:32 GMT + - Tue, 25 May 2021 03:35:52 GMT Pragma: - no-cache Strict-Transport-Security: @@ -38,9 +38,9 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Debug: - - gYZcaADwbKcv7Hm19HJx6WsLoKuOijDWAt2viPeCfWqUgyKY+9e1xZdmMJeXV3YV + - B1nwy/pPNqX+q4pQT22cdp1QCexE35IF8qwSHy0Nf7IW0Y881qtn4tXN1lpmzaKc X-Dd-Version: - - "35.4397207" + - "35.4598224" X-Frame-Options: - SAMEORIGIN status: 200 OK @@ -55,11 +55,11 @@ interactions: Dd-Operation-Id: - GetDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.19 (go go1.15.7; os darwin; arch amd64) - url: https://api.datadoghq.com/api/v1/dashboard/3s6-igk-ih5 + - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) + url: https://api.datadoghq.com/api/v1/dashboard/g83-uv4-2ay 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":"3s6-igk-ih5","title":"tf-TestAccDatadogDashboardGeomap-local-1619506707","url":"/dashboard/3s6-igk-ih5/tf-testaccdatadogdashboardgeomap-local-1619506707","created_at":"2021-04-27T06:58:29.156444+00:00","modified_at":"2021-04-27T06:58:29.156444+00:00","author_handle":"frog@datadoghq.com","widgets":[{"definition":{"requests":[{"q":"avg:system.load.1{*}"}],"type":"geomap","style":{"palette":"hostmap_blues","palette_flip":false},"view":{"focus":"WORLD"}},"id":2235960280314117},{"definition":{"style":{"palette":"hostmap_blues","palette_flip":false},"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test Custom Link label"}],"time":{"live_span":"1h"},"requests":[{"log_query":{"index":"*","search":{"query":""},"compute":{"aggregation":"count"}}}],"type":"geomap","view":{"focus":"WORLD"}},"id":481676151794705},{"definition":{"requests":[{"rum_query":{"index":"*","search":{"query":""},"compute":{"aggregation":"count"}}}],"view":{"focus":"WORLD"},"type":"geomap","style":{"palette":"hostmap_blues","palette_flip":false},"time":{"live_span":"4h"}},"id":2786918167906999}],"layout_type":"ordered"}' + body: '{"notify_list":[],"description":"Created using the Datadog provider in Terraform","restricted_roles":["284d8b66-93f9-11eb-9c37-da7ad0900002","043a2842-e140-11e8-bb04-7fd10177666e","657de3a2-29f8-11eb-83b5-6b8ebfb2f184","e82bf27a-986c-11eb-9cba-da7ad0900002","f257ba30-dbb2-11ea-a5ff-5fd1d308318a","6bf314be-5c16-11eb-8e98-2356ea436065","62cbc476-5c16-11eb-8e98-0388ea7a41f8","08604de8-1dca-11eb-800c-9f5f55ff734d","9b3ab170-b768-11eb-a45a-da7ad0900002","7a83f306-96ca-11eb-9c74-da7ad0900002","16169788-28e4-11eb-832c-fb84162ef3eb","4de53192-9946-11eb-9cee-da7ad0900002","1302282c-b93b-11eb-a436-da7ad0900002","17d73994-7531-11eb-94b9-da7ad0900002"],"author_name":"Qin Chen","template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"g83-uv4-2ay","title":"tf-TestAccDatadogDashboardGeomap-local-1621913750","url":"/dashboard/g83-uv4-2ay/tf-testaccdatadogdashboardgeomap-local-1621913750","created_at":"2021-05-25T03:35:52.135280+00:00","modified_at":"2021-05-25T03:35:52.135280+00:00","author_handle":"qin.chen@datadoghq.com","widgets":[{"definition":{"requests":[{"q":"avg:system.load.1{*}"}],"type":"geomap","style":{"palette":"hostmap_blues","palette_flip":false},"view":{"focus":"WORLD"}},"id":6817892829760541},{"definition":{"style":{"palette":"hostmap_blues","palette_flip":false},"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test Custom Link label"},{"override_label":"logs","is_hidden":true,"link":"https://app.datadoghq.com/dashboard/lists"}],"time":{"live_span":"1h"},"requests":[{"log_query":{"index":"*","search":{"query":""},"compute":{"aggregation":"count"}}}],"type":"geomap","view":{"focus":"WORLD"}},"id":3265018275083362},{"definition":{"requests":[{"rum_query":{"index":"*","search":{"query":""},"compute":{"aggregation":"count"}}}],"view":{"focus":"WORLD"},"type":"geomap","style":{"palette":"hostmap_blues","palette_flip":false},"time":{"live_span":"4h"}},"id":3851134700073453}],"layout_type":"ordered"}' headers: Cache-Control: - no-cache @@ -70,7 +70,7 @@ interactions: Content-Type: - application/json Date: - - Tue, 27 Apr 2021 06:58:32 GMT + - Tue, 25 May 2021 03:35:52 GMT Pragma: - no-cache Strict-Transport-Security: @@ -80,9 +80,9 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Debug: - - twvpGlmuom5y6A0pjGtXzTf554cmwJgTcCZ71fK4H/RDi+v5ehBK0zQiRcTJQG5C + - 25u1gDlL724DHllbjFT4BhOLorBTilh+aah2uWAUEjFC/+rjczJdiyWrV/HwLwe/ X-Dd-Version: - - "35.4397207" + - "35.4598224" X-Frame-Options: - SAMEORIGIN status: 200 OK @@ -97,11 +97,11 @@ interactions: Dd-Operation-Id: - GetDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.19 (go go1.15.7; os darwin; arch amd64) - url: https://api.datadoghq.com/api/v1/dashboard/3s6-igk-ih5 + - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) + url: https://api.datadoghq.com/api/v1/dashboard/g83-uv4-2ay 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":"3s6-igk-ih5","title":"tf-TestAccDatadogDashboardGeomap-local-1619506707","url":"/dashboard/3s6-igk-ih5/tf-testaccdatadogdashboardgeomap-local-1619506707","created_at":"2021-04-27T06:58:29.156444+00:00","modified_at":"2021-04-27T06:58:29.156444+00:00","author_handle":"frog@datadoghq.com","widgets":[{"definition":{"requests":[{"q":"avg:system.load.1{*}"}],"type":"geomap","style":{"palette":"hostmap_blues","palette_flip":false},"view":{"focus":"WORLD"}},"id":2235960280314117},{"definition":{"style":{"palette":"hostmap_blues","palette_flip":false},"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test Custom Link label"}],"time":{"live_span":"1h"},"requests":[{"log_query":{"index":"*","search":{"query":""},"compute":{"aggregation":"count"}}}],"type":"geomap","view":{"focus":"WORLD"}},"id":481676151794705},{"definition":{"requests":[{"rum_query":{"index":"*","search":{"query":""},"compute":{"aggregation":"count"}}}],"view":{"focus":"WORLD"},"type":"geomap","style":{"palette":"hostmap_blues","palette_flip":false},"time":{"live_span":"4h"}},"id":2786918167906999}],"layout_type":"ordered"}' + body: '{"notify_list":[],"description":"Created using the Datadog provider in Terraform","restricted_roles":["284d8b66-93f9-11eb-9c37-da7ad0900002","043a2842-e140-11e8-bb04-7fd10177666e","657de3a2-29f8-11eb-83b5-6b8ebfb2f184","e82bf27a-986c-11eb-9cba-da7ad0900002","f257ba30-dbb2-11ea-a5ff-5fd1d308318a","6bf314be-5c16-11eb-8e98-2356ea436065","62cbc476-5c16-11eb-8e98-0388ea7a41f8","08604de8-1dca-11eb-800c-9f5f55ff734d","9b3ab170-b768-11eb-a45a-da7ad0900002","7a83f306-96ca-11eb-9c74-da7ad0900002","16169788-28e4-11eb-832c-fb84162ef3eb","4de53192-9946-11eb-9cee-da7ad0900002","1302282c-b93b-11eb-a436-da7ad0900002","17d73994-7531-11eb-94b9-da7ad0900002"],"author_name":"Qin Chen","template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"g83-uv4-2ay","title":"tf-TestAccDatadogDashboardGeomap-local-1621913750","url":"/dashboard/g83-uv4-2ay/tf-testaccdatadogdashboardgeomap-local-1621913750","created_at":"2021-05-25T03:35:52.135280+00:00","modified_at":"2021-05-25T03:35:52.135280+00:00","author_handle":"qin.chen@datadoghq.com","widgets":[{"definition":{"requests":[{"q":"avg:system.load.1{*}"}],"type":"geomap","style":{"palette":"hostmap_blues","palette_flip":false},"view":{"focus":"WORLD"}},"id":6817892829760541},{"definition":{"style":{"palette":"hostmap_blues","palette_flip":false},"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test Custom Link label"},{"override_label":"logs","is_hidden":true,"link":"https://app.datadoghq.com/dashboard/lists"}],"time":{"live_span":"1h"},"requests":[{"log_query":{"index":"*","search":{"query":""},"compute":{"aggregation":"count"}}}],"type":"geomap","view":{"focus":"WORLD"}},"id":3265018275083362},{"definition":{"requests":[{"rum_query":{"index":"*","search":{"query":""},"compute":{"aggregation":"count"}}}],"view":{"focus":"WORLD"},"type":"geomap","style":{"palette":"hostmap_blues","palette_flip":false},"time":{"live_span":"4h"}},"id":3851134700073453}],"layout_type":"ordered"}' headers: Cache-Control: - no-cache @@ -112,7 +112,7 @@ interactions: Content-Type: - application/json Date: - - Tue, 27 Apr 2021 06:58:32 GMT + - Tue, 25 May 2021 03:35:52 GMT Pragma: - no-cache Strict-Transport-Security: @@ -122,9 +122,9 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Debug: - - F5gm0Rce1/Abr9/0Fw8HAqWfiz0FdiH8er/AXnN6lOn3L6KyGgbsLCwgPlob1No8 + - l8RQo2maZqJf6GFThBbKNE6dvthz6njusVtau3dPXJWL2RLFoN81H+BLPB/1xgs1 X-Dd-Version: - - "35.4397207" + - "35.4598224" X-Frame-Options: - SAMEORIGIN status: 200 OK @@ -139,11 +139,11 @@ interactions: Dd-Operation-Id: - GetDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.19 (go go1.15.7; os darwin; arch amd64) - url: https://api.datadoghq.com/api/v1/dashboard/3s6-igk-ih5 + - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) + url: https://api.datadoghq.com/api/v1/dashboard/g83-uv4-2ay 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":"3s6-igk-ih5","title":"tf-TestAccDatadogDashboardGeomap-local-1619506707","url":"/dashboard/3s6-igk-ih5/tf-testaccdatadogdashboardgeomap-local-1619506707","created_at":"2021-04-27T06:58:29.156444+00:00","modified_at":"2021-04-27T06:58:29.156444+00:00","author_handle":"frog@datadoghq.com","widgets":[{"definition":{"requests":[{"q":"avg:system.load.1{*}"}],"type":"geomap","style":{"palette":"hostmap_blues","palette_flip":false},"view":{"focus":"WORLD"}},"id":2235960280314117},{"definition":{"style":{"palette":"hostmap_blues","palette_flip":false},"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test Custom Link label"}],"time":{"live_span":"1h"},"requests":[{"log_query":{"index":"*","search":{"query":""},"compute":{"aggregation":"count"}}}],"type":"geomap","view":{"focus":"WORLD"}},"id":481676151794705},{"definition":{"requests":[{"rum_query":{"index":"*","search":{"query":""},"compute":{"aggregation":"count"}}}],"view":{"focus":"WORLD"},"type":"geomap","style":{"palette":"hostmap_blues","palette_flip":false},"time":{"live_span":"4h"}},"id":2786918167906999}],"layout_type":"ordered"}' + body: '{"notify_list":[],"description":"Created using the Datadog provider in Terraform","restricted_roles":["284d8b66-93f9-11eb-9c37-da7ad0900002","043a2842-e140-11e8-bb04-7fd10177666e","657de3a2-29f8-11eb-83b5-6b8ebfb2f184","e82bf27a-986c-11eb-9cba-da7ad0900002","f257ba30-dbb2-11ea-a5ff-5fd1d308318a","6bf314be-5c16-11eb-8e98-2356ea436065","62cbc476-5c16-11eb-8e98-0388ea7a41f8","08604de8-1dca-11eb-800c-9f5f55ff734d","9b3ab170-b768-11eb-a45a-da7ad0900002","7a83f306-96ca-11eb-9c74-da7ad0900002","16169788-28e4-11eb-832c-fb84162ef3eb","4de53192-9946-11eb-9cee-da7ad0900002","1302282c-b93b-11eb-a436-da7ad0900002","17d73994-7531-11eb-94b9-da7ad0900002"],"author_name":"Qin Chen","template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"g83-uv4-2ay","title":"tf-TestAccDatadogDashboardGeomap-local-1621913750","url":"/dashboard/g83-uv4-2ay/tf-testaccdatadogdashboardgeomap-local-1621913750","created_at":"2021-05-25T03:35:52.135280+00:00","modified_at":"2021-05-25T03:35:52.135280+00:00","author_handle":"qin.chen@datadoghq.com","widgets":[{"definition":{"requests":[{"q":"avg:system.load.1{*}"}],"type":"geomap","style":{"palette":"hostmap_blues","palette_flip":false},"view":{"focus":"WORLD"}},"id":6817892829760541},{"definition":{"style":{"palette":"hostmap_blues","palette_flip":false},"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test Custom Link label"},{"override_label":"logs","is_hidden":true,"link":"https://app.datadoghq.com/dashboard/lists"}],"time":{"live_span":"1h"},"requests":[{"log_query":{"index":"*","search":{"query":""},"compute":{"aggregation":"count"}}}],"type":"geomap","view":{"focus":"WORLD"}},"id":3265018275083362},{"definition":{"requests":[{"rum_query":{"index":"*","search":{"query":""},"compute":{"aggregation":"count"}}}],"view":{"focus":"WORLD"},"type":"geomap","style":{"palette":"hostmap_blues","palette_flip":false},"time":{"live_span":"4h"}},"id":3851134700073453}],"layout_type":"ordered"}' headers: Cache-Control: - no-cache @@ -154,7 +154,7 @@ interactions: Content-Type: - application/json Date: - - Tue, 27 Apr 2021 06:58:33 GMT + - Tue, 25 May 2021 03:35:53 GMT Pragma: - no-cache Strict-Transport-Security: @@ -166,7 +166,7 @@ interactions: X-Dd-Debug: - tpRCH6w417YjBovRJ8VmtuXmNONVYiRp2c8d2AxjPdGBn8PCtgG4vAztrx3qUZAN X-Dd-Version: - - "35.4397207" + - "35.4598224" X-Frame-Options: - SAMEORIGIN status: 200 OK @@ -181,11 +181,11 @@ interactions: Dd-Operation-Id: - GetDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.19 (go go1.15.7; os darwin; arch amd64) - url: https://api.datadoghq.com/api/v1/dashboard/3s6-igk-ih5 + - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) + url: https://api.datadoghq.com/api/v1/dashboard/g83-uv4-2ay 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":"3s6-igk-ih5","title":"tf-TestAccDatadogDashboardGeomap-local-1619506707","url":"/dashboard/3s6-igk-ih5/tf-testaccdatadogdashboardgeomap-local-1619506707","created_at":"2021-04-27T06:58:29.156444+00:00","modified_at":"2021-04-27T06:58:29.156444+00:00","author_handle":"frog@datadoghq.com","widgets":[{"definition":{"requests":[{"q":"avg:system.load.1{*}"}],"type":"geomap","style":{"palette":"hostmap_blues","palette_flip":false},"view":{"focus":"WORLD"}},"id":2235960280314117},{"definition":{"style":{"palette":"hostmap_blues","palette_flip":false},"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test Custom Link label"}],"time":{"live_span":"1h"},"requests":[{"log_query":{"index":"*","search":{"query":""},"compute":{"aggregation":"count"}}}],"type":"geomap","view":{"focus":"WORLD"}},"id":481676151794705},{"definition":{"requests":[{"rum_query":{"index":"*","search":{"query":""},"compute":{"aggregation":"count"}}}],"view":{"focus":"WORLD"},"type":"geomap","style":{"palette":"hostmap_blues","palette_flip":false},"time":{"live_span":"4h"}},"id":2786918167906999}],"layout_type":"ordered"}' + body: '{"notify_list":[],"description":"Created using the Datadog provider in Terraform","restricted_roles":["284d8b66-93f9-11eb-9c37-da7ad0900002","043a2842-e140-11e8-bb04-7fd10177666e","657de3a2-29f8-11eb-83b5-6b8ebfb2f184","e82bf27a-986c-11eb-9cba-da7ad0900002","f257ba30-dbb2-11ea-a5ff-5fd1d308318a","6bf314be-5c16-11eb-8e98-2356ea436065","62cbc476-5c16-11eb-8e98-0388ea7a41f8","08604de8-1dca-11eb-800c-9f5f55ff734d","9b3ab170-b768-11eb-a45a-da7ad0900002","7a83f306-96ca-11eb-9c74-da7ad0900002","16169788-28e4-11eb-832c-fb84162ef3eb","4de53192-9946-11eb-9cee-da7ad0900002","1302282c-b93b-11eb-a436-da7ad0900002","17d73994-7531-11eb-94b9-da7ad0900002"],"author_name":"Qin Chen","template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"g83-uv4-2ay","title":"tf-TestAccDatadogDashboardGeomap-local-1621913750","url":"/dashboard/g83-uv4-2ay/tf-testaccdatadogdashboardgeomap-local-1621913750","created_at":"2021-05-25T03:35:52.135280+00:00","modified_at":"2021-05-25T03:35:52.135280+00:00","author_handle":"qin.chen@datadoghq.com","widgets":[{"definition":{"requests":[{"q":"avg:system.load.1{*}"}],"type":"geomap","style":{"palette":"hostmap_blues","palette_flip":false},"view":{"focus":"WORLD"}},"id":6817892829760541},{"definition":{"style":{"palette":"hostmap_blues","palette_flip":false},"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test Custom Link label"},{"override_label":"logs","is_hidden":true,"link":"https://app.datadoghq.com/dashboard/lists"}],"time":{"live_span":"1h"},"requests":[{"log_query":{"index":"*","search":{"query":""},"compute":{"aggregation":"count"}}}],"type":"geomap","view":{"focus":"WORLD"}},"id":3265018275083362},{"definition":{"requests":[{"rum_query":{"index":"*","search":{"query":""},"compute":{"aggregation":"count"}}}],"view":{"focus":"WORLD"},"type":"geomap","style":{"palette":"hostmap_blues","palette_flip":false},"time":{"live_span":"4h"}},"id":3851134700073453}],"layout_type":"ordered"}' headers: Cache-Control: - no-cache @@ -196,7 +196,7 @@ interactions: Content-Type: - application/json Date: - - Tue, 27 Apr 2021 06:58:33 GMT + - Tue, 25 May 2021 03:35:54 GMT Pragma: - no-cache Strict-Transport-Security: @@ -206,9 +206,9 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Debug: - - mNzaoDhdDKO7t4QSrAe5X7pHd0bJND187D+vRbwoluXouE2m1UaQQX0RGCvRpLVE + - EFjE6I+AUQmTiNqZcuE1nqoFeAjWD0Xtzy3edDrinkwlU/Wzr/2Dbl5kWk3qLVaQ X-Dd-Version: - - "35.4397207" + - "35.4598224" X-Frame-Options: - SAMEORIGIN status: 200 OK @@ -223,11 +223,11 @@ interactions: Dd-Operation-Id: - DeleteDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.19 (go go1.15.7; os darwin; arch amd64) - url: https://api.datadoghq.com/api/v1/dashboard/3s6-igk-ih5 + - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) + url: https://api.datadoghq.com/api/v1/dashboard/g83-uv4-2ay method: DELETE response: - body: '{"deleted_dashboard_id":"3s6-igk-ih5"}' + body: '{"deleted_dashboard_id":"g83-uv4-2ay"}' headers: Cache-Control: - no-cache @@ -238,7 +238,7 @@ interactions: Content-Type: - application/json Date: - - Tue, 27 Apr 2021 06:58:34 GMT + - Tue, 25 May 2021 03:35:54 GMT Pragma: - no-cache Strict-Transport-Security: @@ -248,9 +248,9 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Debug: - - Um4CoU685QqAscnxhS5BD+goWu2yX1Jd4zCfGzSsEvPPIm1qURZaF8dlLl/OEY4I + - 5gfwVh/5HZ+AnGd/Di93w3NEWC6KMHT9KzmHEiRJmNdOjBtAsbOcgVFyqEChw71h X-Dd-Version: - - "35.4397207" + - "35.4598224" X-Frame-Options: - SAMEORIGIN status: 200 OK @@ -265,11 +265,11 @@ interactions: Dd-Operation-Id: - GetDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.19 (go go1.15.7; os darwin; arch amd64) - url: https://api.datadoghq.com/api/v1/dashboard/3s6-igk-ih5 + - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) + url: https://api.datadoghq.com/api/v1/dashboard/g83-uv4-2ay method: GET response: - body: '{"errors": ["Dashboard with ID 3s6-igk-ih5 not found"]}' + body: '{"errors": ["Dashboard with ID g83-uv4-2ay not found"]}' headers: Cache-Control: - no-cache @@ -280,7 +280,7 @@ interactions: Content-Type: - application/json Date: - - Tue, 27 Apr 2021 06:58:34 GMT + - Tue, 25 May 2021 03:35:54 GMT Pragma: - no-cache Strict-Transport-Security: @@ -290,7 +290,7 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Version: - - "35.4397207" + - "35.4598224" X-Frame-Options: - SAMEORIGIN status: 404 Not Found diff --git a/datadog/tests/cassettes/TestAccDatadogDashboardGeomapFormula.freeze b/datadog/tests/cassettes/TestAccDatadogDashboardGeomapFormula.freeze index 12046087a..76a6ac65b 100644 --- a/datadog/tests/cassettes/TestAccDatadogDashboardGeomapFormula.freeze +++ b/datadog/tests/cassettes/TestAccDatadogDashboardGeomapFormula.freeze @@ -1 +1 @@ -2021-04-27T08:58:27.619933+02:00 \ No newline at end of file +2021-05-24T23:35:50.554022-04:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogDashboardGeomapFormula.yaml b/datadog/tests/cassettes/TestAccDatadogDashboardGeomapFormula.yaml index d8271a5a9..9301b7558 100644 --- a/datadog/tests/cassettes/TestAccDatadogDashboardGeomapFormula.yaml +++ b/datadog/tests/cassettes/TestAccDatadogDashboardGeomapFormula.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-TestAccDatadogDashboardGeomapFormula-local-1619506707","widgets":[{"definition":{"requests":[{"formulas":[{"formula":"query1 + query2","limit":{"count":10,"order":"asc"}}],"queries":[{"aggregator":"sum","data_source":"metrics","name":"query1","query":"avg:system.cpu.system{*} by {datacenter}"},{"aggregator":"sum","data_source":"metrics","name":"query2","query":"avg:system.load.1{*} by {datacenter}"}],"response_format":"scalar"}],"style":{"palette":"hostmap_blues","palette_flip":false},"type":"geomap","view":{"focus":"WORLD"}}},{"definition":{"requests":[{"formulas":[{"formula":"query1","limit":{"count":25,"order":"desc"}}],"queries":[{"compute":{"aggregation":"count"},"data_source":"rum","indexes":["*"],"name":"query1","search":{"query":"abc"}}],"response_format":"scalar"}],"style":{"palette":"hostmap_blues","palette_flip":false},"type":"geomap","view":{"focus":"WORLD"}}},{"definition":{"custom_links":[{"label":"my custom link","link":"https://app.datadoghq.com/dashboard/lists"}],"requests":[{"formulas":[{"formula":"query1"}],"queries":[{"compute":{"aggregation":"count"},"data_source":"security_signals","indexes":["*"],"name":"query1"}],"response_format":"scalar"}],"style":{"palette":"hostmap_blues","palette_flip":false},"time":{"live_span":"4h"},"type":"geomap","view":{"focus":"WORLD"}}}]} + {"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-TestAccDatadogDashboardGeomapFormula-local-1621913750","widgets":[{"definition":{"requests":[{"formulas":[{"formula":"query1 + query2","limit":{"count":10,"order":"asc"}}],"queries":[{"aggregator":"sum","data_source":"metrics","name":"query1","query":"avg:system.cpu.system{*} by {datacenter}"},{"aggregator":"sum","data_source":"metrics","name":"query2","query":"avg:system.load.1{*} by {datacenter}"}],"response_format":"scalar"}],"style":{"palette":"hostmap_blues","palette_flip":false},"type":"geomap","view":{"focus":"WORLD"}}},{"definition":{"requests":[{"formulas":[{"formula":"query1","limit":{"count":25,"order":"desc"}}],"queries":[{"compute":{"aggregation":"count"},"data_source":"rum","indexes":["*"],"name":"query1","search":{"query":"abc"}}],"response_format":"scalar"}],"style":{"palette":"hostmap_blues","palette_flip":false},"type":"geomap","view":{"focus":"WORLD"}}},{"definition":{"custom_links":[{"label":"my custom link","link":"https://app.datadoghq.com/dashboard/lists"}],"requests":[{"formulas":[{"formula":"query1"}],"queries":[{"compute":{"aggregation":"count"},"data_source":"security_signals","indexes":["*"],"name":"query1"}],"response_format":"scalar"}],"style":{"palette":"hostmap_blues","palette_flip":false},"time":{"live_span":"4h"},"type":"geomap","view":{"focus":"WORLD"}}}]} form: {} headers: Accept: @@ -13,11 +13,11 @@ interactions: Dd-Operation-Id: - CreateDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.19 (go go1.15.7; os darwin; arch amd64) + - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) 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":"3jk-mfp-nsn","title":"tf-TestAccDatadogDashboardGeomapFormula-local-1619506707","url":"/dashboard/3jk-mfp-nsn/tf-testaccdatadogdashboardgeomapformula-local-1619506707","created_at":"2021-04-27T06:58:29.303490+00:00","modified_at":"2021-04-27T06:58:29.303490+00:00","author_handle":"frog@datadoghq.com","widgets":[{"definition":{"requests":[{"formulas":[{"formula":"query1 + query2","limit":{"count":10,"order":"asc"}}],"response_format":"scalar","queries":[{"aggregator":"sum","data_source":"metrics","name":"query1","query":"avg:system.cpu.system{*} by {datacenter}"},{"aggregator":"sum","data_source":"metrics","name":"query2","query":"avg:system.load.1{*} by {datacenter}"}]}],"type":"geomap","style":{"palette":"hostmap_blues","palette_flip":false},"view":{"focus":"WORLD"}},"id":1149146342854926},{"definition":{"requests":[{"formulas":[{"formula":"query1","limit":{"count":25,"order":"desc"}}],"response_format":"scalar","queries":[{"search":{"query":"abc"},"data_source":"rum","compute":{"aggregation":"count"},"name":"query1","indexes":["*"]}]}],"type":"geomap","style":{"palette":"hostmap_blues","palette_flip":false},"view":{"focus":"WORLD"}},"id":5478869481740425},{"definition":{"style":{"palette":"hostmap_blues","palette_flip":false},"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"my custom link"}],"time":{"live_span":"4h"},"requests":[{"formulas":[{"formula":"query1"}],"response_format":"scalar","queries":[{"data_source":"security_signals","compute":{"aggregation":"count"},"name":"query1","indexes":["*"]}]}],"type":"geomap","view":{"focus":"WORLD"}},"id":18914160855721}],"layout_type":"ordered"}' + body: '{"notify_list":[],"description":"Created using the Datadog provider in Terraform","restricted_roles":["043a2842-e140-11e8-bb04-7fd10177666e","08604de8-1dca-11eb-800c-9f5f55ff734d","1302282c-b93b-11eb-a436-da7ad0900002","16169788-28e4-11eb-832c-fb84162ef3eb","17d73994-7531-11eb-94b9-da7ad0900002","284d8b66-93f9-11eb-9c37-da7ad0900002","4de53192-9946-11eb-9cee-da7ad0900002","62cbc476-5c16-11eb-8e98-0388ea7a41f8","657de3a2-29f8-11eb-83b5-6b8ebfb2f184","6bf314be-5c16-11eb-8e98-2356ea436065","7a83f306-96ca-11eb-9c74-da7ad0900002","9b3ab170-b768-11eb-a45a-da7ad0900002","e82bf27a-986c-11eb-9cba-da7ad0900002","f257ba30-dbb2-11ea-a5ff-5fd1d308318a"],"author_name":"Qin Chen","template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"i6v-qy5-c2n","title":"tf-TestAccDatadogDashboardGeomapFormula-local-1621913750","url":"/dashboard/i6v-qy5-c2n/tf-testaccdatadogdashboardgeomapformula-local-1621913750","created_at":"2021-05-25T03:35:52.141572+00:00","modified_at":"2021-05-25T03:35:52.141572+00:00","author_handle":"qin.chen@datadoghq.com","widgets":[{"definition":{"requests":[{"formulas":[{"formula":"query1 + query2","limit":{"count":10,"order":"asc"}}],"response_format":"scalar","queries":[{"aggregator":"sum","data_source":"metrics","name":"query1","query":"avg:system.cpu.system{*} by {datacenter}"},{"aggregator":"sum","data_source":"metrics","name":"query2","query":"avg:system.load.1{*} by {datacenter}"}]}],"type":"geomap","style":{"palette":"hostmap_blues","palette_flip":false},"view":{"focus":"WORLD"}},"id":5681796789808134},{"definition":{"requests":[{"formulas":[{"formula":"query1","limit":{"count":25,"order":"desc"}}],"response_format":"scalar","queries":[{"search":{"query":"abc"},"data_source":"rum","compute":{"aggregation":"count"},"name":"query1","indexes":["*"]}]}],"type":"geomap","style":{"palette":"hostmap_blues","palette_flip":false},"view":{"focus":"WORLD"}},"id":7065530499399597},{"definition":{"style":{"palette":"hostmap_blues","palette_flip":false},"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"my custom link"}],"time":{"live_span":"4h"},"requests":[{"formulas":[{"formula":"query1"}],"response_format":"scalar","queries":[{"data_source":"security_signals","compute":{"aggregation":"count"},"name":"query1","indexes":["*"]}]}],"type":"geomap","view":{"focus":"WORLD"}},"id":4764863737810804}],"layout_type":"ordered"}' headers: Cache-Control: - no-cache @@ -28,7 +28,7 @@ interactions: Content-Type: - application/json Date: - - Tue, 27 Apr 2021 06:58:32 GMT + - Tue, 25 May 2021 03:35:52 GMT Pragma: - no-cache Strict-Transport-Security: @@ -38,9 +38,9 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Debug: - - Um4CoU685QqAscnxhS5BD+goWu2yX1Jd4zCfGzSsEvPPIm1qURZaF8dlLl/OEY4I + - fIO2C4qGDheGHy4YbS+r3a3CXbh4cbRo7roILOimQyiHGjQdOat0cIpWCkupM1uX X-Dd-Version: - - "35.4397207" + - "35.4598224" X-Frame-Options: - SAMEORIGIN status: 200 OK @@ -55,11 +55,11 @@ interactions: Dd-Operation-Id: - GetDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.19 (go go1.15.7; os darwin; arch amd64) - url: https://api.datadoghq.com/api/v1/dashboard/3jk-mfp-nsn + - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) + url: https://api.datadoghq.com/api/v1/dashboard/i6v-qy5-c2n 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":"3jk-mfp-nsn","title":"tf-TestAccDatadogDashboardGeomapFormula-local-1619506707","url":"/dashboard/3jk-mfp-nsn/tf-testaccdatadogdashboardgeomapformula-local-1619506707","created_at":"2021-04-27T06:58:29.303490+00:00","modified_at":"2021-04-27T06:58:29.303490+00:00","author_handle":"frog@datadoghq.com","widgets":[{"definition":{"requests":[{"formulas":[{"formula":"query1 + query2","limit":{"count":10,"order":"asc"}}],"response_format":"scalar","queries":[{"aggregator":"sum","data_source":"metrics","name":"query1","query":"avg:system.cpu.system{*} by {datacenter}"},{"aggregator":"sum","data_source":"metrics","name":"query2","query":"avg:system.load.1{*} by {datacenter}"}]}],"type":"geomap","style":{"palette":"hostmap_blues","palette_flip":false},"view":{"focus":"WORLD"}},"id":1149146342854926},{"definition":{"requests":[{"formulas":[{"formula":"query1","limit":{"count":25,"order":"desc"}}],"response_format":"scalar","queries":[{"search":{"query":"abc"},"data_source":"rum","compute":{"aggregation":"count"},"name":"query1","indexes":["*"]}]}],"type":"geomap","style":{"palette":"hostmap_blues","palette_flip":false},"view":{"focus":"WORLD"}},"id":5478869481740425},{"definition":{"style":{"palette":"hostmap_blues","palette_flip":false},"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"my custom link"}],"time":{"live_span":"4h"},"requests":[{"formulas":[{"formula":"query1"}],"response_format":"scalar","queries":[{"data_source":"security_signals","compute":{"aggregation":"count"},"name":"query1","indexes":["*"]}]}],"type":"geomap","view":{"focus":"WORLD"}},"id":18914160855721}],"layout_type":"ordered"}' + body: '{"notify_list":[],"description":"Created using the Datadog provider in Terraform","restricted_roles":["284d8b66-93f9-11eb-9c37-da7ad0900002","043a2842-e140-11e8-bb04-7fd10177666e","657de3a2-29f8-11eb-83b5-6b8ebfb2f184","e82bf27a-986c-11eb-9cba-da7ad0900002","f257ba30-dbb2-11ea-a5ff-5fd1d308318a","6bf314be-5c16-11eb-8e98-2356ea436065","62cbc476-5c16-11eb-8e98-0388ea7a41f8","08604de8-1dca-11eb-800c-9f5f55ff734d","9b3ab170-b768-11eb-a45a-da7ad0900002","7a83f306-96ca-11eb-9c74-da7ad0900002","16169788-28e4-11eb-832c-fb84162ef3eb","4de53192-9946-11eb-9cee-da7ad0900002","1302282c-b93b-11eb-a436-da7ad0900002","17d73994-7531-11eb-94b9-da7ad0900002"],"author_name":"Qin Chen","template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"i6v-qy5-c2n","title":"tf-TestAccDatadogDashboardGeomapFormula-local-1621913750","url":"/dashboard/i6v-qy5-c2n/tf-testaccdatadogdashboardgeomapformula-local-1621913750","created_at":"2021-05-25T03:35:52.141572+00:00","modified_at":"2021-05-25T03:35:52.141572+00:00","author_handle":"qin.chen@datadoghq.com","widgets":[{"definition":{"requests":[{"formulas":[{"formula":"query1 + query2","limit":{"count":10,"order":"asc"}}],"response_format":"scalar","queries":[{"aggregator":"sum","data_source":"metrics","name":"query1","query":"avg:system.cpu.system{*} by {datacenter}"},{"aggregator":"sum","data_source":"metrics","name":"query2","query":"avg:system.load.1{*} by {datacenter}"}]}],"type":"geomap","style":{"palette":"hostmap_blues","palette_flip":false},"view":{"focus":"WORLD"}},"id":5681796789808134},{"definition":{"requests":[{"formulas":[{"formula":"query1","limit":{"count":25,"order":"desc"}}],"response_format":"scalar","queries":[{"search":{"query":"abc"},"data_source":"rum","compute":{"aggregation":"count"},"name":"query1","indexes":["*"]}]}],"type":"geomap","style":{"palette":"hostmap_blues","palette_flip":false},"view":{"focus":"WORLD"}},"id":7065530499399597},{"definition":{"style":{"palette":"hostmap_blues","palette_flip":false},"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"my custom link"}],"time":{"live_span":"4h"},"requests":[{"formulas":[{"formula":"query1"}],"response_format":"scalar","queries":[{"data_source":"security_signals","compute":{"aggregation":"count"},"name":"query1","indexes":["*"]}]}],"type":"geomap","view":{"focus":"WORLD"}},"id":4764863737810804}],"layout_type":"ordered"}' headers: Cache-Control: - no-cache @@ -70,7 +70,7 @@ interactions: Content-Type: - application/json Date: - - Tue, 27 Apr 2021 06:58:32 GMT + - Tue, 25 May 2021 03:35:52 GMT Pragma: - no-cache Strict-Transport-Security: @@ -80,9 +80,9 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Debug: - - SY1h8ScsWq+kYmtbh63ltMLFAZsQjqfrgvdfAoRX+9TzT1sgMBRYaFRwfWWRRe9a + - 2328yjLSqI4XmR1pVqrPRR/SFcQsbafjEpPmZx7/3PfxUK1nJQQsX+wrMelyVyj+ X-Dd-Version: - - "35.4397207" + - "35.4598224" X-Frame-Options: - SAMEORIGIN status: 200 OK @@ -97,11 +97,11 @@ interactions: Dd-Operation-Id: - GetDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.19 (go go1.15.7; os darwin; arch amd64) - url: https://api.datadoghq.com/api/v1/dashboard/3jk-mfp-nsn + - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) + url: https://api.datadoghq.com/api/v1/dashboard/i6v-qy5-c2n 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":"3jk-mfp-nsn","title":"tf-TestAccDatadogDashboardGeomapFormula-local-1619506707","url":"/dashboard/3jk-mfp-nsn/tf-testaccdatadogdashboardgeomapformula-local-1619506707","created_at":"2021-04-27T06:58:29.303490+00:00","modified_at":"2021-04-27T06:58:29.303490+00:00","author_handle":"frog@datadoghq.com","widgets":[{"definition":{"requests":[{"formulas":[{"formula":"query1 + query2","limit":{"count":10,"order":"asc"}}],"response_format":"scalar","queries":[{"aggregator":"sum","data_source":"metrics","name":"query1","query":"avg:system.cpu.system{*} by {datacenter}"},{"aggregator":"sum","data_source":"metrics","name":"query2","query":"avg:system.load.1{*} by {datacenter}"}]}],"type":"geomap","style":{"palette":"hostmap_blues","palette_flip":false},"view":{"focus":"WORLD"}},"id":1149146342854926},{"definition":{"requests":[{"formulas":[{"formula":"query1","limit":{"count":25,"order":"desc"}}],"response_format":"scalar","queries":[{"search":{"query":"abc"},"data_source":"rum","compute":{"aggregation":"count"},"name":"query1","indexes":["*"]}]}],"type":"geomap","style":{"palette":"hostmap_blues","palette_flip":false},"view":{"focus":"WORLD"}},"id":5478869481740425},{"definition":{"style":{"palette":"hostmap_blues","palette_flip":false},"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"my custom link"}],"time":{"live_span":"4h"},"requests":[{"formulas":[{"formula":"query1"}],"response_format":"scalar","queries":[{"data_source":"security_signals","compute":{"aggregation":"count"},"name":"query1","indexes":["*"]}]}],"type":"geomap","view":{"focus":"WORLD"}},"id":18914160855721}],"layout_type":"ordered"}' + body: '{"notify_list":[],"description":"Created using the Datadog provider in Terraform","restricted_roles":["284d8b66-93f9-11eb-9c37-da7ad0900002","043a2842-e140-11e8-bb04-7fd10177666e","657de3a2-29f8-11eb-83b5-6b8ebfb2f184","e82bf27a-986c-11eb-9cba-da7ad0900002","f257ba30-dbb2-11ea-a5ff-5fd1d308318a","6bf314be-5c16-11eb-8e98-2356ea436065","62cbc476-5c16-11eb-8e98-0388ea7a41f8","08604de8-1dca-11eb-800c-9f5f55ff734d","9b3ab170-b768-11eb-a45a-da7ad0900002","7a83f306-96ca-11eb-9c74-da7ad0900002","16169788-28e4-11eb-832c-fb84162ef3eb","4de53192-9946-11eb-9cee-da7ad0900002","1302282c-b93b-11eb-a436-da7ad0900002","17d73994-7531-11eb-94b9-da7ad0900002"],"author_name":"Qin Chen","template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"i6v-qy5-c2n","title":"tf-TestAccDatadogDashboardGeomapFormula-local-1621913750","url":"/dashboard/i6v-qy5-c2n/tf-testaccdatadogdashboardgeomapformula-local-1621913750","created_at":"2021-05-25T03:35:52.141572+00:00","modified_at":"2021-05-25T03:35:52.141572+00:00","author_handle":"qin.chen@datadoghq.com","widgets":[{"definition":{"requests":[{"formulas":[{"formula":"query1 + query2","limit":{"count":10,"order":"asc"}}],"response_format":"scalar","queries":[{"aggregator":"sum","data_source":"metrics","name":"query1","query":"avg:system.cpu.system{*} by {datacenter}"},{"aggregator":"sum","data_source":"metrics","name":"query2","query":"avg:system.load.1{*} by {datacenter}"}]}],"type":"geomap","style":{"palette":"hostmap_blues","palette_flip":false},"view":{"focus":"WORLD"}},"id":5681796789808134},{"definition":{"requests":[{"formulas":[{"formula":"query1","limit":{"count":25,"order":"desc"}}],"response_format":"scalar","queries":[{"search":{"query":"abc"},"data_source":"rum","compute":{"aggregation":"count"},"name":"query1","indexes":["*"]}]}],"type":"geomap","style":{"palette":"hostmap_blues","palette_flip":false},"view":{"focus":"WORLD"}},"id":7065530499399597},{"definition":{"style":{"palette":"hostmap_blues","palette_flip":false},"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"my custom link"}],"time":{"live_span":"4h"},"requests":[{"formulas":[{"formula":"query1"}],"response_format":"scalar","queries":[{"data_source":"security_signals","compute":{"aggregation":"count"},"name":"query1","indexes":["*"]}]}],"type":"geomap","view":{"focus":"WORLD"}},"id":4764863737810804}],"layout_type":"ordered"}' headers: Cache-Control: - no-cache @@ -112,7 +112,7 @@ interactions: Content-Type: - application/json Date: - - Tue, 27 Apr 2021 06:58:32 GMT + - Tue, 25 May 2021 03:35:52 GMT Pragma: - no-cache Strict-Transport-Security: @@ -122,9 +122,9 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Debug: - - SY1h8ScsWq+kYmtbh63ltMLFAZsQjqfrgvdfAoRX+9TzT1sgMBRYaFRwfWWRRe9a + - fIO2C4qGDheGHy4YbS+r3a3CXbh4cbRo7roILOimQyiHGjQdOat0cIpWCkupM1uX X-Dd-Version: - - "35.4397207" + - "35.4598224" X-Frame-Options: - SAMEORIGIN status: 200 OK @@ -139,11 +139,11 @@ interactions: Dd-Operation-Id: - GetDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.19 (go go1.15.7; os darwin; arch amd64) - url: https://api.datadoghq.com/api/v1/dashboard/3jk-mfp-nsn + - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) + url: https://api.datadoghq.com/api/v1/dashboard/i6v-qy5-c2n 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":"3jk-mfp-nsn","title":"tf-TestAccDatadogDashboardGeomapFormula-local-1619506707","url":"/dashboard/3jk-mfp-nsn/tf-testaccdatadogdashboardgeomapformula-local-1619506707","created_at":"2021-04-27T06:58:29.303490+00:00","modified_at":"2021-04-27T06:58:29.303490+00:00","author_handle":"frog@datadoghq.com","widgets":[{"definition":{"requests":[{"formulas":[{"formula":"query1 + query2","limit":{"count":10,"order":"asc"}}],"response_format":"scalar","queries":[{"aggregator":"sum","data_source":"metrics","name":"query1","query":"avg:system.cpu.system{*} by {datacenter}"},{"aggregator":"sum","data_source":"metrics","name":"query2","query":"avg:system.load.1{*} by {datacenter}"}]}],"type":"geomap","style":{"palette":"hostmap_blues","palette_flip":false},"view":{"focus":"WORLD"}},"id":1149146342854926},{"definition":{"requests":[{"formulas":[{"formula":"query1","limit":{"count":25,"order":"desc"}}],"response_format":"scalar","queries":[{"search":{"query":"abc"},"data_source":"rum","compute":{"aggregation":"count"},"name":"query1","indexes":["*"]}]}],"type":"geomap","style":{"palette":"hostmap_blues","palette_flip":false},"view":{"focus":"WORLD"}},"id":5478869481740425},{"definition":{"style":{"palette":"hostmap_blues","palette_flip":false},"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"my custom link"}],"time":{"live_span":"4h"},"requests":[{"formulas":[{"formula":"query1"}],"response_format":"scalar","queries":[{"data_source":"security_signals","compute":{"aggregation":"count"},"name":"query1","indexes":["*"]}]}],"type":"geomap","view":{"focus":"WORLD"}},"id":18914160855721}],"layout_type":"ordered"}' + body: '{"notify_list":[],"description":"Created using the Datadog provider in Terraform","restricted_roles":["284d8b66-93f9-11eb-9c37-da7ad0900002","043a2842-e140-11e8-bb04-7fd10177666e","657de3a2-29f8-11eb-83b5-6b8ebfb2f184","e82bf27a-986c-11eb-9cba-da7ad0900002","f257ba30-dbb2-11ea-a5ff-5fd1d308318a","6bf314be-5c16-11eb-8e98-2356ea436065","62cbc476-5c16-11eb-8e98-0388ea7a41f8","08604de8-1dca-11eb-800c-9f5f55ff734d","9b3ab170-b768-11eb-a45a-da7ad0900002","7a83f306-96ca-11eb-9c74-da7ad0900002","16169788-28e4-11eb-832c-fb84162ef3eb","4de53192-9946-11eb-9cee-da7ad0900002","1302282c-b93b-11eb-a436-da7ad0900002","17d73994-7531-11eb-94b9-da7ad0900002"],"author_name":"Qin Chen","template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"i6v-qy5-c2n","title":"tf-TestAccDatadogDashboardGeomapFormula-local-1621913750","url":"/dashboard/i6v-qy5-c2n/tf-testaccdatadogdashboardgeomapformula-local-1621913750","created_at":"2021-05-25T03:35:52.141572+00:00","modified_at":"2021-05-25T03:35:52.141572+00:00","author_handle":"qin.chen@datadoghq.com","widgets":[{"definition":{"requests":[{"formulas":[{"formula":"query1 + query2","limit":{"count":10,"order":"asc"}}],"response_format":"scalar","queries":[{"aggregator":"sum","data_source":"metrics","name":"query1","query":"avg:system.cpu.system{*} by {datacenter}"},{"aggregator":"sum","data_source":"metrics","name":"query2","query":"avg:system.load.1{*} by {datacenter}"}]}],"type":"geomap","style":{"palette":"hostmap_blues","palette_flip":false},"view":{"focus":"WORLD"}},"id":5681796789808134},{"definition":{"requests":[{"formulas":[{"formula":"query1","limit":{"count":25,"order":"desc"}}],"response_format":"scalar","queries":[{"search":{"query":"abc"},"data_source":"rum","compute":{"aggregation":"count"},"name":"query1","indexes":["*"]}]}],"type":"geomap","style":{"palette":"hostmap_blues","palette_flip":false},"view":{"focus":"WORLD"}},"id":7065530499399597},{"definition":{"style":{"palette":"hostmap_blues","palette_flip":false},"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"my custom link"}],"time":{"live_span":"4h"},"requests":[{"formulas":[{"formula":"query1"}],"response_format":"scalar","queries":[{"data_source":"security_signals","compute":{"aggregation":"count"},"name":"query1","indexes":["*"]}]}],"type":"geomap","view":{"focus":"WORLD"}},"id":4764863737810804}],"layout_type":"ordered"}' headers: Cache-Control: - no-cache @@ -154,7 +154,7 @@ interactions: Content-Type: - application/json Date: - - Tue, 27 Apr 2021 06:58:33 GMT + - Tue, 25 May 2021 03:35:53 GMT Pragma: - no-cache Strict-Transport-Security: @@ -164,9 +164,9 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Debug: - - dPySkcOzIZtKyMKDAAzuysY3gNGGj6RtYogGuSb76E8mPvoqzREyRp6lPYm91hQU + - nLnnBNvlCFDECRnZvzDb0z4sAO35G+IMidcAs8vrCKyjvsKWE8Yd9S3n6OjZ1qRN X-Dd-Version: - - "35.4397207" + - "35.4598224" X-Frame-Options: - SAMEORIGIN status: 200 OK @@ -181,11 +181,11 @@ interactions: Dd-Operation-Id: - GetDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.19 (go go1.15.7; os darwin; arch amd64) - url: https://api.datadoghq.com/api/v1/dashboard/3jk-mfp-nsn + - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) + url: https://api.datadoghq.com/api/v1/dashboard/i6v-qy5-c2n 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":"3jk-mfp-nsn","title":"tf-TestAccDatadogDashboardGeomapFormula-local-1619506707","url":"/dashboard/3jk-mfp-nsn/tf-testaccdatadogdashboardgeomapformula-local-1619506707","created_at":"2021-04-27T06:58:29.303490+00:00","modified_at":"2021-04-27T06:58:29.303490+00:00","author_handle":"frog@datadoghq.com","widgets":[{"definition":{"requests":[{"formulas":[{"formula":"query1 + query2","limit":{"count":10,"order":"asc"}}],"response_format":"scalar","queries":[{"aggregator":"sum","data_source":"metrics","name":"query1","query":"avg:system.cpu.system{*} by {datacenter}"},{"aggregator":"sum","data_source":"metrics","name":"query2","query":"avg:system.load.1{*} by {datacenter}"}]}],"type":"geomap","style":{"palette":"hostmap_blues","palette_flip":false},"view":{"focus":"WORLD"}},"id":1149146342854926},{"definition":{"requests":[{"formulas":[{"formula":"query1","limit":{"count":25,"order":"desc"}}],"response_format":"scalar","queries":[{"search":{"query":"abc"},"data_source":"rum","compute":{"aggregation":"count"},"name":"query1","indexes":["*"]}]}],"type":"geomap","style":{"palette":"hostmap_blues","palette_flip":false},"view":{"focus":"WORLD"}},"id":5478869481740425},{"definition":{"style":{"palette":"hostmap_blues","palette_flip":false},"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"my custom link"}],"time":{"live_span":"4h"},"requests":[{"formulas":[{"formula":"query1"}],"response_format":"scalar","queries":[{"data_source":"security_signals","compute":{"aggregation":"count"},"name":"query1","indexes":["*"]}]}],"type":"geomap","view":{"focus":"WORLD"}},"id":18914160855721}],"layout_type":"ordered"}' + body: '{"notify_list":[],"description":"Created using the Datadog provider in Terraform","restricted_roles":["284d8b66-93f9-11eb-9c37-da7ad0900002","043a2842-e140-11e8-bb04-7fd10177666e","657de3a2-29f8-11eb-83b5-6b8ebfb2f184","e82bf27a-986c-11eb-9cba-da7ad0900002","f257ba30-dbb2-11ea-a5ff-5fd1d308318a","6bf314be-5c16-11eb-8e98-2356ea436065","62cbc476-5c16-11eb-8e98-0388ea7a41f8","08604de8-1dca-11eb-800c-9f5f55ff734d","9b3ab170-b768-11eb-a45a-da7ad0900002","7a83f306-96ca-11eb-9c74-da7ad0900002","16169788-28e4-11eb-832c-fb84162ef3eb","4de53192-9946-11eb-9cee-da7ad0900002","1302282c-b93b-11eb-a436-da7ad0900002","17d73994-7531-11eb-94b9-da7ad0900002"],"author_name":"Qin Chen","template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"i6v-qy5-c2n","title":"tf-TestAccDatadogDashboardGeomapFormula-local-1621913750","url":"/dashboard/i6v-qy5-c2n/tf-testaccdatadogdashboardgeomapformula-local-1621913750","created_at":"2021-05-25T03:35:52.141572+00:00","modified_at":"2021-05-25T03:35:52.141572+00:00","author_handle":"qin.chen@datadoghq.com","widgets":[{"definition":{"requests":[{"formulas":[{"formula":"query1 + query2","limit":{"count":10,"order":"asc"}}],"response_format":"scalar","queries":[{"aggregator":"sum","data_source":"metrics","name":"query1","query":"avg:system.cpu.system{*} by {datacenter}"},{"aggregator":"sum","data_source":"metrics","name":"query2","query":"avg:system.load.1{*} by {datacenter}"}]}],"type":"geomap","style":{"palette":"hostmap_blues","palette_flip":false},"view":{"focus":"WORLD"}},"id":5681796789808134},{"definition":{"requests":[{"formulas":[{"formula":"query1","limit":{"count":25,"order":"desc"}}],"response_format":"scalar","queries":[{"search":{"query":"abc"},"data_source":"rum","compute":{"aggregation":"count"},"name":"query1","indexes":["*"]}]}],"type":"geomap","style":{"palette":"hostmap_blues","palette_flip":false},"view":{"focus":"WORLD"}},"id":7065530499399597},{"definition":{"style":{"palette":"hostmap_blues","palette_flip":false},"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"my custom link"}],"time":{"live_span":"4h"},"requests":[{"formulas":[{"formula":"query1"}],"response_format":"scalar","queries":[{"data_source":"security_signals","compute":{"aggregation":"count"},"name":"query1","indexes":["*"]}]}],"type":"geomap","view":{"focus":"WORLD"}},"id":4764863737810804}],"layout_type":"ordered"}' headers: Cache-Control: - no-cache @@ -196,7 +196,7 @@ interactions: Content-Type: - application/json Date: - - Tue, 27 Apr 2021 06:58:34 GMT + - Tue, 25 May 2021 03:35:54 GMT Pragma: - no-cache Strict-Transport-Security: @@ -206,9 +206,9 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Debug: - - dCmL/3rURV6BPeaqeP3Rxigq41m5CAb17XjrRE42uZ01zpr07HVhbL5/3TWMkvgu + - HbtaOKlJ6OCrx9tMXO6ivMTrEM+g0c93HDp08trmOmgdHozC5J+vn10F0H4WPjCU X-Dd-Version: - - "35.4397207" + - "35.4598224" X-Frame-Options: - SAMEORIGIN status: 200 OK @@ -223,11 +223,11 @@ interactions: Dd-Operation-Id: - DeleteDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.19 (go go1.15.7; os darwin; arch amd64) - url: https://api.datadoghq.com/api/v1/dashboard/3jk-mfp-nsn + - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) + url: https://api.datadoghq.com/api/v1/dashboard/i6v-qy5-c2n method: DELETE response: - body: '{"deleted_dashboard_id":"3jk-mfp-nsn"}' + body: '{"deleted_dashboard_id":"i6v-qy5-c2n"}' headers: Cache-Control: - no-cache @@ -238,7 +238,7 @@ interactions: Content-Type: - application/json Date: - - Tue, 27 Apr 2021 06:58:34 GMT + - Tue, 25 May 2021 03:35:54 GMT Pragma: - no-cache Strict-Transport-Security: @@ -248,9 +248,9 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Debug: - - mNzaoDhdDKO7t4QSrAe5X7pHd0bJND187D+vRbwoluXouE2m1UaQQX0RGCvRpLVE + - l8RQo2maZqJf6GFThBbKNE6dvthz6njusVtau3dPXJWL2RLFoN81H+BLPB/1xgs1 X-Dd-Version: - - "35.4397207" + - "35.4598224" X-Frame-Options: - SAMEORIGIN status: 200 OK @@ -265,11 +265,11 @@ interactions: Dd-Operation-Id: - GetDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.19 (go go1.15.7; os darwin; arch amd64) - url: https://api.datadoghq.com/api/v1/dashboard/3jk-mfp-nsn + - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) + url: https://api.datadoghq.com/api/v1/dashboard/i6v-qy5-c2n method: GET response: - body: '{"errors": ["Dashboard with ID 3jk-mfp-nsn not found"]}' + body: '{"errors": ["Dashboard with ID i6v-qy5-c2n not found"]}' headers: Cache-Control: - no-cache @@ -280,7 +280,7 @@ interactions: Content-Type: - application/json Date: - - Tue, 27 Apr 2021 06:58:34 GMT + - Tue, 25 May 2021 03:35:54 GMT Pragma: - no-cache Strict-Transport-Security: @@ -290,7 +290,7 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Version: - - "35.4397207" + - "35.4598224" X-Frame-Options: - SAMEORIGIN status: 404 Not Found diff --git a/datadog/tests/cassettes/TestAccDatadogDashboardGeomapFormula_import.freeze b/datadog/tests/cassettes/TestAccDatadogDashboardGeomapFormula_import.freeze index a807f71eb..58a08a493 100644 --- a/datadog/tests/cassettes/TestAccDatadogDashboardGeomapFormula_import.freeze +++ b/datadog/tests/cassettes/TestAccDatadogDashboardGeomapFormula_import.freeze @@ -1 +1 @@ -2021-04-27T08:58:27.620391+02:00 \ No newline at end of file +2021-05-24T23:35:50.555685-04:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogDashboardGeomapFormula_import.yaml b/datadog/tests/cassettes/TestAccDatadogDashboardGeomapFormula_import.yaml index 01b977dab..a0d438da7 100644 --- a/datadog/tests/cassettes/TestAccDatadogDashboardGeomapFormula_import.yaml +++ b/datadog/tests/cassettes/TestAccDatadogDashboardGeomapFormula_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-TestAccDatadogDashboardGeomapFormula_import-local-1619506707","widgets":[{"definition":{"requests":[{"formulas":[{"formula":"query1 + query2","limit":{"count":10,"order":"asc"}}],"queries":[{"aggregator":"sum","data_source":"metrics","name":"query1","query":"avg:system.cpu.system{*} by {datacenter}"},{"aggregator":"sum","data_source":"metrics","name":"query2","query":"avg:system.load.1{*} by {datacenter}"}],"response_format":"scalar"}],"style":{"palette":"hostmap_blues","palette_flip":false},"type":"geomap","view":{"focus":"WORLD"}}},{"definition":{"requests":[{"formulas":[{"formula":"query1","limit":{"count":25,"order":"desc"}}],"queries":[{"compute":{"aggregation":"count"},"data_source":"rum","indexes":["*"],"name":"query1","search":{"query":"abc"}}],"response_format":"scalar"}],"style":{"palette":"hostmap_blues","palette_flip":false},"type":"geomap","view":{"focus":"WORLD"}}},{"definition":{"custom_links":[{"label":"my custom link","link":"https://app.datadoghq.com/dashboard/lists"}],"requests":[{"formulas":[{"formula":"query1"}],"queries":[{"compute":{"aggregation":"count"},"data_source":"security_signals","indexes":["*"],"name":"query1"}],"response_format":"scalar"}],"style":{"palette":"hostmap_blues","palette_flip":false},"time":{"live_span":"4h"},"type":"geomap","view":{"focus":"WORLD"}}}]} + {"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-TestAccDatadogDashboardGeomapFormula_import-local-1621913750","widgets":[{"definition":{"requests":[{"formulas":[{"formula":"query1 + query2","limit":{"count":10,"order":"asc"}}],"queries":[{"aggregator":"sum","data_source":"metrics","name":"query1","query":"avg:system.cpu.system{*} by {datacenter}"},{"aggregator":"sum","data_source":"metrics","name":"query2","query":"avg:system.load.1{*} by {datacenter}"}],"response_format":"scalar"}],"style":{"palette":"hostmap_blues","palette_flip":false},"type":"geomap","view":{"focus":"WORLD"}}},{"definition":{"requests":[{"formulas":[{"formula":"query1","limit":{"count":25,"order":"desc"}}],"queries":[{"compute":{"aggregation":"count"},"data_source":"rum","indexes":["*"],"name":"query1","search":{"query":"abc"}}],"response_format":"scalar"}],"style":{"palette":"hostmap_blues","palette_flip":false},"type":"geomap","view":{"focus":"WORLD"}}},{"definition":{"custom_links":[{"label":"my custom link","link":"https://app.datadoghq.com/dashboard/lists"}],"requests":[{"formulas":[{"formula":"query1"}],"queries":[{"compute":{"aggregation":"count"},"data_source":"security_signals","indexes":["*"],"name":"query1"}],"response_format":"scalar"}],"style":{"palette":"hostmap_blues","palette_flip":false},"time":{"live_span":"4h"},"type":"geomap","view":{"focus":"WORLD"}}}]} form: {} headers: Accept: @@ -13,11 +13,11 @@ interactions: Dd-Operation-Id: - CreateDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.19 (go go1.15.7; os darwin; arch amd64) + - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) 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":"myq-qpv-k3m","title":"tf-TestAccDatadogDashboardGeomapFormula_import-local-1619506707","url":"/dashboard/myq-qpv-k3m/tf-testaccdatadogdashboardgeomapformulaimport-local-1619506707","created_at":"2021-04-27T06:58:29.153119+00:00","modified_at":"2021-04-27T06:58:29.153119+00:00","author_handle":"frog@datadoghq.com","widgets":[{"definition":{"requests":[{"formulas":[{"formula":"query1 + query2","limit":{"count":10,"order":"asc"}}],"response_format":"scalar","queries":[{"aggregator":"sum","data_source":"metrics","name":"query1","query":"avg:system.cpu.system{*} by {datacenter}"},{"aggregator":"sum","data_source":"metrics","name":"query2","query":"avg:system.load.1{*} by {datacenter}"}]}],"type":"geomap","style":{"palette":"hostmap_blues","palette_flip":false},"view":{"focus":"WORLD"}},"id":5661738832269822},{"definition":{"requests":[{"formulas":[{"formula":"query1","limit":{"count":25,"order":"desc"}}],"response_format":"scalar","queries":[{"search":{"query":"abc"},"data_source":"rum","compute":{"aggregation":"count"},"name":"query1","indexes":["*"]}]}],"type":"geomap","style":{"palette":"hostmap_blues","palette_flip":false},"view":{"focus":"WORLD"}},"id":8505986293990458},{"definition":{"style":{"palette":"hostmap_blues","palette_flip":false},"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"my custom link"}],"time":{"live_span":"4h"},"requests":[{"formulas":[{"formula":"query1"}],"response_format":"scalar","queries":[{"data_source":"security_signals","compute":{"aggregation":"count"},"name":"query1","indexes":["*"]}]}],"type":"geomap","view":{"focus":"WORLD"}},"id":3442821028347668}],"layout_type":"ordered"}' + body: '{"notify_list":[],"description":"Created using the Datadog provider in Terraform","restricted_roles":["043a2842-e140-11e8-bb04-7fd10177666e","08604de8-1dca-11eb-800c-9f5f55ff734d","1302282c-b93b-11eb-a436-da7ad0900002","16169788-28e4-11eb-832c-fb84162ef3eb","17d73994-7531-11eb-94b9-da7ad0900002","284d8b66-93f9-11eb-9c37-da7ad0900002","4de53192-9946-11eb-9cee-da7ad0900002","62cbc476-5c16-11eb-8e98-0388ea7a41f8","657de3a2-29f8-11eb-83b5-6b8ebfb2f184","6bf314be-5c16-11eb-8e98-2356ea436065","7a83f306-96ca-11eb-9c74-da7ad0900002","9b3ab170-b768-11eb-a45a-da7ad0900002","e82bf27a-986c-11eb-9cba-da7ad0900002","f257ba30-dbb2-11ea-a5ff-5fd1d308318a"],"author_name":"Qin Chen","template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"zwj-tix-inp","title":"tf-TestAccDatadogDashboardGeomapFormula_import-local-1621913750","url":"/dashboard/zwj-tix-inp/tf-testaccdatadogdashboardgeomapformulaimport-local-1621913750","created_at":"2021-05-25T03:35:52.133052+00:00","modified_at":"2021-05-25T03:35:52.133052+00:00","author_handle":"qin.chen@datadoghq.com","widgets":[{"definition":{"requests":[{"formulas":[{"formula":"query1 + query2","limit":{"count":10,"order":"asc"}}],"response_format":"scalar","queries":[{"aggregator":"sum","data_source":"metrics","name":"query1","query":"avg:system.cpu.system{*} by {datacenter}"},{"aggregator":"sum","data_source":"metrics","name":"query2","query":"avg:system.load.1{*} by {datacenter}"}]}],"type":"geomap","style":{"palette":"hostmap_blues","palette_flip":false},"view":{"focus":"WORLD"}},"id":5754318934321226},{"definition":{"requests":[{"formulas":[{"formula":"query1","limit":{"count":25,"order":"desc"}}],"response_format":"scalar","queries":[{"search":{"query":"abc"},"data_source":"rum","compute":{"aggregation":"count"},"name":"query1","indexes":["*"]}]}],"type":"geomap","style":{"palette":"hostmap_blues","palette_flip":false},"view":{"focus":"WORLD"}},"id":2233524728136771},{"definition":{"style":{"palette":"hostmap_blues","palette_flip":false},"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"my custom link"}],"time":{"live_span":"4h"},"requests":[{"formulas":[{"formula":"query1"}],"response_format":"scalar","queries":[{"data_source":"security_signals","compute":{"aggregation":"count"},"name":"query1","indexes":["*"]}]}],"type":"geomap","view":{"focus":"WORLD"}},"id":4621894023084532}],"layout_type":"ordered"}' headers: Cache-Control: - no-cache @@ -28,7 +28,7 @@ interactions: Content-Type: - application/json Date: - - Tue, 27 Apr 2021 06:58:32 GMT + - Tue, 25 May 2021 03:35:52 GMT Pragma: - no-cache Strict-Transport-Security: @@ -38,9 +38,9 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Debug: - - PhosSd3Ch1B6B0DXI71steKUi7XhPDttnPiIP1NdXTw0VJNWpoUnYyBmODS5ne3q + - dPySkcOzIZtKyMKDAAzuysY3gNGGj6RtYogGuSb76E8mPvoqzREyRp6lPYm91hQU X-Dd-Version: - - "35.4397207" + - "35.4598224" X-Frame-Options: - SAMEORIGIN status: 200 OK @@ -55,11 +55,11 @@ interactions: Dd-Operation-Id: - GetDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.19 (go go1.15.7; os darwin; arch amd64) - url: https://api.datadoghq.com/api/v1/dashboard/myq-qpv-k3m + - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) + url: https://api.datadoghq.com/api/v1/dashboard/zwj-tix-inp 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":"myq-qpv-k3m","title":"tf-TestAccDatadogDashboardGeomapFormula_import-local-1619506707","url":"/dashboard/myq-qpv-k3m/tf-testaccdatadogdashboardgeomapformulaimport-local-1619506707","created_at":"2021-04-27T06:58:29.153119+00:00","modified_at":"2021-04-27T06:58:29.153119+00:00","author_handle":"frog@datadoghq.com","widgets":[{"definition":{"requests":[{"formulas":[{"formula":"query1 + query2","limit":{"count":10,"order":"asc"}}],"response_format":"scalar","queries":[{"aggregator":"sum","data_source":"metrics","name":"query1","query":"avg:system.cpu.system{*} by {datacenter}"},{"aggregator":"sum","data_source":"metrics","name":"query2","query":"avg:system.load.1{*} by {datacenter}"}]}],"type":"geomap","style":{"palette":"hostmap_blues","palette_flip":false},"view":{"focus":"WORLD"}},"id":5661738832269822},{"definition":{"requests":[{"formulas":[{"formula":"query1","limit":{"count":25,"order":"desc"}}],"response_format":"scalar","queries":[{"search":{"query":"abc"},"data_source":"rum","compute":{"aggregation":"count"},"name":"query1","indexes":["*"]}]}],"type":"geomap","style":{"palette":"hostmap_blues","palette_flip":false},"view":{"focus":"WORLD"}},"id":8505986293990458},{"definition":{"style":{"palette":"hostmap_blues","palette_flip":false},"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"my custom link"}],"time":{"live_span":"4h"},"requests":[{"formulas":[{"formula":"query1"}],"response_format":"scalar","queries":[{"data_source":"security_signals","compute":{"aggregation":"count"},"name":"query1","indexes":["*"]}]}],"type":"geomap","view":{"focus":"WORLD"}},"id":3442821028347668}],"layout_type":"ordered"}' + body: '{"notify_list":[],"description":"Created using the Datadog provider in Terraform","restricted_roles":["284d8b66-93f9-11eb-9c37-da7ad0900002","043a2842-e140-11e8-bb04-7fd10177666e","657de3a2-29f8-11eb-83b5-6b8ebfb2f184","e82bf27a-986c-11eb-9cba-da7ad0900002","f257ba30-dbb2-11ea-a5ff-5fd1d308318a","6bf314be-5c16-11eb-8e98-2356ea436065","62cbc476-5c16-11eb-8e98-0388ea7a41f8","08604de8-1dca-11eb-800c-9f5f55ff734d","9b3ab170-b768-11eb-a45a-da7ad0900002","7a83f306-96ca-11eb-9c74-da7ad0900002","16169788-28e4-11eb-832c-fb84162ef3eb","4de53192-9946-11eb-9cee-da7ad0900002","1302282c-b93b-11eb-a436-da7ad0900002","17d73994-7531-11eb-94b9-da7ad0900002"],"author_name":"Qin Chen","template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"zwj-tix-inp","title":"tf-TestAccDatadogDashboardGeomapFormula_import-local-1621913750","url":"/dashboard/zwj-tix-inp/tf-testaccdatadogdashboardgeomapformulaimport-local-1621913750","created_at":"2021-05-25T03:35:52.133052+00:00","modified_at":"2021-05-25T03:35:52.133052+00:00","author_handle":"qin.chen@datadoghq.com","widgets":[{"definition":{"requests":[{"formulas":[{"formula":"query1 + query2","limit":{"count":10,"order":"asc"}}],"response_format":"scalar","queries":[{"aggregator":"sum","data_source":"metrics","name":"query1","query":"avg:system.cpu.system{*} by {datacenter}"},{"aggregator":"sum","data_source":"metrics","name":"query2","query":"avg:system.load.1{*} by {datacenter}"}]}],"type":"geomap","style":{"palette":"hostmap_blues","palette_flip":false},"view":{"focus":"WORLD"}},"id":5754318934321226},{"definition":{"requests":[{"formulas":[{"formula":"query1","limit":{"count":25,"order":"desc"}}],"response_format":"scalar","queries":[{"search":{"query":"abc"},"data_source":"rum","compute":{"aggregation":"count"},"name":"query1","indexes":["*"]}]}],"type":"geomap","style":{"palette":"hostmap_blues","palette_flip":false},"view":{"focus":"WORLD"}},"id":2233524728136771},{"definition":{"style":{"palette":"hostmap_blues","palette_flip":false},"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"my custom link"}],"time":{"live_span":"4h"},"requests":[{"formulas":[{"formula":"query1"}],"response_format":"scalar","queries":[{"data_source":"security_signals","compute":{"aggregation":"count"},"name":"query1","indexes":["*"]}]}],"type":"geomap","view":{"focus":"WORLD"}},"id":4621894023084532}],"layout_type":"ordered"}' headers: Cache-Control: - no-cache @@ -70,7 +70,7 @@ interactions: Content-Type: - application/json Date: - - Tue, 27 Apr 2021 06:58:32 GMT + - Tue, 25 May 2021 03:35:52 GMT Pragma: - no-cache Strict-Transport-Security: @@ -80,9 +80,9 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Debug: - - tpRCH6w417YjBovRJ8VmtuXmNONVYiRp2c8d2AxjPdGBn8PCtgG4vAztrx3qUZAN + - gYZcaADwbKcv7Hm19HJx6WsLoKuOijDWAt2viPeCfWqUgyKY+9e1xZdmMJeXV3YV X-Dd-Version: - - "35.4397207" + - "35.4598224" X-Frame-Options: - SAMEORIGIN status: 200 OK @@ -97,11 +97,11 @@ interactions: Dd-Operation-Id: - GetDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.19 (go go1.15.7; os darwin; arch amd64) - url: https://api.datadoghq.com/api/v1/dashboard/myq-qpv-k3m + - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) + url: https://api.datadoghq.com/api/v1/dashboard/zwj-tix-inp 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":"myq-qpv-k3m","title":"tf-TestAccDatadogDashboardGeomapFormula_import-local-1619506707","url":"/dashboard/myq-qpv-k3m/tf-testaccdatadogdashboardgeomapformulaimport-local-1619506707","created_at":"2021-04-27T06:58:29.153119+00:00","modified_at":"2021-04-27T06:58:29.153119+00:00","author_handle":"frog@datadoghq.com","widgets":[{"definition":{"requests":[{"formulas":[{"formula":"query1 + query2","limit":{"count":10,"order":"asc"}}],"response_format":"scalar","queries":[{"aggregator":"sum","data_source":"metrics","name":"query1","query":"avg:system.cpu.system{*} by {datacenter}"},{"aggregator":"sum","data_source":"metrics","name":"query2","query":"avg:system.load.1{*} by {datacenter}"}]}],"type":"geomap","style":{"palette":"hostmap_blues","palette_flip":false},"view":{"focus":"WORLD"}},"id":5661738832269822},{"definition":{"requests":[{"formulas":[{"formula":"query1","limit":{"count":25,"order":"desc"}}],"response_format":"scalar","queries":[{"search":{"query":"abc"},"data_source":"rum","compute":{"aggregation":"count"},"name":"query1","indexes":["*"]}]}],"type":"geomap","style":{"palette":"hostmap_blues","palette_flip":false},"view":{"focus":"WORLD"}},"id":8505986293990458},{"definition":{"style":{"palette":"hostmap_blues","palette_flip":false},"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"my custom link"}],"time":{"live_span":"4h"},"requests":[{"formulas":[{"formula":"query1"}],"response_format":"scalar","queries":[{"data_source":"security_signals","compute":{"aggregation":"count"},"name":"query1","indexes":["*"]}]}],"type":"geomap","view":{"focus":"WORLD"}},"id":3442821028347668}],"layout_type":"ordered"}' + body: '{"notify_list":[],"description":"Created using the Datadog provider in Terraform","restricted_roles":["284d8b66-93f9-11eb-9c37-da7ad0900002","043a2842-e140-11e8-bb04-7fd10177666e","657de3a2-29f8-11eb-83b5-6b8ebfb2f184","e82bf27a-986c-11eb-9cba-da7ad0900002","f257ba30-dbb2-11ea-a5ff-5fd1d308318a","6bf314be-5c16-11eb-8e98-2356ea436065","62cbc476-5c16-11eb-8e98-0388ea7a41f8","08604de8-1dca-11eb-800c-9f5f55ff734d","9b3ab170-b768-11eb-a45a-da7ad0900002","7a83f306-96ca-11eb-9c74-da7ad0900002","16169788-28e4-11eb-832c-fb84162ef3eb","4de53192-9946-11eb-9cee-da7ad0900002","1302282c-b93b-11eb-a436-da7ad0900002","17d73994-7531-11eb-94b9-da7ad0900002"],"author_name":"Qin Chen","template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"zwj-tix-inp","title":"tf-TestAccDatadogDashboardGeomapFormula_import-local-1621913750","url":"/dashboard/zwj-tix-inp/tf-testaccdatadogdashboardgeomapformulaimport-local-1621913750","created_at":"2021-05-25T03:35:52.133052+00:00","modified_at":"2021-05-25T03:35:52.133052+00:00","author_handle":"qin.chen@datadoghq.com","widgets":[{"definition":{"requests":[{"formulas":[{"formula":"query1 + query2","limit":{"count":10,"order":"asc"}}],"response_format":"scalar","queries":[{"aggregator":"sum","data_source":"metrics","name":"query1","query":"avg:system.cpu.system{*} by {datacenter}"},{"aggregator":"sum","data_source":"metrics","name":"query2","query":"avg:system.load.1{*} by {datacenter}"}]}],"type":"geomap","style":{"palette":"hostmap_blues","palette_flip":false},"view":{"focus":"WORLD"}},"id":5754318934321226},{"definition":{"requests":[{"formulas":[{"formula":"query1","limit":{"count":25,"order":"desc"}}],"response_format":"scalar","queries":[{"search":{"query":"abc"},"data_source":"rum","compute":{"aggregation":"count"},"name":"query1","indexes":["*"]}]}],"type":"geomap","style":{"palette":"hostmap_blues","palette_flip":false},"view":{"focus":"WORLD"}},"id":2233524728136771},{"definition":{"style":{"palette":"hostmap_blues","palette_flip":false},"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"my custom link"}],"time":{"live_span":"4h"},"requests":[{"formulas":[{"formula":"query1"}],"response_format":"scalar","queries":[{"data_source":"security_signals","compute":{"aggregation":"count"},"name":"query1","indexes":["*"]}]}],"type":"geomap","view":{"focus":"WORLD"}},"id":4621894023084532}],"layout_type":"ordered"}' headers: Cache-Control: - no-cache @@ -112,7 +112,7 @@ interactions: Content-Type: - application/json Date: - - Tue, 27 Apr 2021 06:58:33 GMT + - Tue, 25 May 2021 03:35:53 GMT Pragma: - no-cache Strict-Transport-Security: @@ -124,7 +124,7 @@ interactions: X-Dd-Debug: - dPySkcOzIZtKyMKDAAzuysY3gNGGj6RtYogGuSb76E8mPvoqzREyRp6lPYm91hQU X-Dd-Version: - - "35.4397207" + - "35.4598224" X-Frame-Options: - SAMEORIGIN status: 200 OK @@ -139,11 +139,11 @@ interactions: Dd-Operation-Id: - GetDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.19 (go go1.15.7; os darwin; arch amd64) - url: https://api.datadoghq.com/api/v1/dashboard/myq-qpv-k3m + - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) + url: https://api.datadoghq.com/api/v1/dashboard/zwj-tix-inp 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":"myq-qpv-k3m","title":"tf-TestAccDatadogDashboardGeomapFormula_import-local-1619506707","url":"/dashboard/myq-qpv-k3m/tf-testaccdatadogdashboardgeomapformulaimport-local-1619506707","created_at":"2021-04-27T06:58:29.153119+00:00","modified_at":"2021-04-27T06:58:29.153119+00:00","author_handle":"frog@datadoghq.com","widgets":[{"definition":{"requests":[{"formulas":[{"formula":"query1 + query2","limit":{"count":10,"order":"asc"}}],"response_format":"scalar","queries":[{"aggregator":"sum","data_source":"metrics","name":"query1","query":"avg:system.cpu.system{*} by {datacenter}"},{"aggregator":"sum","data_source":"metrics","name":"query2","query":"avg:system.load.1{*} by {datacenter}"}]}],"type":"geomap","style":{"palette":"hostmap_blues","palette_flip":false},"view":{"focus":"WORLD"}},"id":5661738832269822},{"definition":{"requests":[{"formulas":[{"formula":"query1","limit":{"count":25,"order":"desc"}}],"response_format":"scalar","queries":[{"search":{"query":"abc"},"data_source":"rum","compute":{"aggregation":"count"},"name":"query1","indexes":["*"]}]}],"type":"geomap","style":{"palette":"hostmap_blues","palette_flip":false},"view":{"focus":"WORLD"}},"id":8505986293990458},{"definition":{"style":{"palette":"hostmap_blues","palette_flip":false},"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"my custom link"}],"time":{"live_span":"4h"},"requests":[{"formulas":[{"formula":"query1"}],"response_format":"scalar","queries":[{"data_source":"security_signals","compute":{"aggregation":"count"},"name":"query1","indexes":["*"]}]}],"type":"geomap","view":{"focus":"WORLD"}},"id":3442821028347668}],"layout_type":"ordered"}' + body: '{"notify_list":[],"description":"Created using the Datadog provider in Terraform","restricted_roles":["284d8b66-93f9-11eb-9c37-da7ad0900002","043a2842-e140-11e8-bb04-7fd10177666e","657de3a2-29f8-11eb-83b5-6b8ebfb2f184","e82bf27a-986c-11eb-9cba-da7ad0900002","f257ba30-dbb2-11ea-a5ff-5fd1d308318a","6bf314be-5c16-11eb-8e98-2356ea436065","62cbc476-5c16-11eb-8e98-0388ea7a41f8","08604de8-1dca-11eb-800c-9f5f55ff734d","9b3ab170-b768-11eb-a45a-da7ad0900002","7a83f306-96ca-11eb-9c74-da7ad0900002","16169788-28e4-11eb-832c-fb84162ef3eb","4de53192-9946-11eb-9cee-da7ad0900002","1302282c-b93b-11eb-a436-da7ad0900002","17d73994-7531-11eb-94b9-da7ad0900002"],"author_name":"Qin Chen","template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"zwj-tix-inp","title":"tf-TestAccDatadogDashboardGeomapFormula_import-local-1621913750","url":"/dashboard/zwj-tix-inp/tf-testaccdatadogdashboardgeomapformulaimport-local-1621913750","created_at":"2021-05-25T03:35:52.133052+00:00","modified_at":"2021-05-25T03:35:52.133052+00:00","author_handle":"qin.chen@datadoghq.com","widgets":[{"definition":{"requests":[{"formulas":[{"formula":"query1 + query2","limit":{"count":10,"order":"asc"}}],"response_format":"scalar","queries":[{"aggregator":"sum","data_source":"metrics","name":"query1","query":"avg:system.cpu.system{*} by {datacenter}"},{"aggregator":"sum","data_source":"metrics","name":"query2","query":"avg:system.load.1{*} by {datacenter}"}]}],"type":"geomap","style":{"palette":"hostmap_blues","palette_flip":false},"view":{"focus":"WORLD"}},"id":5754318934321226},{"definition":{"requests":[{"formulas":[{"formula":"query1","limit":{"count":25,"order":"desc"}}],"response_format":"scalar","queries":[{"search":{"query":"abc"},"data_source":"rum","compute":{"aggregation":"count"},"name":"query1","indexes":["*"]}]}],"type":"geomap","style":{"palette":"hostmap_blues","palette_flip":false},"view":{"focus":"WORLD"}},"id":2233524728136771},{"definition":{"style":{"palette":"hostmap_blues","palette_flip":false},"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"my custom link"}],"time":{"live_span":"4h"},"requests":[{"formulas":[{"formula":"query1"}],"response_format":"scalar","queries":[{"data_source":"security_signals","compute":{"aggregation":"count"},"name":"query1","indexes":["*"]}]}],"type":"geomap","view":{"focus":"WORLD"}},"id":4621894023084532}],"layout_type":"ordered"}' headers: Cache-Control: - no-cache @@ -154,7 +154,7 @@ interactions: Content-Type: - application/json Date: - - Tue, 27 Apr 2021 06:58:33 GMT + - Tue, 25 May 2021 03:35:53 GMT Pragma: - no-cache Strict-Transport-Security: @@ -164,9 +164,9 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Debug: - - l8RQo2maZqJf6GFThBbKNE6dvthz6njusVtau3dPXJWL2RLFoN81H+BLPB/1xgs1 + - fIO2C4qGDheGHy4YbS+r3a3CXbh4cbRo7roILOimQyiHGjQdOat0cIpWCkupM1uX X-Dd-Version: - - "35.4397207" + - "35.4598224" X-Frame-Options: - SAMEORIGIN status: 200 OK @@ -181,11 +181,11 @@ interactions: Dd-Operation-Id: - GetDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.19 (go go1.15.7; os darwin; arch amd64) - url: https://api.datadoghq.com/api/v1/dashboard/myq-qpv-k3m + - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) + url: https://api.datadoghq.com/api/v1/dashboard/zwj-tix-inp 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":"myq-qpv-k3m","title":"tf-TestAccDatadogDashboardGeomapFormula_import-local-1619506707","url":"/dashboard/myq-qpv-k3m/tf-testaccdatadogdashboardgeomapformulaimport-local-1619506707","created_at":"2021-04-27T06:58:29.153119+00:00","modified_at":"2021-04-27T06:58:29.153119+00:00","author_handle":"frog@datadoghq.com","widgets":[{"definition":{"requests":[{"formulas":[{"formula":"query1 + query2","limit":{"count":10,"order":"asc"}}],"response_format":"scalar","queries":[{"aggregator":"sum","data_source":"metrics","name":"query1","query":"avg:system.cpu.system{*} by {datacenter}"},{"aggregator":"sum","data_source":"metrics","name":"query2","query":"avg:system.load.1{*} by {datacenter}"}]}],"type":"geomap","style":{"palette":"hostmap_blues","palette_flip":false},"view":{"focus":"WORLD"}},"id":5661738832269822},{"definition":{"requests":[{"formulas":[{"formula":"query1","limit":{"count":25,"order":"desc"}}],"response_format":"scalar","queries":[{"search":{"query":"abc"},"data_source":"rum","compute":{"aggregation":"count"},"name":"query1","indexes":["*"]}]}],"type":"geomap","style":{"palette":"hostmap_blues","palette_flip":false},"view":{"focus":"WORLD"}},"id":8505986293990458},{"definition":{"style":{"palette":"hostmap_blues","palette_flip":false},"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"my custom link"}],"time":{"live_span":"4h"},"requests":[{"formulas":[{"formula":"query1"}],"response_format":"scalar","queries":[{"data_source":"security_signals","compute":{"aggregation":"count"},"name":"query1","indexes":["*"]}]}],"type":"geomap","view":{"focus":"WORLD"}},"id":3442821028347668}],"layout_type":"ordered"}' + body: '{"notify_list":[],"description":"Created using the Datadog provider in Terraform","restricted_roles":["284d8b66-93f9-11eb-9c37-da7ad0900002","043a2842-e140-11e8-bb04-7fd10177666e","657de3a2-29f8-11eb-83b5-6b8ebfb2f184","e82bf27a-986c-11eb-9cba-da7ad0900002","f257ba30-dbb2-11ea-a5ff-5fd1d308318a","6bf314be-5c16-11eb-8e98-2356ea436065","62cbc476-5c16-11eb-8e98-0388ea7a41f8","08604de8-1dca-11eb-800c-9f5f55ff734d","9b3ab170-b768-11eb-a45a-da7ad0900002","7a83f306-96ca-11eb-9c74-da7ad0900002","16169788-28e4-11eb-832c-fb84162ef3eb","4de53192-9946-11eb-9cee-da7ad0900002","1302282c-b93b-11eb-a436-da7ad0900002","17d73994-7531-11eb-94b9-da7ad0900002"],"author_name":"Qin Chen","template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"zwj-tix-inp","title":"tf-TestAccDatadogDashboardGeomapFormula_import-local-1621913750","url":"/dashboard/zwj-tix-inp/tf-testaccdatadogdashboardgeomapformulaimport-local-1621913750","created_at":"2021-05-25T03:35:52.133052+00:00","modified_at":"2021-05-25T03:35:52.133052+00:00","author_handle":"qin.chen@datadoghq.com","widgets":[{"definition":{"requests":[{"formulas":[{"formula":"query1 + query2","limit":{"count":10,"order":"asc"}}],"response_format":"scalar","queries":[{"aggregator":"sum","data_source":"metrics","name":"query1","query":"avg:system.cpu.system{*} by {datacenter}"},{"aggregator":"sum","data_source":"metrics","name":"query2","query":"avg:system.load.1{*} by {datacenter}"}]}],"type":"geomap","style":{"palette":"hostmap_blues","palette_flip":false},"view":{"focus":"WORLD"}},"id":5754318934321226},{"definition":{"requests":[{"formulas":[{"formula":"query1","limit":{"count":25,"order":"desc"}}],"response_format":"scalar","queries":[{"search":{"query":"abc"},"data_source":"rum","compute":{"aggregation":"count"},"name":"query1","indexes":["*"]}]}],"type":"geomap","style":{"palette":"hostmap_blues","palette_flip":false},"view":{"focus":"WORLD"}},"id":2233524728136771},{"definition":{"style":{"palette":"hostmap_blues","palette_flip":false},"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"my custom link"}],"time":{"live_span":"4h"},"requests":[{"formulas":[{"formula":"query1"}],"response_format":"scalar","queries":[{"data_source":"security_signals","compute":{"aggregation":"count"},"name":"query1","indexes":["*"]}]}],"type":"geomap","view":{"focus":"WORLD"}},"id":4621894023084532}],"layout_type":"ordered"}' headers: Cache-Control: - no-cache @@ -196,7 +196,7 @@ interactions: Content-Type: - application/json Date: - - Tue, 27 Apr 2021 06:58:34 GMT + - Tue, 25 May 2021 03:35:53 GMT Pragma: - no-cache Strict-Transport-Security: @@ -206,9 +206,9 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Debug: - - nLnnBNvlCFDECRnZvzDb0z4sAO35G+IMidcAs8vrCKyjvsKWE8Yd9S3n6OjZ1qRN + - tpRCH6w417YjBovRJ8VmtuXmNONVYiRp2c8d2AxjPdGBn8PCtgG4vAztrx3qUZAN X-Dd-Version: - - "35.4397207" + - "35.4598224" X-Frame-Options: - SAMEORIGIN status: 200 OK @@ -223,11 +223,11 @@ interactions: Dd-Operation-Id: - GetDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.19 (go go1.15.7; os darwin; arch amd64) - url: https://api.datadoghq.com/api/v1/dashboard/myq-qpv-k3m + - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) + url: https://api.datadoghq.com/api/v1/dashboard/zwj-tix-inp 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":"myq-qpv-k3m","title":"tf-TestAccDatadogDashboardGeomapFormula_import-local-1619506707","url":"/dashboard/myq-qpv-k3m/tf-testaccdatadogdashboardgeomapformulaimport-local-1619506707","created_at":"2021-04-27T06:58:29.153119+00:00","modified_at":"2021-04-27T06:58:29.153119+00:00","author_handle":"frog@datadoghq.com","widgets":[{"definition":{"requests":[{"formulas":[{"formula":"query1 + query2","limit":{"count":10,"order":"asc"}}],"response_format":"scalar","queries":[{"aggregator":"sum","data_source":"metrics","name":"query1","query":"avg:system.cpu.system{*} by {datacenter}"},{"aggregator":"sum","data_source":"metrics","name":"query2","query":"avg:system.load.1{*} by {datacenter}"}]}],"type":"geomap","style":{"palette":"hostmap_blues","palette_flip":false},"view":{"focus":"WORLD"}},"id":5661738832269822},{"definition":{"requests":[{"formulas":[{"formula":"query1","limit":{"count":25,"order":"desc"}}],"response_format":"scalar","queries":[{"search":{"query":"abc"},"data_source":"rum","compute":{"aggregation":"count"},"name":"query1","indexes":["*"]}]}],"type":"geomap","style":{"palette":"hostmap_blues","palette_flip":false},"view":{"focus":"WORLD"}},"id":8505986293990458},{"definition":{"style":{"palette":"hostmap_blues","palette_flip":false},"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"my custom link"}],"time":{"live_span":"4h"},"requests":[{"formulas":[{"formula":"query1"}],"response_format":"scalar","queries":[{"data_source":"security_signals","compute":{"aggregation":"count"},"name":"query1","indexes":["*"]}]}],"type":"geomap","view":{"focus":"WORLD"}},"id":3442821028347668}],"layout_type":"ordered"}' + body: '{"notify_list":[],"description":"Created using the Datadog provider in Terraform","restricted_roles":["284d8b66-93f9-11eb-9c37-da7ad0900002","043a2842-e140-11e8-bb04-7fd10177666e","657de3a2-29f8-11eb-83b5-6b8ebfb2f184","e82bf27a-986c-11eb-9cba-da7ad0900002","f257ba30-dbb2-11ea-a5ff-5fd1d308318a","6bf314be-5c16-11eb-8e98-2356ea436065","62cbc476-5c16-11eb-8e98-0388ea7a41f8","08604de8-1dca-11eb-800c-9f5f55ff734d","9b3ab170-b768-11eb-a45a-da7ad0900002","7a83f306-96ca-11eb-9c74-da7ad0900002","16169788-28e4-11eb-832c-fb84162ef3eb","4de53192-9946-11eb-9cee-da7ad0900002","1302282c-b93b-11eb-a436-da7ad0900002","17d73994-7531-11eb-94b9-da7ad0900002"],"author_name":"Qin Chen","template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"zwj-tix-inp","title":"tf-TestAccDatadogDashboardGeomapFormula_import-local-1621913750","url":"/dashboard/zwj-tix-inp/tf-testaccdatadogdashboardgeomapformulaimport-local-1621913750","created_at":"2021-05-25T03:35:52.133052+00:00","modified_at":"2021-05-25T03:35:52.133052+00:00","author_handle":"qin.chen@datadoghq.com","widgets":[{"definition":{"requests":[{"formulas":[{"formula":"query1 + query2","limit":{"count":10,"order":"asc"}}],"response_format":"scalar","queries":[{"aggregator":"sum","data_source":"metrics","name":"query1","query":"avg:system.cpu.system{*} by {datacenter}"},{"aggregator":"sum","data_source":"metrics","name":"query2","query":"avg:system.load.1{*} by {datacenter}"}]}],"type":"geomap","style":{"palette":"hostmap_blues","palette_flip":false},"view":{"focus":"WORLD"}},"id":5754318934321226},{"definition":{"requests":[{"formulas":[{"formula":"query1","limit":{"count":25,"order":"desc"}}],"response_format":"scalar","queries":[{"search":{"query":"abc"},"data_source":"rum","compute":{"aggregation":"count"},"name":"query1","indexes":["*"]}]}],"type":"geomap","style":{"palette":"hostmap_blues","palette_flip":false},"view":{"focus":"WORLD"}},"id":2233524728136771},{"definition":{"style":{"palette":"hostmap_blues","palette_flip":false},"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"my custom link"}],"time":{"live_span":"4h"},"requests":[{"formulas":[{"formula":"query1"}],"response_format":"scalar","queries":[{"data_source":"security_signals","compute":{"aggregation":"count"},"name":"query1","indexes":["*"]}]}],"type":"geomap","view":{"focus":"WORLD"}},"id":4621894023084532}],"layout_type":"ordered"}' headers: Cache-Control: - no-cache @@ -238,7 +238,7 @@ interactions: Content-Type: - application/json Date: - - Tue, 27 Apr 2021 06:58:34 GMT + - Tue, 25 May 2021 03:35:54 GMT Pragma: - no-cache Strict-Transport-Security: @@ -250,7 +250,7 @@ interactions: X-Dd-Debug: - twvpGlmuom5y6A0pjGtXzTf554cmwJgTcCZ71fK4H/RDi+v5ehBK0zQiRcTJQG5C X-Dd-Version: - - "35.4397207" + - "35.4598224" X-Frame-Options: - SAMEORIGIN status: 200 OK @@ -265,11 +265,11 @@ interactions: Dd-Operation-Id: - DeleteDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.19 (go go1.15.7; os darwin; arch amd64) - url: https://api.datadoghq.com/api/v1/dashboard/myq-qpv-k3m + - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) + url: https://api.datadoghq.com/api/v1/dashboard/zwj-tix-inp method: DELETE response: - body: '{"deleted_dashboard_id":"myq-qpv-k3m"}' + body: '{"deleted_dashboard_id":"zwj-tix-inp"}' headers: Cache-Control: - no-cache @@ -280,7 +280,7 @@ interactions: Content-Type: - application/json Date: - - Tue, 27 Apr 2021 06:58:34 GMT + - Tue, 25 May 2021 03:35:54 GMT Pragma: - no-cache Strict-Transport-Security: @@ -290,9 +290,9 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Debug: - - 5gfwVh/5HZ+AnGd/Di93w3NEWC6KMHT9KzmHEiRJmNdOjBtAsbOcgVFyqEChw71h + - Wjq53IVIwnB4SiR238oOYgHFMq/ZYP0LQ/Dv8C2fFLBwTje/dWJHu6pI6vIOK1zG X-Dd-Version: - - "35.4397207" + - "35.4598224" X-Frame-Options: - SAMEORIGIN status: 200 OK @@ -307,11 +307,11 @@ interactions: Dd-Operation-Id: - GetDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.19 (go go1.15.7; os darwin; arch amd64) - url: https://api.datadoghq.com/api/v1/dashboard/myq-qpv-k3m + - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) + url: https://api.datadoghq.com/api/v1/dashboard/zwj-tix-inp method: GET response: - body: '{"errors": ["Dashboard with ID myq-qpv-k3m not found"]}' + body: '{"errors": ["Dashboard with ID zwj-tix-inp not found"]}' headers: Cache-Control: - no-cache @@ -322,7 +322,7 @@ interactions: Content-Type: - application/json Date: - - Tue, 27 Apr 2021 06:58:35 GMT + - Tue, 25 May 2021 03:35:55 GMT Pragma: - no-cache Strict-Transport-Security: @@ -332,7 +332,7 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Version: - - "35.4397207" + - "35.4598224" X-Frame-Options: - SAMEORIGIN status: 404 Not Found diff --git a/datadog/tests/cassettes/TestAccDatadogDashboardGeomap_import.freeze b/datadog/tests/cassettes/TestAccDatadogDashboardGeomap_import.freeze index c9fd84193..4df04a126 100644 --- a/datadog/tests/cassettes/TestAccDatadogDashboardGeomap_import.freeze +++ b/datadog/tests/cassettes/TestAccDatadogDashboardGeomap_import.freeze @@ -1 +1 @@ -2021-04-27T08:58:27.619914+02:00 \ No newline at end of file +2021-05-24T23:35:50.555315-04:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogDashboardGeomap_import.yaml b/datadog/tests/cassettes/TestAccDatadogDashboardGeomap_import.yaml index b9c3cd1d8..8540fdc94 100644 --- a/datadog/tests/cassettes/TestAccDatadogDashboardGeomap_import.yaml +++ b/datadog/tests/cassettes/TestAccDatadogDashboardGeomap_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-TestAccDatadogDashboardGeomap_import-local-1619506707","widgets":[{"definition":{"requests":[{"q":"avg:system.load.1{*}"}],"style":{"palette":"hostmap_blues","palette_flip":false},"type":"geomap","view":{"focus":"WORLD"}}},{"definition":{"custom_links":[{"label":"Test Custom Link label","link":"https://app.datadoghq.com/dashboard/lists"}],"requests":[{"log_query":{"compute":{"aggregation":"count"},"index":"*","search":{"query":""}}}],"style":{"palette":"hostmap_blues","palette_flip":false},"time":{"live_span":"1h"},"type":"geomap","view":{"focus":"WORLD"}}},{"definition":{"requests":[{"rum_query":{"compute":{"aggregation":"count"},"index":"*","search":{"query":""}}}],"style":{"palette":"hostmap_blues","palette_flip":false},"time":{"live_span":"4h"},"type":"geomap","view":{"focus":"WORLD"}}}]} + {"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-TestAccDatadogDashboardGeomap_import-local-1621913750","widgets":[{"definition":{"requests":[{"q":"avg:system.load.1{*}"}],"style":{"palette":"hostmap_blues","palette_flip":false},"type":"geomap","view":{"focus":"WORLD"}}},{"definition":{"custom_links":[{"label":"Test Custom Link label","link":"https://app.datadoghq.com/dashboard/lists"},{"is_hidden":true,"link":"https://app.datadoghq.com/dashboard/lists","override_label":"logs"}],"requests":[{"log_query":{"compute":{"aggregation":"count"},"index":"*","search":{"query":""}}}],"style":{"palette":"hostmap_blues","palette_flip":false},"time":{"live_span":"1h"},"type":"geomap","view":{"focus":"WORLD"}}},{"definition":{"requests":[{"rum_query":{"compute":{"aggregation":"count"},"index":"*","search":{"query":""}}}],"style":{"palette":"hostmap_blues","palette_flip":false},"time":{"live_span":"4h"},"type":"geomap","view":{"focus":"WORLD"}}}]} form: {} headers: Accept: @@ -13,11 +13,11 @@ interactions: Dd-Operation-Id: - CreateDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.19 (go go1.15.7; os darwin; arch amd64) + - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) 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":"r87-rkv-9zm","title":"tf-TestAccDatadogDashboardGeomap_import-local-1619506707","url":"/dashboard/r87-rkv-9zm/tf-testaccdatadogdashboardgeomapimport-local-1619506707","created_at":"2021-04-27T06:58:29.156112+00:00","modified_at":"2021-04-27T06:58:29.156112+00:00","author_handle":"frog@datadoghq.com","widgets":[{"definition":{"requests":[{"q":"avg:system.load.1{*}"}],"type":"geomap","style":{"palette":"hostmap_blues","palette_flip":false},"view":{"focus":"WORLD"}},"id":4639613529631183},{"definition":{"style":{"palette":"hostmap_blues","palette_flip":false},"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test Custom Link label"}],"time":{"live_span":"1h"},"requests":[{"log_query":{"index":"*","search":{"query":""},"compute":{"aggregation":"count"}}}],"type":"geomap","view":{"focus":"WORLD"}},"id":658528929802208},{"definition":{"requests":[{"rum_query":{"index":"*","search":{"query":""},"compute":{"aggregation":"count"}}}],"view":{"focus":"WORLD"},"type":"geomap","style":{"palette":"hostmap_blues","palette_flip":false},"time":{"live_span":"4h"}},"id":8526536237626829}],"layout_type":"ordered"}' + body: '{"notify_list":[],"description":"Created using the Datadog provider in Terraform","restricted_roles":["043a2842-e140-11e8-bb04-7fd10177666e","08604de8-1dca-11eb-800c-9f5f55ff734d","1302282c-b93b-11eb-a436-da7ad0900002","16169788-28e4-11eb-832c-fb84162ef3eb","17d73994-7531-11eb-94b9-da7ad0900002","284d8b66-93f9-11eb-9c37-da7ad0900002","4de53192-9946-11eb-9cee-da7ad0900002","62cbc476-5c16-11eb-8e98-0388ea7a41f8","657de3a2-29f8-11eb-83b5-6b8ebfb2f184","6bf314be-5c16-11eb-8e98-2356ea436065","7a83f306-96ca-11eb-9c74-da7ad0900002","9b3ab170-b768-11eb-a45a-da7ad0900002","e82bf27a-986c-11eb-9cba-da7ad0900002","f257ba30-dbb2-11ea-a5ff-5fd1d308318a"],"author_name":"Qin Chen","template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"tyy-kd8-4nd","title":"tf-TestAccDatadogDashboardGeomap_import-local-1621913750","url":"/dashboard/tyy-kd8-4nd/tf-testaccdatadogdashboardgeomapimport-local-1621913750","created_at":"2021-05-25T03:35:52.140875+00:00","modified_at":"2021-05-25T03:35:52.140875+00:00","author_handle":"qin.chen@datadoghq.com","widgets":[{"definition":{"requests":[{"q":"avg:system.load.1{*}"}],"type":"geomap","style":{"palette":"hostmap_blues","palette_flip":false},"view":{"focus":"WORLD"}},"id":341581157307577},{"definition":{"style":{"palette":"hostmap_blues","palette_flip":false},"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test Custom Link label"},{"override_label":"logs","is_hidden":true,"link":"https://app.datadoghq.com/dashboard/lists"}],"time":{"live_span":"1h"},"requests":[{"log_query":{"index":"*","search":{"query":""},"compute":{"aggregation":"count"}}}],"type":"geomap","view":{"focus":"WORLD"}},"id":5040090482646931},{"definition":{"requests":[{"rum_query":{"index":"*","search":{"query":""},"compute":{"aggregation":"count"}}}],"view":{"focus":"WORLD"},"type":"geomap","style":{"palette":"hostmap_blues","palette_flip":false},"time":{"live_span":"4h"}},"id":7468283620789134}],"layout_type":"ordered"}' headers: Cache-Control: - no-cache @@ -28,7 +28,7 @@ interactions: Content-Type: - application/json Date: - - Tue, 27 Apr 2021 06:58:32 GMT + - Tue, 25 May 2021 03:35:52 GMT Pragma: - no-cache Strict-Transport-Security: @@ -38,9 +38,9 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Debug: - - tpRCH6w417YjBovRJ8VmtuXmNONVYiRp2c8d2AxjPdGBn8PCtgG4vAztrx3qUZAN + - dCmL/3rURV6BPeaqeP3Rxigq41m5CAb17XjrRE42uZ01zpr07HVhbL5/3TWMkvgu X-Dd-Version: - - "35.4397207" + - "35.4598224" X-Frame-Options: - SAMEORIGIN status: 200 OK @@ -55,11 +55,11 @@ interactions: Dd-Operation-Id: - GetDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.19 (go go1.15.7; os darwin; arch amd64) - url: https://api.datadoghq.com/api/v1/dashboard/r87-rkv-9zm + - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) + url: https://api.datadoghq.com/api/v1/dashboard/tyy-kd8-4nd 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":"r87-rkv-9zm","title":"tf-TestAccDatadogDashboardGeomap_import-local-1619506707","url":"/dashboard/r87-rkv-9zm/tf-testaccdatadogdashboardgeomapimport-local-1619506707","created_at":"2021-04-27T06:58:29.156112+00:00","modified_at":"2021-04-27T06:58:29.156112+00:00","author_handle":"frog@datadoghq.com","widgets":[{"definition":{"requests":[{"q":"avg:system.load.1{*}"}],"type":"geomap","style":{"palette":"hostmap_blues","palette_flip":false},"view":{"focus":"WORLD"}},"id":4639613529631183},{"definition":{"style":{"palette":"hostmap_blues","palette_flip":false},"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test Custom Link label"}],"time":{"live_span":"1h"},"requests":[{"log_query":{"index":"*","search":{"query":""},"compute":{"aggregation":"count"}}}],"type":"geomap","view":{"focus":"WORLD"}},"id":658528929802208},{"definition":{"requests":[{"rum_query":{"index":"*","search":{"query":""},"compute":{"aggregation":"count"}}}],"view":{"focus":"WORLD"},"type":"geomap","style":{"palette":"hostmap_blues","palette_flip":false},"time":{"live_span":"4h"}},"id":8526536237626829}],"layout_type":"ordered"}' + body: '{"notify_list":[],"description":"Created using the Datadog provider in Terraform","restricted_roles":["284d8b66-93f9-11eb-9c37-da7ad0900002","043a2842-e140-11e8-bb04-7fd10177666e","657de3a2-29f8-11eb-83b5-6b8ebfb2f184","e82bf27a-986c-11eb-9cba-da7ad0900002","f257ba30-dbb2-11ea-a5ff-5fd1d308318a","6bf314be-5c16-11eb-8e98-2356ea436065","62cbc476-5c16-11eb-8e98-0388ea7a41f8","08604de8-1dca-11eb-800c-9f5f55ff734d","9b3ab170-b768-11eb-a45a-da7ad0900002","7a83f306-96ca-11eb-9c74-da7ad0900002","16169788-28e4-11eb-832c-fb84162ef3eb","4de53192-9946-11eb-9cee-da7ad0900002","1302282c-b93b-11eb-a436-da7ad0900002","17d73994-7531-11eb-94b9-da7ad0900002"],"author_name":"Qin Chen","template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"tyy-kd8-4nd","title":"tf-TestAccDatadogDashboardGeomap_import-local-1621913750","url":"/dashboard/tyy-kd8-4nd/tf-testaccdatadogdashboardgeomapimport-local-1621913750","created_at":"2021-05-25T03:35:52.140875+00:00","modified_at":"2021-05-25T03:35:52.140875+00:00","author_handle":"qin.chen@datadoghq.com","widgets":[{"definition":{"requests":[{"q":"avg:system.load.1{*}"}],"type":"geomap","style":{"palette":"hostmap_blues","palette_flip":false},"view":{"focus":"WORLD"}},"id":341581157307577},{"definition":{"style":{"palette":"hostmap_blues","palette_flip":false},"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test Custom Link label"},{"override_label":"logs","is_hidden":true,"link":"https://app.datadoghq.com/dashboard/lists"}],"time":{"live_span":"1h"},"requests":[{"log_query":{"index":"*","search":{"query":""},"compute":{"aggregation":"count"}}}],"type":"geomap","view":{"focus":"WORLD"}},"id":5040090482646931},{"definition":{"requests":[{"rum_query":{"index":"*","search":{"query":""},"compute":{"aggregation":"count"}}}],"view":{"focus":"WORLD"},"type":"geomap","style":{"palette":"hostmap_blues","palette_flip":false},"time":{"live_span":"4h"}},"id":7468283620789134}],"layout_type":"ordered"}' headers: Cache-Control: - no-cache @@ -70,7 +70,7 @@ interactions: Content-Type: - application/json Date: - - Tue, 27 Apr 2021 06:58:32 GMT + - Tue, 25 May 2021 03:35:52 GMT Pragma: - no-cache Strict-Transport-Security: @@ -80,9 +80,9 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Debug: - - l8RQo2maZqJf6GFThBbKNE6dvthz6njusVtau3dPXJWL2RLFoN81H+BLPB/1xgs1 + - twvpGlmuom5y6A0pjGtXzTf554cmwJgTcCZ71fK4H/RDi+v5ehBK0zQiRcTJQG5C X-Dd-Version: - - "35.4397207" + - "35.4598224" X-Frame-Options: - SAMEORIGIN status: 200 OK @@ -97,11 +97,11 @@ interactions: Dd-Operation-Id: - GetDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.19 (go go1.15.7; os darwin; arch amd64) - url: https://api.datadoghq.com/api/v1/dashboard/r87-rkv-9zm + - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) + url: https://api.datadoghq.com/api/v1/dashboard/tyy-kd8-4nd 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":"r87-rkv-9zm","title":"tf-TestAccDatadogDashboardGeomap_import-local-1619506707","url":"/dashboard/r87-rkv-9zm/tf-testaccdatadogdashboardgeomapimport-local-1619506707","created_at":"2021-04-27T06:58:29.156112+00:00","modified_at":"2021-04-27T06:58:29.156112+00:00","author_handle":"frog@datadoghq.com","widgets":[{"definition":{"requests":[{"q":"avg:system.load.1{*}"}],"type":"geomap","style":{"palette":"hostmap_blues","palette_flip":false},"view":{"focus":"WORLD"}},"id":4639613529631183},{"definition":{"style":{"palette":"hostmap_blues","palette_flip":false},"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test Custom Link label"}],"time":{"live_span":"1h"},"requests":[{"log_query":{"index":"*","search":{"query":""},"compute":{"aggregation":"count"}}}],"type":"geomap","view":{"focus":"WORLD"}},"id":658528929802208},{"definition":{"requests":[{"rum_query":{"index":"*","search":{"query":""},"compute":{"aggregation":"count"}}}],"view":{"focus":"WORLD"},"type":"geomap","style":{"palette":"hostmap_blues","palette_flip":false},"time":{"live_span":"4h"}},"id":8526536237626829}],"layout_type":"ordered"}' + body: '{"notify_list":[],"description":"Created using the Datadog provider in Terraform","restricted_roles":["284d8b66-93f9-11eb-9c37-da7ad0900002","043a2842-e140-11e8-bb04-7fd10177666e","657de3a2-29f8-11eb-83b5-6b8ebfb2f184","e82bf27a-986c-11eb-9cba-da7ad0900002","f257ba30-dbb2-11ea-a5ff-5fd1d308318a","6bf314be-5c16-11eb-8e98-2356ea436065","62cbc476-5c16-11eb-8e98-0388ea7a41f8","08604de8-1dca-11eb-800c-9f5f55ff734d","9b3ab170-b768-11eb-a45a-da7ad0900002","7a83f306-96ca-11eb-9c74-da7ad0900002","16169788-28e4-11eb-832c-fb84162ef3eb","4de53192-9946-11eb-9cee-da7ad0900002","1302282c-b93b-11eb-a436-da7ad0900002","17d73994-7531-11eb-94b9-da7ad0900002"],"author_name":"Qin Chen","template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"tyy-kd8-4nd","title":"tf-TestAccDatadogDashboardGeomap_import-local-1621913750","url":"/dashboard/tyy-kd8-4nd/tf-testaccdatadogdashboardgeomapimport-local-1621913750","created_at":"2021-05-25T03:35:52.140875+00:00","modified_at":"2021-05-25T03:35:52.140875+00:00","author_handle":"qin.chen@datadoghq.com","widgets":[{"definition":{"requests":[{"q":"avg:system.load.1{*}"}],"type":"geomap","style":{"palette":"hostmap_blues","palette_flip":false},"view":{"focus":"WORLD"}},"id":341581157307577},{"definition":{"style":{"palette":"hostmap_blues","palette_flip":false},"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test Custom Link label"},{"override_label":"logs","is_hidden":true,"link":"https://app.datadoghq.com/dashboard/lists"}],"time":{"live_span":"1h"},"requests":[{"log_query":{"index":"*","search":{"query":""},"compute":{"aggregation":"count"}}}],"type":"geomap","view":{"focus":"WORLD"}},"id":5040090482646931},{"definition":{"requests":[{"rum_query":{"index":"*","search":{"query":""},"compute":{"aggregation":"count"}}}],"view":{"focus":"WORLD"},"type":"geomap","style":{"palette":"hostmap_blues","palette_flip":false},"time":{"live_span":"4h"}},"id":7468283620789134}],"layout_type":"ordered"}' headers: Cache-Control: - no-cache @@ -112,7 +112,7 @@ interactions: Content-Type: - application/json Date: - - Tue, 27 Apr 2021 06:58:33 GMT + - Tue, 25 May 2021 03:35:53 GMT Pragma: - no-cache Strict-Transport-Security: @@ -122,9 +122,9 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Debug: - - 25u1gDlL724DHllbjFT4BhOLorBTilh+aah2uWAUEjFC/+rjczJdiyWrV/HwLwe/ + - bgHykj7A9bfZx0Y5ZO3swhhp5tGUSNJHqFWR868+qg087CYrDOd5hQslC+noiEtH X-Dd-Version: - - "35.4397207" + - "35.4598224" X-Frame-Options: - SAMEORIGIN status: 200 OK @@ -139,11 +139,11 @@ interactions: Dd-Operation-Id: - GetDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.19 (go go1.15.7; os darwin; arch amd64) - url: https://api.datadoghq.com/api/v1/dashboard/r87-rkv-9zm + - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) + url: https://api.datadoghq.com/api/v1/dashboard/tyy-kd8-4nd 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":"r87-rkv-9zm","title":"tf-TestAccDatadogDashboardGeomap_import-local-1619506707","url":"/dashboard/r87-rkv-9zm/tf-testaccdatadogdashboardgeomapimport-local-1619506707","created_at":"2021-04-27T06:58:29.156112+00:00","modified_at":"2021-04-27T06:58:29.156112+00:00","author_handle":"frog@datadoghq.com","widgets":[{"definition":{"requests":[{"q":"avg:system.load.1{*}"}],"type":"geomap","style":{"palette":"hostmap_blues","palette_flip":false},"view":{"focus":"WORLD"}},"id":4639613529631183},{"definition":{"style":{"palette":"hostmap_blues","palette_flip":false},"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test Custom Link label"}],"time":{"live_span":"1h"},"requests":[{"log_query":{"index":"*","search":{"query":""},"compute":{"aggregation":"count"}}}],"type":"geomap","view":{"focus":"WORLD"}},"id":658528929802208},{"definition":{"requests":[{"rum_query":{"index":"*","search":{"query":""},"compute":{"aggregation":"count"}}}],"view":{"focus":"WORLD"},"type":"geomap","style":{"palette":"hostmap_blues","palette_flip":false},"time":{"live_span":"4h"}},"id":8526536237626829}],"layout_type":"ordered"}' + body: '{"notify_list":[],"description":"Created using the Datadog provider in Terraform","restricted_roles":["284d8b66-93f9-11eb-9c37-da7ad0900002","043a2842-e140-11e8-bb04-7fd10177666e","657de3a2-29f8-11eb-83b5-6b8ebfb2f184","e82bf27a-986c-11eb-9cba-da7ad0900002","f257ba30-dbb2-11ea-a5ff-5fd1d308318a","6bf314be-5c16-11eb-8e98-2356ea436065","62cbc476-5c16-11eb-8e98-0388ea7a41f8","08604de8-1dca-11eb-800c-9f5f55ff734d","9b3ab170-b768-11eb-a45a-da7ad0900002","7a83f306-96ca-11eb-9c74-da7ad0900002","16169788-28e4-11eb-832c-fb84162ef3eb","4de53192-9946-11eb-9cee-da7ad0900002","1302282c-b93b-11eb-a436-da7ad0900002","17d73994-7531-11eb-94b9-da7ad0900002"],"author_name":"Qin Chen","template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"tyy-kd8-4nd","title":"tf-TestAccDatadogDashboardGeomap_import-local-1621913750","url":"/dashboard/tyy-kd8-4nd/tf-testaccdatadogdashboardgeomapimport-local-1621913750","created_at":"2021-05-25T03:35:52.140875+00:00","modified_at":"2021-05-25T03:35:52.140875+00:00","author_handle":"qin.chen@datadoghq.com","widgets":[{"definition":{"requests":[{"q":"avg:system.load.1{*}"}],"type":"geomap","style":{"palette":"hostmap_blues","palette_flip":false},"view":{"focus":"WORLD"}},"id":341581157307577},{"definition":{"style":{"palette":"hostmap_blues","palette_flip":false},"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test Custom Link label"},{"override_label":"logs","is_hidden":true,"link":"https://app.datadoghq.com/dashboard/lists"}],"time":{"live_span":"1h"},"requests":[{"log_query":{"index":"*","search":{"query":""},"compute":{"aggregation":"count"}}}],"type":"geomap","view":{"focus":"WORLD"}},"id":5040090482646931},{"definition":{"requests":[{"rum_query":{"index":"*","search":{"query":""},"compute":{"aggregation":"count"}}}],"view":{"focus":"WORLD"},"type":"geomap","style":{"palette":"hostmap_blues","palette_flip":false},"time":{"live_span":"4h"}},"id":7468283620789134}],"layout_type":"ordered"}' headers: Cache-Control: - no-cache @@ -154,7 +154,7 @@ interactions: Content-Type: - application/json Date: - - Tue, 27 Apr 2021 06:58:33 GMT + - Tue, 25 May 2021 03:35:53 GMT Pragma: - no-cache Strict-Transport-Security: @@ -164,9 +164,9 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Debug: - - Wjq53IVIwnB4SiR238oOYgHFMq/ZYP0LQ/Dv8C2fFLBwTje/dWJHu6pI6vIOK1zG + - bgHykj7A9bfZx0Y5ZO3swhhp5tGUSNJHqFWR868+qg087CYrDOd5hQslC+noiEtH X-Dd-Version: - - "35.4397207" + - "35.4598224" X-Frame-Options: - SAMEORIGIN status: 200 OK @@ -181,11 +181,11 @@ interactions: Dd-Operation-Id: - GetDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.19 (go go1.15.7; os darwin; arch amd64) - url: https://api.datadoghq.com/api/v1/dashboard/r87-rkv-9zm + - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) + url: https://api.datadoghq.com/api/v1/dashboard/tyy-kd8-4nd 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":"r87-rkv-9zm","title":"tf-TestAccDatadogDashboardGeomap_import-local-1619506707","url":"/dashboard/r87-rkv-9zm/tf-testaccdatadogdashboardgeomapimport-local-1619506707","created_at":"2021-04-27T06:58:29.156112+00:00","modified_at":"2021-04-27T06:58:29.156112+00:00","author_handle":"frog@datadoghq.com","widgets":[{"definition":{"requests":[{"q":"avg:system.load.1{*}"}],"type":"geomap","style":{"palette":"hostmap_blues","palette_flip":false},"view":{"focus":"WORLD"}},"id":4639613529631183},{"definition":{"style":{"palette":"hostmap_blues","palette_flip":false},"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test Custom Link label"}],"time":{"live_span":"1h"},"requests":[{"log_query":{"index":"*","search":{"query":""},"compute":{"aggregation":"count"}}}],"type":"geomap","view":{"focus":"WORLD"}},"id":658528929802208},{"definition":{"requests":[{"rum_query":{"index":"*","search":{"query":""},"compute":{"aggregation":"count"}}}],"view":{"focus":"WORLD"},"type":"geomap","style":{"palette":"hostmap_blues","palette_flip":false},"time":{"live_span":"4h"}},"id":8526536237626829}],"layout_type":"ordered"}' + body: '{"notify_list":[],"description":"Created using the Datadog provider in Terraform","restricted_roles":["284d8b66-93f9-11eb-9c37-da7ad0900002","043a2842-e140-11e8-bb04-7fd10177666e","657de3a2-29f8-11eb-83b5-6b8ebfb2f184","e82bf27a-986c-11eb-9cba-da7ad0900002","f257ba30-dbb2-11ea-a5ff-5fd1d308318a","6bf314be-5c16-11eb-8e98-2356ea436065","62cbc476-5c16-11eb-8e98-0388ea7a41f8","08604de8-1dca-11eb-800c-9f5f55ff734d","9b3ab170-b768-11eb-a45a-da7ad0900002","7a83f306-96ca-11eb-9c74-da7ad0900002","16169788-28e4-11eb-832c-fb84162ef3eb","4de53192-9946-11eb-9cee-da7ad0900002","1302282c-b93b-11eb-a436-da7ad0900002","17d73994-7531-11eb-94b9-da7ad0900002"],"author_name":"Qin Chen","template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"tyy-kd8-4nd","title":"tf-TestAccDatadogDashboardGeomap_import-local-1621913750","url":"/dashboard/tyy-kd8-4nd/tf-testaccdatadogdashboardgeomapimport-local-1621913750","created_at":"2021-05-25T03:35:52.140875+00:00","modified_at":"2021-05-25T03:35:52.140875+00:00","author_handle":"qin.chen@datadoghq.com","widgets":[{"definition":{"requests":[{"q":"avg:system.load.1{*}"}],"type":"geomap","style":{"palette":"hostmap_blues","palette_flip":false},"view":{"focus":"WORLD"}},"id":341581157307577},{"definition":{"style":{"palette":"hostmap_blues","palette_flip":false},"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test Custom Link label"},{"override_label":"logs","is_hidden":true,"link":"https://app.datadoghq.com/dashboard/lists"}],"time":{"live_span":"1h"},"requests":[{"log_query":{"index":"*","search":{"query":""},"compute":{"aggregation":"count"}}}],"type":"geomap","view":{"focus":"WORLD"}},"id":5040090482646931},{"definition":{"requests":[{"rum_query":{"index":"*","search":{"query":""},"compute":{"aggregation":"count"}}}],"view":{"focus":"WORLD"},"type":"geomap","style":{"palette":"hostmap_blues","palette_flip":false},"time":{"live_span":"4h"}},"id":7468283620789134}],"layout_type":"ordered"}' headers: Cache-Control: - no-cache @@ -196,7 +196,7 @@ interactions: Content-Type: - application/json Date: - - Tue, 27 Apr 2021 06:58:33 GMT + - Tue, 25 May 2021 03:35:53 GMT Pragma: - no-cache Strict-Transport-Security: @@ -206,9 +206,9 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Debug: - - /L+SFFO+m1pPY+hRCpk5325fvfrNl0KmiquUNJolBN/5hu3HIwflqjZSbJ6NxDFG + - 25u1gDlL724DHllbjFT4BhOLorBTilh+aah2uWAUEjFC/+rjczJdiyWrV/HwLwe/ X-Dd-Version: - - "35.4397207" + - "35.4598224" X-Frame-Options: - SAMEORIGIN status: 200 OK @@ -223,11 +223,11 @@ interactions: Dd-Operation-Id: - GetDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.19 (go go1.15.7; os darwin; arch amd64) - url: https://api.datadoghq.com/api/v1/dashboard/r87-rkv-9zm + - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) + url: https://api.datadoghq.com/api/v1/dashboard/tyy-kd8-4nd 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":"r87-rkv-9zm","title":"tf-TestAccDatadogDashboardGeomap_import-local-1619506707","url":"/dashboard/r87-rkv-9zm/tf-testaccdatadogdashboardgeomapimport-local-1619506707","created_at":"2021-04-27T06:58:29.156112+00:00","modified_at":"2021-04-27T06:58:29.156112+00:00","author_handle":"frog@datadoghq.com","widgets":[{"definition":{"requests":[{"q":"avg:system.load.1{*}"}],"type":"geomap","style":{"palette":"hostmap_blues","palette_flip":false},"view":{"focus":"WORLD"}},"id":4639613529631183},{"definition":{"style":{"palette":"hostmap_blues","palette_flip":false},"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test Custom Link label"}],"time":{"live_span":"1h"},"requests":[{"log_query":{"index":"*","search":{"query":""},"compute":{"aggregation":"count"}}}],"type":"geomap","view":{"focus":"WORLD"}},"id":658528929802208},{"definition":{"requests":[{"rum_query":{"index":"*","search":{"query":""},"compute":{"aggregation":"count"}}}],"view":{"focus":"WORLD"},"type":"geomap","style":{"palette":"hostmap_blues","palette_flip":false},"time":{"live_span":"4h"}},"id":8526536237626829}],"layout_type":"ordered"}' + body: '{"notify_list":[],"description":"Created using the Datadog provider in Terraform","restricted_roles":["284d8b66-93f9-11eb-9c37-da7ad0900002","043a2842-e140-11e8-bb04-7fd10177666e","657de3a2-29f8-11eb-83b5-6b8ebfb2f184","e82bf27a-986c-11eb-9cba-da7ad0900002","f257ba30-dbb2-11ea-a5ff-5fd1d308318a","6bf314be-5c16-11eb-8e98-2356ea436065","62cbc476-5c16-11eb-8e98-0388ea7a41f8","08604de8-1dca-11eb-800c-9f5f55ff734d","9b3ab170-b768-11eb-a45a-da7ad0900002","7a83f306-96ca-11eb-9c74-da7ad0900002","16169788-28e4-11eb-832c-fb84162ef3eb","4de53192-9946-11eb-9cee-da7ad0900002","1302282c-b93b-11eb-a436-da7ad0900002","17d73994-7531-11eb-94b9-da7ad0900002"],"author_name":"Qin Chen","template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"tyy-kd8-4nd","title":"tf-TestAccDatadogDashboardGeomap_import-local-1621913750","url":"/dashboard/tyy-kd8-4nd/tf-testaccdatadogdashboardgeomapimport-local-1621913750","created_at":"2021-05-25T03:35:52.140875+00:00","modified_at":"2021-05-25T03:35:52.140875+00:00","author_handle":"qin.chen@datadoghq.com","widgets":[{"definition":{"requests":[{"q":"avg:system.load.1{*}"}],"type":"geomap","style":{"palette":"hostmap_blues","palette_flip":false},"view":{"focus":"WORLD"}},"id":341581157307577},{"definition":{"style":{"palette":"hostmap_blues","palette_flip":false},"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test Custom Link label"},{"override_label":"logs","is_hidden":true,"link":"https://app.datadoghq.com/dashboard/lists"}],"time":{"live_span":"1h"},"requests":[{"log_query":{"index":"*","search":{"query":""},"compute":{"aggregation":"count"}}}],"type":"geomap","view":{"focus":"WORLD"}},"id":5040090482646931},{"definition":{"requests":[{"rum_query":{"index":"*","search":{"query":""},"compute":{"aggregation":"count"}}}],"view":{"focus":"WORLD"},"type":"geomap","style":{"palette":"hostmap_blues","palette_flip":false},"time":{"live_span":"4h"}},"id":7468283620789134}],"layout_type":"ordered"}' headers: Cache-Control: - no-cache @@ -238,7 +238,7 @@ interactions: Content-Type: - application/json Date: - - Tue, 27 Apr 2021 06:58:34 GMT + - Tue, 25 May 2021 03:35:54 GMT Pragma: - no-cache Strict-Transport-Security: @@ -248,9 +248,9 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Debug: - - F5gm0Rce1/Abr9/0Fw8HAqWfiz0FdiH8er/AXnN6lOn3L6KyGgbsLCwgPlob1No8 + - Um4CoU685QqAscnxhS5BD+goWu2yX1Jd4zCfGzSsEvPPIm1qURZaF8dlLl/OEY4I X-Dd-Version: - - "35.4397207" + - "35.4598224" X-Frame-Options: - SAMEORIGIN status: 200 OK @@ -265,11 +265,11 @@ interactions: Dd-Operation-Id: - DeleteDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.19 (go go1.15.7; os darwin; arch amd64) - url: https://api.datadoghq.com/api/v1/dashboard/r87-rkv-9zm + - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) + url: https://api.datadoghq.com/api/v1/dashboard/tyy-kd8-4nd method: DELETE response: - body: '{"deleted_dashboard_id":"r87-rkv-9zm"}' + body: '{"deleted_dashboard_id":"tyy-kd8-4nd"}' headers: Cache-Control: - no-cache @@ -280,7 +280,7 @@ interactions: Content-Type: - application/json Date: - - Tue, 27 Apr 2021 06:58:34 GMT + - Tue, 25 May 2021 03:35:55 GMT Pragma: - no-cache Strict-Transport-Security: @@ -292,7 +292,7 @@ interactions: X-Dd-Debug: - 2328yjLSqI4XmR1pVqrPRR/SFcQsbafjEpPmZx7/3PfxUK1nJQQsX+wrMelyVyj+ X-Dd-Version: - - "35.4397207" + - "35.4598224" X-Frame-Options: - SAMEORIGIN status: 200 OK @@ -307,11 +307,11 @@ interactions: Dd-Operation-Id: - GetDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.19 (go go1.15.7; os darwin; arch amd64) - url: https://api.datadoghq.com/api/v1/dashboard/r87-rkv-9zm + - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) + url: https://api.datadoghq.com/api/v1/dashboard/tyy-kd8-4nd method: GET response: - body: '{"errors": ["Dashboard with ID r87-rkv-9zm not found"]}' + body: '{"errors": ["Dashboard with ID tyy-kd8-4nd not found"]}' headers: Cache-Control: - no-cache @@ -322,7 +322,7 @@ interactions: Content-Type: - application/json Date: - - Tue, 27 Apr 2021 06:58:34 GMT + - Tue, 25 May 2021 03:35:55 GMT Pragma: - no-cache Strict-Transport-Security: @@ -332,7 +332,7 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Version: - - "35.4397207" + - "35.4598224" X-Frame-Options: - SAMEORIGIN status: 404 Not Found From da9d56afd8643295f02bff69e039f23eb27555c2 Mon Sep 17 00:00:00 2001 From: Qin Cheng Chen Date: Mon, 24 May 2021 23:47:17 -0400 Subject: [PATCH 15/22] try fix TestAccDatadogDashboardTimeseries --- .../TestAccDatadogDashboardTimeseries.freeze | 2 +- .../TestAccDatadogDashboardTimeseries.yaml | 112 ++++++++++++------ ...adogDashboardTimeseriesMultiCompute.freeze | 2 +- ...atadogDashboardTimeseriesMultiCompute.yaml | 82 ++++++------- ...hboardTimeseriesMultiCompute_import.freeze | 2 +- ...ashboardTimeseriesMultiCompute_import.yaml | 94 +++++++-------- ...ccDatadogDashboardTimeseries_import.freeze | 2 +- ...tAccDatadogDashboardTimeseries_import.yaml | 92 +++++++------- 8 files changed, 215 insertions(+), 173 deletions(-) diff --git a/datadog/tests/cassettes/TestAccDatadogDashboardTimeseries.freeze b/datadog/tests/cassettes/TestAccDatadogDashboardTimeseries.freeze index 65e3d491f..90a23d18f 100644 --- a/datadog/tests/cassettes/TestAccDatadogDashboardTimeseries.freeze +++ b/datadog/tests/cassettes/TestAccDatadogDashboardTimeseries.freeze @@ -1 +1 @@ -2021-03-18T18:33:19.520908+01:00 \ No newline at end of file +2021-05-24T23:46:58.434948-04:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogDashboardTimeseries.yaml b/datadog/tests/cassettes/TestAccDatadogDashboardTimeseries.yaml index cb8110b2c..7cb16bc2f 100644 --- a/datadog/tests/cassettes/TestAccDatadogDashboardTimeseries.yaml +++ b/datadog/tests/cassettes/TestAccDatadogDashboardTimeseries.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-TestAccDatadogDashboardTimeseries-local-1616088799","widgets":[{"definition":{"custom_links":[{"label":"Test Custom Link label","link":"https://app.datadoghq.com/dashboard/lists"}],"events":[{"q":"sources:test tags:1","tags_execution":"and"}],"legend_columns":["value","min","max"],"legend_layout":"horizontal","legend_size":"2","markers":[{"display_type":"error dashed","label":"y=500000","value":"y=500000"},{"display_type":"warning dashed","label":"y=400000","value":"y=400000"}],"requests":[{"display_type":"line","metadata":[{"expression":""}],"on_right_yaxis":true,"q":"avg:system.cpu.user{env:prod} by {app}","style":{"line_type":"solid","line_width":"thin","palette":"dog_classic"}},{"display_type":"line","log_query":{"compute":{"aggregation":"count"},"group_by":[{"facet":"service","limit":10,"sort":{"aggregation":"count","order":"desc"}}],"index":"*","search":{"query":""}},"on_right_yaxis":false,"style":{"line_type":"solid","line_width":"normal","palette":"cool"}},{"apm_query":{"compute":{"aggregation":"cardinality","facet":"env","interval":1000},"group_by":[{"facet":"status","limit":10,"sort":{"aggregation":"cardinality","facet":"env","order":"desc"}}],"index":"trace-search","search":{"query":""}},"display_type":"line","on_right_yaxis":true,"style":{"line_type":"dashed","line_width":"thick","palette":"warm"}},{"display_type":"line","on_right_yaxis":true,"process_query":{"filter_by":["account:prod"],"limit":10,"metric":"process.stat.cpu.total_pct"},"style":{"line_type":"solid","line_width":"normal","palette":"purple"}},{"display_type":"area","network_query":{"compute":{"aggregation":"sum","facet":"network.bytes_read"},"group_by":[{"facet":"source_region"},{"facet":"dest_environment"}],"index":"netflow-search","search":{"query":"network.transport:udp network.destination.ip:\"*\""}},"on_right_yaxis":true,"style":{"line_type":"solid","line_width":"normal","palette":"orange"}},{"display_type":"area","on_right_yaxis":true,"rum_query":{"compute":{"aggregation":"avg","facet":"@duration","interval":10},"group_by":[{"facet":"service","limit":10,"sort":{"aggregation":"avg","facet":"@duration","order":"desc"}}],"index":"*","search":{"query":""}},"style":{"line_type":"solid","line_width":"normal","palette":"grey"}}],"right_yaxis":{"include_zero":false,"max":"599998","min":"1"},"show_legend":true,"time":{"live_span":"5m"},"title":"system.cpu.user, env, process.stat.cpu.total_pct, network.bytes_read, @d...","title_align":"left","title_size":"16","type":"timeseries","yaxis":{"include_zero":true,"max":"599999","min":"0"}}},{"definition":{"custom_links":[{"label":"Test Custom Link label","link":"https://app.datadoghq.com/dashboard/lists"}],"events":[{"q":"sources:test tags:1","tags_execution":"and"}],"legend_columns":["value","min","max"],"legend_layout":"horizontal","legend_size":"2","markers":[{"display_type":"error dashed","label":"y=500000","value":"y=500000"},{"display_type":"warning dashed","label":"y=400000","value":"y=400000"}],"requests":[{"display_type":"line","metadata":[{"expression":""}],"on_right_yaxis":true,"q":"avg:system.cpu.user{env:prod} by {app}","style":{"line_type":"solid","line_width":"thin","palette":"dog_classic"}},{"display_type":"line","log_query":{"compute":{"aggregation":"count"},"group_by":[{"facet":"service","limit":10,"sort":{"aggregation":"count","order":"desc"}}],"index":"*","search":{"query":""}},"on_right_yaxis":false,"style":{"line_type":"solid","line_width":"normal","palette":"cool"}},{"apm_query":{"compute":{"aggregation":"cardinality","facet":"env","interval":1000},"group_by":[{"facet":"status","limit":10,"sort":{"aggregation":"cardinality","facet":"env","order":"desc"}}],"index":"trace-search","search":{"query":""}},"display_type":"line","on_right_yaxis":true,"style":{"line_type":"dashed","line_width":"thick","palette":"warm"}},{"display_type":"line","on_right_yaxis":true,"process_query":{"filter_by":["account:prod"],"limit":10,"metric":"process.stat.cpu.total_pct"},"style":{"line_type":"solid","line_width":"normal","palette":"purple"}},{"display_type":"area","network_query":{"compute":{"aggregation":"sum","facet":"network.bytes_read"},"group_by":[{"facet":"source_region"},{"facet":"dest_environment"}],"index":"netflow-search","search":{"query":"network.transport:udp network.destination.ip:\"*\""}},"on_right_yaxis":true,"style":{"line_type":"solid","line_width":"normal","palette":"orange"}},{"display_type":"area","on_right_yaxis":true,"rum_query":{"compute":{"aggregation":"avg","facet":"@duration","interval":10},"group_by":[{"facet":"service","limit":10,"sort":{"aggregation":"avg","facet":"@duration","order":"desc"}}],"index":"*","search":{"query":""}},"style":{"line_type":"solid","line_width":"normal","palette":"grey"}}],"right_yaxis":{"include_zero":false,"max":"599998","min":"1"},"show_legend":true,"time":{"live_span":"5m"},"title":"system.cpu.user, env, process.stat.cpu.total_pct, network.bytes_read, @d...","title_align":"left","title_size":"16","type":"timeseries","yaxis":{"include_zero":true,"max":"599999","min":"0"}}}]} + {"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-TestAccDatadogDashboardTimeseries-local-1621914418","widgets":[{"definition":{"custom_links":[{"label":"Test Custom Link label","link":"https://app.datadoghq.com/dashboard/lists"},{"is_hidden":true,"link":"https://app.datadoghq.com/dashboard/lists","override_label":"logs"}],"events":[{"q":"sources:test tags:1","tags_execution":"and"}],"legend_columns":["value","min","max"],"legend_layout":"horizontal","legend_size":"2","markers":[{"display_type":"error dashed","label":"y=500000","value":"y=500000"},{"display_type":"warning dashed","label":"y=400000","value":"y=400000"}],"requests":[{"display_type":"line","metadata":[{"expression":""}],"on_right_yaxis":true,"q":"avg:system.cpu.user{env:prod} by {app}","style":{"line_type":"solid","line_width":"thin","palette":"dog_classic"}},{"display_type":"line","log_query":{"compute":{"aggregation":"count"},"group_by":[{"facet":"service","limit":10,"sort":{"aggregation":"count","order":"desc"}}],"index":"*","search":{"query":""}},"on_right_yaxis":false,"style":{"line_type":"solid","line_width":"normal","palette":"cool"}},{"apm_query":{"compute":{"aggregation":"cardinality","facet":"env","interval":1000},"group_by":[{"facet":"status","limit":10,"sort":{"aggregation":"cardinality","facet":"env","order":"desc"}}],"index":"trace-search","search":{"query":""}},"display_type":"line","on_right_yaxis":true,"style":{"line_type":"dashed","line_width":"thick","palette":"warm"}},{"display_type":"line","on_right_yaxis":true,"process_query":{"filter_by":["account:prod"],"limit":10,"metric":"process.stat.cpu.total_pct"},"style":{"line_type":"solid","line_width":"normal","palette":"purple"}},{"display_type":"area","network_query":{"compute":{"aggregation":"sum","facet":"network.bytes_read"},"group_by":[{"facet":"source_region"},{"facet":"dest_environment"}],"index":"netflow-search","search":{"query":"network.transport:udp network.destination.ip:\"*\""}},"on_right_yaxis":true,"style":{"line_type":"solid","line_width":"normal","palette":"orange"}},{"display_type":"area","on_right_yaxis":true,"rum_query":{"compute":{"aggregation":"avg","facet":"@duration","interval":10},"group_by":[{"facet":"service","limit":10,"sort":{"aggregation":"avg","facet":"@duration","order":"desc"}}],"index":"*","search":{"query":""}},"style":{"line_type":"solid","line_width":"normal","palette":"grey"}}],"right_yaxis":{"include_zero":false,"max":"599998","min":"1"},"show_legend":true,"time":{"live_span":"5m"},"title":"system.cpu.user, env, process.stat.cpu.total_pct, network.bytes_read, @d...","title_align":"left","title_size":"16","type":"timeseries","yaxis":{"include_zero":true,"max":"599999","min":"0"}}},{"definition":{"custom_links":[{"label":"Test Custom Link label","link":"https://app.datadoghq.com/dashboard/lists"}],"events":[{"q":"sources:test tags:1","tags_execution":"and"}],"legend_columns":["value","min","max"],"legend_layout":"horizontal","legend_size":"2","markers":[{"display_type":"error dashed","label":"y=500000","value":"y=500000"},{"display_type":"warning dashed","label":"y=400000","value":"y=400000"}],"requests":[{"display_type":"line","metadata":[{"expression":""}],"on_right_yaxis":true,"q":"avg:system.cpu.user{env:prod} by {app}","style":{"line_type":"solid","line_width":"thin","palette":"dog_classic"}},{"display_type":"line","log_query":{"compute":{"aggregation":"count"},"group_by":[{"facet":"service","limit":10,"sort":{"aggregation":"count","order":"desc"}}],"index":"*","search":{"query":""}},"on_right_yaxis":false,"style":{"line_type":"solid","line_width":"normal","palette":"cool"}},{"apm_query":{"compute":{"aggregation":"cardinality","facet":"env","interval":1000},"group_by":[{"facet":"status","limit":10,"sort":{"aggregation":"cardinality","facet":"env","order":"desc"}}],"index":"trace-search","search":{"query":""}},"display_type":"line","on_right_yaxis":true,"style":{"line_type":"dashed","line_width":"thick","palette":"warm"}},{"display_type":"line","on_right_yaxis":true,"process_query":{"filter_by":["account:prod"],"limit":10,"metric":"process.stat.cpu.total_pct"},"style":{"line_type":"solid","line_width":"normal","palette":"purple"}},{"display_type":"area","network_query":{"compute":{"aggregation":"sum","facet":"network.bytes_read"},"group_by":[{"facet":"source_region"},{"facet":"dest_environment"}],"index":"netflow-search","search":{"query":"network.transport:udp network.destination.ip:\"*\""}},"on_right_yaxis":true,"style":{"line_type":"solid","line_width":"normal","palette":"orange"}},{"display_type":"area","on_right_yaxis":true,"rum_query":{"compute":{"aggregation":"avg","facet":"@duration","interval":10},"group_by":[{"facet":"service","limit":10,"sort":{"aggregation":"avg","facet":"@duration","order":"desc"}}],"index":"*","search":{"query":""}},"style":{"line_type":"solid","line_width":"normal","palette":"grey"}}],"right_yaxis":{"include_zero":false,"max":"599998","min":"1"},"show_legend":true,"time":{"live_span":"5m"},"title":"system.cpu.user, env, process.stat.cpu.total_pct, network.bytes_read, @d...","title_align":"left","title_size":"16","type":"timeseries","yaxis":{"include_zero":true,"max":"599999","min":"0"}}}]} form: {} headers: Accept: @@ -13,11 +13,11 @@ interactions: Dd-Operation-Id: - CreateDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.18+dev (go go1.15.7; os darwin; arch amd64) + - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) 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":"y5w-m8n-zzf","title":"tf-TestAccDatadogDashboardTimeseries-local-1616088799","url":"/dashboard/y5w-m8n-zzf/tf-testaccdatadogdashboardtimeseries-local-1616088799","created_at":"2021-03-18T17:33:20.673407+00:00","modified_at":"2021-03-18T17:33:20.673407+00:00","author_handle":"frog@datadoghq.com","widgets":[{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test Custom Link label"}],"title_size":"16","legend_columns":["value","min","max"],"title":"system.cpu.user, env, process.stat.cpu.total_pct, network.bytes_read, @d...","title_align":"left","markers":[{"display_type":"error dashed","value":"y=500000","label":"y=500000"},{"display_type":"warning dashed","value":"y=400000","label":"y=400000"}],"yaxis":{"include_zero":true,"min":"0","max":"599999"},"legend_layout":"horizontal","show_legend":true,"right_yaxis":{"include_zero":false,"min":"1","max":"599998"},"time":{"live_span":"5m"},"legend_size":"2","requests":[{"q":"avg:system.cpu.user{env:prod} by {app}","on_right_yaxis":true,"style":{"line_width":"thin","palette":"dog_classic","line_type":"solid"},"display_type":"line","metadata":[{"expression":""}]},{"on_right_yaxis":false,"style":{"line_width":"normal","palette":"cool","line_type":"solid"},"display_type":"line","log_query":{"index":"*","search":{"query":""},"group_by":[{"facet":"service","sort":{"aggregation":"count","order":"desc"},"limit":10}],"compute":{"aggregation":"count"}}},{"on_right_yaxis":true,"style":{"line_width":"thick","palette":"warm","line_type":"dashed"},"apm_query":{"index":"trace-search","search":{"query":""},"group_by":[{"facet":"status","sort":{"facet":"env","aggregation":"cardinality","order":"desc"},"limit":10}],"compute":{"facet":"env","interval":1000,"aggregation":"cardinality"}},"display_type":"line"},{"on_right_yaxis":true,"style":{"line_width":"normal","palette":"purple","line_type":"solid"},"process_query":{"metric":"process.stat.cpu.total_pct","limit":10,"filter_by":["account:prod"]},"display_type":"line"},{"on_right_yaxis":true,"style":{"line_width":"normal","palette":"orange","line_type":"solid"},"display_type":"area","network_query":{"index":"netflow-search","search":{"query":"network.transport:udp network.destination.ip:\"*\""},"group_by":[{"facet":"source_region"},{"facet":"dest_environment"}],"compute":{"facet":"network.bytes_read","aggregation":"sum"}}},{"on_right_yaxis":true,"style":{"line_width":"normal","palette":"grey","line_type":"solid"},"rum_query":{"index":"*","search":{"query":""},"group_by":[{"facet":"service","sort":{"facet":"@duration","aggregation":"avg","order":"desc"},"limit":10}],"compute":{"facet":"@duration","interval":10,"aggregation":"avg"}},"display_type":"area"}],"type":"timeseries","events":[{"q":"sources:test tags:1","tags_execution":"and"}]},"id":1846833307083619},{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test Custom Link label"}],"title_size":"16","legend_columns":["value","min","max"],"title":"system.cpu.user, env, process.stat.cpu.total_pct, network.bytes_read, @d...","title_align":"left","markers":[{"display_type":"error dashed","value":"y=500000","label":"y=500000"},{"display_type":"warning dashed","value":"y=400000","label":"y=400000"}],"yaxis":{"include_zero":true,"min":"0","max":"599999"},"legend_layout":"horizontal","show_legend":true,"right_yaxis":{"include_zero":false,"min":"1","max":"599998"},"time":{"live_span":"5m"},"legend_size":"2","requests":[{"q":"avg:system.cpu.user{env:prod} by {app}","on_right_yaxis":true,"style":{"line_width":"thin","palette":"dog_classic","line_type":"solid"},"display_type":"line","metadata":[{"expression":""}]},{"on_right_yaxis":false,"style":{"line_width":"normal","palette":"cool","line_type":"solid"},"display_type":"line","log_query":{"index":"*","search":{"query":""},"group_by":[{"facet":"service","sort":{"aggregation":"count","order":"desc"},"limit":10}],"compute":{"aggregation":"count"}}},{"on_right_yaxis":true,"style":{"line_width":"thick","palette":"warm","line_type":"dashed"},"apm_query":{"index":"trace-search","search":{"query":""},"group_by":[{"facet":"status","sort":{"facet":"env","aggregation":"cardinality","order":"desc"},"limit":10}],"compute":{"facet":"env","interval":1000,"aggregation":"cardinality"}},"display_type":"line"},{"on_right_yaxis":true,"style":{"line_width":"normal","palette":"purple","line_type":"solid"},"process_query":{"metric":"process.stat.cpu.total_pct","limit":10,"filter_by":["account:prod"]},"display_type":"line"},{"on_right_yaxis":true,"style":{"line_width":"normal","palette":"orange","line_type":"solid"},"display_type":"area","network_query":{"index":"netflow-search","search":{"query":"network.transport:udp network.destination.ip:\"*\""},"group_by":[{"facet":"source_region"},{"facet":"dest_environment"}],"compute":{"facet":"network.bytes_read","aggregation":"sum"}}},{"on_right_yaxis":true,"style":{"line_width":"normal","palette":"grey","line_type":"solid"},"rum_query":{"index":"*","search":{"query":""},"group_by":[{"facet":"service","sort":{"facet":"@duration","aggregation":"avg","order":"desc"},"limit":10}],"compute":{"facet":"@duration","interval":10,"aggregation":"avg"}},"display_type":"area"}],"type":"timeseries","events":[{"q":"sources:test tags:1","tags_execution":"and"}]},"id":5738607817751174}],"layout_type":"ordered"}' + body: '{"notify_list":[],"description":"Created using the Datadog provider in Terraform","restricted_roles":["043a2842-e140-11e8-bb04-7fd10177666e","08604de8-1dca-11eb-800c-9f5f55ff734d","1302282c-b93b-11eb-a436-da7ad0900002","16169788-28e4-11eb-832c-fb84162ef3eb","17d73994-7531-11eb-94b9-da7ad0900002","284d8b66-93f9-11eb-9c37-da7ad0900002","4de53192-9946-11eb-9cee-da7ad0900002","62cbc476-5c16-11eb-8e98-0388ea7a41f8","657de3a2-29f8-11eb-83b5-6b8ebfb2f184","6bf314be-5c16-11eb-8e98-2356ea436065","7a83f306-96ca-11eb-9c74-da7ad0900002","9b3ab170-b768-11eb-a45a-da7ad0900002","e82bf27a-986c-11eb-9cba-da7ad0900002","f257ba30-dbb2-11ea-a5ff-5fd1d308318a"],"author_name":"Qin Chen","template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"9qh-zxc-7ya","title":"tf-TestAccDatadogDashboardTimeseries-local-1621914418","url":"/dashboard/9qh-zxc-7ya/tf-testaccdatadogdashboardtimeseries-local-1621914418","created_at":"2021-05-25T03:47:00.416208+00:00","modified_at":"2021-05-25T03:47:00.416208+00:00","author_handle":"qin.chen@datadoghq.com","widgets":[{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test Custom Link label"},{"override_label":"logs","is_hidden":true,"link":"https://app.datadoghq.com/dashboard/lists"}],"title_size":"16","legend_columns":["value","min","max"],"title":"system.cpu.user, env, process.stat.cpu.total_pct, network.bytes_read, @d...","title_align":"left","markers":[{"display_type":"error dashed","value":"y=500000","label":"y=500000"},{"display_type":"warning dashed","value":"y=400000","label":"y=400000"}],"yaxis":{"include_zero":true,"min":"0","max":"599999"},"legend_layout":"horizontal","show_legend":true,"right_yaxis":{"include_zero":false,"min":"1","max":"599998"},"time":{"live_span":"5m"},"legend_size":"2","requests":[{"q":"avg:system.cpu.user{env:prod} by {app}","on_right_yaxis":true,"style":{"line_width":"thin","palette":"dog_classic","line_type":"solid"},"display_type":"line","metadata":[{"expression":""}]},{"on_right_yaxis":false,"style":{"line_width":"normal","palette":"cool","line_type":"solid"},"display_type":"line","log_query":{"index":"*","search":{"query":""},"group_by":[{"facet":"service","sort":{"aggregation":"count","order":"desc"},"limit":10}],"compute":{"aggregation":"count"}}},{"on_right_yaxis":true,"style":{"line_width":"thick","palette":"warm","line_type":"dashed"},"apm_query":{"index":"trace-search","search":{"query":""},"group_by":[{"facet":"status","sort":{"facet":"env","aggregation":"cardinality","order":"desc"},"limit":10}],"compute":{"facet":"env","interval":1000,"aggregation":"cardinality"}},"display_type":"line"},{"on_right_yaxis":true,"style":{"line_width":"normal","palette":"purple","line_type":"solid"},"process_query":{"metric":"process.stat.cpu.total_pct","limit":10,"filter_by":["account:prod"]},"display_type":"line"},{"on_right_yaxis":true,"style":{"line_width":"normal","palette":"orange","line_type":"solid"},"display_type":"area","network_query":{"index":"netflow-search","search":{"query":"network.transport:udp network.destination.ip:\"*\""},"group_by":[{"facet":"source_region"},{"facet":"dest_environment"}],"compute":{"facet":"network.bytes_read","aggregation":"sum"}}},{"on_right_yaxis":true,"style":{"line_width":"normal","palette":"grey","line_type":"solid"},"rum_query":{"index":"*","search":{"query":""},"group_by":[{"facet":"service","sort":{"facet":"@duration","aggregation":"avg","order":"desc"},"limit":10}],"compute":{"facet":"@duration","interval":10,"aggregation":"avg"}},"display_type":"area"}],"type":"timeseries","events":[{"q":"sources:test tags:1","tags_execution":"and"}]},"id":2647892537601751},{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test Custom Link label"}],"title_size":"16","legend_columns":["value","min","max"],"title":"system.cpu.user, env, process.stat.cpu.total_pct, network.bytes_read, @d...","title_align":"left","markers":[{"display_type":"error dashed","value":"y=500000","label":"y=500000"},{"display_type":"warning dashed","value":"y=400000","label":"y=400000"}],"yaxis":{"include_zero":true,"min":"0","max":"599999"},"legend_layout":"horizontal","show_legend":true,"right_yaxis":{"include_zero":false,"min":"1","max":"599998"},"time":{"live_span":"5m"},"legend_size":"2","requests":[{"q":"avg:system.cpu.user{env:prod} by {app}","on_right_yaxis":true,"style":{"line_width":"thin","palette":"dog_classic","line_type":"solid"},"display_type":"line","metadata":[{"expression":""}]},{"on_right_yaxis":false,"style":{"line_width":"normal","palette":"cool","line_type":"solid"},"display_type":"line","log_query":{"index":"*","search":{"query":""},"group_by":[{"facet":"service","sort":{"aggregation":"count","order":"desc"},"limit":10}],"compute":{"aggregation":"count"}}},{"on_right_yaxis":true,"style":{"line_width":"thick","palette":"warm","line_type":"dashed"},"apm_query":{"index":"trace-search","search":{"query":""},"group_by":[{"facet":"status","sort":{"facet":"env","aggregation":"cardinality","order":"desc"},"limit":10}],"compute":{"facet":"env","interval":1000,"aggregation":"cardinality"}},"display_type":"line"},{"on_right_yaxis":true,"style":{"line_width":"normal","palette":"purple","line_type":"solid"},"process_query":{"metric":"process.stat.cpu.total_pct","limit":10,"filter_by":["account:prod"]},"display_type":"line"},{"on_right_yaxis":true,"style":{"line_width":"normal","palette":"orange","line_type":"solid"},"display_type":"area","network_query":{"index":"netflow-search","search":{"query":"network.transport:udp network.destination.ip:\"*\""},"group_by":[{"facet":"source_region"},{"facet":"dest_environment"}],"compute":{"facet":"network.bytes_read","aggregation":"sum"}}},{"on_right_yaxis":true,"style":{"line_width":"normal","palette":"grey","line_type":"solid"},"rum_query":{"index":"*","search":{"query":""},"group_by":[{"facet":"service","sort":{"facet":"@duration","aggregation":"avg","order":"desc"},"limit":10}],"compute":{"facet":"@duration","interval":10,"aggregation":"avg"}},"display_type":"area"}],"type":"timeseries","events":[{"q":"sources:test tags:1","tags_execution":"and"}]},"id":4038280737303045}],"layout_type":"ordered"}' headers: Cache-Control: - no-cache @@ -28,7 +28,7 @@ interactions: Content-Type: - application/json Date: - - Thu, 18 Mar 2021 17:33:23 GMT + - Tue, 25 May 2021 03:47:00 GMT Pragma: - no-cache Strict-Transport-Security: @@ -38,9 +38,9 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Debug: - - 2328yjLSqI4XmR1pVqrPRR/SFcQsbafjEpPmZx7/3PfxUK1nJQQsX+wrMelyVyj+ + - L3ULR3HwCWYmEqCWGz2Yob3chcH4pjowBacBXkncP7o+/uPqKt9yGEYf/g1AJPzQ X-Dd-Version: - - "35.4125004" + - "35.4598224" X-Frame-Options: - SAMEORIGIN status: 200 OK @@ -55,11 +55,11 @@ interactions: Dd-Operation-Id: - GetDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.18+dev (go go1.15.7; os darwin; arch amd64) - url: https://api.datadoghq.com/api/v1/dashboard/y5w-m8n-zzf + - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) + url: https://api.datadoghq.com/api/v1/dashboard/9qh-zxc-7ya 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":"y5w-m8n-zzf","title":"tf-TestAccDatadogDashboardTimeseries-local-1616088799","url":"/dashboard/y5w-m8n-zzf/tf-testaccdatadogdashboardtimeseries-local-1616088799","created_at":"2021-03-18T17:33:20.673407+00:00","modified_at":"2021-03-18T17:33:20.673407+00:00","author_handle":"frog@datadoghq.com","widgets":[{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test Custom Link label"}],"title_size":"16","legend_columns":["value","min","max"],"title":"system.cpu.user, env, process.stat.cpu.total_pct, network.bytes_read, @d...","title_align":"left","markers":[{"display_type":"error dashed","value":"y=500000","label":"y=500000"},{"display_type":"warning dashed","value":"y=400000","label":"y=400000"}],"yaxis":{"include_zero":true,"min":"0","max":"599999"},"legend_layout":"horizontal","show_legend":true,"right_yaxis":{"include_zero":false,"min":"1","max":"599998"},"time":{"live_span":"5m"},"legend_size":"2","requests":[{"q":"avg:system.cpu.user{env:prod} by {app}","on_right_yaxis":true,"style":{"line_width":"thin","palette":"dog_classic","line_type":"solid"},"display_type":"line","metadata":[{"expression":""}]},{"on_right_yaxis":false,"style":{"line_width":"normal","palette":"cool","line_type":"solid"},"display_type":"line","log_query":{"index":"*","search":{"query":""},"group_by":[{"facet":"service","sort":{"aggregation":"count","order":"desc"},"limit":10}],"compute":{"aggregation":"count"}}},{"on_right_yaxis":true,"style":{"line_width":"thick","palette":"warm","line_type":"dashed"},"apm_query":{"index":"trace-search","search":{"query":""},"group_by":[{"facet":"status","sort":{"facet":"env","aggregation":"cardinality","order":"desc"},"limit":10}],"compute":{"facet":"env","interval":1000,"aggregation":"cardinality"}},"display_type":"line"},{"on_right_yaxis":true,"style":{"line_width":"normal","palette":"purple","line_type":"solid"},"process_query":{"metric":"process.stat.cpu.total_pct","limit":10,"filter_by":["account:prod"]},"display_type":"line"},{"on_right_yaxis":true,"style":{"line_width":"normal","palette":"orange","line_type":"solid"},"display_type":"area","network_query":{"index":"netflow-search","search":{"query":"network.transport:udp network.destination.ip:\"*\""},"group_by":[{"facet":"source_region"},{"facet":"dest_environment"}],"compute":{"facet":"network.bytes_read","aggregation":"sum"}}},{"on_right_yaxis":true,"style":{"line_width":"normal","palette":"grey","line_type":"solid"},"rum_query":{"index":"*","search":{"query":""},"group_by":[{"facet":"service","sort":{"facet":"@duration","aggregation":"avg","order":"desc"},"limit":10}],"compute":{"facet":"@duration","interval":10,"aggregation":"avg"}},"display_type":"area"}],"type":"timeseries","events":[{"q":"sources:test tags:1","tags_execution":"and"}]},"id":1846833307083619},{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test Custom Link label"}],"title_size":"16","legend_columns":["value","min","max"],"title":"system.cpu.user, env, process.stat.cpu.total_pct, network.bytes_read, @d...","title_align":"left","markers":[{"display_type":"error dashed","value":"y=500000","label":"y=500000"},{"display_type":"warning dashed","value":"y=400000","label":"y=400000"}],"yaxis":{"include_zero":true,"min":"0","max":"599999"},"legend_layout":"horizontal","show_legend":true,"right_yaxis":{"include_zero":false,"min":"1","max":"599998"},"time":{"live_span":"5m"},"legend_size":"2","requests":[{"q":"avg:system.cpu.user{env:prod} by {app}","on_right_yaxis":true,"style":{"line_width":"thin","palette":"dog_classic","line_type":"solid"},"display_type":"line","metadata":[{"expression":""}]},{"on_right_yaxis":false,"style":{"line_width":"normal","palette":"cool","line_type":"solid"},"display_type":"line","log_query":{"index":"*","search":{"query":""},"group_by":[{"facet":"service","sort":{"aggregation":"count","order":"desc"},"limit":10}],"compute":{"aggregation":"count"}}},{"on_right_yaxis":true,"style":{"line_width":"thick","palette":"warm","line_type":"dashed"},"apm_query":{"index":"trace-search","search":{"query":""},"group_by":[{"facet":"status","sort":{"facet":"env","aggregation":"cardinality","order":"desc"},"limit":10}],"compute":{"facet":"env","interval":1000,"aggregation":"cardinality"}},"display_type":"line"},{"on_right_yaxis":true,"style":{"line_width":"normal","palette":"purple","line_type":"solid"},"process_query":{"metric":"process.stat.cpu.total_pct","limit":10,"filter_by":["account:prod"]},"display_type":"line"},{"on_right_yaxis":true,"style":{"line_width":"normal","palette":"orange","line_type":"solid"},"display_type":"area","network_query":{"index":"netflow-search","search":{"query":"network.transport:udp network.destination.ip:\"*\""},"group_by":[{"facet":"source_region"},{"facet":"dest_environment"}],"compute":{"facet":"network.bytes_read","aggregation":"sum"}}},{"on_right_yaxis":true,"style":{"line_width":"normal","palette":"grey","line_type":"solid"},"rum_query":{"index":"*","search":{"query":""},"group_by":[{"facet":"service","sort":{"facet":"@duration","aggregation":"avg","order":"desc"},"limit":10}],"compute":{"facet":"@duration","interval":10,"aggregation":"avg"}},"display_type":"area"}],"type":"timeseries","events":[{"q":"sources:test tags:1","tags_execution":"and"}]},"id":5738607817751174}],"layout_type":"ordered"}' + body: '{"notify_list":[],"description":"Created using the Datadog provider in Terraform","restricted_roles":["284d8b66-93f9-11eb-9c37-da7ad0900002","043a2842-e140-11e8-bb04-7fd10177666e","657de3a2-29f8-11eb-83b5-6b8ebfb2f184","e82bf27a-986c-11eb-9cba-da7ad0900002","f257ba30-dbb2-11ea-a5ff-5fd1d308318a","6bf314be-5c16-11eb-8e98-2356ea436065","62cbc476-5c16-11eb-8e98-0388ea7a41f8","08604de8-1dca-11eb-800c-9f5f55ff734d","9b3ab170-b768-11eb-a45a-da7ad0900002","7a83f306-96ca-11eb-9c74-da7ad0900002","16169788-28e4-11eb-832c-fb84162ef3eb","4de53192-9946-11eb-9cee-da7ad0900002","1302282c-b93b-11eb-a436-da7ad0900002","17d73994-7531-11eb-94b9-da7ad0900002"],"author_name":"Qin Chen","template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"9qh-zxc-7ya","title":"tf-TestAccDatadogDashboardTimeseries-local-1621914418","url":"/dashboard/9qh-zxc-7ya/tf-testaccdatadogdashboardtimeseries-local-1621914418","created_at":"2021-05-25T03:47:00.416208+00:00","modified_at":"2021-05-25T03:47:00.416208+00:00","author_handle":"qin.chen@datadoghq.com","widgets":[{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test Custom Link label"},{"override_label":"logs","is_hidden":true,"link":"https://app.datadoghq.com/dashboard/lists"}],"title_size":"16","legend_columns":["value","min","max"],"title":"system.cpu.user, env, process.stat.cpu.total_pct, network.bytes_read, @d...","title_align":"left","markers":[{"display_type":"error dashed","value":"y=500000","label":"y=500000"},{"display_type":"warning dashed","value":"y=400000","label":"y=400000"}],"yaxis":{"include_zero":true,"min":"0","max":"599999"},"legend_layout":"horizontal","show_legend":true,"right_yaxis":{"include_zero":false,"min":"1","max":"599998"},"time":{"live_span":"5m"},"legend_size":"2","requests":[{"q":"avg:system.cpu.user{env:prod} by {app}","on_right_yaxis":true,"style":{"line_width":"thin","palette":"dog_classic","line_type":"solid"},"display_type":"line","metadata":[{"expression":""}]},{"on_right_yaxis":false,"style":{"line_width":"normal","palette":"cool","line_type":"solid"},"display_type":"line","log_query":{"index":"*","search":{"query":""},"group_by":[{"facet":"service","sort":{"aggregation":"count","order":"desc"},"limit":10}],"compute":{"aggregation":"count"}}},{"on_right_yaxis":true,"style":{"line_width":"thick","palette":"warm","line_type":"dashed"},"apm_query":{"index":"trace-search","search":{"query":""},"group_by":[{"facet":"status","sort":{"facet":"env","aggregation":"cardinality","order":"desc"},"limit":10}],"compute":{"facet":"env","interval":1000,"aggregation":"cardinality"}},"display_type":"line"},{"on_right_yaxis":true,"style":{"line_width":"normal","palette":"purple","line_type":"solid"},"process_query":{"metric":"process.stat.cpu.total_pct","limit":10,"filter_by":["account:prod"]},"display_type":"line"},{"on_right_yaxis":true,"style":{"line_width":"normal","palette":"orange","line_type":"solid"},"display_type":"area","network_query":{"index":"netflow-search","search":{"query":"network.transport:udp network.destination.ip:\"*\""},"group_by":[{"facet":"source_region"},{"facet":"dest_environment"}],"compute":{"facet":"network.bytes_read","aggregation":"sum"}}},{"on_right_yaxis":true,"style":{"line_width":"normal","palette":"grey","line_type":"solid"},"rum_query":{"index":"*","search":{"query":""},"group_by":[{"facet":"service","sort":{"facet":"@duration","aggregation":"avg","order":"desc"},"limit":10}],"compute":{"facet":"@duration","interval":10,"aggregation":"avg"}},"display_type":"area"}],"type":"timeseries","events":[{"q":"sources:test tags:1","tags_execution":"and"}]},"id":2647892537601751},{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test Custom Link label"}],"title_size":"16","legend_columns":["value","min","max"],"title":"system.cpu.user, env, process.stat.cpu.total_pct, network.bytes_read, @d...","title_align":"left","markers":[{"display_type":"error dashed","value":"y=500000","label":"y=500000"},{"display_type":"warning dashed","value":"y=400000","label":"y=400000"}],"yaxis":{"include_zero":true,"min":"0","max":"599999"},"legend_layout":"horizontal","show_legend":true,"right_yaxis":{"include_zero":false,"min":"1","max":"599998"},"time":{"live_span":"5m"},"legend_size":"2","requests":[{"q":"avg:system.cpu.user{env:prod} by {app}","on_right_yaxis":true,"style":{"line_width":"thin","palette":"dog_classic","line_type":"solid"},"display_type":"line","metadata":[{"expression":""}]},{"on_right_yaxis":false,"style":{"line_width":"normal","palette":"cool","line_type":"solid"},"display_type":"line","log_query":{"index":"*","search":{"query":""},"group_by":[{"facet":"service","sort":{"aggregation":"count","order":"desc"},"limit":10}],"compute":{"aggregation":"count"}}},{"on_right_yaxis":true,"style":{"line_width":"thick","palette":"warm","line_type":"dashed"},"apm_query":{"index":"trace-search","search":{"query":""},"group_by":[{"facet":"status","sort":{"facet":"env","aggregation":"cardinality","order":"desc"},"limit":10}],"compute":{"facet":"env","interval":1000,"aggregation":"cardinality"}},"display_type":"line"},{"on_right_yaxis":true,"style":{"line_width":"normal","palette":"purple","line_type":"solid"},"process_query":{"metric":"process.stat.cpu.total_pct","limit":10,"filter_by":["account:prod"]},"display_type":"line"},{"on_right_yaxis":true,"style":{"line_width":"normal","palette":"orange","line_type":"solid"},"display_type":"area","network_query":{"index":"netflow-search","search":{"query":"network.transport:udp network.destination.ip:\"*\""},"group_by":[{"facet":"source_region"},{"facet":"dest_environment"}],"compute":{"facet":"network.bytes_read","aggregation":"sum"}}},{"on_right_yaxis":true,"style":{"line_width":"normal","palette":"grey","line_type":"solid"},"rum_query":{"index":"*","search":{"query":""},"group_by":[{"facet":"service","sort":{"facet":"@duration","aggregation":"avg","order":"desc"},"limit":10}],"compute":{"facet":"@duration","interval":10,"aggregation":"avg"}},"display_type":"area"}],"type":"timeseries","events":[{"q":"sources:test tags:1","tags_execution":"and"}]},"id":4038280737303045}],"layout_type":"ordered"}' headers: Cache-Control: - no-cache @@ -70,7 +70,7 @@ interactions: Content-Type: - application/json Date: - - Thu, 18 Mar 2021 17:33:23 GMT + - Tue, 25 May 2021 03:47:00 GMT Pragma: - no-cache Strict-Transport-Security: @@ -80,9 +80,9 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Debug: - - S1wfaMZOKGT/IoMw6fqAwAwGWo2vQ44sjF3YzuETnQfxZO2T5eJbs0aX3UKb9Dwu + - gYZcaADwbKcv7Hm19HJx6WsLoKuOijDWAt2viPeCfWqUgyKY+9e1xZdmMJeXV3YV X-Dd-Version: - - "35.4125004" + - "35.4598224" X-Frame-Options: - SAMEORIGIN status: 200 OK @@ -97,11 +97,11 @@ interactions: Dd-Operation-Id: - GetDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.18+dev (go go1.15.7; os darwin; arch amd64) - url: https://api.datadoghq.com/api/v1/dashboard/y5w-m8n-zzf + - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) + url: https://api.datadoghq.com/api/v1/dashboard/9qh-zxc-7ya 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":"y5w-m8n-zzf","title":"tf-TestAccDatadogDashboardTimeseries-local-1616088799","url":"/dashboard/y5w-m8n-zzf/tf-testaccdatadogdashboardtimeseries-local-1616088799","created_at":"2021-03-18T17:33:20.673407+00:00","modified_at":"2021-03-18T17:33:20.673407+00:00","author_handle":"frog@datadoghq.com","widgets":[{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test Custom Link label"}],"title_size":"16","legend_columns":["value","min","max"],"title":"system.cpu.user, env, process.stat.cpu.total_pct, network.bytes_read, @d...","title_align":"left","markers":[{"display_type":"error dashed","value":"y=500000","label":"y=500000"},{"display_type":"warning dashed","value":"y=400000","label":"y=400000"}],"yaxis":{"include_zero":true,"min":"0","max":"599999"},"legend_layout":"horizontal","show_legend":true,"right_yaxis":{"include_zero":false,"min":"1","max":"599998"},"time":{"live_span":"5m"},"legend_size":"2","requests":[{"q":"avg:system.cpu.user{env:prod} by {app}","on_right_yaxis":true,"style":{"line_width":"thin","palette":"dog_classic","line_type":"solid"},"display_type":"line","metadata":[{"expression":""}]},{"on_right_yaxis":false,"style":{"line_width":"normal","palette":"cool","line_type":"solid"},"display_type":"line","log_query":{"index":"*","search":{"query":""},"group_by":[{"facet":"service","sort":{"aggregation":"count","order":"desc"},"limit":10}],"compute":{"aggregation":"count"}}},{"on_right_yaxis":true,"style":{"line_width":"thick","palette":"warm","line_type":"dashed"},"apm_query":{"index":"trace-search","search":{"query":""},"group_by":[{"facet":"status","sort":{"facet":"env","aggregation":"cardinality","order":"desc"},"limit":10}],"compute":{"facet":"env","interval":1000,"aggregation":"cardinality"}},"display_type":"line"},{"on_right_yaxis":true,"style":{"line_width":"normal","palette":"purple","line_type":"solid"},"process_query":{"metric":"process.stat.cpu.total_pct","limit":10,"filter_by":["account:prod"]},"display_type":"line"},{"on_right_yaxis":true,"style":{"line_width":"normal","palette":"orange","line_type":"solid"},"display_type":"area","network_query":{"index":"netflow-search","search":{"query":"network.transport:udp network.destination.ip:\"*\""},"group_by":[{"facet":"source_region"},{"facet":"dest_environment"}],"compute":{"facet":"network.bytes_read","aggregation":"sum"}}},{"on_right_yaxis":true,"style":{"line_width":"normal","palette":"grey","line_type":"solid"},"rum_query":{"index":"*","search":{"query":""},"group_by":[{"facet":"service","sort":{"facet":"@duration","aggregation":"avg","order":"desc"},"limit":10}],"compute":{"facet":"@duration","interval":10,"aggregation":"avg"}},"display_type":"area"}],"type":"timeseries","events":[{"q":"sources:test tags:1","tags_execution":"and"}]},"id":1846833307083619},{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test Custom Link label"}],"title_size":"16","legend_columns":["value","min","max"],"title":"system.cpu.user, env, process.stat.cpu.total_pct, network.bytes_read, @d...","title_align":"left","markers":[{"display_type":"error dashed","value":"y=500000","label":"y=500000"},{"display_type":"warning dashed","value":"y=400000","label":"y=400000"}],"yaxis":{"include_zero":true,"min":"0","max":"599999"},"legend_layout":"horizontal","show_legend":true,"right_yaxis":{"include_zero":false,"min":"1","max":"599998"},"time":{"live_span":"5m"},"legend_size":"2","requests":[{"q":"avg:system.cpu.user{env:prod} by {app}","on_right_yaxis":true,"style":{"line_width":"thin","palette":"dog_classic","line_type":"solid"},"display_type":"line","metadata":[{"expression":""}]},{"on_right_yaxis":false,"style":{"line_width":"normal","palette":"cool","line_type":"solid"},"display_type":"line","log_query":{"index":"*","search":{"query":""},"group_by":[{"facet":"service","sort":{"aggregation":"count","order":"desc"},"limit":10}],"compute":{"aggregation":"count"}}},{"on_right_yaxis":true,"style":{"line_width":"thick","palette":"warm","line_type":"dashed"},"apm_query":{"index":"trace-search","search":{"query":""},"group_by":[{"facet":"status","sort":{"facet":"env","aggregation":"cardinality","order":"desc"},"limit":10}],"compute":{"facet":"env","interval":1000,"aggregation":"cardinality"}},"display_type":"line"},{"on_right_yaxis":true,"style":{"line_width":"normal","palette":"purple","line_type":"solid"},"process_query":{"metric":"process.stat.cpu.total_pct","limit":10,"filter_by":["account:prod"]},"display_type":"line"},{"on_right_yaxis":true,"style":{"line_width":"normal","palette":"orange","line_type":"solid"},"display_type":"area","network_query":{"index":"netflow-search","search":{"query":"network.transport:udp network.destination.ip:\"*\""},"group_by":[{"facet":"source_region"},{"facet":"dest_environment"}],"compute":{"facet":"network.bytes_read","aggregation":"sum"}}},{"on_right_yaxis":true,"style":{"line_width":"normal","palette":"grey","line_type":"solid"},"rum_query":{"index":"*","search":{"query":""},"group_by":[{"facet":"service","sort":{"facet":"@duration","aggregation":"avg","order":"desc"},"limit":10}],"compute":{"facet":"@duration","interval":10,"aggregation":"avg"}},"display_type":"area"}],"type":"timeseries","events":[{"q":"sources:test tags:1","tags_execution":"and"}]},"id":5738607817751174}],"layout_type":"ordered"}' + body: '{"notify_list":[],"description":"Created using the Datadog provider in Terraform","restricted_roles":["284d8b66-93f9-11eb-9c37-da7ad0900002","043a2842-e140-11e8-bb04-7fd10177666e","657de3a2-29f8-11eb-83b5-6b8ebfb2f184","e82bf27a-986c-11eb-9cba-da7ad0900002","f257ba30-dbb2-11ea-a5ff-5fd1d308318a","6bf314be-5c16-11eb-8e98-2356ea436065","62cbc476-5c16-11eb-8e98-0388ea7a41f8","08604de8-1dca-11eb-800c-9f5f55ff734d","9b3ab170-b768-11eb-a45a-da7ad0900002","7a83f306-96ca-11eb-9c74-da7ad0900002","16169788-28e4-11eb-832c-fb84162ef3eb","4de53192-9946-11eb-9cee-da7ad0900002","1302282c-b93b-11eb-a436-da7ad0900002","17d73994-7531-11eb-94b9-da7ad0900002"],"author_name":"Qin Chen","template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"9qh-zxc-7ya","title":"tf-TestAccDatadogDashboardTimeseries-local-1621914418","url":"/dashboard/9qh-zxc-7ya/tf-testaccdatadogdashboardtimeseries-local-1621914418","created_at":"2021-05-25T03:47:00.416208+00:00","modified_at":"2021-05-25T03:47:00.416208+00:00","author_handle":"qin.chen@datadoghq.com","widgets":[{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test Custom Link label"},{"override_label":"logs","is_hidden":true,"link":"https://app.datadoghq.com/dashboard/lists"}],"title_size":"16","legend_columns":["value","min","max"],"title":"system.cpu.user, env, process.stat.cpu.total_pct, network.bytes_read, @d...","title_align":"left","markers":[{"display_type":"error dashed","value":"y=500000","label":"y=500000"},{"display_type":"warning dashed","value":"y=400000","label":"y=400000"}],"yaxis":{"include_zero":true,"min":"0","max":"599999"},"legend_layout":"horizontal","show_legend":true,"right_yaxis":{"include_zero":false,"min":"1","max":"599998"},"time":{"live_span":"5m"},"legend_size":"2","requests":[{"q":"avg:system.cpu.user{env:prod} by {app}","on_right_yaxis":true,"style":{"line_width":"thin","palette":"dog_classic","line_type":"solid"},"display_type":"line","metadata":[{"expression":""}]},{"on_right_yaxis":false,"style":{"line_width":"normal","palette":"cool","line_type":"solid"},"display_type":"line","log_query":{"index":"*","search":{"query":""},"group_by":[{"facet":"service","sort":{"aggregation":"count","order":"desc"},"limit":10}],"compute":{"aggregation":"count"}}},{"on_right_yaxis":true,"style":{"line_width":"thick","palette":"warm","line_type":"dashed"},"apm_query":{"index":"trace-search","search":{"query":""},"group_by":[{"facet":"status","sort":{"facet":"env","aggregation":"cardinality","order":"desc"},"limit":10}],"compute":{"facet":"env","interval":1000,"aggregation":"cardinality"}},"display_type":"line"},{"on_right_yaxis":true,"style":{"line_width":"normal","palette":"purple","line_type":"solid"},"process_query":{"metric":"process.stat.cpu.total_pct","limit":10,"filter_by":["account:prod"]},"display_type":"line"},{"on_right_yaxis":true,"style":{"line_width":"normal","palette":"orange","line_type":"solid"},"display_type":"area","network_query":{"index":"netflow-search","search":{"query":"network.transport:udp network.destination.ip:\"*\""},"group_by":[{"facet":"source_region"},{"facet":"dest_environment"}],"compute":{"facet":"network.bytes_read","aggregation":"sum"}}},{"on_right_yaxis":true,"style":{"line_width":"normal","palette":"grey","line_type":"solid"},"rum_query":{"index":"*","search":{"query":""},"group_by":[{"facet":"service","sort":{"facet":"@duration","aggregation":"avg","order":"desc"},"limit":10}],"compute":{"facet":"@duration","interval":10,"aggregation":"avg"}},"display_type":"area"}],"type":"timeseries","events":[{"q":"sources:test tags:1","tags_execution":"and"}]},"id":2647892537601751},{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test Custom Link label"}],"title_size":"16","legend_columns":["value","min","max"],"title":"system.cpu.user, env, process.stat.cpu.total_pct, network.bytes_read, @d...","title_align":"left","markers":[{"display_type":"error dashed","value":"y=500000","label":"y=500000"},{"display_type":"warning dashed","value":"y=400000","label":"y=400000"}],"yaxis":{"include_zero":true,"min":"0","max":"599999"},"legend_layout":"horizontal","show_legend":true,"right_yaxis":{"include_zero":false,"min":"1","max":"599998"},"time":{"live_span":"5m"},"legend_size":"2","requests":[{"q":"avg:system.cpu.user{env:prod} by {app}","on_right_yaxis":true,"style":{"line_width":"thin","palette":"dog_classic","line_type":"solid"},"display_type":"line","metadata":[{"expression":""}]},{"on_right_yaxis":false,"style":{"line_width":"normal","palette":"cool","line_type":"solid"},"display_type":"line","log_query":{"index":"*","search":{"query":""},"group_by":[{"facet":"service","sort":{"aggregation":"count","order":"desc"},"limit":10}],"compute":{"aggregation":"count"}}},{"on_right_yaxis":true,"style":{"line_width":"thick","palette":"warm","line_type":"dashed"},"apm_query":{"index":"trace-search","search":{"query":""},"group_by":[{"facet":"status","sort":{"facet":"env","aggregation":"cardinality","order":"desc"},"limit":10}],"compute":{"facet":"env","interval":1000,"aggregation":"cardinality"}},"display_type":"line"},{"on_right_yaxis":true,"style":{"line_width":"normal","palette":"purple","line_type":"solid"},"process_query":{"metric":"process.stat.cpu.total_pct","limit":10,"filter_by":["account:prod"]},"display_type":"line"},{"on_right_yaxis":true,"style":{"line_width":"normal","palette":"orange","line_type":"solid"},"display_type":"area","network_query":{"index":"netflow-search","search":{"query":"network.transport:udp network.destination.ip:\"*\""},"group_by":[{"facet":"source_region"},{"facet":"dest_environment"}],"compute":{"facet":"network.bytes_read","aggregation":"sum"}}},{"on_right_yaxis":true,"style":{"line_width":"normal","palette":"grey","line_type":"solid"},"rum_query":{"index":"*","search":{"query":""},"group_by":[{"facet":"service","sort":{"facet":"@duration","aggregation":"avg","order":"desc"},"limit":10}],"compute":{"facet":"@duration","interval":10,"aggregation":"avg"}},"display_type":"area"}],"type":"timeseries","events":[{"q":"sources:test tags:1","tags_execution":"and"}]},"id":4038280737303045}],"layout_type":"ordered"}' headers: Cache-Control: - no-cache @@ -112,7 +112,7 @@ interactions: Content-Type: - application/json Date: - - Thu, 18 Mar 2021 17:33:23 GMT + - Tue, 25 May 2021 03:47:00 GMT Pragma: - no-cache Strict-Transport-Security: @@ -122,9 +122,9 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Debug: - - B1nwy/pPNqX+q4pQT22cdp1QCexE35IF8qwSHy0Nf7IW0Y881qtn4tXN1lpmzaKc + - dCmL/3rURV6BPeaqeP3Rxigq41m5CAb17XjrRE42uZ01zpr07HVhbL5/3TWMkvgu X-Dd-Version: - - "35.4125004" + - "35.4598224" X-Frame-Options: - SAMEORIGIN status: 200 OK @@ -139,11 +139,11 @@ interactions: Dd-Operation-Id: - GetDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.18+dev (go go1.15.7; os darwin; arch amd64) - url: https://api.datadoghq.com/api/v1/dashboard/y5w-m8n-zzf + - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) + url: https://api.datadoghq.com/api/v1/dashboard/9qh-zxc-7ya 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":"y5w-m8n-zzf","title":"tf-TestAccDatadogDashboardTimeseries-local-1616088799","url":"/dashboard/y5w-m8n-zzf/tf-testaccdatadogdashboardtimeseries-local-1616088799","created_at":"2021-03-18T17:33:20.673407+00:00","modified_at":"2021-03-18T17:33:20.673407+00:00","author_handle":"frog@datadoghq.com","widgets":[{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test Custom Link label"}],"title_size":"16","legend_columns":["value","min","max"],"title":"system.cpu.user, env, process.stat.cpu.total_pct, network.bytes_read, @d...","title_align":"left","markers":[{"display_type":"error dashed","value":"y=500000","label":"y=500000"},{"display_type":"warning dashed","value":"y=400000","label":"y=400000"}],"yaxis":{"include_zero":true,"min":"0","max":"599999"},"legend_layout":"horizontal","show_legend":true,"right_yaxis":{"include_zero":false,"min":"1","max":"599998"},"time":{"live_span":"5m"},"legend_size":"2","requests":[{"q":"avg:system.cpu.user{env:prod} by {app}","on_right_yaxis":true,"style":{"line_width":"thin","palette":"dog_classic","line_type":"solid"},"display_type":"line","metadata":[{"expression":""}]},{"on_right_yaxis":false,"style":{"line_width":"normal","palette":"cool","line_type":"solid"},"display_type":"line","log_query":{"index":"*","search":{"query":""},"group_by":[{"facet":"service","sort":{"aggregation":"count","order":"desc"},"limit":10}],"compute":{"aggregation":"count"}}},{"on_right_yaxis":true,"style":{"line_width":"thick","palette":"warm","line_type":"dashed"},"apm_query":{"index":"trace-search","search":{"query":""},"group_by":[{"facet":"status","sort":{"facet":"env","aggregation":"cardinality","order":"desc"},"limit":10}],"compute":{"facet":"env","interval":1000,"aggregation":"cardinality"}},"display_type":"line"},{"on_right_yaxis":true,"style":{"line_width":"normal","palette":"purple","line_type":"solid"},"process_query":{"metric":"process.stat.cpu.total_pct","limit":10,"filter_by":["account:prod"]},"display_type":"line"},{"on_right_yaxis":true,"style":{"line_width":"normal","palette":"orange","line_type":"solid"},"display_type":"area","network_query":{"index":"netflow-search","search":{"query":"network.transport:udp network.destination.ip:\"*\""},"group_by":[{"facet":"source_region"},{"facet":"dest_environment"}],"compute":{"facet":"network.bytes_read","aggregation":"sum"}}},{"on_right_yaxis":true,"style":{"line_width":"normal","palette":"grey","line_type":"solid"},"rum_query":{"index":"*","search":{"query":""},"group_by":[{"facet":"service","sort":{"facet":"@duration","aggregation":"avg","order":"desc"},"limit":10}],"compute":{"facet":"@duration","interval":10,"aggregation":"avg"}},"display_type":"area"}],"type":"timeseries","events":[{"q":"sources:test tags:1","tags_execution":"and"}]},"id":1846833307083619},{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test Custom Link label"}],"title_size":"16","legend_columns":["value","min","max"],"title":"system.cpu.user, env, process.stat.cpu.total_pct, network.bytes_read, @d...","title_align":"left","markers":[{"display_type":"error dashed","value":"y=500000","label":"y=500000"},{"display_type":"warning dashed","value":"y=400000","label":"y=400000"}],"yaxis":{"include_zero":true,"min":"0","max":"599999"},"legend_layout":"horizontal","show_legend":true,"right_yaxis":{"include_zero":false,"min":"1","max":"599998"},"time":{"live_span":"5m"},"legend_size":"2","requests":[{"q":"avg:system.cpu.user{env:prod} by {app}","on_right_yaxis":true,"style":{"line_width":"thin","palette":"dog_classic","line_type":"solid"},"display_type":"line","metadata":[{"expression":""}]},{"on_right_yaxis":false,"style":{"line_width":"normal","palette":"cool","line_type":"solid"},"display_type":"line","log_query":{"index":"*","search":{"query":""},"group_by":[{"facet":"service","sort":{"aggregation":"count","order":"desc"},"limit":10}],"compute":{"aggregation":"count"}}},{"on_right_yaxis":true,"style":{"line_width":"thick","palette":"warm","line_type":"dashed"},"apm_query":{"index":"trace-search","search":{"query":""},"group_by":[{"facet":"status","sort":{"facet":"env","aggregation":"cardinality","order":"desc"},"limit":10}],"compute":{"facet":"env","interval":1000,"aggregation":"cardinality"}},"display_type":"line"},{"on_right_yaxis":true,"style":{"line_width":"normal","palette":"purple","line_type":"solid"},"process_query":{"metric":"process.stat.cpu.total_pct","limit":10,"filter_by":["account:prod"]},"display_type":"line"},{"on_right_yaxis":true,"style":{"line_width":"normal","palette":"orange","line_type":"solid"},"display_type":"area","network_query":{"index":"netflow-search","search":{"query":"network.transport:udp network.destination.ip:\"*\""},"group_by":[{"facet":"source_region"},{"facet":"dest_environment"}],"compute":{"facet":"network.bytes_read","aggregation":"sum"}}},{"on_right_yaxis":true,"style":{"line_width":"normal","palette":"grey","line_type":"solid"},"rum_query":{"index":"*","search":{"query":""},"group_by":[{"facet":"service","sort":{"facet":"@duration","aggregation":"avg","order":"desc"},"limit":10}],"compute":{"facet":"@duration","interval":10,"aggregation":"avg"}},"display_type":"area"}],"type":"timeseries","events":[{"q":"sources:test tags:1","tags_execution":"and"}]},"id":5738607817751174}],"layout_type":"ordered"}' + body: '{"notify_list":[],"description":"Created using the Datadog provider in Terraform","restricted_roles":["284d8b66-93f9-11eb-9c37-da7ad0900002","043a2842-e140-11e8-bb04-7fd10177666e","657de3a2-29f8-11eb-83b5-6b8ebfb2f184","e82bf27a-986c-11eb-9cba-da7ad0900002","f257ba30-dbb2-11ea-a5ff-5fd1d308318a","6bf314be-5c16-11eb-8e98-2356ea436065","62cbc476-5c16-11eb-8e98-0388ea7a41f8","08604de8-1dca-11eb-800c-9f5f55ff734d","9b3ab170-b768-11eb-a45a-da7ad0900002","7a83f306-96ca-11eb-9c74-da7ad0900002","16169788-28e4-11eb-832c-fb84162ef3eb","4de53192-9946-11eb-9cee-da7ad0900002","1302282c-b93b-11eb-a436-da7ad0900002","17d73994-7531-11eb-94b9-da7ad0900002"],"author_name":"Qin Chen","template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"9qh-zxc-7ya","title":"tf-TestAccDatadogDashboardTimeseries-local-1621914418","url":"/dashboard/9qh-zxc-7ya/tf-testaccdatadogdashboardtimeseries-local-1621914418","created_at":"2021-05-25T03:47:00.416208+00:00","modified_at":"2021-05-25T03:47:00.416208+00:00","author_handle":"qin.chen@datadoghq.com","widgets":[{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test Custom Link label"},{"override_label":"logs","is_hidden":true,"link":"https://app.datadoghq.com/dashboard/lists"}],"title_size":"16","legend_columns":["value","min","max"],"title":"system.cpu.user, env, process.stat.cpu.total_pct, network.bytes_read, @d...","title_align":"left","markers":[{"display_type":"error dashed","value":"y=500000","label":"y=500000"},{"display_type":"warning dashed","value":"y=400000","label":"y=400000"}],"yaxis":{"include_zero":true,"min":"0","max":"599999"},"legend_layout":"horizontal","show_legend":true,"right_yaxis":{"include_zero":false,"min":"1","max":"599998"},"time":{"live_span":"5m"},"legend_size":"2","requests":[{"q":"avg:system.cpu.user{env:prod} by {app}","on_right_yaxis":true,"style":{"line_width":"thin","palette":"dog_classic","line_type":"solid"},"display_type":"line","metadata":[{"expression":""}]},{"on_right_yaxis":false,"style":{"line_width":"normal","palette":"cool","line_type":"solid"},"display_type":"line","log_query":{"index":"*","search":{"query":""},"group_by":[{"facet":"service","sort":{"aggregation":"count","order":"desc"},"limit":10}],"compute":{"aggregation":"count"}}},{"on_right_yaxis":true,"style":{"line_width":"thick","palette":"warm","line_type":"dashed"},"apm_query":{"index":"trace-search","search":{"query":""},"group_by":[{"facet":"status","sort":{"facet":"env","aggregation":"cardinality","order":"desc"},"limit":10}],"compute":{"facet":"env","interval":1000,"aggregation":"cardinality"}},"display_type":"line"},{"on_right_yaxis":true,"style":{"line_width":"normal","palette":"purple","line_type":"solid"},"process_query":{"metric":"process.stat.cpu.total_pct","limit":10,"filter_by":["account:prod"]},"display_type":"line"},{"on_right_yaxis":true,"style":{"line_width":"normal","palette":"orange","line_type":"solid"},"display_type":"area","network_query":{"index":"netflow-search","search":{"query":"network.transport:udp network.destination.ip:\"*\""},"group_by":[{"facet":"source_region"},{"facet":"dest_environment"}],"compute":{"facet":"network.bytes_read","aggregation":"sum"}}},{"on_right_yaxis":true,"style":{"line_width":"normal","palette":"grey","line_type":"solid"},"rum_query":{"index":"*","search":{"query":""},"group_by":[{"facet":"service","sort":{"facet":"@duration","aggregation":"avg","order":"desc"},"limit":10}],"compute":{"facet":"@duration","interval":10,"aggregation":"avg"}},"display_type":"area"}],"type":"timeseries","events":[{"q":"sources:test tags:1","tags_execution":"and"}]},"id":2647892537601751},{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test Custom Link label"}],"title_size":"16","legend_columns":["value","min","max"],"title":"system.cpu.user, env, process.stat.cpu.total_pct, network.bytes_read, @d...","title_align":"left","markers":[{"display_type":"error dashed","value":"y=500000","label":"y=500000"},{"display_type":"warning dashed","value":"y=400000","label":"y=400000"}],"yaxis":{"include_zero":true,"min":"0","max":"599999"},"legend_layout":"horizontal","show_legend":true,"right_yaxis":{"include_zero":false,"min":"1","max":"599998"},"time":{"live_span":"5m"},"legend_size":"2","requests":[{"q":"avg:system.cpu.user{env:prod} by {app}","on_right_yaxis":true,"style":{"line_width":"thin","palette":"dog_classic","line_type":"solid"},"display_type":"line","metadata":[{"expression":""}]},{"on_right_yaxis":false,"style":{"line_width":"normal","palette":"cool","line_type":"solid"},"display_type":"line","log_query":{"index":"*","search":{"query":""},"group_by":[{"facet":"service","sort":{"aggregation":"count","order":"desc"},"limit":10}],"compute":{"aggregation":"count"}}},{"on_right_yaxis":true,"style":{"line_width":"thick","palette":"warm","line_type":"dashed"},"apm_query":{"index":"trace-search","search":{"query":""},"group_by":[{"facet":"status","sort":{"facet":"env","aggregation":"cardinality","order":"desc"},"limit":10}],"compute":{"facet":"env","interval":1000,"aggregation":"cardinality"}},"display_type":"line"},{"on_right_yaxis":true,"style":{"line_width":"normal","palette":"purple","line_type":"solid"},"process_query":{"metric":"process.stat.cpu.total_pct","limit":10,"filter_by":["account:prod"]},"display_type":"line"},{"on_right_yaxis":true,"style":{"line_width":"normal","palette":"orange","line_type":"solid"},"display_type":"area","network_query":{"index":"netflow-search","search":{"query":"network.transport:udp network.destination.ip:\"*\""},"group_by":[{"facet":"source_region"},{"facet":"dest_environment"}],"compute":{"facet":"network.bytes_read","aggregation":"sum"}}},{"on_right_yaxis":true,"style":{"line_width":"normal","palette":"grey","line_type":"solid"},"rum_query":{"index":"*","search":{"query":""},"group_by":[{"facet":"service","sort":{"facet":"@duration","aggregation":"avg","order":"desc"},"limit":10}],"compute":{"facet":"@duration","interval":10,"aggregation":"avg"}},"display_type":"area"}],"type":"timeseries","events":[{"q":"sources:test tags:1","tags_execution":"and"}]},"id":4038280737303045}],"layout_type":"ordered"}' headers: Cache-Control: - no-cache @@ -154,7 +154,7 @@ interactions: Content-Type: - application/json Date: - - Thu, 18 Mar 2021 17:33:24 GMT + - Tue, 25 May 2021 03:47:01 GMT Pragma: - no-cache Strict-Transport-Security: @@ -164,9 +164,51 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Debug: - - /L+SFFO+m1pPY+hRCpk5325fvfrNl0KmiquUNJolBN/5hu3HIwflqjZSbJ6NxDFG + - 25u1gDlL724DHllbjFT4BhOLorBTilh+aah2uWAUEjFC/+rjczJdiyWrV/HwLwe/ X-Dd-Version: - - "35.4125004" + - "35.4598224" + X-Frame-Options: + - SAMEORIGIN + status: 200 OK + code: 200 + duration: "" +- request: + body: "" + form: {} + headers: + Accept: + - application/json + Dd-Operation-Id: + - GetDashboard + User-Agent: + - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) + url: https://api.datadoghq.com/api/v1/dashboard/9qh-zxc-7ya + method: GET + response: + body: '{"notify_list":[],"description":"Created using the Datadog provider in Terraform","restricted_roles":["284d8b66-93f9-11eb-9c37-da7ad0900002","043a2842-e140-11e8-bb04-7fd10177666e","657de3a2-29f8-11eb-83b5-6b8ebfb2f184","e82bf27a-986c-11eb-9cba-da7ad0900002","f257ba30-dbb2-11ea-a5ff-5fd1d308318a","6bf314be-5c16-11eb-8e98-2356ea436065","62cbc476-5c16-11eb-8e98-0388ea7a41f8","08604de8-1dca-11eb-800c-9f5f55ff734d","9b3ab170-b768-11eb-a45a-da7ad0900002","7a83f306-96ca-11eb-9c74-da7ad0900002","16169788-28e4-11eb-832c-fb84162ef3eb","4de53192-9946-11eb-9cee-da7ad0900002","1302282c-b93b-11eb-a436-da7ad0900002","17d73994-7531-11eb-94b9-da7ad0900002"],"author_name":"Qin Chen","template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"9qh-zxc-7ya","title":"tf-TestAccDatadogDashboardTimeseries-local-1621914418","url":"/dashboard/9qh-zxc-7ya/tf-testaccdatadogdashboardtimeseries-local-1621914418","created_at":"2021-05-25T03:47:00.416208+00:00","modified_at":"2021-05-25T03:47:00.416208+00:00","author_handle":"qin.chen@datadoghq.com","widgets":[{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test Custom Link label"},{"override_label":"logs","is_hidden":true,"link":"https://app.datadoghq.com/dashboard/lists"}],"title_size":"16","legend_columns":["value","min","max"],"title":"system.cpu.user, env, process.stat.cpu.total_pct, network.bytes_read, @d...","title_align":"left","markers":[{"display_type":"error dashed","value":"y=500000","label":"y=500000"},{"display_type":"warning dashed","value":"y=400000","label":"y=400000"}],"yaxis":{"include_zero":true,"min":"0","max":"599999"},"legend_layout":"horizontal","show_legend":true,"right_yaxis":{"include_zero":false,"min":"1","max":"599998"},"time":{"live_span":"5m"},"legend_size":"2","requests":[{"q":"avg:system.cpu.user{env:prod} by {app}","on_right_yaxis":true,"style":{"line_width":"thin","palette":"dog_classic","line_type":"solid"},"display_type":"line","metadata":[{"expression":""}]},{"on_right_yaxis":false,"style":{"line_width":"normal","palette":"cool","line_type":"solid"},"display_type":"line","log_query":{"index":"*","search":{"query":""},"group_by":[{"facet":"service","sort":{"aggregation":"count","order":"desc"},"limit":10}],"compute":{"aggregation":"count"}}},{"on_right_yaxis":true,"style":{"line_width":"thick","palette":"warm","line_type":"dashed"},"apm_query":{"index":"trace-search","search":{"query":""},"group_by":[{"facet":"status","sort":{"facet":"env","aggregation":"cardinality","order":"desc"},"limit":10}],"compute":{"facet":"env","interval":1000,"aggregation":"cardinality"}},"display_type":"line"},{"on_right_yaxis":true,"style":{"line_width":"normal","palette":"purple","line_type":"solid"},"process_query":{"metric":"process.stat.cpu.total_pct","limit":10,"filter_by":["account:prod"]},"display_type":"line"},{"on_right_yaxis":true,"style":{"line_width":"normal","palette":"orange","line_type":"solid"},"display_type":"area","network_query":{"index":"netflow-search","search":{"query":"network.transport:udp network.destination.ip:\"*\""},"group_by":[{"facet":"source_region"},{"facet":"dest_environment"}],"compute":{"facet":"network.bytes_read","aggregation":"sum"}}},{"on_right_yaxis":true,"style":{"line_width":"normal","palette":"grey","line_type":"solid"},"rum_query":{"index":"*","search":{"query":""},"group_by":[{"facet":"service","sort":{"facet":"@duration","aggregation":"avg","order":"desc"},"limit":10}],"compute":{"facet":"@duration","interval":10,"aggregation":"avg"}},"display_type":"area"}],"type":"timeseries","events":[{"q":"sources:test tags:1","tags_execution":"and"}]},"id":2647892537601751},{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test Custom Link label"}],"title_size":"16","legend_columns":["value","min","max"],"title":"system.cpu.user, env, process.stat.cpu.total_pct, network.bytes_read, @d...","title_align":"left","markers":[{"display_type":"error dashed","value":"y=500000","label":"y=500000"},{"display_type":"warning dashed","value":"y=400000","label":"y=400000"}],"yaxis":{"include_zero":true,"min":"0","max":"599999"},"legend_layout":"horizontal","show_legend":true,"right_yaxis":{"include_zero":false,"min":"1","max":"599998"},"time":{"live_span":"5m"},"legend_size":"2","requests":[{"q":"avg:system.cpu.user{env:prod} by {app}","on_right_yaxis":true,"style":{"line_width":"thin","palette":"dog_classic","line_type":"solid"},"display_type":"line","metadata":[{"expression":""}]},{"on_right_yaxis":false,"style":{"line_width":"normal","palette":"cool","line_type":"solid"},"display_type":"line","log_query":{"index":"*","search":{"query":""},"group_by":[{"facet":"service","sort":{"aggregation":"count","order":"desc"},"limit":10}],"compute":{"aggregation":"count"}}},{"on_right_yaxis":true,"style":{"line_width":"thick","palette":"warm","line_type":"dashed"},"apm_query":{"index":"trace-search","search":{"query":""},"group_by":[{"facet":"status","sort":{"facet":"env","aggregation":"cardinality","order":"desc"},"limit":10}],"compute":{"facet":"env","interval":1000,"aggregation":"cardinality"}},"display_type":"line"},{"on_right_yaxis":true,"style":{"line_width":"normal","palette":"purple","line_type":"solid"},"process_query":{"metric":"process.stat.cpu.total_pct","limit":10,"filter_by":["account:prod"]},"display_type":"line"},{"on_right_yaxis":true,"style":{"line_width":"normal","palette":"orange","line_type":"solid"},"display_type":"area","network_query":{"index":"netflow-search","search":{"query":"network.transport:udp network.destination.ip:\"*\""},"group_by":[{"facet":"source_region"},{"facet":"dest_environment"}],"compute":{"facet":"network.bytes_read","aggregation":"sum"}}},{"on_right_yaxis":true,"style":{"line_width":"normal","palette":"grey","line_type":"solid"},"rum_query":{"index":"*","search":{"query":""},"group_by":[{"facet":"service","sort":{"facet":"@duration","aggregation":"avg","order":"desc"},"limit":10}],"compute":{"facet":"@duration","interval":10,"aggregation":"avg"}},"display_type":"area"}],"type":"timeseries","events":[{"q":"sources:test tags:1","tags_execution":"and"}]},"id":4038280737303045}],"layout_type":"ordered"}' + headers: + Cache-Control: + - no-cache + Connection: + - keep-alive + Content-Security-Policy: + - frame-ancestors 'self'; report-uri https://api.datadoghq.com/csp-report + Content-Type: + - application/json + Date: + - Tue, 25 May 2021 03:47:02 GMT + Pragma: + - no-cache + Strict-Transport-Security: + - max-age=15724800; + Vary: + - Accept-Encoding + X-Content-Type-Options: + - nosniff + X-Dd-Debug: + - nLnnBNvlCFDECRnZvzDb0z4sAO35G+IMidcAs8vrCKyjvsKWE8Yd9S3n6OjZ1qRN + X-Dd-Version: + - "35.4598224" X-Frame-Options: - SAMEORIGIN status: 200 OK @@ -181,11 +223,11 @@ interactions: Dd-Operation-Id: - DeleteDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.18+dev (go go1.15.7; os darwin; arch amd64) - url: https://api.datadoghq.com/api/v1/dashboard/y5w-m8n-zzf + - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) + url: https://api.datadoghq.com/api/v1/dashboard/9qh-zxc-7ya method: DELETE response: - body: '{"deleted_dashboard_id":"y5w-m8n-zzf"}' + body: '{"deleted_dashboard_id":"9qh-zxc-7ya"}' headers: Cache-Control: - no-cache @@ -196,7 +238,7 @@ interactions: Content-Type: - application/json Date: - - Thu, 18 Mar 2021 17:33:24 GMT + - Tue, 25 May 2021 03:47:03 GMT Pragma: - no-cache Strict-Transport-Security: @@ -206,9 +248,9 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Debug: - - nLnnBNvlCFDECRnZvzDb0z4sAO35G+IMidcAs8vrCKyjvsKWE8Yd9S3n6OjZ1qRN + - F5gm0Rce1/Abr9/0Fw8HAqWfiz0FdiH8er/AXnN6lOn3L6KyGgbsLCwgPlob1No8 X-Dd-Version: - - "35.4125004" + - "35.4598224" X-Frame-Options: - SAMEORIGIN status: 200 OK @@ -223,11 +265,11 @@ interactions: Dd-Operation-Id: - GetDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.18+dev (go go1.15.7; os darwin; arch amd64) - url: https://api.datadoghq.com/api/v1/dashboard/y5w-m8n-zzf + - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) + url: https://api.datadoghq.com/api/v1/dashboard/9qh-zxc-7ya method: GET response: - body: '{"errors": ["Dashboard with ID y5w-m8n-zzf not found"]}' + body: '{"errors": ["Dashboard with ID 9qh-zxc-7ya not found"]}' headers: Cache-Control: - no-cache @@ -238,7 +280,7 @@ interactions: Content-Type: - application/json Date: - - Thu, 18 Mar 2021 17:33:24 GMT + - Tue, 25 May 2021 03:47:03 GMT Pragma: - no-cache Strict-Transport-Security: @@ -248,7 +290,7 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Version: - - "35.4125004" + - "35.4598224" X-Frame-Options: - SAMEORIGIN status: 404 Not Found diff --git a/datadog/tests/cassettes/TestAccDatadogDashboardTimeseriesMultiCompute.freeze b/datadog/tests/cassettes/TestAccDatadogDashboardTimeseriesMultiCompute.freeze index c983e71a1..bcc40b6ec 100644 --- a/datadog/tests/cassettes/TestAccDatadogDashboardTimeseriesMultiCompute.freeze +++ b/datadog/tests/cassettes/TestAccDatadogDashboardTimeseriesMultiCompute.freeze @@ -1 +1 @@ -2021-03-18T18:33:19.521033+01:00 \ No newline at end of file +2021-05-24T23:46:58.436427-04:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogDashboardTimeseriesMultiCompute.yaml b/datadog/tests/cassettes/TestAccDatadogDashboardTimeseriesMultiCompute.yaml index c27e0325a..9d32b3ef9 100644 --- a/datadog/tests/cassettes/TestAccDatadogDashboardTimeseriesMultiCompute.yaml +++ b/datadog/tests/cassettes/TestAccDatadogDashboardTimeseriesMultiCompute.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-TestAccDatadogDashboardTimeseriesMultiCompute-local-1616088799","widgets":[{"definition":{"events":[{"q":"sources:test tags:1","tags_execution":"and"}],"legend_size":"2","markers":[{"display_type":"error dashed","label":"y=500000","value":"y=500000"},{"display_type":"warning dashed","label":"y=400000","value":"y=400000"}],"requests":[{"display_type":"line","log_query":{"group_by":[{"facet":"service","limit":10,"sort":{"aggregation":"count","order":"desc"}}],"index":"*","multi_compute":[{"aggregation":"count"},{"aggregation":"cardinality","facet":"env","interval":1000}],"search":{"query":""}},"on_right_yaxis":true,"style":{"line_type":"solid","line_width":"normal","palette":"cool"}}],"right_yaxis":{"include_zero":false,"max":"599998","min":"1"},"show_legend":true,"time":{"live_span":"5m"},"title":"system.cpu.user, env, process.stat.cpu.total_pct, network.bytes_read, @d...","title_align":"left","title_size":"16","type":"timeseries","yaxis":{"include_zero":true,"max":"599999","min":"0"}}},{"definition":{"events":[{"q":"sources:test tags:1","tags_execution":"and"}],"legend_size":"2","markers":[{"display_type":"error dashed","label":"y=500000","value":"y=500000"},{"display_type":"warning dashed","label":"y=400000","value":"y=400000"}],"requests":[{"display_type":"line","log_query":{"group_by":[{"facet":"service","limit":10,"sort":{"aggregation":"count","order":"desc"}}],"index":"*","multi_compute":[{"aggregation":"count"},{"aggregation":"cardinality","facet":"env","interval":1000}],"search":{"query":""}},"on_right_yaxis":true,"style":{"line_type":"solid","line_width":"normal","palette":"cool"}}],"right_yaxis":{"include_zero":false,"max":"599998","min":"1"},"show_legend":true,"time":{"live_span":"5m"},"title":"system.cpu.user, env, process.stat.cpu.total_pct, network.bytes_read, @d...","title_align":"left","title_size":"16","type":"timeseries","yaxis":{"include_zero":true,"max":"599999","min":"0"}}}]} + {"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-TestAccDatadogDashboardTimeseriesMultiCompute-local-1621914418","widgets":[{"definition":{"events":[{"q":"sources:test tags:1","tags_execution":"and"}],"legend_size":"2","markers":[{"display_type":"error dashed","label":"y=500000","value":"y=500000"},{"display_type":"warning dashed","label":"y=400000","value":"y=400000"}],"requests":[{"display_type":"line","log_query":{"group_by":[{"facet":"service","limit":10,"sort":{"aggregation":"count","order":"desc"}}],"index":"*","multi_compute":[{"aggregation":"count"},{"aggregation":"cardinality","facet":"env","interval":1000}],"search":{"query":""}},"on_right_yaxis":true,"style":{"line_type":"solid","line_width":"normal","palette":"cool"}}],"right_yaxis":{"include_zero":false,"max":"599998","min":"1"},"show_legend":true,"time":{"live_span":"5m"},"title":"system.cpu.user, env, process.stat.cpu.total_pct, network.bytes_read, @d...","title_align":"left","title_size":"16","type":"timeseries","yaxis":{"include_zero":true,"max":"599999","min":"0"}}},{"definition":{"events":[{"q":"sources:test tags:1","tags_execution":"and"}],"legend_size":"2","markers":[{"display_type":"error dashed","label":"y=500000","value":"y=500000"},{"display_type":"warning dashed","label":"y=400000","value":"y=400000"}],"requests":[{"display_type":"line","log_query":{"group_by":[{"facet":"service","limit":10,"sort":{"aggregation":"count","order":"desc"}}],"index":"*","multi_compute":[{"aggregation":"count"},{"aggregation":"cardinality","facet":"env","interval":1000}],"search":{"query":""}},"on_right_yaxis":true,"style":{"line_type":"solid","line_width":"normal","palette":"cool"}}],"right_yaxis":{"include_zero":false,"max":"599998","min":"1"},"show_legend":true,"time":{"live_span":"5m"},"title":"system.cpu.user, env, process.stat.cpu.total_pct, network.bytes_read, @d...","title_align":"left","title_size":"16","type":"timeseries","yaxis":{"include_zero":true,"max":"599999","min":"0"}}}]} form: {} headers: Accept: @@ -13,11 +13,11 @@ interactions: Dd-Operation-Id: - CreateDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.18+dev (go go1.15.7; os darwin; arch amd64) + - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) 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":"c3d-82g-w7k","title":"tf-TestAccDatadogDashboardTimeseriesMultiCompute-local-1616088799","url":"/dashboard/c3d-82g-w7k/tf-testaccdatadogdashboardtimeseriesmulticompute-local-1616088799","created_at":"2021-03-18T17:33:20.653584+00:00","modified_at":"2021-03-18T17:33:20.653584+00:00","author_handle":"frog@datadoghq.com","widgets":[{"definition":{"title_size":"16","yaxis":{"include_zero":true,"min":"0","max":"599999"},"title_align":"left","right_yaxis":{"include_zero":false,"min":"1","max":"599998"},"events":[{"q":"sources:test tags:1","tags_execution":"and"}],"show_legend":true,"markers":[{"display_type":"error dashed","value":"y=500000","label":"y=500000"},{"display_type":"warning dashed","value":"y=400000","label":"y=400000"}],"time":{"live_span":"5m"},"title":"system.cpu.user, env, process.stat.cpu.total_pct, network.bytes_read, @d...","legend_size":"2","type":"timeseries","requests":[{"on_right_yaxis":true,"style":{"line_width":"normal","palette":"cool","line_type":"solid"},"display_type":"line","log_query":{"index":"*","search":{"query":""},"group_by":[{"facet":"service","sort":{"aggregation":"count","order":"desc"},"limit":10}],"multi_compute":[{"aggregation":"count"},{"facet":"env","interval":1000,"aggregation":"cardinality"}]}}]},"id":6110599780111334},{"definition":{"title_size":"16","yaxis":{"include_zero":true,"min":"0","max":"599999"},"title_align":"left","right_yaxis":{"include_zero":false,"min":"1","max":"599998"},"events":[{"q":"sources:test tags:1","tags_execution":"and"}],"show_legend":true,"markers":[{"display_type":"error dashed","value":"y=500000","label":"y=500000"},{"display_type":"warning dashed","value":"y=400000","label":"y=400000"}],"time":{"live_span":"5m"},"title":"system.cpu.user, env, process.stat.cpu.total_pct, network.bytes_read, @d...","legend_size":"2","type":"timeseries","requests":[{"on_right_yaxis":true,"style":{"line_width":"normal","palette":"cool","line_type":"solid"},"display_type":"line","log_query":{"index":"*","search":{"query":""},"group_by":[{"facet":"service","sort":{"aggregation":"count","order":"desc"},"limit":10}],"multi_compute":[{"aggregation":"count"},{"facet":"env","interval":1000,"aggregation":"cardinality"}]}}]},"id":7666935917205894}],"layout_type":"ordered"}' + body: '{"notify_list":[],"description":"Created using the Datadog provider in Terraform","restricted_roles":["043a2842-e140-11e8-bb04-7fd10177666e","08604de8-1dca-11eb-800c-9f5f55ff734d","1302282c-b93b-11eb-a436-da7ad0900002","16169788-28e4-11eb-832c-fb84162ef3eb","17d73994-7531-11eb-94b9-da7ad0900002","284d8b66-93f9-11eb-9c37-da7ad0900002","4de53192-9946-11eb-9cee-da7ad0900002","62cbc476-5c16-11eb-8e98-0388ea7a41f8","657de3a2-29f8-11eb-83b5-6b8ebfb2f184","6bf314be-5c16-11eb-8e98-2356ea436065","7a83f306-96ca-11eb-9c74-da7ad0900002","9b3ab170-b768-11eb-a45a-da7ad0900002","e82bf27a-986c-11eb-9cba-da7ad0900002","f257ba30-dbb2-11ea-a5ff-5fd1d308318a"],"author_name":"Qin Chen","template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"tg6-4nk-wmj","title":"tf-TestAccDatadogDashboardTimeseriesMultiCompute-local-1621914418","url":"/dashboard/tg6-4nk-wmj/tf-testaccdatadogdashboardtimeseriesmulticompute-local-1621914418","created_at":"2021-05-25T03:47:00.400421+00:00","modified_at":"2021-05-25T03:47:00.400421+00:00","author_handle":"qin.chen@datadoghq.com","widgets":[{"definition":{"title_size":"16","yaxis":{"include_zero":true,"min":"0","max":"599999"},"title_align":"left","right_yaxis":{"include_zero":false,"min":"1","max":"599998"},"events":[{"q":"sources:test tags:1","tags_execution":"and"}],"show_legend":true,"markers":[{"display_type":"error dashed","value":"y=500000","label":"y=500000"},{"display_type":"warning dashed","value":"y=400000","label":"y=400000"}],"time":{"live_span":"5m"},"title":"system.cpu.user, env, process.stat.cpu.total_pct, network.bytes_read, @d...","legend_size":"2","type":"timeseries","requests":[{"on_right_yaxis":true,"style":{"line_width":"normal","palette":"cool","line_type":"solid"},"display_type":"line","log_query":{"index":"*","search":{"query":""},"group_by":[{"facet":"service","sort":{"aggregation":"count","order":"desc"},"limit":10}],"multi_compute":[{"aggregation":"count"},{"facet":"env","interval":1000,"aggregation":"cardinality"}]}}]},"id":8128495467463957},{"definition":{"title_size":"16","yaxis":{"include_zero":true,"min":"0","max":"599999"},"title_align":"left","right_yaxis":{"include_zero":false,"min":"1","max":"599998"},"events":[{"q":"sources:test tags:1","tags_execution":"and"}],"show_legend":true,"markers":[{"display_type":"error dashed","value":"y=500000","label":"y=500000"},{"display_type":"warning dashed","value":"y=400000","label":"y=400000"}],"time":{"live_span":"5m"},"title":"system.cpu.user, env, process.stat.cpu.total_pct, network.bytes_read, @d...","legend_size":"2","type":"timeseries","requests":[{"on_right_yaxis":true,"style":{"line_width":"normal","palette":"cool","line_type":"solid"},"display_type":"line","log_query":{"index":"*","search":{"query":""},"group_by":[{"facet":"service","sort":{"aggregation":"count","order":"desc"},"limit":10}],"multi_compute":[{"aggregation":"count"},{"facet":"env","interval":1000,"aggregation":"cardinality"}]}}]},"id":4256350043530134}],"layout_type":"ordered"}' headers: Cache-Control: - no-cache @@ -28,7 +28,7 @@ interactions: Content-Type: - application/json Date: - - Thu, 18 Mar 2021 17:33:23 GMT + - Tue, 25 May 2021 03:47:00 GMT Pragma: - no-cache Strict-Transport-Security: @@ -38,9 +38,9 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Debug: - - /L+SFFO+m1pPY+hRCpk5325fvfrNl0KmiquUNJolBN/5hu3HIwflqjZSbJ6NxDFG + - vdJ3/nHEY1ioXQ6pQrBVvsQK1s4yyc+wufBMPSoXql71qZVuP/xMdtNo6DafhOAk X-Dd-Version: - - "35.4125004" + - "35.4598224" X-Frame-Options: - SAMEORIGIN status: 200 OK @@ -55,11 +55,11 @@ interactions: Dd-Operation-Id: - GetDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.18+dev (go go1.15.7; os darwin; arch amd64) - url: https://api.datadoghq.com/api/v1/dashboard/c3d-82g-w7k + - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) + url: https://api.datadoghq.com/api/v1/dashboard/tg6-4nk-wmj 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":"c3d-82g-w7k","title":"tf-TestAccDatadogDashboardTimeseriesMultiCompute-local-1616088799","url":"/dashboard/c3d-82g-w7k/tf-testaccdatadogdashboardtimeseriesmulticompute-local-1616088799","created_at":"2021-03-18T17:33:20.653584+00:00","modified_at":"2021-03-18T17:33:20.653584+00:00","author_handle":"frog@datadoghq.com","widgets":[{"definition":{"title_size":"16","yaxis":{"include_zero":true,"min":"0","max":"599999"},"title_align":"left","right_yaxis":{"include_zero":false,"min":"1","max":"599998"},"events":[{"q":"sources:test tags:1","tags_execution":"and"}],"show_legend":true,"markers":[{"display_type":"error dashed","value":"y=500000","label":"y=500000"},{"display_type":"warning dashed","value":"y=400000","label":"y=400000"}],"time":{"live_span":"5m"},"title":"system.cpu.user, env, process.stat.cpu.total_pct, network.bytes_read, @d...","legend_size":"2","type":"timeseries","requests":[{"on_right_yaxis":true,"style":{"line_width":"normal","palette":"cool","line_type":"solid"},"display_type":"line","log_query":{"index":"*","search":{"query":""},"group_by":[{"facet":"service","sort":{"aggregation":"count","order":"desc"},"limit":10}],"multi_compute":[{"aggregation":"count"},{"facet":"env","interval":1000,"aggregation":"cardinality"}]}}]},"id":6110599780111334},{"definition":{"title_size":"16","yaxis":{"include_zero":true,"min":"0","max":"599999"},"title_align":"left","right_yaxis":{"include_zero":false,"min":"1","max":"599998"},"events":[{"q":"sources:test tags:1","tags_execution":"and"}],"show_legend":true,"markers":[{"display_type":"error dashed","value":"y=500000","label":"y=500000"},{"display_type":"warning dashed","value":"y=400000","label":"y=400000"}],"time":{"live_span":"5m"},"title":"system.cpu.user, env, process.stat.cpu.total_pct, network.bytes_read, @d...","legend_size":"2","type":"timeseries","requests":[{"on_right_yaxis":true,"style":{"line_width":"normal","palette":"cool","line_type":"solid"},"display_type":"line","log_query":{"index":"*","search":{"query":""},"group_by":[{"facet":"service","sort":{"aggregation":"count","order":"desc"},"limit":10}],"multi_compute":[{"aggregation":"count"},{"facet":"env","interval":1000,"aggregation":"cardinality"}]}}]},"id":7666935917205894}],"layout_type":"ordered"}' + body: '{"notify_list":[],"description":"Created using the Datadog provider in Terraform","restricted_roles":["284d8b66-93f9-11eb-9c37-da7ad0900002","043a2842-e140-11e8-bb04-7fd10177666e","657de3a2-29f8-11eb-83b5-6b8ebfb2f184","e82bf27a-986c-11eb-9cba-da7ad0900002","f257ba30-dbb2-11ea-a5ff-5fd1d308318a","6bf314be-5c16-11eb-8e98-2356ea436065","62cbc476-5c16-11eb-8e98-0388ea7a41f8","08604de8-1dca-11eb-800c-9f5f55ff734d","9b3ab170-b768-11eb-a45a-da7ad0900002","7a83f306-96ca-11eb-9c74-da7ad0900002","16169788-28e4-11eb-832c-fb84162ef3eb","4de53192-9946-11eb-9cee-da7ad0900002","1302282c-b93b-11eb-a436-da7ad0900002","17d73994-7531-11eb-94b9-da7ad0900002"],"author_name":"Qin Chen","template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"tg6-4nk-wmj","title":"tf-TestAccDatadogDashboardTimeseriesMultiCompute-local-1621914418","url":"/dashboard/tg6-4nk-wmj/tf-testaccdatadogdashboardtimeseriesmulticompute-local-1621914418","created_at":"2021-05-25T03:47:00.400421+00:00","modified_at":"2021-05-25T03:47:00.400421+00:00","author_handle":"qin.chen@datadoghq.com","widgets":[{"definition":{"title_size":"16","yaxis":{"include_zero":true,"min":"0","max":"599999"},"title_align":"left","right_yaxis":{"include_zero":false,"min":"1","max":"599998"},"events":[{"q":"sources:test tags:1","tags_execution":"and"}],"show_legend":true,"markers":[{"display_type":"error dashed","value":"y=500000","label":"y=500000"},{"display_type":"warning dashed","value":"y=400000","label":"y=400000"}],"time":{"live_span":"5m"},"title":"system.cpu.user, env, process.stat.cpu.total_pct, network.bytes_read, @d...","legend_size":"2","type":"timeseries","requests":[{"on_right_yaxis":true,"style":{"line_width":"normal","palette":"cool","line_type":"solid"},"display_type":"line","log_query":{"index":"*","search":{"query":""},"group_by":[{"facet":"service","sort":{"aggregation":"count","order":"desc"},"limit":10}],"multi_compute":[{"aggregation":"count"},{"facet":"env","interval":1000,"aggregation":"cardinality"}]}}]},"id":8128495467463957},{"definition":{"title_size":"16","yaxis":{"include_zero":true,"min":"0","max":"599999"},"title_align":"left","right_yaxis":{"include_zero":false,"min":"1","max":"599998"},"events":[{"q":"sources:test tags:1","tags_execution":"and"}],"show_legend":true,"markers":[{"display_type":"error dashed","value":"y=500000","label":"y=500000"},{"display_type":"warning dashed","value":"y=400000","label":"y=400000"}],"time":{"live_span":"5m"},"title":"system.cpu.user, env, process.stat.cpu.total_pct, network.bytes_read, @d...","legend_size":"2","type":"timeseries","requests":[{"on_right_yaxis":true,"style":{"line_width":"normal","palette":"cool","line_type":"solid"},"display_type":"line","log_query":{"index":"*","search":{"query":""},"group_by":[{"facet":"service","sort":{"aggregation":"count","order":"desc"},"limit":10}],"multi_compute":[{"aggregation":"count"},{"facet":"env","interval":1000,"aggregation":"cardinality"}]}}]},"id":4256350043530134}],"layout_type":"ordered"}' headers: Cache-Control: - no-cache @@ -70,7 +70,7 @@ interactions: Content-Type: - application/json Date: - - Thu, 18 Mar 2021 17:33:23 GMT + - Tue, 25 May 2021 03:47:00 GMT Pragma: - no-cache Strict-Transport-Security: @@ -80,9 +80,9 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Debug: - - gYZcaADwbKcv7Hm19HJx6WsLoKuOijDWAt2viPeCfWqUgyKY+9e1xZdmMJeXV3YV + - SY1h8ScsWq+kYmtbh63ltMLFAZsQjqfrgvdfAoRX+9TzT1sgMBRYaFRwfWWRRe9a X-Dd-Version: - - "35.4125004" + - "35.4598224" X-Frame-Options: - SAMEORIGIN status: 200 OK @@ -97,11 +97,11 @@ interactions: Dd-Operation-Id: - GetDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.18+dev (go go1.15.7; os darwin; arch amd64) - url: https://api.datadoghq.com/api/v1/dashboard/c3d-82g-w7k + - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) + url: https://api.datadoghq.com/api/v1/dashboard/tg6-4nk-wmj 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":"c3d-82g-w7k","title":"tf-TestAccDatadogDashboardTimeseriesMultiCompute-local-1616088799","url":"/dashboard/c3d-82g-w7k/tf-testaccdatadogdashboardtimeseriesmulticompute-local-1616088799","created_at":"2021-03-18T17:33:20.653584+00:00","modified_at":"2021-03-18T17:33:20.653584+00:00","author_handle":"frog@datadoghq.com","widgets":[{"definition":{"title_size":"16","yaxis":{"include_zero":true,"min":"0","max":"599999"},"title_align":"left","right_yaxis":{"include_zero":false,"min":"1","max":"599998"},"events":[{"q":"sources:test tags:1","tags_execution":"and"}],"show_legend":true,"markers":[{"display_type":"error dashed","value":"y=500000","label":"y=500000"},{"display_type":"warning dashed","value":"y=400000","label":"y=400000"}],"time":{"live_span":"5m"},"title":"system.cpu.user, env, process.stat.cpu.total_pct, network.bytes_read, @d...","legend_size":"2","type":"timeseries","requests":[{"on_right_yaxis":true,"style":{"line_width":"normal","palette":"cool","line_type":"solid"},"display_type":"line","log_query":{"index":"*","search":{"query":""},"group_by":[{"facet":"service","sort":{"aggregation":"count","order":"desc"},"limit":10}],"multi_compute":[{"aggregation":"count"},{"facet":"env","interval":1000,"aggregation":"cardinality"}]}}]},"id":6110599780111334},{"definition":{"title_size":"16","yaxis":{"include_zero":true,"min":"0","max":"599999"},"title_align":"left","right_yaxis":{"include_zero":false,"min":"1","max":"599998"},"events":[{"q":"sources:test tags:1","tags_execution":"and"}],"show_legend":true,"markers":[{"display_type":"error dashed","value":"y=500000","label":"y=500000"},{"display_type":"warning dashed","value":"y=400000","label":"y=400000"}],"time":{"live_span":"5m"},"title":"system.cpu.user, env, process.stat.cpu.total_pct, network.bytes_read, @d...","legend_size":"2","type":"timeseries","requests":[{"on_right_yaxis":true,"style":{"line_width":"normal","palette":"cool","line_type":"solid"},"display_type":"line","log_query":{"index":"*","search":{"query":""},"group_by":[{"facet":"service","sort":{"aggregation":"count","order":"desc"},"limit":10}],"multi_compute":[{"aggregation":"count"},{"facet":"env","interval":1000,"aggregation":"cardinality"}]}}]},"id":7666935917205894}],"layout_type":"ordered"}' + body: '{"notify_list":[],"description":"Created using the Datadog provider in Terraform","restricted_roles":["284d8b66-93f9-11eb-9c37-da7ad0900002","043a2842-e140-11e8-bb04-7fd10177666e","657de3a2-29f8-11eb-83b5-6b8ebfb2f184","e82bf27a-986c-11eb-9cba-da7ad0900002","f257ba30-dbb2-11ea-a5ff-5fd1d308318a","6bf314be-5c16-11eb-8e98-2356ea436065","62cbc476-5c16-11eb-8e98-0388ea7a41f8","08604de8-1dca-11eb-800c-9f5f55ff734d","9b3ab170-b768-11eb-a45a-da7ad0900002","7a83f306-96ca-11eb-9c74-da7ad0900002","16169788-28e4-11eb-832c-fb84162ef3eb","4de53192-9946-11eb-9cee-da7ad0900002","1302282c-b93b-11eb-a436-da7ad0900002","17d73994-7531-11eb-94b9-da7ad0900002"],"author_name":"Qin Chen","template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"tg6-4nk-wmj","title":"tf-TestAccDatadogDashboardTimeseriesMultiCompute-local-1621914418","url":"/dashboard/tg6-4nk-wmj/tf-testaccdatadogdashboardtimeseriesmulticompute-local-1621914418","created_at":"2021-05-25T03:47:00.400421+00:00","modified_at":"2021-05-25T03:47:00.400421+00:00","author_handle":"qin.chen@datadoghq.com","widgets":[{"definition":{"title_size":"16","yaxis":{"include_zero":true,"min":"0","max":"599999"},"title_align":"left","right_yaxis":{"include_zero":false,"min":"1","max":"599998"},"events":[{"q":"sources:test tags:1","tags_execution":"and"}],"show_legend":true,"markers":[{"display_type":"error dashed","value":"y=500000","label":"y=500000"},{"display_type":"warning dashed","value":"y=400000","label":"y=400000"}],"time":{"live_span":"5m"},"title":"system.cpu.user, env, process.stat.cpu.total_pct, network.bytes_read, @d...","legend_size":"2","type":"timeseries","requests":[{"on_right_yaxis":true,"style":{"line_width":"normal","palette":"cool","line_type":"solid"},"display_type":"line","log_query":{"index":"*","search":{"query":""},"group_by":[{"facet":"service","sort":{"aggregation":"count","order":"desc"},"limit":10}],"multi_compute":[{"aggregation":"count"},{"facet":"env","interval":1000,"aggregation":"cardinality"}]}}]},"id":8128495467463957},{"definition":{"title_size":"16","yaxis":{"include_zero":true,"min":"0","max":"599999"},"title_align":"left","right_yaxis":{"include_zero":false,"min":"1","max":"599998"},"events":[{"q":"sources:test tags:1","tags_execution":"and"}],"show_legend":true,"markers":[{"display_type":"error dashed","value":"y=500000","label":"y=500000"},{"display_type":"warning dashed","value":"y=400000","label":"y=400000"}],"time":{"live_span":"5m"},"title":"system.cpu.user, env, process.stat.cpu.total_pct, network.bytes_read, @d...","legend_size":"2","type":"timeseries","requests":[{"on_right_yaxis":true,"style":{"line_width":"normal","palette":"cool","line_type":"solid"},"display_type":"line","log_query":{"index":"*","search":{"query":""},"group_by":[{"facet":"service","sort":{"aggregation":"count","order":"desc"},"limit":10}],"multi_compute":[{"aggregation":"count"},{"facet":"env","interval":1000,"aggregation":"cardinality"}]}}]},"id":4256350043530134}],"layout_type":"ordered"}' headers: Cache-Control: - no-cache @@ -112,7 +112,7 @@ interactions: Content-Type: - application/json Date: - - Thu, 18 Mar 2021 17:33:24 GMT + - Tue, 25 May 2021 03:47:00 GMT Pragma: - no-cache Strict-Transport-Security: @@ -122,9 +122,9 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Debug: - - JpIJLwIH2nFlZOC+u71rq7aAOL43MLZN3MUsL+gpYHdZz5QLUOG8Jysf8kVK6tPU + - 2328yjLSqI4XmR1pVqrPRR/SFcQsbafjEpPmZx7/3PfxUK1nJQQsX+wrMelyVyj+ X-Dd-Version: - - "35.4125004" + - "35.4598224" X-Frame-Options: - SAMEORIGIN status: 200 OK @@ -139,11 +139,11 @@ interactions: Dd-Operation-Id: - GetDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.18+dev (go go1.15.7; os darwin; arch amd64) - url: https://api.datadoghq.com/api/v1/dashboard/c3d-82g-w7k + - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) + url: https://api.datadoghq.com/api/v1/dashboard/tg6-4nk-wmj 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":"c3d-82g-w7k","title":"tf-TestAccDatadogDashboardTimeseriesMultiCompute-local-1616088799","url":"/dashboard/c3d-82g-w7k/tf-testaccdatadogdashboardtimeseriesmulticompute-local-1616088799","created_at":"2021-03-18T17:33:20.653584+00:00","modified_at":"2021-03-18T17:33:20.653584+00:00","author_handle":"frog@datadoghq.com","widgets":[{"definition":{"title_size":"16","yaxis":{"include_zero":true,"min":"0","max":"599999"},"title_align":"left","right_yaxis":{"include_zero":false,"min":"1","max":"599998"},"events":[{"q":"sources:test tags:1","tags_execution":"and"}],"show_legend":true,"markers":[{"display_type":"error dashed","value":"y=500000","label":"y=500000"},{"display_type":"warning dashed","value":"y=400000","label":"y=400000"}],"time":{"live_span":"5m"},"title":"system.cpu.user, env, process.stat.cpu.total_pct, network.bytes_read, @d...","legend_size":"2","type":"timeseries","requests":[{"on_right_yaxis":true,"style":{"line_width":"normal","palette":"cool","line_type":"solid"},"display_type":"line","log_query":{"index":"*","search":{"query":""},"group_by":[{"facet":"service","sort":{"aggregation":"count","order":"desc"},"limit":10}],"multi_compute":[{"aggregation":"count"},{"facet":"env","interval":1000,"aggregation":"cardinality"}]}}]},"id":6110599780111334},{"definition":{"title_size":"16","yaxis":{"include_zero":true,"min":"0","max":"599999"},"title_align":"left","right_yaxis":{"include_zero":false,"min":"1","max":"599998"},"events":[{"q":"sources:test tags:1","tags_execution":"and"}],"show_legend":true,"markers":[{"display_type":"error dashed","value":"y=500000","label":"y=500000"},{"display_type":"warning dashed","value":"y=400000","label":"y=400000"}],"time":{"live_span":"5m"},"title":"system.cpu.user, env, process.stat.cpu.total_pct, network.bytes_read, @d...","legend_size":"2","type":"timeseries","requests":[{"on_right_yaxis":true,"style":{"line_width":"normal","palette":"cool","line_type":"solid"},"display_type":"line","log_query":{"index":"*","search":{"query":""},"group_by":[{"facet":"service","sort":{"aggregation":"count","order":"desc"},"limit":10}],"multi_compute":[{"aggregation":"count"},{"facet":"env","interval":1000,"aggregation":"cardinality"}]}}]},"id":7666935917205894}],"layout_type":"ordered"}' + body: '{"notify_list":[],"description":"Created using the Datadog provider in Terraform","restricted_roles":["284d8b66-93f9-11eb-9c37-da7ad0900002","043a2842-e140-11e8-bb04-7fd10177666e","657de3a2-29f8-11eb-83b5-6b8ebfb2f184","e82bf27a-986c-11eb-9cba-da7ad0900002","f257ba30-dbb2-11ea-a5ff-5fd1d308318a","6bf314be-5c16-11eb-8e98-2356ea436065","62cbc476-5c16-11eb-8e98-0388ea7a41f8","08604de8-1dca-11eb-800c-9f5f55ff734d","9b3ab170-b768-11eb-a45a-da7ad0900002","7a83f306-96ca-11eb-9c74-da7ad0900002","16169788-28e4-11eb-832c-fb84162ef3eb","4de53192-9946-11eb-9cee-da7ad0900002","1302282c-b93b-11eb-a436-da7ad0900002","17d73994-7531-11eb-94b9-da7ad0900002"],"author_name":"Qin Chen","template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"tg6-4nk-wmj","title":"tf-TestAccDatadogDashboardTimeseriesMultiCompute-local-1621914418","url":"/dashboard/tg6-4nk-wmj/tf-testaccdatadogdashboardtimeseriesmulticompute-local-1621914418","created_at":"2021-05-25T03:47:00.400421+00:00","modified_at":"2021-05-25T03:47:00.400421+00:00","author_handle":"qin.chen@datadoghq.com","widgets":[{"definition":{"title_size":"16","yaxis":{"include_zero":true,"min":"0","max":"599999"},"title_align":"left","right_yaxis":{"include_zero":false,"min":"1","max":"599998"},"events":[{"q":"sources:test tags:1","tags_execution":"and"}],"show_legend":true,"markers":[{"display_type":"error dashed","value":"y=500000","label":"y=500000"},{"display_type":"warning dashed","value":"y=400000","label":"y=400000"}],"time":{"live_span":"5m"},"title":"system.cpu.user, env, process.stat.cpu.total_pct, network.bytes_read, @d...","legend_size":"2","type":"timeseries","requests":[{"on_right_yaxis":true,"style":{"line_width":"normal","palette":"cool","line_type":"solid"},"display_type":"line","log_query":{"index":"*","search":{"query":""},"group_by":[{"facet":"service","sort":{"aggregation":"count","order":"desc"},"limit":10}],"multi_compute":[{"aggregation":"count"},{"facet":"env","interval":1000,"aggregation":"cardinality"}]}}]},"id":8128495467463957},{"definition":{"title_size":"16","yaxis":{"include_zero":true,"min":"0","max":"599999"},"title_align":"left","right_yaxis":{"include_zero":false,"min":"1","max":"599998"},"events":[{"q":"sources:test tags:1","tags_execution":"and"}],"show_legend":true,"markers":[{"display_type":"error dashed","value":"y=500000","label":"y=500000"},{"display_type":"warning dashed","value":"y=400000","label":"y=400000"}],"time":{"live_span":"5m"},"title":"system.cpu.user, env, process.stat.cpu.total_pct, network.bytes_read, @d...","legend_size":"2","type":"timeseries","requests":[{"on_right_yaxis":true,"style":{"line_width":"normal","palette":"cool","line_type":"solid"},"display_type":"line","log_query":{"index":"*","search":{"query":""},"group_by":[{"facet":"service","sort":{"aggregation":"count","order":"desc"},"limit":10}],"multi_compute":[{"aggregation":"count"},{"facet":"env","interval":1000,"aggregation":"cardinality"}]}}]},"id":4256350043530134}],"layout_type":"ordered"}' headers: Cache-Control: - no-cache @@ -154,7 +154,7 @@ interactions: Content-Type: - application/json Date: - - Thu, 18 Mar 2021 17:33:24 GMT + - Tue, 25 May 2021 03:47:01 GMT Pragma: - no-cache Strict-Transport-Security: @@ -164,9 +164,9 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Debug: - - PhosSd3Ch1B6B0DXI71steKUi7XhPDttnPiIP1NdXTw0VJNWpoUnYyBmODS5ne3q + - F5gm0Rce1/Abr9/0Fw8HAqWfiz0FdiH8er/AXnN6lOn3L6KyGgbsLCwgPlob1No8 X-Dd-Version: - - "35.4125004" + - "35.4598224" X-Frame-Options: - SAMEORIGIN status: 200 OK @@ -181,11 +181,11 @@ interactions: Dd-Operation-Id: - GetDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.18+dev (go go1.15.7; os darwin; arch amd64) - url: https://api.datadoghq.com/api/v1/dashboard/c3d-82g-w7k + - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) + url: https://api.datadoghq.com/api/v1/dashboard/tg6-4nk-wmj 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":"c3d-82g-w7k","title":"tf-TestAccDatadogDashboardTimeseriesMultiCompute-local-1616088799","url":"/dashboard/c3d-82g-w7k/tf-testaccdatadogdashboardtimeseriesmulticompute-local-1616088799","created_at":"2021-03-18T17:33:20.653584+00:00","modified_at":"2021-03-18T17:33:20.653584+00:00","author_handle":"frog@datadoghq.com","widgets":[{"definition":{"title_size":"16","yaxis":{"include_zero":true,"min":"0","max":"599999"},"title_align":"left","right_yaxis":{"include_zero":false,"min":"1","max":"599998"},"events":[{"q":"sources:test tags:1","tags_execution":"and"}],"show_legend":true,"markers":[{"display_type":"error dashed","value":"y=500000","label":"y=500000"},{"display_type":"warning dashed","value":"y=400000","label":"y=400000"}],"time":{"live_span":"5m"},"title":"system.cpu.user, env, process.stat.cpu.total_pct, network.bytes_read, @d...","legend_size":"2","type":"timeseries","requests":[{"on_right_yaxis":true,"style":{"line_width":"normal","palette":"cool","line_type":"solid"},"display_type":"line","log_query":{"index":"*","search":{"query":""},"group_by":[{"facet":"service","sort":{"aggregation":"count","order":"desc"},"limit":10}],"multi_compute":[{"aggregation":"count"},{"facet":"env","interval":1000,"aggregation":"cardinality"}]}}]},"id":6110599780111334},{"definition":{"title_size":"16","yaxis":{"include_zero":true,"min":"0","max":"599999"},"title_align":"left","right_yaxis":{"include_zero":false,"min":"1","max":"599998"},"events":[{"q":"sources:test tags:1","tags_execution":"and"}],"show_legend":true,"markers":[{"display_type":"error dashed","value":"y=500000","label":"y=500000"},{"display_type":"warning dashed","value":"y=400000","label":"y=400000"}],"time":{"live_span":"5m"},"title":"system.cpu.user, env, process.stat.cpu.total_pct, network.bytes_read, @d...","legend_size":"2","type":"timeseries","requests":[{"on_right_yaxis":true,"style":{"line_width":"normal","palette":"cool","line_type":"solid"},"display_type":"line","log_query":{"index":"*","search":{"query":""},"group_by":[{"facet":"service","sort":{"aggregation":"count","order":"desc"},"limit":10}],"multi_compute":[{"aggregation":"count"},{"facet":"env","interval":1000,"aggregation":"cardinality"}]}}]},"id":7666935917205894}],"layout_type":"ordered"}' + body: '{"notify_list":[],"description":"Created using the Datadog provider in Terraform","restricted_roles":["284d8b66-93f9-11eb-9c37-da7ad0900002","043a2842-e140-11e8-bb04-7fd10177666e","657de3a2-29f8-11eb-83b5-6b8ebfb2f184","e82bf27a-986c-11eb-9cba-da7ad0900002","f257ba30-dbb2-11ea-a5ff-5fd1d308318a","6bf314be-5c16-11eb-8e98-2356ea436065","62cbc476-5c16-11eb-8e98-0388ea7a41f8","08604de8-1dca-11eb-800c-9f5f55ff734d","9b3ab170-b768-11eb-a45a-da7ad0900002","7a83f306-96ca-11eb-9c74-da7ad0900002","16169788-28e4-11eb-832c-fb84162ef3eb","4de53192-9946-11eb-9cee-da7ad0900002","1302282c-b93b-11eb-a436-da7ad0900002","17d73994-7531-11eb-94b9-da7ad0900002"],"author_name":"Qin Chen","template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"tg6-4nk-wmj","title":"tf-TestAccDatadogDashboardTimeseriesMultiCompute-local-1621914418","url":"/dashboard/tg6-4nk-wmj/tf-testaccdatadogdashboardtimeseriesmulticompute-local-1621914418","created_at":"2021-05-25T03:47:00.400421+00:00","modified_at":"2021-05-25T03:47:00.400421+00:00","author_handle":"qin.chen@datadoghq.com","widgets":[{"definition":{"title_size":"16","yaxis":{"include_zero":true,"min":"0","max":"599999"},"title_align":"left","right_yaxis":{"include_zero":false,"min":"1","max":"599998"},"events":[{"q":"sources:test tags:1","tags_execution":"and"}],"show_legend":true,"markers":[{"display_type":"error dashed","value":"y=500000","label":"y=500000"},{"display_type":"warning dashed","value":"y=400000","label":"y=400000"}],"time":{"live_span":"5m"},"title":"system.cpu.user, env, process.stat.cpu.total_pct, network.bytes_read, @d...","legend_size":"2","type":"timeseries","requests":[{"on_right_yaxis":true,"style":{"line_width":"normal","palette":"cool","line_type":"solid"},"display_type":"line","log_query":{"index":"*","search":{"query":""},"group_by":[{"facet":"service","sort":{"aggregation":"count","order":"desc"},"limit":10}],"multi_compute":[{"aggregation":"count"},{"facet":"env","interval":1000,"aggregation":"cardinality"}]}}]},"id":8128495467463957},{"definition":{"title_size":"16","yaxis":{"include_zero":true,"min":"0","max":"599999"},"title_align":"left","right_yaxis":{"include_zero":false,"min":"1","max":"599998"},"events":[{"q":"sources:test tags:1","tags_execution":"and"}],"show_legend":true,"markers":[{"display_type":"error dashed","value":"y=500000","label":"y=500000"},{"display_type":"warning dashed","value":"y=400000","label":"y=400000"}],"time":{"live_span":"5m"},"title":"system.cpu.user, env, process.stat.cpu.total_pct, network.bytes_read, @d...","legend_size":"2","type":"timeseries","requests":[{"on_right_yaxis":true,"style":{"line_width":"normal","palette":"cool","line_type":"solid"},"display_type":"line","log_query":{"index":"*","search":{"query":""},"group_by":[{"facet":"service","sort":{"aggregation":"count","order":"desc"},"limit":10}],"multi_compute":[{"aggregation":"count"},{"facet":"env","interval":1000,"aggregation":"cardinality"}]}}]},"id":4256350043530134}],"layout_type":"ordered"}' headers: Cache-Control: - no-cache @@ -196,7 +196,7 @@ interactions: Content-Type: - application/json Date: - - Thu, 18 Mar 2021 17:33:25 GMT + - Tue, 25 May 2021 03:47:02 GMT Pragma: - no-cache Strict-Transport-Security: @@ -206,9 +206,9 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Debug: - - SY1h8ScsWq+kYmtbh63ltMLFAZsQjqfrgvdfAoRX+9TzT1sgMBRYaFRwfWWRRe9a + - 5gfwVh/5HZ+AnGd/Di93w3NEWC6KMHT9KzmHEiRJmNdOjBtAsbOcgVFyqEChw71h X-Dd-Version: - - "35.4125004" + - "35.4598224" X-Frame-Options: - SAMEORIGIN status: 200 OK @@ -223,11 +223,11 @@ interactions: Dd-Operation-Id: - DeleteDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.18+dev (go go1.15.7; os darwin; arch amd64) - url: https://api.datadoghq.com/api/v1/dashboard/c3d-82g-w7k + - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) + url: https://api.datadoghq.com/api/v1/dashboard/tg6-4nk-wmj method: DELETE response: - body: '{"deleted_dashboard_id":"c3d-82g-w7k"}' + body: '{"deleted_dashboard_id":"tg6-4nk-wmj"}' headers: Cache-Control: - no-cache @@ -238,7 +238,7 @@ interactions: Content-Type: - application/json Date: - - Thu, 18 Mar 2021 17:33:25 GMT + - Tue, 25 May 2021 03:47:03 GMT Pragma: - no-cache Strict-Transport-Security: @@ -248,9 +248,9 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Debug: - - 25u1gDlL724DHllbjFT4BhOLorBTilh+aah2uWAUEjFC/+rjczJdiyWrV/HwLwe/ + - B1nwy/pPNqX+q4pQT22cdp1QCexE35IF8qwSHy0Nf7IW0Y881qtn4tXN1lpmzaKc X-Dd-Version: - - "35.4125004" + - "35.4598224" X-Frame-Options: - SAMEORIGIN status: 200 OK @@ -265,11 +265,11 @@ interactions: Dd-Operation-Id: - GetDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.18+dev (go go1.15.7; os darwin; arch amd64) - url: https://api.datadoghq.com/api/v1/dashboard/c3d-82g-w7k + - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) + url: https://api.datadoghq.com/api/v1/dashboard/tg6-4nk-wmj method: GET response: - body: '{"errors": ["Dashboard with ID c3d-82g-w7k not found"]}' + body: '{"errors": ["Dashboard with ID tg6-4nk-wmj not found"]}' headers: Cache-Control: - no-cache @@ -280,7 +280,7 @@ interactions: Content-Type: - application/json Date: - - Thu, 18 Mar 2021 17:33:25 GMT + - Tue, 25 May 2021 03:47:03 GMT Pragma: - no-cache Strict-Transport-Security: @@ -290,7 +290,7 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Version: - - "35.4125004" + - "35.4598224" X-Frame-Options: - SAMEORIGIN status: 404 Not Found diff --git a/datadog/tests/cassettes/TestAccDatadogDashboardTimeseriesMultiCompute_import.freeze b/datadog/tests/cassettes/TestAccDatadogDashboardTimeseriesMultiCompute_import.freeze index 0a33322ef..8ac7e540c 100644 --- a/datadog/tests/cassettes/TestAccDatadogDashboardTimeseriesMultiCompute_import.freeze +++ b/datadog/tests/cassettes/TestAccDatadogDashboardTimeseriesMultiCompute_import.freeze @@ -1 +1 @@ -2021-03-18T18:33:19.521025+01:00 \ No newline at end of file +2021-05-24T23:46:58.436125-04:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogDashboardTimeseriesMultiCompute_import.yaml b/datadog/tests/cassettes/TestAccDatadogDashboardTimeseriesMultiCompute_import.yaml index 0a5037069..bc1f20922 100644 --- a/datadog/tests/cassettes/TestAccDatadogDashboardTimeseriesMultiCompute_import.yaml +++ b/datadog/tests/cassettes/TestAccDatadogDashboardTimeseriesMultiCompute_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-TestAccDatadogDashboardTimeseriesMultiCompute_import-local-1616088799","widgets":[{"definition":{"events":[{"q":"sources:test tags:1","tags_execution":"and"}],"legend_size":"2","markers":[{"display_type":"error dashed","label":"y=500000","value":"y=500000"},{"display_type":"warning dashed","label":"y=400000","value":"y=400000"}],"requests":[{"display_type":"line","log_query":{"group_by":[{"facet":"service","limit":10,"sort":{"aggregation":"count","order":"desc"}}],"index":"*","multi_compute":[{"aggregation":"count"},{"aggregation":"cardinality","facet":"env","interval":1000}],"search":{"query":""}},"on_right_yaxis":true,"style":{"line_type":"solid","line_width":"normal","palette":"cool"}}],"right_yaxis":{"include_zero":false,"max":"599998","min":"1"},"show_legend":true,"time":{"live_span":"5m"},"title":"system.cpu.user, env, process.stat.cpu.total_pct, network.bytes_read, @d...","title_align":"left","title_size":"16","type":"timeseries","yaxis":{"include_zero":true,"max":"599999","min":"0"}}}]} + {"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-TestAccDatadogDashboardTimeseriesMultiCompute_import-local-1621914418","widgets":[{"definition":{"events":[{"q":"sources:test tags:1","tags_execution":"and"}],"legend_size":"2","markers":[{"display_type":"error dashed","label":"y=500000","value":"y=500000"},{"display_type":"warning dashed","label":"y=400000","value":"y=400000"}],"requests":[{"display_type":"line","log_query":{"group_by":[{"facet":"service","limit":10,"sort":{"aggregation":"count","order":"desc"}}],"index":"*","multi_compute":[{"aggregation":"count"},{"aggregation":"cardinality","facet":"env","interval":1000}],"search":{"query":""}},"on_right_yaxis":true,"style":{"line_type":"solid","line_width":"normal","palette":"cool"}}],"right_yaxis":{"include_zero":false,"max":"599998","min":"1"},"show_legend":true,"time":{"live_span":"5m"},"title":"system.cpu.user, env, process.stat.cpu.total_pct, network.bytes_read, @d...","title_align":"left","title_size":"16","type":"timeseries","yaxis":{"include_zero":true,"max":"599999","min":"0"}}}]} form: {} headers: Accept: @@ -13,11 +13,11 @@ interactions: Dd-Operation-Id: - CreateDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.18+dev (go go1.15.7; os darwin; arch amd64) + - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) 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":"edu-dm8-kss","title":"tf-TestAccDatadogDashboardTimeseriesMultiCompute_import-local-1616088799","url":"/dashboard/edu-dm8-kss/tf-testaccdatadogdashboardtimeseriesmulticomputeimport-local-1616088799","created_at":"2021-03-18T17:33:20.584024+00:00","modified_at":"2021-03-18T17:33:20.584024+00:00","author_handle":"frog@datadoghq.com","widgets":[{"definition":{"title_size":"16","yaxis":{"include_zero":true,"min":"0","max":"599999"},"title_align":"left","right_yaxis":{"include_zero":false,"min":"1","max":"599998"},"events":[{"q":"sources:test tags:1","tags_execution":"and"}],"show_legend":true,"markers":[{"display_type":"error dashed","value":"y=500000","label":"y=500000"},{"display_type":"warning dashed","value":"y=400000","label":"y=400000"}],"time":{"live_span":"5m"},"title":"system.cpu.user, env, process.stat.cpu.total_pct, network.bytes_read, @d...","legend_size":"2","type":"timeseries","requests":[{"on_right_yaxis":true,"style":{"line_width":"normal","palette":"cool","line_type":"solid"},"display_type":"line","log_query":{"index":"*","search":{"query":""},"group_by":[{"facet":"service","sort":{"aggregation":"count","order":"desc"},"limit":10}],"multi_compute":[{"aggregation":"count"},{"facet":"env","interval":1000,"aggregation":"cardinality"}]}}]},"id":4662406963868713}],"layout_type":"ordered"}' + body: '{"notify_list":[],"description":"Created using the Datadog provider in Terraform","restricted_roles":["043a2842-e140-11e8-bb04-7fd10177666e","08604de8-1dca-11eb-800c-9f5f55ff734d","1302282c-b93b-11eb-a436-da7ad0900002","16169788-28e4-11eb-832c-fb84162ef3eb","17d73994-7531-11eb-94b9-da7ad0900002","284d8b66-93f9-11eb-9c37-da7ad0900002","4de53192-9946-11eb-9cee-da7ad0900002","62cbc476-5c16-11eb-8e98-0388ea7a41f8","657de3a2-29f8-11eb-83b5-6b8ebfb2f184","6bf314be-5c16-11eb-8e98-2356ea436065","7a83f306-96ca-11eb-9c74-da7ad0900002","9b3ab170-b768-11eb-a45a-da7ad0900002","e82bf27a-986c-11eb-9cba-da7ad0900002","f257ba30-dbb2-11ea-a5ff-5fd1d308318a"],"author_name":"Qin Chen","template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"hpc-ttm-m2b","title":"tf-TestAccDatadogDashboardTimeseriesMultiCompute_import-local-1621914418","url":"/dashboard/hpc-ttm-m2b/tf-testaccdatadogdashboardtimeseriesmulticomputeimport-local-1621914418","created_at":"2021-05-25T03:47:00.394411+00:00","modified_at":"2021-05-25T03:47:00.394411+00:00","author_handle":"qin.chen@datadoghq.com","widgets":[{"definition":{"title_size":"16","yaxis":{"include_zero":true,"min":"0","max":"599999"},"title_align":"left","right_yaxis":{"include_zero":false,"min":"1","max":"599998"},"events":[{"q":"sources:test tags:1","tags_execution":"and"}],"show_legend":true,"markers":[{"display_type":"error dashed","value":"y=500000","label":"y=500000"},{"display_type":"warning dashed","value":"y=400000","label":"y=400000"}],"time":{"live_span":"5m"},"title":"system.cpu.user, env, process.stat.cpu.total_pct, network.bytes_read, @d...","legend_size":"2","type":"timeseries","requests":[{"on_right_yaxis":true,"style":{"line_width":"normal","palette":"cool","line_type":"solid"},"display_type":"line","log_query":{"index":"*","search":{"query":""},"group_by":[{"facet":"service","sort":{"aggregation":"count","order":"desc"},"limit":10}],"multi_compute":[{"aggregation":"count"},{"facet":"env","interval":1000,"aggregation":"cardinality"}]}}]},"id":4427576031201082}],"layout_type":"ordered"}' headers: Cache-Control: - no-cache @@ -28,7 +28,7 @@ interactions: Content-Type: - application/json Date: - - Thu, 18 Mar 2021 17:33:23 GMT + - Tue, 25 May 2021 03:47:00 GMT Pragma: - no-cache Strict-Transport-Security: @@ -38,9 +38,9 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Debug: - - fIO2C4qGDheGHy4YbS+r3a3CXbh4cbRo7roILOimQyiHGjQdOat0cIpWCkupM1uX + - 2328yjLSqI4XmR1pVqrPRR/SFcQsbafjEpPmZx7/3PfxUK1nJQQsX+wrMelyVyj+ X-Dd-Version: - - "35.4125004" + - "35.4598224" X-Frame-Options: - SAMEORIGIN status: 200 OK @@ -55,11 +55,11 @@ interactions: Dd-Operation-Id: - GetDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.18+dev (go go1.15.7; os darwin; arch amd64) - url: https://api.datadoghq.com/api/v1/dashboard/edu-dm8-kss + - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) + url: https://api.datadoghq.com/api/v1/dashboard/hpc-ttm-m2b 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":"edu-dm8-kss","title":"tf-TestAccDatadogDashboardTimeseriesMultiCompute_import-local-1616088799","url":"/dashboard/edu-dm8-kss/tf-testaccdatadogdashboardtimeseriesmulticomputeimport-local-1616088799","created_at":"2021-03-18T17:33:20.584024+00:00","modified_at":"2021-03-18T17:33:20.584024+00:00","author_handle":"frog@datadoghq.com","widgets":[{"definition":{"title_size":"16","yaxis":{"include_zero":true,"min":"0","max":"599999"},"title_align":"left","right_yaxis":{"include_zero":false,"min":"1","max":"599998"},"events":[{"q":"sources:test tags:1","tags_execution":"and"}],"show_legend":true,"markers":[{"display_type":"error dashed","value":"y=500000","label":"y=500000"},{"display_type":"warning dashed","value":"y=400000","label":"y=400000"}],"time":{"live_span":"5m"},"title":"system.cpu.user, env, process.stat.cpu.total_pct, network.bytes_read, @d...","legend_size":"2","type":"timeseries","requests":[{"on_right_yaxis":true,"style":{"line_width":"normal","palette":"cool","line_type":"solid"},"display_type":"line","log_query":{"index":"*","search":{"query":""},"group_by":[{"facet":"service","sort":{"aggregation":"count","order":"desc"},"limit":10}],"multi_compute":[{"aggregation":"count"},{"facet":"env","interval":1000,"aggregation":"cardinality"}]}}]},"id":4662406963868713}],"layout_type":"ordered"}' + body: '{"notify_list":[],"description":"Created using the Datadog provider in Terraform","restricted_roles":["284d8b66-93f9-11eb-9c37-da7ad0900002","043a2842-e140-11e8-bb04-7fd10177666e","657de3a2-29f8-11eb-83b5-6b8ebfb2f184","e82bf27a-986c-11eb-9cba-da7ad0900002","f257ba30-dbb2-11ea-a5ff-5fd1d308318a","6bf314be-5c16-11eb-8e98-2356ea436065","62cbc476-5c16-11eb-8e98-0388ea7a41f8","08604de8-1dca-11eb-800c-9f5f55ff734d","9b3ab170-b768-11eb-a45a-da7ad0900002","7a83f306-96ca-11eb-9c74-da7ad0900002","16169788-28e4-11eb-832c-fb84162ef3eb","4de53192-9946-11eb-9cee-da7ad0900002","1302282c-b93b-11eb-a436-da7ad0900002","17d73994-7531-11eb-94b9-da7ad0900002"],"author_name":"Qin Chen","template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"hpc-ttm-m2b","title":"tf-TestAccDatadogDashboardTimeseriesMultiCompute_import-local-1621914418","url":"/dashboard/hpc-ttm-m2b/tf-testaccdatadogdashboardtimeseriesmulticomputeimport-local-1621914418","created_at":"2021-05-25T03:47:00.394411+00:00","modified_at":"2021-05-25T03:47:00.394411+00:00","author_handle":"qin.chen@datadoghq.com","widgets":[{"definition":{"title_size":"16","yaxis":{"include_zero":true,"min":"0","max":"599999"},"title_align":"left","right_yaxis":{"include_zero":false,"min":"1","max":"599998"},"events":[{"q":"sources:test tags:1","tags_execution":"and"}],"show_legend":true,"markers":[{"display_type":"error dashed","value":"y=500000","label":"y=500000"},{"display_type":"warning dashed","value":"y=400000","label":"y=400000"}],"time":{"live_span":"5m"},"title":"system.cpu.user, env, process.stat.cpu.total_pct, network.bytes_read, @d...","legend_size":"2","type":"timeseries","requests":[{"on_right_yaxis":true,"style":{"line_width":"normal","palette":"cool","line_type":"solid"},"display_type":"line","log_query":{"index":"*","search":{"query":""},"group_by":[{"facet":"service","sort":{"aggregation":"count","order":"desc"},"limit":10}],"multi_compute":[{"aggregation":"count"},{"facet":"env","interval":1000,"aggregation":"cardinality"}]}}]},"id":4427576031201082}],"layout_type":"ordered"}' headers: Cache-Control: - no-cache @@ -70,7 +70,7 @@ interactions: Content-Type: - application/json Date: - - Thu, 18 Mar 2021 17:33:23 GMT + - Tue, 25 May 2021 03:47:00 GMT Pragma: - no-cache Strict-Transport-Security: @@ -80,9 +80,9 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Debug: - - bgHykj7A9bfZx0Y5ZO3swhhp5tGUSNJHqFWR868+qg087CYrDOd5hQslC+noiEtH + - 5gfwVh/5HZ+AnGd/Di93w3NEWC6KMHT9KzmHEiRJmNdOjBtAsbOcgVFyqEChw71h X-Dd-Version: - - "35.4125004" + - "35.4598224" X-Frame-Options: - SAMEORIGIN status: 200 OK @@ -97,11 +97,11 @@ interactions: Dd-Operation-Id: - GetDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.18+dev (go go1.15.7; os darwin; arch amd64) - url: https://api.datadoghq.com/api/v1/dashboard/edu-dm8-kss + - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) + url: https://api.datadoghq.com/api/v1/dashboard/hpc-ttm-m2b 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":"edu-dm8-kss","title":"tf-TestAccDatadogDashboardTimeseriesMultiCompute_import-local-1616088799","url":"/dashboard/edu-dm8-kss/tf-testaccdatadogdashboardtimeseriesmulticomputeimport-local-1616088799","created_at":"2021-03-18T17:33:20.584024+00:00","modified_at":"2021-03-18T17:33:20.584024+00:00","author_handle":"frog@datadoghq.com","widgets":[{"definition":{"title_size":"16","yaxis":{"include_zero":true,"min":"0","max":"599999"},"title_align":"left","right_yaxis":{"include_zero":false,"min":"1","max":"599998"},"events":[{"q":"sources:test tags:1","tags_execution":"and"}],"show_legend":true,"markers":[{"display_type":"error dashed","value":"y=500000","label":"y=500000"},{"display_type":"warning dashed","value":"y=400000","label":"y=400000"}],"time":{"live_span":"5m"},"title":"system.cpu.user, env, process.stat.cpu.total_pct, network.bytes_read, @d...","legend_size":"2","type":"timeseries","requests":[{"on_right_yaxis":true,"style":{"line_width":"normal","palette":"cool","line_type":"solid"},"display_type":"line","log_query":{"index":"*","search":{"query":""},"group_by":[{"facet":"service","sort":{"aggregation":"count","order":"desc"},"limit":10}],"multi_compute":[{"aggregation":"count"},{"facet":"env","interval":1000,"aggregation":"cardinality"}]}}]},"id":4662406963868713}],"layout_type":"ordered"}' + body: '{"notify_list":[],"description":"Created using the Datadog provider in Terraform","restricted_roles":["284d8b66-93f9-11eb-9c37-da7ad0900002","043a2842-e140-11e8-bb04-7fd10177666e","657de3a2-29f8-11eb-83b5-6b8ebfb2f184","e82bf27a-986c-11eb-9cba-da7ad0900002","f257ba30-dbb2-11ea-a5ff-5fd1d308318a","6bf314be-5c16-11eb-8e98-2356ea436065","62cbc476-5c16-11eb-8e98-0388ea7a41f8","08604de8-1dca-11eb-800c-9f5f55ff734d","9b3ab170-b768-11eb-a45a-da7ad0900002","7a83f306-96ca-11eb-9c74-da7ad0900002","16169788-28e4-11eb-832c-fb84162ef3eb","4de53192-9946-11eb-9cee-da7ad0900002","1302282c-b93b-11eb-a436-da7ad0900002","17d73994-7531-11eb-94b9-da7ad0900002"],"author_name":"Qin Chen","template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"hpc-ttm-m2b","title":"tf-TestAccDatadogDashboardTimeseriesMultiCompute_import-local-1621914418","url":"/dashboard/hpc-ttm-m2b/tf-testaccdatadogdashboardtimeseriesmulticomputeimport-local-1621914418","created_at":"2021-05-25T03:47:00.394411+00:00","modified_at":"2021-05-25T03:47:00.394411+00:00","author_handle":"qin.chen@datadoghq.com","widgets":[{"definition":{"title_size":"16","yaxis":{"include_zero":true,"min":"0","max":"599999"},"title_align":"left","right_yaxis":{"include_zero":false,"min":"1","max":"599998"},"events":[{"q":"sources:test tags:1","tags_execution":"and"}],"show_legend":true,"markers":[{"display_type":"error dashed","value":"y=500000","label":"y=500000"},{"display_type":"warning dashed","value":"y=400000","label":"y=400000"}],"time":{"live_span":"5m"},"title":"system.cpu.user, env, process.stat.cpu.total_pct, network.bytes_read, @d...","legend_size":"2","type":"timeseries","requests":[{"on_right_yaxis":true,"style":{"line_width":"normal","palette":"cool","line_type":"solid"},"display_type":"line","log_query":{"index":"*","search":{"query":""},"group_by":[{"facet":"service","sort":{"aggregation":"count","order":"desc"},"limit":10}],"multi_compute":[{"aggregation":"count"},{"facet":"env","interval":1000,"aggregation":"cardinality"}]}}]},"id":4427576031201082}],"layout_type":"ordered"}' headers: Cache-Control: - no-cache @@ -112,7 +112,7 @@ interactions: Content-Type: - application/json Date: - - Thu, 18 Mar 2021 17:33:24 GMT + - Tue, 25 May 2021 03:47:01 GMT Pragma: - no-cache Strict-Transport-Security: @@ -122,9 +122,9 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Debug: - - dCmL/3rURV6BPeaqeP3Rxigq41m5CAb17XjrRE42uZ01zpr07HVhbL5/3TWMkvgu + - tpRCH6w417YjBovRJ8VmtuXmNONVYiRp2c8d2AxjPdGBn8PCtgG4vAztrx3qUZAN X-Dd-Version: - - "35.4125004" + - "35.4598224" X-Frame-Options: - SAMEORIGIN status: 200 OK @@ -139,11 +139,11 @@ interactions: Dd-Operation-Id: - GetDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.18+dev (go go1.15.7; os darwin; arch amd64) - url: https://api.datadoghq.com/api/v1/dashboard/edu-dm8-kss + - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) + url: https://api.datadoghq.com/api/v1/dashboard/hpc-ttm-m2b 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":"edu-dm8-kss","title":"tf-TestAccDatadogDashboardTimeseriesMultiCompute_import-local-1616088799","url":"/dashboard/edu-dm8-kss/tf-testaccdatadogdashboardtimeseriesmulticomputeimport-local-1616088799","created_at":"2021-03-18T17:33:20.584024+00:00","modified_at":"2021-03-18T17:33:20.584024+00:00","author_handle":"frog@datadoghq.com","widgets":[{"definition":{"title_size":"16","yaxis":{"include_zero":true,"min":"0","max":"599999"},"title_align":"left","right_yaxis":{"include_zero":false,"min":"1","max":"599998"},"events":[{"q":"sources:test tags:1","tags_execution":"and"}],"show_legend":true,"markers":[{"display_type":"error dashed","value":"y=500000","label":"y=500000"},{"display_type":"warning dashed","value":"y=400000","label":"y=400000"}],"time":{"live_span":"5m"},"title":"system.cpu.user, env, process.stat.cpu.total_pct, network.bytes_read, @d...","legend_size":"2","type":"timeseries","requests":[{"on_right_yaxis":true,"style":{"line_width":"normal","palette":"cool","line_type":"solid"},"display_type":"line","log_query":{"index":"*","search":{"query":""},"group_by":[{"facet":"service","sort":{"aggregation":"count","order":"desc"},"limit":10}],"multi_compute":[{"aggregation":"count"},{"facet":"env","interval":1000,"aggregation":"cardinality"}]}}]},"id":4662406963868713}],"layout_type":"ordered"}' + body: '{"notify_list":[],"description":"Created using the Datadog provider in Terraform","restricted_roles":["284d8b66-93f9-11eb-9c37-da7ad0900002","043a2842-e140-11e8-bb04-7fd10177666e","657de3a2-29f8-11eb-83b5-6b8ebfb2f184","e82bf27a-986c-11eb-9cba-da7ad0900002","f257ba30-dbb2-11ea-a5ff-5fd1d308318a","6bf314be-5c16-11eb-8e98-2356ea436065","62cbc476-5c16-11eb-8e98-0388ea7a41f8","08604de8-1dca-11eb-800c-9f5f55ff734d","9b3ab170-b768-11eb-a45a-da7ad0900002","7a83f306-96ca-11eb-9c74-da7ad0900002","16169788-28e4-11eb-832c-fb84162ef3eb","4de53192-9946-11eb-9cee-da7ad0900002","1302282c-b93b-11eb-a436-da7ad0900002","17d73994-7531-11eb-94b9-da7ad0900002"],"author_name":"Qin Chen","template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"hpc-ttm-m2b","title":"tf-TestAccDatadogDashboardTimeseriesMultiCompute_import-local-1621914418","url":"/dashboard/hpc-ttm-m2b/tf-testaccdatadogdashboardtimeseriesmulticomputeimport-local-1621914418","created_at":"2021-05-25T03:47:00.394411+00:00","modified_at":"2021-05-25T03:47:00.394411+00:00","author_handle":"qin.chen@datadoghq.com","widgets":[{"definition":{"title_size":"16","yaxis":{"include_zero":true,"min":"0","max":"599999"},"title_align":"left","right_yaxis":{"include_zero":false,"min":"1","max":"599998"},"events":[{"q":"sources:test tags:1","tags_execution":"and"}],"show_legend":true,"markers":[{"display_type":"error dashed","value":"y=500000","label":"y=500000"},{"display_type":"warning dashed","value":"y=400000","label":"y=400000"}],"time":{"live_span":"5m"},"title":"system.cpu.user, env, process.stat.cpu.total_pct, network.bytes_read, @d...","legend_size":"2","type":"timeseries","requests":[{"on_right_yaxis":true,"style":{"line_width":"normal","palette":"cool","line_type":"solid"},"display_type":"line","log_query":{"index":"*","search":{"query":""},"group_by":[{"facet":"service","sort":{"aggregation":"count","order":"desc"},"limit":10}],"multi_compute":[{"aggregation":"count"},{"facet":"env","interval":1000,"aggregation":"cardinality"}]}}]},"id":4427576031201082}],"layout_type":"ordered"}' headers: Cache-Control: - no-cache @@ -154,7 +154,7 @@ interactions: Content-Type: - application/json Date: - - Thu, 18 Mar 2021 17:33:24 GMT + - Tue, 25 May 2021 03:47:01 GMT Pragma: - no-cache Strict-Transport-Security: @@ -164,9 +164,9 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Debug: - - l8RQo2maZqJf6GFThBbKNE6dvthz6njusVtau3dPXJWL2RLFoN81H+BLPB/1xgs1 + - PhosSd3Ch1B6B0DXI71steKUi7XhPDttnPiIP1NdXTw0VJNWpoUnYyBmODS5ne3q X-Dd-Version: - - "35.4125004" + - "35.4598224" X-Frame-Options: - SAMEORIGIN status: 200 OK @@ -181,11 +181,11 @@ interactions: Dd-Operation-Id: - GetDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.18+dev (go go1.15.7; os darwin; arch amd64) - url: https://api.datadoghq.com/api/v1/dashboard/edu-dm8-kss + - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) + url: https://api.datadoghq.com/api/v1/dashboard/hpc-ttm-m2b 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":"edu-dm8-kss","title":"tf-TestAccDatadogDashboardTimeseriesMultiCompute_import-local-1616088799","url":"/dashboard/edu-dm8-kss/tf-testaccdatadogdashboardtimeseriesmulticomputeimport-local-1616088799","created_at":"2021-03-18T17:33:20.584024+00:00","modified_at":"2021-03-18T17:33:20.584024+00:00","author_handle":"frog@datadoghq.com","widgets":[{"definition":{"title_size":"16","yaxis":{"include_zero":true,"min":"0","max":"599999"},"title_align":"left","right_yaxis":{"include_zero":false,"min":"1","max":"599998"},"events":[{"q":"sources:test tags:1","tags_execution":"and"}],"show_legend":true,"markers":[{"display_type":"error dashed","value":"y=500000","label":"y=500000"},{"display_type":"warning dashed","value":"y=400000","label":"y=400000"}],"time":{"live_span":"5m"},"title":"system.cpu.user, env, process.stat.cpu.total_pct, network.bytes_read, @d...","legend_size":"2","type":"timeseries","requests":[{"on_right_yaxis":true,"style":{"line_width":"normal","palette":"cool","line_type":"solid"},"display_type":"line","log_query":{"index":"*","search":{"query":""},"group_by":[{"facet":"service","sort":{"aggregation":"count","order":"desc"},"limit":10}],"multi_compute":[{"aggregation":"count"},{"facet":"env","interval":1000,"aggregation":"cardinality"}]}}]},"id":4662406963868713}],"layout_type":"ordered"}' + body: '{"notify_list":[],"description":"Created using the Datadog provider in Terraform","restricted_roles":["284d8b66-93f9-11eb-9c37-da7ad0900002","043a2842-e140-11e8-bb04-7fd10177666e","657de3a2-29f8-11eb-83b5-6b8ebfb2f184","e82bf27a-986c-11eb-9cba-da7ad0900002","f257ba30-dbb2-11ea-a5ff-5fd1d308318a","6bf314be-5c16-11eb-8e98-2356ea436065","62cbc476-5c16-11eb-8e98-0388ea7a41f8","08604de8-1dca-11eb-800c-9f5f55ff734d","9b3ab170-b768-11eb-a45a-da7ad0900002","7a83f306-96ca-11eb-9c74-da7ad0900002","16169788-28e4-11eb-832c-fb84162ef3eb","4de53192-9946-11eb-9cee-da7ad0900002","1302282c-b93b-11eb-a436-da7ad0900002","17d73994-7531-11eb-94b9-da7ad0900002"],"author_name":"Qin Chen","template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"hpc-ttm-m2b","title":"tf-TestAccDatadogDashboardTimeseriesMultiCompute_import-local-1621914418","url":"/dashboard/hpc-ttm-m2b/tf-testaccdatadogdashboardtimeseriesmulticomputeimport-local-1621914418","created_at":"2021-05-25T03:47:00.394411+00:00","modified_at":"2021-05-25T03:47:00.394411+00:00","author_handle":"qin.chen@datadoghq.com","widgets":[{"definition":{"title_size":"16","yaxis":{"include_zero":true,"min":"0","max":"599999"},"title_align":"left","right_yaxis":{"include_zero":false,"min":"1","max":"599998"},"events":[{"q":"sources:test tags:1","tags_execution":"and"}],"show_legend":true,"markers":[{"display_type":"error dashed","value":"y=500000","label":"y=500000"},{"display_type":"warning dashed","value":"y=400000","label":"y=400000"}],"time":{"live_span":"5m"},"title":"system.cpu.user, env, process.stat.cpu.total_pct, network.bytes_read, @d...","legend_size":"2","type":"timeseries","requests":[{"on_right_yaxis":true,"style":{"line_width":"normal","palette":"cool","line_type":"solid"},"display_type":"line","log_query":{"index":"*","search":{"query":""},"group_by":[{"facet":"service","sort":{"aggregation":"count","order":"desc"},"limit":10}],"multi_compute":[{"aggregation":"count"},{"facet":"env","interval":1000,"aggregation":"cardinality"}]}}]},"id":4427576031201082}],"layout_type":"ordered"}' headers: Cache-Control: - no-cache @@ -196,7 +196,7 @@ interactions: Content-Type: - application/json Date: - - Thu, 18 Mar 2021 17:33:24 GMT + - Tue, 25 May 2021 03:47:02 GMT Pragma: - no-cache Strict-Transport-Security: @@ -206,9 +206,9 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Debug: - - bgHykj7A9bfZx0Y5ZO3swhhp5tGUSNJHqFWR868+qg087CYrDOd5hQslC+noiEtH + - LcgNasIYBRkNppmD6mCKE9J6iv0eEjosuuHR5V5zw2fWbR54i39C8dhdK8zDq/40 X-Dd-Version: - - "35.4125004" + - "35.4598224" X-Frame-Options: - SAMEORIGIN status: 200 OK @@ -223,11 +223,11 @@ interactions: Dd-Operation-Id: - GetDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.18+dev (go go1.15.7; os darwin; arch amd64) - url: https://api.datadoghq.com/api/v1/dashboard/edu-dm8-kss + - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) + url: https://api.datadoghq.com/api/v1/dashboard/hpc-ttm-m2b 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":"edu-dm8-kss","title":"tf-TestAccDatadogDashboardTimeseriesMultiCompute_import-local-1616088799","url":"/dashboard/edu-dm8-kss/tf-testaccdatadogdashboardtimeseriesmulticomputeimport-local-1616088799","created_at":"2021-03-18T17:33:20.584024+00:00","modified_at":"2021-03-18T17:33:20.584024+00:00","author_handle":"frog@datadoghq.com","widgets":[{"definition":{"title_size":"16","yaxis":{"include_zero":true,"min":"0","max":"599999"},"title_align":"left","right_yaxis":{"include_zero":false,"min":"1","max":"599998"},"events":[{"q":"sources:test tags:1","tags_execution":"and"}],"show_legend":true,"markers":[{"display_type":"error dashed","value":"y=500000","label":"y=500000"},{"display_type":"warning dashed","value":"y=400000","label":"y=400000"}],"time":{"live_span":"5m"},"title":"system.cpu.user, env, process.stat.cpu.total_pct, network.bytes_read, @d...","legend_size":"2","type":"timeseries","requests":[{"on_right_yaxis":true,"style":{"line_width":"normal","palette":"cool","line_type":"solid"},"display_type":"line","log_query":{"index":"*","search":{"query":""},"group_by":[{"facet":"service","sort":{"aggregation":"count","order":"desc"},"limit":10}],"multi_compute":[{"aggregation":"count"},{"facet":"env","interval":1000,"aggregation":"cardinality"}]}}]},"id":4662406963868713}],"layout_type":"ordered"}' + body: '{"notify_list":[],"description":"Created using the Datadog provider in Terraform","restricted_roles":["284d8b66-93f9-11eb-9c37-da7ad0900002","043a2842-e140-11e8-bb04-7fd10177666e","657de3a2-29f8-11eb-83b5-6b8ebfb2f184","e82bf27a-986c-11eb-9cba-da7ad0900002","f257ba30-dbb2-11ea-a5ff-5fd1d308318a","6bf314be-5c16-11eb-8e98-2356ea436065","62cbc476-5c16-11eb-8e98-0388ea7a41f8","08604de8-1dca-11eb-800c-9f5f55ff734d","9b3ab170-b768-11eb-a45a-da7ad0900002","7a83f306-96ca-11eb-9c74-da7ad0900002","16169788-28e4-11eb-832c-fb84162ef3eb","4de53192-9946-11eb-9cee-da7ad0900002","1302282c-b93b-11eb-a436-da7ad0900002","17d73994-7531-11eb-94b9-da7ad0900002"],"author_name":"Qin Chen","template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"hpc-ttm-m2b","title":"tf-TestAccDatadogDashboardTimeseriesMultiCompute_import-local-1621914418","url":"/dashboard/hpc-ttm-m2b/tf-testaccdatadogdashboardtimeseriesmulticomputeimport-local-1621914418","created_at":"2021-05-25T03:47:00.394411+00:00","modified_at":"2021-05-25T03:47:00.394411+00:00","author_handle":"qin.chen@datadoghq.com","widgets":[{"definition":{"title_size":"16","yaxis":{"include_zero":true,"min":"0","max":"599999"},"title_align":"left","right_yaxis":{"include_zero":false,"min":"1","max":"599998"},"events":[{"q":"sources:test tags:1","tags_execution":"and"}],"show_legend":true,"markers":[{"display_type":"error dashed","value":"y=500000","label":"y=500000"},{"display_type":"warning dashed","value":"y=400000","label":"y=400000"}],"time":{"live_span":"5m"},"title":"system.cpu.user, env, process.stat.cpu.total_pct, network.bytes_read, @d...","legend_size":"2","type":"timeseries","requests":[{"on_right_yaxis":true,"style":{"line_width":"normal","palette":"cool","line_type":"solid"},"display_type":"line","log_query":{"index":"*","search":{"query":""},"group_by":[{"facet":"service","sort":{"aggregation":"count","order":"desc"},"limit":10}],"multi_compute":[{"aggregation":"count"},{"facet":"env","interval":1000,"aggregation":"cardinality"}]}}]},"id":4427576031201082}],"layout_type":"ordered"}' headers: Cache-Control: - no-cache @@ -238,7 +238,7 @@ interactions: Content-Type: - application/json Date: - - Thu, 18 Mar 2021 17:33:25 GMT + - Tue, 25 May 2021 03:47:02 GMT Pragma: - no-cache Strict-Transport-Security: @@ -248,9 +248,9 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Debug: - - B1nwy/pPNqX+q4pQT22cdp1QCexE35IF8qwSHy0Nf7IW0Y881qtn4tXN1lpmzaKc + - twvpGlmuom5y6A0pjGtXzTf554cmwJgTcCZ71fK4H/RDi+v5ehBK0zQiRcTJQG5C X-Dd-Version: - - "35.4125004" + - "35.4598224" X-Frame-Options: - SAMEORIGIN status: 200 OK @@ -265,11 +265,11 @@ interactions: Dd-Operation-Id: - DeleteDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.18+dev (go go1.15.7; os darwin; arch amd64) - url: https://api.datadoghq.com/api/v1/dashboard/edu-dm8-kss + - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) + url: https://api.datadoghq.com/api/v1/dashboard/hpc-ttm-m2b method: DELETE response: - body: '{"deleted_dashboard_id":"edu-dm8-kss"}' + body: '{"deleted_dashboard_id":"hpc-ttm-m2b"}' headers: Cache-Control: - no-cache @@ -280,7 +280,7 @@ interactions: Content-Type: - application/json Date: - - Thu, 18 Mar 2021 17:33:25 GMT + - Tue, 25 May 2021 03:47:03 GMT Pragma: - no-cache Strict-Transport-Security: @@ -290,9 +290,9 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Debug: - - SY1h8ScsWq+kYmtbh63ltMLFAZsQjqfrgvdfAoRX+9TzT1sgMBRYaFRwfWWRRe9a + - gYZcaADwbKcv7Hm19HJx6WsLoKuOijDWAt2viPeCfWqUgyKY+9e1xZdmMJeXV3YV X-Dd-Version: - - "35.4125004" + - "35.4598224" X-Frame-Options: - SAMEORIGIN status: 200 OK @@ -307,11 +307,11 @@ interactions: Dd-Operation-Id: - GetDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.18+dev (go go1.15.7; os darwin; arch amd64) - url: https://api.datadoghq.com/api/v1/dashboard/edu-dm8-kss + - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) + url: https://api.datadoghq.com/api/v1/dashboard/hpc-ttm-m2b method: GET response: - body: '{"errors": ["Dashboard with ID edu-dm8-kss not found"]}' + body: '{"errors": ["Dashboard with ID hpc-ttm-m2b not found"]}' headers: Cache-Control: - no-cache @@ -322,7 +322,7 @@ interactions: Content-Type: - application/json Date: - - Thu, 18 Mar 2021 17:33:25 GMT + - Tue, 25 May 2021 03:47:03 GMT Pragma: - no-cache Strict-Transport-Security: @@ -332,7 +332,7 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Version: - - "35.4125004" + - "35.4598224" X-Frame-Options: - SAMEORIGIN status: 404 Not Found diff --git a/datadog/tests/cassettes/TestAccDatadogDashboardTimeseries_import.freeze b/datadog/tests/cassettes/TestAccDatadogDashboardTimeseries_import.freeze index da4a3bf91..5279239c0 100644 --- a/datadog/tests/cassettes/TestAccDatadogDashboardTimeseries_import.freeze +++ b/datadog/tests/cassettes/TestAccDatadogDashboardTimeseries_import.freeze @@ -1 +1 @@ -2021-03-18T18:33:19.520881+01:00 \ No newline at end of file +2021-05-24T23:46:58.435492-04:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogDashboardTimeseries_import.yaml b/datadog/tests/cassettes/TestAccDatadogDashboardTimeseries_import.yaml index bbee32b90..237db3feb 100644 --- a/datadog/tests/cassettes/TestAccDatadogDashboardTimeseries_import.yaml +++ b/datadog/tests/cassettes/TestAccDatadogDashboardTimeseries_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-TestAccDatadogDashboardTimeseries_import-local-1616088799","widgets":[{"definition":{"custom_links":[{"label":"Test Custom Link label","link":"https://app.datadoghq.com/dashboard/lists"}],"events":[{"q":"sources:test tags:1","tags_execution":"and"}],"legend_columns":["value","min","max"],"legend_layout":"horizontal","legend_size":"2","markers":[{"display_type":"error dashed","label":"y=500000","value":"y=500000"},{"display_type":"warning dashed","label":"y=400000","value":"y=400000"}],"requests":[{"display_type":"line","metadata":[{"expression":""}],"on_right_yaxis":true,"q":"avg:system.cpu.user{env:prod} by {app}","style":{"line_type":"solid","line_width":"thin","palette":"dog_classic"}},{"display_type":"line","log_query":{"compute":{"aggregation":"count"},"group_by":[{"facet":"service","limit":10,"sort":{"aggregation":"count","order":"desc"}}],"index":"*","search":{"query":""}},"on_right_yaxis":false,"style":{"line_type":"solid","line_width":"normal","palette":"cool"}},{"apm_query":{"compute":{"aggregation":"cardinality","facet":"env","interval":1000},"group_by":[{"facet":"status","limit":10,"sort":{"aggregation":"cardinality","facet":"env","order":"desc"}}],"index":"trace-search","search":{"query":""}},"display_type":"line","on_right_yaxis":true,"style":{"line_type":"dashed","line_width":"thick","palette":"warm"}},{"display_type":"line","on_right_yaxis":true,"process_query":{"filter_by":["account:prod"],"limit":10,"metric":"process.stat.cpu.total_pct"},"style":{"line_type":"solid","line_width":"normal","palette":"purple"}},{"display_type":"area","network_query":{"compute":{"aggregation":"sum","facet":"network.bytes_read"},"group_by":[{"facet":"source_region"},{"facet":"dest_environment"}],"index":"netflow-search","search":{"query":"network.transport:udp network.destination.ip:\"*\""}},"on_right_yaxis":true,"style":{"line_type":"solid","line_width":"normal","palette":"orange"}},{"display_type":"area","on_right_yaxis":true,"rum_query":{"compute":{"aggregation":"avg","facet":"@duration","interval":10},"group_by":[{"facet":"service","limit":10,"sort":{"aggregation":"avg","facet":"@duration","order":"desc"}}],"index":"*","search":{"query":""}},"style":{"line_type":"solid","line_width":"normal","palette":"grey"}}],"right_yaxis":{"include_zero":false,"max":"599998","min":"1"},"show_legend":true,"time":{"live_span":"5m"},"title":"system.cpu.user, env, process.stat.cpu.total_pct, network.bytes_read, @d...","title_align":"left","title_size":"16","type":"timeseries","yaxis":{"include_zero":true,"max":"599999","min":"0"}}}]} + {"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-TestAccDatadogDashboardTimeseries_import-local-1621914418","widgets":[{"definition":{"custom_links":[{"label":"Test Custom Link label","link":"https://app.datadoghq.com/dashboard/lists"}],"events":[{"q":"sources:test tags:1","tags_execution":"and"}],"legend_columns":["value","min","max"],"legend_layout":"horizontal","legend_size":"2","markers":[{"display_type":"error dashed","label":"y=500000","value":"y=500000"},{"display_type":"warning dashed","label":"y=400000","value":"y=400000"}],"requests":[{"display_type":"line","metadata":[{"expression":""}],"on_right_yaxis":true,"q":"avg:system.cpu.user{env:prod} by {app}","style":{"line_type":"solid","line_width":"thin","palette":"dog_classic"}},{"display_type":"line","log_query":{"compute":{"aggregation":"count"},"group_by":[{"facet":"service","limit":10,"sort":{"aggregation":"count","order":"desc"}}],"index":"*","search":{"query":""}},"on_right_yaxis":false,"style":{"line_type":"solid","line_width":"normal","palette":"cool"}},{"apm_query":{"compute":{"aggregation":"cardinality","facet":"env","interval":1000},"group_by":[{"facet":"status","limit":10,"sort":{"aggregation":"cardinality","facet":"env","order":"desc"}}],"index":"trace-search","search":{"query":""}},"display_type":"line","on_right_yaxis":true,"style":{"line_type":"dashed","line_width":"thick","palette":"warm"}},{"display_type":"line","on_right_yaxis":true,"process_query":{"filter_by":["account:prod"],"limit":10,"metric":"process.stat.cpu.total_pct"},"style":{"line_type":"solid","line_width":"normal","palette":"purple"}},{"display_type":"area","network_query":{"compute":{"aggregation":"sum","facet":"network.bytes_read"},"group_by":[{"facet":"source_region"},{"facet":"dest_environment"}],"index":"netflow-search","search":{"query":"network.transport:udp network.destination.ip:\"*\""}},"on_right_yaxis":true,"style":{"line_type":"solid","line_width":"normal","palette":"orange"}},{"display_type":"area","on_right_yaxis":true,"rum_query":{"compute":{"aggregation":"avg","facet":"@duration","interval":10},"group_by":[{"facet":"service","limit":10,"sort":{"aggregation":"avg","facet":"@duration","order":"desc"}}],"index":"*","search":{"query":""}},"style":{"line_type":"solid","line_width":"normal","palette":"grey"}}],"right_yaxis":{"include_zero":false,"max":"599998","min":"1"},"show_legend":true,"time":{"live_span":"5m"},"title":"system.cpu.user, env, process.stat.cpu.total_pct, network.bytes_read, @d...","title_align":"left","title_size":"16","type":"timeseries","yaxis":{"include_zero":true,"max":"599999","min":"0"}}}]} form: {} headers: Accept: @@ -13,11 +13,11 @@ interactions: Dd-Operation-Id: - CreateDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.18+dev (go go1.15.7; os darwin; arch amd64) + - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) 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":"yyn-cne-g77","title":"tf-TestAccDatadogDashboardTimeseries_import-local-1616088799","url":"/dashboard/yyn-cne-g77/tf-testaccdatadogdashboardtimeseriesimport-local-1616088799","created_at":"2021-03-18T17:33:20.598906+00:00","modified_at":"2021-03-18T17:33:20.598906+00:00","author_handle":"frog@datadoghq.com","widgets":[{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test Custom Link label"}],"title_size":"16","legend_columns":["value","min","max"],"title":"system.cpu.user, env, process.stat.cpu.total_pct, network.bytes_read, @d...","title_align":"left","markers":[{"display_type":"error dashed","value":"y=500000","label":"y=500000"},{"display_type":"warning dashed","value":"y=400000","label":"y=400000"}],"yaxis":{"include_zero":true,"min":"0","max":"599999"},"legend_layout":"horizontal","show_legend":true,"right_yaxis":{"include_zero":false,"min":"1","max":"599998"},"time":{"live_span":"5m"},"legend_size":"2","requests":[{"q":"avg:system.cpu.user{env:prod} by {app}","on_right_yaxis":true,"style":{"line_width":"thin","palette":"dog_classic","line_type":"solid"},"display_type":"line","metadata":[{"expression":""}]},{"on_right_yaxis":false,"style":{"line_width":"normal","palette":"cool","line_type":"solid"},"display_type":"line","log_query":{"index":"*","search":{"query":""},"group_by":[{"facet":"service","sort":{"aggregation":"count","order":"desc"},"limit":10}],"compute":{"aggregation":"count"}}},{"on_right_yaxis":true,"style":{"line_width":"thick","palette":"warm","line_type":"dashed"},"apm_query":{"index":"trace-search","search":{"query":""},"group_by":[{"facet":"status","sort":{"facet":"env","aggregation":"cardinality","order":"desc"},"limit":10}],"compute":{"facet":"env","interval":1000,"aggregation":"cardinality"}},"display_type":"line"},{"on_right_yaxis":true,"style":{"line_width":"normal","palette":"purple","line_type":"solid"},"process_query":{"metric":"process.stat.cpu.total_pct","limit":10,"filter_by":["account:prod"]},"display_type":"line"},{"on_right_yaxis":true,"style":{"line_width":"normal","palette":"orange","line_type":"solid"},"display_type":"area","network_query":{"index":"netflow-search","search":{"query":"network.transport:udp network.destination.ip:\"*\""},"group_by":[{"facet":"source_region"},{"facet":"dest_environment"}],"compute":{"facet":"network.bytes_read","aggregation":"sum"}}},{"on_right_yaxis":true,"style":{"line_width":"normal","palette":"grey","line_type":"solid"},"rum_query":{"index":"*","search":{"query":""},"group_by":[{"facet":"service","sort":{"facet":"@duration","aggregation":"avg","order":"desc"},"limit":10}],"compute":{"facet":"@duration","interval":10,"aggregation":"avg"}},"display_type":"area"}],"type":"timeseries","events":[{"q":"sources:test tags:1","tags_execution":"and"}]},"id":7367469826264431}],"layout_type":"ordered"}' + body: '{"notify_list":[],"description":"Created using the Datadog provider in Terraform","restricted_roles":["043a2842-e140-11e8-bb04-7fd10177666e","08604de8-1dca-11eb-800c-9f5f55ff734d","1302282c-b93b-11eb-a436-da7ad0900002","16169788-28e4-11eb-832c-fb84162ef3eb","17d73994-7531-11eb-94b9-da7ad0900002","284d8b66-93f9-11eb-9c37-da7ad0900002","4de53192-9946-11eb-9cee-da7ad0900002","62cbc476-5c16-11eb-8e98-0388ea7a41f8","657de3a2-29f8-11eb-83b5-6b8ebfb2f184","6bf314be-5c16-11eb-8e98-2356ea436065","7a83f306-96ca-11eb-9c74-da7ad0900002","9b3ab170-b768-11eb-a45a-da7ad0900002","e82bf27a-986c-11eb-9cba-da7ad0900002","f257ba30-dbb2-11ea-a5ff-5fd1d308318a"],"author_name":"Qin Chen","template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"dw7-8y6-prb","title":"tf-TestAccDatadogDashboardTimeseries_import-local-1621914418","url":"/dashboard/dw7-8y6-prb/tf-testaccdatadogdashboardtimeseriesimport-local-1621914418","created_at":"2021-05-25T03:47:00.400219+00:00","modified_at":"2021-05-25T03:47:00.400219+00:00","author_handle":"qin.chen@datadoghq.com","widgets":[{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test Custom Link label"}],"title_size":"16","legend_columns":["value","min","max"],"title":"system.cpu.user, env, process.stat.cpu.total_pct, network.bytes_read, @d...","title_align":"left","markers":[{"display_type":"error dashed","value":"y=500000","label":"y=500000"},{"display_type":"warning dashed","value":"y=400000","label":"y=400000"}],"yaxis":{"include_zero":true,"min":"0","max":"599999"},"legend_layout":"horizontal","show_legend":true,"right_yaxis":{"include_zero":false,"min":"1","max":"599998"},"time":{"live_span":"5m"},"legend_size":"2","requests":[{"q":"avg:system.cpu.user{env:prod} by {app}","on_right_yaxis":true,"style":{"line_width":"thin","palette":"dog_classic","line_type":"solid"},"display_type":"line","metadata":[{"expression":""}]},{"on_right_yaxis":false,"style":{"line_width":"normal","palette":"cool","line_type":"solid"},"display_type":"line","log_query":{"index":"*","search":{"query":""},"group_by":[{"facet":"service","sort":{"aggregation":"count","order":"desc"},"limit":10}],"compute":{"aggregation":"count"}}},{"on_right_yaxis":true,"style":{"line_width":"thick","palette":"warm","line_type":"dashed"},"apm_query":{"index":"trace-search","search":{"query":""},"group_by":[{"facet":"status","sort":{"facet":"env","aggregation":"cardinality","order":"desc"},"limit":10}],"compute":{"facet":"env","interval":1000,"aggregation":"cardinality"}},"display_type":"line"},{"on_right_yaxis":true,"style":{"line_width":"normal","palette":"purple","line_type":"solid"},"process_query":{"metric":"process.stat.cpu.total_pct","limit":10,"filter_by":["account:prod"]},"display_type":"line"},{"on_right_yaxis":true,"style":{"line_width":"normal","palette":"orange","line_type":"solid"},"display_type":"area","network_query":{"index":"netflow-search","search":{"query":"network.transport:udp network.destination.ip:\"*\""},"group_by":[{"facet":"source_region"},{"facet":"dest_environment"}],"compute":{"facet":"network.bytes_read","aggregation":"sum"}}},{"on_right_yaxis":true,"style":{"line_width":"normal","palette":"grey","line_type":"solid"},"rum_query":{"index":"*","search":{"query":""},"group_by":[{"facet":"service","sort":{"facet":"@duration","aggregation":"avg","order":"desc"},"limit":10}],"compute":{"facet":"@duration","interval":10,"aggregation":"avg"}},"display_type":"area"}],"type":"timeseries","events":[{"q":"sources:test tags:1","tags_execution":"and"}]},"id":4490749280810199}],"layout_type":"ordered"}' headers: Cache-Control: - no-cache @@ -28,7 +28,7 @@ interactions: Content-Type: - application/json Date: - - Thu, 18 Mar 2021 17:33:24 GMT + - Tue, 25 May 2021 03:47:00 GMT Pragma: - no-cache Strict-Transport-Security: @@ -38,9 +38,9 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Debug: - - Wjq53IVIwnB4SiR238oOYgHFMq/ZYP0LQ/Dv8C2fFLBwTje/dWJHu6pI6vIOK1zG + - B1nwy/pPNqX+q4pQT22cdp1QCexE35IF8qwSHy0Nf7IW0Y881qtn4tXN1lpmzaKc X-Dd-Version: - - "35.4125004" + - "35.4598224" X-Frame-Options: - SAMEORIGIN status: 200 OK @@ -55,11 +55,11 @@ interactions: Dd-Operation-Id: - GetDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.18+dev (go go1.15.7; os darwin; arch amd64) - url: https://api.datadoghq.com/api/v1/dashboard/yyn-cne-g77 + - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) + url: https://api.datadoghq.com/api/v1/dashboard/dw7-8y6-prb 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":"yyn-cne-g77","title":"tf-TestAccDatadogDashboardTimeseries_import-local-1616088799","url":"/dashboard/yyn-cne-g77/tf-testaccdatadogdashboardtimeseriesimport-local-1616088799","created_at":"2021-03-18T17:33:20.598906+00:00","modified_at":"2021-03-18T17:33:20.598906+00:00","author_handle":"frog@datadoghq.com","widgets":[{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test Custom Link label"}],"title_size":"16","legend_columns":["value","min","max"],"title":"system.cpu.user, env, process.stat.cpu.total_pct, network.bytes_read, @d...","title_align":"left","markers":[{"display_type":"error dashed","value":"y=500000","label":"y=500000"},{"display_type":"warning dashed","value":"y=400000","label":"y=400000"}],"yaxis":{"include_zero":true,"min":"0","max":"599999"},"legend_layout":"horizontal","show_legend":true,"right_yaxis":{"include_zero":false,"min":"1","max":"599998"},"time":{"live_span":"5m"},"legend_size":"2","requests":[{"q":"avg:system.cpu.user{env:prod} by {app}","on_right_yaxis":true,"style":{"line_width":"thin","palette":"dog_classic","line_type":"solid"},"display_type":"line","metadata":[{"expression":""}]},{"on_right_yaxis":false,"style":{"line_width":"normal","palette":"cool","line_type":"solid"},"display_type":"line","log_query":{"index":"*","search":{"query":""},"group_by":[{"facet":"service","sort":{"aggregation":"count","order":"desc"},"limit":10}],"compute":{"aggregation":"count"}}},{"on_right_yaxis":true,"style":{"line_width":"thick","palette":"warm","line_type":"dashed"},"apm_query":{"index":"trace-search","search":{"query":""},"group_by":[{"facet":"status","sort":{"facet":"env","aggregation":"cardinality","order":"desc"},"limit":10}],"compute":{"facet":"env","interval":1000,"aggregation":"cardinality"}},"display_type":"line"},{"on_right_yaxis":true,"style":{"line_width":"normal","palette":"purple","line_type":"solid"},"process_query":{"metric":"process.stat.cpu.total_pct","limit":10,"filter_by":["account:prod"]},"display_type":"line"},{"on_right_yaxis":true,"style":{"line_width":"normal","palette":"orange","line_type":"solid"},"display_type":"area","network_query":{"index":"netflow-search","search":{"query":"network.transport:udp network.destination.ip:\"*\""},"group_by":[{"facet":"source_region"},{"facet":"dest_environment"}],"compute":{"facet":"network.bytes_read","aggregation":"sum"}}},{"on_right_yaxis":true,"style":{"line_width":"normal","palette":"grey","line_type":"solid"},"rum_query":{"index":"*","search":{"query":""},"group_by":[{"facet":"service","sort":{"facet":"@duration","aggregation":"avg","order":"desc"},"limit":10}],"compute":{"facet":"@duration","interval":10,"aggregation":"avg"}},"display_type":"area"}],"type":"timeseries","events":[{"q":"sources:test tags:1","tags_execution":"and"}]},"id":7367469826264431}],"layout_type":"ordered"}' + body: '{"notify_list":[],"description":"Created using the Datadog provider in Terraform","restricted_roles":["284d8b66-93f9-11eb-9c37-da7ad0900002","043a2842-e140-11e8-bb04-7fd10177666e","657de3a2-29f8-11eb-83b5-6b8ebfb2f184","e82bf27a-986c-11eb-9cba-da7ad0900002","f257ba30-dbb2-11ea-a5ff-5fd1d308318a","6bf314be-5c16-11eb-8e98-2356ea436065","62cbc476-5c16-11eb-8e98-0388ea7a41f8","08604de8-1dca-11eb-800c-9f5f55ff734d","9b3ab170-b768-11eb-a45a-da7ad0900002","7a83f306-96ca-11eb-9c74-da7ad0900002","16169788-28e4-11eb-832c-fb84162ef3eb","4de53192-9946-11eb-9cee-da7ad0900002","1302282c-b93b-11eb-a436-da7ad0900002","17d73994-7531-11eb-94b9-da7ad0900002"],"author_name":"Qin Chen","template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"dw7-8y6-prb","title":"tf-TestAccDatadogDashboardTimeseries_import-local-1621914418","url":"/dashboard/dw7-8y6-prb/tf-testaccdatadogdashboardtimeseriesimport-local-1621914418","created_at":"2021-05-25T03:47:00.400219+00:00","modified_at":"2021-05-25T03:47:00.400219+00:00","author_handle":"qin.chen@datadoghq.com","widgets":[{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test Custom Link label"}],"title_size":"16","legend_columns":["value","min","max"],"title":"system.cpu.user, env, process.stat.cpu.total_pct, network.bytes_read, @d...","title_align":"left","markers":[{"display_type":"error dashed","value":"y=500000","label":"y=500000"},{"display_type":"warning dashed","value":"y=400000","label":"y=400000"}],"yaxis":{"include_zero":true,"min":"0","max":"599999"},"legend_layout":"horizontal","show_legend":true,"right_yaxis":{"include_zero":false,"min":"1","max":"599998"},"time":{"live_span":"5m"},"legend_size":"2","requests":[{"q":"avg:system.cpu.user{env:prod} by {app}","on_right_yaxis":true,"style":{"line_width":"thin","palette":"dog_classic","line_type":"solid"},"display_type":"line","metadata":[{"expression":""}]},{"on_right_yaxis":false,"style":{"line_width":"normal","palette":"cool","line_type":"solid"},"display_type":"line","log_query":{"index":"*","search":{"query":""},"group_by":[{"facet":"service","sort":{"aggregation":"count","order":"desc"},"limit":10}],"compute":{"aggregation":"count"}}},{"on_right_yaxis":true,"style":{"line_width":"thick","palette":"warm","line_type":"dashed"},"apm_query":{"index":"trace-search","search":{"query":""},"group_by":[{"facet":"status","sort":{"facet":"env","aggregation":"cardinality","order":"desc"},"limit":10}],"compute":{"facet":"env","interval":1000,"aggregation":"cardinality"}},"display_type":"line"},{"on_right_yaxis":true,"style":{"line_width":"normal","palette":"purple","line_type":"solid"},"process_query":{"metric":"process.stat.cpu.total_pct","limit":10,"filter_by":["account:prod"]},"display_type":"line"},{"on_right_yaxis":true,"style":{"line_width":"normal","palette":"orange","line_type":"solid"},"display_type":"area","network_query":{"index":"netflow-search","search":{"query":"network.transport:udp network.destination.ip:\"*\""},"group_by":[{"facet":"source_region"},{"facet":"dest_environment"}],"compute":{"facet":"network.bytes_read","aggregation":"sum"}}},{"on_right_yaxis":true,"style":{"line_width":"normal","palette":"grey","line_type":"solid"},"rum_query":{"index":"*","search":{"query":""},"group_by":[{"facet":"service","sort":{"facet":"@duration","aggregation":"avg","order":"desc"},"limit":10}],"compute":{"facet":"@duration","interval":10,"aggregation":"avg"}},"display_type":"area"}],"type":"timeseries","events":[{"q":"sources:test tags:1","tags_execution":"and"}]},"id":4490749280810199}],"layout_type":"ordered"}' headers: Cache-Control: - no-cache @@ -70,7 +70,7 @@ interactions: Content-Type: - application/json Date: - - Thu, 18 Mar 2021 17:33:24 GMT + - Tue, 25 May 2021 03:47:00 GMT Pragma: - no-cache Strict-Transport-Security: @@ -80,9 +80,9 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Debug: - - /L+SFFO+m1pPY+hRCpk5325fvfrNl0KmiquUNJolBN/5hu3HIwflqjZSbJ6NxDFG + - JpIJLwIH2nFlZOC+u71rq7aAOL43MLZN3MUsL+gpYHdZz5QLUOG8Jysf8kVK6tPU X-Dd-Version: - - "35.4125004" + - "35.4598224" X-Frame-Options: - SAMEORIGIN status: 200 OK @@ -97,11 +97,11 @@ interactions: Dd-Operation-Id: - GetDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.18+dev (go go1.15.7; os darwin; arch amd64) - url: https://api.datadoghq.com/api/v1/dashboard/yyn-cne-g77 + - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) + url: https://api.datadoghq.com/api/v1/dashboard/dw7-8y6-prb 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":"yyn-cne-g77","title":"tf-TestAccDatadogDashboardTimeseries_import-local-1616088799","url":"/dashboard/yyn-cne-g77/tf-testaccdatadogdashboardtimeseriesimport-local-1616088799","created_at":"2021-03-18T17:33:20.598906+00:00","modified_at":"2021-03-18T17:33:20.598906+00:00","author_handle":"frog@datadoghq.com","widgets":[{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test Custom Link label"}],"title_size":"16","legend_columns":["value","min","max"],"title":"system.cpu.user, env, process.stat.cpu.total_pct, network.bytes_read, @d...","title_align":"left","markers":[{"display_type":"error dashed","value":"y=500000","label":"y=500000"},{"display_type":"warning dashed","value":"y=400000","label":"y=400000"}],"yaxis":{"include_zero":true,"min":"0","max":"599999"},"legend_layout":"horizontal","show_legend":true,"right_yaxis":{"include_zero":false,"min":"1","max":"599998"},"time":{"live_span":"5m"},"legend_size":"2","requests":[{"q":"avg:system.cpu.user{env:prod} by {app}","on_right_yaxis":true,"style":{"line_width":"thin","palette":"dog_classic","line_type":"solid"},"display_type":"line","metadata":[{"expression":""}]},{"on_right_yaxis":false,"style":{"line_width":"normal","palette":"cool","line_type":"solid"},"display_type":"line","log_query":{"index":"*","search":{"query":""},"group_by":[{"facet":"service","sort":{"aggregation":"count","order":"desc"},"limit":10}],"compute":{"aggregation":"count"}}},{"on_right_yaxis":true,"style":{"line_width":"thick","palette":"warm","line_type":"dashed"},"apm_query":{"index":"trace-search","search":{"query":""},"group_by":[{"facet":"status","sort":{"facet":"env","aggregation":"cardinality","order":"desc"},"limit":10}],"compute":{"facet":"env","interval":1000,"aggregation":"cardinality"}},"display_type":"line"},{"on_right_yaxis":true,"style":{"line_width":"normal","palette":"purple","line_type":"solid"},"process_query":{"metric":"process.stat.cpu.total_pct","limit":10,"filter_by":["account:prod"]},"display_type":"line"},{"on_right_yaxis":true,"style":{"line_width":"normal","palette":"orange","line_type":"solid"},"display_type":"area","network_query":{"index":"netflow-search","search":{"query":"network.transport:udp network.destination.ip:\"*\""},"group_by":[{"facet":"source_region"},{"facet":"dest_environment"}],"compute":{"facet":"network.bytes_read","aggregation":"sum"}}},{"on_right_yaxis":true,"style":{"line_width":"normal","palette":"grey","line_type":"solid"},"rum_query":{"index":"*","search":{"query":""},"group_by":[{"facet":"service","sort":{"facet":"@duration","aggregation":"avg","order":"desc"},"limit":10}],"compute":{"facet":"@duration","interval":10,"aggregation":"avg"}},"display_type":"area"}],"type":"timeseries","events":[{"q":"sources:test tags:1","tags_execution":"and"}]},"id":7367469826264431}],"layout_type":"ordered"}' + body: '{"notify_list":[],"description":"Created using the Datadog provider in Terraform","restricted_roles":["284d8b66-93f9-11eb-9c37-da7ad0900002","043a2842-e140-11e8-bb04-7fd10177666e","657de3a2-29f8-11eb-83b5-6b8ebfb2f184","e82bf27a-986c-11eb-9cba-da7ad0900002","f257ba30-dbb2-11ea-a5ff-5fd1d308318a","6bf314be-5c16-11eb-8e98-2356ea436065","62cbc476-5c16-11eb-8e98-0388ea7a41f8","08604de8-1dca-11eb-800c-9f5f55ff734d","9b3ab170-b768-11eb-a45a-da7ad0900002","7a83f306-96ca-11eb-9c74-da7ad0900002","16169788-28e4-11eb-832c-fb84162ef3eb","4de53192-9946-11eb-9cee-da7ad0900002","1302282c-b93b-11eb-a436-da7ad0900002","17d73994-7531-11eb-94b9-da7ad0900002"],"author_name":"Qin Chen","template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"dw7-8y6-prb","title":"tf-TestAccDatadogDashboardTimeseries_import-local-1621914418","url":"/dashboard/dw7-8y6-prb/tf-testaccdatadogdashboardtimeseriesimport-local-1621914418","created_at":"2021-05-25T03:47:00.400219+00:00","modified_at":"2021-05-25T03:47:00.400219+00:00","author_handle":"qin.chen@datadoghq.com","widgets":[{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test Custom Link label"}],"title_size":"16","legend_columns":["value","min","max"],"title":"system.cpu.user, env, process.stat.cpu.total_pct, network.bytes_read, @d...","title_align":"left","markers":[{"display_type":"error dashed","value":"y=500000","label":"y=500000"},{"display_type":"warning dashed","value":"y=400000","label":"y=400000"}],"yaxis":{"include_zero":true,"min":"0","max":"599999"},"legend_layout":"horizontal","show_legend":true,"right_yaxis":{"include_zero":false,"min":"1","max":"599998"},"time":{"live_span":"5m"},"legend_size":"2","requests":[{"q":"avg:system.cpu.user{env:prod} by {app}","on_right_yaxis":true,"style":{"line_width":"thin","palette":"dog_classic","line_type":"solid"},"display_type":"line","metadata":[{"expression":""}]},{"on_right_yaxis":false,"style":{"line_width":"normal","palette":"cool","line_type":"solid"},"display_type":"line","log_query":{"index":"*","search":{"query":""},"group_by":[{"facet":"service","sort":{"aggregation":"count","order":"desc"},"limit":10}],"compute":{"aggregation":"count"}}},{"on_right_yaxis":true,"style":{"line_width":"thick","palette":"warm","line_type":"dashed"},"apm_query":{"index":"trace-search","search":{"query":""},"group_by":[{"facet":"status","sort":{"facet":"env","aggregation":"cardinality","order":"desc"},"limit":10}],"compute":{"facet":"env","interval":1000,"aggregation":"cardinality"}},"display_type":"line"},{"on_right_yaxis":true,"style":{"line_width":"normal","palette":"purple","line_type":"solid"},"process_query":{"metric":"process.stat.cpu.total_pct","limit":10,"filter_by":["account:prod"]},"display_type":"line"},{"on_right_yaxis":true,"style":{"line_width":"normal","palette":"orange","line_type":"solid"},"display_type":"area","network_query":{"index":"netflow-search","search":{"query":"network.transport:udp network.destination.ip:\"*\""},"group_by":[{"facet":"source_region"},{"facet":"dest_environment"}],"compute":{"facet":"network.bytes_read","aggregation":"sum"}}},{"on_right_yaxis":true,"style":{"line_width":"normal","palette":"grey","line_type":"solid"},"rum_query":{"index":"*","search":{"query":""},"group_by":[{"facet":"service","sort":{"facet":"@duration","aggregation":"avg","order":"desc"},"limit":10}],"compute":{"facet":"@duration","interval":10,"aggregation":"avg"}},"display_type":"area"}],"type":"timeseries","events":[{"q":"sources:test tags:1","tags_execution":"and"}]},"id":4490749280810199}],"layout_type":"ordered"}' headers: Cache-Control: - no-cache @@ -112,7 +112,7 @@ interactions: Content-Type: - application/json Date: - - Thu, 18 Mar 2021 17:33:24 GMT + - Tue, 25 May 2021 03:47:01 GMT Pragma: - no-cache Strict-Transport-Security: @@ -122,9 +122,9 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Debug: - - vdJ3/nHEY1ioXQ6pQrBVvsQK1s4yyc+wufBMPSoXql71qZVuP/xMdtNo6DafhOAk + - B1nwy/pPNqX+q4pQT22cdp1QCexE35IF8qwSHy0Nf7IW0Y881qtn4tXN1lpmzaKc X-Dd-Version: - - "35.4125004" + - "35.4598224" X-Frame-Options: - SAMEORIGIN status: 200 OK @@ -139,11 +139,11 @@ interactions: Dd-Operation-Id: - GetDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.18+dev (go go1.15.7; os darwin; arch amd64) - url: https://api.datadoghq.com/api/v1/dashboard/yyn-cne-g77 + - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) + url: https://api.datadoghq.com/api/v1/dashboard/dw7-8y6-prb 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":"yyn-cne-g77","title":"tf-TestAccDatadogDashboardTimeseries_import-local-1616088799","url":"/dashboard/yyn-cne-g77/tf-testaccdatadogdashboardtimeseriesimport-local-1616088799","created_at":"2021-03-18T17:33:20.598906+00:00","modified_at":"2021-03-18T17:33:20.598906+00:00","author_handle":"frog@datadoghq.com","widgets":[{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test Custom Link label"}],"title_size":"16","legend_columns":["value","min","max"],"title":"system.cpu.user, env, process.stat.cpu.total_pct, network.bytes_read, @d...","title_align":"left","markers":[{"display_type":"error dashed","value":"y=500000","label":"y=500000"},{"display_type":"warning dashed","value":"y=400000","label":"y=400000"}],"yaxis":{"include_zero":true,"min":"0","max":"599999"},"legend_layout":"horizontal","show_legend":true,"right_yaxis":{"include_zero":false,"min":"1","max":"599998"},"time":{"live_span":"5m"},"legend_size":"2","requests":[{"q":"avg:system.cpu.user{env:prod} by {app}","on_right_yaxis":true,"style":{"line_width":"thin","palette":"dog_classic","line_type":"solid"},"display_type":"line","metadata":[{"expression":""}]},{"on_right_yaxis":false,"style":{"line_width":"normal","palette":"cool","line_type":"solid"},"display_type":"line","log_query":{"index":"*","search":{"query":""},"group_by":[{"facet":"service","sort":{"aggregation":"count","order":"desc"},"limit":10}],"compute":{"aggregation":"count"}}},{"on_right_yaxis":true,"style":{"line_width":"thick","palette":"warm","line_type":"dashed"},"apm_query":{"index":"trace-search","search":{"query":""},"group_by":[{"facet":"status","sort":{"facet":"env","aggregation":"cardinality","order":"desc"},"limit":10}],"compute":{"facet":"env","interval":1000,"aggregation":"cardinality"}},"display_type":"line"},{"on_right_yaxis":true,"style":{"line_width":"normal","palette":"purple","line_type":"solid"},"process_query":{"metric":"process.stat.cpu.total_pct","limit":10,"filter_by":["account:prod"]},"display_type":"line"},{"on_right_yaxis":true,"style":{"line_width":"normal","palette":"orange","line_type":"solid"},"display_type":"area","network_query":{"index":"netflow-search","search":{"query":"network.transport:udp network.destination.ip:\"*\""},"group_by":[{"facet":"source_region"},{"facet":"dest_environment"}],"compute":{"facet":"network.bytes_read","aggregation":"sum"}}},{"on_right_yaxis":true,"style":{"line_width":"normal","palette":"grey","line_type":"solid"},"rum_query":{"index":"*","search":{"query":""},"group_by":[{"facet":"service","sort":{"facet":"@duration","aggregation":"avg","order":"desc"},"limit":10}],"compute":{"facet":"@duration","interval":10,"aggregation":"avg"}},"display_type":"area"}],"type":"timeseries","events":[{"q":"sources:test tags:1","tags_execution":"and"}]},"id":7367469826264431}],"layout_type":"ordered"}' + body: '{"notify_list":[],"description":"Created using the Datadog provider in Terraform","restricted_roles":["284d8b66-93f9-11eb-9c37-da7ad0900002","043a2842-e140-11e8-bb04-7fd10177666e","657de3a2-29f8-11eb-83b5-6b8ebfb2f184","e82bf27a-986c-11eb-9cba-da7ad0900002","f257ba30-dbb2-11ea-a5ff-5fd1d308318a","6bf314be-5c16-11eb-8e98-2356ea436065","62cbc476-5c16-11eb-8e98-0388ea7a41f8","08604de8-1dca-11eb-800c-9f5f55ff734d","9b3ab170-b768-11eb-a45a-da7ad0900002","7a83f306-96ca-11eb-9c74-da7ad0900002","16169788-28e4-11eb-832c-fb84162ef3eb","4de53192-9946-11eb-9cee-da7ad0900002","1302282c-b93b-11eb-a436-da7ad0900002","17d73994-7531-11eb-94b9-da7ad0900002"],"author_name":"Qin Chen","template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"dw7-8y6-prb","title":"tf-TestAccDatadogDashboardTimeseries_import-local-1621914418","url":"/dashboard/dw7-8y6-prb/tf-testaccdatadogdashboardtimeseriesimport-local-1621914418","created_at":"2021-05-25T03:47:00.400219+00:00","modified_at":"2021-05-25T03:47:00.400219+00:00","author_handle":"qin.chen@datadoghq.com","widgets":[{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test Custom Link label"}],"title_size":"16","legend_columns":["value","min","max"],"title":"system.cpu.user, env, process.stat.cpu.total_pct, network.bytes_read, @d...","title_align":"left","markers":[{"display_type":"error dashed","value":"y=500000","label":"y=500000"},{"display_type":"warning dashed","value":"y=400000","label":"y=400000"}],"yaxis":{"include_zero":true,"min":"0","max":"599999"},"legend_layout":"horizontal","show_legend":true,"right_yaxis":{"include_zero":false,"min":"1","max":"599998"},"time":{"live_span":"5m"},"legend_size":"2","requests":[{"q":"avg:system.cpu.user{env:prod} by {app}","on_right_yaxis":true,"style":{"line_width":"thin","palette":"dog_classic","line_type":"solid"},"display_type":"line","metadata":[{"expression":""}]},{"on_right_yaxis":false,"style":{"line_width":"normal","palette":"cool","line_type":"solid"},"display_type":"line","log_query":{"index":"*","search":{"query":""},"group_by":[{"facet":"service","sort":{"aggregation":"count","order":"desc"},"limit":10}],"compute":{"aggregation":"count"}}},{"on_right_yaxis":true,"style":{"line_width":"thick","palette":"warm","line_type":"dashed"},"apm_query":{"index":"trace-search","search":{"query":""},"group_by":[{"facet":"status","sort":{"facet":"env","aggregation":"cardinality","order":"desc"},"limit":10}],"compute":{"facet":"env","interval":1000,"aggregation":"cardinality"}},"display_type":"line"},{"on_right_yaxis":true,"style":{"line_width":"normal","palette":"purple","line_type":"solid"},"process_query":{"metric":"process.stat.cpu.total_pct","limit":10,"filter_by":["account:prod"]},"display_type":"line"},{"on_right_yaxis":true,"style":{"line_width":"normal","palette":"orange","line_type":"solid"},"display_type":"area","network_query":{"index":"netflow-search","search":{"query":"network.transport:udp network.destination.ip:\"*\""},"group_by":[{"facet":"source_region"},{"facet":"dest_environment"}],"compute":{"facet":"network.bytes_read","aggregation":"sum"}}},{"on_right_yaxis":true,"style":{"line_width":"normal","palette":"grey","line_type":"solid"},"rum_query":{"index":"*","search":{"query":""},"group_by":[{"facet":"service","sort":{"facet":"@duration","aggregation":"avg","order":"desc"},"limit":10}],"compute":{"facet":"@duration","interval":10,"aggregation":"avg"}},"display_type":"area"}],"type":"timeseries","events":[{"q":"sources:test tags:1","tags_execution":"and"}]},"id":4490749280810199}],"layout_type":"ordered"}' headers: Cache-Control: - no-cache @@ -154,7 +154,7 @@ interactions: Content-Type: - application/json Date: - - Thu, 18 Mar 2021 17:33:25 GMT + - Tue, 25 May 2021 03:47:02 GMT Pragma: - no-cache Strict-Transport-Security: @@ -164,9 +164,9 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Debug: - - HbtaOKlJ6OCrx9tMXO6ivMTrEM+g0c93HDp08trmOmgdHozC5J+vn10F0H4WPjCU + - dPySkcOzIZtKyMKDAAzuysY3gNGGj6RtYogGuSb76E8mPvoqzREyRp6lPYm91hQU X-Dd-Version: - - "35.4125004" + - "35.4598224" X-Frame-Options: - SAMEORIGIN status: 200 OK @@ -181,11 +181,11 @@ interactions: Dd-Operation-Id: - GetDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.18+dev (go go1.15.7; os darwin; arch amd64) - url: https://api.datadoghq.com/api/v1/dashboard/yyn-cne-g77 + - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) + url: https://api.datadoghq.com/api/v1/dashboard/dw7-8y6-prb 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":"yyn-cne-g77","title":"tf-TestAccDatadogDashboardTimeseries_import-local-1616088799","url":"/dashboard/yyn-cne-g77/tf-testaccdatadogdashboardtimeseriesimport-local-1616088799","created_at":"2021-03-18T17:33:20.598906+00:00","modified_at":"2021-03-18T17:33:20.598906+00:00","author_handle":"frog@datadoghq.com","widgets":[{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test Custom Link label"}],"title_size":"16","legend_columns":["value","min","max"],"title":"system.cpu.user, env, process.stat.cpu.total_pct, network.bytes_read, @d...","title_align":"left","markers":[{"display_type":"error dashed","value":"y=500000","label":"y=500000"},{"display_type":"warning dashed","value":"y=400000","label":"y=400000"}],"yaxis":{"include_zero":true,"min":"0","max":"599999"},"legend_layout":"horizontal","show_legend":true,"right_yaxis":{"include_zero":false,"min":"1","max":"599998"},"time":{"live_span":"5m"},"legend_size":"2","requests":[{"q":"avg:system.cpu.user{env:prod} by {app}","on_right_yaxis":true,"style":{"line_width":"thin","palette":"dog_classic","line_type":"solid"},"display_type":"line","metadata":[{"expression":""}]},{"on_right_yaxis":false,"style":{"line_width":"normal","palette":"cool","line_type":"solid"},"display_type":"line","log_query":{"index":"*","search":{"query":""},"group_by":[{"facet":"service","sort":{"aggregation":"count","order":"desc"},"limit":10}],"compute":{"aggregation":"count"}}},{"on_right_yaxis":true,"style":{"line_width":"thick","palette":"warm","line_type":"dashed"},"apm_query":{"index":"trace-search","search":{"query":""},"group_by":[{"facet":"status","sort":{"facet":"env","aggregation":"cardinality","order":"desc"},"limit":10}],"compute":{"facet":"env","interval":1000,"aggregation":"cardinality"}},"display_type":"line"},{"on_right_yaxis":true,"style":{"line_width":"normal","palette":"purple","line_type":"solid"},"process_query":{"metric":"process.stat.cpu.total_pct","limit":10,"filter_by":["account:prod"]},"display_type":"line"},{"on_right_yaxis":true,"style":{"line_width":"normal","palette":"orange","line_type":"solid"},"display_type":"area","network_query":{"index":"netflow-search","search":{"query":"network.transport:udp network.destination.ip:\"*\""},"group_by":[{"facet":"source_region"},{"facet":"dest_environment"}],"compute":{"facet":"network.bytes_read","aggregation":"sum"}}},{"on_right_yaxis":true,"style":{"line_width":"normal","palette":"grey","line_type":"solid"},"rum_query":{"index":"*","search":{"query":""},"group_by":[{"facet":"service","sort":{"facet":"@duration","aggregation":"avg","order":"desc"},"limit":10}],"compute":{"facet":"@duration","interval":10,"aggregation":"avg"}},"display_type":"area"}],"type":"timeseries","events":[{"q":"sources:test tags:1","tags_execution":"and"}]},"id":7367469826264431}],"layout_type":"ordered"}' + body: '{"notify_list":[],"description":"Created using the Datadog provider in Terraform","restricted_roles":["284d8b66-93f9-11eb-9c37-da7ad0900002","043a2842-e140-11e8-bb04-7fd10177666e","657de3a2-29f8-11eb-83b5-6b8ebfb2f184","e82bf27a-986c-11eb-9cba-da7ad0900002","f257ba30-dbb2-11ea-a5ff-5fd1d308318a","6bf314be-5c16-11eb-8e98-2356ea436065","62cbc476-5c16-11eb-8e98-0388ea7a41f8","08604de8-1dca-11eb-800c-9f5f55ff734d","9b3ab170-b768-11eb-a45a-da7ad0900002","7a83f306-96ca-11eb-9c74-da7ad0900002","16169788-28e4-11eb-832c-fb84162ef3eb","4de53192-9946-11eb-9cee-da7ad0900002","1302282c-b93b-11eb-a436-da7ad0900002","17d73994-7531-11eb-94b9-da7ad0900002"],"author_name":"Qin Chen","template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"dw7-8y6-prb","title":"tf-TestAccDatadogDashboardTimeseries_import-local-1621914418","url":"/dashboard/dw7-8y6-prb/tf-testaccdatadogdashboardtimeseriesimport-local-1621914418","created_at":"2021-05-25T03:47:00.400219+00:00","modified_at":"2021-05-25T03:47:00.400219+00:00","author_handle":"qin.chen@datadoghq.com","widgets":[{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test Custom Link label"}],"title_size":"16","legend_columns":["value","min","max"],"title":"system.cpu.user, env, process.stat.cpu.total_pct, network.bytes_read, @d...","title_align":"left","markers":[{"display_type":"error dashed","value":"y=500000","label":"y=500000"},{"display_type":"warning dashed","value":"y=400000","label":"y=400000"}],"yaxis":{"include_zero":true,"min":"0","max":"599999"},"legend_layout":"horizontal","show_legend":true,"right_yaxis":{"include_zero":false,"min":"1","max":"599998"},"time":{"live_span":"5m"},"legend_size":"2","requests":[{"q":"avg:system.cpu.user{env:prod} by {app}","on_right_yaxis":true,"style":{"line_width":"thin","palette":"dog_classic","line_type":"solid"},"display_type":"line","metadata":[{"expression":""}]},{"on_right_yaxis":false,"style":{"line_width":"normal","palette":"cool","line_type":"solid"},"display_type":"line","log_query":{"index":"*","search":{"query":""},"group_by":[{"facet":"service","sort":{"aggregation":"count","order":"desc"},"limit":10}],"compute":{"aggregation":"count"}}},{"on_right_yaxis":true,"style":{"line_width":"thick","palette":"warm","line_type":"dashed"},"apm_query":{"index":"trace-search","search":{"query":""},"group_by":[{"facet":"status","sort":{"facet":"env","aggregation":"cardinality","order":"desc"},"limit":10}],"compute":{"facet":"env","interval":1000,"aggregation":"cardinality"}},"display_type":"line"},{"on_right_yaxis":true,"style":{"line_width":"normal","palette":"purple","line_type":"solid"},"process_query":{"metric":"process.stat.cpu.total_pct","limit":10,"filter_by":["account:prod"]},"display_type":"line"},{"on_right_yaxis":true,"style":{"line_width":"normal","palette":"orange","line_type":"solid"},"display_type":"area","network_query":{"index":"netflow-search","search":{"query":"network.transport:udp network.destination.ip:\"*\""},"group_by":[{"facet":"source_region"},{"facet":"dest_environment"}],"compute":{"facet":"network.bytes_read","aggregation":"sum"}}},{"on_right_yaxis":true,"style":{"line_width":"normal","palette":"grey","line_type":"solid"},"rum_query":{"index":"*","search":{"query":""},"group_by":[{"facet":"service","sort":{"facet":"@duration","aggregation":"avg","order":"desc"},"limit":10}],"compute":{"facet":"@duration","interval":10,"aggregation":"avg"}},"display_type":"area"}],"type":"timeseries","events":[{"q":"sources:test tags:1","tags_execution":"and"}]},"id":4490749280810199}],"layout_type":"ordered"}' headers: Cache-Control: - no-cache @@ -196,7 +196,7 @@ interactions: Content-Type: - application/json Date: - - Thu, 18 Mar 2021 17:33:25 GMT + - Tue, 25 May 2021 03:47:02 GMT Pragma: - no-cache Strict-Transport-Security: @@ -206,9 +206,9 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Debug: - - fIO2C4qGDheGHy4YbS+r3a3CXbh4cbRo7roILOimQyiHGjQdOat0cIpWCkupM1uX + - dPySkcOzIZtKyMKDAAzuysY3gNGGj6RtYogGuSb76E8mPvoqzREyRp6lPYm91hQU X-Dd-Version: - - "35.4125004" + - "35.4598224" X-Frame-Options: - SAMEORIGIN status: 200 OK @@ -223,11 +223,11 @@ interactions: Dd-Operation-Id: - GetDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.18+dev (go go1.15.7; os darwin; arch amd64) - url: https://api.datadoghq.com/api/v1/dashboard/yyn-cne-g77 + - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) + url: https://api.datadoghq.com/api/v1/dashboard/dw7-8y6-prb 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":"yyn-cne-g77","title":"tf-TestAccDatadogDashboardTimeseries_import-local-1616088799","url":"/dashboard/yyn-cne-g77/tf-testaccdatadogdashboardtimeseriesimport-local-1616088799","created_at":"2021-03-18T17:33:20.598906+00:00","modified_at":"2021-03-18T17:33:20.598906+00:00","author_handle":"frog@datadoghq.com","widgets":[{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test Custom Link label"}],"title_size":"16","legend_columns":["value","min","max"],"title":"system.cpu.user, env, process.stat.cpu.total_pct, network.bytes_read, @d...","title_align":"left","markers":[{"display_type":"error dashed","value":"y=500000","label":"y=500000"},{"display_type":"warning dashed","value":"y=400000","label":"y=400000"}],"yaxis":{"include_zero":true,"min":"0","max":"599999"},"legend_layout":"horizontal","show_legend":true,"right_yaxis":{"include_zero":false,"min":"1","max":"599998"},"time":{"live_span":"5m"},"legend_size":"2","requests":[{"q":"avg:system.cpu.user{env:prod} by {app}","on_right_yaxis":true,"style":{"line_width":"thin","palette":"dog_classic","line_type":"solid"},"display_type":"line","metadata":[{"expression":""}]},{"on_right_yaxis":false,"style":{"line_width":"normal","palette":"cool","line_type":"solid"},"display_type":"line","log_query":{"index":"*","search":{"query":""},"group_by":[{"facet":"service","sort":{"aggregation":"count","order":"desc"},"limit":10}],"compute":{"aggregation":"count"}}},{"on_right_yaxis":true,"style":{"line_width":"thick","palette":"warm","line_type":"dashed"},"apm_query":{"index":"trace-search","search":{"query":""},"group_by":[{"facet":"status","sort":{"facet":"env","aggregation":"cardinality","order":"desc"},"limit":10}],"compute":{"facet":"env","interval":1000,"aggregation":"cardinality"}},"display_type":"line"},{"on_right_yaxis":true,"style":{"line_width":"normal","palette":"purple","line_type":"solid"},"process_query":{"metric":"process.stat.cpu.total_pct","limit":10,"filter_by":["account:prod"]},"display_type":"line"},{"on_right_yaxis":true,"style":{"line_width":"normal","palette":"orange","line_type":"solid"},"display_type":"area","network_query":{"index":"netflow-search","search":{"query":"network.transport:udp network.destination.ip:\"*\""},"group_by":[{"facet":"source_region"},{"facet":"dest_environment"}],"compute":{"facet":"network.bytes_read","aggregation":"sum"}}},{"on_right_yaxis":true,"style":{"line_width":"normal","palette":"grey","line_type":"solid"},"rum_query":{"index":"*","search":{"query":""},"group_by":[{"facet":"service","sort":{"facet":"@duration","aggregation":"avg","order":"desc"},"limit":10}],"compute":{"facet":"@duration","interval":10,"aggregation":"avg"}},"display_type":"area"}],"type":"timeseries","events":[{"q":"sources:test tags:1","tags_execution":"and"}]},"id":7367469826264431}],"layout_type":"ordered"}' + body: '{"notify_list":[],"description":"Created using the Datadog provider in Terraform","restricted_roles":["284d8b66-93f9-11eb-9c37-da7ad0900002","043a2842-e140-11e8-bb04-7fd10177666e","657de3a2-29f8-11eb-83b5-6b8ebfb2f184","e82bf27a-986c-11eb-9cba-da7ad0900002","f257ba30-dbb2-11ea-a5ff-5fd1d308318a","6bf314be-5c16-11eb-8e98-2356ea436065","62cbc476-5c16-11eb-8e98-0388ea7a41f8","08604de8-1dca-11eb-800c-9f5f55ff734d","9b3ab170-b768-11eb-a45a-da7ad0900002","7a83f306-96ca-11eb-9c74-da7ad0900002","16169788-28e4-11eb-832c-fb84162ef3eb","4de53192-9946-11eb-9cee-da7ad0900002","1302282c-b93b-11eb-a436-da7ad0900002","17d73994-7531-11eb-94b9-da7ad0900002"],"author_name":"Qin Chen","template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"dw7-8y6-prb","title":"tf-TestAccDatadogDashboardTimeseries_import-local-1621914418","url":"/dashboard/dw7-8y6-prb/tf-testaccdatadogdashboardtimeseriesimport-local-1621914418","created_at":"2021-05-25T03:47:00.400219+00:00","modified_at":"2021-05-25T03:47:00.400219+00:00","author_handle":"qin.chen@datadoghq.com","widgets":[{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test Custom Link label"}],"title_size":"16","legend_columns":["value","min","max"],"title":"system.cpu.user, env, process.stat.cpu.total_pct, network.bytes_read, @d...","title_align":"left","markers":[{"display_type":"error dashed","value":"y=500000","label":"y=500000"},{"display_type":"warning dashed","value":"y=400000","label":"y=400000"}],"yaxis":{"include_zero":true,"min":"0","max":"599999"},"legend_layout":"horizontal","show_legend":true,"right_yaxis":{"include_zero":false,"min":"1","max":"599998"},"time":{"live_span":"5m"},"legend_size":"2","requests":[{"q":"avg:system.cpu.user{env:prod} by {app}","on_right_yaxis":true,"style":{"line_width":"thin","palette":"dog_classic","line_type":"solid"},"display_type":"line","metadata":[{"expression":""}]},{"on_right_yaxis":false,"style":{"line_width":"normal","palette":"cool","line_type":"solid"},"display_type":"line","log_query":{"index":"*","search":{"query":""},"group_by":[{"facet":"service","sort":{"aggregation":"count","order":"desc"},"limit":10}],"compute":{"aggregation":"count"}}},{"on_right_yaxis":true,"style":{"line_width":"thick","palette":"warm","line_type":"dashed"},"apm_query":{"index":"trace-search","search":{"query":""},"group_by":[{"facet":"status","sort":{"facet":"env","aggregation":"cardinality","order":"desc"},"limit":10}],"compute":{"facet":"env","interval":1000,"aggregation":"cardinality"}},"display_type":"line"},{"on_right_yaxis":true,"style":{"line_width":"normal","palette":"purple","line_type":"solid"},"process_query":{"metric":"process.stat.cpu.total_pct","limit":10,"filter_by":["account:prod"]},"display_type":"line"},{"on_right_yaxis":true,"style":{"line_width":"normal","palette":"orange","line_type":"solid"},"display_type":"area","network_query":{"index":"netflow-search","search":{"query":"network.transport:udp network.destination.ip:\"*\""},"group_by":[{"facet":"source_region"},{"facet":"dest_environment"}],"compute":{"facet":"network.bytes_read","aggregation":"sum"}}},{"on_right_yaxis":true,"style":{"line_width":"normal","palette":"grey","line_type":"solid"},"rum_query":{"index":"*","search":{"query":""},"group_by":[{"facet":"service","sort":{"facet":"@duration","aggregation":"avg","order":"desc"},"limit":10}],"compute":{"facet":"@duration","interval":10,"aggregation":"avg"}},"display_type":"area"}],"type":"timeseries","events":[{"q":"sources:test tags:1","tags_execution":"and"}]},"id":4490749280810199}],"layout_type":"ordered"}' headers: Cache-Control: - no-cache @@ -238,7 +238,7 @@ interactions: Content-Type: - application/json Date: - - Thu, 18 Mar 2021 17:33:25 GMT + - Tue, 25 May 2021 03:47:02 GMT Pragma: - no-cache Strict-Transport-Security: @@ -248,9 +248,9 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Debug: - - mNzaoDhdDKO7t4QSrAe5X7pHd0bJND187D+vRbwoluXouE2m1UaQQX0RGCvRpLVE + - LcgNasIYBRkNppmD6mCKE9J6iv0eEjosuuHR5V5zw2fWbR54i39C8dhdK8zDq/40 X-Dd-Version: - - "35.4125004" + - "35.4598224" X-Frame-Options: - SAMEORIGIN status: 200 OK @@ -265,11 +265,11 @@ interactions: Dd-Operation-Id: - DeleteDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.18+dev (go go1.15.7; os darwin; arch amd64) - url: https://api.datadoghq.com/api/v1/dashboard/yyn-cne-g77 + - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) + url: https://api.datadoghq.com/api/v1/dashboard/dw7-8y6-prb method: DELETE response: - body: '{"deleted_dashboard_id":"yyn-cne-g77"}' + body: '{"deleted_dashboard_id":"dw7-8y6-prb"}' headers: Cache-Control: - no-cache @@ -280,7 +280,7 @@ interactions: Content-Type: - application/json Date: - - Thu, 18 Mar 2021 17:33:26 GMT + - Tue, 25 May 2021 03:47:03 GMT Pragma: - no-cache Strict-Transport-Security: @@ -292,7 +292,7 @@ interactions: X-Dd-Debug: - B1nwy/pPNqX+q4pQT22cdp1QCexE35IF8qwSHy0Nf7IW0Y881qtn4tXN1lpmzaKc X-Dd-Version: - - "35.4125004" + - "35.4598224" X-Frame-Options: - SAMEORIGIN status: 200 OK @@ -307,11 +307,11 @@ interactions: Dd-Operation-Id: - GetDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.18+dev (go go1.15.7; os darwin; arch amd64) - url: https://api.datadoghq.com/api/v1/dashboard/yyn-cne-g77 + - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) + url: https://api.datadoghq.com/api/v1/dashboard/dw7-8y6-prb method: GET response: - body: '{"errors": ["Dashboard with ID yyn-cne-g77 not found"]}' + body: '{"errors": ["Dashboard with ID dw7-8y6-prb not found"]}' headers: Cache-Control: - no-cache @@ -322,7 +322,7 @@ interactions: Content-Type: - application/json Date: - - Thu, 18 Mar 2021 17:33:26 GMT + - Tue, 25 May 2021 03:47:04 GMT Pragma: - no-cache Strict-Transport-Security: @@ -332,7 +332,7 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Version: - - "35.4125004" + - "35.4598224" X-Frame-Options: - SAMEORIGIN status: 404 Not Found From ef4b70b17473982b33b6122bdf154b6bc661b44b Mon Sep 17 00:00:00 2001 From: Qin Cheng Chen Date: Mon, 24 May 2021 23:53:21 -0400 Subject: [PATCH 16/22] fix more tests --- .../TestAccDatadogDashboardChange.freeze | 2 +- .../TestAccDatadogDashboardChange.yaml | 189 ++++------------ ...estAccDatadogDashboardChange_import.freeze | 2 +- .../TestAccDatadogDashboardChange_import.yaml | 201 ++++------------ .../TestAccDatadogDashboardHeatMap.freeze | 2 +- .../TestAccDatadogDashboardHeatMap.yaml | 184 ++++----------- ...stAccDatadogDashboardHeatMap_import.freeze | 2 +- ...TestAccDatadogDashboardHeatMap_import.yaml | 195 ++++------------ .../TestAccDatadogDashboardHostMap.freeze | 2 +- .../TestAccDatadogDashboardHostMap.yaml | 162 ++++--------- ...stAccDatadogDashboardHostMap_import.freeze | 2 +- ...TestAccDatadogDashboardHostMap_import.yaml | 189 ++++------------ .../TestAccDatadogDashboardQueryTable.freeze | 2 +- .../TestAccDatadogDashboardQueryTable.yaml | 194 ++++------------ ...ccDatadogDashboardQueryTable_import.freeze | 2 +- ...tAccDatadogDashboardQueryTable_import.yaml | 201 ++++------------ .../TestAccDatadogDashboardQueryValue.freeze | 2 +- .../TestAccDatadogDashboardQueryValue.yaml | 164 ++++---------- ...ccDatadogDashboardQueryValueFormula.freeze | 2 +- ...tAccDatadogDashboardQueryValueFormula.yaml | 82 +++---- ...ogDashboardQueryValueFormula_import.freeze | 2 +- ...adogDashboardQueryValueFormula_import.yaml | 92 ++++---- ...ccDatadogDashboardQueryValue_import.freeze | 2 +- ...tAccDatadogDashboardQueryValue_import.yaml | 183 ++++----------- .../TestAccDatadogDashboardScatterplot.freeze | 2 +- .../TestAccDatadogDashboardScatterplot.yaml | 214 ++++-------------- ...cDatadogDashboardScatterplot_import.freeze | 2 +- ...AccDatadogDashboardScatterplot_import.yaml | 213 ++++------------- .../TestAccDatadogDashboardServiceMap.freeze | 2 +- .../TestAccDatadogDashboardServiceMap.yaml | 82 +++---- ...ccDatadogDashboardServiceMap_import.freeze | 2 +- ...tAccDatadogDashboardServiceMap_import.yaml | 92 ++++---- 32 files changed, 717 insertions(+), 1952 deletions(-) diff --git a/datadog/tests/cassettes/TestAccDatadogDashboardChange.freeze b/datadog/tests/cassettes/TestAccDatadogDashboardChange.freeze index c90806e91..31b57463d 100644 --- a/datadog/tests/cassettes/TestAccDatadogDashboardChange.freeze +++ b/datadog/tests/cassettes/TestAccDatadogDashboardChange.freeze @@ -1 +1 @@ -2021-01-28T17:18:24.942622+01:00 \ No newline at end of file +2021-05-24T23:52:03.507947-04:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogDashboardChange.yaml b/datadog/tests/cassettes/TestAccDatadogDashboardChange.yaml index 02da189ce..f143229aa 100644 --- a/datadog/tests/cassettes/TestAccDatadogDashboardChange.yaml +++ b/datadog/tests/cassettes/TestAccDatadogDashboardChange.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-TestAccDatadogDashboardChange-local-1611850704","widgets":[{"definition":{"requests":[{"increase_good":false,"q":"sum:system.cpu.user{*} by {service,account}","show_present":false}],"type":"change"}},{"definition":{"custom_links":[{"label":"Test Custom Link label","link":"https://app.datadoghq.com/dashboard/lists"}],"requests":[{"change_type":"absolute","compare_to":"day_before","increase_good":false,"order_by":"change","order_dir":"desc","q":"sum:system.cpu.user{*} by {service,account}","show_present":true}],"time":{"live_span":"1h"},"title":"Sum of system.cpu.user over * by service,account","title_align":"left","title_size":"16","type":"change"}},{"definition":{"custom_links":[{"label":"Test Custom Link label","link":"https://app.datadoghq.com/dashboard/lists"}],"requests":[{"change_type":"absolute","compare_to":"day_before","increase_good":false,"order_by":"change","order_dir":"desc","q":"sum:system.cpu.user{*} by {service,account}","show_present":true}],"time":{"live_span":"1h"},"title":"Sum of system.cpu.user over * by service,account","title_align":"left","title_size":"16","type":"change"}}]} + {"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-TestAccDatadogDashboardChange-local-1621914723","widgets":[{"definition":{"requests":[{"increase_good":false,"q":"sum:system.cpu.user{*} by {service,account}","show_present":false}],"type":"change"}},{"definition":{"custom_links":[{"label":"Test Custom Link label","link":"https://app.datadoghq.com/dashboard/lists"},{"is_hidden":true,"link":"https://app.datadoghq.com/dashboard/lists","override_label":"logs"}],"requests":[{"change_type":"absolute","compare_to":"day_before","increase_good":false,"order_by":"change","order_dir":"desc","q":"sum:system.cpu.user{*} by {service,account}","show_present":true}],"time":{"live_span":"1h"},"title":"Sum of system.cpu.user over * by service,account","title_align":"left","title_size":"16","type":"change"}},{"definition":{"custom_links":[{"label":"Test Custom Link label","link":"https://app.datadoghq.com/dashboard/lists"}],"requests":[{"change_type":"absolute","compare_to":"day_before","increase_good":false,"order_by":"change","order_dir":"desc","q":"sum:system.cpu.user{*} by {service,account}","show_present":true}],"time":{"live_span":"1h"},"title":"Sum of system.cpu.user over * by service,account","title_align":"left","title_size":"16","type":"change"}}]} form: {} headers: Accept: @@ -13,26 +13,11 @@ interactions: Dd-Operation-Id: - CreateDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 1.15.0; terraform-cli 0.12.7-sdk) - datadog-api-client-go/1.0.0-beta.14 (go go1.15.4; os darwin; arch amd64) - X-Datadog-Parent-Id: - - "3315534880340101607" - X-Datadog-Sampling-Priority: - - "1" - X-Datadog-Trace-Id: - - "5843149382491789292" + - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) 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":"uuw-3pg-534","title":"tf-TestAccDatadogDashboardChange-local-1611850704","url":"/dashboard/uuw-3pg-534/tf-testaccdatadogdashboardchange-local-1611850704","created_at":"2021-01-28T16:43:57.046067+00:00","modified_at":"2021-01-28T16:43:57.046067+00:00","author_handle":"frog@datadoghq.com","widgets":[{"definition":{"requests":[{"q":"sum:system.cpu.user{*} - by {service,account}","show_present":false,"increase_good":false}],"type":"change"},"id":3110332253128132},{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test - Custom Link label"}],"title_size":"16","title":"Sum of system.cpu.user over - * by service,account","title_align":"left","time":{"live_span":"1h"},"requests":[{"change_type":"absolute","order_dir":"desc","compare_to":"day_before","q":"sum:system.cpu.user{*} - by {service,account}","show_present":true,"increase_good":false,"order_by":"change"}],"type":"change"},"id":2019754692625709},{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test - Custom Link label"}],"title_size":"16","title":"Sum of system.cpu.user over - * by service,account","title_align":"left","time":{"live_span":"1h"},"requests":[{"change_type":"absolute","order_dir":"desc","compare_to":"day_before","q":"sum:system.cpu.user{*} - by {service,account}","show_present":true,"increase_good":false,"order_by":"change"}],"type":"change"},"id":3404570797187644}],"layout_type":"ordered"}' + body: '{"notify_list":[],"description":"Created using the Datadog provider in Terraform","restricted_roles":["043a2842-e140-11e8-bb04-7fd10177666e","08604de8-1dca-11eb-800c-9f5f55ff734d","1302282c-b93b-11eb-a436-da7ad0900002","16169788-28e4-11eb-832c-fb84162ef3eb","17d73994-7531-11eb-94b9-da7ad0900002","284d8b66-93f9-11eb-9c37-da7ad0900002","4de53192-9946-11eb-9cee-da7ad0900002","62cbc476-5c16-11eb-8e98-0388ea7a41f8","657de3a2-29f8-11eb-83b5-6b8ebfb2f184","6bf314be-5c16-11eb-8e98-2356ea436065","7a83f306-96ca-11eb-9c74-da7ad0900002","9b3ab170-b768-11eb-a45a-da7ad0900002","e82bf27a-986c-11eb-9cba-da7ad0900002","f257ba30-dbb2-11ea-a5ff-5fd1d308318a"],"author_name":"Qin Chen","template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"fvm-k7i-ccu","title":"tf-TestAccDatadogDashboardChange-local-1621914723","url":"/dashboard/fvm-k7i-ccu/tf-testaccdatadogdashboardchange-local-1621914723","created_at":"2021-05-25T03:52:04.448966+00:00","modified_at":"2021-05-25T03:52:04.448966+00:00","author_handle":"qin.chen@datadoghq.com","widgets":[{"definition":{"requests":[{"q":"sum:system.cpu.user{*} by {service,account}","show_present":false,"increase_good":false}],"type":"change"},"id":223612619132785},{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test Custom Link label"},{"override_label":"logs","is_hidden":true,"link":"https://app.datadoghq.com/dashboard/lists"}],"title_size":"16","title":"Sum of system.cpu.user over * by service,account","title_align":"left","time":{"live_span":"1h"},"requests":[{"change_type":"absolute","order_dir":"desc","compare_to":"day_before","q":"sum:system.cpu.user{*} by {service,account}","show_present":true,"increase_good":false,"order_by":"change"}],"type":"change"},"id":5919627630787019},{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test Custom Link label"}],"title_size":"16","title":"Sum of system.cpu.user over * by service,account","title_align":"left","time":{"live_span":"1h"},"requests":[{"change_type":"absolute","order_dir":"desc","compare_to":"day_before","q":"sum:system.cpu.user{*} by {service,account}","show_present":true,"increase_good":false,"order_by":"change"}],"type":"change"},"id":7340356459617065}],"layout_type":"ordered"}' headers: Cache-Control: - no-cache @@ -43,12 +28,9 @@ interactions: Content-Type: - application/json Date: - - Thu, 28 Jan 2021 16:44:00 GMT + - Tue, 25 May 2021 03:52:04 GMT Pragma: - no-cache - Set-Cookie: - - DD-PSHARD=233; Max-Age=604800; Path=/; expires=Thu, 04-Feb-2021 16:43:56 GMT; - secure; HttpOnly Strict-Transport-Security: - max-age=15724800; Vary: @@ -56,9 +38,9 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Debug: - - nLnnBNvlCFDECRnZvzDb0z4sAO35G+IMidcAs8vrCKyjvsKWE8Yd9S3n6OjZ1qRN + - JpIJLwIH2nFlZOC+u71rq7aAOL43MLZN3MUsL+gpYHdZz5QLUOG8Jysf8kVK6tPU X-Dd-Version: - - "35.3796727" + - "35.4598224" X-Frame-Options: - SAMEORIGIN status: 200 OK @@ -73,26 +55,11 @@ interactions: Dd-Operation-Id: - GetDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 1.15.0; terraform-cli 0.12.7-sdk) - datadog-api-client-go/1.0.0-beta.14 (go go1.15.4; os darwin; arch amd64) - X-Datadog-Parent-Id: - - "7666263833395106958" - X-Datadog-Sampling-Priority: - - "1" - X-Datadog-Trace-Id: - - "5843149382491789292" - url: https://api.datadoghq.com/api/v1/dashboard/uuw-3pg-534 + - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) + url: https://api.datadoghq.com/api/v1/dashboard/fvm-k7i-ccu 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":"uuw-3pg-534","title":"tf-TestAccDatadogDashboardChange-local-1611850704","url":"/dashboard/uuw-3pg-534/tf-testaccdatadogdashboardchange-local-1611850704","created_at":"2021-01-28T16:43:57.046067+00:00","modified_at":"2021-01-28T16:43:57.046067+00:00","author_handle":"frog@datadoghq.com","widgets":[{"definition":{"requests":[{"q":"sum:system.cpu.user{*} - by {service,account}","show_present":false,"increase_good":false}],"type":"change"},"id":3110332253128132},{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test - Custom Link label"}],"title_size":"16","title":"Sum of system.cpu.user over - * by service,account","title_align":"left","time":{"live_span":"1h"},"requests":[{"change_type":"absolute","order_dir":"desc","compare_to":"day_before","q":"sum:system.cpu.user{*} - by {service,account}","show_present":true,"increase_good":false,"order_by":"change"}],"type":"change"},"id":2019754692625709},{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test - Custom Link label"}],"title_size":"16","title":"Sum of system.cpu.user over - * by service,account","title_align":"left","time":{"live_span":"1h"},"requests":[{"change_type":"absolute","order_dir":"desc","compare_to":"day_before","q":"sum:system.cpu.user{*} - by {service,account}","show_present":true,"increase_good":false,"order_by":"change"}],"type":"change"},"id":3404570797187644}],"layout_type":"ordered"}' + body: '{"notify_list":[],"description":"Created using the Datadog provider in Terraform","restricted_roles":["284d8b66-93f9-11eb-9c37-da7ad0900002","043a2842-e140-11e8-bb04-7fd10177666e","657de3a2-29f8-11eb-83b5-6b8ebfb2f184","e82bf27a-986c-11eb-9cba-da7ad0900002","f257ba30-dbb2-11ea-a5ff-5fd1d308318a","6bf314be-5c16-11eb-8e98-2356ea436065","62cbc476-5c16-11eb-8e98-0388ea7a41f8","08604de8-1dca-11eb-800c-9f5f55ff734d","9b3ab170-b768-11eb-a45a-da7ad0900002","7a83f306-96ca-11eb-9c74-da7ad0900002","16169788-28e4-11eb-832c-fb84162ef3eb","4de53192-9946-11eb-9cee-da7ad0900002","1302282c-b93b-11eb-a436-da7ad0900002","17d73994-7531-11eb-94b9-da7ad0900002"],"author_name":"Qin Chen","template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"fvm-k7i-ccu","title":"tf-TestAccDatadogDashboardChange-local-1621914723","url":"/dashboard/fvm-k7i-ccu/tf-testaccdatadogdashboardchange-local-1621914723","created_at":"2021-05-25T03:52:04.448966+00:00","modified_at":"2021-05-25T03:52:04.448966+00:00","author_handle":"qin.chen@datadoghq.com","widgets":[{"definition":{"requests":[{"q":"sum:system.cpu.user{*} by {service,account}","show_present":false,"increase_good":false}],"type":"change"},"id":223612619132785},{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test Custom Link label"},{"override_label":"logs","is_hidden":true,"link":"https://app.datadoghq.com/dashboard/lists"}],"title_size":"16","title":"Sum of system.cpu.user over * by service,account","title_align":"left","time":{"live_span":"1h"},"requests":[{"change_type":"absolute","order_dir":"desc","compare_to":"day_before","q":"sum:system.cpu.user{*} by {service,account}","show_present":true,"increase_good":false,"order_by":"change"}],"type":"change"},"id":5919627630787019},{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test Custom Link label"}],"title_size":"16","title":"Sum of system.cpu.user over * by service,account","title_align":"left","time":{"live_span":"1h"},"requests":[{"change_type":"absolute","order_dir":"desc","compare_to":"day_before","q":"sum:system.cpu.user{*} by {service,account}","show_present":true,"increase_good":false,"order_by":"change"}],"type":"change"},"id":7340356459617065}],"layout_type":"ordered"}' headers: Cache-Control: - no-cache @@ -103,12 +70,9 @@ interactions: Content-Type: - application/json Date: - - Thu, 28 Jan 2021 16:44:00 GMT + - Tue, 25 May 2021 03:52:04 GMT Pragma: - no-cache - Set-Cookie: - - DD-PSHARD=233; Max-Age=604800; Path=/; expires=Thu, 04-Feb-2021 16:44:00 GMT; - secure; HttpOnly Strict-Transport-Security: - max-age=15724800; Vary: @@ -116,9 +80,9 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Debug: - - F5gm0Rce1/Abr9/0Fw8HAqWfiz0FdiH8er/AXnN6lOn3L6KyGgbsLCwgPlob1No8 + - LcgNasIYBRkNppmD6mCKE9J6iv0eEjosuuHR5V5zw2fWbR54i39C8dhdK8zDq/40 X-Dd-Version: - - "35.3796727" + - "35.4598224" X-Frame-Options: - SAMEORIGIN status: 200 OK @@ -133,26 +97,11 @@ interactions: Dd-Operation-Id: - GetDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 1.15.0; terraform-cli 0.12.7-sdk) - datadog-api-client-go/1.0.0-beta.14 (go go1.15.4; os darwin; arch amd64) - X-Datadog-Parent-Id: - - "4860992487830051307" - X-Datadog-Sampling-Priority: - - "1" - X-Datadog-Trace-Id: - - "5843149382491789292" - url: https://api.datadoghq.com/api/v1/dashboard/uuw-3pg-534 + - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) + url: https://api.datadoghq.com/api/v1/dashboard/fvm-k7i-ccu 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":"uuw-3pg-534","title":"tf-TestAccDatadogDashboardChange-local-1611850704","url":"/dashboard/uuw-3pg-534/tf-testaccdatadogdashboardchange-local-1611850704","created_at":"2021-01-28T16:43:57.046067+00:00","modified_at":"2021-01-28T16:43:57.046067+00:00","author_handle":"frog@datadoghq.com","widgets":[{"definition":{"requests":[{"q":"sum:system.cpu.user{*} - by {service,account}","show_present":false,"increase_good":false}],"type":"change"},"id":3110332253128132},{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test - Custom Link label"}],"title_size":"16","title":"Sum of system.cpu.user over - * by service,account","title_align":"left","time":{"live_span":"1h"},"requests":[{"change_type":"absolute","order_dir":"desc","compare_to":"day_before","q":"sum:system.cpu.user{*} - by {service,account}","show_present":true,"increase_good":false,"order_by":"change"}],"type":"change"},"id":2019754692625709},{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test - Custom Link label"}],"title_size":"16","title":"Sum of system.cpu.user over - * by service,account","title_align":"left","time":{"live_span":"1h"},"requests":[{"change_type":"absolute","order_dir":"desc","compare_to":"day_before","q":"sum:system.cpu.user{*} - by {service,account}","show_present":true,"increase_good":false,"order_by":"change"}],"type":"change"},"id":3404570797187644}],"layout_type":"ordered"}' + body: '{"notify_list":[],"description":"Created using the Datadog provider in Terraform","restricted_roles":["284d8b66-93f9-11eb-9c37-da7ad0900002","043a2842-e140-11e8-bb04-7fd10177666e","657de3a2-29f8-11eb-83b5-6b8ebfb2f184","e82bf27a-986c-11eb-9cba-da7ad0900002","f257ba30-dbb2-11ea-a5ff-5fd1d308318a","6bf314be-5c16-11eb-8e98-2356ea436065","62cbc476-5c16-11eb-8e98-0388ea7a41f8","08604de8-1dca-11eb-800c-9f5f55ff734d","9b3ab170-b768-11eb-a45a-da7ad0900002","7a83f306-96ca-11eb-9c74-da7ad0900002","16169788-28e4-11eb-832c-fb84162ef3eb","4de53192-9946-11eb-9cee-da7ad0900002","1302282c-b93b-11eb-a436-da7ad0900002","17d73994-7531-11eb-94b9-da7ad0900002"],"author_name":"Qin Chen","template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"fvm-k7i-ccu","title":"tf-TestAccDatadogDashboardChange-local-1621914723","url":"/dashboard/fvm-k7i-ccu/tf-testaccdatadogdashboardchange-local-1621914723","created_at":"2021-05-25T03:52:04.448966+00:00","modified_at":"2021-05-25T03:52:04.448966+00:00","author_handle":"qin.chen@datadoghq.com","widgets":[{"definition":{"requests":[{"q":"sum:system.cpu.user{*} by {service,account}","show_present":false,"increase_good":false}],"type":"change"},"id":223612619132785},{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test Custom Link label"},{"override_label":"logs","is_hidden":true,"link":"https://app.datadoghq.com/dashboard/lists"}],"title_size":"16","title":"Sum of system.cpu.user over * by service,account","title_align":"left","time":{"live_span":"1h"},"requests":[{"change_type":"absolute","order_dir":"desc","compare_to":"day_before","q":"sum:system.cpu.user{*} by {service,account}","show_present":true,"increase_good":false,"order_by":"change"}],"type":"change"},"id":5919627630787019},{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test Custom Link label"}],"title_size":"16","title":"Sum of system.cpu.user over * by service,account","title_align":"left","time":{"live_span":"1h"},"requests":[{"change_type":"absolute","order_dir":"desc","compare_to":"day_before","q":"sum:system.cpu.user{*} by {service,account}","show_present":true,"increase_good":false,"order_by":"change"}],"type":"change"},"id":7340356459617065}],"layout_type":"ordered"}' headers: Cache-Control: - no-cache @@ -163,12 +112,9 @@ interactions: Content-Type: - application/json Date: - - Thu, 28 Jan 2021 16:44:05 GMT + - Tue, 25 May 2021 03:52:04 GMT Pragma: - no-cache - Set-Cookie: - - DD-PSHARD=233; Max-Age=604800; Path=/; expires=Thu, 04-Feb-2021 16:44:05 GMT; - secure; HttpOnly Strict-Transport-Security: - max-age=15724800; Vary: @@ -176,9 +122,9 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Debug: - - Um4CoU685QqAscnxhS5BD+goWu2yX1Jd4zCfGzSsEvPPIm1qURZaF8dlLl/OEY4I + - 25u1gDlL724DHllbjFT4BhOLorBTilh+aah2uWAUEjFC/+rjczJdiyWrV/HwLwe/ X-Dd-Version: - - "35.3796727" + - "35.4598224" X-Frame-Options: - SAMEORIGIN status: 200 OK @@ -193,26 +139,11 @@ interactions: Dd-Operation-Id: - GetDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 1.15.0; terraform-cli 0.12.7-sdk) - datadog-api-client-go/1.0.0-beta.14 (go go1.15.4; os darwin; arch amd64) - X-Datadog-Parent-Id: - - "3065467534916572459" - X-Datadog-Sampling-Priority: - - "1" - X-Datadog-Trace-Id: - - "5843149382491789292" - url: https://api.datadoghq.com/api/v1/dashboard/uuw-3pg-534 + - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) + url: https://api.datadoghq.com/api/v1/dashboard/fvm-k7i-ccu 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":"uuw-3pg-534","title":"tf-TestAccDatadogDashboardChange-local-1611850704","url":"/dashboard/uuw-3pg-534/tf-testaccdatadogdashboardchange-local-1611850704","created_at":"2021-01-28T16:43:57.046067+00:00","modified_at":"2021-01-28T16:43:57.046067+00:00","author_handle":"frog@datadoghq.com","widgets":[{"definition":{"requests":[{"q":"sum:system.cpu.user{*} - by {service,account}","show_present":false,"increase_good":false}],"type":"change"},"id":3110332253128132},{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test - Custom Link label"}],"title_size":"16","title":"Sum of system.cpu.user over - * by service,account","title_align":"left","time":{"live_span":"1h"},"requests":[{"change_type":"absolute","order_dir":"desc","compare_to":"day_before","q":"sum:system.cpu.user{*} - by {service,account}","show_present":true,"increase_good":false,"order_by":"change"}],"type":"change"},"id":2019754692625709},{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test - Custom Link label"}],"title_size":"16","title":"Sum of system.cpu.user over - * by service,account","title_align":"left","time":{"live_span":"1h"},"requests":[{"change_type":"absolute","order_dir":"desc","compare_to":"day_before","q":"sum:system.cpu.user{*} - by {service,account}","show_present":true,"increase_good":false,"order_by":"change"}],"type":"change"},"id":3404570797187644}],"layout_type":"ordered"}' + body: '{"notify_list":[],"description":"Created using the Datadog provider in Terraform","restricted_roles":["284d8b66-93f9-11eb-9c37-da7ad0900002","043a2842-e140-11e8-bb04-7fd10177666e","657de3a2-29f8-11eb-83b5-6b8ebfb2f184","e82bf27a-986c-11eb-9cba-da7ad0900002","f257ba30-dbb2-11ea-a5ff-5fd1d308318a","6bf314be-5c16-11eb-8e98-2356ea436065","62cbc476-5c16-11eb-8e98-0388ea7a41f8","08604de8-1dca-11eb-800c-9f5f55ff734d","9b3ab170-b768-11eb-a45a-da7ad0900002","7a83f306-96ca-11eb-9c74-da7ad0900002","16169788-28e4-11eb-832c-fb84162ef3eb","4de53192-9946-11eb-9cee-da7ad0900002","1302282c-b93b-11eb-a436-da7ad0900002","17d73994-7531-11eb-94b9-da7ad0900002"],"author_name":"Qin Chen","template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"fvm-k7i-ccu","title":"tf-TestAccDatadogDashboardChange-local-1621914723","url":"/dashboard/fvm-k7i-ccu/tf-testaccdatadogdashboardchange-local-1621914723","created_at":"2021-05-25T03:52:04.448966+00:00","modified_at":"2021-05-25T03:52:04.448966+00:00","author_handle":"qin.chen@datadoghq.com","widgets":[{"definition":{"requests":[{"q":"sum:system.cpu.user{*} by {service,account}","show_present":false,"increase_good":false}],"type":"change"},"id":223612619132785},{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test Custom Link label"},{"override_label":"logs","is_hidden":true,"link":"https://app.datadoghq.com/dashboard/lists"}],"title_size":"16","title":"Sum of system.cpu.user over * by service,account","title_align":"left","time":{"live_span":"1h"},"requests":[{"change_type":"absolute","order_dir":"desc","compare_to":"day_before","q":"sum:system.cpu.user{*} by {service,account}","show_present":true,"increase_good":false,"order_by":"change"}],"type":"change"},"id":5919627630787019},{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test Custom Link label"}],"title_size":"16","title":"Sum of system.cpu.user over * by service,account","title_align":"left","time":{"live_span":"1h"},"requests":[{"change_type":"absolute","order_dir":"desc","compare_to":"day_before","q":"sum:system.cpu.user{*} by {service,account}","show_present":true,"increase_good":false,"order_by":"change"}],"type":"change"},"id":7340356459617065}],"layout_type":"ordered"}' headers: Cache-Control: - no-cache @@ -223,12 +154,9 @@ interactions: Content-Type: - application/json Date: - - Thu, 28 Jan 2021 16:44:49 GMT + - Tue, 25 May 2021 03:52:05 GMT Pragma: - no-cache - Set-Cookie: - - DD-PSHARD=233; Max-Age=604800; Path=/; expires=Thu, 04-Feb-2021 16:44:49 GMT; - secure; HttpOnly Strict-Transport-Security: - max-age=15724800; Vary: @@ -236,9 +164,9 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Debug: - - B1nwy/pPNqX+q4pQT22cdp1QCexE35IF8qwSHy0Nf7IW0Y881qtn4tXN1lpmzaKc + - fIO2C4qGDheGHy4YbS+r3a3CXbh4cbRo7roILOimQyiHGjQdOat0cIpWCkupM1uX X-Dd-Version: - - "35.3796727" + - "35.4598224" X-Frame-Options: - SAMEORIGIN status: 200 OK @@ -253,26 +181,11 @@ interactions: Dd-Operation-Id: - GetDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 1.15.0; terraform-cli 0.12.7-sdk) - datadog-api-client-go/1.0.0-beta.14 (go go1.15.4; os darwin; arch amd64) - X-Datadog-Parent-Id: - - "4770318777100850077" - X-Datadog-Sampling-Priority: - - "1" - X-Datadog-Trace-Id: - - "5843149382491789292" - url: https://api.datadoghq.com/api/v1/dashboard/uuw-3pg-534 + - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) + url: https://api.datadoghq.com/api/v1/dashboard/fvm-k7i-ccu 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":"uuw-3pg-534","title":"tf-TestAccDatadogDashboardChange-local-1611850704","url":"/dashboard/uuw-3pg-534/tf-testaccdatadogdashboardchange-local-1611850704","created_at":"2021-01-28T16:43:57.046067+00:00","modified_at":"2021-01-28T16:43:57.046067+00:00","author_handle":"frog@datadoghq.com","widgets":[{"definition":{"requests":[{"q":"sum:system.cpu.user{*} - by {service,account}","show_present":false,"increase_good":false}],"type":"change"},"id":3110332253128132},{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test - Custom Link label"}],"title_size":"16","title":"Sum of system.cpu.user over - * by service,account","title_align":"left","time":{"live_span":"1h"},"requests":[{"change_type":"absolute","order_dir":"desc","compare_to":"day_before","q":"sum:system.cpu.user{*} - by {service,account}","show_present":true,"increase_good":false,"order_by":"change"}],"type":"change"},"id":2019754692625709},{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test - Custom Link label"}],"title_size":"16","title":"Sum of system.cpu.user over - * by service,account","title_align":"left","time":{"live_span":"1h"},"requests":[{"change_type":"absolute","order_dir":"desc","compare_to":"day_before","q":"sum:system.cpu.user{*} - by {service,account}","show_present":true,"increase_good":false,"order_by":"change"}],"type":"change"},"id":3404570797187644}],"layout_type":"ordered"}' + body: '{"notify_list":[],"description":"Created using the Datadog provider in Terraform","restricted_roles":["284d8b66-93f9-11eb-9c37-da7ad0900002","043a2842-e140-11e8-bb04-7fd10177666e","657de3a2-29f8-11eb-83b5-6b8ebfb2f184","e82bf27a-986c-11eb-9cba-da7ad0900002","f257ba30-dbb2-11ea-a5ff-5fd1d308318a","6bf314be-5c16-11eb-8e98-2356ea436065","62cbc476-5c16-11eb-8e98-0388ea7a41f8","08604de8-1dca-11eb-800c-9f5f55ff734d","9b3ab170-b768-11eb-a45a-da7ad0900002","7a83f306-96ca-11eb-9c74-da7ad0900002","16169788-28e4-11eb-832c-fb84162ef3eb","4de53192-9946-11eb-9cee-da7ad0900002","1302282c-b93b-11eb-a436-da7ad0900002","17d73994-7531-11eb-94b9-da7ad0900002"],"author_name":"Qin Chen","template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"fvm-k7i-ccu","title":"tf-TestAccDatadogDashboardChange-local-1621914723","url":"/dashboard/fvm-k7i-ccu/tf-testaccdatadogdashboardchange-local-1621914723","created_at":"2021-05-25T03:52:04.448966+00:00","modified_at":"2021-05-25T03:52:04.448966+00:00","author_handle":"qin.chen@datadoghq.com","widgets":[{"definition":{"requests":[{"q":"sum:system.cpu.user{*} by {service,account}","show_present":false,"increase_good":false}],"type":"change"},"id":223612619132785},{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test Custom Link label"},{"override_label":"logs","is_hidden":true,"link":"https://app.datadoghq.com/dashboard/lists"}],"title_size":"16","title":"Sum of system.cpu.user over * by service,account","title_align":"left","time":{"live_span":"1h"},"requests":[{"change_type":"absolute","order_dir":"desc","compare_to":"day_before","q":"sum:system.cpu.user{*} by {service,account}","show_present":true,"increase_good":false,"order_by":"change"}],"type":"change"},"id":5919627630787019},{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test Custom Link label"}],"title_size":"16","title":"Sum of system.cpu.user over * by service,account","title_align":"left","time":{"live_span":"1h"},"requests":[{"change_type":"absolute","order_dir":"desc","compare_to":"day_before","q":"sum:system.cpu.user{*} by {service,account}","show_present":true,"increase_good":false,"order_by":"change"}],"type":"change"},"id":7340356459617065}],"layout_type":"ordered"}' headers: Cache-Control: - no-cache @@ -283,12 +196,9 @@ interactions: Content-Type: - application/json Date: - - Thu, 28 Jan 2021 16:46:05 GMT + - Tue, 25 May 2021 03:52:05 GMT Pragma: - no-cache - Set-Cookie: - - DD-PSHARD=233; Max-Age=604800; Path=/; expires=Thu, 04-Feb-2021 16:46:05 GMT; - secure; HttpOnly Strict-Transport-Security: - max-age=15724800; Vary: @@ -296,9 +206,9 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Debug: - - /L+SFFO+m1pPY+hRCpk5325fvfrNl0KmiquUNJolBN/5hu3HIwflqjZSbJ6NxDFG + - dPySkcOzIZtKyMKDAAzuysY3gNGGj6RtYogGuSb76E8mPvoqzREyRp6lPYm91hQU X-Dd-Version: - - "35.3796727" + - "35.4598224" X-Frame-Options: - SAMEORIGIN status: 200 OK @@ -313,18 +223,11 @@ interactions: Dd-Operation-Id: - DeleteDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 1.15.0; terraform-cli 0.12.7-sdk) - datadog-api-client-go/1.0.0-beta.14 (go go1.15.4; os darwin; arch amd64) - X-Datadog-Parent-Id: - - "2675159928189944347" - X-Datadog-Sampling-Priority: - - "1" - X-Datadog-Trace-Id: - - "5843149382491789292" - url: https://api.datadoghq.com/api/v1/dashboard/uuw-3pg-534 + - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) + url: https://api.datadoghq.com/api/v1/dashboard/fvm-k7i-ccu method: DELETE response: - body: '{"deleted_dashboard_id":"uuw-3pg-534"}' + body: '{"deleted_dashboard_id":"fvm-k7i-ccu"}' headers: Cache-Control: - no-cache @@ -335,12 +238,9 @@ interactions: Content-Type: - application/json Date: - - Thu, 28 Jan 2021 16:47:02 GMT + - Tue, 25 May 2021 03:52:06 GMT Pragma: - no-cache - Set-Cookie: - - DD-PSHARD=233; Max-Age=604800; Path=/; expires=Thu, 04-Feb-2021 16:47:02 GMT; - secure; HttpOnly Strict-Transport-Security: - max-age=15724800; Vary: @@ -348,9 +248,9 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Debug: - - bgHykj7A9bfZx0Y5ZO3swhhp5tGUSNJHqFWR868+qg087CYrDOd5hQslC+noiEtH + - vdJ3/nHEY1ioXQ6pQrBVvsQK1s4yyc+wufBMPSoXql71qZVuP/xMdtNo6DafhOAk X-Dd-Version: - - "35.3796727" + - "35.4598224" X-Frame-Options: - SAMEORIGIN status: 200 OK @@ -365,18 +265,11 @@ interactions: Dd-Operation-Id: - GetDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 1.15.0; terraform-cli 0.12.7-sdk) - datadog-api-client-go/1.0.0-beta.14 (go go1.15.4; os darwin; arch amd64) - X-Datadog-Parent-Id: - - "6281533561525923360" - X-Datadog-Sampling-Priority: - - "1" - X-Datadog-Trace-Id: - - "5843149382491789292" - url: https://api.datadoghq.com/api/v1/dashboard/uuw-3pg-534 + - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) + url: https://api.datadoghq.com/api/v1/dashboard/fvm-k7i-ccu method: GET response: - body: '{"errors": ["Dashboard with ID uuw-3pg-534 not found"]}' + body: '{"errors": ["Dashboard with ID fvm-k7i-ccu not found"]}' headers: Cache-Control: - no-cache @@ -387,7 +280,7 @@ interactions: Content-Type: - application/json Date: - - Thu, 28 Jan 2021 16:47:07 GMT + - Tue, 25 May 2021 03:52:06 GMT Pragma: - no-cache Strict-Transport-Security: @@ -397,7 +290,7 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Version: - - "35.3796727" + - "35.4598224" X-Frame-Options: - SAMEORIGIN status: 404 Not Found diff --git a/datadog/tests/cassettes/TestAccDatadogDashboardChange_import.freeze b/datadog/tests/cassettes/TestAccDatadogDashboardChange_import.freeze index 287650608..a9f2fd36f 100644 --- a/datadog/tests/cassettes/TestAccDatadogDashboardChange_import.freeze +++ b/datadog/tests/cassettes/TestAccDatadogDashboardChange_import.freeze @@ -1 +1 @@ -2020-12-31T15:42:08.103145+01:00 \ No newline at end of file +2021-05-24T23:52:03.508163-04:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogDashboardChange_import.yaml b/datadog/tests/cassettes/TestAccDatadogDashboardChange_import.yaml index db022f64d..8aff4f5af 100644 --- a/datadog/tests/cassettes/TestAccDatadogDashboardChange_import.yaml +++ b/datadog/tests/cassettes/TestAccDatadogDashboardChange_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-TestAccDatadogDashboardChange_import-local-1609425728","widgets":[{"definition":{"requests":[{"increase_good":false,"q":"sum:system.cpu.user{*} by {service,account}","show_present":false}],"type":"change"}},{"definition":{"custom_links":[{"label":"Test Custom Link label","link":"https://app.datadoghq.com/dashboard/lists"}],"requests":[{"change_type":"absolute","compare_to":"day_before","increase_good":false,"order_by":"change","order_dir":"desc","q":"sum:system.cpu.user{*} by {service,account}","show_present":true}],"time":{"live_span":"1h"},"title":"Sum of system.cpu.user over * by service,account","title_align":"left","title_size":"16","type":"change"}}]} + {"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-TestAccDatadogDashboardChange_import-local-1621914723","widgets":[{"definition":{"requests":[{"increase_good":false,"q":"sum:system.cpu.user{*} by {service,account}","show_present":false}],"type":"change"}},{"definition":{"custom_links":[{"label":"Test Custom Link label","link":"https://app.datadoghq.com/dashboard/lists"}],"requests":[{"change_type":"absolute","compare_to":"day_before","increase_good":false,"order_by":"change","order_dir":"desc","q":"sum:system.cpu.user{*} by {service,account}","show_present":true}],"time":{"live_span":"1h"},"title":"Sum of system.cpu.user over * by service,account","title_align":"left","title_size":"16","type":"change"}}]} form: {} headers: Accept: @@ -13,23 +13,11 @@ interactions: Dd-Operation-Id: - CreateDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 1.15.0; terraform-cli 0.12.7-sdk) - datadog-api-client-go/1.0.0-beta.13+dev (go go1.15.4; os darwin; arch amd64) - X-Datadog-Parent-Id: - - "1853406817859842867" - X-Datadog-Sampling-Priority: - - "1" - X-Datadog-Trace-Id: - - "5769151533183827587" + - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) 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":"wkv-yrc-625","title":"tf-TestAccDatadogDashboardChange_import-local-1609425728","url":"/dashboard/wkv-yrc-625/tf-testaccdatadogdashboardchangeimport-local-1609425728","created_at":"2020-12-31T14:52:50.243433+00:00","modified_at":"2020-12-31T14:52:50.243433+00:00","author_handle":"frog@datadoghq.com","widgets":[{"definition":{"requests":[{"q":"sum:system.cpu.user{*} - by {service,account}","show_present":false,"increase_good":false}],"type":"change"},"id":6028833218915409},{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test - Custom Link label"}],"title_size":"16","title":"Sum of system.cpu.user over - * by service,account","title_align":"left","time":{"live_span":"1h"},"requests":[{"change_type":"absolute","order_dir":"desc","compare_to":"day_before","q":"sum:system.cpu.user{*} - by {service,account}","show_present":true,"increase_good":false,"order_by":"change"}],"type":"change"},"id":3813596531466177}],"layout_type":"ordered"}' + body: '{"notify_list":[],"description":"Created using the Datadog provider in Terraform","restricted_roles":["043a2842-e140-11e8-bb04-7fd10177666e","08604de8-1dca-11eb-800c-9f5f55ff734d","1302282c-b93b-11eb-a436-da7ad0900002","16169788-28e4-11eb-832c-fb84162ef3eb","17d73994-7531-11eb-94b9-da7ad0900002","284d8b66-93f9-11eb-9c37-da7ad0900002","4de53192-9946-11eb-9cee-da7ad0900002","62cbc476-5c16-11eb-8e98-0388ea7a41f8","657de3a2-29f8-11eb-83b5-6b8ebfb2f184","6bf314be-5c16-11eb-8e98-2356ea436065","7a83f306-96ca-11eb-9c74-da7ad0900002","9b3ab170-b768-11eb-a45a-da7ad0900002","e82bf27a-986c-11eb-9cba-da7ad0900002","f257ba30-dbb2-11ea-a5ff-5fd1d308318a"],"author_name":"Qin Chen","template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"9nh-ad2-94g","title":"tf-TestAccDatadogDashboardChange_import-local-1621914723","url":"/dashboard/9nh-ad2-94g/tf-testaccdatadogdashboardchangeimport-local-1621914723","created_at":"2021-05-25T03:52:04.449129+00:00","modified_at":"2021-05-25T03:52:04.449129+00:00","author_handle":"qin.chen@datadoghq.com","widgets":[{"definition":{"requests":[{"q":"sum:system.cpu.user{*} by {service,account}","show_present":false,"increase_good":false}],"type":"change"},"id":6589343858674562},{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test Custom Link label"}],"title_size":"16","title":"Sum of system.cpu.user over * by service,account","title_align":"left","time":{"live_span":"1h"},"requests":[{"change_type":"absolute","order_dir":"desc","compare_to":"day_before","q":"sum:system.cpu.user{*} by {service,account}","show_present":true,"increase_good":false,"order_by":"change"}],"type":"change"},"id":6096595797470820}],"layout_type":"ordered"}' headers: Cache-Control: - no-cache @@ -40,12 +28,9 @@ interactions: Content-Type: - application/json Date: - - Thu, 31 Dec 2020 14:52:53 GMT + - Tue, 25 May 2021 03:52:04 GMT Pragma: - no-cache - Set-Cookie: - - DD-PSHARD=233; Max-Age=604800; Path=/; expires=Thu, 07-Jan-2021 14:52:50 GMT; - secure; HttpOnly Strict-Transport-Security: - max-age=15724800; Vary: @@ -53,9 +38,9 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Debug: - - PJZiHVb0oXD9IRg/OcDxfMo7GtrlXRAN6F62/T7X/NaBstj6dM2xawF737azAs+y + - 25u1gDlL724DHllbjFT4BhOLorBTilh+aah2uWAUEjFC/+rjczJdiyWrV/HwLwe/ X-Dd-Version: - - "35.3622023" + - "35.4598224" X-Frame-Options: - SAMEORIGIN status: 200 OK @@ -70,23 +55,11 @@ interactions: Dd-Operation-Id: - GetDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 1.15.0; terraform-cli 0.12.7-sdk) - datadog-api-client-go/1.0.0-beta.13+dev (go go1.15.4; os darwin; arch amd64) - X-Datadog-Parent-Id: - - "5783629463375126940" - X-Datadog-Sampling-Priority: - - "1" - X-Datadog-Trace-Id: - - "5769151533183827587" - url: https://api.datadoghq.com/api/v1/dashboard/wkv-yrc-625 + - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) + url: https://api.datadoghq.com/api/v1/dashboard/9nh-ad2-94g 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":"wkv-yrc-625","title":"tf-TestAccDatadogDashboardChange_import-local-1609425728","url":"/dashboard/wkv-yrc-625/tf-testaccdatadogdashboardchangeimport-local-1609425728","created_at":"2020-12-31T14:52:50.243433+00:00","modified_at":"2020-12-31T14:52:50.243433+00:00","author_handle":"frog@datadoghq.com","widgets":[{"definition":{"requests":[{"q":"sum:system.cpu.user{*} - by {service,account}","show_present":false,"increase_good":false}],"type":"change"},"id":6028833218915409},{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test - Custom Link label"}],"title_size":"16","title":"Sum of system.cpu.user over - * by service,account","title_align":"left","time":{"live_span":"1h"},"requests":[{"change_type":"absolute","order_dir":"desc","compare_to":"day_before","q":"sum:system.cpu.user{*} - by {service,account}","show_present":true,"increase_good":false,"order_by":"change"}],"type":"change"},"id":3813596531466177}],"layout_type":"ordered"}' + body: '{"notify_list":[],"description":"Created using the Datadog provider in Terraform","restricted_roles":["284d8b66-93f9-11eb-9c37-da7ad0900002","043a2842-e140-11e8-bb04-7fd10177666e","657de3a2-29f8-11eb-83b5-6b8ebfb2f184","e82bf27a-986c-11eb-9cba-da7ad0900002","f257ba30-dbb2-11ea-a5ff-5fd1d308318a","6bf314be-5c16-11eb-8e98-2356ea436065","62cbc476-5c16-11eb-8e98-0388ea7a41f8","08604de8-1dca-11eb-800c-9f5f55ff734d","9b3ab170-b768-11eb-a45a-da7ad0900002","7a83f306-96ca-11eb-9c74-da7ad0900002","16169788-28e4-11eb-832c-fb84162ef3eb","4de53192-9946-11eb-9cee-da7ad0900002","1302282c-b93b-11eb-a436-da7ad0900002","17d73994-7531-11eb-94b9-da7ad0900002"],"author_name":"Qin Chen","template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"9nh-ad2-94g","title":"tf-TestAccDatadogDashboardChange_import-local-1621914723","url":"/dashboard/9nh-ad2-94g/tf-testaccdatadogdashboardchangeimport-local-1621914723","created_at":"2021-05-25T03:52:04.449129+00:00","modified_at":"2021-05-25T03:52:04.449129+00:00","author_handle":"qin.chen@datadoghq.com","widgets":[{"definition":{"requests":[{"q":"sum:system.cpu.user{*} by {service,account}","show_present":false,"increase_good":false}],"type":"change"},"id":6589343858674562},{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test Custom Link label"}],"title_size":"16","title":"Sum of system.cpu.user over * by service,account","title_align":"left","time":{"live_span":"1h"},"requests":[{"change_type":"absolute","order_dir":"desc","compare_to":"day_before","q":"sum:system.cpu.user{*} by {service,account}","show_present":true,"increase_good":false,"order_by":"change"}],"type":"change"},"id":6096595797470820}],"layout_type":"ordered"}' headers: Cache-Control: - no-cache @@ -97,12 +70,9 @@ interactions: Content-Type: - application/json Date: - - Thu, 31 Dec 2020 14:52:53 GMT + - Tue, 25 May 2021 03:52:04 GMT Pragma: - no-cache - Set-Cookie: - - DD-PSHARD=233; Max-Age=604800; Path=/; expires=Thu, 07-Jan-2021 14:52:53 GMT; - secure; HttpOnly Strict-Transport-Security: - max-age=15724800; Vary: @@ -110,9 +80,9 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Debug: - - FHfHzbfIddsg0sQ7IeNBOxLqb5wz+d6n32kEDCDFZtJpoagPnr4KgZnA3JebHBTT + - F5gm0Rce1/Abr9/0Fw8HAqWfiz0FdiH8er/AXnN6lOn3L6KyGgbsLCwgPlob1No8 X-Dd-Version: - - "35.3622023" + - "35.4598224" X-Frame-Options: - SAMEORIGIN status: 200 OK @@ -127,23 +97,11 @@ interactions: Dd-Operation-Id: - GetDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 1.15.0; terraform-cli 0.12.7-sdk) - datadog-api-client-go/1.0.0-beta.13+dev (go go1.15.4; os darwin; arch amd64) - X-Datadog-Parent-Id: - - "9156044777915634943" - X-Datadog-Sampling-Priority: - - "1" - X-Datadog-Trace-Id: - - "5769151533183827587" - url: https://api.datadoghq.com/api/v1/dashboard/wkv-yrc-625 + - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) + url: https://api.datadoghq.com/api/v1/dashboard/9nh-ad2-94g 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":"wkv-yrc-625","title":"tf-TestAccDatadogDashboardChange_import-local-1609425728","url":"/dashboard/wkv-yrc-625/tf-testaccdatadogdashboardchangeimport-local-1609425728","created_at":"2020-12-31T14:52:50.243433+00:00","modified_at":"2020-12-31T14:52:50.243433+00:00","author_handle":"frog@datadoghq.com","widgets":[{"definition":{"requests":[{"q":"sum:system.cpu.user{*} - by {service,account}","show_present":false,"increase_good":false}],"type":"change"},"id":6028833218915409},{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test - Custom Link label"}],"title_size":"16","title":"Sum of system.cpu.user over - * by service,account","title_align":"left","time":{"live_span":"1h"},"requests":[{"change_type":"absolute","order_dir":"desc","compare_to":"day_before","q":"sum:system.cpu.user{*} - by {service,account}","show_present":true,"increase_good":false,"order_by":"change"}],"type":"change"},"id":3813596531466177}],"layout_type":"ordered"}' + body: '{"notify_list":[],"description":"Created using the Datadog provider in Terraform","restricted_roles":["284d8b66-93f9-11eb-9c37-da7ad0900002","043a2842-e140-11e8-bb04-7fd10177666e","657de3a2-29f8-11eb-83b5-6b8ebfb2f184","e82bf27a-986c-11eb-9cba-da7ad0900002","f257ba30-dbb2-11ea-a5ff-5fd1d308318a","6bf314be-5c16-11eb-8e98-2356ea436065","62cbc476-5c16-11eb-8e98-0388ea7a41f8","08604de8-1dca-11eb-800c-9f5f55ff734d","9b3ab170-b768-11eb-a45a-da7ad0900002","7a83f306-96ca-11eb-9c74-da7ad0900002","16169788-28e4-11eb-832c-fb84162ef3eb","4de53192-9946-11eb-9cee-da7ad0900002","1302282c-b93b-11eb-a436-da7ad0900002","17d73994-7531-11eb-94b9-da7ad0900002"],"author_name":"Qin Chen","template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"9nh-ad2-94g","title":"tf-TestAccDatadogDashboardChange_import-local-1621914723","url":"/dashboard/9nh-ad2-94g/tf-testaccdatadogdashboardchangeimport-local-1621914723","created_at":"2021-05-25T03:52:04.449129+00:00","modified_at":"2021-05-25T03:52:04.449129+00:00","author_handle":"qin.chen@datadoghq.com","widgets":[{"definition":{"requests":[{"q":"sum:system.cpu.user{*} by {service,account}","show_present":false,"increase_good":false}],"type":"change"},"id":6589343858674562},{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test Custom Link label"}],"title_size":"16","title":"Sum of system.cpu.user over * by service,account","title_align":"left","time":{"live_span":"1h"},"requests":[{"change_type":"absolute","order_dir":"desc","compare_to":"day_before","q":"sum:system.cpu.user{*} by {service,account}","show_present":true,"increase_good":false,"order_by":"change"}],"type":"change"},"id":6096595797470820}],"layout_type":"ordered"}' headers: Cache-Control: - no-cache @@ -154,12 +112,9 @@ interactions: Content-Type: - application/json Date: - - Thu, 31 Dec 2020 14:53:00 GMT + - Tue, 25 May 2021 03:52:05 GMT Pragma: - no-cache - Set-Cookie: - - DD-PSHARD=233; Max-Age=604800; Path=/; expires=Thu, 07-Jan-2021 14:53:00 GMT; - secure; HttpOnly Strict-Transport-Security: - max-age=15724800; Vary: @@ -167,9 +122,9 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Debug: - - x0lXQI7rzyICHjQ6egBdIXvv6oH1uc+zPjPKGBnD3VLYo8imKB14VpRl9Uf7xZN/ + - nLnnBNvlCFDECRnZvzDb0z4sAO35G+IMidcAs8vrCKyjvsKWE8Yd9S3n6OjZ1qRN X-Dd-Version: - - "35.3622023" + - "35.4598224" X-Frame-Options: - SAMEORIGIN status: 200 OK @@ -184,23 +139,11 @@ interactions: Dd-Operation-Id: - GetDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 1.15.0; terraform-cli 0.12.7-sdk) - datadog-api-client-go/1.0.0-beta.13+dev (go go1.15.4; os darwin; arch amd64) - X-Datadog-Parent-Id: - - "6391889243783665519" - X-Datadog-Sampling-Priority: - - "1" - X-Datadog-Trace-Id: - - "5769151533183827587" - url: https://api.datadoghq.com/api/v1/dashboard/wkv-yrc-625 + - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) + url: https://api.datadoghq.com/api/v1/dashboard/9nh-ad2-94g 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":"wkv-yrc-625","title":"tf-TestAccDatadogDashboardChange_import-local-1609425728","url":"/dashboard/wkv-yrc-625/tf-testaccdatadogdashboardchangeimport-local-1609425728","created_at":"2020-12-31T14:52:50.243433+00:00","modified_at":"2020-12-31T14:52:50.243433+00:00","author_handle":"frog@datadoghq.com","widgets":[{"definition":{"requests":[{"q":"sum:system.cpu.user{*} - by {service,account}","show_present":false,"increase_good":false}],"type":"change"},"id":6028833218915409},{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test - Custom Link label"}],"title_size":"16","title":"Sum of system.cpu.user over - * by service,account","title_align":"left","time":{"live_span":"1h"},"requests":[{"change_type":"absolute","order_dir":"desc","compare_to":"day_before","q":"sum:system.cpu.user{*} - by {service,account}","show_present":true,"increase_good":false,"order_by":"change"}],"type":"change"},"id":3813596531466177}],"layout_type":"ordered"}' + body: '{"notify_list":[],"description":"Created using the Datadog provider in Terraform","restricted_roles":["284d8b66-93f9-11eb-9c37-da7ad0900002","043a2842-e140-11e8-bb04-7fd10177666e","657de3a2-29f8-11eb-83b5-6b8ebfb2f184","e82bf27a-986c-11eb-9cba-da7ad0900002","f257ba30-dbb2-11ea-a5ff-5fd1d308318a","6bf314be-5c16-11eb-8e98-2356ea436065","62cbc476-5c16-11eb-8e98-0388ea7a41f8","08604de8-1dca-11eb-800c-9f5f55ff734d","9b3ab170-b768-11eb-a45a-da7ad0900002","7a83f306-96ca-11eb-9c74-da7ad0900002","16169788-28e4-11eb-832c-fb84162ef3eb","4de53192-9946-11eb-9cee-da7ad0900002","1302282c-b93b-11eb-a436-da7ad0900002","17d73994-7531-11eb-94b9-da7ad0900002"],"author_name":"Qin Chen","template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"9nh-ad2-94g","title":"tf-TestAccDatadogDashboardChange_import-local-1621914723","url":"/dashboard/9nh-ad2-94g/tf-testaccdatadogdashboardchangeimport-local-1621914723","created_at":"2021-05-25T03:52:04.449129+00:00","modified_at":"2021-05-25T03:52:04.449129+00:00","author_handle":"qin.chen@datadoghq.com","widgets":[{"definition":{"requests":[{"q":"sum:system.cpu.user{*} by {service,account}","show_present":false,"increase_good":false}],"type":"change"},"id":6589343858674562},{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test Custom Link label"}],"title_size":"16","title":"Sum of system.cpu.user over * by service,account","title_align":"left","time":{"live_span":"1h"},"requests":[{"change_type":"absolute","order_dir":"desc","compare_to":"day_before","q":"sum:system.cpu.user{*} by {service,account}","show_present":true,"increase_good":false,"order_by":"change"}],"type":"change"},"id":6096595797470820}],"layout_type":"ordered"}' headers: Cache-Control: - no-cache @@ -211,12 +154,9 @@ interactions: Content-Type: - application/json Date: - - Thu, 31 Dec 2020 14:53:06 GMT + - Tue, 25 May 2021 03:52:05 GMT Pragma: - no-cache - Set-Cookie: - - DD-PSHARD=233; Max-Age=604800; Path=/; expires=Thu, 07-Jan-2021 14:53:06 GMT; - secure; HttpOnly Strict-Transport-Security: - max-age=15724800; Vary: @@ -224,9 +164,9 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Debug: - - ERAR+wIpkUrPjdmF8Izu2K5/ZMTkW0RxdMJp2EI5/HgIxQDnb5krpGDLSDYaD2KU + - Wjq53IVIwnB4SiR238oOYgHFMq/ZYP0LQ/Dv8C2fFLBwTje/dWJHu6pI6vIOK1zG X-Dd-Version: - - "35.3622023" + - "35.4598224" X-Frame-Options: - SAMEORIGIN status: 200 OK @@ -241,23 +181,11 @@ interactions: Dd-Operation-Id: - GetDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 1.15.0; terraform-cli 0.12.7-sdk) - datadog-api-client-go/1.0.0-beta.13+dev (go go1.15.4; os darwin; arch amd64) - X-Datadog-Parent-Id: - - "5646558347051298009" - X-Datadog-Sampling-Priority: - - "1" - X-Datadog-Trace-Id: - - "5769151533183827587" - url: https://api.datadoghq.com/api/v1/dashboard/wkv-yrc-625 + - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) + url: https://api.datadoghq.com/api/v1/dashboard/9nh-ad2-94g 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":"wkv-yrc-625","title":"tf-TestAccDatadogDashboardChange_import-local-1609425728","url":"/dashboard/wkv-yrc-625/tf-testaccdatadogdashboardchangeimport-local-1609425728","created_at":"2020-12-31T14:52:50.243433+00:00","modified_at":"2020-12-31T14:52:50.243433+00:00","author_handle":"frog@datadoghq.com","widgets":[{"definition":{"requests":[{"q":"sum:system.cpu.user{*} - by {service,account}","show_present":false,"increase_good":false}],"type":"change"},"id":6028833218915409},{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test - Custom Link label"}],"title_size":"16","title":"Sum of system.cpu.user over - * by service,account","title_align":"left","time":{"live_span":"1h"},"requests":[{"change_type":"absolute","order_dir":"desc","compare_to":"day_before","q":"sum:system.cpu.user{*} - by {service,account}","show_present":true,"increase_good":false,"order_by":"change"}],"type":"change"},"id":3813596531466177}],"layout_type":"ordered"}' + body: '{"notify_list":[],"description":"Created using the Datadog provider in Terraform","restricted_roles":["284d8b66-93f9-11eb-9c37-da7ad0900002","043a2842-e140-11e8-bb04-7fd10177666e","657de3a2-29f8-11eb-83b5-6b8ebfb2f184","e82bf27a-986c-11eb-9cba-da7ad0900002","f257ba30-dbb2-11ea-a5ff-5fd1d308318a","6bf314be-5c16-11eb-8e98-2356ea436065","62cbc476-5c16-11eb-8e98-0388ea7a41f8","08604de8-1dca-11eb-800c-9f5f55ff734d","9b3ab170-b768-11eb-a45a-da7ad0900002","7a83f306-96ca-11eb-9c74-da7ad0900002","16169788-28e4-11eb-832c-fb84162ef3eb","4de53192-9946-11eb-9cee-da7ad0900002","1302282c-b93b-11eb-a436-da7ad0900002","17d73994-7531-11eb-94b9-da7ad0900002"],"author_name":"Qin Chen","template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"9nh-ad2-94g","title":"tf-TestAccDatadogDashboardChange_import-local-1621914723","url":"/dashboard/9nh-ad2-94g/tf-testaccdatadogdashboardchangeimport-local-1621914723","created_at":"2021-05-25T03:52:04.449129+00:00","modified_at":"2021-05-25T03:52:04.449129+00:00","author_handle":"qin.chen@datadoghq.com","widgets":[{"definition":{"requests":[{"q":"sum:system.cpu.user{*} by {service,account}","show_present":false,"increase_good":false}],"type":"change"},"id":6589343858674562},{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test Custom Link label"}],"title_size":"16","title":"Sum of system.cpu.user over * by service,account","title_align":"left","time":{"live_span":"1h"},"requests":[{"change_type":"absolute","order_dir":"desc","compare_to":"day_before","q":"sum:system.cpu.user{*} by {service,account}","show_present":true,"increase_good":false,"order_by":"change"}],"type":"change"},"id":6096595797470820}],"layout_type":"ordered"}' headers: Cache-Control: - no-cache @@ -268,12 +196,9 @@ interactions: Content-Type: - application/json Date: - - Thu, 31 Dec 2020 14:53:07 GMT + - Tue, 25 May 2021 03:52:05 GMT Pragma: - no-cache - Set-Cookie: - - DD-PSHARD=233; Max-Age=604800; Path=/; expires=Thu, 07-Jan-2021 14:53:07 GMT; - secure; HttpOnly Strict-Transport-Security: - max-age=15724800; Vary: @@ -281,9 +206,9 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Debug: - - O3O7xE5uwHtX7J0LqZ8TwbNGWo9Sdsox9lgU7fr/GZp13UzdkbKQZW76fPVpoSDj + - nLnnBNvlCFDECRnZvzDb0z4sAO35G+IMidcAs8vrCKyjvsKWE8Yd9S3n6OjZ1qRN X-Dd-Version: - - "35.3622023" + - "35.4598224" X-Frame-Options: - SAMEORIGIN status: 200 OK @@ -298,23 +223,11 @@ interactions: Dd-Operation-Id: - GetDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 1.15.0; terraform-cli 0.12.7-sdk) - datadog-api-client-go/1.0.0-beta.13+dev (go go1.15.4; os darwin; arch amd64) - X-Datadog-Parent-Id: - - "1396954380889078408" - X-Datadog-Sampling-Priority: - - "1" - X-Datadog-Trace-Id: - - "5769151533183827587" - url: https://api.datadoghq.com/api/v1/dashboard/wkv-yrc-625 + - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) + url: https://api.datadoghq.com/api/v1/dashboard/9nh-ad2-94g 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":"wkv-yrc-625","title":"tf-TestAccDatadogDashboardChange_import-local-1609425728","url":"/dashboard/wkv-yrc-625/tf-testaccdatadogdashboardchangeimport-local-1609425728","created_at":"2020-12-31T14:52:50.243433+00:00","modified_at":"2020-12-31T14:52:50.243433+00:00","author_handle":"frog@datadoghq.com","widgets":[{"definition":{"requests":[{"q":"sum:system.cpu.user{*} - by {service,account}","show_present":false,"increase_good":false}],"type":"change"},"id":6028833218915409},{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test - Custom Link label"}],"title_size":"16","title":"Sum of system.cpu.user over - * by service,account","title_align":"left","time":{"live_span":"1h"},"requests":[{"change_type":"absolute","order_dir":"desc","compare_to":"day_before","q":"sum:system.cpu.user{*} - by {service,account}","show_present":true,"increase_good":false,"order_by":"change"}],"type":"change"},"id":3813596531466177}],"layout_type":"ordered"}' + body: '{"notify_list":[],"description":"Created using the Datadog provider in Terraform","restricted_roles":["284d8b66-93f9-11eb-9c37-da7ad0900002","043a2842-e140-11e8-bb04-7fd10177666e","657de3a2-29f8-11eb-83b5-6b8ebfb2f184","e82bf27a-986c-11eb-9cba-da7ad0900002","f257ba30-dbb2-11ea-a5ff-5fd1d308318a","6bf314be-5c16-11eb-8e98-2356ea436065","62cbc476-5c16-11eb-8e98-0388ea7a41f8","08604de8-1dca-11eb-800c-9f5f55ff734d","9b3ab170-b768-11eb-a45a-da7ad0900002","7a83f306-96ca-11eb-9c74-da7ad0900002","16169788-28e4-11eb-832c-fb84162ef3eb","4de53192-9946-11eb-9cee-da7ad0900002","1302282c-b93b-11eb-a436-da7ad0900002","17d73994-7531-11eb-94b9-da7ad0900002"],"author_name":"Qin Chen","template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"9nh-ad2-94g","title":"tf-TestAccDatadogDashboardChange_import-local-1621914723","url":"/dashboard/9nh-ad2-94g/tf-testaccdatadogdashboardchangeimport-local-1621914723","created_at":"2021-05-25T03:52:04.449129+00:00","modified_at":"2021-05-25T03:52:04.449129+00:00","author_handle":"qin.chen@datadoghq.com","widgets":[{"definition":{"requests":[{"q":"sum:system.cpu.user{*} by {service,account}","show_present":false,"increase_good":false}],"type":"change"},"id":6589343858674562},{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test Custom Link label"}],"title_size":"16","title":"Sum of system.cpu.user over * by service,account","title_align":"left","time":{"live_span":"1h"},"requests":[{"change_type":"absolute","order_dir":"desc","compare_to":"day_before","q":"sum:system.cpu.user{*} by {service,account}","show_present":true,"increase_good":false,"order_by":"change"}],"type":"change"},"id":6096595797470820}],"layout_type":"ordered"}' headers: Cache-Control: - no-cache @@ -325,12 +238,9 @@ interactions: Content-Type: - application/json Date: - - Thu, 31 Dec 2020 14:53:10 GMT + - Tue, 25 May 2021 03:52:05 GMT Pragma: - no-cache - Set-Cookie: - - DD-PSHARD=233; Max-Age=604800; Path=/; expires=Thu, 07-Jan-2021 14:53:10 GMT; - secure; HttpOnly Strict-Transport-Security: - max-age=15724800; Vary: @@ -338,9 +248,9 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Debug: - - sNqZRJv4/cBfvxvWCdEugoEuJbBVq4bkZ/uRRvyXEc9lrDGBw7yRKeuVLRAm5ziA + - tpRCH6w417YjBovRJ8VmtuXmNONVYiRp2c8d2AxjPdGBn8PCtgG4vAztrx3qUZAN X-Dd-Version: - - "34.3622270" + - "35.4598224" X-Frame-Options: - SAMEORIGIN status: 200 OK @@ -355,18 +265,11 @@ interactions: Dd-Operation-Id: - DeleteDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 1.15.0; terraform-cli 0.12.7-sdk) - datadog-api-client-go/1.0.0-beta.13+dev (go go1.15.4; os darwin; arch amd64) - X-Datadog-Parent-Id: - - "2064907982149854901" - X-Datadog-Sampling-Priority: - - "1" - X-Datadog-Trace-Id: - - "5769151533183827587" - url: https://api.datadoghq.com/api/v1/dashboard/wkv-yrc-625 + - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) + url: https://api.datadoghq.com/api/v1/dashboard/9nh-ad2-94g method: DELETE response: - body: '{"deleted_dashboard_id":"wkv-yrc-625"}' + body: '{"deleted_dashboard_id":"9nh-ad2-94g"}' headers: Cache-Control: - no-cache @@ -377,12 +280,9 @@ interactions: Content-Type: - application/json Date: - - Thu, 31 Dec 2020 14:53:13 GMT + - Tue, 25 May 2021 03:52:06 GMT Pragma: - no-cache - Set-Cookie: - - DD-PSHARD=233; Max-Age=604800; Path=/; expires=Thu, 07-Jan-2021 14:53:13 GMT; - secure; HttpOnly Strict-Transport-Security: - max-age=15724800; Vary: @@ -390,9 +290,9 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Debug: - - 35J49GdWRZ44BXWQv5M8k5DMOKDsnUL/+b8VnKl01OT828ngNdfZvXJ9jRXKLHFA + - bgHykj7A9bfZx0Y5ZO3swhhp5tGUSNJHqFWR868+qg087CYrDOd5hQslC+noiEtH X-Dd-Version: - - "35.3622023" + - "35.4598224" X-Frame-Options: - SAMEORIGIN status: 200 OK @@ -407,18 +307,11 @@ interactions: Dd-Operation-Id: - GetDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 1.15.0; terraform-cli 0.12.7-sdk) - datadog-api-client-go/1.0.0-beta.13+dev (go go1.15.4; os darwin; arch amd64) - X-Datadog-Parent-Id: - - "416394946025378214" - X-Datadog-Sampling-Priority: - - "1" - X-Datadog-Trace-Id: - - "5769151533183827587" - url: https://api.datadoghq.com/api/v1/dashboard/wkv-yrc-625 + - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) + url: https://api.datadoghq.com/api/v1/dashboard/9nh-ad2-94g method: GET response: - body: '{"errors": ["Dashboard with ID wkv-yrc-625 not found"]}' + body: '{"errors": ["Dashboard with ID 9nh-ad2-94g not found"]}' headers: Cache-Control: - no-cache @@ -429,7 +322,7 @@ interactions: Content-Type: - application/json Date: - - Thu, 31 Dec 2020 14:53:14 GMT + - Tue, 25 May 2021 03:52:06 GMT Pragma: - no-cache Strict-Transport-Security: @@ -439,7 +332,7 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Version: - - "35.3622023" + - "35.4598224" X-Frame-Options: - SAMEORIGIN status: 404 Not Found diff --git a/datadog/tests/cassettes/TestAccDatadogDashboardHeatMap.freeze b/datadog/tests/cassettes/TestAccDatadogDashboardHeatMap.freeze index 74f1eb009..df6920f32 100644 --- a/datadog/tests/cassettes/TestAccDatadogDashboardHeatMap.freeze +++ b/datadog/tests/cassettes/TestAccDatadogDashboardHeatMap.freeze @@ -1 +1 @@ -2021-01-28T17:18:25.050258+01:00 \ No newline at end of file +2021-05-24T23:51:35.838656-04:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogDashboardHeatMap.yaml b/datadog/tests/cassettes/TestAccDatadogDashboardHeatMap.yaml index 4ff104ca9..4560c5d03 100644 --- a/datadog/tests/cassettes/TestAccDatadogDashboardHeatMap.yaml +++ b/datadog/tests/cassettes/TestAccDatadogDashboardHeatMap.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-TestAccDatadogDashboardHeatMap-local-1611850705","widgets":[{"definition":{"custom_links":[{"label":"Test Custom Link label","link":"https://app.datadoghq.com/dashboard/lists"}],"events":[{"q":"env:prod","tags_execution":"and"}],"legend_size":"2","requests":[{"q":"avg:system.cpu.user{account:prod} by {app}","style":{"palette":"blue"}}],"show_legend":true,"time":{"live_span":"1mo"},"title":"Avg of system.cpu.user over account:prod by app","title_align":"center","title_size":"16","type":"heatmap","yaxis":{"include_zero":false,"max":"100"}}},{"definition":{"custom_links":[{"label":"Test Custom Link label","link":"https://app.datadoghq.com/dashboard/lists"}],"events":[{"q":"env:prod","tags_execution":"and"}],"legend_size":"2","requests":[{"q":"avg:system.cpu.user{account:prod} by {app}","style":{"palette":"blue"}}],"show_legend":true,"time":{"live_span":"1mo"},"title":"Avg of system.cpu.user over account:prod by app","title_align":"center","title_size":"16","type":"heatmap","yaxis":{"include_zero":false,"max":"100"}}}]} + {"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-TestAccDatadogDashboardHeatMap-local-1621914695","widgets":[{"definition":{"custom_links":[{"label":"Test Custom Link label","link":"https://app.datadoghq.com/dashboard/lists"},{"is_hidden":true,"link":"https://app.datadoghq.com/dashboard/lists","override_label":"logs"}],"events":[{"q":"env:prod","tags_execution":"and"}],"legend_size":"2","requests":[{"q":"avg:system.cpu.user{account:prod} by {app}","style":{"palette":"blue"}}],"show_legend":true,"time":{"live_span":"1mo"},"title":"Avg of system.cpu.user over account:prod by app","title_align":"center","title_size":"16","type":"heatmap","yaxis":{"include_zero":false,"max":"100"}}},{"definition":{"custom_links":[{"label":"Test Custom Link label","link":"https://app.datadoghq.com/dashboard/lists"}],"events":[{"q":"env:prod","tags_execution":"and"}],"legend_size":"2","requests":[{"q":"avg:system.cpu.user{account:prod} by {app}","style":{"palette":"blue"}}],"show_legend":true,"time":{"live_span":"1mo"},"title":"Avg of system.cpu.user over account:prod by app","title_align":"center","title_size":"16","type":"heatmap","yaxis":{"include_zero":false,"max":"100"}}}]} form: {} headers: Accept: @@ -13,25 +13,11 @@ interactions: Dd-Operation-Id: - CreateDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 1.15.0; terraform-cli 0.12.7-sdk) - datadog-api-client-go/1.0.0-beta.14 (go go1.15.4; os darwin; arch amd64) - X-Datadog-Parent-Id: - - "5999241310095311328" - X-Datadog-Sampling-Priority: - - "1" - X-Datadog-Trace-Id: - - "5891668597073950423" + - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) 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":"7bt-j9y-cz2","title":"tf-TestAccDatadogDashboardHeatMap-local-1611850705","url":"/dashboard/7bt-j9y-cz2/tf-testaccdatadogdashboardheatmap-local-1611850705","created_at":"2021-01-28T16:30:16.239397+00:00","modified_at":"2021-01-28T16:30:16.239397+00:00","author_handle":"frog@datadoghq.com","widgets":[{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test - Custom Link label"}],"title_size":"16","yaxis":{"include_zero":false,"max":"100"},"title_align":"center","events":[{"q":"env:prod","tags_execution":"and"}],"show_legend":true,"time":{"live_span":"1mo"},"title":"Avg - of system.cpu.user over account:prod by app","legend_size":"2","type":"heatmap","requests":[{"q":"avg:system.cpu.user{account:prod} - by {app}","style":{"palette":"blue"}}]},"id":4585604018940408},{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test - Custom Link label"}],"title_size":"16","yaxis":{"include_zero":false,"max":"100"},"title_align":"center","events":[{"q":"env:prod","tags_execution":"and"}],"show_legend":true,"time":{"live_span":"1mo"},"title":"Avg - of system.cpu.user over account:prod by app","legend_size":"2","type":"heatmap","requests":[{"q":"avg:system.cpu.user{account:prod} - by {app}","style":{"palette":"blue"}}]},"id":3903032546507783}],"layout_type":"ordered"}' + body: '{"notify_list":[],"description":"Created using the Datadog provider in Terraform","restricted_roles":["043a2842-e140-11e8-bb04-7fd10177666e","08604de8-1dca-11eb-800c-9f5f55ff734d","1302282c-b93b-11eb-a436-da7ad0900002","16169788-28e4-11eb-832c-fb84162ef3eb","17d73994-7531-11eb-94b9-da7ad0900002","284d8b66-93f9-11eb-9c37-da7ad0900002","4de53192-9946-11eb-9cee-da7ad0900002","62cbc476-5c16-11eb-8e98-0388ea7a41f8","657de3a2-29f8-11eb-83b5-6b8ebfb2f184","6bf314be-5c16-11eb-8e98-2356ea436065","7a83f306-96ca-11eb-9c74-da7ad0900002","9b3ab170-b768-11eb-a45a-da7ad0900002","e82bf27a-986c-11eb-9cba-da7ad0900002","f257ba30-dbb2-11ea-a5ff-5fd1d308318a"],"author_name":"Qin Chen","template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"r8f-d5p-tcz","title":"tf-TestAccDatadogDashboardHeatMap-local-1621914695","url":"/dashboard/r8f-d5p-tcz/tf-testaccdatadogdashboardheatmap-local-1621914695","created_at":"2021-05-25T03:51:36.720832+00:00","modified_at":"2021-05-25T03:51:36.720832+00:00","author_handle":"qin.chen@datadoghq.com","widgets":[{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test Custom Link label"},{"override_label":"logs","is_hidden":true,"link":"https://app.datadoghq.com/dashboard/lists"}],"title_size":"16","yaxis":{"include_zero":false,"max":"100"},"title_align":"center","events":[{"q":"env:prod","tags_execution":"and"}],"show_legend":true,"time":{"live_span":"1mo"},"title":"Avg of system.cpu.user over account:prod by app","legend_size":"2","type":"heatmap","requests":[{"q":"avg:system.cpu.user{account:prod} by {app}","style":{"palette":"blue"}}]},"id":8472616716509628},{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test Custom Link label"}],"title_size":"16","yaxis":{"include_zero":false,"max":"100"},"title_align":"center","events":[{"q":"env:prod","tags_execution":"and"}],"show_legend":true,"time":{"live_span":"1mo"},"title":"Avg of system.cpu.user over account:prod by app","legend_size":"2","type":"heatmap","requests":[{"q":"avg:system.cpu.user{account:prod} by {app}","style":{"palette":"blue"}}]},"id":5611659858621408}],"layout_type":"ordered"}' headers: Cache-Control: - no-cache @@ -42,12 +28,9 @@ interactions: Content-Type: - application/json Date: - - Thu, 28 Jan 2021 16:30:18 GMT + - Tue, 25 May 2021 03:51:36 GMT Pragma: - no-cache - Set-Cookie: - - DD-PSHARD=233; Max-Age=604800; Path=/; expires=Thu, 04-Feb-2021 16:30:16 GMT; - secure; HttpOnly Strict-Transport-Security: - max-age=15724800; Vary: @@ -55,9 +38,9 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Debug: - - fIO2C4qGDheGHy4YbS+r3a3CXbh4cbRo7roILOimQyiHGjQdOat0cIpWCkupM1uX + - 2328yjLSqI4XmR1pVqrPRR/SFcQsbafjEpPmZx7/3PfxUK1nJQQsX+wrMelyVyj+ X-Dd-Version: - - "35.3796727" + - "35.4598224" X-Frame-Options: - SAMEORIGIN status: 200 OK @@ -72,25 +55,11 @@ interactions: Dd-Operation-Id: - GetDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 1.15.0; terraform-cli 0.12.7-sdk) - datadog-api-client-go/1.0.0-beta.14 (go go1.15.4; os darwin; arch amd64) - X-Datadog-Parent-Id: - - "2988234453758747373" - X-Datadog-Sampling-Priority: - - "1" - X-Datadog-Trace-Id: - - "5891668597073950423" - url: https://api.datadoghq.com/api/v1/dashboard/7bt-j9y-cz2 + - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) + url: https://api.datadoghq.com/api/v1/dashboard/r8f-d5p-tcz 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":"7bt-j9y-cz2","title":"tf-TestAccDatadogDashboardHeatMap-local-1611850705","url":"/dashboard/7bt-j9y-cz2/tf-testaccdatadogdashboardheatmap-local-1611850705","created_at":"2021-01-28T16:30:16.239397+00:00","modified_at":"2021-01-28T16:30:16.239397+00:00","author_handle":"frog@datadoghq.com","widgets":[{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test - Custom Link label"}],"title_size":"16","yaxis":{"include_zero":false,"max":"100"},"title_align":"center","events":[{"q":"env:prod","tags_execution":"and"}],"show_legend":true,"time":{"live_span":"1mo"},"title":"Avg - of system.cpu.user over account:prod by app","legend_size":"2","type":"heatmap","requests":[{"q":"avg:system.cpu.user{account:prod} - by {app}","style":{"palette":"blue"}}]},"id":4585604018940408},{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test - Custom Link label"}],"title_size":"16","yaxis":{"include_zero":false,"max":"100"},"title_align":"center","events":[{"q":"env:prod","tags_execution":"and"}],"show_legend":true,"time":{"live_span":"1mo"},"title":"Avg - of system.cpu.user over account:prod by app","legend_size":"2","type":"heatmap","requests":[{"q":"avg:system.cpu.user{account:prod} - by {app}","style":{"palette":"blue"}}]},"id":3903032546507783}],"layout_type":"ordered"}' + body: '{"notify_list":[],"description":"Created using the Datadog provider in Terraform","restricted_roles":["284d8b66-93f9-11eb-9c37-da7ad0900002","043a2842-e140-11e8-bb04-7fd10177666e","657de3a2-29f8-11eb-83b5-6b8ebfb2f184","e82bf27a-986c-11eb-9cba-da7ad0900002","f257ba30-dbb2-11ea-a5ff-5fd1d308318a","6bf314be-5c16-11eb-8e98-2356ea436065","62cbc476-5c16-11eb-8e98-0388ea7a41f8","08604de8-1dca-11eb-800c-9f5f55ff734d","9b3ab170-b768-11eb-a45a-da7ad0900002","7a83f306-96ca-11eb-9c74-da7ad0900002","16169788-28e4-11eb-832c-fb84162ef3eb","4de53192-9946-11eb-9cee-da7ad0900002","1302282c-b93b-11eb-a436-da7ad0900002","17d73994-7531-11eb-94b9-da7ad0900002"],"author_name":"Qin Chen","template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"r8f-d5p-tcz","title":"tf-TestAccDatadogDashboardHeatMap-local-1621914695","url":"/dashboard/r8f-d5p-tcz/tf-testaccdatadogdashboardheatmap-local-1621914695","created_at":"2021-05-25T03:51:36.720832+00:00","modified_at":"2021-05-25T03:51:36.720832+00:00","author_handle":"qin.chen@datadoghq.com","widgets":[{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test Custom Link label"},{"override_label":"logs","is_hidden":true,"link":"https://app.datadoghq.com/dashboard/lists"}],"title_size":"16","yaxis":{"include_zero":false,"max":"100"},"title_align":"center","events":[{"q":"env:prod","tags_execution":"and"}],"show_legend":true,"time":{"live_span":"1mo"},"title":"Avg of system.cpu.user over account:prod by app","legend_size":"2","type":"heatmap","requests":[{"q":"avg:system.cpu.user{account:prod} by {app}","style":{"palette":"blue"}}]},"id":8472616716509628},{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test Custom Link label"}],"title_size":"16","yaxis":{"include_zero":false,"max":"100"},"title_align":"center","events":[{"q":"env:prod","tags_execution":"and"}],"show_legend":true,"time":{"live_span":"1mo"},"title":"Avg of system.cpu.user over account:prod by app","legend_size":"2","type":"heatmap","requests":[{"q":"avg:system.cpu.user{account:prod} by {app}","style":{"palette":"blue"}}]},"id":5611659858621408}],"layout_type":"ordered"}' headers: Cache-Control: - no-cache @@ -101,12 +70,9 @@ interactions: Content-Type: - application/json Date: - - Thu, 28 Jan 2021 16:30:18 GMT + - Tue, 25 May 2021 03:51:36 GMT Pragma: - no-cache - Set-Cookie: - - DD-PSHARD=233; Max-Age=604800; Path=/; expires=Thu, 04-Feb-2021 16:30:18 GMT; - secure; HttpOnly Strict-Transport-Security: - max-age=15724800; Vary: @@ -114,9 +80,9 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Debug: - - dPySkcOzIZtKyMKDAAzuysY3gNGGj6RtYogGuSb76E8mPvoqzREyRp6lPYm91hQU + - nLnnBNvlCFDECRnZvzDb0z4sAO35G+IMidcAs8vrCKyjvsKWE8Yd9S3n6OjZ1qRN X-Dd-Version: - - "35.3796727" + - "35.4598224" X-Frame-Options: - SAMEORIGIN status: 200 OK @@ -131,25 +97,11 @@ interactions: Dd-Operation-Id: - GetDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 1.15.0; terraform-cli 0.12.7-sdk) - datadog-api-client-go/1.0.0-beta.14 (go go1.15.4; os darwin; arch amd64) - X-Datadog-Parent-Id: - - "1977841625779192068" - X-Datadog-Sampling-Priority: - - "1" - X-Datadog-Trace-Id: - - "5891668597073950423" - url: https://api.datadoghq.com/api/v1/dashboard/7bt-j9y-cz2 + - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) + url: https://api.datadoghq.com/api/v1/dashboard/r8f-d5p-tcz 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":"7bt-j9y-cz2","title":"tf-TestAccDatadogDashboardHeatMap-local-1611850705","url":"/dashboard/7bt-j9y-cz2/tf-testaccdatadogdashboardheatmap-local-1611850705","created_at":"2021-01-28T16:30:16.239397+00:00","modified_at":"2021-01-28T16:30:16.239397+00:00","author_handle":"frog@datadoghq.com","widgets":[{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test - Custom Link label"}],"title_size":"16","yaxis":{"include_zero":false,"max":"100"},"title_align":"center","events":[{"q":"env:prod","tags_execution":"and"}],"show_legend":true,"time":{"live_span":"1mo"},"title":"Avg - of system.cpu.user over account:prod by app","legend_size":"2","type":"heatmap","requests":[{"q":"avg:system.cpu.user{account:prod} - by {app}","style":{"palette":"blue"}}]},"id":4585604018940408},{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test - Custom Link label"}],"title_size":"16","yaxis":{"include_zero":false,"max":"100"},"title_align":"center","events":[{"q":"env:prod","tags_execution":"and"}],"show_legend":true,"time":{"live_span":"1mo"},"title":"Avg - of system.cpu.user over account:prod by app","legend_size":"2","type":"heatmap","requests":[{"q":"avg:system.cpu.user{account:prod} - by {app}","style":{"palette":"blue"}}]},"id":3903032546507783}],"layout_type":"ordered"}' + body: '{"notify_list":[],"description":"Created using the Datadog provider in Terraform","restricted_roles":["284d8b66-93f9-11eb-9c37-da7ad0900002","043a2842-e140-11e8-bb04-7fd10177666e","657de3a2-29f8-11eb-83b5-6b8ebfb2f184","e82bf27a-986c-11eb-9cba-da7ad0900002","f257ba30-dbb2-11ea-a5ff-5fd1d308318a","6bf314be-5c16-11eb-8e98-2356ea436065","62cbc476-5c16-11eb-8e98-0388ea7a41f8","08604de8-1dca-11eb-800c-9f5f55ff734d","9b3ab170-b768-11eb-a45a-da7ad0900002","7a83f306-96ca-11eb-9c74-da7ad0900002","16169788-28e4-11eb-832c-fb84162ef3eb","4de53192-9946-11eb-9cee-da7ad0900002","1302282c-b93b-11eb-a436-da7ad0900002","17d73994-7531-11eb-94b9-da7ad0900002"],"author_name":"Qin Chen","template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"r8f-d5p-tcz","title":"tf-TestAccDatadogDashboardHeatMap-local-1621914695","url":"/dashboard/r8f-d5p-tcz/tf-testaccdatadogdashboardheatmap-local-1621914695","created_at":"2021-05-25T03:51:36.720832+00:00","modified_at":"2021-05-25T03:51:36.720832+00:00","author_handle":"qin.chen@datadoghq.com","widgets":[{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test Custom Link label"},{"override_label":"logs","is_hidden":true,"link":"https://app.datadoghq.com/dashboard/lists"}],"title_size":"16","yaxis":{"include_zero":false,"max":"100"},"title_align":"center","events":[{"q":"env:prod","tags_execution":"and"}],"show_legend":true,"time":{"live_span":"1mo"},"title":"Avg of system.cpu.user over account:prod by app","legend_size":"2","type":"heatmap","requests":[{"q":"avg:system.cpu.user{account:prod} by {app}","style":{"palette":"blue"}}]},"id":8472616716509628},{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test Custom Link label"}],"title_size":"16","yaxis":{"include_zero":false,"max":"100"},"title_align":"center","events":[{"q":"env:prod","tags_execution":"and"}],"show_legend":true,"time":{"live_span":"1mo"},"title":"Avg of system.cpu.user over account:prod by app","legend_size":"2","type":"heatmap","requests":[{"q":"avg:system.cpu.user{account:prod} by {app}","style":{"palette":"blue"}}]},"id":5611659858621408}],"layout_type":"ordered"}' headers: Cache-Control: - no-cache @@ -160,12 +112,9 @@ interactions: Content-Type: - application/json Date: - - Thu, 28 Jan 2021 16:30:22 GMT + - Tue, 25 May 2021 03:51:37 GMT Pragma: - no-cache - Set-Cookie: - - DD-PSHARD=233; Max-Age=604800; Path=/; expires=Thu, 04-Feb-2021 16:30:22 GMT; - secure; HttpOnly Strict-Transport-Security: - max-age=15724800; Vary: @@ -173,9 +122,9 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Debug: - - F5gm0Rce1/Abr9/0Fw8HAqWfiz0FdiH8er/AXnN6lOn3L6KyGgbsLCwgPlob1No8 + - dCmL/3rURV6BPeaqeP3Rxigq41m5CAb17XjrRE42uZ01zpr07HVhbL5/3TWMkvgu X-Dd-Version: - - "35.3796727" + - "35.4598224" X-Frame-Options: - SAMEORIGIN status: 200 OK @@ -190,25 +139,11 @@ interactions: Dd-Operation-Id: - GetDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 1.15.0; terraform-cli 0.12.7-sdk) - datadog-api-client-go/1.0.0-beta.14 (go go1.15.4; os darwin; arch amd64) - X-Datadog-Parent-Id: - - "3175188000611291445" - X-Datadog-Sampling-Priority: - - "1" - X-Datadog-Trace-Id: - - "5891668597073950423" - url: https://api.datadoghq.com/api/v1/dashboard/7bt-j9y-cz2 + - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) + url: https://api.datadoghq.com/api/v1/dashboard/r8f-d5p-tcz 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":"7bt-j9y-cz2","title":"tf-TestAccDatadogDashboardHeatMap-local-1611850705","url":"/dashboard/7bt-j9y-cz2/tf-testaccdatadogdashboardheatmap-local-1611850705","created_at":"2021-01-28T16:30:16.239397+00:00","modified_at":"2021-01-28T16:30:16.239397+00:00","author_handle":"frog@datadoghq.com","widgets":[{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test - Custom Link label"}],"title_size":"16","yaxis":{"include_zero":false,"max":"100"},"title_align":"center","events":[{"q":"env:prod","tags_execution":"and"}],"show_legend":true,"time":{"live_span":"1mo"},"title":"Avg - of system.cpu.user over account:prod by app","legend_size":"2","type":"heatmap","requests":[{"q":"avg:system.cpu.user{account:prod} - by {app}","style":{"palette":"blue"}}]},"id":4585604018940408},{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test - Custom Link label"}],"title_size":"16","yaxis":{"include_zero":false,"max":"100"},"title_align":"center","events":[{"q":"env:prod","tags_execution":"and"}],"show_legend":true,"time":{"live_span":"1mo"},"title":"Avg - of system.cpu.user over account:prod by app","legend_size":"2","type":"heatmap","requests":[{"q":"avg:system.cpu.user{account:prod} - by {app}","style":{"palette":"blue"}}]},"id":3903032546507783}],"layout_type":"ordered"}' + body: '{"notify_list":[],"description":"Created using the Datadog provider in Terraform","restricted_roles":["284d8b66-93f9-11eb-9c37-da7ad0900002","043a2842-e140-11e8-bb04-7fd10177666e","657de3a2-29f8-11eb-83b5-6b8ebfb2f184","e82bf27a-986c-11eb-9cba-da7ad0900002","f257ba30-dbb2-11ea-a5ff-5fd1d308318a","6bf314be-5c16-11eb-8e98-2356ea436065","62cbc476-5c16-11eb-8e98-0388ea7a41f8","08604de8-1dca-11eb-800c-9f5f55ff734d","9b3ab170-b768-11eb-a45a-da7ad0900002","7a83f306-96ca-11eb-9c74-da7ad0900002","16169788-28e4-11eb-832c-fb84162ef3eb","4de53192-9946-11eb-9cee-da7ad0900002","1302282c-b93b-11eb-a436-da7ad0900002","17d73994-7531-11eb-94b9-da7ad0900002"],"author_name":"Qin Chen","template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"r8f-d5p-tcz","title":"tf-TestAccDatadogDashboardHeatMap-local-1621914695","url":"/dashboard/r8f-d5p-tcz/tf-testaccdatadogdashboardheatmap-local-1621914695","created_at":"2021-05-25T03:51:36.720832+00:00","modified_at":"2021-05-25T03:51:36.720832+00:00","author_handle":"qin.chen@datadoghq.com","widgets":[{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test Custom Link label"},{"override_label":"logs","is_hidden":true,"link":"https://app.datadoghq.com/dashboard/lists"}],"title_size":"16","yaxis":{"include_zero":false,"max":"100"},"title_align":"center","events":[{"q":"env:prod","tags_execution":"and"}],"show_legend":true,"time":{"live_span":"1mo"},"title":"Avg of system.cpu.user over account:prod by app","legend_size":"2","type":"heatmap","requests":[{"q":"avg:system.cpu.user{account:prod} by {app}","style":{"palette":"blue"}}]},"id":8472616716509628},{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test Custom Link label"}],"title_size":"16","yaxis":{"include_zero":false,"max":"100"},"title_align":"center","events":[{"q":"env:prod","tags_execution":"and"}],"show_legend":true,"time":{"live_span":"1mo"},"title":"Avg of system.cpu.user over account:prod by app","legend_size":"2","type":"heatmap","requests":[{"q":"avg:system.cpu.user{account:prod} by {app}","style":{"palette":"blue"}}]},"id":5611659858621408}],"layout_type":"ordered"}' headers: Cache-Control: - no-cache @@ -219,12 +154,9 @@ interactions: Content-Type: - application/json Date: - - Thu, 28 Jan 2021 16:30:41 GMT + - Tue, 25 May 2021 03:51:37 GMT Pragma: - no-cache - Set-Cookie: - - DD-PSHARD=233; Max-Age=604800; Path=/; expires=Thu, 04-Feb-2021 16:30:41 GMT; - secure; HttpOnly Strict-Transport-Security: - max-age=15724800; Vary: @@ -232,9 +164,9 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Debug: - - l8RQo2maZqJf6GFThBbKNE6dvthz6njusVtau3dPXJWL2RLFoN81H+BLPB/1xgs1 + - LcgNasIYBRkNppmD6mCKE9J6iv0eEjosuuHR5V5zw2fWbR54i39C8dhdK8zDq/40 X-Dd-Version: - - "35.3796727" + - "35.4598224" X-Frame-Options: - SAMEORIGIN status: 200 OK @@ -249,25 +181,11 @@ interactions: Dd-Operation-Id: - GetDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 1.15.0; terraform-cli 0.12.7-sdk) - datadog-api-client-go/1.0.0-beta.14 (go go1.15.4; os darwin; arch amd64) - X-Datadog-Parent-Id: - - "6853614977436934061" - X-Datadog-Sampling-Priority: - - "1" - X-Datadog-Trace-Id: - - "5891668597073950423" - url: https://api.datadoghq.com/api/v1/dashboard/7bt-j9y-cz2 + - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) + url: https://api.datadoghq.com/api/v1/dashboard/r8f-d5p-tcz 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":"7bt-j9y-cz2","title":"tf-TestAccDatadogDashboardHeatMap-local-1611850705","url":"/dashboard/7bt-j9y-cz2/tf-testaccdatadogdashboardheatmap-local-1611850705","created_at":"2021-01-28T16:30:16.239397+00:00","modified_at":"2021-01-28T16:30:16.239397+00:00","author_handle":"frog@datadoghq.com","widgets":[{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test - Custom Link label"}],"title_size":"16","yaxis":{"include_zero":false,"max":"100"},"title_align":"center","events":[{"q":"env:prod","tags_execution":"and"}],"show_legend":true,"time":{"live_span":"1mo"},"title":"Avg - of system.cpu.user over account:prod by app","legend_size":"2","type":"heatmap","requests":[{"q":"avg:system.cpu.user{account:prod} - by {app}","style":{"palette":"blue"}}]},"id":4585604018940408},{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test - Custom Link label"}],"title_size":"16","yaxis":{"include_zero":false,"max":"100"},"title_align":"center","events":[{"q":"env:prod","tags_execution":"and"}],"show_legend":true,"time":{"live_span":"1mo"},"title":"Avg - of system.cpu.user over account:prod by app","legend_size":"2","type":"heatmap","requests":[{"q":"avg:system.cpu.user{account:prod} - by {app}","style":{"palette":"blue"}}]},"id":3903032546507783}],"layout_type":"ordered"}' + body: '{"notify_list":[],"description":"Created using the Datadog provider in Terraform","restricted_roles":["284d8b66-93f9-11eb-9c37-da7ad0900002","043a2842-e140-11e8-bb04-7fd10177666e","657de3a2-29f8-11eb-83b5-6b8ebfb2f184","e82bf27a-986c-11eb-9cba-da7ad0900002","f257ba30-dbb2-11ea-a5ff-5fd1d308318a","6bf314be-5c16-11eb-8e98-2356ea436065","62cbc476-5c16-11eb-8e98-0388ea7a41f8","08604de8-1dca-11eb-800c-9f5f55ff734d","9b3ab170-b768-11eb-a45a-da7ad0900002","7a83f306-96ca-11eb-9c74-da7ad0900002","16169788-28e4-11eb-832c-fb84162ef3eb","4de53192-9946-11eb-9cee-da7ad0900002","1302282c-b93b-11eb-a436-da7ad0900002","17d73994-7531-11eb-94b9-da7ad0900002"],"author_name":"Qin Chen","template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"r8f-d5p-tcz","title":"tf-TestAccDatadogDashboardHeatMap-local-1621914695","url":"/dashboard/r8f-d5p-tcz/tf-testaccdatadogdashboardheatmap-local-1621914695","created_at":"2021-05-25T03:51:36.720832+00:00","modified_at":"2021-05-25T03:51:36.720832+00:00","author_handle":"qin.chen@datadoghq.com","widgets":[{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test Custom Link label"},{"override_label":"logs","is_hidden":true,"link":"https://app.datadoghq.com/dashboard/lists"}],"title_size":"16","yaxis":{"include_zero":false,"max":"100"},"title_align":"center","events":[{"q":"env:prod","tags_execution":"and"}],"show_legend":true,"time":{"live_span":"1mo"},"title":"Avg of system.cpu.user over account:prod by app","legend_size":"2","type":"heatmap","requests":[{"q":"avg:system.cpu.user{account:prod} by {app}","style":{"palette":"blue"}}]},"id":8472616716509628},{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test Custom Link label"}],"title_size":"16","yaxis":{"include_zero":false,"max":"100"},"title_align":"center","events":[{"q":"env:prod","tags_execution":"and"}],"show_legend":true,"time":{"live_span":"1mo"},"title":"Avg of system.cpu.user over account:prod by app","legend_size":"2","type":"heatmap","requests":[{"q":"avg:system.cpu.user{account:prod} by {app}","style":{"palette":"blue"}}]},"id":5611659858621408}],"layout_type":"ordered"}' headers: Cache-Control: - no-cache @@ -278,12 +196,9 @@ interactions: Content-Type: - application/json Date: - - Thu, 28 Jan 2021 16:31:08 GMT + - Tue, 25 May 2021 03:51:38 GMT Pragma: - no-cache - Set-Cookie: - - DD-PSHARD=233; Max-Age=604800; Path=/; expires=Thu, 04-Feb-2021 16:31:08 GMT; - secure; HttpOnly Strict-Transport-Security: - max-age=15724800; Vary: @@ -291,9 +206,9 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Debug: - - Um4CoU685QqAscnxhS5BD+goWu2yX1Jd4zCfGzSsEvPPIm1qURZaF8dlLl/OEY4I + - PhosSd3Ch1B6B0DXI71steKUi7XhPDttnPiIP1NdXTw0VJNWpoUnYyBmODS5ne3q X-Dd-Version: - - "35.3796727" + - "35.4598224" X-Frame-Options: - SAMEORIGIN status: 200 OK @@ -308,18 +223,11 @@ interactions: Dd-Operation-Id: - DeleteDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 1.15.0; terraform-cli 0.12.7-sdk) - datadog-api-client-go/1.0.0-beta.14 (go go1.15.4; os darwin; arch amd64) - X-Datadog-Parent-Id: - - "5871179064288638447" - X-Datadog-Sampling-Priority: - - "1" - X-Datadog-Trace-Id: - - "5891668597073950423" - url: https://api.datadoghq.com/api/v1/dashboard/7bt-j9y-cz2 + - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) + url: https://api.datadoghq.com/api/v1/dashboard/r8f-d5p-tcz method: DELETE response: - body: '{"deleted_dashboard_id":"7bt-j9y-cz2"}' + body: '{"deleted_dashboard_id":"r8f-d5p-tcz"}' headers: Cache-Control: - no-cache @@ -330,12 +238,9 @@ interactions: Content-Type: - application/json Date: - - Thu, 28 Jan 2021 16:31:27 GMT + - Tue, 25 May 2021 03:51:38 GMT Pragma: - no-cache - Set-Cookie: - - DD-PSHARD=233; Max-Age=604800; Path=/; expires=Thu, 04-Feb-2021 16:31:27 GMT; - secure; HttpOnly Strict-Transport-Security: - max-age=15724800; Vary: @@ -343,9 +248,9 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Debug: - - dCmL/3rURV6BPeaqeP3Rxigq41m5CAb17XjrRE42uZ01zpr07HVhbL5/3TWMkvgu + - /L+SFFO+m1pPY+hRCpk5325fvfrNl0KmiquUNJolBN/5hu3HIwflqjZSbJ6NxDFG X-Dd-Version: - - "35.3796727" + - "35.4598224" X-Frame-Options: - SAMEORIGIN status: 200 OK @@ -360,18 +265,11 @@ interactions: Dd-Operation-Id: - GetDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 1.15.0; terraform-cli 0.12.7-sdk) - datadog-api-client-go/1.0.0-beta.14 (go go1.15.4; os darwin; arch amd64) - X-Datadog-Parent-Id: - - "1413959832923641636" - X-Datadog-Sampling-Priority: - - "1" - X-Datadog-Trace-Id: - - "5891668597073950423" - url: https://api.datadoghq.com/api/v1/dashboard/7bt-j9y-cz2 + - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) + url: https://api.datadoghq.com/api/v1/dashboard/r8f-d5p-tcz method: GET response: - body: '{"errors": ["Dashboard with ID 7bt-j9y-cz2 not found"]}' + body: '{"errors": ["Dashboard with ID r8f-d5p-tcz not found"]}' headers: Cache-Control: - no-cache @@ -382,7 +280,7 @@ interactions: Content-Type: - application/json Date: - - Thu, 28 Jan 2021 16:31:33 GMT + - Tue, 25 May 2021 03:51:38 GMT Pragma: - no-cache Strict-Transport-Security: @@ -392,7 +290,7 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Version: - - "35.3796727" + - "35.4598224" X-Frame-Options: - SAMEORIGIN status: 404 Not Found diff --git a/datadog/tests/cassettes/TestAccDatadogDashboardHeatMap_import.freeze b/datadog/tests/cassettes/TestAccDatadogDashboardHeatMap_import.freeze index 259275627..79f323d66 100644 --- a/datadog/tests/cassettes/TestAccDatadogDashboardHeatMap_import.freeze +++ b/datadog/tests/cassettes/TestAccDatadogDashboardHeatMap_import.freeze @@ -1 +1 @@ -2020-12-31T15:42:08.128735+01:00 \ No newline at end of file +2021-05-24T23:51:35.837768-04:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogDashboardHeatMap_import.yaml b/datadog/tests/cassettes/TestAccDatadogDashboardHeatMap_import.yaml index 69b9d3282..93786ddec 100644 --- a/datadog/tests/cassettes/TestAccDatadogDashboardHeatMap_import.yaml +++ b/datadog/tests/cassettes/TestAccDatadogDashboardHeatMap_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-TestAccDatadogDashboardHeatMap_import-local-1609425728","widgets":[{"definition":{"custom_links":[{"label":"Test Custom Link label","link":"https://app.datadoghq.com/dashboard/lists"}],"events":[{"q":"env:prod","tags_execution":"and"}],"legend_size":"2","requests":[{"q":"avg:system.cpu.user{account:prod} by {app}","style":{"palette":"blue"}}],"show_legend":true,"time":{"live_span":"1mo"},"title":"Avg of system.cpu.user over account:prod by app","title_align":"center","title_size":"16","type":"heatmap","yaxis":{"include_zero":false,"max":"100"}}}]} + {"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-TestAccDatadogDashboardHeatMap_import-local-1621914695","widgets":[{"definition":{"custom_links":[{"label":"Test Custom Link label","link":"https://app.datadoghq.com/dashboard/lists"}],"events":[{"q":"env:prod","tags_execution":"and"}],"legend_size":"2","requests":[{"q":"avg:system.cpu.user{account:prod} by {app}","style":{"palette":"blue"}}],"show_legend":true,"time":{"live_span":"1mo"},"title":"Avg of system.cpu.user over account:prod by app","title_align":"center","title_size":"16","type":"heatmap","yaxis":{"include_zero":false,"max":"100"}}}]} form: {} headers: Accept: @@ -13,22 +13,11 @@ interactions: Dd-Operation-Id: - CreateDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 1.15.0; terraform-cli 0.12.7-sdk) - datadog-api-client-go/1.0.0-beta.13+dev (go go1.15.4; os darwin; arch amd64) - X-Datadog-Parent-Id: - - "3234382076819980218" - X-Datadog-Sampling-Priority: - - "1" - X-Datadog-Trace-Id: - - "6732252647846019286" + - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) 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":"yez-qg9-8fv","title":"tf-TestAccDatadogDashboardHeatMap_import-local-1609425728","url":"/dashboard/yez-qg9-8fv/tf-testaccdatadogdashboardheatmapimport-local-1609425728","created_at":"2020-12-31T14:45:08.676029+00:00","modified_at":"2020-12-31T14:45:08.676029+00:00","author_handle":"frog@datadoghq.com","widgets":[{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test - Custom Link label"}],"title_size":"16","yaxis":{"include_zero":false,"max":"100"},"title_align":"center","events":[{"q":"env:prod","tags_execution":"and"}],"show_legend":true,"time":{"live_span":"1mo"},"title":"Avg - of system.cpu.user over account:prod by app","legend_size":"2","type":"heatmap","requests":[{"q":"avg:system.cpu.user{account:prod} - by {app}","style":{"palette":"blue"}}]},"id":8106593886592065}],"layout_type":"ordered"}' + body: '{"notify_list":[],"description":"Created using the Datadog provider in Terraform","restricted_roles":["043a2842-e140-11e8-bb04-7fd10177666e","08604de8-1dca-11eb-800c-9f5f55ff734d","1302282c-b93b-11eb-a436-da7ad0900002","16169788-28e4-11eb-832c-fb84162ef3eb","17d73994-7531-11eb-94b9-da7ad0900002","284d8b66-93f9-11eb-9c37-da7ad0900002","4de53192-9946-11eb-9cee-da7ad0900002","62cbc476-5c16-11eb-8e98-0388ea7a41f8","657de3a2-29f8-11eb-83b5-6b8ebfb2f184","6bf314be-5c16-11eb-8e98-2356ea436065","7a83f306-96ca-11eb-9c74-da7ad0900002","9b3ab170-b768-11eb-a45a-da7ad0900002","e82bf27a-986c-11eb-9cba-da7ad0900002","f257ba30-dbb2-11ea-a5ff-5fd1d308318a"],"author_name":"Qin Chen","template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"j2z-f9y-tt6","title":"tf-TestAccDatadogDashboardHeatMap_import-local-1621914695","url":"/dashboard/j2z-f9y-tt6/tf-testaccdatadogdashboardheatmapimport-local-1621914695","created_at":"2021-05-25T03:51:36.723858+00:00","modified_at":"2021-05-25T03:51:36.723858+00:00","author_handle":"qin.chen@datadoghq.com","widgets":[{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test Custom Link label"}],"title_size":"16","yaxis":{"include_zero":false,"max":"100"},"title_align":"center","events":[{"q":"env:prod","tags_execution":"and"}],"show_legend":true,"time":{"live_span":"1mo"},"title":"Avg of system.cpu.user over account:prod by app","legend_size":"2","type":"heatmap","requests":[{"q":"avg:system.cpu.user{account:prod} by {app}","style":{"palette":"blue"}}]},"id":7743778383511924}],"layout_type":"ordered"}' headers: Cache-Control: - no-cache @@ -39,12 +28,9 @@ interactions: Content-Type: - application/json Date: - - Thu, 31 Dec 2020 14:45:11 GMT + - Tue, 25 May 2021 03:51:36 GMT Pragma: - no-cache - Set-Cookie: - - DD-PSHARD=233; Max-Age=604800; Path=/; expires=Thu, 07-Jan-2021 14:45:08 GMT; - secure; HttpOnly Strict-Transport-Security: - max-age=15724800; Vary: @@ -52,9 +38,9 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Debug: - - s8aX5NtChXwcC0ZqCGPgUtbvI/yT4gadlVvE6/Mqbm4BIdrCBC60TudMJNU/SbvE + - 2328yjLSqI4XmR1pVqrPRR/SFcQsbafjEpPmZx7/3PfxUK1nJQQsX+wrMelyVyj+ X-Dd-Version: - - "35.3622023" + - "35.4598224" X-Frame-Options: - SAMEORIGIN status: 200 OK @@ -69,22 +55,11 @@ interactions: Dd-Operation-Id: - GetDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 1.15.0; terraform-cli 0.12.7-sdk) - datadog-api-client-go/1.0.0-beta.13+dev (go go1.15.4; os darwin; arch amd64) - X-Datadog-Parent-Id: - - "8167564615853058123" - X-Datadog-Sampling-Priority: - - "1" - X-Datadog-Trace-Id: - - "6732252647846019286" - url: https://api.datadoghq.com/api/v1/dashboard/yez-qg9-8fv + - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) + url: https://api.datadoghq.com/api/v1/dashboard/j2z-f9y-tt6 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":"yez-qg9-8fv","title":"tf-TestAccDatadogDashboardHeatMap_import-local-1609425728","url":"/dashboard/yez-qg9-8fv/tf-testaccdatadogdashboardheatmapimport-local-1609425728","created_at":"2020-12-31T14:45:08.676029+00:00","modified_at":"2020-12-31T14:45:08.676029+00:00","author_handle":"frog@datadoghq.com","widgets":[{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test - Custom Link label"}],"title_size":"16","yaxis":{"include_zero":false,"max":"100"},"title_align":"center","events":[{"q":"env:prod","tags_execution":"and"}],"show_legend":true,"time":{"live_span":"1mo"},"title":"Avg - of system.cpu.user over account:prod by app","legend_size":"2","type":"heatmap","requests":[{"q":"avg:system.cpu.user{account:prod} - by {app}","style":{"palette":"blue"}}]},"id":8106593886592065}],"layout_type":"ordered"}' + body: '{"notify_list":[],"description":"Created using the Datadog provider in Terraform","restricted_roles":["284d8b66-93f9-11eb-9c37-da7ad0900002","043a2842-e140-11e8-bb04-7fd10177666e","657de3a2-29f8-11eb-83b5-6b8ebfb2f184","e82bf27a-986c-11eb-9cba-da7ad0900002","f257ba30-dbb2-11ea-a5ff-5fd1d308318a","6bf314be-5c16-11eb-8e98-2356ea436065","62cbc476-5c16-11eb-8e98-0388ea7a41f8","08604de8-1dca-11eb-800c-9f5f55ff734d","9b3ab170-b768-11eb-a45a-da7ad0900002","7a83f306-96ca-11eb-9c74-da7ad0900002","16169788-28e4-11eb-832c-fb84162ef3eb","4de53192-9946-11eb-9cee-da7ad0900002","1302282c-b93b-11eb-a436-da7ad0900002","17d73994-7531-11eb-94b9-da7ad0900002"],"author_name":"Qin Chen","template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"j2z-f9y-tt6","title":"tf-TestAccDatadogDashboardHeatMap_import-local-1621914695","url":"/dashboard/j2z-f9y-tt6/tf-testaccdatadogdashboardheatmapimport-local-1621914695","created_at":"2021-05-25T03:51:36.723858+00:00","modified_at":"2021-05-25T03:51:36.723858+00:00","author_handle":"qin.chen@datadoghq.com","widgets":[{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test Custom Link label"}],"title_size":"16","yaxis":{"include_zero":false,"max":"100"},"title_align":"center","events":[{"q":"env:prod","tags_execution":"and"}],"show_legend":true,"time":{"live_span":"1mo"},"title":"Avg of system.cpu.user over account:prod by app","legend_size":"2","type":"heatmap","requests":[{"q":"avg:system.cpu.user{account:prod} by {app}","style":{"palette":"blue"}}]},"id":7743778383511924}],"layout_type":"ordered"}' headers: Cache-Control: - no-cache @@ -95,12 +70,9 @@ interactions: Content-Type: - application/json Date: - - Thu, 31 Dec 2020 14:45:11 GMT + - Tue, 25 May 2021 03:51:36 GMT Pragma: - no-cache - Set-Cookie: - - DD-PSHARD=233; Max-Age=604800; Path=/; expires=Thu, 07-Jan-2021 14:45:11 GMT; - secure; HttpOnly Strict-Transport-Security: - max-age=15724800; Vary: @@ -108,9 +80,9 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Debug: - - 4XEHrKCjPbSbs1iu1F78+tH4eaIPZCq+IGDoHN/GQcOsLq6w3Zzz7ZK1RqpTUzFS + - L3ULR3HwCWYmEqCWGz2Yob3chcH4pjowBacBXkncP7o+/uPqKt9yGEYf/g1AJPzQ X-Dd-Version: - - "35.3622023" + - "35.4598224" X-Frame-Options: - SAMEORIGIN status: 200 OK @@ -125,22 +97,11 @@ interactions: Dd-Operation-Id: - GetDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 1.15.0; terraform-cli 0.12.7-sdk) - datadog-api-client-go/1.0.0-beta.13+dev (go go1.15.4; os darwin; arch amd64) - X-Datadog-Parent-Id: - - "7076069615041458796" - X-Datadog-Sampling-Priority: - - "1" - X-Datadog-Trace-Id: - - "6732252647846019286" - url: https://api.datadoghq.com/api/v1/dashboard/yez-qg9-8fv + - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) + url: https://api.datadoghq.com/api/v1/dashboard/j2z-f9y-tt6 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":"yez-qg9-8fv","title":"tf-TestAccDatadogDashboardHeatMap_import-local-1609425728","url":"/dashboard/yez-qg9-8fv/tf-testaccdatadogdashboardheatmapimport-local-1609425728","created_at":"2020-12-31T14:45:08.676029+00:00","modified_at":"2020-12-31T14:45:08.676029+00:00","author_handle":"frog@datadoghq.com","widgets":[{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test - Custom Link label"}],"title_size":"16","yaxis":{"include_zero":false,"max":"100"},"title_align":"center","events":[{"q":"env:prod","tags_execution":"and"}],"show_legend":true,"time":{"live_span":"1mo"},"title":"Avg - of system.cpu.user over account:prod by app","legend_size":"2","type":"heatmap","requests":[{"q":"avg:system.cpu.user{account:prod} - by {app}","style":{"palette":"blue"}}]},"id":8106593886592065}],"layout_type":"ordered"}' + body: '{"notify_list":[],"description":"Created using the Datadog provider in Terraform","restricted_roles":["284d8b66-93f9-11eb-9c37-da7ad0900002","043a2842-e140-11e8-bb04-7fd10177666e","657de3a2-29f8-11eb-83b5-6b8ebfb2f184","e82bf27a-986c-11eb-9cba-da7ad0900002","f257ba30-dbb2-11ea-a5ff-5fd1d308318a","6bf314be-5c16-11eb-8e98-2356ea436065","62cbc476-5c16-11eb-8e98-0388ea7a41f8","08604de8-1dca-11eb-800c-9f5f55ff734d","9b3ab170-b768-11eb-a45a-da7ad0900002","7a83f306-96ca-11eb-9c74-da7ad0900002","16169788-28e4-11eb-832c-fb84162ef3eb","4de53192-9946-11eb-9cee-da7ad0900002","1302282c-b93b-11eb-a436-da7ad0900002","17d73994-7531-11eb-94b9-da7ad0900002"],"author_name":"Qin Chen","template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"j2z-f9y-tt6","title":"tf-TestAccDatadogDashboardHeatMap_import-local-1621914695","url":"/dashboard/j2z-f9y-tt6/tf-testaccdatadogdashboardheatmapimport-local-1621914695","created_at":"2021-05-25T03:51:36.723858+00:00","modified_at":"2021-05-25T03:51:36.723858+00:00","author_handle":"qin.chen@datadoghq.com","widgets":[{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test Custom Link label"}],"title_size":"16","yaxis":{"include_zero":false,"max":"100"},"title_align":"center","events":[{"q":"env:prod","tags_execution":"and"}],"show_legend":true,"time":{"live_span":"1mo"},"title":"Avg of system.cpu.user over account:prod by app","legend_size":"2","type":"heatmap","requests":[{"q":"avg:system.cpu.user{account:prod} by {app}","style":{"palette":"blue"}}]},"id":7743778383511924}],"layout_type":"ordered"}' headers: Cache-Control: - no-cache @@ -151,12 +112,9 @@ interactions: Content-Type: - application/json Date: - - Thu, 31 Dec 2020 14:45:15 GMT + - Tue, 25 May 2021 03:51:37 GMT Pragma: - no-cache - Set-Cookie: - - DD-PSHARD=233; Max-Age=604800; Path=/; expires=Thu, 07-Jan-2021 14:45:15 GMT; - secure; HttpOnly Strict-Transport-Security: - max-age=15724800; Vary: @@ -164,9 +122,9 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Debug: - - 5Vp6Lwv2kl5vwmtrK8x4SHT87up1E/Mb5wu+zWq1n+sTPuGmJfRlxsKBupN/GCCj + - tpRCH6w417YjBovRJ8VmtuXmNONVYiRp2c8d2AxjPdGBn8PCtgG4vAztrx3qUZAN X-Dd-Version: - - "35.3622023" + - "35.4598224" X-Frame-Options: - SAMEORIGIN status: 200 OK @@ -181,22 +139,11 @@ interactions: Dd-Operation-Id: - GetDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 1.15.0; terraform-cli 0.12.7-sdk) - datadog-api-client-go/1.0.0-beta.13+dev (go go1.15.4; os darwin; arch amd64) - X-Datadog-Parent-Id: - - "1115722478119058440" - X-Datadog-Sampling-Priority: - - "1" - X-Datadog-Trace-Id: - - "6732252647846019286" - url: https://api.datadoghq.com/api/v1/dashboard/yez-qg9-8fv + - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) + url: https://api.datadoghq.com/api/v1/dashboard/j2z-f9y-tt6 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":"yez-qg9-8fv","title":"tf-TestAccDatadogDashboardHeatMap_import-local-1609425728","url":"/dashboard/yez-qg9-8fv/tf-testaccdatadogdashboardheatmapimport-local-1609425728","created_at":"2020-12-31T14:45:08.676029+00:00","modified_at":"2020-12-31T14:45:08.676029+00:00","author_handle":"frog@datadoghq.com","widgets":[{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test - Custom Link label"}],"title_size":"16","yaxis":{"include_zero":false,"max":"100"},"title_align":"center","events":[{"q":"env:prod","tags_execution":"and"}],"show_legend":true,"time":{"live_span":"1mo"},"title":"Avg - of system.cpu.user over account:prod by app","legend_size":"2","type":"heatmap","requests":[{"q":"avg:system.cpu.user{account:prod} - by {app}","style":{"palette":"blue"}}]},"id":8106593886592065}],"layout_type":"ordered"}' + body: '{"notify_list":[],"description":"Created using the Datadog provider in Terraform","restricted_roles":["284d8b66-93f9-11eb-9c37-da7ad0900002","043a2842-e140-11e8-bb04-7fd10177666e","657de3a2-29f8-11eb-83b5-6b8ebfb2f184","e82bf27a-986c-11eb-9cba-da7ad0900002","f257ba30-dbb2-11ea-a5ff-5fd1d308318a","6bf314be-5c16-11eb-8e98-2356ea436065","62cbc476-5c16-11eb-8e98-0388ea7a41f8","08604de8-1dca-11eb-800c-9f5f55ff734d","9b3ab170-b768-11eb-a45a-da7ad0900002","7a83f306-96ca-11eb-9c74-da7ad0900002","16169788-28e4-11eb-832c-fb84162ef3eb","4de53192-9946-11eb-9cee-da7ad0900002","1302282c-b93b-11eb-a436-da7ad0900002","17d73994-7531-11eb-94b9-da7ad0900002"],"author_name":"Qin Chen","template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"j2z-f9y-tt6","title":"tf-TestAccDatadogDashboardHeatMap_import-local-1621914695","url":"/dashboard/j2z-f9y-tt6/tf-testaccdatadogdashboardheatmapimport-local-1621914695","created_at":"2021-05-25T03:51:36.723858+00:00","modified_at":"2021-05-25T03:51:36.723858+00:00","author_handle":"qin.chen@datadoghq.com","widgets":[{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test Custom Link label"}],"title_size":"16","yaxis":{"include_zero":false,"max":"100"},"title_align":"center","events":[{"q":"env:prod","tags_execution":"and"}],"show_legend":true,"time":{"live_span":"1mo"},"title":"Avg of system.cpu.user over account:prod by app","legend_size":"2","type":"heatmap","requests":[{"q":"avg:system.cpu.user{account:prod} by {app}","style":{"palette":"blue"}}]},"id":7743778383511924}],"layout_type":"ordered"}' headers: Cache-Control: - no-cache @@ -207,12 +154,9 @@ interactions: Content-Type: - application/json Date: - - Thu, 31 Dec 2020 14:45:21 GMT + - Tue, 25 May 2021 03:51:37 GMT Pragma: - no-cache - Set-Cookie: - - DD-PSHARD=233; Max-Age=604800; Path=/; expires=Thu, 07-Jan-2021 14:45:21 GMT; - secure; HttpOnly Strict-Transport-Security: - max-age=15724800; Vary: @@ -220,9 +164,9 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Debug: - - i3kq+QX78RffjnNgnM5zmiWzGMsFnhM4liQTSNUgnpglr14R7eRaqNxK/q9SML9W + - 2328yjLSqI4XmR1pVqrPRR/SFcQsbafjEpPmZx7/3PfxUK1nJQQsX+wrMelyVyj+ X-Dd-Version: - - "35.3622023" + - "35.4598224" X-Frame-Options: - SAMEORIGIN status: 200 OK @@ -237,22 +181,11 @@ interactions: Dd-Operation-Id: - GetDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 1.15.0; terraform-cli 0.12.7-sdk) - datadog-api-client-go/1.0.0-beta.13+dev (go go1.15.4; os darwin; arch amd64) - X-Datadog-Parent-Id: - - "6741075994713136037" - X-Datadog-Sampling-Priority: - - "1" - X-Datadog-Trace-Id: - - "6732252647846019286" - url: https://api.datadoghq.com/api/v1/dashboard/yez-qg9-8fv + - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) + url: https://api.datadoghq.com/api/v1/dashboard/j2z-f9y-tt6 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":"yez-qg9-8fv","title":"tf-TestAccDatadogDashboardHeatMap_import-local-1609425728","url":"/dashboard/yez-qg9-8fv/tf-testaccdatadogdashboardheatmapimport-local-1609425728","created_at":"2020-12-31T14:45:08.676029+00:00","modified_at":"2020-12-31T14:45:08.676029+00:00","author_handle":"frog@datadoghq.com","widgets":[{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test - Custom Link label"}],"title_size":"16","yaxis":{"include_zero":false,"max":"100"},"title_align":"center","events":[{"q":"env:prod","tags_execution":"and"}],"show_legend":true,"time":{"live_span":"1mo"},"title":"Avg - of system.cpu.user over account:prod by app","legend_size":"2","type":"heatmap","requests":[{"q":"avg:system.cpu.user{account:prod} - by {app}","style":{"palette":"blue"}}]},"id":8106593886592065}],"layout_type":"ordered"}' + body: '{"notify_list":[],"description":"Created using the Datadog provider in Terraform","restricted_roles":["284d8b66-93f9-11eb-9c37-da7ad0900002","043a2842-e140-11e8-bb04-7fd10177666e","657de3a2-29f8-11eb-83b5-6b8ebfb2f184","e82bf27a-986c-11eb-9cba-da7ad0900002","f257ba30-dbb2-11ea-a5ff-5fd1d308318a","6bf314be-5c16-11eb-8e98-2356ea436065","62cbc476-5c16-11eb-8e98-0388ea7a41f8","08604de8-1dca-11eb-800c-9f5f55ff734d","9b3ab170-b768-11eb-a45a-da7ad0900002","7a83f306-96ca-11eb-9c74-da7ad0900002","16169788-28e4-11eb-832c-fb84162ef3eb","4de53192-9946-11eb-9cee-da7ad0900002","1302282c-b93b-11eb-a436-da7ad0900002","17d73994-7531-11eb-94b9-da7ad0900002"],"author_name":"Qin Chen","template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"j2z-f9y-tt6","title":"tf-TestAccDatadogDashboardHeatMap_import-local-1621914695","url":"/dashboard/j2z-f9y-tt6/tf-testaccdatadogdashboardheatmapimport-local-1621914695","created_at":"2021-05-25T03:51:36.723858+00:00","modified_at":"2021-05-25T03:51:36.723858+00:00","author_handle":"qin.chen@datadoghq.com","widgets":[{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test Custom Link label"}],"title_size":"16","yaxis":{"include_zero":false,"max":"100"},"title_align":"center","events":[{"q":"env:prod","tags_execution":"and"}],"show_legend":true,"time":{"live_span":"1mo"},"title":"Avg of system.cpu.user over account:prod by app","legend_size":"2","type":"heatmap","requests":[{"q":"avg:system.cpu.user{account:prod} by {app}","style":{"palette":"blue"}}]},"id":7743778383511924}],"layout_type":"ordered"}' headers: Cache-Control: - no-cache @@ -263,12 +196,9 @@ interactions: Content-Type: - application/json Date: - - Thu, 31 Dec 2020 14:45:22 GMT + - Tue, 25 May 2021 03:51:37 GMT Pragma: - no-cache - Set-Cookie: - - DD-PSHARD=233; Max-Age=604800; Path=/; expires=Thu, 07-Jan-2021 14:45:22 GMT; - secure; HttpOnly Strict-Transport-Security: - max-age=15724800; Vary: @@ -276,9 +206,9 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Debug: - - 31eicEjxYTxSLxektw5aBz/E28bM+OyxrRypgA6xUJO+JbzAYFmeBL8/VQhw6pBg + - L3ULR3HwCWYmEqCWGz2Yob3chcH4pjowBacBXkncP7o+/uPqKt9yGEYf/g1AJPzQ X-Dd-Version: - - "35.3622023" + - "35.4598224" X-Frame-Options: - SAMEORIGIN status: 200 OK @@ -293,22 +223,11 @@ interactions: Dd-Operation-Id: - GetDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 1.15.0; terraform-cli 0.12.7-sdk) - datadog-api-client-go/1.0.0-beta.13+dev (go go1.15.4; os darwin; arch amd64) - X-Datadog-Parent-Id: - - "4958483915648688498" - X-Datadog-Sampling-Priority: - - "1" - X-Datadog-Trace-Id: - - "6732252647846019286" - url: https://api.datadoghq.com/api/v1/dashboard/yez-qg9-8fv + - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) + url: https://api.datadoghq.com/api/v1/dashboard/j2z-f9y-tt6 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":"yez-qg9-8fv","title":"tf-TestAccDatadogDashboardHeatMap_import-local-1609425728","url":"/dashboard/yez-qg9-8fv/tf-testaccdatadogdashboardheatmapimport-local-1609425728","created_at":"2020-12-31T14:45:08.676029+00:00","modified_at":"2020-12-31T14:45:08.676029+00:00","author_handle":"frog@datadoghq.com","widgets":[{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test - Custom Link label"}],"title_size":"16","yaxis":{"include_zero":false,"max":"100"},"title_align":"center","events":[{"q":"env:prod","tags_execution":"and"}],"show_legend":true,"time":{"live_span":"1mo"},"title":"Avg - of system.cpu.user over account:prod by app","legend_size":"2","type":"heatmap","requests":[{"q":"avg:system.cpu.user{account:prod} - by {app}","style":{"palette":"blue"}}]},"id":8106593886592065}],"layout_type":"ordered"}' + body: '{"notify_list":[],"description":"Created using the Datadog provider in Terraform","restricted_roles":["284d8b66-93f9-11eb-9c37-da7ad0900002","043a2842-e140-11e8-bb04-7fd10177666e","657de3a2-29f8-11eb-83b5-6b8ebfb2f184","e82bf27a-986c-11eb-9cba-da7ad0900002","f257ba30-dbb2-11ea-a5ff-5fd1d308318a","6bf314be-5c16-11eb-8e98-2356ea436065","62cbc476-5c16-11eb-8e98-0388ea7a41f8","08604de8-1dca-11eb-800c-9f5f55ff734d","9b3ab170-b768-11eb-a45a-da7ad0900002","7a83f306-96ca-11eb-9c74-da7ad0900002","16169788-28e4-11eb-832c-fb84162ef3eb","4de53192-9946-11eb-9cee-da7ad0900002","1302282c-b93b-11eb-a436-da7ad0900002","17d73994-7531-11eb-94b9-da7ad0900002"],"author_name":"Qin Chen","template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"j2z-f9y-tt6","title":"tf-TestAccDatadogDashboardHeatMap_import-local-1621914695","url":"/dashboard/j2z-f9y-tt6/tf-testaccdatadogdashboardheatmapimport-local-1621914695","created_at":"2021-05-25T03:51:36.723858+00:00","modified_at":"2021-05-25T03:51:36.723858+00:00","author_handle":"qin.chen@datadoghq.com","widgets":[{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test Custom Link label"}],"title_size":"16","yaxis":{"include_zero":false,"max":"100"},"title_align":"center","events":[{"q":"env:prod","tags_execution":"and"}],"show_legend":true,"time":{"live_span":"1mo"},"title":"Avg of system.cpu.user over account:prod by app","legend_size":"2","type":"heatmap","requests":[{"q":"avg:system.cpu.user{account:prod} by {app}","style":{"palette":"blue"}}]},"id":7743778383511924}],"layout_type":"ordered"}' headers: Cache-Control: - no-cache @@ -319,12 +238,9 @@ interactions: Content-Type: - application/json Date: - - Thu, 31 Dec 2020 14:45:24 GMT + - Tue, 25 May 2021 03:51:38 GMT Pragma: - no-cache - Set-Cookie: - - DD-PSHARD=233; Max-Age=604800; Path=/; expires=Thu, 07-Jan-2021 14:45:24 GMT; - secure; HttpOnly Strict-Transport-Security: - max-age=15724800; Vary: @@ -332,9 +248,9 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Debug: - - iYSQoeIUH6tZkV8oNBADyUh0i8imvOo9jWWOUgywP9QJ7opgBoT0cWGeCUTl7m+0 + - 2328yjLSqI4XmR1pVqrPRR/SFcQsbafjEpPmZx7/3PfxUK1nJQQsX+wrMelyVyj+ X-Dd-Version: - - "35.3622023" + - "35.4598224" X-Frame-Options: - SAMEORIGIN status: 200 OK @@ -349,18 +265,11 @@ interactions: Dd-Operation-Id: - DeleteDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 1.15.0; terraform-cli 0.12.7-sdk) - datadog-api-client-go/1.0.0-beta.13+dev (go go1.15.4; os darwin; arch amd64) - X-Datadog-Parent-Id: - - "5850231971055168278" - X-Datadog-Sampling-Priority: - - "1" - X-Datadog-Trace-Id: - - "6732252647846019286" - url: https://api.datadoghq.com/api/v1/dashboard/yez-qg9-8fv + - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) + url: https://api.datadoghq.com/api/v1/dashboard/j2z-f9y-tt6 method: DELETE response: - body: '{"deleted_dashboard_id":"yez-qg9-8fv"}' + body: '{"deleted_dashboard_id":"j2z-f9y-tt6"}' headers: Cache-Control: - no-cache @@ -371,12 +280,9 @@ interactions: Content-Type: - application/json Date: - - Thu, 31 Dec 2020 14:45:29 GMT + - Tue, 25 May 2021 03:51:38 GMT Pragma: - no-cache - Set-Cookie: - - DD-PSHARD=233; Max-Age=604800; Path=/; expires=Thu, 07-Jan-2021 14:45:29 GMT; - secure; HttpOnly Strict-Transport-Security: - max-age=15724800; Vary: @@ -384,9 +290,9 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Debug: - - o+DMvNLOJQfXAHeLjo7w9XOcTGCirWOThygGIHqmoMaQl6AzYuGlAbNkOlAzbCRq + - 5gfwVh/5HZ+AnGd/Di93w3NEWC6KMHT9KzmHEiRJmNdOjBtAsbOcgVFyqEChw71h X-Dd-Version: - - "35.3622023" + - "35.4598224" X-Frame-Options: - SAMEORIGIN status: 200 OK @@ -401,18 +307,11 @@ interactions: Dd-Operation-Id: - GetDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 1.15.0; terraform-cli 0.12.7-sdk) - datadog-api-client-go/1.0.0-beta.13+dev (go go1.15.4; os darwin; arch amd64) - X-Datadog-Parent-Id: - - "4813718520690249870" - X-Datadog-Sampling-Priority: - - "1" - X-Datadog-Trace-Id: - - "6732252647846019286" - url: https://api.datadoghq.com/api/v1/dashboard/yez-qg9-8fv + - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) + url: https://api.datadoghq.com/api/v1/dashboard/j2z-f9y-tt6 method: GET response: - body: '{"errors": ["Dashboard with ID yez-qg9-8fv not found"]}' + body: '{"errors": ["Dashboard with ID j2z-f9y-tt6 not found"]}' headers: Cache-Control: - no-cache @@ -423,7 +322,7 @@ interactions: Content-Type: - application/json Date: - - Thu, 31 Dec 2020 14:45:30 GMT + - Tue, 25 May 2021 03:51:38 GMT Pragma: - no-cache Strict-Transport-Security: @@ -433,7 +332,7 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Version: - - "35.3622023" + - "35.4598224" X-Frame-Options: - SAMEORIGIN status: 404 Not Found diff --git a/datadog/tests/cassettes/TestAccDatadogDashboardHostMap.freeze b/datadog/tests/cassettes/TestAccDatadogDashboardHostMap.freeze index fd6f9e2a4..ebae2f6b6 100644 --- a/datadog/tests/cassettes/TestAccDatadogDashboardHostMap.freeze +++ b/datadog/tests/cassettes/TestAccDatadogDashboardHostMap.freeze @@ -1 +1 @@ -2021-01-28T17:18:25.058707+01:00 \ No newline at end of file +2021-05-24T23:51:16.376567-04:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogDashboardHostMap.yaml b/datadog/tests/cassettes/TestAccDatadogDashboardHostMap.yaml index 7affd45ce..541784176 100644 --- a/datadog/tests/cassettes/TestAccDatadogDashboardHostMap.yaml +++ b/datadog/tests/cassettes/TestAccDatadogDashboardHostMap.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-TestAccDatadogDashboardHostMap-local-1611850705","widgets":[{"definition":{"custom_links":[{"label":"Test Custom Link label","link":"https://app.datadoghq.com/dashboard/lists"}],"group":["region"],"no_group_hosts":true,"no_metric_hosts":true,"node_type":"host","requests":{"fill":{"q":"avg:system.cpu.idle{env:prod} by {host}"},"size":{"q":"max:system.cpu.user{env:prod} by {host}"}},"scope":["env:prod"],"style":{"fill_max":"30","fill_min":"10","palette":"YlOrRd","palette_flip":true},"title":"system.cpu.idle, system.cpu.user","title_align":"right","title_size":"16","type":"hostmap"}}]} + {"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-TestAccDatadogDashboardHostMap-local-1621914676","widgets":[{"definition":{"custom_links":[{"label":"Test Custom Link label","link":"https://app.datadoghq.com/dashboard/lists"},{"is_hidden":true,"link":"https://app.datadoghq.com/dashboard/lists","override_label":"logs"}],"group":["region"],"no_group_hosts":true,"no_metric_hosts":true,"node_type":"host","requests":{"fill":{"q":"avg:system.cpu.idle{env:prod} by {host}"},"size":{"q":"max:system.cpu.user{env:prod} by {host}"}},"scope":["env:prod"],"style":{"fill_max":"30","fill_min":"10","palette":"YlOrRd","palette_flip":true},"title":"system.cpu.idle, system.cpu.user","title_align":"right","title_size":"16","type":"hostmap"}}]} form: {} headers: Accept: @@ -13,21 +13,11 @@ interactions: Dd-Operation-Id: - CreateDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 1.15.0; terraform-cli 0.12.7-sdk) - datadog-api-client-go/1.0.0-beta.14 (go go1.15.4; os darwin; arch amd64) - X-Datadog-Parent-Id: - - "8653800911770846961" - X-Datadog-Sampling-Priority: - - "1" - X-Datadog-Trace-Id: - - "8991564635414322782" + - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) 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":"da9-c9h-f7j","title":"tf-TestAccDatadogDashboardHostMap-local-1611850705","url":"/dashboard/da9-c9h-f7j/tf-testaccdatadogdashboardhostmap-local-1611850705","created_at":"2021-01-28T16:29:40.919405+00:00","modified_at":"2021-01-28T16:29:40.919405+00:00","author_handle":"frog@datadoghq.com","widgets":[{"definition":{"style":{"fill_min":"10","fill_max":"30","palette":"YlOrRd","palette_flip":true},"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test - Custom Link label"}],"title_size":"16","title":"system.cpu.idle, system.cpu.user","title_align":"right","node_type":"host","no_metric_hosts":true,"group":["region"],"requests":{"size":{"q":"max:system.cpu.user{env:prod} - by {host}"},"fill":{"q":"avg:system.cpu.idle{env:prod} by {host}"}},"no_group_hosts":true,"type":"hostmap","scope":["env:prod"]},"id":8478660964564960}],"layout_type":"ordered"}' + body: '{"notify_list":[],"description":"Created using the Datadog provider in Terraform","restricted_roles":["043a2842-e140-11e8-bb04-7fd10177666e","08604de8-1dca-11eb-800c-9f5f55ff734d","1302282c-b93b-11eb-a436-da7ad0900002","16169788-28e4-11eb-832c-fb84162ef3eb","17d73994-7531-11eb-94b9-da7ad0900002","284d8b66-93f9-11eb-9c37-da7ad0900002","4de53192-9946-11eb-9cee-da7ad0900002","62cbc476-5c16-11eb-8e98-0388ea7a41f8","657de3a2-29f8-11eb-83b5-6b8ebfb2f184","6bf314be-5c16-11eb-8e98-2356ea436065","7a83f306-96ca-11eb-9c74-da7ad0900002","9b3ab170-b768-11eb-a45a-da7ad0900002","e82bf27a-986c-11eb-9cba-da7ad0900002","f257ba30-dbb2-11ea-a5ff-5fd1d308318a"],"author_name":"Qin Chen","template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"ysh-jdg-xhm","title":"tf-TestAccDatadogDashboardHostMap-local-1621914676","url":"/dashboard/ysh-jdg-xhm/tf-testaccdatadogdashboardhostmap-local-1621914676","created_at":"2021-05-25T03:51:17.335750+00:00","modified_at":"2021-05-25T03:51:17.335750+00:00","author_handle":"qin.chen@datadoghq.com","widgets":[{"definition":{"style":{"fill_min":"10","fill_max":"30","palette":"YlOrRd","palette_flip":true},"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test Custom Link label"},{"override_label":"logs","is_hidden":true,"link":"https://app.datadoghq.com/dashboard/lists"}],"title_size":"16","title":"system.cpu.idle, system.cpu.user","title_align":"right","node_type":"host","no_metric_hosts":true,"group":["region"],"requests":{"size":{"q":"max:system.cpu.user{env:prod} by {host}"},"fill":{"q":"avg:system.cpu.idle{env:prod} by {host}"}},"no_group_hosts":true,"type":"hostmap","scope":["env:prod"]},"id":8794337672853566}],"layout_type":"ordered"}' headers: Cache-Control: - no-cache @@ -38,12 +28,9 @@ interactions: Content-Type: - application/json Date: - - Thu, 28 Jan 2021 16:29:43 GMT + - Tue, 25 May 2021 03:51:17 GMT Pragma: - no-cache - Set-Cookie: - - DD-PSHARD=233; Max-Age=604800; Path=/; expires=Thu, 04-Feb-2021 16:29:40 GMT; - secure; HttpOnly Strict-Transport-Security: - max-age=15724800; Vary: @@ -51,9 +38,9 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Debug: - - tpRCH6w417YjBovRJ8VmtuXmNONVYiRp2c8d2AxjPdGBn8PCtgG4vAztrx3qUZAN + - EFjE6I+AUQmTiNqZcuE1nqoFeAjWD0Xtzy3edDrinkwlU/Wzr/2Dbl5kWk3qLVaQ X-Dd-Version: - - "35.3796727" + - "35.4598224" X-Frame-Options: - SAMEORIGIN status: 200 OK @@ -68,21 +55,11 @@ interactions: Dd-Operation-Id: - GetDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 1.15.0; terraform-cli 0.12.7-sdk) - datadog-api-client-go/1.0.0-beta.14 (go go1.15.4; os darwin; arch amd64) - X-Datadog-Parent-Id: - - "8255645740105467286" - X-Datadog-Sampling-Priority: - - "1" - X-Datadog-Trace-Id: - - "8991564635414322782" - url: https://api.datadoghq.com/api/v1/dashboard/da9-c9h-f7j + - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) + url: https://api.datadoghq.com/api/v1/dashboard/ysh-jdg-xhm 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":"da9-c9h-f7j","title":"tf-TestAccDatadogDashboardHostMap-local-1611850705","url":"/dashboard/da9-c9h-f7j/tf-testaccdatadogdashboardhostmap-local-1611850705","created_at":"2021-01-28T16:29:40.919405+00:00","modified_at":"2021-01-28T16:29:40.919405+00:00","author_handle":"frog@datadoghq.com","widgets":[{"definition":{"style":{"fill_min":"10","fill_max":"30","palette":"YlOrRd","palette_flip":true},"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test - Custom Link label"}],"title_size":"16","title":"system.cpu.idle, system.cpu.user","title_align":"right","node_type":"host","no_metric_hosts":true,"group":["region"],"requests":{"size":{"q":"max:system.cpu.user{env:prod} - by {host}"},"fill":{"q":"avg:system.cpu.idle{env:prod} by {host}"}},"no_group_hosts":true,"type":"hostmap","scope":["env:prod"]},"id":8478660964564960}],"layout_type":"ordered"}' + body: '{"notify_list":[],"description":"Created using the Datadog provider in Terraform","restricted_roles":["284d8b66-93f9-11eb-9c37-da7ad0900002","043a2842-e140-11e8-bb04-7fd10177666e","657de3a2-29f8-11eb-83b5-6b8ebfb2f184","e82bf27a-986c-11eb-9cba-da7ad0900002","f257ba30-dbb2-11ea-a5ff-5fd1d308318a","6bf314be-5c16-11eb-8e98-2356ea436065","62cbc476-5c16-11eb-8e98-0388ea7a41f8","08604de8-1dca-11eb-800c-9f5f55ff734d","9b3ab170-b768-11eb-a45a-da7ad0900002","7a83f306-96ca-11eb-9c74-da7ad0900002","16169788-28e4-11eb-832c-fb84162ef3eb","4de53192-9946-11eb-9cee-da7ad0900002","1302282c-b93b-11eb-a436-da7ad0900002","17d73994-7531-11eb-94b9-da7ad0900002"],"author_name":"Qin Chen","template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"ysh-jdg-xhm","title":"tf-TestAccDatadogDashboardHostMap-local-1621914676","url":"/dashboard/ysh-jdg-xhm/tf-testaccdatadogdashboardhostmap-local-1621914676","created_at":"2021-05-25T03:51:17.335750+00:00","modified_at":"2021-05-25T03:51:17.335750+00:00","author_handle":"qin.chen@datadoghq.com","widgets":[{"definition":{"style":{"fill_min":"10","fill_max":"30","palette":"YlOrRd","palette_flip":true},"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test Custom Link label"},{"override_label":"logs","is_hidden":true,"link":"https://app.datadoghq.com/dashboard/lists"}],"title_size":"16","title":"system.cpu.idle, system.cpu.user","title_align":"right","node_type":"host","no_metric_hosts":true,"group":["region"],"requests":{"size":{"q":"max:system.cpu.user{env:prod} by {host}"},"fill":{"q":"avg:system.cpu.idle{env:prod} by {host}"}},"no_group_hosts":true,"type":"hostmap","scope":["env:prod"]},"id":8794337672853566}],"layout_type":"ordered"}' headers: Cache-Control: - no-cache @@ -93,12 +70,9 @@ interactions: Content-Type: - application/json Date: - - Thu, 28 Jan 2021 16:29:43 GMT + - Tue, 25 May 2021 03:51:17 GMT Pragma: - no-cache - Set-Cookie: - - DD-PSHARD=233; Max-Age=604800; Path=/; expires=Thu, 04-Feb-2021 16:29:43 GMT; - secure; HttpOnly Strict-Transport-Security: - max-age=15724800; Vary: @@ -106,9 +80,9 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Debug: - - l8RQo2maZqJf6GFThBbKNE6dvthz6njusVtau3dPXJWL2RLFoN81H+BLPB/1xgs1 + - HbtaOKlJ6OCrx9tMXO6ivMTrEM+g0c93HDp08trmOmgdHozC5J+vn10F0H4WPjCU X-Dd-Version: - - "35.3796727" + - "35.4598224" X-Frame-Options: - SAMEORIGIN status: 200 OK @@ -123,21 +97,11 @@ interactions: Dd-Operation-Id: - GetDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 1.15.0; terraform-cli 0.12.7-sdk) - datadog-api-client-go/1.0.0-beta.14 (go go1.15.4; os darwin; arch amd64) - X-Datadog-Parent-Id: - - "6001430156344937790" - X-Datadog-Sampling-Priority: - - "1" - X-Datadog-Trace-Id: - - "8991564635414322782" - url: https://api.datadoghq.com/api/v1/dashboard/da9-c9h-f7j + - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) + url: https://api.datadoghq.com/api/v1/dashboard/ysh-jdg-xhm 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":"da9-c9h-f7j","title":"tf-TestAccDatadogDashboardHostMap-local-1611850705","url":"/dashboard/da9-c9h-f7j/tf-testaccdatadogdashboardhostmap-local-1611850705","created_at":"2021-01-28T16:29:40.919405+00:00","modified_at":"2021-01-28T16:29:40.919405+00:00","author_handle":"frog@datadoghq.com","widgets":[{"definition":{"style":{"fill_min":"10","fill_max":"30","palette":"YlOrRd","palette_flip":true},"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test - Custom Link label"}],"title_size":"16","title":"system.cpu.idle, system.cpu.user","title_align":"right","node_type":"host","no_metric_hosts":true,"group":["region"],"requests":{"size":{"q":"max:system.cpu.user{env:prod} - by {host}"},"fill":{"q":"avg:system.cpu.idle{env:prod} by {host}"}},"no_group_hosts":true,"type":"hostmap","scope":["env:prod"]},"id":8478660964564960}],"layout_type":"ordered"}' + body: '{"notify_list":[],"description":"Created using the Datadog provider in Terraform","restricted_roles":["284d8b66-93f9-11eb-9c37-da7ad0900002","043a2842-e140-11e8-bb04-7fd10177666e","657de3a2-29f8-11eb-83b5-6b8ebfb2f184","e82bf27a-986c-11eb-9cba-da7ad0900002","f257ba30-dbb2-11ea-a5ff-5fd1d308318a","6bf314be-5c16-11eb-8e98-2356ea436065","62cbc476-5c16-11eb-8e98-0388ea7a41f8","08604de8-1dca-11eb-800c-9f5f55ff734d","9b3ab170-b768-11eb-a45a-da7ad0900002","7a83f306-96ca-11eb-9c74-da7ad0900002","16169788-28e4-11eb-832c-fb84162ef3eb","4de53192-9946-11eb-9cee-da7ad0900002","1302282c-b93b-11eb-a436-da7ad0900002","17d73994-7531-11eb-94b9-da7ad0900002"],"author_name":"Qin Chen","template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"ysh-jdg-xhm","title":"tf-TestAccDatadogDashboardHostMap-local-1621914676","url":"/dashboard/ysh-jdg-xhm/tf-testaccdatadogdashboardhostmap-local-1621914676","created_at":"2021-05-25T03:51:17.335750+00:00","modified_at":"2021-05-25T03:51:17.335750+00:00","author_handle":"qin.chen@datadoghq.com","widgets":[{"definition":{"style":{"fill_min":"10","fill_max":"30","palette":"YlOrRd","palette_flip":true},"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test Custom Link label"},{"override_label":"logs","is_hidden":true,"link":"https://app.datadoghq.com/dashboard/lists"}],"title_size":"16","title":"system.cpu.idle, system.cpu.user","title_align":"right","node_type":"host","no_metric_hosts":true,"group":["region"],"requests":{"size":{"q":"max:system.cpu.user{env:prod} by {host}"},"fill":{"q":"avg:system.cpu.idle{env:prod} by {host}"}},"no_group_hosts":true,"type":"hostmap","scope":["env:prod"]},"id":8794337672853566}],"layout_type":"ordered"}' headers: Cache-Control: - no-cache @@ -148,12 +112,9 @@ interactions: Content-Type: - application/json Date: - - Thu, 28 Jan 2021 16:29:46 GMT + - Tue, 25 May 2021 03:51:17 GMT Pragma: - no-cache - Set-Cookie: - - DD-PSHARD=233; Max-Age=604800; Path=/; expires=Thu, 04-Feb-2021 16:29:46 GMT; - secure; HttpOnly Strict-Transport-Security: - max-age=15724800; Vary: @@ -163,7 +124,7 @@ interactions: X-Dd-Debug: - fIO2C4qGDheGHy4YbS+r3a3CXbh4cbRo7roILOimQyiHGjQdOat0cIpWCkupM1uX X-Dd-Version: - - "35.3796727" + - "35.4598224" X-Frame-Options: - SAMEORIGIN status: 200 OK @@ -178,21 +139,11 @@ interactions: Dd-Operation-Id: - GetDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 1.15.0; terraform-cli 0.12.7-sdk) - datadog-api-client-go/1.0.0-beta.14 (go go1.15.4; os darwin; arch amd64) - X-Datadog-Parent-Id: - - "5932362522035802989" - X-Datadog-Sampling-Priority: - - "1" - X-Datadog-Trace-Id: - - "8991564635414322782" - url: https://api.datadoghq.com/api/v1/dashboard/da9-c9h-f7j + - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) + url: https://api.datadoghq.com/api/v1/dashboard/ysh-jdg-xhm 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":"da9-c9h-f7j","title":"tf-TestAccDatadogDashboardHostMap-local-1611850705","url":"/dashboard/da9-c9h-f7j/tf-testaccdatadogdashboardhostmap-local-1611850705","created_at":"2021-01-28T16:29:40.919405+00:00","modified_at":"2021-01-28T16:29:40.919405+00:00","author_handle":"frog@datadoghq.com","widgets":[{"definition":{"style":{"fill_min":"10","fill_max":"30","palette":"YlOrRd","palette_flip":true},"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test - Custom Link label"}],"title_size":"16","title":"system.cpu.idle, system.cpu.user","title_align":"right","node_type":"host","no_metric_hosts":true,"group":["region"],"requests":{"size":{"q":"max:system.cpu.user{env:prod} - by {host}"},"fill":{"q":"avg:system.cpu.idle{env:prod} by {host}"}},"no_group_hosts":true,"type":"hostmap","scope":["env:prod"]},"id":8478660964564960}],"layout_type":"ordered"}' + body: '{"notify_list":[],"description":"Created using the Datadog provider in Terraform","restricted_roles":["284d8b66-93f9-11eb-9c37-da7ad0900002","043a2842-e140-11e8-bb04-7fd10177666e","657de3a2-29f8-11eb-83b5-6b8ebfb2f184","e82bf27a-986c-11eb-9cba-da7ad0900002","f257ba30-dbb2-11ea-a5ff-5fd1d308318a","6bf314be-5c16-11eb-8e98-2356ea436065","62cbc476-5c16-11eb-8e98-0388ea7a41f8","08604de8-1dca-11eb-800c-9f5f55ff734d","9b3ab170-b768-11eb-a45a-da7ad0900002","7a83f306-96ca-11eb-9c74-da7ad0900002","16169788-28e4-11eb-832c-fb84162ef3eb","4de53192-9946-11eb-9cee-da7ad0900002","1302282c-b93b-11eb-a436-da7ad0900002","17d73994-7531-11eb-94b9-da7ad0900002"],"author_name":"Qin Chen","template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"ysh-jdg-xhm","title":"tf-TestAccDatadogDashboardHostMap-local-1621914676","url":"/dashboard/ysh-jdg-xhm/tf-testaccdatadogdashboardhostmap-local-1621914676","created_at":"2021-05-25T03:51:17.335750+00:00","modified_at":"2021-05-25T03:51:17.335750+00:00","author_handle":"qin.chen@datadoghq.com","widgets":[{"definition":{"style":{"fill_min":"10","fill_max":"30","palette":"YlOrRd","palette_flip":true},"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test Custom Link label"},{"override_label":"logs","is_hidden":true,"link":"https://app.datadoghq.com/dashboard/lists"}],"title_size":"16","title":"system.cpu.idle, system.cpu.user","title_align":"right","node_type":"host","no_metric_hosts":true,"group":["region"],"requests":{"size":{"q":"max:system.cpu.user{env:prod} by {host}"},"fill":{"q":"avg:system.cpu.idle{env:prod} by {host}"}},"no_group_hosts":true,"type":"hostmap","scope":["env:prod"]},"id":8794337672853566}],"layout_type":"ordered"}' headers: Cache-Control: - no-cache @@ -203,12 +154,9 @@ interactions: Content-Type: - application/json Date: - - Thu, 28 Jan 2021 16:30:05 GMT + - Tue, 25 May 2021 03:51:17 GMT Pragma: - no-cache - Set-Cookie: - - DD-PSHARD=233; Max-Age=604800; Path=/; expires=Thu, 04-Feb-2021 16:30:05 GMT; - secure; HttpOnly Strict-Transport-Security: - max-age=15724800; Vary: @@ -216,9 +164,9 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Debug: - - LcgNasIYBRkNppmD6mCKE9J6iv0eEjosuuHR5V5zw2fWbR54i39C8dhdK8zDq/40 + - 25u1gDlL724DHllbjFT4BhOLorBTilh+aah2uWAUEjFC/+rjczJdiyWrV/HwLwe/ X-Dd-Version: - - "35.3796727" + - "35.4598224" X-Frame-Options: - SAMEORIGIN status: 200 OK @@ -233,21 +181,11 @@ interactions: Dd-Operation-Id: - GetDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 1.15.0; terraform-cli 0.12.7-sdk) - datadog-api-client-go/1.0.0-beta.14 (go go1.15.4; os darwin; arch amd64) - X-Datadog-Parent-Id: - - "8241916226846992032" - X-Datadog-Sampling-Priority: - - "1" - X-Datadog-Trace-Id: - - "8991564635414322782" - url: https://api.datadoghq.com/api/v1/dashboard/da9-c9h-f7j + - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) + url: https://api.datadoghq.com/api/v1/dashboard/ysh-jdg-xhm 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":"da9-c9h-f7j","title":"tf-TestAccDatadogDashboardHostMap-local-1611850705","url":"/dashboard/da9-c9h-f7j/tf-testaccdatadogdashboardhostmap-local-1611850705","created_at":"2021-01-28T16:29:40.919405+00:00","modified_at":"2021-01-28T16:29:40.919405+00:00","author_handle":"frog@datadoghq.com","widgets":[{"definition":{"style":{"fill_min":"10","fill_max":"30","palette":"YlOrRd","palette_flip":true},"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test - Custom Link label"}],"title_size":"16","title":"system.cpu.idle, system.cpu.user","title_align":"right","node_type":"host","no_metric_hosts":true,"group":["region"],"requests":{"size":{"q":"max:system.cpu.user{env:prod} - by {host}"},"fill":{"q":"avg:system.cpu.idle{env:prod} by {host}"}},"no_group_hosts":true,"type":"hostmap","scope":["env:prod"]},"id":8478660964564960}],"layout_type":"ordered"}' + body: '{"notify_list":[],"description":"Created using the Datadog provider in Terraform","restricted_roles":["284d8b66-93f9-11eb-9c37-da7ad0900002","043a2842-e140-11e8-bb04-7fd10177666e","657de3a2-29f8-11eb-83b5-6b8ebfb2f184","e82bf27a-986c-11eb-9cba-da7ad0900002","f257ba30-dbb2-11ea-a5ff-5fd1d308318a","6bf314be-5c16-11eb-8e98-2356ea436065","62cbc476-5c16-11eb-8e98-0388ea7a41f8","08604de8-1dca-11eb-800c-9f5f55ff734d","9b3ab170-b768-11eb-a45a-da7ad0900002","7a83f306-96ca-11eb-9c74-da7ad0900002","16169788-28e4-11eb-832c-fb84162ef3eb","4de53192-9946-11eb-9cee-da7ad0900002","1302282c-b93b-11eb-a436-da7ad0900002","17d73994-7531-11eb-94b9-da7ad0900002"],"author_name":"Qin Chen","template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"ysh-jdg-xhm","title":"tf-TestAccDatadogDashboardHostMap-local-1621914676","url":"/dashboard/ysh-jdg-xhm/tf-testaccdatadogdashboardhostmap-local-1621914676","created_at":"2021-05-25T03:51:17.335750+00:00","modified_at":"2021-05-25T03:51:17.335750+00:00","author_handle":"qin.chen@datadoghq.com","widgets":[{"definition":{"style":{"fill_min":"10","fill_max":"30","palette":"YlOrRd","palette_flip":true},"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test Custom Link label"},{"override_label":"logs","is_hidden":true,"link":"https://app.datadoghq.com/dashboard/lists"}],"title_size":"16","title":"system.cpu.idle, system.cpu.user","title_align":"right","node_type":"host","no_metric_hosts":true,"group":["region"],"requests":{"size":{"q":"max:system.cpu.user{env:prod} by {host}"},"fill":{"q":"avg:system.cpu.idle{env:prod} by {host}"}},"no_group_hosts":true,"type":"hostmap","scope":["env:prod"]},"id":8794337672853566}],"layout_type":"ordered"}' headers: Cache-Control: - no-cache @@ -258,12 +196,9 @@ interactions: Content-Type: - application/json Date: - - Thu, 28 Jan 2021 16:30:26 GMT + - Tue, 25 May 2021 03:51:18 GMT Pragma: - no-cache - Set-Cookie: - - DD-PSHARD=233; Max-Age=604800; Path=/; expires=Thu, 04-Feb-2021 16:30:26 GMT; - secure; HttpOnly Strict-Transport-Security: - max-age=15724800; Vary: @@ -271,9 +206,9 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Debug: - - S1wfaMZOKGT/IoMw6fqAwAwGWo2vQ44sjF3YzuETnQfxZO2T5eJbs0aX3UKb9Dwu + - l8RQo2maZqJf6GFThBbKNE6dvthz6njusVtau3dPXJWL2RLFoN81H+BLPB/1xgs1 X-Dd-Version: - - "35.3796727" + - "35.4598224" X-Frame-Options: - SAMEORIGIN status: 200 OK @@ -288,18 +223,11 @@ interactions: Dd-Operation-Id: - DeleteDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 1.15.0; terraform-cli 0.12.7-sdk) - datadog-api-client-go/1.0.0-beta.14 (go go1.15.4; os darwin; arch amd64) - X-Datadog-Parent-Id: - - "7478077213042494201" - X-Datadog-Sampling-Priority: - - "1" - X-Datadog-Trace-Id: - - "8991564635414322782" - url: https://api.datadoghq.com/api/v1/dashboard/da9-c9h-f7j + - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) + url: https://api.datadoghq.com/api/v1/dashboard/ysh-jdg-xhm method: DELETE response: - body: '{"deleted_dashboard_id":"da9-c9h-f7j"}' + body: '{"deleted_dashboard_id":"ysh-jdg-xhm"}' headers: Cache-Control: - no-cache @@ -310,12 +238,9 @@ interactions: Content-Type: - application/json Date: - - Thu, 28 Jan 2021 16:30:39 GMT + - Tue, 25 May 2021 03:51:18 GMT Pragma: - no-cache - Set-Cookie: - - DD-PSHARD=233; Max-Age=604800; Path=/; expires=Thu, 04-Feb-2021 16:30:39 GMT; - secure; HttpOnly Strict-Transport-Security: - max-age=15724800; Vary: @@ -323,9 +248,9 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Debug: - - JpIJLwIH2nFlZOC+u71rq7aAOL43MLZN3MUsL+gpYHdZz5QLUOG8Jysf8kVK6tPU + - PhosSd3Ch1B6B0DXI71steKUi7XhPDttnPiIP1NdXTw0VJNWpoUnYyBmODS5ne3q X-Dd-Version: - - "35.3796727" + - "35.4598224" X-Frame-Options: - SAMEORIGIN status: 200 OK @@ -340,18 +265,11 @@ interactions: Dd-Operation-Id: - GetDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 1.15.0; terraform-cli 0.12.7-sdk) - datadog-api-client-go/1.0.0-beta.14 (go go1.15.4; os darwin; arch amd64) - X-Datadog-Parent-Id: - - "2886792618007604408" - X-Datadog-Sampling-Priority: - - "1" - X-Datadog-Trace-Id: - - "8991564635414322782" - url: https://api.datadoghq.com/api/v1/dashboard/da9-c9h-f7j + - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) + url: https://api.datadoghq.com/api/v1/dashboard/ysh-jdg-xhm method: GET response: - body: '{"errors": ["Dashboard with ID da9-c9h-f7j not found"]}' + body: '{"errors": ["Dashboard with ID ysh-jdg-xhm not found"]}' headers: Cache-Control: - no-cache @@ -362,7 +280,7 @@ interactions: Content-Type: - application/json Date: - - Thu, 28 Jan 2021 16:30:45 GMT + - Tue, 25 May 2021 03:51:19 GMT Pragma: - no-cache Strict-Transport-Security: @@ -372,7 +290,7 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Version: - - "35.3796727" + - "35.4598224" X-Frame-Options: - SAMEORIGIN status: 404 Not Found diff --git a/datadog/tests/cassettes/TestAccDatadogDashboardHostMap_import.freeze b/datadog/tests/cassettes/TestAccDatadogDashboardHostMap_import.freeze index 1c58f4921..6e07b0576 100644 --- a/datadog/tests/cassettes/TestAccDatadogDashboardHostMap_import.freeze +++ b/datadog/tests/cassettes/TestAccDatadogDashboardHostMap_import.freeze @@ -1 +1 @@ -2020-12-31T15:42:08.134677+01:00 \ No newline at end of file +2021-05-24T23:51:16.377228-04:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogDashboardHostMap_import.yaml b/datadog/tests/cassettes/TestAccDatadogDashboardHostMap_import.yaml index 40e585eca..0a34a40de 100644 --- a/datadog/tests/cassettes/TestAccDatadogDashboardHostMap_import.yaml +++ b/datadog/tests/cassettes/TestAccDatadogDashboardHostMap_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-TestAccDatadogDashboardHostMap_import-local-1609425728","widgets":[{"definition":{"custom_links":[{"label":"Test Custom Link label","link":"https://app.datadoghq.com/dashboard/lists"}],"group":["region"],"no_group_hosts":true,"no_metric_hosts":true,"node_type":"host","requests":{"fill":{"q":"avg:system.cpu.idle{env:prod} by {host}"},"size":{"q":"max:system.cpu.user{env:prod} by {host}"}},"scope":["env:prod"],"style":{"fill_max":"30","fill_min":"10","palette":"YlOrRd","palette_flip":true},"title":"system.cpu.idle, system.cpu.user","title_align":"right","title_size":"16","type":"hostmap"}}]} + {"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-TestAccDatadogDashboardHostMap_import-local-1621914676","widgets":[{"definition":{"custom_links":[{"label":"Test Custom Link label","link":"https://app.datadoghq.com/dashboard/lists"},{"is_hidden":true,"link":"https://app.datadoghq.com/dashboard/lists","override_label":"logs"}],"group":["region"],"no_group_hosts":true,"no_metric_hosts":true,"node_type":"host","requests":{"fill":{"q":"avg:system.cpu.idle{env:prod} by {host}"},"size":{"q":"max:system.cpu.user{env:prod} by {host}"}},"scope":["env:prod"],"style":{"fill_max":"30","fill_min":"10","palette":"YlOrRd","palette_flip":true},"title":"system.cpu.idle, system.cpu.user","title_align":"right","title_size":"16","type":"hostmap"}}]} form: {} headers: Accept: @@ -13,21 +13,11 @@ interactions: Dd-Operation-Id: - CreateDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 1.15.0; terraform-cli 0.12.7-sdk) - datadog-api-client-go/1.0.0-beta.13+dev (go go1.15.4; os darwin; arch amd64) - X-Datadog-Parent-Id: - - "8944213038793338757" - X-Datadog-Sampling-Priority: - - "1" - X-Datadog-Trace-Id: - - "2739794689485606521" + - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) 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":"p29-57k-8pd","title":"tf-TestAccDatadogDashboardHostMap_import-local-1609425728","url":"/dashboard/p29-57k-8pd/tf-testaccdatadogdashboardhostmapimport-local-1609425728","created_at":"2020-12-31T14:50:59.334281+00:00","modified_at":"2020-12-31T14:50:59.334281+00:00","author_handle":"frog@datadoghq.com","widgets":[{"definition":{"style":{"fill_min":"10","fill_max":"30","palette":"YlOrRd","palette_flip":true},"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test - Custom Link label"}],"title_size":"16","title":"system.cpu.idle, system.cpu.user","title_align":"right","node_type":"host","no_metric_hosts":true,"group":["region"],"requests":{"size":{"q":"max:system.cpu.user{env:prod} - by {host}"},"fill":{"q":"avg:system.cpu.idle{env:prod} by {host}"}},"no_group_hosts":true,"type":"hostmap","scope":["env:prod"]},"id":2214229596739543}],"layout_type":"ordered"}' + body: '{"notify_list":[],"description":"Created using the Datadog provider in Terraform","restricted_roles":["043a2842-e140-11e8-bb04-7fd10177666e","08604de8-1dca-11eb-800c-9f5f55ff734d","1302282c-b93b-11eb-a436-da7ad0900002","16169788-28e4-11eb-832c-fb84162ef3eb","17d73994-7531-11eb-94b9-da7ad0900002","284d8b66-93f9-11eb-9c37-da7ad0900002","4de53192-9946-11eb-9cee-da7ad0900002","62cbc476-5c16-11eb-8e98-0388ea7a41f8","657de3a2-29f8-11eb-83b5-6b8ebfb2f184","6bf314be-5c16-11eb-8e98-2356ea436065","7a83f306-96ca-11eb-9c74-da7ad0900002","9b3ab170-b768-11eb-a45a-da7ad0900002","e82bf27a-986c-11eb-9cba-da7ad0900002","f257ba30-dbb2-11ea-a5ff-5fd1d308318a"],"author_name":"Qin Chen","template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"k35-q57-3y5","title":"tf-TestAccDatadogDashboardHostMap_import-local-1621914676","url":"/dashboard/k35-q57-3y5/tf-testaccdatadogdashboardhostmapimport-local-1621914676","created_at":"2021-05-25T03:51:17.338724+00:00","modified_at":"2021-05-25T03:51:17.338724+00:00","author_handle":"qin.chen@datadoghq.com","widgets":[{"definition":{"style":{"fill_min":"10","fill_max":"30","palette":"YlOrRd","palette_flip":true},"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test Custom Link label"},{"override_label":"logs","is_hidden":true,"link":"https://app.datadoghq.com/dashboard/lists"}],"title_size":"16","title":"system.cpu.idle, system.cpu.user","title_align":"right","node_type":"host","no_metric_hosts":true,"group":["region"],"requests":{"size":{"q":"max:system.cpu.user{env:prod} by {host}"},"fill":{"q":"avg:system.cpu.idle{env:prod} by {host}"}},"no_group_hosts":true,"type":"hostmap","scope":["env:prod"]},"id":7319307644516777}],"layout_type":"ordered"}' headers: Cache-Control: - no-cache @@ -38,12 +28,9 @@ interactions: Content-Type: - application/json Date: - - Thu, 31 Dec 2020 14:51:02 GMT + - Tue, 25 May 2021 03:51:17 GMT Pragma: - no-cache - Set-Cookie: - - DD-PSHARD=233; Max-Age=604800; Path=/; expires=Thu, 07-Jan-2021 14:50:59 GMT; - secure; HttpOnly Strict-Transport-Security: - max-age=15724800; Vary: @@ -51,9 +38,9 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Debug: - - F+MB1uJtICegWSQGMRxkng/mFaS+IzSp7MVdNCMxEuNz7Df8CVcsilcdpPZyVGTp + - tpRCH6w417YjBovRJ8VmtuXmNONVYiRp2c8d2AxjPdGBn8PCtgG4vAztrx3qUZAN X-Dd-Version: - - "35.3622023" + - "35.4598224" X-Frame-Options: - SAMEORIGIN status: 200 OK @@ -68,21 +55,11 @@ interactions: Dd-Operation-Id: - GetDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 1.15.0; terraform-cli 0.12.7-sdk) - datadog-api-client-go/1.0.0-beta.13+dev (go go1.15.4; os darwin; arch amd64) - X-Datadog-Parent-Id: - - "1092537733275737457" - X-Datadog-Sampling-Priority: - - "1" - X-Datadog-Trace-Id: - - "2739794689485606521" - url: https://api.datadoghq.com/api/v1/dashboard/p29-57k-8pd + - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) + url: https://api.datadoghq.com/api/v1/dashboard/k35-q57-3y5 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":"p29-57k-8pd","title":"tf-TestAccDatadogDashboardHostMap_import-local-1609425728","url":"/dashboard/p29-57k-8pd/tf-testaccdatadogdashboardhostmapimport-local-1609425728","created_at":"2020-12-31T14:50:59.334281+00:00","modified_at":"2020-12-31T14:50:59.334281+00:00","author_handle":"frog@datadoghq.com","widgets":[{"definition":{"style":{"fill_min":"10","fill_max":"30","palette":"YlOrRd","palette_flip":true},"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test - Custom Link label"}],"title_size":"16","title":"system.cpu.idle, system.cpu.user","title_align":"right","node_type":"host","no_metric_hosts":true,"group":["region"],"requests":{"size":{"q":"max:system.cpu.user{env:prod} - by {host}"},"fill":{"q":"avg:system.cpu.idle{env:prod} by {host}"}},"no_group_hosts":true,"type":"hostmap","scope":["env:prod"]},"id":2214229596739543}],"layout_type":"ordered"}' + body: '{"notify_list":[],"description":"Created using the Datadog provider in Terraform","restricted_roles":["284d8b66-93f9-11eb-9c37-da7ad0900002","043a2842-e140-11e8-bb04-7fd10177666e","657de3a2-29f8-11eb-83b5-6b8ebfb2f184","e82bf27a-986c-11eb-9cba-da7ad0900002","f257ba30-dbb2-11ea-a5ff-5fd1d308318a","6bf314be-5c16-11eb-8e98-2356ea436065","62cbc476-5c16-11eb-8e98-0388ea7a41f8","08604de8-1dca-11eb-800c-9f5f55ff734d","9b3ab170-b768-11eb-a45a-da7ad0900002","7a83f306-96ca-11eb-9c74-da7ad0900002","16169788-28e4-11eb-832c-fb84162ef3eb","4de53192-9946-11eb-9cee-da7ad0900002","1302282c-b93b-11eb-a436-da7ad0900002","17d73994-7531-11eb-94b9-da7ad0900002"],"author_name":"Qin Chen","template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"k35-q57-3y5","title":"tf-TestAccDatadogDashboardHostMap_import-local-1621914676","url":"/dashboard/k35-q57-3y5/tf-testaccdatadogdashboardhostmapimport-local-1621914676","created_at":"2021-05-25T03:51:17.338724+00:00","modified_at":"2021-05-25T03:51:17.338724+00:00","author_handle":"qin.chen@datadoghq.com","widgets":[{"definition":{"style":{"fill_min":"10","fill_max":"30","palette":"YlOrRd","palette_flip":true},"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test Custom Link label"},{"override_label":"logs","is_hidden":true,"link":"https://app.datadoghq.com/dashboard/lists"}],"title_size":"16","title":"system.cpu.idle, system.cpu.user","title_align":"right","node_type":"host","no_metric_hosts":true,"group":["region"],"requests":{"size":{"q":"max:system.cpu.user{env:prod} by {host}"},"fill":{"q":"avg:system.cpu.idle{env:prod} by {host}"}},"no_group_hosts":true,"type":"hostmap","scope":["env:prod"]},"id":7319307644516777}],"layout_type":"ordered"}' headers: Cache-Control: - no-cache @@ -93,12 +70,9 @@ interactions: Content-Type: - application/json Date: - - Thu, 31 Dec 2020 14:51:02 GMT + - Tue, 25 May 2021 03:51:17 GMT Pragma: - no-cache - Set-Cookie: - - DD-PSHARD=233; Max-Age=604800; Path=/; expires=Thu, 07-Jan-2021 14:51:02 GMT; - secure; HttpOnly Strict-Transport-Security: - max-age=15724800; Vary: @@ -106,9 +80,9 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Debug: - - FP8Y2ks6/+u/R8ikARtQQYvp9IVj9nSQPYtAt3WVuBjumgKP35t8vnUuGfeHdr64 + - nLnnBNvlCFDECRnZvzDb0z4sAO35G+IMidcAs8vrCKyjvsKWE8Yd9S3n6OjZ1qRN X-Dd-Version: - - "35.3622023" + - "35.4598224" X-Frame-Options: - SAMEORIGIN status: 200 OK @@ -123,21 +97,11 @@ interactions: Dd-Operation-Id: - GetDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 1.15.0; terraform-cli 0.12.7-sdk) - datadog-api-client-go/1.0.0-beta.13+dev (go go1.15.4; os darwin; arch amd64) - X-Datadog-Parent-Id: - - "1237230546142331088" - X-Datadog-Sampling-Priority: - - "1" - X-Datadog-Trace-Id: - - "2739794689485606521" - url: https://api.datadoghq.com/api/v1/dashboard/p29-57k-8pd + - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) + url: https://api.datadoghq.com/api/v1/dashboard/k35-q57-3y5 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":"p29-57k-8pd","title":"tf-TestAccDatadogDashboardHostMap_import-local-1609425728","url":"/dashboard/p29-57k-8pd/tf-testaccdatadogdashboardhostmapimport-local-1609425728","created_at":"2020-12-31T14:50:59.334281+00:00","modified_at":"2020-12-31T14:50:59.334281+00:00","author_handle":"frog@datadoghq.com","widgets":[{"definition":{"style":{"fill_min":"10","fill_max":"30","palette":"YlOrRd","palette_flip":true},"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test - Custom Link label"}],"title_size":"16","title":"system.cpu.idle, system.cpu.user","title_align":"right","node_type":"host","no_metric_hosts":true,"group":["region"],"requests":{"size":{"q":"max:system.cpu.user{env:prod} - by {host}"},"fill":{"q":"avg:system.cpu.idle{env:prod} by {host}"}},"no_group_hosts":true,"type":"hostmap","scope":["env:prod"]},"id":2214229596739543}],"layout_type":"ordered"}' + body: '{"notify_list":[],"description":"Created using the Datadog provider in Terraform","restricted_roles":["284d8b66-93f9-11eb-9c37-da7ad0900002","043a2842-e140-11e8-bb04-7fd10177666e","657de3a2-29f8-11eb-83b5-6b8ebfb2f184","e82bf27a-986c-11eb-9cba-da7ad0900002","f257ba30-dbb2-11ea-a5ff-5fd1d308318a","6bf314be-5c16-11eb-8e98-2356ea436065","62cbc476-5c16-11eb-8e98-0388ea7a41f8","08604de8-1dca-11eb-800c-9f5f55ff734d","9b3ab170-b768-11eb-a45a-da7ad0900002","7a83f306-96ca-11eb-9c74-da7ad0900002","16169788-28e4-11eb-832c-fb84162ef3eb","4de53192-9946-11eb-9cee-da7ad0900002","1302282c-b93b-11eb-a436-da7ad0900002","17d73994-7531-11eb-94b9-da7ad0900002"],"author_name":"Qin Chen","template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"k35-q57-3y5","title":"tf-TestAccDatadogDashboardHostMap_import-local-1621914676","url":"/dashboard/k35-q57-3y5/tf-testaccdatadogdashboardhostmapimport-local-1621914676","created_at":"2021-05-25T03:51:17.338724+00:00","modified_at":"2021-05-25T03:51:17.338724+00:00","author_handle":"qin.chen@datadoghq.com","widgets":[{"definition":{"style":{"fill_min":"10","fill_max":"30","palette":"YlOrRd","palette_flip":true},"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test Custom Link label"},{"override_label":"logs","is_hidden":true,"link":"https://app.datadoghq.com/dashboard/lists"}],"title_size":"16","title":"system.cpu.idle, system.cpu.user","title_align":"right","node_type":"host","no_metric_hosts":true,"group":["region"],"requests":{"size":{"q":"max:system.cpu.user{env:prod} by {host}"},"fill":{"q":"avg:system.cpu.idle{env:prod} by {host}"}},"no_group_hosts":true,"type":"hostmap","scope":["env:prod"]},"id":7319307644516777}],"layout_type":"ordered"}' headers: Cache-Control: - no-cache @@ -148,12 +112,9 @@ interactions: Content-Type: - application/json Date: - - Thu, 31 Dec 2020 14:51:10 GMT + - Tue, 25 May 2021 03:51:17 GMT Pragma: - no-cache - Set-Cookie: - - DD-PSHARD=233; Max-Age=604800; Path=/; expires=Thu, 07-Jan-2021 14:51:10 GMT; - secure; HttpOnly Strict-Transport-Security: - max-age=15724800; Vary: @@ -161,9 +122,9 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Debug: - - 5H2EXEXOPQC4s7BfWBFjlM6rKywFNh1Cf33eK1xYuPFdBfR+3y2m7Dyr75gZ4kw1 + - F5gm0Rce1/Abr9/0Fw8HAqWfiz0FdiH8er/AXnN6lOn3L6KyGgbsLCwgPlob1No8 X-Dd-Version: - - "35.3622023" + - "35.4598224" X-Frame-Options: - SAMEORIGIN status: 200 OK @@ -178,21 +139,11 @@ interactions: Dd-Operation-Id: - GetDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 1.15.0; terraform-cli 0.12.7-sdk) - datadog-api-client-go/1.0.0-beta.13+dev (go go1.15.4; os darwin; arch amd64) - X-Datadog-Parent-Id: - - "5543219010307706643" - X-Datadog-Sampling-Priority: - - "1" - X-Datadog-Trace-Id: - - "2739794689485606521" - url: https://api.datadoghq.com/api/v1/dashboard/p29-57k-8pd + - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) + url: https://api.datadoghq.com/api/v1/dashboard/k35-q57-3y5 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":"p29-57k-8pd","title":"tf-TestAccDatadogDashboardHostMap_import-local-1609425728","url":"/dashboard/p29-57k-8pd/tf-testaccdatadogdashboardhostmapimport-local-1609425728","created_at":"2020-12-31T14:50:59.334281+00:00","modified_at":"2020-12-31T14:50:59.334281+00:00","author_handle":"frog@datadoghq.com","widgets":[{"definition":{"style":{"fill_min":"10","fill_max":"30","palette":"YlOrRd","palette_flip":true},"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test - Custom Link label"}],"title_size":"16","title":"system.cpu.idle, system.cpu.user","title_align":"right","node_type":"host","no_metric_hosts":true,"group":["region"],"requests":{"size":{"q":"max:system.cpu.user{env:prod} - by {host}"},"fill":{"q":"avg:system.cpu.idle{env:prod} by {host}"}},"no_group_hosts":true,"type":"hostmap","scope":["env:prod"]},"id":2214229596739543}],"layout_type":"ordered"}' + body: '{"notify_list":[],"description":"Created using the Datadog provider in Terraform","restricted_roles":["284d8b66-93f9-11eb-9c37-da7ad0900002","043a2842-e140-11e8-bb04-7fd10177666e","657de3a2-29f8-11eb-83b5-6b8ebfb2f184","e82bf27a-986c-11eb-9cba-da7ad0900002","f257ba30-dbb2-11ea-a5ff-5fd1d308318a","6bf314be-5c16-11eb-8e98-2356ea436065","62cbc476-5c16-11eb-8e98-0388ea7a41f8","08604de8-1dca-11eb-800c-9f5f55ff734d","9b3ab170-b768-11eb-a45a-da7ad0900002","7a83f306-96ca-11eb-9c74-da7ad0900002","16169788-28e4-11eb-832c-fb84162ef3eb","4de53192-9946-11eb-9cee-da7ad0900002","1302282c-b93b-11eb-a436-da7ad0900002","17d73994-7531-11eb-94b9-da7ad0900002"],"author_name":"Qin Chen","template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"k35-q57-3y5","title":"tf-TestAccDatadogDashboardHostMap_import-local-1621914676","url":"/dashboard/k35-q57-3y5/tf-testaccdatadogdashboardhostmapimport-local-1621914676","created_at":"2021-05-25T03:51:17.338724+00:00","modified_at":"2021-05-25T03:51:17.338724+00:00","author_handle":"qin.chen@datadoghq.com","widgets":[{"definition":{"style":{"fill_min":"10","fill_max":"30","palette":"YlOrRd","palette_flip":true},"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test Custom Link label"},{"override_label":"logs","is_hidden":true,"link":"https://app.datadoghq.com/dashboard/lists"}],"title_size":"16","title":"system.cpu.idle, system.cpu.user","title_align":"right","node_type":"host","no_metric_hosts":true,"group":["region"],"requests":{"size":{"q":"max:system.cpu.user{env:prod} by {host}"},"fill":{"q":"avg:system.cpu.idle{env:prod} by {host}"}},"no_group_hosts":true,"type":"hostmap","scope":["env:prod"]},"id":7319307644516777}],"layout_type":"ordered"}' headers: Cache-Control: - no-cache @@ -203,12 +154,9 @@ interactions: Content-Type: - application/json Date: - - Thu, 31 Dec 2020 14:51:15 GMT + - Tue, 25 May 2021 03:51:18 GMT Pragma: - no-cache - Set-Cookie: - - DD-PSHARD=233; Max-Age=604800; Path=/; expires=Thu, 07-Jan-2021 14:51:15 GMT; - secure; HttpOnly Strict-Transport-Security: - max-age=15724800; Vary: @@ -216,9 +164,9 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Debug: - - XhN3sROXhRtxvw2F+uRtJTWMwUQRYhDKBCNr1DfCqtzQgh490ZXtNSOhIx1TzG8K + - F5gm0Rce1/Abr9/0Fw8HAqWfiz0FdiH8er/AXnN6lOn3L6KyGgbsLCwgPlob1No8 X-Dd-Version: - - "35.3622023" + - "35.4598224" X-Frame-Options: - SAMEORIGIN status: 200 OK @@ -233,21 +181,11 @@ interactions: Dd-Operation-Id: - GetDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 1.15.0; terraform-cli 0.12.7-sdk) - datadog-api-client-go/1.0.0-beta.13+dev (go go1.15.4; os darwin; arch amd64) - X-Datadog-Parent-Id: - - "7549632547262040597" - X-Datadog-Sampling-Priority: - - "1" - X-Datadog-Trace-Id: - - "2739794689485606521" - url: https://api.datadoghq.com/api/v1/dashboard/p29-57k-8pd + - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) + url: https://api.datadoghq.com/api/v1/dashboard/k35-q57-3y5 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":"p29-57k-8pd","title":"tf-TestAccDatadogDashboardHostMap_import-local-1609425728","url":"/dashboard/p29-57k-8pd/tf-testaccdatadogdashboardhostmapimport-local-1609425728","created_at":"2020-12-31T14:50:59.334281+00:00","modified_at":"2020-12-31T14:50:59.334281+00:00","author_handle":"frog@datadoghq.com","widgets":[{"definition":{"style":{"fill_min":"10","fill_max":"30","palette":"YlOrRd","palette_flip":true},"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test - Custom Link label"}],"title_size":"16","title":"system.cpu.idle, system.cpu.user","title_align":"right","node_type":"host","no_metric_hosts":true,"group":["region"],"requests":{"size":{"q":"max:system.cpu.user{env:prod} - by {host}"},"fill":{"q":"avg:system.cpu.idle{env:prod} by {host}"}},"no_group_hosts":true,"type":"hostmap","scope":["env:prod"]},"id":2214229596739543}],"layout_type":"ordered"}' + body: '{"notify_list":[],"description":"Created using the Datadog provider in Terraform","restricted_roles":["284d8b66-93f9-11eb-9c37-da7ad0900002","043a2842-e140-11e8-bb04-7fd10177666e","657de3a2-29f8-11eb-83b5-6b8ebfb2f184","e82bf27a-986c-11eb-9cba-da7ad0900002","f257ba30-dbb2-11ea-a5ff-5fd1d308318a","6bf314be-5c16-11eb-8e98-2356ea436065","62cbc476-5c16-11eb-8e98-0388ea7a41f8","08604de8-1dca-11eb-800c-9f5f55ff734d","9b3ab170-b768-11eb-a45a-da7ad0900002","7a83f306-96ca-11eb-9c74-da7ad0900002","16169788-28e4-11eb-832c-fb84162ef3eb","4de53192-9946-11eb-9cee-da7ad0900002","1302282c-b93b-11eb-a436-da7ad0900002","17d73994-7531-11eb-94b9-da7ad0900002"],"author_name":"Qin Chen","template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"k35-q57-3y5","title":"tf-TestAccDatadogDashboardHostMap_import-local-1621914676","url":"/dashboard/k35-q57-3y5/tf-testaccdatadogdashboardhostmapimport-local-1621914676","created_at":"2021-05-25T03:51:17.338724+00:00","modified_at":"2021-05-25T03:51:17.338724+00:00","author_handle":"qin.chen@datadoghq.com","widgets":[{"definition":{"style":{"fill_min":"10","fill_max":"30","palette":"YlOrRd","palette_flip":true},"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test Custom Link label"},{"override_label":"logs","is_hidden":true,"link":"https://app.datadoghq.com/dashboard/lists"}],"title_size":"16","title":"system.cpu.idle, system.cpu.user","title_align":"right","node_type":"host","no_metric_hosts":true,"group":["region"],"requests":{"size":{"q":"max:system.cpu.user{env:prod} by {host}"},"fill":{"q":"avg:system.cpu.idle{env:prod} by {host}"}},"no_group_hosts":true,"type":"hostmap","scope":["env:prod"]},"id":7319307644516777}],"layout_type":"ordered"}' headers: Cache-Control: - no-cache @@ -258,12 +196,9 @@ interactions: Content-Type: - application/json Date: - - Thu, 31 Dec 2020 14:51:16 GMT + - Tue, 25 May 2021 03:51:18 GMT Pragma: - no-cache - Set-Cookie: - - DD-PSHARD=233; Max-Age=604800; Path=/; expires=Thu, 07-Jan-2021 14:51:15 GMT; - secure; HttpOnly Strict-Transport-Security: - max-age=15724800; Vary: @@ -271,9 +206,9 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Debug: - - 1KMr27QHAQHDfYPOMxdkaV+JBh/1ku8yD6KIlLr2d217iUuzksir9gh+Nfb7tVhq + - HbtaOKlJ6OCrx9tMXO6ivMTrEM+g0c93HDp08trmOmgdHozC5J+vn10F0H4WPjCU X-Dd-Version: - - "35.3622023" + - "35.4598224" X-Frame-Options: - SAMEORIGIN status: 200 OK @@ -288,21 +223,11 @@ interactions: Dd-Operation-Id: - GetDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 1.15.0; terraform-cli 0.12.7-sdk) - datadog-api-client-go/1.0.0-beta.13+dev (go go1.15.4; os darwin; arch amd64) - X-Datadog-Parent-Id: - - "2385193848772403889" - X-Datadog-Sampling-Priority: - - "1" - X-Datadog-Trace-Id: - - "2739794689485606521" - url: https://api.datadoghq.com/api/v1/dashboard/p29-57k-8pd + - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) + url: https://api.datadoghq.com/api/v1/dashboard/k35-q57-3y5 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":"p29-57k-8pd","title":"tf-TestAccDatadogDashboardHostMap_import-local-1609425728","url":"/dashboard/p29-57k-8pd/tf-testaccdatadogdashboardhostmapimport-local-1609425728","created_at":"2020-12-31T14:50:59.334281+00:00","modified_at":"2020-12-31T14:50:59.334281+00:00","author_handle":"frog@datadoghq.com","widgets":[{"definition":{"style":{"fill_min":"10","fill_max":"30","palette":"YlOrRd","palette_flip":true},"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test - Custom Link label"}],"title_size":"16","title":"system.cpu.idle, system.cpu.user","title_align":"right","node_type":"host","no_metric_hosts":true,"group":["region"],"requests":{"size":{"q":"max:system.cpu.user{env:prod} - by {host}"},"fill":{"q":"avg:system.cpu.idle{env:prod} by {host}"}},"no_group_hosts":true,"type":"hostmap","scope":["env:prod"]},"id":2214229596739543}],"layout_type":"ordered"}' + body: '{"notify_list":[],"description":"Created using the Datadog provider in Terraform","restricted_roles":["284d8b66-93f9-11eb-9c37-da7ad0900002","043a2842-e140-11e8-bb04-7fd10177666e","657de3a2-29f8-11eb-83b5-6b8ebfb2f184","e82bf27a-986c-11eb-9cba-da7ad0900002","f257ba30-dbb2-11ea-a5ff-5fd1d308318a","6bf314be-5c16-11eb-8e98-2356ea436065","62cbc476-5c16-11eb-8e98-0388ea7a41f8","08604de8-1dca-11eb-800c-9f5f55ff734d","9b3ab170-b768-11eb-a45a-da7ad0900002","7a83f306-96ca-11eb-9c74-da7ad0900002","16169788-28e4-11eb-832c-fb84162ef3eb","4de53192-9946-11eb-9cee-da7ad0900002","1302282c-b93b-11eb-a436-da7ad0900002","17d73994-7531-11eb-94b9-da7ad0900002"],"author_name":"Qin Chen","template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"k35-q57-3y5","title":"tf-TestAccDatadogDashboardHostMap_import-local-1621914676","url":"/dashboard/k35-q57-3y5/tf-testaccdatadogdashboardhostmapimport-local-1621914676","created_at":"2021-05-25T03:51:17.338724+00:00","modified_at":"2021-05-25T03:51:17.338724+00:00","author_handle":"qin.chen@datadoghq.com","widgets":[{"definition":{"style":{"fill_min":"10","fill_max":"30","palette":"YlOrRd","palette_flip":true},"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test Custom Link label"},{"override_label":"logs","is_hidden":true,"link":"https://app.datadoghq.com/dashboard/lists"}],"title_size":"16","title":"system.cpu.idle, system.cpu.user","title_align":"right","node_type":"host","no_metric_hosts":true,"group":["region"],"requests":{"size":{"q":"max:system.cpu.user{env:prod} by {host}"},"fill":{"q":"avg:system.cpu.idle{env:prod} by {host}"}},"no_group_hosts":true,"type":"hostmap","scope":["env:prod"]},"id":7319307644516777}],"layout_type":"ordered"}' headers: Cache-Control: - no-cache @@ -313,12 +238,9 @@ interactions: Content-Type: - application/json Date: - - Thu, 31 Dec 2020 14:51:18 GMT + - Tue, 25 May 2021 03:51:18 GMT Pragma: - no-cache - Set-Cookie: - - DD-PSHARD=233; Max-Age=604800; Path=/; expires=Thu, 07-Jan-2021 14:51:18 GMT; - secure; HttpOnly Strict-Transport-Security: - max-age=15724800; Vary: @@ -326,9 +248,9 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Debug: - - k7TyfVVSwexDGVT9BY0DK6mAmUeZON/G+RdNqRYdH6H7rBeq1MzNVYFK01AYXFlT + - bgHykj7A9bfZx0Y5ZO3swhhp5tGUSNJHqFWR868+qg087CYrDOd5hQslC+noiEtH X-Dd-Version: - - "35.3622023" + - "35.4598224" X-Frame-Options: - SAMEORIGIN status: 200 OK @@ -343,18 +265,11 @@ interactions: Dd-Operation-Id: - DeleteDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 1.15.0; terraform-cli 0.12.7-sdk) - datadog-api-client-go/1.0.0-beta.13+dev (go go1.15.4; os darwin; arch amd64) - X-Datadog-Parent-Id: - - "5290657460457601368" - X-Datadog-Sampling-Priority: - - "1" - X-Datadog-Trace-Id: - - "2739794689485606521" - url: https://api.datadoghq.com/api/v1/dashboard/p29-57k-8pd + - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) + url: https://api.datadoghq.com/api/v1/dashboard/k35-q57-3y5 method: DELETE response: - body: '{"deleted_dashboard_id":"p29-57k-8pd"}' + body: '{"deleted_dashboard_id":"k35-q57-3y5"}' headers: Cache-Control: - no-cache @@ -365,12 +280,9 @@ interactions: Content-Type: - application/json Date: - - Thu, 31 Dec 2020 14:51:21 GMT + - Tue, 25 May 2021 03:51:19 GMT Pragma: - no-cache - Set-Cookie: - - DD-PSHARD=233; Max-Age=604800; Path=/; expires=Thu, 07-Jan-2021 14:51:21 GMT; - secure; HttpOnly Strict-Transport-Security: - max-age=15724800; Vary: @@ -378,9 +290,9 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Debug: - - 2vDhfmOEUBStl6KJFsHicYMybqtUSJ6AfSEVJTVlECBUwTgB5ievW7vT4NcYmXtK + - Um4CoU685QqAscnxhS5BD+goWu2yX1Jd4zCfGzSsEvPPIm1qURZaF8dlLl/OEY4I X-Dd-Version: - - "35.3622023" + - "35.4598224" X-Frame-Options: - SAMEORIGIN status: 200 OK @@ -395,18 +307,11 @@ interactions: Dd-Operation-Id: - GetDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 1.15.0; terraform-cli 0.12.7-sdk) - datadog-api-client-go/1.0.0-beta.13+dev (go go1.15.4; os darwin; arch amd64) - X-Datadog-Parent-Id: - - "6806828832598169664" - X-Datadog-Sampling-Priority: - - "1" - X-Datadog-Trace-Id: - - "2739794689485606521" - url: https://api.datadoghq.com/api/v1/dashboard/p29-57k-8pd + - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) + url: https://api.datadoghq.com/api/v1/dashboard/k35-q57-3y5 method: GET response: - body: '{"errors": ["Dashboard with ID p29-57k-8pd not found"]}' + body: '{"errors": ["Dashboard with ID k35-q57-3y5 not found"]}' headers: Cache-Control: - no-cache @@ -417,7 +322,7 @@ interactions: Content-Type: - application/json Date: - - Thu, 31 Dec 2020 14:51:21 GMT + - Tue, 25 May 2021 03:51:19 GMT Pragma: - no-cache Strict-Transport-Security: @@ -427,7 +332,7 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Version: - - "35.3622023" + - "35.4598224" X-Frame-Options: - SAMEORIGIN status: 404 Not Found diff --git a/datadog/tests/cassettes/TestAccDatadogDashboardQueryTable.freeze b/datadog/tests/cassettes/TestAccDatadogDashboardQueryTable.freeze index 5933add15..4a3662e33 100644 --- a/datadog/tests/cassettes/TestAccDatadogDashboardQueryTable.freeze +++ b/datadog/tests/cassettes/TestAccDatadogDashboardQueryTable.freeze @@ -1 +1 @@ -2021-01-28T17:18:26.710414+01:00 \ No newline at end of file +2021-05-24T23:50:34.708991-04:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogDashboardQueryTable.yaml b/datadog/tests/cassettes/TestAccDatadogDashboardQueryTable.yaml index 97d1a600d..d40041f6d 100644 --- a/datadog/tests/cassettes/TestAccDatadogDashboardQueryTable.yaml +++ b/datadog/tests/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-1611850706","widgets":[{"definition":{"custom_links":[{"label":"Test Custom Link label","link":"https://app.datadoghq.com/dashboard/lists"}],"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"}},{"definition":{"custom_links":[{"label":"Test Custom Link label","link":"https://app.datadoghq.com/dashboard/lists"}],"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"}}]} + {"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-1621914634","widgets":[{"definition":{"custom_links":[{"label":"Test Custom Link label","link":"https://app.datadoghq.com/dashboard/lists"},{"is_hidden":true,"link":"https://app.datadoghq.com/dashboard/lists","override_label":"logs"}],"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"}},{"definition":{"custom_links":[{"label":"Test Custom Link label","link":"https://app.datadoghq.com/dashboard/lists"}],"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"}}]} form: {} headers: Accept: @@ -13,27 +13,11 @@ interactions: Dd-Operation-Id: - CreateDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 1.15.0; terraform-cli 0.12.7-sdk) - datadog-api-client-go/1.0.0-beta.14 (go go1.15.4; os darwin; arch amd64) - X-Datadog-Parent-Id: - - "8793205380101584558" - X-Datadog-Sampling-Priority: - - "1" - X-Datadog-Trace-Id: - - "4039463757613215528" + - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) 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":"8zg-d7s-757","title":"tf-TestAccDatadogDashboardQueryTable-local-1611850706","url":"/dashboard/8zg-d7s-757/tf-testaccdatadogdashboardquerytable-local-1611850706","created_at":"2021-01-28T16:53:24.002488+00:00","modified_at":"2021-01-28T16:53:24.002488+00:00","author_handle":"frog@datadoghq.com","widgets":[{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test - Custom Link label"}],"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":1893447401771171},{"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":3995972679179259},{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test - Custom Link label"}],"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":1441244812108593}],"layout_type":"ordered"}' + body: '{"notify_list":[],"description":"Created using the Datadog provider in Terraform","restricted_roles":["043a2842-e140-11e8-bb04-7fd10177666e","08604de8-1dca-11eb-800c-9f5f55ff734d","1302282c-b93b-11eb-a436-da7ad0900002","16169788-28e4-11eb-832c-fb84162ef3eb","17d73994-7531-11eb-94b9-da7ad0900002","284d8b66-93f9-11eb-9c37-da7ad0900002","4de53192-9946-11eb-9cee-da7ad0900002","62cbc476-5c16-11eb-8e98-0388ea7a41f8","657de3a2-29f8-11eb-83b5-6b8ebfb2f184","6bf314be-5c16-11eb-8e98-2356ea436065","7a83f306-96ca-11eb-9c74-da7ad0900002","9b3ab170-b768-11eb-a45a-da7ad0900002","e82bf27a-986c-11eb-9cba-da7ad0900002","f257ba30-dbb2-11ea-a5ff-5fd1d308318a"],"author_name":"Qin Chen","template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"wgd-t2i-t9x","title":"tf-TestAccDatadogDashboardQueryTable-local-1621914634","url":"/dashboard/wgd-t2i-t9x/tf-testaccdatadogdashboardquerytable-local-1621914634","created_at":"2021-05-25T03:50:35.647425+00:00","modified_at":"2021-05-25T03:50:35.647425+00:00","author_handle":"qin.chen@datadoghq.com","widgets":[{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test Custom Link label"},{"override_label":"logs","is_hidden":true,"link":"https://app.datadoghq.com/dashboard/lists"}],"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":5483215774024621},{"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":12784798004700},{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test Custom Link label"}],"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":936744493229822}],"layout_type":"ordered"}' headers: Cache-Control: - no-cache @@ -44,12 +28,9 @@ interactions: Content-Type: - application/json Date: - - Thu, 28 Jan 2021 16:53:26 GMT + - Tue, 25 May 2021 03:50:35 GMT Pragma: - no-cache - Set-Cookie: - - DD-PSHARD=233; Max-Age=604800; Path=/; expires=Thu, 04-Feb-2021 16:53:23 GMT; - secure; HttpOnly Strict-Transport-Security: - max-age=15724800; Vary: @@ -57,9 +38,9 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Debug: - - B1nwy/pPNqX+q4pQT22cdp1QCexE35IF8qwSHy0Nf7IW0Y881qtn4tXN1lpmzaKc + - gYZcaADwbKcv7Hm19HJx6WsLoKuOijDWAt2viPeCfWqUgyKY+9e1xZdmMJeXV3YV X-Dd-Version: - - "35.3796727" + - "35.4598224" X-Frame-Options: - SAMEORIGIN status: 200 OK @@ -74,27 +55,11 @@ interactions: Dd-Operation-Id: - GetDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 1.15.0; terraform-cli 0.12.7-sdk) - datadog-api-client-go/1.0.0-beta.14 (go go1.15.4; os darwin; arch amd64) - X-Datadog-Parent-Id: - - "3163355225308224934" - X-Datadog-Sampling-Priority: - - "1" - X-Datadog-Trace-Id: - - "4039463757613215528" - url: https://api.datadoghq.com/api/v1/dashboard/8zg-d7s-757 + - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) + url: https://api.datadoghq.com/api/v1/dashboard/wgd-t2i-t9x 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":"8zg-d7s-757","title":"tf-TestAccDatadogDashboardQueryTable-local-1611850706","url":"/dashboard/8zg-d7s-757/tf-testaccdatadogdashboardquerytable-local-1611850706","created_at":"2021-01-28T16:53:24.002488+00:00","modified_at":"2021-01-28T16:53:24.002488+00:00","author_handle":"frog@datadoghq.com","widgets":[{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test - Custom Link label"}],"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":1893447401771171},{"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":3995972679179259},{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test - Custom Link label"}],"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":1441244812108593}],"layout_type":"ordered"}' + body: '{"notify_list":[],"description":"Created using the Datadog provider in Terraform","restricted_roles":["284d8b66-93f9-11eb-9c37-da7ad0900002","043a2842-e140-11e8-bb04-7fd10177666e","657de3a2-29f8-11eb-83b5-6b8ebfb2f184","e82bf27a-986c-11eb-9cba-da7ad0900002","f257ba30-dbb2-11ea-a5ff-5fd1d308318a","6bf314be-5c16-11eb-8e98-2356ea436065","62cbc476-5c16-11eb-8e98-0388ea7a41f8","08604de8-1dca-11eb-800c-9f5f55ff734d","9b3ab170-b768-11eb-a45a-da7ad0900002","7a83f306-96ca-11eb-9c74-da7ad0900002","16169788-28e4-11eb-832c-fb84162ef3eb","4de53192-9946-11eb-9cee-da7ad0900002","1302282c-b93b-11eb-a436-da7ad0900002","17d73994-7531-11eb-94b9-da7ad0900002"],"author_name":"Qin Chen","template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"wgd-t2i-t9x","title":"tf-TestAccDatadogDashboardQueryTable-local-1621914634","url":"/dashboard/wgd-t2i-t9x/tf-testaccdatadogdashboardquerytable-local-1621914634","created_at":"2021-05-25T03:50:35.647425+00:00","modified_at":"2021-05-25T03:50:35.647425+00:00","author_handle":"qin.chen@datadoghq.com","widgets":[{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test Custom Link label"},{"override_label":"logs","is_hidden":true,"link":"https://app.datadoghq.com/dashboard/lists"}],"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":5483215774024621},{"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":12784798004700},{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test Custom Link label"}],"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":936744493229822}],"layout_type":"ordered"}' headers: Cache-Control: - no-cache @@ -105,12 +70,9 @@ interactions: Content-Type: - application/json Date: - - Thu, 28 Jan 2021 16:53:27 GMT + - Tue, 25 May 2021 03:50:35 GMT Pragma: - no-cache - Set-Cookie: - - DD-PSHARD=233; Max-Age=604800; Path=/; expires=Thu, 04-Feb-2021 16:53:26 GMT; - secure; HttpOnly Strict-Transport-Security: - max-age=15724800; Vary: @@ -118,9 +80,9 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Debug: - - Wjq53IVIwnB4SiR238oOYgHFMq/ZYP0LQ/Dv8C2fFLBwTje/dWJHu6pI6vIOK1zG + - LcgNasIYBRkNppmD6mCKE9J6iv0eEjosuuHR5V5zw2fWbR54i39C8dhdK8zDq/40 X-Dd-Version: - - "35.3796727" + - "35.4598224" X-Frame-Options: - SAMEORIGIN status: 200 OK @@ -135,27 +97,11 @@ interactions: Dd-Operation-Id: - GetDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 1.15.0; terraform-cli 0.12.7-sdk) - datadog-api-client-go/1.0.0-beta.14 (go go1.15.4; os darwin; arch amd64) - X-Datadog-Parent-Id: - - "8574705736898556086" - X-Datadog-Sampling-Priority: - - "1" - X-Datadog-Trace-Id: - - "4039463757613215528" - url: https://api.datadoghq.com/api/v1/dashboard/8zg-d7s-757 + - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) + url: https://api.datadoghq.com/api/v1/dashboard/wgd-t2i-t9x 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":"8zg-d7s-757","title":"tf-TestAccDatadogDashboardQueryTable-local-1611850706","url":"/dashboard/8zg-d7s-757/tf-testaccdatadogdashboardquerytable-local-1611850706","created_at":"2021-01-28T16:53:24.002488+00:00","modified_at":"2021-01-28T16:53:24.002488+00:00","author_handle":"frog@datadoghq.com","widgets":[{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test - Custom Link label"}],"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":1893447401771171},{"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":3995972679179259},{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test - Custom Link label"}],"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":1441244812108593}],"layout_type":"ordered"}' + body: '{"notify_list":[],"description":"Created using the Datadog provider in Terraform","restricted_roles":["284d8b66-93f9-11eb-9c37-da7ad0900002","043a2842-e140-11e8-bb04-7fd10177666e","657de3a2-29f8-11eb-83b5-6b8ebfb2f184","e82bf27a-986c-11eb-9cba-da7ad0900002","f257ba30-dbb2-11ea-a5ff-5fd1d308318a","6bf314be-5c16-11eb-8e98-2356ea436065","62cbc476-5c16-11eb-8e98-0388ea7a41f8","08604de8-1dca-11eb-800c-9f5f55ff734d","9b3ab170-b768-11eb-a45a-da7ad0900002","7a83f306-96ca-11eb-9c74-da7ad0900002","16169788-28e4-11eb-832c-fb84162ef3eb","4de53192-9946-11eb-9cee-da7ad0900002","1302282c-b93b-11eb-a436-da7ad0900002","17d73994-7531-11eb-94b9-da7ad0900002"],"author_name":"Qin Chen","template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"wgd-t2i-t9x","title":"tf-TestAccDatadogDashboardQueryTable-local-1621914634","url":"/dashboard/wgd-t2i-t9x/tf-testaccdatadogdashboardquerytable-local-1621914634","created_at":"2021-05-25T03:50:35.647425+00:00","modified_at":"2021-05-25T03:50:35.647425+00:00","author_handle":"qin.chen@datadoghq.com","widgets":[{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test Custom Link label"},{"override_label":"logs","is_hidden":true,"link":"https://app.datadoghq.com/dashboard/lists"}],"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":5483215774024621},{"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":12784798004700},{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test Custom Link label"}],"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":936744493229822}],"layout_type":"ordered"}' headers: Cache-Control: - no-cache @@ -166,12 +112,9 @@ interactions: Content-Type: - application/json Date: - - Thu, 28 Jan 2021 16:53:31 GMT + - Tue, 25 May 2021 03:50:35 GMT Pragma: - no-cache - Set-Cookie: - - DD-PSHARD=233; Max-Age=604800; Path=/; expires=Thu, 04-Feb-2021 16:53:31 GMT; - secure; HttpOnly Strict-Transport-Security: - max-age=15724800; Vary: @@ -179,9 +122,9 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Debug: - - fIO2C4qGDheGHy4YbS+r3a3CXbh4cbRo7roILOimQyiHGjQdOat0cIpWCkupM1uX + - PhosSd3Ch1B6B0DXI71steKUi7XhPDttnPiIP1NdXTw0VJNWpoUnYyBmODS5ne3q X-Dd-Version: - - "35.3796727" + - "35.4598224" X-Frame-Options: - SAMEORIGIN status: 200 OK @@ -196,27 +139,11 @@ interactions: Dd-Operation-Id: - GetDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 1.15.0; terraform-cli 0.12.7-sdk) - datadog-api-client-go/1.0.0-beta.14 (go go1.15.4; os darwin; arch amd64) - X-Datadog-Parent-Id: - - "8440398045012381880" - X-Datadog-Sampling-Priority: - - "1" - X-Datadog-Trace-Id: - - "4039463757613215528" - url: https://api.datadoghq.com/api/v1/dashboard/8zg-d7s-757 + - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) + url: https://api.datadoghq.com/api/v1/dashboard/wgd-t2i-t9x 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":"8zg-d7s-757","title":"tf-TestAccDatadogDashboardQueryTable-local-1611850706","url":"/dashboard/8zg-d7s-757/tf-testaccdatadogdashboardquerytable-local-1611850706","created_at":"2021-01-28T16:53:24.002488+00:00","modified_at":"2021-01-28T16:53:24.002488+00:00","author_handle":"frog@datadoghq.com","widgets":[{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test - Custom Link label"}],"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":1893447401771171},{"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":3995972679179259},{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test - Custom Link label"}],"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":1441244812108593}],"layout_type":"ordered"}' + body: '{"notify_list":[],"description":"Created using the Datadog provider in Terraform","restricted_roles":["284d8b66-93f9-11eb-9c37-da7ad0900002","043a2842-e140-11e8-bb04-7fd10177666e","657de3a2-29f8-11eb-83b5-6b8ebfb2f184","e82bf27a-986c-11eb-9cba-da7ad0900002","f257ba30-dbb2-11ea-a5ff-5fd1d308318a","6bf314be-5c16-11eb-8e98-2356ea436065","62cbc476-5c16-11eb-8e98-0388ea7a41f8","08604de8-1dca-11eb-800c-9f5f55ff734d","9b3ab170-b768-11eb-a45a-da7ad0900002","7a83f306-96ca-11eb-9c74-da7ad0900002","16169788-28e4-11eb-832c-fb84162ef3eb","4de53192-9946-11eb-9cee-da7ad0900002","1302282c-b93b-11eb-a436-da7ad0900002","17d73994-7531-11eb-94b9-da7ad0900002"],"author_name":"Qin Chen","template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"wgd-t2i-t9x","title":"tf-TestAccDatadogDashboardQueryTable-local-1621914634","url":"/dashboard/wgd-t2i-t9x/tf-testaccdatadogdashboardquerytable-local-1621914634","created_at":"2021-05-25T03:50:35.647425+00:00","modified_at":"2021-05-25T03:50:35.647425+00:00","author_handle":"qin.chen@datadoghq.com","widgets":[{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test Custom Link label"},{"override_label":"logs","is_hidden":true,"link":"https://app.datadoghq.com/dashboard/lists"}],"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":5483215774024621},{"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":12784798004700},{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test Custom Link label"}],"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":936744493229822}],"layout_type":"ordered"}' headers: Cache-Control: - no-cache @@ -227,12 +154,9 @@ interactions: Content-Type: - application/json Date: - - Thu, 28 Jan 2021 16:54:11 GMT + - Tue, 25 May 2021 03:50:36 GMT Pragma: - no-cache - Set-Cookie: - - DD-PSHARD=233; Max-Age=604800; Path=/; expires=Thu, 04-Feb-2021 16:54:11 GMT; - secure; HttpOnly Strict-Transport-Security: - max-age=15724800; Vary: @@ -240,9 +164,9 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Debug: - - l8RQo2maZqJf6GFThBbKNE6dvthz6njusVtau3dPXJWL2RLFoN81H+BLPB/1xgs1 + - vdJ3/nHEY1ioXQ6pQrBVvsQK1s4yyc+wufBMPSoXql71qZVuP/xMdtNo6DafhOAk X-Dd-Version: - - "35.3796727" + - "35.4598224" X-Frame-Options: - SAMEORIGIN status: 200 OK @@ -257,27 +181,11 @@ interactions: Dd-Operation-Id: - GetDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 1.15.0; terraform-cli 0.12.7-sdk) - datadog-api-client-go/1.0.0-beta.14 (go go1.15.4; os darwin; arch amd64) - X-Datadog-Parent-Id: - - "4135944249129305703" - X-Datadog-Sampling-Priority: - - "1" - X-Datadog-Trace-Id: - - "4039463757613215528" - url: https://api.datadoghq.com/api/v1/dashboard/8zg-d7s-757 + - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) + url: https://api.datadoghq.com/api/v1/dashboard/wgd-t2i-t9x 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":"8zg-d7s-757","title":"tf-TestAccDatadogDashboardQueryTable-local-1611850706","url":"/dashboard/8zg-d7s-757/tf-testaccdatadogdashboardquerytable-local-1611850706","created_at":"2021-01-28T16:53:24.002488+00:00","modified_at":"2021-01-28T16:53:24.002488+00:00","author_handle":"frog@datadoghq.com","widgets":[{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test - Custom Link label"}],"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":1893447401771171},{"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":3995972679179259},{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test - Custom Link label"}],"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":1441244812108593}],"layout_type":"ordered"}' + body: '{"notify_list":[],"description":"Created using the Datadog provider in Terraform","restricted_roles":["284d8b66-93f9-11eb-9c37-da7ad0900002","043a2842-e140-11e8-bb04-7fd10177666e","657de3a2-29f8-11eb-83b5-6b8ebfb2f184","e82bf27a-986c-11eb-9cba-da7ad0900002","f257ba30-dbb2-11ea-a5ff-5fd1d308318a","6bf314be-5c16-11eb-8e98-2356ea436065","62cbc476-5c16-11eb-8e98-0388ea7a41f8","08604de8-1dca-11eb-800c-9f5f55ff734d","9b3ab170-b768-11eb-a45a-da7ad0900002","7a83f306-96ca-11eb-9c74-da7ad0900002","16169788-28e4-11eb-832c-fb84162ef3eb","4de53192-9946-11eb-9cee-da7ad0900002","1302282c-b93b-11eb-a436-da7ad0900002","17d73994-7531-11eb-94b9-da7ad0900002"],"author_name":"Qin Chen","template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"wgd-t2i-t9x","title":"tf-TestAccDatadogDashboardQueryTable-local-1621914634","url":"/dashboard/wgd-t2i-t9x/tf-testaccdatadogdashboardquerytable-local-1621914634","created_at":"2021-05-25T03:50:35.647425+00:00","modified_at":"2021-05-25T03:50:35.647425+00:00","author_handle":"qin.chen@datadoghq.com","widgets":[{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test Custom Link label"},{"override_label":"logs","is_hidden":true,"link":"https://app.datadoghq.com/dashboard/lists"}],"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":5483215774024621},{"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":12784798004700},{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test Custom Link label"}],"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":936744493229822}],"layout_type":"ordered"}' headers: Cache-Control: - no-cache @@ -288,12 +196,9 @@ interactions: Content-Type: - application/json Date: - - Thu, 28 Jan 2021 16:54:55 GMT + - Tue, 25 May 2021 03:50:36 GMT Pragma: - no-cache - Set-Cookie: - - DD-PSHARD=233; Max-Age=604800; Path=/; expires=Thu, 04-Feb-2021 16:54:55 GMT; - secure; HttpOnly Strict-Transport-Security: - max-age=15724800; Vary: @@ -301,9 +206,9 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Debug: - - JpIJLwIH2nFlZOC+u71rq7aAOL43MLZN3MUsL+gpYHdZz5QLUOG8Jysf8kVK6tPU + - PhosSd3Ch1B6B0DXI71steKUi7XhPDttnPiIP1NdXTw0VJNWpoUnYyBmODS5ne3q X-Dd-Version: - - "35.3796727" + - "35.4598224" X-Frame-Options: - SAMEORIGIN status: 200 OK @@ -318,18 +223,11 @@ interactions: Dd-Operation-Id: - DeleteDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 1.15.0; terraform-cli 0.12.7-sdk) - datadog-api-client-go/1.0.0-beta.14 (go go1.15.4; os darwin; arch amd64) - X-Datadog-Parent-Id: - - "5482077103767240987" - X-Datadog-Sampling-Priority: - - "1" - X-Datadog-Trace-Id: - - "4039463757613215528" - url: https://api.datadoghq.com/api/v1/dashboard/8zg-d7s-757 + - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) + url: https://api.datadoghq.com/api/v1/dashboard/wgd-t2i-t9x method: DELETE response: - body: '{"deleted_dashboard_id":"8zg-d7s-757"}' + body: '{"deleted_dashboard_id":"wgd-t2i-t9x"}' headers: Cache-Control: - no-cache @@ -340,12 +238,9 @@ interactions: Content-Type: - application/json Date: - - Thu, 28 Jan 2021 16:55:29 GMT + - Tue, 25 May 2021 03:50:37 GMT Pragma: - no-cache - Set-Cookie: - - DD-PSHARD=233; Max-Age=604800; Path=/; expires=Thu, 04-Feb-2021 16:55:29 GMT; - secure; HttpOnly Strict-Transport-Security: - max-age=15724800; Vary: @@ -353,9 +248,9 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Debug: - - JpIJLwIH2nFlZOC+u71rq7aAOL43MLZN3MUsL+gpYHdZz5QLUOG8Jysf8kVK6tPU + - 25u1gDlL724DHllbjFT4BhOLorBTilh+aah2uWAUEjFC/+rjczJdiyWrV/HwLwe/ X-Dd-Version: - - "35.3796727" + - "35.4598224" X-Frame-Options: - SAMEORIGIN status: 200 OK @@ -370,18 +265,11 @@ interactions: Dd-Operation-Id: - GetDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 1.15.0; terraform-cli 0.12.7-sdk) - datadog-api-client-go/1.0.0-beta.14 (go go1.15.4; os darwin; arch amd64) - X-Datadog-Parent-Id: - - "8706400379738087899" - X-Datadog-Sampling-Priority: - - "1" - X-Datadog-Trace-Id: - - "4039463757613215528" - url: https://api.datadoghq.com/api/v1/dashboard/8zg-d7s-757 + - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) + url: https://api.datadoghq.com/api/v1/dashboard/wgd-t2i-t9x method: GET response: - body: '{"errors": ["Dashboard with ID 8zg-d7s-757 not found"]}' + body: '{"errors": ["Dashboard with ID wgd-t2i-t9x not found"]}' headers: Cache-Control: - no-cache @@ -392,7 +280,7 @@ interactions: Content-Type: - application/json Date: - - Thu, 28 Jan 2021 16:55:33 GMT + - Tue, 25 May 2021 03:50:37 GMT Pragma: - no-cache Strict-Transport-Security: @@ -402,7 +290,7 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Version: - - "35.3796727" + - "35.4598224" X-Frame-Options: - SAMEORIGIN status: 404 Not Found diff --git a/datadog/tests/cassettes/TestAccDatadogDashboardQueryTable_import.freeze b/datadog/tests/cassettes/TestAccDatadogDashboardQueryTable_import.freeze index 46e361f93..b46df6cc2 100644 --- a/datadog/tests/cassettes/TestAccDatadogDashboardQueryTable_import.freeze +++ b/datadog/tests/cassettes/TestAccDatadogDashboardQueryTable_import.freeze @@ -1 +1 @@ -2020-12-31T15:42:08.733512+01:00 \ No newline at end of file +2021-05-24T23:50:34.708938-04:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogDashboardQueryTable_import.yaml b/datadog/tests/cassettes/TestAccDatadogDashboardQueryTable_import.yaml index d07be9163..704f528c6 100644 --- a/datadog/tests/cassettes/TestAccDatadogDashboardQueryTable_import.yaml +++ b/datadog/tests/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-1609425728","widgets":[{"definition":{"custom_links":[{"label":"Test Custom Link label","link":"https://app.datadoghq.com/dashboard/lists"}],"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"}}]} + {"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-1621914634","widgets":[{"definition":{"custom_links":[{"label":"Test Custom Link label","link":"https://app.datadoghq.com/dashboard/lists"}],"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: @@ -13,23 +13,11 @@ interactions: Dd-Operation-Id: - CreateDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 1.15.0; terraform-cli 0.12.7-sdk) - datadog-api-client-go/1.0.0-beta.13+dev (go go1.15.4; os darwin; arch amd64) - X-Datadog-Parent-Id: - - "2588213728048144463" - X-Datadog-Sampling-Priority: - - "1" - X-Datadog-Trace-Id: - - "818246369330373136" + - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) 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":"rfs-j7f-z3w","title":"tf-TestAccDatadogDashboardQueryTable_import-local-1609425728","url":"/dashboard/rfs-j7f-z3w/tf-testaccdatadogdashboardquerytableimport-local-1609425728","created_at":"2020-12-31T14:48:35.445038+00:00","modified_at":"2020-12-31T14:48:35.445038+00:00","author_handle":"frog@datadoghq.com","widgets":[{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test - Custom Link label"}],"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":6371468778699834},{"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":2642202490964359}],"layout_type":"ordered"}' + body: '{"notify_list":[],"description":"Created using the Datadog provider in Terraform","restricted_roles":["043a2842-e140-11e8-bb04-7fd10177666e","08604de8-1dca-11eb-800c-9f5f55ff734d","1302282c-b93b-11eb-a436-da7ad0900002","16169788-28e4-11eb-832c-fb84162ef3eb","17d73994-7531-11eb-94b9-da7ad0900002","284d8b66-93f9-11eb-9c37-da7ad0900002","4de53192-9946-11eb-9cee-da7ad0900002","62cbc476-5c16-11eb-8e98-0388ea7a41f8","657de3a2-29f8-11eb-83b5-6b8ebfb2f184","6bf314be-5c16-11eb-8e98-2356ea436065","7a83f306-96ca-11eb-9c74-da7ad0900002","9b3ab170-b768-11eb-a45a-da7ad0900002","e82bf27a-986c-11eb-9cba-da7ad0900002","f257ba30-dbb2-11ea-a5ff-5fd1d308318a"],"author_name":"Qin Chen","template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"ztb-iz8-sz2","title":"tf-TestAccDatadogDashboardQueryTable_import-local-1621914634","url":"/dashboard/ztb-iz8-sz2/tf-testaccdatadogdashboardquerytableimport-local-1621914634","created_at":"2021-05-25T03:50:35.642393+00:00","modified_at":"2021-05-25T03:50:35.642393+00:00","author_handle":"qin.chen@datadoghq.com","widgets":[{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test Custom Link label"}],"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":3515683734631357},{"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":2805050064411391}],"layout_type":"ordered"}' headers: Cache-Control: - no-cache @@ -40,12 +28,9 @@ interactions: Content-Type: - application/json Date: - - Thu, 31 Dec 2020 14:48:37 GMT + - Tue, 25 May 2021 03:50:35 GMT Pragma: - no-cache - Set-Cookie: - - DD-PSHARD=233; Max-Age=604800; Path=/; expires=Thu, 07-Jan-2021 14:48:35 GMT; - secure; HttpOnly Strict-Transport-Security: - max-age=15724800; Vary: @@ -53,9 +38,9 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Debug: - - QgQu/iPnCQXRgWPQKBm0M4xipFcbwl50MnRHSjKNayyZv/6KjuJNpOhY5+udaeL8 + - HbtaOKlJ6OCrx9tMXO6ivMTrEM+g0c93HDp08trmOmgdHozC5J+vn10F0H4WPjCU X-Dd-Version: - - "35.3622023" + - "35.4598224" X-Frame-Options: - SAMEORIGIN status: 200 OK @@ -70,23 +55,11 @@ interactions: Dd-Operation-Id: - GetDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 1.15.0; terraform-cli 0.12.7-sdk) - datadog-api-client-go/1.0.0-beta.13+dev (go go1.15.4; os darwin; arch amd64) - X-Datadog-Parent-Id: - - "8839388325963418503" - X-Datadog-Sampling-Priority: - - "1" - X-Datadog-Trace-Id: - - "818246369330373136" - url: https://api.datadoghq.com/api/v1/dashboard/rfs-j7f-z3w + - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) + url: https://api.datadoghq.com/api/v1/dashboard/ztb-iz8-sz2 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":"rfs-j7f-z3w","title":"tf-TestAccDatadogDashboardQueryTable_import-local-1609425728","url":"/dashboard/rfs-j7f-z3w/tf-testaccdatadogdashboardquerytableimport-local-1609425728","created_at":"2020-12-31T14:48:35.445038+00:00","modified_at":"2020-12-31T14:48:35.445038+00:00","author_handle":"frog@datadoghq.com","widgets":[{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test - Custom Link label"}],"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":6371468778699834},{"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":2642202490964359}],"layout_type":"ordered"}' + body: '{"notify_list":[],"description":"Created using the Datadog provider in Terraform","restricted_roles":["284d8b66-93f9-11eb-9c37-da7ad0900002","043a2842-e140-11e8-bb04-7fd10177666e","657de3a2-29f8-11eb-83b5-6b8ebfb2f184","e82bf27a-986c-11eb-9cba-da7ad0900002","f257ba30-dbb2-11ea-a5ff-5fd1d308318a","6bf314be-5c16-11eb-8e98-2356ea436065","62cbc476-5c16-11eb-8e98-0388ea7a41f8","08604de8-1dca-11eb-800c-9f5f55ff734d","9b3ab170-b768-11eb-a45a-da7ad0900002","7a83f306-96ca-11eb-9c74-da7ad0900002","16169788-28e4-11eb-832c-fb84162ef3eb","4de53192-9946-11eb-9cee-da7ad0900002","1302282c-b93b-11eb-a436-da7ad0900002","17d73994-7531-11eb-94b9-da7ad0900002"],"author_name":"Qin Chen","template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"ztb-iz8-sz2","title":"tf-TestAccDatadogDashboardQueryTable_import-local-1621914634","url":"/dashboard/ztb-iz8-sz2/tf-testaccdatadogdashboardquerytableimport-local-1621914634","created_at":"2021-05-25T03:50:35.642393+00:00","modified_at":"2021-05-25T03:50:35.642393+00:00","author_handle":"qin.chen@datadoghq.com","widgets":[{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test Custom Link label"}],"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":3515683734631357},{"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":2805050064411391}],"layout_type":"ordered"}' headers: Cache-Control: - no-cache @@ -97,12 +70,9 @@ interactions: Content-Type: - application/json Date: - - Thu, 31 Dec 2020 14:48:38 GMT + - Tue, 25 May 2021 03:50:35 GMT Pragma: - no-cache - Set-Cookie: - - DD-PSHARD=233; Max-Age=604800; Path=/; expires=Thu, 07-Jan-2021 14:48:37 GMT; - secure; HttpOnly Strict-Transport-Security: - max-age=15724800; Vary: @@ -110,9 +80,9 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Debug: - - VbuXVkM6abYwIF9A0EUx/hxlOb2fUYUuj3PZZOBGVUtLSPf9Jpa+BbRUppU4yJ6y + - nLnnBNvlCFDECRnZvzDb0z4sAO35G+IMidcAs8vrCKyjvsKWE8Yd9S3n6OjZ1qRN X-Dd-Version: - - "35.3622023" + - "35.4598224" X-Frame-Options: - SAMEORIGIN status: 200 OK @@ -127,23 +97,11 @@ interactions: Dd-Operation-Id: - GetDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 1.15.0; terraform-cli 0.12.7-sdk) - datadog-api-client-go/1.0.0-beta.13+dev (go go1.15.4; os darwin; arch amd64) - X-Datadog-Parent-Id: - - "1581430682514189755" - X-Datadog-Sampling-Priority: - - "1" - X-Datadog-Trace-Id: - - "818246369330373136" - url: https://api.datadoghq.com/api/v1/dashboard/rfs-j7f-z3w + - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) + url: https://api.datadoghq.com/api/v1/dashboard/ztb-iz8-sz2 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":"rfs-j7f-z3w","title":"tf-TestAccDatadogDashboardQueryTable_import-local-1609425728","url":"/dashboard/rfs-j7f-z3w/tf-testaccdatadogdashboardquerytableimport-local-1609425728","created_at":"2020-12-31T14:48:35.445038+00:00","modified_at":"2020-12-31T14:48:35.445038+00:00","author_handle":"frog@datadoghq.com","widgets":[{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test - Custom Link label"}],"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":6371468778699834},{"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":2642202490964359}],"layout_type":"ordered"}' + body: '{"notify_list":[],"description":"Created using the Datadog provider in Terraform","restricted_roles":["284d8b66-93f9-11eb-9c37-da7ad0900002","043a2842-e140-11e8-bb04-7fd10177666e","657de3a2-29f8-11eb-83b5-6b8ebfb2f184","e82bf27a-986c-11eb-9cba-da7ad0900002","f257ba30-dbb2-11ea-a5ff-5fd1d308318a","6bf314be-5c16-11eb-8e98-2356ea436065","62cbc476-5c16-11eb-8e98-0388ea7a41f8","08604de8-1dca-11eb-800c-9f5f55ff734d","9b3ab170-b768-11eb-a45a-da7ad0900002","7a83f306-96ca-11eb-9c74-da7ad0900002","16169788-28e4-11eb-832c-fb84162ef3eb","4de53192-9946-11eb-9cee-da7ad0900002","1302282c-b93b-11eb-a436-da7ad0900002","17d73994-7531-11eb-94b9-da7ad0900002"],"author_name":"Qin Chen","template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"ztb-iz8-sz2","title":"tf-TestAccDatadogDashboardQueryTable_import-local-1621914634","url":"/dashboard/ztb-iz8-sz2/tf-testaccdatadogdashboardquerytableimport-local-1621914634","created_at":"2021-05-25T03:50:35.642393+00:00","modified_at":"2021-05-25T03:50:35.642393+00:00","author_handle":"qin.chen@datadoghq.com","widgets":[{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test Custom Link label"}],"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":3515683734631357},{"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":2805050064411391}],"layout_type":"ordered"}' headers: Cache-Control: - no-cache @@ -154,12 +112,9 @@ interactions: Content-Type: - application/json Date: - - Thu, 31 Dec 2020 14:48:45 GMT + - Tue, 25 May 2021 03:50:36 GMT Pragma: - no-cache - Set-Cookie: - - DD-PSHARD=233; Max-Age=604800; Path=/; expires=Thu, 07-Jan-2021 14:48:45 GMT; - secure; HttpOnly Strict-Transport-Security: - max-age=15724800; Vary: @@ -167,9 +122,9 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Debug: - - kz7POzMRR1DtZrw59X15p2pAWXtFgVtBoSlzXFcGszy5lhwGx7f8GB820VUZODrm + - F5gm0Rce1/Abr9/0Fw8HAqWfiz0FdiH8er/AXnN6lOn3L6KyGgbsLCwgPlob1No8 X-Dd-Version: - - "35.3622023" + - "35.4598224" X-Frame-Options: - SAMEORIGIN status: 200 OK @@ -184,23 +139,11 @@ interactions: Dd-Operation-Id: - GetDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 1.15.0; terraform-cli 0.12.7-sdk) - datadog-api-client-go/1.0.0-beta.13+dev (go go1.15.4; os darwin; arch amd64) - X-Datadog-Parent-Id: - - "3302742889560888471" - X-Datadog-Sampling-Priority: - - "1" - X-Datadog-Trace-Id: - - "818246369330373136" - url: https://api.datadoghq.com/api/v1/dashboard/rfs-j7f-z3w + - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) + url: https://api.datadoghq.com/api/v1/dashboard/ztb-iz8-sz2 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":"rfs-j7f-z3w","title":"tf-TestAccDatadogDashboardQueryTable_import-local-1609425728","url":"/dashboard/rfs-j7f-z3w/tf-testaccdatadogdashboardquerytableimport-local-1609425728","created_at":"2020-12-31T14:48:35.445038+00:00","modified_at":"2020-12-31T14:48:35.445038+00:00","author_handle":"frog@datadoghq.com","widgets":[{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test - Custom Link label"}],"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":6371468778699834},{"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":2642202490964359}],"layout_type":"ordered"}' + body: '{"notify_list":[],"description":"Created using the Datadog provider in Terraform","restricted_roles":["284d8b66-93f9-11eb-9c37-da7ad0900002","043a2842-e140-11e8-bb04-7fd10177666e","657de3a2-29f8-11eb-83b5-6b8ebfb2f184","e82bf27a-986c-11eb-9cba-da7ad0900002","f257ba30-dbb2-11ea-a5ff-5fd1d308318a","6bf314be-5c16-11eb-8e98-2356ea436065","62cbc476-5c16-11eb-8e98-0388ea7a41f8","08604de8-1dca-11eb-800c-9f5f55ff734d","9b3ab170-b768-11eb-a45a-da7ad0900002","7a83f306-96ca-11eb-9c74-da7ad0900002","16169788-28e4-11eb-832c-fb84162ef3eb","4de53192-9946-11eb-9cee-da7ad0900002","1302282c-b93b-11eb-a436-da7ad0900002","17d73994-7531-11eb-94b9-da7ad0900002"],"author_name":"Qin Chen","template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"ztb-iz8-sz2","title":"tf-TestAccDatadogDashboardQueryTable_import-local-1621914634","url":"/dashboard/ztb-iz8-sz2/tf-testaccdatadogdashboardquerytableimport-local-1621914634","created_at":"2021-05-25T03:50:35.642393+00:00","modified_at":"2021-05-25T03:50:35.642393+00:00","author_handle":"qin.chen@datadoghq.com","widgets":[{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test Custom Link label"}],"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":3515683734631357},{"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":2805050064411391}],"layout_type":"ordered"}' headers: Cache-Control: - no-cache @@ -211,12 +154,9 @@ interactions: Content-Type: - application/json Date: - - Thu, 31 Dec 2020 14:48:51 GMT + - Tue, 25 May 2021 03:50:36 GMT Pragma: - no-cache - Set-Cookie: - - DD-PSHARD=233; Max-Age=604800; Path=/; expires=Thu, 07-Jan-2021 14:48:51 GMT; - secure; HttpOnly Strict-Transport-Security: - max-age=15724800; Vary: @@ -224,9 +164,9 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Debug: - - motUb+3MrSbL60qP2VQvKfticEMFw/ITb9aZ1t0IvCT8MphWULXKj1d6mnYOkJDn + - 25u1gDlL724DHllbjFT4BhOLorBTilh+aah2uWAUEjFC/+rjczJdiyWrV/HwLwe/ X-Dd-Version: - - "35.3622023" + - "35.4598224" X-Frame-Options: - SAMEORIGIN status: 200 OK @@ -241,23 +181,11 @@ interactions: Dd-Operation-Id: - GetDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 1.15.0; terraform-cli 0.12.7-sdk) - datadog-api-client-go/1.0.0-beta.13+dev (go go1.15.4; os darwin; arch amd64) - X-Datadog-Parent-Id: - - "5921398266116834616" - X-Datadog-Sampling-Priority: - - "1" - X-Datadog-Trace-Id: - - "818246369330373136" - url: https://api.datadoghq.com/api/v1/dashboard/rfs-j7f-z3w + - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) + url: https://api.datadoghq.com/api/v1/dashboard/ztb-iz8-sz2 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":"rfs-j7f-z3w","title":"tf-TestAccDatadogDashboardQueryTable_import-local-1609425728","url":"/dashboard/rfs-j7f-z3w/tf-testaccdatadogdashboardquerytableimport-local-1609425728","created_at":"2020-12-31T14:48:35.445038+00:00","modified_at":"2020-12-31T14:48:35.445038+00:00","author_handle":"frog@datadoghq.com","widgets":[{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test - Custom Link label"}],"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":6371468778699834},{"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":2642202490964359}],"layout_type":"ordered"}' + body: '{"notify_list":[],"description":"Created using the Datadog provider in Terraform","restricted_roles":["284d8b66-93f9-11eb-9c37-da7ad0900002","043a2842-e140-11e8-bb04-7fd10177666e","657de3a2-29f8-11eb-83b5-6b8ebfb2f184","e82bf27a-986c-11eb-9cba-da7ad0900002","f257ba30-dbb2-11ea-a5ff-5fd1d308318a","6bf314be-5c16-11eb-8e98-2356ea436065","62cbc476-5c16-11eb-8e98-0388ea7a41f8","08604de8-1dca-11eb-800c-9f5f55ff734d","9b3ab170-b768-11eb-a45a-da7ad0900002","7a83f306-96ca-11eb-9c74-da7ad0900002","16169788-28e4-11eb-832c-fb84162ef3eb","4de53192-9946-11eb-9cee-da7ad0900002","1302282c-b93b-11eb-a436-da7ad0900002","17d73994-7531-11eb-94b9-da7ad0900002"],"author_name":"Qin Chen","template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"ztb-iz8-sz2","title":"tf-TestAccDatadogDashboardQueryTable_import-local-1621914634","url":"/dashboard/ztb-iz8-sz2/tf-testaccdatadogdashboardquerytableimport-local-1621914634","created_at":"2021-05-25T03:50:35.642393+00:00","modified_at":"2021-05-25T03:50:35.642393+00:00","author_handle":"qin.chen@datadoghq.com","widgets":[{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test Custom Link label"}],"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":3515683734631357},{"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":2805050064411391}],"layout_type":"ordered"}' headers: Cache-Control: - no-cache @@ -268,12 +196,9 @@ interactions: Content-Type: - application/json Date: - - Thu, 31 Dec 2020 14:48:52 GMT + - Tue, 25 May 2021 03:50:36 GMT Pragma: - no-cache - Set-Cookie: - - DD-PSHARD=233; Max-Age=604800; Path=/; expires=Thu, 07-Jan-2021 14:48:52 GMT; - secure; HttpOnly Strict-Transport-Security: - max-age=15724800; Vary: @@ -281,9 +206,9 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Debug: - - 2vDhfmOEUBStl6KJFsHicYMybqtUSJ6AfSEVJTVlECBUwTgB5ievW7vT4NcYmXtK + - l4HFlaRP3QwYSqoGKhzbYfv7zgkK63HIRR7YkyVYZspq0lGjjTBwoK8V/alf+XYt X-Dd-Version: - - "35.3622023" + - "35.4598224" X-Frame-Options: - SAMEORIGIN status: 200 OK @@ -298,23 +223,11 @@ interactions: Dd-Operation-Id: - GetDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 1.15.0; terraform-cli 0.12.7-sdk) - datadog-api-client-go/1.0.0-beta.13+dev (go go1.15.4; os darwin; arch amd64) - X-Datadog-Parent-Id: - - "5620322239328072346" - X-Datadog-Sampling-Priority: - - "1" - X-Datadog-Trace-Id: - - "818246369330373136" - url: https://api.datadoghq.com/api/v1/dashboard/rfs-j7f-z3w + - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) + url: https://api.datadoghq.com/api/v1/dashboard/ztb-iz8-sz2 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":"rfs-j7f-z3w","title":"tf-TestAccDatadogDashboardQueryTable_import-local-1609425728","url":"/dashboard/rfs-j7f-z3w/tf-testaccdatadogdashboardquerytableimport-local-1609425728","created_at":"2020-12-31T14:48:35.445038+00:00","modified_at":"2020-12-31T14:48:35.445038+00:00","author_handle":"frog@datadoghq.com","widgets":[{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test - Custom Link label"}],"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":6371468778699834},{"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":2642202490964359}],"layout_type":"ordered"}' + body: '{"notify_list":[],"description":"Created using the Datadog provider in Terraform","restricted_roles":["284d8b66-93f9-11eb-9c37-da7ad0900002","043a2842-e140-11e8-bb04-7fd10177666e","657de3a2-29f8-11eb-83b5-6b8ebfb2f184","e82bf27a-986c-11eb-9cba-da7ad0900002","f257ba30-dbb2-11ea-a5ff-5fd1d308318a","6bf314be-5c16-11eb-8e98-2356ea436065","62cbc476-5c16-11eb-8e98-0388ea7a41f8","08604de8-1dca-11eb-800c-9f5f55ff734d","9b3ab170-b768-11eb-a45a-da7ad0900002","7a83f306-96ca-11eb-9c74-da7ad0900002","16169788-28e4-11eb-832c-fb84162ef3eb","4de53192-9946-11eb-9cee-da7ad0900002","1302282c-b93b-11eb-a436-da7ad0900002","17d73994-7531-11eb-94b9-da7ad0900002"],"author_name":"Qin Chen","template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"ztb-iz8-sz2","title":"tf-TestAccDatadogDashboardQueryTable_import-local-1621914634","url":"/dashboard/ztb-iz8-sz2/tf-testaccdatadogdashboardquerytableimport-local-1621914634","created_at":"2021-05-25T03:50:35.642393+00:00","modified_at":"2021-05-25T03:50:35.642393+00:00","author_handle":"qin.chen@datadoghq.com","widgets":[{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test Custom Link label"}],"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":3515683734631357},{"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":2805050064411391}],"layout_type":"ordered"}' headers: Cache-Control: - no-cache @@ -325,12 +238,9 @@ interactions: Content-Type: - application/json Date: - - Thu, 31 Dec 2020 14:48:55 GMT + - Tue, 25 May 2021 03:50:37 GMT Pragma: - no-cache - Set-Cookie: - - DD-PSHARD=233; Max-Age=604800; Path=/; expires=Thu, 07-Jan-2021 14:48:55 GMT; - secure; HttpOnly Strict-Transport-Security: - max-age=15724800; Vary: @@ -338,9 +248,9 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Debug: - - Eb2J7DZKGMCxUULFPVCE5N014uh3tvnvHgnaA7NVroaoqvWd6z7v+RZklq5100Rp + - fIO2C4qGDheGHy4YbS+r3a3CXbh4cbRo7roILOimQyiHGjQdOat0cIpWCkupM1uX X-Dd-Version: - - "35.3622023" + - "35.4598224" X-Frame-Options: - SAMEORIGIN status: 200 OK @@ -355,18 +265,11 @@ interactions: Dd-Operation-Id: - DeleteDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 1.15.0; terraform-cli 0.12.7-sdk) - datadog-api-client-go/1.0.0-beta.13+dev (go go1.15.4; os darwin; arch amd64) - X-Datadog-Parent-Id: - - "587203187233318342" - X-Datadog-Sampling-Priority: - - "1" - X-Datadog-Trace-Id: - - "818246369330373136" - url: https://api.datadoghq.com/api/v1/dashboard/rfs-j7f-z3w + - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) + url: https://api.datadoghq.com/api/v1/dashboard/ztb-iz8-sz2 method: DELETE response: - body: '{"deleted_dashboard_id":"rfs-j7f-z3w"}' + body: '{"deleted_dashboard_id":"ztb-iz8-sz2"}' headers: Cache-Control: - no-cache @@ -377,12 +280,9 @@ interactions: Content-Type: - application/json Date: - - Thu, 31 Dec 2020 14:49:00 GMT + - Tue, 25 May 2021 03:50:37 GMT Pragma: - no-cache - Set-Cookie: - - DD-PSHARD=233; Max-Age=604800; Path=/; expires=Thu, 07-Jan-2021 14:48:59 GMT; - secure; HttpOnly Strict-Transport-Security: - max-age=15724800; Vary: @@ -390,9 +290,9 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Debug: - - 5H2EXEXOPQC4s7BfWBFjlM6rKywFNh1Cf33eK1xYuPFdBfR+3y2m7Dyr75gZ4kw1 + - dCmL/3rURV6BPeaqeP3Rxigq41m5CAb17XjrRE42uZ01zpr07HVhbL5/3TWMkvgu X-Dd-Version: - - "35.3622023" + - "35.4598224" X-Frame-Options: - SAMEORIGIN status: 200 OK @@ -407,18 +307,11 @@ interactions: Dd-Operation-Id: - GetDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 1.15.0; terraform-cli 0.12.7-sdk) - datadog-api-client-go/1.0.0-beta.13+dev (go go1.15.4; os darwin; arch amd64) - X-Datadog-Parent-Id: - - "2626856029091684221" - X-Datadog-Sampling-Priority: - - "1" - X-Datadog-Trace-Id: - - "818246369330373136" - url: https://api.datadoghq.com/api/v1/dashboard/rfs-j7f-z3w + - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) + url: https://api.datadoghq.com/api/v1/dashboard/ztb-iz8-sz2 method: GET response: - body: '{"errors": ["Dashboard with ID rfs-j7f-z3w not found"]}' + body: '{"errors": ["Dashboard with ID ztb-iz8-sz2 not found"]}' headers: Cache-Control: - no-cache @@ -429,7 +322,7 @@ interactions: Content-Type: - application/json Date: - - Thu, 31 Dec 2020 14:49:00 GMT + - Tue, 25 May 2021 03:50:37 GMT Pragma: - no-cache Strict-Transport-Security: @@ -439,7 +332,7 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Version: - - "35.3622023" + - "35.4598224" X-Frame-Options: - SAMEORIGIN status: 404 Not Found diff --git a/datadog/tests/cassettes/TestAccDatadogDashboardQueryValue.freeze b/datadog/tests/cassettes/TestAccDatadogDashboardQueryValue.freeze index a46e9f109..676012ab2 100644 --- a/datadog/tests/cassettes/TestAccDatadogDashboardQueryValue.freeze +++ b/datadog/tests/cassettes/TestAccDatadogDashboardQueryValue.freeze @@ -1 +1 @@ -2021-01-28T17:18:26.717647+01:00 \ No newline at end of file +2021-05-24T23:50:13.553056-04:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogDashboardQueryValue.yaml b/datadog/tests/cassettes/TestAccDatadogDashboardQueryValue.yaml index c5f515ad2..9a5b02e10 100644 --- a/datadog/tests/cassettes/TestAccDatadogDashboardQueryValue.yaml +++ b/datadog/tests/cassettes/TestAccDatadogDashboardQueryValue.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-TestAccDatadogDashboardQueryValue-local-1611850706","widgets":[{"definition":{"autoscale":true,"custom_links":[{"label":"Test Custom Link label","link":"https://app.datadoghq.com/dashboard/lists"}],"custom_unit":"Gib","precision":3,"requests":[{"aggregator":"max","conditional_formats":[{"comparator":"\u003c","hide_value":false,"palette":"white_on_red","value":9},{"comparator":"\u003e=","hide_value":false,"palette":"white_on_green","value":9}],"q":"avg:system.mem.free{account:prod}"}],"time":{"live_span":"1h"},"title":"Avg of system.mem.free over account:prod","title_align":"center","title_size":"16","type":"query_value"}},{"definition":{"autoscale":true,"custom_links":[{"label":"Test Custom Link label","link":"https://app.datadoghq.com/dashboard/lists"}],"custom_unit":"Gib","precision":3,"requests":[{"aggregator":"max","conditional_formats":[{"comparator":"\u003c","hide_value":false,"palette":"white_on_red","value":9},{"comparator":"\u003e=","hide_value":false,"palette":"white_on_green","value":9}],"q":"avg:system.mem.free{account:prod}"}],"time":{"live_span":"1h"},"title":"Avg of system.mem.free over account:prod","title_align":"center","title_size":"16","type":"query_value"}}]} + {"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-TestAccDatadogDashboardQueryValue-local-1621914613","widgets":[{"definition":{"autoscale":true,"custom_links":[{"label":"Test Custom Link label","link":"https://app.datadoghq.com/dashboard/lists"},{"is_hidden":true,"link":"https://app.datadoghq.com/dashboard/lists","override_label":"logs"}],"custom_unit":"Gib","precision":3,"requests":[{"aggregator":"max","conditional_formats":[{"comparator":"\u003c","hide_value":false,"palette":"white_on_red","value":9},{"comparator":"\u003e=","hide_value":false,"palette":"white_on_green","value":9}],"q":"avg:system.mem.free{account:prod}"}],"time":{"live_span":"1h"},"title":"Avg of system.mem.free over account:prod","title_align":"center","title_size":"16","type":"query_value"}},{"definition":{"autoscale":true,"custom_links":[{"label":"Test Custom Link label","link":"https://app.datadoghq.com/dashboard/lists"}],"custom_unit":"Gib","precision":3,"requests":[{"aggregator":"max","conditional_formats":[{"comparator":"\u003c","hide_value":false,"palette":"white_on_red","value":9},{"comparator":"\u003e=","hide_value":false,"palette":"white_on_green","value":9}],"q":"avg:system.mem.free{account:prod}"}],"time":{"live_span":"1h"},"title":"Avg of system.mem.free over account:prod","title_align":"center","title_size":"16","type":"query_value"}}]} form: {} headers: Accept: @@ -13,21 +13,11 @@ interactions: Dd-Operation-Id: - CreateDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 1.15.0; terraform-cli 0.12.7-sdk) - datadog-api-client-go/1.0.0-beta.14 (go go1.15.4; os darwin; arch amd64) - X-Datadog-Parent-Id: - - "2202314009423799226" - X-Datadog-Sampling-Priority: - - "1" - X-Datadog-Trace-Id: - - "397224732840668741" + - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) 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":"hus-jgv-77b","title":"tf-TestAccDatadogDashboardQueryValue-local-1611850706","url":"/dashboard/hus-jgv-77b/tf-testaccdatadogdashboardqueryvalue-local-1611850706","created_at":"2021-01-28T16:50:30.753575+00:00","modified_at":"2021-01-28T16:50:30.753575+00:00","author_handle":"frog@datadoghq.com","widgets":[{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test - Custom Link label"}],"autoscale":true,"title":"Avg of system.mem.free over account:prod","title_align":"center","custom_unit":"Gib","precision":3,"time":{"live_span":"1h"},"title_size":"16","requests":[{"q":"avg:system.mem.free{account:prod}","aggregator":"max","conditional_formats":[{"palette":"white_on_red","hide_value":false,"value":9,"comparator":"<"},{"palette":"white_on_green","hide_value":false,"value":9,"comparator":">="}]}],"type":"query_value"},"id":990149644927115},{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test - Custom Link label"}],"autoscale":true,"title":"Avg of system.mem.free over account:prod","title_align":"center","custom_unit":"Gib","precision":3,"time":{"live_span":"1h"},"title_size":"16","requests":[{"q":"avg:system.mem.free{account:prod}","aggregator":"max","conditional_formats":[{"palette":"white_on_red","hide_value":false,"value":9,"comparator":"<"},{"palette":"white_on_green","hide_value":false,"value":9,"comparator":">="}]}],"type":"query_value"},"id":1618808372174177}],"layout_type":"ordered"}' + body: '{"notify_list":[],"description":"Created using the Datadog provider in Terraform","restricted_roles":["043a2842-e140-11e8-bb04-7fd10177666e","08604de8-1dca-11eb-800c-9f5f55ff734d","1302282c-b93b-11eb-a436-da7ad0900002","16169788-28e4-11eb-832c-fb84162ef3eb","17d73994-7531-11eb-94b9-da7ad0900002","284d8b66-93f9-11eb-9c37-da7ad0900002","4de53192-9946-11eb-9cee-da7ad0900002","62cbc476-5c16-11eb-8e98-0388ea7a41f8","657de3a2-29f8-11eb-83b5-6b8ebfb2f184","6bf314be-5c16-11eb-8e98-2356ea436065","7a83f306-96ca-11eb-9c74-da7ad0900002","9b3ab170-b768-11eb-a45a-da7ad0900002","e82bf27a-986c-11eb-9cba-da7ad0900002","f257ba30-dbb2-11ea-a5ff-5fd1d308318a"],"author_name":"Qin Chen","template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"ea3-v78-vrj","title":"tf-TestAccDatadogDashboardQueryValue-local-1621914613","url":"/dashboard/ea3-v78-vrj/tf-testaccdatadogdashboardqueryvalue-local-1621914613","created_at":"2021-05-25T03:50:15.034876+00:00","modified_at":"2021-05-25T03:50:15.034876+00:00","author_handle":"qin.chen@datadoghq.com","widgets":[{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test Custom Link label"},{"override_label":"logs","is_hidden":true,"link":"https://app.datadoghq.com/dashboard/lists"}],"autoscale":true,"title":"Avg of system.mem.free over account:prod","title_align":"center","custom_unit":"Gib","precision":3,"time":{"live_span":"1h"},"title_size":"16","requests":[{"q":"avg:system.mem.free{account:prod}","aggregator":"max","conditional_formats":[{"palette":"white_on_red","hide_value":false,"value":9,"comparator":"<"},{"palette":"white_on_green","hide_value":false,"value":9,"comparator":">="}]}],"type":"query_value"},"id":1202988436723416},{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test Custom Link label"}],"autoscale":true,"title":"Avg of system.mem.free over account:prod","title_align":"center","custom_unit":"Gib","precision":3,"time":{"live_span":"1h"},"title_size":"16","requests":[{"q":"avg:system.mem.free{account:prod}","aggregator":"max","conditional_formats":[{"palette":"white_on_red","hide_value":false,"value":9,"comparator":"<"},{"palette":"white_on_green","hide_value":false,"value":9,"comparator":">="}]}],"type":"query_value"},"id":5501419280265896}],"layout_type":"ordered"}' headers: Cache-Control: - no-cache @@ -38,12 +28,9 @@ interactions: Content-Type: - application/json Date: - - Thu, 28 Jan 2021 16:50:34 GMT + - Tue, 25 May 2021 03:50:15 GMT Pragma: - no-cache - Set-Cookie: - - DD-PSHARD=233; Max-Age=604800; Path=/; expires=Thu, 04-Feb-2021 16:50:30 GMT; - secure; HttpOnly Strict-Transport-Security: - max-age=15724800; Vary: @@ -51,9 +38,9 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Debug: - - gYZcaADwbKcv7Hm19HJx6WsLoKuOijDWAt2viPeCfWqUgyKY+9e1xZdmMJeXV3YV + - nLnnBNvlCFDECRnZvzDb0z4sAO35G+IMidcAs8vrCKyjvsKWE8Yd9S3n6OjZ1qRN X-Dd-Version: - - "35.3796727" + - "35.4598224" X-Frame-Options: - SAMEORIGIN status: 200 OK @@ -68,21 +55,11 @@ interactions: Dd-Operation-Id: - GetDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 1.15.0; terraform-cli 0.12.7-sdk) - datadog-api-client-go/1.0.0-beta.14 (go go1.15.4; os darwin; arch amd64) - X-Datadog-Parent-Id: - - "3232457727134148500" - X-Datadog-Sampling-Priority: - - "1" - X-Datadog-Trace-Id: - - "397224732840668741" - url: https://api.datadoghq.com/api/v1/dashboard/hus-jgv-77b + - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) + url: https://api.datadoghq.com/api/v1/dashboard/ea3-v78-vrj 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":"hus-jgv-77b","title":"tf-TestAccDatadogDashboardQueryValue-local-1611850706","url":"/dashboard/hus-jgv-77b/tf-testaccdatadogdashboardqueryvalue-local-1611850706","created_at":"2021-01-28T16:50:30.753575+00:00","modified_at":"2021-01-28T16:50:30.753575+00:00","author_handle":"frog@datadoghq.com","widgets":[{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test - Custom Link label"}],"autoscale":true,"title":"Avg of system.mem.free over account:prod","title_align":"center","custom_unit":"Gib","precision":3,"time":{"live_span":"1h"},"title_size":"16","requests":[{"q":"avg:system.mem.free{account:prod}","aggregator":"max","conditional_formats":[{"palette":"white_on_red","hide_value":false,"value":9,"comparator":"<"},{"palette":"white_on_green","hide_value":false,"value":9,"comparator":">="}]}],"type":"query_value"},"id":990149644927115},{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test - Custom Link label"}],"autoscale":true,"title":"Avg of system.mem.free over account:prod","title_align":"center","custom_unit":"Gib","precision":3,"time":{"live_span":"1h"},"title_size":"16","requests":[{"q":"avg:system.mem.free{account:prod}","aggregator":"max","conditional_formats":[{"palette":"white_on_red","hide_value":false,"value":9,"comparator":"<"},{"palette":"white_on_green","hide_value":false,"value":9,"comparator":">="}]}],"type":"query_value"},"id":1618808372174177}],"layout_type":"ordered"}' + body: '{"notify_list":[],"description":"Created using the Datadog provider in Terraform","restricted_roles":["284d8b66-93f9-11eb-9c37-da7ad0900002","043a2842-e140-11e8-bb04-7fd10177666e","657de3a2-29f8-11eb-83b5-6b8ebfb2f184","e82bf27a-986c-11eb-9cba-da7ad0900002","f257ba30-dbb2-11ea-a5ff-5fd1d308318a","6bf314be-5c16-11eb-8e98-2356ea436065","62cbc476-5c16-11eb-8e98-0388ea7a41f8","08604de8-1dca-11eb-800c-9f5f55ff734d","9b3ab170-b768-11eb-a45a-da7ad0900002","7a83f306-96ca-11eb-9c74-da7ad0900002","16169788-28e4-11eb-832c-fb84162ef3eb","4de53192-9946-11eb-9cee-da7ad0900002","1302282c-b93b-11eb-a436-da7ad0900002","17d73994-7531-11eb-94b9-da7ad0900002"],"author_name":"Qin Chen","template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"ea3-v78-vrj","title":"tf-TestAccDatadogDashboardQueryValue-local-1621914613","url":"/dashboard/ea3-v78-vrj/tf-testaccdatadogdashboardqueryvalue-local-1621914613","created_at":"2021-05-25T03:50:15.034876+00:00","modified_at":"2021-05-25T03:50:15.034876+00:00","author_handle":"qin.chen@datadoghq.com","widgets":[{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test Custom Link label"},{"override_label":"logs","is_hidden":true,"link":"https://app.datadoghq.com/dashboard/lists"}],"autoscale":true,"title":"Avg of system.mem.free over account:prod","title_align":"center","custom_unit":"Gib","precision":3,"time":{"live_span":"1h"},"title_size":"16","requests":[{"q":"avg:system.mem.free{account:prod}","aggregator":"max","conditional_formats":[{"palette":"white_on_red","hide_value":false,"value":9,"comparator":"<"},{"palette":"white_on_green","hide_value":false,"value":9,"comparator":">="}]}],"type":"query_value"},"id":1202988436723416},{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test Custom Link label"}],"autoscale":true,"title":"Avg of system.mem.free over account:prod","title_align":"center","custom_unit":"Gib","precision":3,"time":{"live_span":"1h"},"title_size":"16","requests":[{"q":"avg:system.mem.free{account:prod}","aggregator":"max","conditional_formats":[{"palette":"white_on_red","hide_value":false,"value":9,"comparator":"<"},{"palette":"white_on_green","hide_value":false,"value":9,"comparator":">="}]}],"type":"query_value"},"id":5501419280265896}],"layout_type":"ordered"}' headers: Cache-Control: - no-cache @@ -93,12 +70,9 @@ interactions: Content-Type: - application/json Date: - - Thu, 28 Jan 2021 16:50:34 GMT + - Tue, 25 May 2021 03:50:15 GMT Pragma: - no-cache - Set-Cookie: - - DD-PSHARD=233; Max-Age=604800; Path=/; expires=Thu, 04-Feb-2021 16:50:34 GMT; - secure; HttpOnly Strict-Transport-Security: - max-age=15724800; Vary: @@ -106,9 +80,9 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Debug: - - PhosSd3Ch1B6B0DXI71steKUi7XhPDttnPiIP1NdXTw0VJNWpoUnYyBmODS5ne3q + - 5gfwVh/5HZ+AnGd/Di93w3NEWC6KMHT9KzmHEiRJmNdOjBtAsbOcgVFyqEChw71h X-Dd-Version: - - "35.3796727" + - "35.4598224" X-Frame-Options: - SAMEORIGIN status: 200 OK @@ -123,21 +97,11 @@ interactions: Dd-Operation-Id: - GetDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 1.15.0; terraform-cli 0.12.7-sdk) - datadog-api-client-go/1.0.0-beta.14 (go go1.15.4; os darwin; arch amd64) - X-Datadog-Parent-Id: - - "4581757762044360587" - X-Datadog-Sampling-Priority: - - "1" - X-Datadog-Trace-Id: - - "397224732840668741" - url: https://api.datadoghq.com/api/v1/dashboard/hus-jgv-77b + - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) + url: https://api.datadoghq.com/api/v1/dashboard/ea3-v78-vrj 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":"hus-jgv-77b","title":"tf-TestAccDatadogDashboardQueryValue-local-1611850706","url":"/dashboard/hus-jgv-77b/tf-testaccdatadogdashboardqueryvalue-local-1611850706","created_at":"2021-01-28T16:50:30.753575+00:00","modified_at":"2021-01-28T16:50:30.753575+00:00","author_handle":"frog@datadoghq.com","widgets":[{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test - Custom Link label"}],"autoscale":true,"title":"Avg of system.mem.free over account:prod","title_align":"center","custom_unit":"Gib","precision":3,"time":{"live_span":"1h"},"title_size":"16","requests":[{"q":"avg:system.mem.free{account:prod}","aggregator":"max","conditional_formats":[{"palette":"white_on_red","hide_value":false,"value":9,"comparator":"<"},{"palette":"white_on_green","hide_value":false,"value":9,"comparator":">="}]}],"type":"query_value"},"id":990149644927115},{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test - Custom Link label"}],"autoscale":true,"title":"Avg of system.mem.free over account:prod","title_align":"center","custom_unit":"Gib","precision":3,"time":{"live_span":"1h"},"title_size":"16","requests":[{"q":"avg:system.mem.free{account:prod}","aggregator":"max","conditional_formats":[{"palette":"white_on_red","hide_value":false,"value":9,"comparator":"<"},{"palette":"white_on_green","hide_value":false,"value":9,"comparator":">="}]}],"type":"query_value"},"id":1618808372174177}],"layout_type":"ordered"}' + body: '{"notify_list":[],"description":"Created using the Datadog provider in Terraform","restricted_roles":["284d8b66-93f9-11eb-9c37-da7ad0900002","043a2842-e140-11e8-bb04-7fd10177666e","657de3a2-29f8-11eb-83b5-6b8ebfb2f184","e82bf27a-986c-11eb-9cba-da7ad0900002","f257ba30-dbb2-11ea-a5ff-5fd1d308318a","6bf314be-5c16-11eb-8e98-2356ea436065","62cbc476-5c16-11eb-8e98-0388ea7a41f8","08604de8-1dca-11eb-800c-9f5f55ff734d","9b3ab170-b768-11eb-a45a-da7ad0900002","7a83f306-96ca-11eb-9c74-da7ad0900002","16169788-28e4-11eb-832c-fb84162ef3eb","4de53192-9946-11eb-9cee-da7ad0900002","1302282c-b93b-11eb-a436-da7ad0900002","17d73994-7531-11eb-94b9-da7ad0900002"],"author_name":"Qin Chen","template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"ea3-v78-vrj","title":"tf-TestAccDatadogDashboardQueryValue-local-1621914613","url":"/dashboard/ea3-v78-vrj/tf-testaccdatadogdashboardqueryvalue-local-1621914613","created_at":"2021-05-25T03:50:15.034876+00:00","modified_at":"2021-05-25T03:50:15.034876+00:00","author_handle":"qin.chen@datadoghq.com","widgets":[{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test Custom Link label"},{"override_label":"logs","is_hidden":true,"link":"https://app.datadoghq.com/dashboard/lists"}],"autoscale":true,"title":"Avg of system.mem.free over account:prod","title_align":"center","custom_unit":"Gib","precision":3,"time":{"live_span":"1h"},"title_size":"16","requests":[{"q":"avg:system.mem.free{account:prod}","aggregator":"max","conditional_formats":[{"palette":"white_on_red","hide_value":false,"value":9,"comparator":"<"},{"palette":"white_on_green","hide_value":false,"value":9,"comparator":">="}]}],"type":"query_value"},"id":1202988436723416},{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test Custom Link label"}],"autoscale":true,"title":"Avg of system.mem.free over account:prod","title_align":"center","custom_unit":"Gib","precision":3,"time":{"live_span":"1h"},"title_size":"16","requests":[{"q":"avg:system.mem.free{account:prod}","aggregator":"max","conditional_formats":[{"palette":"white_on_red","hide_value":false,"value":9,"comparator":"<"},{"palette":"white_on_green","hide_value":false,"value":9,"comparator":">="}]}],"type":"query_value"},"id":5501419280265896}],"layout_type":"ordered"}' headers: Cache-Control: - no-cache @@ -148,12 +112,9 @@ interactions: Content-Type: - application/json Date: - - Thu, 28 Jan 2021 16:50:38 GMT + - Tue, 25 May 2021 03:50:15 GMT Pragma: - no-cache - Set-Cookie: - - DD-PSHARD=233; Max-Age=604800; Path=/; expires=Thu, 04-Feb-2021 16:50:38 GMT; - secure; HttpOnly Strict-Transport-Security: - max-age=15724800; Vary: @@ -161,9 +122,9 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Debug: - - S1wfaMZOKGT/IoMw6fqAwAwGWo2vQ44sjF3YzuETnQfxZO2T5eJbs0aX3UKb9Dwu + - tpRCH6w417YjBovRJ8VmtuXmNONVYiRp2c8d2AxjPdGBn8PCtgG4vAztrx3qUZAN X-Dd-Version: - - "35.3796727" + - "35.4598224" X-Frame-Options: - SAMEORIGIN status: 200 OK @@ -178,21 +139,11 @@ interactions: Dd-Operation-Id: - GetDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 1.15.0; terraform-cli 0.12.7-sdk) - datadog-api-client-go/1.0.0-beta.14 (go go1.15.4; os darwin; arch amd64) - X-Datadog-Parent-Id: - - "2661568310791873646" - X-Datadog-Sampling-Priority: - - "1" - X-Datadog-Trace-Id: - - "397224732840668741" - url: https://api.datadoghq.com/api/v1/dashboard/hus-jgv-77b + - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) + url: https://api.datadoghq.com/api/v1/dashboard/ea3-v78-vrj 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":"hus-jgv-77b","title":"tf-TestAccDatadogDashboardQueryValue-local-1611850706","url":"/dashboard/hus-jgv-77b/tf-testaccdatadogdashboardqueryvalue-local-1611850706","created_at":"2021-01-28T16:50:30.753575+00:00","modified_at":"2021-01-28T16:50:30.753575+00:00","author_handle":"frog@datadoghq.com","widgets":[{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test - Custom Link label"}],"autoscale":true,"title":"Avg of system.mem.free over account:prod","title_align":"center","custom_unit":"Gib","precision":3,"time":{"live_span":"1h"},"title_size":"16","requests":[{"q":"avg:system.mem.free{account:prod}","aggregator":"max","conditional_formats":[{"palette":"white_on_red","hide_value":false,"value":9,"comparator":"<"},{"palette":"white_on_green","hide_value":false,"value":9,"comparator":">="}]}],"type":"query_value"},"id":990149644927115},{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test - Custom Link label"}],"autoscale":true,"title":"Avg of system.mem.free over account:prod","title_align":"center","custom_unit":"Gib","precision":3,"time":{"live_span":"1h"},"title_size":"16","requests":[{"q":"avg:system.mem.free{account:prod}","aggregator":"max","conditional_formats":[{"palette":"white_on_red","hide_value":false,"value":9,"comparator":"<"},{"palette":"white_on_green","hide_value":false,"value":9,"comparator":">="}]}],"type":"query_value"},"id":1618808372174177}],"layout_type":"ordered"}' + body: '{"notify_list":[],"description":"Created using the Datadog provider in Terraform","restricted_roles":["284d8b66-93f9-11eb-9c37-da7ad0900002","043a2842-e140-11e8-bb04-7fd10177666e","657de3a2-29f8-11eb-83b5-6b8ebfb2f184","e82bf27a-986c-11eb-9cba-da7ad0900002","f257ba30-dbb2-11ea-a5ff-5fd1d308318a","6bf314be-5c16-11eb-8e98-2356ea436065","62cbc476-5c16-11eb-8e98-0388ea7a41f8","08604de8-1dca-11eb-800c-9f5f55ff734d","9b3ab170-b768-11eb-a45a-da7ad0900002","7a83f306-96ca-11eb-9c74-da7ad0900002","16169788-28e4-11eb-832c-fb84162ef3eb","4de53192-9946-11eb-9cee-da7ad0900002","1302282c-b93b-11eb-a436-da7ad0900002","17d73994-7531-11eb-94b9-da7ad0900002"],"author_name":"Qin Chen","template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"ea3-v78-vrj","title":"tf-TestAccDatadogDashboardQueryValue-local-1621914613","url":"/dashboard/ea3-v78-vrj/tf-testaccdatadogdashboardqueryvalue-local-1621914613","created_at":"2021-05-25T03:50:15.034876+00:00","modified_at":"2021-05-25T03:50:15.034876+00:00","author_handle":"qin.chen@datadoghq.com","widgets":[{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test Custom Link label"},{"override_label":"logs","is_hidden":true,"link":"https://app.datadoghq.com/dashboard/lists"}],"autoscale":true,"title":"Avg of system.mem.free over account:prod","title_align":"center","custom_unit":"Gib","precision":3,"time":{"live_span":"1h"},"title_size":"16","requests":[{"q":"avg:system.mem.free{account:prod}","aggregator":"max","conditional_formats":[{"palette":"white_on_red","hide_value":false,"value":9,"comparator":"<"},{"palette":"white_on_green","hide_value":false,"value":9,"comparator":">="}]}],"type":"query_value"},"id":1202988436723416},{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test Custom Link label"}],"autoscale":true,"title":"Avg of system.mem.free over account:prod","title_align":"center","custom_unit":"Gib","precision":3,"time":{"live_span":"1h"},"title_size":"16","requests":[{"q":"avg:system.mem.free{account:prod}","aggregator":"max","conditional_formats":[{"palette":"white_on_red","hide_value":false,"value":9,"comparator":"<"},{"palette":"white_on_green","hide_value":false,"value":9,"comparator":">="}]}],"type":"query_value"},"id":5501419280265896}],"layout_type":"ordered"}' headers: Cache-Control: - no-cache @@ -203,12 +154,9 @@ interactions: Content-Type: - application/json Date: - - Thu, 28 Jan 2021 16:51:12 GMT + - Tue, 25 May 2021 03:50:16 GMT Pragma: - no-cache - Set-Cookie: - - DD-PSHARD=233; Max-Age=604800; Path=/; expires=Thu, 04-Feb-2021 16:51:12 GMT; - secure; HttpOnly Strict-Transport-Security: - max-age=15724800; Vary: @@ -216,9 +164,9 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Debug: - - l4HFlaRP3QwYSqoGKhzbYfv7zgkK63HIRR7YkyVYZspq0lGjjTBwoK8V/alf+XYt + - /L+SFFO+m1pPY+hRCpk5325fvfrNl0KmiquUNJolBN/5hu3HIwflqjZSbJ6NxDFG X-Dd-Version: - - "35.3796727" + - "35.4598224" X-Frame-Options: - SAMEORIGIN status: 200 OK @@ -233,21 +181,11 @@ interactions: Dd-Operation-Id: - GetDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 1.15.0; terraform-cli 0.12.7-sdk) - datadog-api-client-go/1.0.0-beta.14 (go go1.15.4; os darwin; arch amd64) - X-Datadog-Parent-Id: - - "315404317565477384" - X-Datadog-Sampling-Priority: - - "1" - X-Datadog-Trace-Id: - - "397224732840668741" - url: https://api.datadoghq.com/api/v1/dashboard/hus-jgv-77b + - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) + url: https://api.datadoghq.com/api/v1/dashboard/ea3-v78-vrj 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":"hus-jgv-77b","title":"tf-TestAccDatadogDashboardQueryValue-local-1611850706","url":"/dashboard/hus-jgv-77b/tf-testaccdatadogdashboardqueryvalue-local-1611850706","created_at":"2021-01-28T16:50:30.753575+00:00","modified_at":"2021-01-28T16:50:30.753575+00:00","author_handle":"frog@datadoghq.com","widgets":[{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test - Custom Link label"}],"autoscale":true,"title":"Avg of system.mem.free over account:prod","title_align":"center","custom_unit":"Gib","precision":3,"time":{"live_span":"1h"},"title_size":"16","requests":[{"q":"avg:system.mem.free{account:prod}","aggregator":"max","conditional_formats":[{"palette":"white_on_red","hide_value":false,"value":9,"comparator":"<"},{"palette":"white_on_green","hide_value":false,"value":9,"comparator":">="}]}],"type":"query_value"},"id":990149644927115},{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test - Custom Link label"}],"autoscale":true,"title":"Avg of system.mem.free over account:prod","title_align":"center","custom_unit":"Gib","precision":3,"time":{"live_span":"1h"},"title_size":"16","requests":[{"q":"avg:system.mem.free{account:prod}","aggregator":"max","conditional_formats":[{"palette":"white_on_red","hide_value":false,"value":9,"comparator":"<"},{"palette":"white_on_green","hide_value":false,"value":9,"comparator":">="}]}],"type":"query_value"},"id":1618808372174177}],"layout_type":"ordered"}' + body: '{"notify_list":[],"description":"Created using the Datadog provider in Terraform","restricted_roles":["284d8b66-93f9-11eb-9c37-da7ad0900002","043a2842-e140-11e8-bb04-7fd10177666e","657de3a2-29f8-11eb-83b5-6b8ebfb2f184","e82bf27a-986c-11eb-9cba-da7ad0900002","f257ba30-dbb2-11ea-a5ff-5fd1d308318a","6bf314be-5c16-11eb-8e98-2356ea436065","62cbc476-5c16-11eb-8e98-0388ea7a41f8","08604de8-1dca-11eb-800c-9f5f55ff734d","9b3ab170-b768-11eb-a45a-da7ad0900002","7a83f306-96ca-11eb-9c74-da7ad0900002","16169788-28e4-11eb-832c-fb84162ef3eb","4de53192-9946-11eb-9cee-da7ad0900002","1302282c-b93b-11eb-a436-da7ad0900002","17d73994-7531-11eb-94b9-da7ad0900002"],"author_name":"Qin Chen","template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"ea3-v78-vrj","title":"tf-TestAccDatadogDashboardQueryValue-local-1621914613","url":"/dashboard/ea3-v78-vrj/tf-testaccdatadogdashboardqueryvalue-local-1621914613","created_at":"2021-05-25T03:50:15.034876+00:00","modified_at":"2021-05-25T03:50:15.034876+00:00","author_handle":"qin.chen@datadoghq.com","widgets":[{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test Custom Link label"},{"override_label":"logs","is_hidden":true,"link":"https://app.datadoghq.com/dashboard/lists"}],"autoscale":true,"title":"Avg of system.mem.free over account:prod","title_align":"center","custom_unit":"Gib","precision":3,"time":{"live_span":"1h"},"title_size":"16","requests":[{"q":"avg:system.mem.free{account:prod}","aggregator":"max","conditional_formats":[{"palette":"white_on_red","hide_value":false,"value":9,"comparator":"<"},{"palette":"white_on_green","hide_value":false,"value":9,"comparator":">="}]}],"type":"query_value"},"id":1202988436723416},{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test Custom Link label"}],"autoscale":true,"title":"Avg of system.mem.free over account:prod","title_align":"center","custom_unit":"Gib","precision":3,"time":{"live_span":"1h"},"title_size":"16","requests":[{"q":"avg:system.mem.free{account:prod}","aggregator":"max","conditional_formats":[{"palette":"white_on_red","hide_value":false,"value":9,"comparator":"<"},{"palette":"white_on_green","hide_value":false,"value":9,"comparator":">="}]}],"type":"query_value"},"id":5501419280265896}],"layout_type":"ordered"}' headers: Cache-Control: - no-cache @@ -258,12 +196,9 @@ interactions: Content-Type: - application/json Date: - - Thu, 28 Jan 2021 16:52:12 GMT + - Tue, 25 May 2021 03:50:17 GMT Pragma: - no-cache - Set-Cookie: - - DD-PSHARD=233; Max-Age=604800; Path=/; expires=Thu, 04-Feb-2021 16:52:11 GMT; - secure; HttpOnly Strict-Transport-Security: - max-age=15724800; Vary: @@ -271,9 +206,9 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Debug: - - Wjq53IVIwnB4SiR238oOYgHFMq/ZYP0LQ/Dv8C2fFLBwTje/dWJHu6pI6vIOK1zG + - gYZcaADwbKcv7Hm19HJx6WsLoKuOijDWAt2viPeCfWqUgyKY+9e1xZdmMJeXV3YV X-Dd-Version: - - "35.3796727" + - "35.4598224" X-Frame-Options: - SAMEORIGIN status: 200 OK @@ -288,18 +223,11 @@ interactions: Dd-Operation-Id: - DeleteDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 1.15.0; terraform-cli 0.12.7-sdk) - datadog-api-client-go/1.0.0-beta.14 (go go1.15.4; os darwin; arch amd64) - X-Datadog-Parent-Id: - - "7133999346065199771" - X-Datadog-Sampling-Priority: - - "1" - X-Datadog-Trace-Id: - - "397224732840668741" - url: https://api.datadoghq.com/api/v1/dashboard/hus-jgv-77b + - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) + url: https://api.datadoghq.com/api/v1/dashboard/ea3-v78-vrj method: DELETE response: - body: '{"deleted_dashboard_id":"hus-jgv-77b"}' + body: '{"deleted_dashboard_id":"ea3-v78-vrj"}' headers: Cache-Control: - no-cache @@ -310,12 +238,9 @@ interactions: Content-Type: - application/json Date: - - Thu, 28 Jan 2021 16:52:33 GMT + - Tue, 25 May 2021 03:50:18 GMT Pragma: - no-cache - Set-Cookie: - - DD-PSHARD=233; Max-Age=604800; Path=/; expires=Thu, 04-Feb-2021 16:52:33 GMT; - secure; HttpOnly Strict-Transport-Security: - max-age=15724800; Vary: @@ -323,9 +248,9 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Debug: - - bgHykj7A9bfZx0Y5ZO3swhhp5tGUSNJHqFWR868+qg087CYrDOd5hQslC+noiEtH + - F5gm0Rce1/Abr9/0Fw8HAqWfiz0FdiH8er/AXnN6lOn3L6KyGgbsLCwgPlob1No8 X-Dd-Version: - - "35.3796727" + - "35.4598224" X-Frame-Options: - SAMEORIGIN status: 200 OK @@ -340,18 +265,11 @@ interactions: Dd-Operation-Id: - GetDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 1.15.0; terraform-cli 0.12.7-sdk) - datadog-api-client-go/1.0.0-beta.14 (go go1.15.4; os darwin; arch amd64) - X-Datadog-Parent-Id: - - "4076005582612531406" - X-Datadog-Sampling-Priority: - - "1" - X-Datadog-Trace-Id: - - "397224732840668741" - url: https://api.datadoghq.com/api/v1/dashboard/hus-jgv-77b + - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) + url: https://api.datadoghq.com/api/v1/dashboard/ea3-v78-vrj method: GET response: - body: '{"errors": ["Dashboard with ID hus-jgv-77b not found"]}' + body: '{"errors": ["Dashboard with ID ea3-v78-vrj not found"]}' headers: Cache-Control: - no-cache @@ -362,7 +280,7 @@ interactions: Content-Type: - application/json Date: - - Thu, 28 Jan 2021 16:52:35 GMT + - Tue, 25 May 2021 03:50:18 GMT Pragma: - no-cache Strict-Transport-Security: @@ -372,7 +290,7 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Version: - - "35.3796727" + - "35.4598224" X-Frame-Options: - SAMEORIGIN status: 404 Not Found diff --git a/datadog/tests/cassettes/TestAccDatadogDashboardQueryValueFormula.freeze b/datadog/tests/cassettes/TestAccDatadogDashboardQueryValueFormula.freeze index 5c128e2bf..4d58f9a6c 100644 --- a/datadog/tests/cassettes/TestAccDatadogDashboardQueryValueFormula.freeze +++ b/datadog/tests/cassettes/TestAccDatadogDashboardQueryValueFormula.freeze @@ -1 +1 @@ -2021-02-25T18:39:08.086427-05:00 \ No newline at end of file +2021-05-24T23:50:13.554583-04:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogDashboardQueryValueFormula.yaml b/datadog/tests/cassettes/TestAccDatadogDashboardQueryValueFormula.yaml index 7754b3d31..b6ca35366 100644 --- a/datadog/tests/cassettes/TestAccDatadogDashboardQueryValueFormula.yaml +++ b/datadog/tests/cassettes/TestAccDatadogDashboardQueryValueFormula.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-TestAccDatadogDashboardQueryValueFormula-local-1614296348","widgets":[{"definition":{"autoscale":false,"precision":0,"requests":[{"formulas":[{"formula":"query1 + query2","limit":{"count":10,"order":"asc"}}],"queries":[{"aggregator":"sum","data_source":"metrics","name":"query1","query":"avg:system.cpu.system{*} by {datacenter}"},{"aggregator":"sum","data_source":"metrics","name":"query2","query":"avg:system.load.1{*} by {datacenter}"}],"response_format":"scalar"}],"type":"query_value"}},{"definition":{"autoscale":false,"precision":0,"requests":[{"formulas":[{"formula":"query1","limit":{"count":25,"order":"desc"}}],"queries":[{"compute":{"aggregation":"count"},"data_source":"rum","indexes":["*"],"name":"query1"}],"response_format":"scalar"}],"type":"query_value"}}]} + {"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-TestAccDatadogDashboardQueryValueFormula-local-1621914613","widgets":[{"definition":{"autoscale":false,"precision":0,"requests":[{"formulas":[{"formula":"query1 + query2","limit":{"count":10,"order":"asc"}}],"queries":[{"aggregator":"sum","data_source":"metrics","name":"query1","query":"avg:system.cpu.system{*} by {datacenter}"},{"aggregator":"sum","data_source":"metrics","name":"query2","query":"avg:system.load.1{*} by {datacenter}"}],"response_format":"scalar"}],"type":"query_value"}},{"definition":{"autoscale":false,"precision":0,"requests":[{"formulas":[{"formula":"query1","limit":{"count":25,"order":"desc"}}],"queries":[{"compute":{"aggregation":"count"},"data_source":"rum","indexes":["*"],"name":"query1"}],"response_format":"scalar"}],"type":"query_value"}}]} form: {} headers: Accept: @@ -13,11 +13,11 @@ interactions: Dd-Operation-Id: - CreateDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.16+dev (go go1.15.6; os darwin; arch amd64) + - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) 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":"6gt-3rp-fj2","title":"tf-TestAccDatadogDashboardQueryValueFormula-local-1614296348","url":"/dashboard/6gt-3rp-fj2/tf-testaccdatadogdashboardqueryvalueformula-local-1614296348","created_at":"2021-02-25T23:39:08.959260+00:00","modified_at":"2021-02-25T23:39:08.959260+00:00","author_handle":"frog@datadoghq.com","widgets":[{"definition":{"type":"query_value","requests":[{"formulas":[{"formula":"query1 + query2","limit":{"count":10,"order":"asc"}}],"response_format":"scalar","queries":[{"aggregator":"sum","data_source":"metrics","name":"query1","query":"avg:system.cpu.system{*} by {datacenter}"},{"aggregator":"sum","data_source":"metrics","name":"query2","query":"avg:system.load.1{*} by {datacenter}"}]}],"autoscale":false,"precision":0},"id":6851875718636234},{"definition":{"type":"query_value","requests":[{"formulas":[{"formula":"query1","limit":{"count":25,"order":"desc"}}],"response_format":"scalar","queries":[{"data_source":"rum","compute":{"aggregation":"count"},"name":"query1","indexes":["*"]}]}],"autoscale":false,"precision":0},"id":6640188580202253}],"layout_type":"ordered"}' + body: '{"notify_list":[],"description":"Created using the Datadog provider in Terraform","restricted_roles":["043a2842-e140-11e8-bb04-7fd10177666e","08604de8-1dca-11eb-800c-9f5f55ff734d","1302282c-b93b-11eb-a436-da7ad0900002","16169788-28e4-11eb-832c-fb84162ef3eb","17d73994-7531-11eb-94b9-da7ad0900002","284d8b66-93f9-11eb-9c37-da7ad0900002","4de53192-9946-11eb-9cee-da7ad0900002","62cbc476-5c16-11eb-8e98-0388ea7a41f8","657de3a2-29f8-11eb-83b5-6b8ebfb2f184","6bf314be-5c16-11eb-8e98-2356ea436065","7a83f306-96ca-11eb-9c74-da7ad0900002","9b3ab170-b768-11eb-a45a-da7ad0900002","e82bf27a-986c-11eb-9cba-da7ad0900002","f257ba30-dbb2-11ea-a5ff-5fd1d308318a"],"author_name":"Qin Chen","template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"25f-iw2-wgk","title":"tf-TestAccDatadogDashboardQueryValueFormula-local-1621914613","url":"/dashboard/25f-iw2-wgk/tf-testaccdatadogdashboardqueryvalueformula-local-1621914613","created_at":"2021-05-25T03:50:15.040177+00:00","modified_at":"2021-05-25T03:50:15.040177+00:00","author_handle":"qin.chen@datadoghq.com","widgets":[{"definition":{"type":"query_value","requests":[{"formulas":[{"formula":"query1 + query2","limit":{"count":10,"order":"asc"}}],"response_format":"scalar","queries":[{"aggregator":"sum","data_source":"metrics","name":"query1","query":"avg:system.cpu.system{*} by {datacenter}"},{"aggregator":"sum","data_source":"metrics","name":"query2","query":"avg:system.load.1{*} by {datacenter}"}]}],"autoscale":false,"precision":0},"id":4729539617753545},{"definition":{"type":"query_value","requests":[{"formulas":[{"formula":"query1","limit":{"count":25,"order":"desc"}}],"response_format":"scalar","queries":[{"data_source":"rum","compute":{"aggregation":"count"},"name":"query1","indexes":["*"]}]}],"autoscale":false,"precision":0},"id":7441758673204802}],"layout_type":"ordered"}' headers: Cache-Control: - no-cache @@ -28,7 +28,7 @@ interactions: Content-Type: - application/json Date: - - Thu, 25 Feb 2021 23:39:12 GMT + - Tue, 25 May 2021 03:50:15 GMT Pragma: - no-cache Strict-Transport-Security: @@ -38,9 +38,9 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Debug: - - PhosSd3Ch1B6B0DXI71steKUi7XhPDttnPiIP1NdXTw0VJNWpoUnYyBmODS5ne3q + - S1wfaMZOKGT/IoMw6fqAwAwGWo2vQ44sjF3YzuETnQfxZO2T5eJbs0aX3UKb9Dwu X-Dd-Version: - - "35.3986175" + - "35.4598224" X-Frame-Options: - SAMEORIGIN status: 200 OK @@ -55,11 +55,11 @@ interactions: Dd-Operation-Id: - GetDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.16+dev (go go1.15.6; os darwin; arch amd64) - url: https://api.datadoghq.com/api/v1/dashboard/6gt-3rp-fj2 + - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) + url: https://api.datadoghq.com/api/v1/dashboard/25f-iw2-wgk 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":"6gt-3rp-fj2","title":"tf-TestAccDatadogDashboardQueryValueFormula-local-1614296348","url":"/dashboard/6gt-3rp-fj2/tf-testaccdatadogdashboardqueryvalueformula-local-1614296348","created_at":"2021-02-25T23:39:08.959260+00:00","modified_at":"2021-02-25T23:39:08.959260+00:00","author_handle":"frog@datadoghq.com","widgets":[{"definition":{"type":"query_value","requests":[{"formulas":[{"formula":"query1 + query2","limit":{"count":10,"order":"asc"}}],"response_format":"scalar","queries":[{"aggregator":"sum","data_source":"metrics","name":"query1","query":"avg:system.cpu.system{*} by {datacenter}"},{"aggregator":"sum","data_source":"metrics","name":"query2","query":"avg:system.load.1{*} by {datacenter}"}]}],"autoscale":false,"precision":0},"id":6851875718636234},{"definition":{"type":"query_value","requests":[{"formulas":[{"formula":"query1","limit":{"count":25,"order":"desc"}}],"response_format":"scalar","queries":[{"data_source":"rum","compute":{"aggregation":"count"},"name":"query1","indexes":["*"]}]}],"autoscale":false,"precision":0},"id":6640188580202253}],"layout_type":"ordered"}' + body: '{"notify_list":[],"description":"Created using the Datadog provider in Terraform","restricted_roles":["284d8b66-93f9-11eb-9c37-da7ad0900002","043a2842-e140-11e8-bb04-7fd10177666e","657de3a2-29f8-11eb-83b5-6b8ebfb2f184","e82bf27a-986c-11eb-9cba-da7ad0900002","f257ba30-dbb2-11ea-a5ff-5fd1d308318a","6bf314be-5c16-11eb-8e98-2356ea436065","62cbc476-5c16-11eb-8e98-0388ea7a41f8","08604de8-1dca-11eb-800c-9f5f55ff734d","9b3ab170-b768-11eb-a45a-da7ad0900002","7a83f306-96ca-11eb-9c74-da7ad0900002","16169788-28e4-11eb-832c-fb84162ef3eb","4de53192-9946-11eb-9cee-da7ad0900002","1302282c-b93b-11eb-a436-da7ad0900002","17d73994-7531-11eb-94b9-da7ad0900002"],"author_name":"Qin Chen","template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"25f-iw2-wgk","title":"tf-TestAccDatadogDashboardQueryValueFormula-local-1621914613","url":"/dashboard/25f-iw2-wgk/tf-testaccdatadogdashboardqueryvalueformula-local-1621914613","created_at":"2021-05-25T03:50:15.040177+00:00","modified_at":"2021-05-25T03:50:15.040177+00:00","author_handle":"qin.chen@datadoghq.com","widgets":[{"definition":{"type":"query_value","requests":[{"formulas":[{"formula":"query1 + query2","limit":{"count":10,"order":"asc"}}],"response_format":"scalar","queries":[{"aggregator":"sum","data_source":"metrics","name":"query1","query":"avg:system.cpu.system{*} by {datacenter}"},{"aggregator":"sum","data_source":"metrics","name":"query2","query":"avg:system.load.1{*} by {datacenter}"}]}],"autoscale":false,"precision":0},"id":4729539617753545},{"definition":{"type":"query_value","requests":[{"formulas":[{"formula":"query1","limit":{"count":25,"order":"desc"}}],"response_format":"scalar","queries":[{"data_source":"rum","compute":{"aggregation":"count"},"name":"query1","indexes":["*"]}]}],"autoscale":false,"precision":0},"id":7441758673204802}],"layout_type":"ordered"}' headers: Cache-Control: - no-cache @@ -70,7 +70,7 @@ interactions: Content-Type: - application/json Date: - - Thu, 25 Feb 2021 23:39:12 GMT + - Tue, 25 May 2021 03:50:15 GMT Pragma: - no-cache Strict-Transport-Security: @@ -80,9 +80,9 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Debug: - - fIO2C4qGDheGHy4YbS+r3a3CXbh4cbRo7roILOimQyiHGjQdOat0cIpWCkupM1uX + - L3ULR3HwCWYmEqCWGz2Yob3chcH4pjowBacBXkncP7o+/uPqKt9yGEYf/g1AJPzQ X-Dd-Version: - - "35.3986175" + - "35.4598224" X-Frame-Options: - SAMEORIGIN status: 200 OK @@ -97,11 +97,11 @@ interactions: Dd-Operation-Id: - GetDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.16+dev (go go1.15.6; os darwin; arch amd64) - url: https://api.datadoghq.com/api/v1/dashboard/6gt-3rp-fj2 + - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) + url: https://api.datadoghq.com/api/v1/dashboard/25f-iw2-wgk 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":"6gt-3rp-fj2","title":"tf-TestAccDatadogDashboardQueryValueFormula-local-1614296348","url":"/dashboard/6gt-3rp-fj2/tf-testaccdatadogdashboardqueryvalueformula-local-1614296348","created_at":"2021-02-25T23:39:08.959260+00:00","modified_at":"2021-02-25T23:39:08.959260+00:00","author_handle":"frog@datadoghq.com","widgets":[{"definition":{"type":"query_value","requests":[{"formulas":[{"formula":"query1 + query2","limit":{"count":10,"order":"asc"}}],"response_format":"scalar","queries":[{"aggregator":"sum","data_source":"metrics","name":"query1","query":"avg:system.cpu.system{*} by {datacenter}"},{"aggregator":"sum","data_source":"metrics","name":"query2","query":"avg:system.load.1{*} by {datacenter}"}]}],"autoscale":false,"precision":0},"id":6851875718636234},{"definition":{"type":"query_value","requests":[{"formulas":[{"formula":"query1","limit":{"count":25,"order":"desc"}}],"response_format":"scalar","queries":[{"data_source":"rum","compute":{"aggregation":"count"},"name":"query1","indexes":["*"]}]}],"autoscale":false,"precision":0},"id":6640188580202253}],"layout_type":"ordered"}' + body: '{"notify_list":[],"description":"Created using the Datadog provider in Terraform","restricted_roles":["284d8b66-93f9-11eb-9c37-da7ad0900002","043a2842-e140-11e8-bb04-7fd10177666e","657de3a2-29f8-11eb-83b5-6b8ebfb2f184","e82bf27a-986c-11eb-9cba-da7ad0900002","f257ba30-dbb2-11ea-a5ff-5fd1d308318a","6bf314be-5c16-11eb-8e98-2356ea436065","62cbc476-5c16-11eb-8e98-0388ea7a41f8","08604de8-1dca-11eb-800c-9f5f55ff734d","9b3ab170-b768-11eb-a45a-da7ad0900002","7a83f306-96ca-11eb-9c74-da7ad0900002","16169788-28e4-11eb-832c-fb84162ef3eb","4de53192-9946-11eb-9cee-da7ad0900002","1302282c-b93b-11eb-a436-da7ad0900002","17d73994-7531-11eb-94b9-da7ad0900002"],"author_name":"Qin Chen","template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"25f-iw2-wgk","title":"tf-TestAccDatadogDashboardQueryValueFormula-local-1621914613","url":"/dashboard/25f-iw2-wgk/tf-testaccdatadogdashboardqueryvalueformula-local-1621914613","created_at":"2021-05-25T03:50:15.040177+00:00","modified_at":"2021-05-25T03:50:15.040177+00:00","author_handle":"qin.chen@datadoghq.com","widgets":[{"definition":{"type":"query_value","requests":[{"formulas":[{"formula":"query1 + query2","limit":{"count":10,"order":"asc"}}],"response_format":"scalar","queries":[{"aggregator":"sum","data_source":"metrics","name":"query1","query":"avg:system.cpu.system{*} by {datacenter}"},{"aggregator":"sum","data_source":"metrics","name":"query2","query":"avg:system.load.1{*} by {datacenter}"}]}],"autoscale":false,"precision":0},"id":4729539617753545},{"definition":{"type":"query_value","requests":[{"formulas":[{"formula":"query1","limit":{"count":25,"order":"desc"}}],"response_format":"scalar","queries":[{"data_source":"rum","compute":{"aggregation":"count"},"name":"query1","indexes":["*"]}]}],"autoscale":false,"precision":0},"id":7441758673204802}],"layout_type":"ordered"}' headers: Cache-Control: - no-cache @@ -112,7 +112,7 @@ interactions: Content-Type: - application/json Date: - - Thu, 25 Feb 2021 23:39:12 GMT + - Tue, 25 May 2021 03:50:15 GMT Pragma: - no-cache Strict-Transport-Security: @@ -122,9 +122,9 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Debug: - - bgHykj7A9bfZx0Y5ZO3swhhp5tGUSNJHqFWR868+qg087CYrDOd5hQslC+noiEtH + - SY1h8ScsWq+kYmtbh63ltMLFAZsQjqfrgvdfAoRX+9TzT1sgMBRYaFRwfWWRRe9a X-Dd-Version: - - "35.3986175" + - "35.4598224" X-Frame-Options: - SAMEORIGIN status: 200 OK @@ -139,11 +139,11 @@ interactions: Dd-Operation-Id: - GetDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.16+dev (go go1.15.6; os darwin; arch amd64) - url: https://api.datadoghq.com/api/v1/dashboard/6gt-3rp-fj2 + - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) + url: https://api.datadoghq.com/api/v1/dashboard/25f-iw2-wgk 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":"6gt-3rp-fj2","title":"tf-TestAccDatadogDashboardQueryValueFormula-local-1614296348","url":"/dashboard/6gt-3rp-fj2/tf-testaccdatadogdashboardqueryvalueformula-local-1614296348","created_at":"2021-02-25T23:39:08.959260+00:00","modified_at":"2021-02-25T23:39:08.959260+00:00","author_handle":"frog@datadoghq.com","widgets":[{"definition":{"type":"query_value","requests":[{"formulas":[{"formula":"query1 + query2","limit":{"count":10,"order":"asc"}}],"response_format":"scalar","queries":[{"aggregator":"sum","data_source":"metrics","name":"query1","query":"avg:system.cpu.system{*} by {datacenter}"},{"aggregator":"sum","data_source":"metrics","name":"query2","query":"avg:system.load.1{*} by {datacenter}"}]}],"autoscale":false,"precision":0},"id":6851875718636234},{"definition":{"type":"query_value","requests":[{"formulas":[{"formula":"query1","limit":{"count":25,"order":"desc"}}],"response_format":"scalar","queries":[{"data_source":"rum","compute":{"aggregation":"count"},"name":"query1","indexes":["*"]}]}],"autoscale":false,"precision":0},"id":6640188580202253}],"layout_type":"ordered"}' + body: '{"notify_list":[],"description":"Created using the Datadog provider in Terraform","restricted_roles":["284d8b66-93f9-11eb-9c37-da7ad0900002","043a2842-e140-11e8-bb04-7fd10177666e","657de3a2-29f8-11eb-83b5-6b8ebfb2f184","e82bf27a-986c-11eb-9cba-da7ad0900002","f257ba30-dbb2-11ea-a5ff-5fd1d308318a","6bf314be-5c16-11eb-8e98-2356ea436065","62cbc476-5c16-11eb-8e98-0388ea7a41f8","08604de8-1dca-11eb-800c-9f5f55ff734d","9b3ab170-b768-11eb-a45a-da7ad0900002","7a83f306-96ca-11eb-9c74-da7ad0900002","16169788-28e4-11eb-832c-fb84162ef3eb","4de53192-9946-11eb-9cee-da7ad0900002","1302282c-b93b-11eb-a436-da7ad0900002","17d73994-7531-11eb-94b9-da7ad0900002"],"author_name":"Qin Chen","template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"25f-iw2-wgk","title":"tf-TestAccDatadogDashboardQueryValueFormula-local-1621914613","url":"/dashboard/25f-iw2-wgk/tf-testaccdatadogdashboardqueryvalueformula-local-1621914613","created_at":"2021-05-25T03:50:15.040177+00:00","modified_at":"2021-05-25T03:50:15.040177+00:00","author_handle":"qin.chen@datadoghq.com","widgets":[{"definition":{"type":"query_value","requests":[{"formulas":[{"formula":"query1 + query2","limit":{"count":10,"order":"asc"}}],"response_format":"scalar","queries":[{"aggregator":"sum","data_source":"metrics","name":"query1","query":"avg:system.cpu.system{*} by {datacenter}"},{"aggregator":"sum","data_source":"metrics","name":"query2","query":"avg:system.load.1{*} by {datacenter}"}]}],"autoscale":false,"precision":0},"id":4729539617753545},{"definition":{"type":"query_value","requests":[{"formulas":[{"formula":"query1","limit":{"count":25,"order":"desc"}}],"response_format":"scalar","queries":[{"data_source":"rum","compute":{"aggregation":"count"},"name":"query1","indexes":["*"]}]}],"autoscale":false,"precision":0},"id":7441758673204802}],"layout_type":"ordered"}' headers: Cache-Control: - no-cache @@ -154,7 +154,7 @@ interactions: Content-Type: - application/json Date: - - Thu, 25 Feb 2021 23:39:13 GMT + - Tue, 25 May 2021 03:50:16 GMT Pragma: - no-cache Strict-Transport-Security: @@ -164,9 +164,9 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Debug: - - gYZcaADwbKcv7Hm19HJx6WsLoKuOijDWAt2viPeCfWqUgyKY+9e1xZdmMJeXV3YV + - l4HFlaRP3QwYSqoGKhzbYfv7zgkK63HIRR7YkyVYZspq0lGjjTBwoK8V/alf+XYt X-Dd-Version: - - "35.3986175" + - "35.4598224" X-Frame-Options: - SAMEORIGIN status: 200 OK @@ -181,11 +181,11 @@ interactions: Dd-Operation-Id: - GetDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.16+dev (go go1.15.6; os darwin; arch amd64) - url: https://api.datadoghq.com/api/v1/dashboard/6gt-3rp-fj2 + - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) + url: https://api.datadoghq.com/api/v1/dashboard/25f-iw2-wgk 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":"6gt-3rp-fj2","title":"tf-TestAccDatadogDashboardQueryValueFormula-local-1614296348","url":"/dashboard/6gt-3rp-fj2/tf-testaccdatadogdashboardqueryvalueformula-local-1614296348","created_at":"2021-02-25T23:39:08.959260+00:00","modified_at":"2021-02-25T23:39:08.959260+00:00","author_handle":"frog@datadoghq.com","widgets":[{"definition":{"type":"query_value","requests":[{"formulas":[{"formula":"query1 + query2","limit":{"count":10,"order":"asc"}}],"response_format":"scalar","queries":[{"aggregator":"sum","data_source":"metrics","name":"query1","query":"avg:system.cpu.system{*} by {datacenter}"},{"aggregator":"sum","data_source":"metrics","name":"query2","query":"avg:system.load.1{*} by {datacenter}"}]}],"autoscale":false,"precision":0},"id":6851875718636234},{"definition":{"type":"query_value","requests":[{"formulas":[{"formula":"query1","limit":{"count":25,"order":"desc"}}],"response_format":"scalar","queries":[{"data_source":"rum","compute":{"aggregation":"count"},"name":"query1","indexes":["*"]}]}],"autoscale":false,"precision":0},"id":6640188580202253}],"layout_type":"ordered"}' + body: '{"notify_list":[],"description":"Created using the Datadog provider in Terraform","restricted_roles":["284d8b66-93f9-11eb-9c37-da7ad0900002","043a2842-e140-11e8-bb04-7fd10177666e","657de3a2-29f8-11eb-83b5-6b8ebfb2f184","e82bf27a-986c-11eb-9cba-da7ad0900002","f257ba30-dbb2-11ea-a5ff-5fd1d308318a","6bf314be-5c16-11eb-8e98-2356ea436065","62cbc476-5c16-11eb-8e98-0388ea7a41f8","08604de8-1dca-11eb-800c-9f5f55ff734d","9b3ab170-b768-11eb-a45a-da7ad0900002","7a83f306-96ca-11eb-9c74-da7ad0900002","16169788-28e4-11eb-832c-fb84162ef3eb","4de53192-9946-11eb-9cee-da7ad0900002","1302282c-b93b-11eb-a436-da7ad0900002","17d73994-7531-11eb-94b9-da7ad0900002"],"author_name":"Qin Chen","template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"25f-iw2-wgk","title":"tf-TestAccDatadogDashboardQueryValueFormula-local-1621914613","url":"/dashboard/25f-iw2-wgk/tf-testaccdatadogdashboardqueryvalueformula-local-1621914613","created_at":"2021-05-25T03:50:15.040177+00:00","modified_at":"2021-05-25T03:50:15.040177+00:00","author_handle":"qin.chen@datadoghq.com","widgets":[{"definition":{"type":"query_value","requests":[{"formulas":[{"formula":"query1 + query2","limit":{"count":10,"order":"asc"}}],"response_format":"scalar","queries":[{"aggregator":"sum","data_source":"metrics","name":"query1","query":"avg:system.cpu.system{*} by {datacenter}"},{"aggregator":"sum","data_source":"metrics","name":"query2","query":"avg:system.load.1{*} by {datacenter}"}]}],"autoscale":false,"precision":0},"id":4729539617753545},{"definition":{"type":"query_value","requests":[{"formulas":[{"formula":"query1","limit":{"count":25,"order":"desc"}}],"response_format":"scalar","queries":[{"data_source":"rum","compute":{"aggregation":"count"},"name":"query1","indexes":["*"]}]}],"autoscale":false,"precision":0},"id":7441758673204802}],"layout_type":"ordered"}' headers: Cache-Control: - no-cache @@ -196,7 +196,7 @@ interactions: Content-Type: - application/json Date: - - Thu, 25 Feb 2021 23:39:13 GMT + - Tue, 25 May 2021 03:50:17 GMT Pragma: - no-cache Strict-Transport-Security: @@ -206,9 +206,9 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Debug: - - bgHykj7A9bfZx0Y5ZO3swhhp5tGUSNJHqFWR868+qg087CYrDOd5hQslC+noiEtH + - Um4CoU685QqAscnxhS5BD+goWu2yX1Jd4zCfGzSsEvPPIm1qURZaF8dlLl/OEY4I X-Dd-Version: - - "35.3986175" + - "35.4598224" X-Frame-Options: - SAMEORIGIN status: 200 OK @@ -223,11 +223,11 @@ interactions: Dd-Operation-Id: - DeleteDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.16+dev (go go1.15.6; os darwin; arch amd64) - url: https://api.datadoghq.com/api/v1/dashboard/6gt-3rp-fj2 + - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) + url: https://api.datadoghq.com/api/v1/dashboard/25f-iw2-wgk method: DELETE response: - body: '{"deleted_dashboard_id":"6gt-3rp-fj2"}' + body: '{"deleted_dashboard_id":"25f-iw2-wgk"}' headers: Cache-Control: - no-cache @@ -238,7 +238,7 @@ interactions: Content-Type: - application/json Date: - - Thu, 25 Feb 2021 23:39:13 GMT + - Tue, 25 May 2021 03:50:18 GMT Pragma: - no-cache Strict-Transport-Security: @@ -248,9 +248,9 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Debug: - - PhosSd3Ch1B6B0DXI71steKUi7XhPDttnPiIP1NdXTw0VJNWpoUnYyBmODS5ne3q + - Um4CoU685QqAscnxhS5BD+goWu2yX1Jd4zCfGzSsEvPPIm1qURZaF8dlLl/OEY4I X-Dd-Version: - - "35.3986175" + - "35.4598224" X-Frame-Options: - SAMEORIGIN status: 200 OK @@ -265,11 +265,11 @@ interactions: Dd-Operation-Id: - GetDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.16+dev (go go1.15.6; os darwin; arch amd64) - url: https://api.datadoghq.com/api/v1/dashboard/6gt-3rp-fj2 + - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) + url: https://api.datadoghq.com/api/v1/dashboard/25f-iw2-wgk method: GET response: - body: '{"errors": ["Dashboard with ID 6gt-3rp-fj2 not found"]}' + body: '{"errors": ["Dashboard with ID 25f-iw2-wgk not found"]}' headers: Cache-Control: - no-cache @@ -280,7 +280,7 @@ interactions: Content-Type: - application/json Date: - - Thu, 25 Feb 2021 23:39:13 GMT + - Tue, 25 May 2021 03:50:18 GMT Pragma: - no-cache Strict-Transport-Security: @@ -290,7 +290,7 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Version: - - "35.3986175" + - "35.4598224" X-Frame-Options: - SAMEORIGIN status: 404 Not Found diff --git a/datadog/tests/cassettes/TestAccDatadogDashboardQueryValueFormula_import.freeze b/datadog/tests/cassettes/TestAccDatadogDashboardQueryValueFormula_import.freeze index 3f789bf39..bd7380a85 100644 --- a/datadog/tests/cassettes/TestAccDatadogDashboardQueryValueFormula_import.freeze +++ b/datadog/tests/cassettes/TestAccDatadogDashboardQueryValueFormula_import.freeze @@ -1 +1 @@ -2021-02-25T18:39:08.086824-05:00 \ No newline at end of file +2021-05-24T23:50:13.55522-04:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogDashboardQueryValueFormula_import.yaml b/datadog/tests/cassettes/TestAccDatadogDashboardQueryValueFormula_import.yaml index a5f76c46c..1948c8b40 100644 --- a/datadog/tests/cassettes/TestAccDatadogDashboardQueryValueFormula_import.yaml +++ b/datadog/tests/cassettes/TestAccDatadogDashboardQueryValueFormula_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-TestAccDatadogDashboardQueryValueFormula_import-local-1614296348","widgets":[{"definition":{"autoscale":false,"precision":0,"requests":[{"formulas":[{"formula":"query1 + query2","limit":{"count":10,"order":"asc"}}],"queries":[{"aggregator":"sum","data_source":"metrics","name":"query1","query":"avg:system.cpu.system{*} by {datacenter}"},{"aggregator":"sum","data_source":"metrics","name":"query2","query":"avg:system.load.1{*} by {datacenter}"}],"response_format":"scalar"}],"type":"query_value"}},{"definition":{"autoscale":false,"precision":0,"requests":[{"formulas":[{"formula":"query1","limit":{"count":25,"order":"desc"}}],"queries":[{"compute":{"aggregation":"count"},"data_source":"rum","indexes":["*"],"name":"query1"}],"response_format":"scalar"}],"type":"query_value"}}]} + {"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-TestAccDatadogDashboardQueryValueFormula_import-local-1621914613","widgets":[{"definition":{"autoscale":false,"precision":0,"requests":[{"formulas":[{"formula":"query1 + query2","limit":{"count":10,"order":"asc"}}],"queries":[{"aggregator":"sum","data_source":"metrics","name":"query1","query":"avg:system.cpu.system{*} by {datacenter}"},{"aggregator":"sum","data_source":"metrics","name":"query2","query":"avg:system.load.1{*} by {datacenter}"}],"response_format":"scalar"}],"type":"query_value"}},{"definition":{"autoscale":false,"precision":0,"requests":[{"formulas":[{"formula":"query1","limit":{"count":25,"order":"desc"}}],"queries":[{"compute":{"aggregation":"count"},"data_source":"rum","indexes":["*"],"name":"query1"}],"response_format":"scalar"}],"type":"query_value"}}]} form: {} headers: Accept: @@ -13,11 +13,11 @@ interactions: Dd-Operation-Id: - CreateDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.16+dev (go go1.15.6; os darwin; arch amd64) + - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) 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":"7fq-hc7-w8z","title":"tf-TestAccDatadogDashboardQueryValueFormula_import-local-1614296348","url":"/dashboard/7fq-hc7-w8z/tf-testaccdatadogdashboardqueryvalueformulaimport-local-1614296348","created_at":"2021-02-25T23:39:08.962468+00:00","modified_at":"2021-02-25T23:39:08.962468+00:00","author_handle":"frog@datadoghq.com","widgets":[{"definition":{"type":"query_value","requests":[{"formulas":[{"formula":"query1 + query2","limit":{"count":10,"order":"asc"}}],"response_format":"scalar","queries":[{"aggregator":"sum","data_source":"metrics","name":"query1","query":"avg:system.cpu.system{*} by {datacenter}"},{"aggregator":"sum","data_source":"metrics","name":"query2","query":"avg:system.load.1{*} by {datacenter}"}]}],"autoscale":false,"precision":0},"id":3695516588483057},{"definition":{"type":"query_value","requests":[{"formulas":[{"formula":"query1","limit":{"count":25,"order":"desc"}}],"response_format":"scalar","queries":[{"data_source":"rum","compute":{"aggregation":"count"},"name":"query1","indexes":["*"]}]}],"autoscale":false,"precision":0},"id":35421410005026}],"layout_type":"ordered"}' + body: '{"notify_list":[],"description":"Created using the Datadog provider in Terraform","restricted_roles":["043a2842-e140-11e8-bb04-7fd10177666e","08604de8-1dca-11eb-800c-9f5f55ff734d","1302282c-b93b-11eb-a436-da7ad0900002","16169788-28e4-11eb-832c-fb84162ef3eb","17d73994-7531-11eb-94b9-da7ad0900002","284d8b66-93f9-11eb-9c37-da7ad0900002","4de53192-9946-11eb-9cee-da7ad0900002","62cbc476-5c16-11eb-8e98-0388ea7a41f8","657de3a2-29f8-11eb-83b5-6b8ebfb2f184","6bf314be-5c16-11eb-8e98-2356ea436065","7a83f306-96ca-11eb-9c74-da7ad0900002","9b3ab170-b768-11eb-a45a-da7ad0900002","e82bf27a-986c-11eb-9cba-da7ad0900002","f257ba30-dbb2-11ea-a5ff-5fd1d308318a"],"author_name":"Qin Chen","template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"jvs-rm5-m35","title":"tf-TestAccDatadogDashboardQueryValueFormula_import-local-1621914613","url":"/dashboard/jvs-rm5-m35/tf-testaccdatadogdashboardqueryvalueformulaimport-local-1621914613","created_at":"2021-05-25T03:50:15.035736+00:00","modified_at":"2021-05-25T03:50:15.035736+00:00","author_handle":"qin.chen@datadoghq.com","widgets":[{"definition":{"type":"query_value","requests":[{"formulas":[{"formula":"query1 + query2","limit":{"count":10,"order":"asc"}}],"response_format":"scalar","queries":[{"aggregator":"sum","data_source":"metrics","name":"query1","query":"avg:system.cpu.system{*} by {datacenter}"},{"aggregator":"sum","data_source":"metrics","name":"query2","query":"avg:system.load.1{*} by {datacenter}"}]}],"autoscale":false,"precision":0},"id":3619749169088009},{"definition":{"type":"query_value","requests":[{"formulas":[{"formula":"query1","limit":{"count":25,"order":"desc"}}],"response_format":"scalar","queries":[{"data_source":"rum","compute":{"aggregation":"count"},"name":"query1","indexes":["*"]}]}],"autoscale":false,"precision":0},"id":5665657752131537}],"layout_type":"ordered"}' headers: Cache-Control: - no-cache @@ -28,7 +28,7 @@ interactions: Content-Type: - application/json Date: - - Thu, 25 Feb 2021 23:39:12 GMT + - Tue, 25 May 2021 03:50:15 GMT Pragma: - no-cache Strict-Transport-Security: @@ -38,9 +38,9 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Debug: - - twvpGlmuom5y6A0pjGtXzTf554cmwJgTcCZ71fK4H/RDi+v5ehBK0zQiRcTJQG5C + - PhosSd3Ch1B6B0DXI71steKUi7XhPDttnPiIP1NdXTw0VJNWpoUnYyBmODS5ne3q X-Dd-Version: - - "35.3986175" + - "35.4598224" X-Frame-Options: - SAMEORIGIN status: 200 OK @@ -55,11 +55,11 @@ interactions: Dd-Operation-Id: - GetDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.16+dev (go go1.15.6; os darwin; arch amd64) - url: https://api.datadoghq.com/api/v1/dashboard/7fq-hc7-w8z + - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) + url: https://api.datadoghq.com/api/v1/dashboard/jvs-rm5-m35 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":"7fq-hc7-w8z","title":"tf-TestAccDatadogDashboardQueryValueFormula_import-local-1614296348","url":"/dashboard/7fq-hc7-w8z/tf-testaccdatadogdashboardqueryvalueformulaimport-local-1614296348","created_at":"2021-02-25T23:39:08.962468+00:00","modified_at":"2021-02-25T23:39:08.962468+00:00","author_handle":"frog@datadoghq.com","widgets":[{"definition":{"type":"query_value","requests":[{"formulas":[{"formula":"query1 + query2","limit":{"count":10,"order":"asc"}}],"response_format":"scalar","queries":[{"aggregator":"sum","data_source":"metrics","name":"query1","query":"avg:system.cpu.system{*} by {datacenter}"},{"aggregator":"sum","data_source":"metrics","name":"query2","query":"avg:system.load.1{*} by {datacenter}"}]}],"autoscale":false,"precision":0},"id":3695516588483057},{"definition":{"type":"query_value","requests":[{"formulas":[{"formula":"query1","limit":{"count":25,"order":"desc"}}],"response_format":"scalar","queries":[{"data_source":"rum","compute":{"aggregation":"count"},"name":"query1","indexes":["*"]}]}],"autoscale":false,"precision":0},"id":35421410005026}],"layout_type":"ordered"}' + body: '{"notify_list":[],"description":"Created using the Datadog provider in Terraform","restricted_roles":["284d8b66-93f9-11eb-9c37-da7ad0900002","043a2842-e140-11e8-bb04-7fd10177666e","657de3a2-29f8-11eb-83b5-6b8ebfb2f184","e82bf27a-986c-11eb-9cba-da7ad0900002","f257ba30-dbb2-11ea-a5ff-5fd1d308318a","6bf314be-5c16-11eb-8e98-2356ea436065","62cbc476-5c16-11eb-8e98-0388ea7a41f8","08604de8-1dca-11eb-800c-9f5f55ff734d","9b3ab170-b768-11eb-a45a-da7ad0900002","7a83f306-96ca-11eb-9c74-da7ad0900002","16169788-28e4-11eb-832c-fb84162ef3eb","4de53192-9946-11eb-9cee-da7ad0900002","1302282c-b93b-11eb-a436-da7ad0900002","17d73994-7531-11eb-94b9-da7ad0900002"],"author_name":"Qin Chen","template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"jvs-rm5-m35","title":"tf-TestAccDatadogDashboardQueryValueFormula_import-local-1621914613","url":"/dashboard/jvs-rm5-m35/tf-testaccdatadogdashboardqueryvalueformulaimport-local-1621914613","created_at":"2021-05-25T03:50:15.035736+00:00","modified_at":"2021-05-25T03:50:15.035736+00:00","author_handle":"qin.chen@datadoghq.com","widgets":[{"definition":{"type":"query_value","requests":[{"formulas":[{"formula":"query1 + query2","limit":{"count":10,"order":"asc"}}],"response_format":"scalar","queries":[{"aggregator":"sum","data_source":"metrics","name":"query1","query":"avg:system.cpu.system{*} by {datacenter}"},{"aggregator":"sum","data_source":"metrics","name":"query2","query":"avg:system.load.1{*} by {datacenter}"}]}],"autoscale":false,"precision":0},"id":3619749169088009},{"definition":{"type":"query_value","requests":[{"formulas":[{"formula":"query1","limit":{"count":25,"order":"desc"}}],"response_format":"scalar","queries":[{"data_source":"rum","compute":{"aggregation":"count"},"name":"query1","indexes":["*"]}]}],"autoscale":false,"precision":0},"id":5665657752131537}],"layout_type":"ordered"}' headers: Cache-Control: - no-cache @@ -70,7 +70,7 @@ interactions: Content-Type: - application/json Date: - - Thu, 25 Feb 2021 23:39:12 GMT + - Tue, 25 May 2021 03:50:15 GMT Pragma: - no-cache Strict-Transport-Security: @@ -80,9 +80,9 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Debug: - - tpRCH6w417YjBovRJ8VmtuXmNONVYiRp2c8d2AxjPdGBn8PCtgG4vAztrx3qUZAN + - Um4CoU685QqAscnxhS5BD+goWu2yX1Jd4zCfGzSsEvPPIm1qURZaF8dlLl/OEY4I X-Dd-Version: - - "35.3986175" + - "35.4598224" X-Frame-Options: - SAMEORIGIN status: 200 OK @@ -97,11 +97,11 @@ interactions: Dd-Operation-Id: - GetDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.16+dev (go go1.15.6; os darwin; arch amd64) - url: https://api.datadoghq.com/api/v1/dashboard/7fq-hc7-w8z + - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) + url: https://api.datadoghq.com/api/v1/dashboard/jvs-rm5-m35 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":"7fq-hc7-w8z","title":"tf-TestAccDatadogDashboardQueryValueFormula_import-local-1614296348","url":"/dashboard/7fq-hc7-w8z/tf-testaccdatadogdashboardqueryvalueformulaimport-local-1614296348","created_at":"2021-02-25T23:39:08.962468+00:00","modified_at":"2021-02-25T23:39:08.962468+00:00","author_handle":"frog@datadoghq.com","widgets":[{"definition":{"type":"query_value","requests":[{"formulas":[{"formula":"query1 + query2","limit":{"count":10,"order":"asc"}}],"response_format":"scalar","queries":[{"aggregator":"sum","data_source":"metrics","name":"query1","query":"avg:system.cpu.system{*} by {datacenter}"},{"aggregator":"sum","data_source":"metrics","name":"query2","query":"avg:system.load.1{*} by {datacenter}"}]}],"autoscale":false,"precision":0},"id":3695516588483057},{"definition":{"type":"query_value","requests":[{"formulas":[{"formula":"query1","limit":{"count":25,"order":"desc"}}],"response_format":"scalar","queries":[{"data_source":"rum","compute":{"aggregation":"count"},"name":"query1","indexes":["*"]}]}],"autoscale":false,"precision":0},"id":35421410005026}],"layout_type":"ordered"}' + body: '{"notify_list":[],"description":"Created using the Datadog provider in Terraform","restricted_roles":["284d8b66-93f9-11eb-9c37-da7ad0900002","043a2842-e140-11e8-bb04-7fd10177666e","657de3a2-29f8-11eb-83b5-6b8ebfb2f184","e82bf27a-986c-11eb-9cba-da7ad0900002","f257ba30-dbb2-11ea-a5ff-5fd1d308318a","6bf314be-5c16-11eb-8e98-2356ea436065","62cbc476-5c16-11eb-8e98-0388ea7a41f8","08604de8-1dca-11eb-800c-9f5f55ff734d","9b3ab170-b768-11eb-a45a-da7ad0900002","7a83f306-96ca-11eb-9c74-da7ad0900002","16169788-28e4-11eb-832c-fb84162ef3eb","4de53192-9946-11eb-9cee-da7ad0900002","1302282c-b93b-11eb-a436-da7ad0900002","17d73994-7531-11eb-94b9-da7ad0900002"],"author_name":"Qin Chen","template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"jvs-rm5-m35","title":"tf-TestAccDatadogDashboardQueryValueFormula_import-local-1621914613","url":"/dashboard/jvs-rm5-m35/tf-testaccdatadogdashboardqueryvalueformulaimport-local-1621914613","created_at":"2021-05-25T03:50:15.035736+00:00","modified_at":"2021-05-25T03:50:15.035736+00:00","author_handle":"qin.chen@datadoghq.com","widgets":[{"definition":{"type":"query_value","requests":[{"formulas":[{"formula":"query1 + query2","limit":{"count":10,"order":"asc"}}],"response_format":"scalar","queries":[{"aggregator":"sum","data_source":"metrics","name":"query1","query":"avg:system.cpu.system{*} by {datacenter}"},{"aggregator":"sum","data_source":"metrics","name":"query2","query":"avg:system.load.1{*} by {datacenter}"}]}],"autoscale":false,"precision":0},"id":3619749169088009},{"definition":{"type":"query_value","requests":[{"formulas":[{"formula":"query1","limit":{"count":25,"order":"desc"}}],"response_format":"scalar","queries":[{"data_source":"rum","compute":{"aggregation":"count"},"name":"query1","indexes":["*"]}]}],"autoscale":false,"precision":0},"id":5665657752131537}],"layout_type":"ordered"}' headers: Cache-Control: - no-cache @@ -112,7 +112,7 @@ interactions: Content-Type: - application/json Date: - - Thu, 25 Feb 2021 23:39:13 GMT + - Tue, 25 May 2021 03:50:16 GMT Pragma: - no-cache Strict-Transport-Security: @@ -122,9 +122,9 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Debug: - - vdJ3/nHEY1ioXQ6pQrBVvsQK1s4yyc+wufBMPSoXql71qZVuP/xMdtNo6DafhOAk + - EFjE6I+AUQmTiNqZcuE1nqoFeAjWD0Xtzy3edDrinkwlU/Wzr/2Dbl5kWk3qLVaQ X-Dd-Version: - - "35.3986175" + - "35.4598224" X-Frame-Options: - SAMEORIGIN status: 200 OK @@ -139,11 +139,11 @@ interactions: Dd-Operation-Id: - GetDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.16+dev (go go1.15.6; os darwin; arch amd64) - url: https://api.datadoghq.com/api/v1/dashboard/7fq-hc7-w8z + - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) + url: https://api.datadoghq.com/api/v1/dashboard/jvs-rm5-m35 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":"7fq-hc7-w8z","title":"tf-TestAccDatadogDashboardQueryValueFormula_import-local-1614296348","url":"/dashboard/7fq-hc7-w8z/tf-testaccdatadogdashboardqueryvalueformulaimport-local-1614296348","created_at":"2021-02-25T23:39:08.962468+00:00","modified_at":"2021-02-25T23:39:08.962468+00:00","author_handle":"frog@datadoghq.com","widgets":[{"definition":{"type":"query_value","requests":[{"formulas":[{"formula":"query1 + query2","limit":{"count":10,"order":"asc"}}],"response_format":"scalar","queries":[{"aggregator":"sum","data_source":"metrics","name":"query1","query":"avg:system.cpu.system{*} by {datacenter}"},{"aggregator":"sum","data_source":"metrics","name":"query2","query":"avg:system.load.1{*} by {datacenter}"}]}],"autoscale":false,"precision":0},"id":3695516588483057},{"definition":{"type":"query_value","requests":[{"formulas":[{"formula":"query1","limit":{"count":25,"order":"desc"}}],"response_format":"scalar","queries":[{"data_source":"rum","compute":{"aggregation":"count"},"name":"query1","indexes":["*"]}]}],"autoscale":false,"precision":0},"id":35421410005026}],"layout_type":"ordered"}' + body: '{"notify_list":[],"description":"Created using the Datadog provider in Terraform","restricted_roles":["284d8b66-93f9-11eb-9c37-da7ad0900002","043a2842-e140-11e8-bb04-7fd10177666e","657de3a2-29f8-11eb-83b5-6b8ebfb2f184","e82bf27a-986c-11eb-9cba-da7ad0900002","f257ba30-dbb2-11ea-a5ff-5fd1d308318a","6bf314be-5c16-11eb-8e98-2356ea436065","62cbc476-5c16-11eb-8e98-0388ea7a41f8","08604de8-1dca-11eb-800c-9f5f55ff734d","9b3ab170-b768-11eb-a45a-da7ad0900002","7a83f306-96ca-11eb-9c74-da7ad0900002","16169788-28e4-11eb-832c-fb84162ef3eb","4de53192-9946-11eb-9cee-da7ad0900002","1302282c-b93b-11eb-a436-da7ad0900002","17d73994-7531-11eb-94b9-da7ad0900002"],"author_name":"Qin Chen","template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"jvs-rm5-m35","title":"tf-TestAccDatadogDashboardQueryValueFormula_import-local-1621914613","url":"/dashboard/jvs-rm5-m35/tf-testaccdatadogdashboardqueryvalueformulaimport-local-1621914613","created_at":"2021-05-25T03:50:15.035736+00:00","modified_at":"2021-05-25T03:50:15.035736+00:00","author_handle":"qin.chen@datadoghq.com","widgets":[{"definition":{"type":"query_value","requests":[{"formulas":[{"formula":"query1 + query2","limit":{"count":10,"order":"asc"}}],"response_format":"scalar","queries":[{"aggregator":"sum","data_source":"metrics","name":"query1","query":"avg:system.cpu.system{*} by {datacenter}"},{"aggregator":"sum","data_source":"metrics","name":"query2","query":"avg:system.load.1{*} by {datacenter}"}]}],"autoscale":false,"precision":0},"id":3619749169088009},{"definition":{"type":"query_value","requests":[{"formulas":[{"formula":"query1","limit":{"count":25,"order":"desc"}}],"response_format":"scalar","queries":[{"data_source":"rum","compute":{"aggregation":"count"},"name":"query1","indexes":["*"]}]}],"autoscale":false,"precision":0},"id":5665657752131537}],"layout_type":"ordered"}' headers: Cache-Control: - no-cache @@ -154,7 +154,7 @@ interactions: Content-Type: - application/json Date: - - Thu, 25 Feb 2021 23:39:13 GMT + - Tue, 25 May 2021 03:50:17 GMT Pragma: - no-cache Strict-Transport-Security: @@ -164,9 +164,9 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Debug: - - B1nwy/pPNqX+q4pQT22cdp1QCexE35IF8qwSHy0Nf7IW0Y881qtn4tXN1lpmzaKc + - twvpGlmuom5y6A0pjGtXzTf554cmwJgTcCZ71fK4H/RDi+v5ehBK0zQiRcTJQG5C X-Dd-Version: - - "35.3986175" + - "35.4598224" X-Frame-Options: - SAMEORIGIN status: 200 OK @@ -181,11 +181,11 @@ interactions: Dd-Operation-Id: - GetDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.16+dev (go go1.15.6; os darwin; arch amd64) - url: https://api.datadoghq.com/api/v1/dashboard/7fq-hc7-w8z + - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) + url: https://api.datadoghq.com/api/v1/dashboard/jvs-rm5-m35 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":"7fq-hc7-w8z","title":"tf-TestAccDatadogDashboardQueryValueFormula_import-local-1614296348","url":"/dashboard/7fq-hc7-w8z/tf-testaccdatadogdashboardqueryvalueformulaimport-local-1614296348","created_at":"2021-02-25T23:39:08.962468+00:00","modified_at":"2021-02-25T23:39:08.962468+00:00","author_handle":"frog@datadoghq.com","widgets":[{"definition":{"type":"query_value","requests":[{"formulas":[{"formula":"query1 + query2","limit":{"count":10,"order":"asc"}}],"response_format":"scalar","queries":[{"aggregator":"sum","data_source":"metrics","name":"query1","query":"avg:system.cpu.system{*} by {datacenter}"},{"aggregator":"sum","data_source":"metrics","name":"query2","query":"avg:system.load.1{*} by {datacenter}"}]}],"autoscale":false,"precision":0},"id":3695516588483057},{"definition":{"type":"query_value","requests":[{"formulas":[{"formula":"query1","limit":{"count":25,"order":"desc"}}],"response_format":"scalar","queries":[{"data_source":"rum","compute":{"aggregation":"count"},"name":"query1","indexes":["*"]}]}],"autoscale":false,"precision":0},"id":35421410005026}],"layout_type":"ordered"}' + body: '{"notify_list":[],"description":"Created using the Datadog provider in Terraform","restricted_roles":["284d8b66-93f9-11eb-9c37-da7ad0900002","043a2842-e140-11e8-bb04-7fd10177666e","657de3a2-29f8-11eb-83b5-6b8ebfb2f184","e82bf27a-986c-11eb-9cba-da7ad0900002","f257ba30-dbb2-11ea-a5ff-5fd1d308318a","6bf314be-5c16-11eb-8e98-2356ea436065","62cbc476-5c16-11eb-8e98-0388ea7a41f8","08604de8-1dca-11eb-800c-9f5f55ff734d","9b3ab170-b768-11eb-a45a-da7ad0900002","7a83f306-96ca-11eb-9c74-da7ad0900002","16169788-28e4-11eb-832c-fb84162ef3eb","4de53192-9946-11eb-9cee-da7ad0900002","1302282c-b93b-11eb-a436-da7ad0900002","17d73994-7531-11eb-94b9-da7ad0900002"],"author_name":"Qin Chen","template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"jvs-rm5-m35","title":"tf-TestAccDatadogDashboardQueryValueFormula_import-local-1621914613","url":"/dashboard/jvs-rm5-m35/tf-testaccdatadogdashboardqueryvalueformulaimport-local-1621914613","created_at":"2021-05-25T03:50:15.035736+00:00","modified_at":"2021-05-25T03:50:15.035736+00:00","author_handle":"qin.chen@datadoghq.com","widgets":[{"definition":{"type":"query_value","requests":[{"formulas":[{"formula":"query1 + query2","limit":{"count":10,"order":"asc"}}],"response_format":"scalar","queries":[{"aggregator":"sum","data_source":"metrics","name":"query1","query":"avg:system.cpu.system{*} by {datacenter}"},{"aggregator":"sum","data_source":"metrics","name":"query2","query":"avg:system.load.1{*} by {datacenter}"}]}],"autoscale":false,"precision":0},"id":3619749169088009},{"definition":{"type":"query_value","requests":[{"formulas":[{"formula":"query1","limit":{"count":25,"order":"desc"}}],"response_format":"scalar","queries":[{"data_source":"rum","compute":{"aggregation":"count"},"name":"query1","indexes":["*"]}]}],"autoscale":false,"precision":0},"id":5665657752131537}],"layout_type":"ordered"}' headers: Cache-Control: - no-cache @@ -196,7 +196,7 @@ interactions: Content-Type: - application/json Date: - - Thu, 25 Feb 2021 23:39:13 GMT + - Tue, 25 May 2021 03:50:17 GMT Pragma: - no-cache Strict-Transport-Security: @@ -206,9 +206,9 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Debug: - - S1wfaMZOKGT/IoMw6fqAwAwGWo2vQ44sjF3YzuETnQfxZO2T5eJbs0aX3UKb9Dwu + - twvpGlmuom5y6A0pjGtXzTf554cmwJgTcCZ71fK4H/RDi+v5ehBK0zQiRcTJQG5C X-Dd-Version: - - "35.3986175" + - "35.4598224" X-Frame-Options: - SAMEORIGIN status: 200 OK @@ -223,11 +223,11 @@ interactions: Dd-Operation-Id: - GetDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.16+dev (go go1.15.6; os darwin; arch amd64) - url: https://api.datadoghq.com/api/v1/dashboard/7fq-hc7-w8z + - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) + url: https://api.datadoghq.com/api/v1/dashboard/jvs-rm5-m35 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":"7fq-hc7-w8z","title":"tf-TestAccDatadogDashboardQueryValueFormula_import-local-1614296348","url":"/dashboard/7fq-hc7-w8z/tf-testaccdatadogdashboardqueryvalueformulaimport-local-1614296348","created_at":"2021-02-25T23:39:08.962468+00:00","modified_at":"2021-02-25T23:39:08.962468+00:00","author_handle":"frog@datadoghq.com","widgets":[{"definition":{"type":"query_value","requests":[{"formulas":[{"formula":"query1 + query2","limit":{"count":10,"order":"asc"}}],"response_format":"scalar","queries":[{"aggregator":"sum","data_source":"metrics","name":"query1","query":"avg:system.cpu.system{*} by {datacenter}"},{"aggregator":"sum","data_source":"metrics","name":"query2","query":"avg:system.load.1{*} by {datacenter}"}]}],"autoscale":false,"precision":0},"id":3695516588483057},{"definition":{"type":"query_value","requests":[{"formulas":[{"formula":"query1","limit":{"count":25,"order":"desc"}}],"response_format":"scalar","queries":[{"data_source":"rum","compute":{"aggregation":"count"},"name":"query1","indexes":["*"]}]}],"autoscale":false,"precision":0},"id":35421410005026}],"layout_type":"ordered"}' + body: '{"notify_list":[],"description":"Created using the Datadog provider in Terraform","restricted_roles":["284d8b66-93f9-11eb-9c37-da7ad0900002","043a2842-e140-11e8-bb04-7fd10177666e","657de3a2-29f8-11eb-83b5-6b8ebfb2f184","e82bf27a-986c-11eb-9cba-da7ad0900002","f257ba30-dbb2-11ea-a5ff-5fd1d308318a","6bf314be-5c16-11eb-8e98-2356ea436065","62cbc476-5c16-11eb-8e98-0388ea7a41f8","08604de8-1dca-11eb-800c-9f5f55ff734d","9b3ab170-b768-11eb-a45a-da7ad0900002","7a83f306-96ca-11eb-9c74-da7ad0900002","16169788-28e4-11eb-832c-fb84162ef3eb","4de53192-9946-11eb-9cee-da7ad0900002","1302282c-b93b-11eb-a436-da7ad0900002","17d73994-7531-11eb-94b9-da7ad0900002"],"author_name":"Qin Chen","template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"jvs-rm5-m35","title":"tf-TestAccDatadogDashboardQueryValueFormula_import-local-1621914613","url":"/dashboard/jvs-rm5-m35/tf-testaccdatadogdashboardqueryvalueformulaimport-local-1621914613","created_at":"2021-05-25T03:50:15.035736+00:00","modified_at":"2021-05-25T03:50:15.035736+00:00","author_handle":"qin.chen@datadoghq.com","widgets":[{"definition":{"type":"query_value","requests":[{"formulas":[{"formula":"query1 + query2","limit":{"count":10,"order":"asc"}}],"response_format":"scalar","queries":[{"aggregator":"sum","data_source":"metrics","name":"query1","query":"avg:system.cpu.system{*} by {datacenter}"},{"aggregator":"sum","data_source":"metrics","name":"query2","query":"avg:system.load.1{*} by {datacenter}"}]}],"autoscale":false,"precision":0},"id":3619749169088009},{"definition":{"type":"query_value","requests":[{"formulas":[{"formula":"query1","limit":{"count":25,"order":"desc"}}],"response_format":"scalar","queries":[{"data_source":"rum","compute":{"aggregation":"count"},"name":"query1","indexes":["*"]}]}],"autoscale":false,"precision":0},"id":5665657752131537}],"layout_type":"ordered"}' headers: Cache-Control: - no-cache @@ -238,7 +238,7 @@ interactions: Content-Type: - application/json Date: - - Thu, 25 Feb 2021 23:39:13 GMT + - Tue, 25 May 2021 03:50:17 GMT Pragma: - no-cache Strict-Transport-Security: @@ -248,9 +248,9 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Debug: - - bgHykj7A9bfZx0Y5ZO3swhhp5tGUSNJHqFWR868+qg087CYrDOd5hQslC+noiEtH + - Wjq53IVIwnB4SiR238oOYgHFMq/ZYP0LQ/Dv8C2fFLBwTje/dWJHu6pI6vIOK1zG X-Dd-Version: - - "35.3986175" + - "35.4598224" X-Frame-Options: - SAMEORIGIN status: 200 OK @@ -265,11 +265,11 @@ interactions: Dd-Operation-Id: - DeleteDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.16+dev (go go1.15.6; os darwin; arch amd64) - url: https://api.datadoghq.com/api/v1/dashboard/7fq-hc7-w8z + - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) + url: https://api.datadoghq.com/api/v1/dashboard/jvs-rm5-m35 method: DELETE response: - body: '{"deleted_dashboard_id":"7fq-hc7-w8z"}' + body: '{"deleted_dashboard_id":"jvs-rm5-m35"}' headers: Cache-Control: - no-cache @@ -280,7 +280,7 @@ interactions: Content-Type: - application/json Date: - - Thu, 25 Feb 2021 23:39:13 GMT + - Tue, 25 May 2021 03:50:18 GMT Pragma: - no-cache Strict-Transport-Security: @@ -292,7 +292,7 @@ interactions: X-Dd-Debug: - JpIJLwIH2nFlZOC+u71rq7aAOL43MLZN3MUsL+gpYHdZz5QLUOG8Jysf8kVK6tPU X-Dd-Version: - - "35.3986175" + - "35.4598224" X-Frame-Options: - SAMEORIGIN status: 200 OK @@ -307,11 +307,11 @@ interactions: Dd-Operation-Id: - GetDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.16+dev (go go1.15.6; os darwin; arch amd64) - url: https://api.datadoghq.com/api/v1/dashboard/7fq-hc7-w8z + - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) + url: https://api.datadoghq.com/api/v1/dashboard/jvs-rm5-m35 method: GET response: - body: '{"errors": ["Dashboard with ID 7fq-hc7-w8z not found"]}' + body: '{"errors": ["Dashboard with ID jvs-rm5-m35 not found"]}' headers: Cache-Control: - no-cache @@ -322,7 +322,7 @@ interactions: Content-Type: - application/json Date: - - Thu, 25 Feb 2021 23:39:14 GMT + - Tue, 25 May 2021 03:50:18 GMT Pragma: - no-cache Strict-Transport-Security: @@ -332,7 +332,7 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Version: - - "35.3986175" + - "35.4598224" X-Frame-Options: - SAMEORIGIN status: 404 Not Found diff --git a/datadog/tests/cassettes/TestAccDatadogDashboardQueryValue_import.freeze b/datadog/tests/cassettes/TestAccDatadogDashboardQueryValue_import.freeze index a966df220..70d4b9c5f 100644 --- a/datadog/tests/cassettes/TestAccDatadogDashboardQueryValue_import.freeze +++ b/datadog/tests/cassettes/TestAccDatadogDashboardQueryValue_import.freeze @@ -1 +1 @@ -2020-12-31T15:42:08.737331+01:00 \ No newline at end of file +2021-05-24T23:50:13.554607-04:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogDashboardQueryValue_import.yaml b/datadog/tests/cassettes/TestAccDatadogDashboardQueryValue_import.yaml index 04e3d1a7d..2019e7f2f 100644 --- a/datadog/tests/cassettes/TestAccDatadogDashboardQueryValue_import.yaml +++ b/datadog/tests/cassettes/TestAccDatadogDashboardQueryValue_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-TestAccDatadogDashboardQueryValue_import-local-1609425728","widgets":[{"definition":{"autoscale":true,"custom_links":[{"label":"Test Custom Link label","link":"https://app.datadoghq.com/dashboard/lists"}],"custom_unit":"Gib","precision":3,"requests":[{"aggregator":"max","conditional_formats":[{"comparator":"\u003c","hide_value":false,"palette":"white_on_red","value":9},{"comparator":"\u003e=","hide_value":false,"palette":"white_on_green","value":9}],"q":"avg:system.mem.free{account:prod}"}],"time":{"live_span":"1h"},"title":"Avg of system.mem.free over account:prod","title_align":"center","title_size":"16","type":"query_value"}}]} + {"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-TestAccDatadogDashboardQueryValue_import-local-1621914613","widgets":[{"definition":{"autoscale":true,"custom_links":[{"label":"Test Custom Link label","link":"https://app.datadoghq.com/dashboard/lists"}],"custom_unit":"Gib","precision":3,"requests":[{"aggregator":"max","conditional_formats":[{"comparator":"\u003c","hide_value":false,"palette":"white_on_red","value":9},{"comparator":"\u003e=","hide_value":false,"palette":"white_on_green","value":9}],"q":"avg:system.mem.free{account:prod}"}],"time":{"live_span":"1h"},"title":"Avg of system.mem.free over account:prod","title_align":"center","title_size":"16","type":"query_value"}}]} form: {} headers: Accept: @@ -13,20 +13,11 @@ interactions: Dd-Operation-Id: - CreateDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 1.15.0; terraform-cli 0.12.7-sdk) - datadog-api-client-go/1.0.0-beta.13+dev (go go1.15.4; os darwin; arch amd64) - X-Datadog-Parent-Id: - - "4563019862769337818" - X-Datadog-Sampling-Priority: - - "1" - X-Datadog-Trace-Id: - - "6696800086964894963" + - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) 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":"n7s-cta-xh6","title":"tf-TestAccDatadogDashboardQueryValue_import-local-1609425728","url":"/dashboard/n7s-cta-xh6/tf-testaccdatadogdashboardqueryvalueimport-local-1609425728","created_at":"2020-12-31T14:48:27.169222+00:00","modified_at":"2020-12-31T14:48:27.169222+00:00","author_handle":"frog@datadoghq.com","widgets":[{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test - Custom Link label"}],"autoscale":true,"title":"Avg of system.mem.free over account:prod","title_align":"center","custom_unit":"Gib","precision":3,"time":{"live_span":"1h"},"title_size":"16","requests":[{"q":"avg:system.mem.free{account:prod}","aggregator":"max","conditional_formats":[{"palette":"white_on_red","hide_value":false,"value":9,"comparator":"<"},{"palette":"white_on_green","hide_value":false,"value":9,"comparator":">="}]}],"type":"query_value"},"id":6328273002183677}],"layout_type":"ordered"}' + body: '{"notify_list":[],"description":"Created using the Datadog provider in Terraform","restricted_roles":["043a2842-e140-11e8-bb04-7fd10177666e","08604de8-1dca-11eb-800c-9f5f55ff734d","1302282c-b93b-11eb-a436-da7ad0900002","16169788-28e4-11eb-832c-fb84162ef3eb","17d73994-7531-11eb-94b9-da7ad0900002","284d8b66-93f9-11eb-9c37-da7ad0900002","4de53192-9946-11eb-9cee-da7ad0900002","62cbc476-5c16-11eb-8e98-0388ea7a41f8","657de3a2-29f8-11eb-83b5-6b8ebfb2f184","6bf314be-5c16-11eb-8e98-2356ea436065","7a83f306-96ca-11eb-9c74-da7ad0900002","9b3ab170-b768-11eb-a45a-da7ad0900002","e82bf27a-986c-11eb-9cba-da7ad0900002","f257ba30-dbb2-11ea-a5ff-5fd1d308318a"],"author_name":"Qin Chen","template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"k9k-zrw-hwu","title":"tf-TestAccDatadogDashboardQueryValue_import-local-1621914613","url":"/dashboard/k9k-zrw-hwu/tf-testaccdatadogdashboardqueryvalueimport-local-1621914613","created_at":"2021-05-25T03:50:15.032181+00:00","modified_at":"2021-05-25T03:50:15.032181+00:00","author_handle":"qin.chen@datadoghq.com","widgets":[{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test Custom Link label"}],"autoscale":true,"title":"Avg of system.mem.free over account:prod","title_align":"center","custom_unit":"Gib","precision":3,"time":{"live_span":"1h"},"title_size":"16","requests":[{"q":"avg:system.mem.free{account:prod}","aggregator":"max","conditional_formats":[{"palette":"white_on_red","hide_value":false,"value":9,"comparator":"<"},{"palette":"white_on_green","hide_value":false,"value":9,"comparator":">="}]}],"type":"query_value"},"id":2773658506621539}],"layout_type":"ordered"}' headers: Cache-Control: - no-cache @@ -37,12 +28,9 @@ interactions: Content-Type: - application/json Date: - - Thu, 31 Dec 2020 14:48:29 GMT + - Tue, 25 May 2021 03:50:15 GMT Pragma: - no-cache - Set-Cookie: - - DD-PSHARD=233; Max-Age=604800; Path=/; expires=Thu, 07-Jan-2021 14:48:27 GMT; - secure; HttpOnly Strict-Transport-Security: - max-age=15724800; Vary: @@ -50,9 +38,9 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Debug: - - OqKY7agPmI/v3hVHuBa6xblzuasXfwEx0fPUFdqZoAEPJYT3VaeupIdfNnd+cYH0 + - gYZcaADwbKcv7Hm19HJx6WsLoKuOijDWAt2viPeCfWqUgyKY+9e1xZdmMJeXV3YV X-Dd-Version: - - "35.3622023" + - "35.4598224" X-Frame-Options: - SAMEORIGIN status: 200 OK @@ -67,20 +55,11 @@ interactions: Dd-Operation-Id: - GetDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 1.15.0; terraform-cli 0.12.7-sdk) - datadog-api-client-go/1.0.0-beta.13+dev (go go1.15.4; os darwin; arch amd64) - X-Datadog-Parent-Id: - - "4817756512181113639" - X-Datadog-Sampling-Priority: - - "1" - X-Datadog-Trace-Id: - - "6696800086964894963" - url: https://api.datadoghq.com/api/v1/dashboard/n7s-cta-xh6 + - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) + url: https://api.datadoghq.com/api/v1/dashboard/k9k-zrw-hwu 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":"n7s-cta-xh6","title":"tf-TestAccDatadogDashboardQueryValue_import-local-1609425728","url":"/dashboard/n7s-cta-xh6/tf-testaccdatadogdashboardqueryvalueimport-local-1609425728","created_at":"2020-12-31T14:48:27.169222+00:00","modified_at":"2020-12-31T14:48:27.169222+00:00","author_handle":"frog@datadoghq.com","widgets":[{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test - Custom Link label"}],"autoscale":true,"title":"Avg of system.mem.free over account:prod","title_align":"center","custom_unit":"Gib","precision":3,"time":{"live_span":"1h"},"title_size":"16","requests":[{"q":"avg:system.mem.free{account:prod}","aggregator":"max","conditional_formats":[{"palette":"white_on_red","hide_value":false,"value":9,"comparator":"<"},{"palette":"white_on_green","hide_value":false,"value":9,"comparator":">="}]}],"type":"query_value"},"id":6328273002183677}],"layout_type":"ordered"}' + body: '{"notify_list":[],"description":"Created using the Datadog provider in Terraform","restricted_roles":["284d8b66-93f9-11eb-9c37-da7ad0900002","043a2842-e140-11e8-bb04-7fd10177666e","657de3a2-29f8-11eb-83b5-6b8ebfb2f184","e82bf27a-986c-11eb-9cba-da7ad0900002","f257ba30-dbb2-11ea-a5ff-5fd1d308318a","6bf314be-5c16-11eb-8e98-2356ea436065","62cbc476-5c16-11eb-8e98-0388ea7a41f8","08604de8-1dca-11eb-800c-9f5f55ff734d","9b3ab170-b768-11eb-a45a-da7ad0900002","7a83f306-96ca-11eb-9c74-da7ad0900002","16169788-28e4-11eb-832c-fb84162ef3eb","4de53192-9946-11eb-9cee-da7ad0900002","1302282c-b93b-11eb-a436-da7ad0900002","17d73994-7531-11eb-94b9-da7ad0900002"],"author_name":"Qin Chen","template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"k9k-zrw-hwu","title":"tf-TestAccDatadogDashboardQueryValue_import-local-1621914613","url":"/dashboard/k9k-zrw-hwu/tf-testaccdatadogdashboardqueryvalueimport-local-1621914613","created_at":"2021-05-25T03:50:15.032181+00:00","modified_at":"2021-05-25T03:50:15.032181+00:00","author_handle":"qin.chen@datadoghq.com","widgets":[{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test Custom Link label"}],"autoscale":true,"title":"Avg of system.mem.free over account:prod","title_align":"center","custom_unit":"Gib","precision":3,"time":{"live_span":"1h"},"title_size":"16","requests":[{"q":"avg:system.mem.free{account:prod}","aggregator":"max","conditional_formats":[{"palette":"white_on_red","hide_value":false,"value":9,"comparator":"<"},{"palette":"white_on_green","hide_value":false,"value":9,"comparator":">="}]}],"type":"query_value"},"id":2773658506621539}],"layout_type":"ordered"}' headers: Cache-Control: - no-cache @@ -91,12 +70,9 @@ interactions: Content-Type: - application/json Date: - - Thu, 31 Dec 2020 14:48:29 GMT + - Tue, 25 May 2021 03:50:15 GMT Pragma: - no-cache - Set-Cookie: - - DD-PSHARD=233; Max-Age=604800; Path=/; expires=Thu, 07-Jan-2021 14:48:29 GMT; - secure; HttpOnly Strict-Transport-Security: - max-age=15724800; Vary: @@ -104,9 +80,9 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Debug: - - UPwGSEkEo+aTtV9/qlvsM9xVIKq1xypRG0bv22kO1eeJfu8bY+H+f1xOa3JlvZhZ + - JpIJLwIH2nFlZOC+u71rq7aAOL43MLZN3MUsL+gpYHdZz5QLUOG8Jysf8kVK6tPU X-Dd-Version: - - "35.3622023" + - "35.4598224" X-Frame-Options: - SAMEORIGIN status: 200 OK @@ -121,20 +97,11 @@ interactions: Dd-Operation-Id: - GetDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 1.15.0; terraform-cli 0.12.7-sdk) - datadog-api-client-go/1.0.0-beta.13+dev (go go1.15.4; os darwin; arch amd64) - X-Datadog-Parent-Id: - - "410483925817832805" - X-Datadog-Sampling-Priority: - - "1" - X-Datadog-Trace-Id: - - "6696800086964894963" - url: https://api.datadoghq.com/api/v1/dashboard/n7s-cta-xh6 + - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) + url: https://api.datadoghq.com/api/v1/dashboard/k9k-zrw-hwu 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":"n7s-cta-xh6","title":"tf-TestAccDatadogDashboardQueryValue_import-local-1609425728","url":"/dashboard/n7s-cta-xh6/tf-testaccdatadogdashboardqueryvalueimport-local-1609425728","created_at":"2020-12-31T14:48:27.169222+00:00","modified_at":"2020-12-31T14:48:27.169222+00:00","author_handle":"frog@datadoghq.com","widgets":[{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test - Custom Link label"}],"autoscale":true,"title":"Avg of system.mem.free over account:prod","title_align":"center","custom_unit":"Gib","precision":3,"time":{"live_span":"1h"},"title_size":"16","requests":[{"q":"avg:system.mem.free{account:prod}","aggregator":"max","conditional_formats":[{"palette":"white_on_red","hide_value":false,"value":9,"comparator":"<"},{"palette":"white_on_green","hide_value":false,"value":9,"comparator":">="}]}],"type":"query_value"},"id":6328273002183677}],"layout_type":"ordered"}' + body: '{"notify_list":[],"description":"Created using the Datadog provider in Terraform","restricted_roles":["284d8b66-93f9-11eb-9c37-da7ad0900002","043a2842-e140-11e8-bb04-7fd10177666e","657de3a2-29f8-11eb-83b5-6b8ebfb2f184","e82bf27a-986c-11eb-9cba-da7ad0900002","f257ba30-dbb2-11ea-a5ff-5fd1d308318a","6bf314be-5c16-11eb-8e98-2356ea436065","62cbc476-5c16-11eb-8e98-0388ea7a41f8","08604de8-1dca-11eb-800c-9f5f55ff734d","9b3ab170-b768-11eb-a45a-da7ad0900002","7a83f306-96ca-11eb-9c74-da7ad0900002","16169788-28e4-11eb-832c-fb84162ef3eb","4de53192-9946-11eb-9cee-da7ad0900002","1302282c-b93b-11eb-a436-da7ad0900002","17d73994-7531-11eb-94b9-da7ad0900002"],"author_name":"Qin Chen","template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"k9k-zrw-hwu","title":"tf-TestAccDatadogDashboardQueryValue_import-local-1621914613","url":"/dashboard/k9k-zrw-hwu/tf-testaccdatadogdashboardqueryvalueimport-local-1621914613","created_at":"2021-05-25T03:50:15.032181+00:00","modified_at":"2021-05-25T03:50:15.032181+00:00","author_handle":"qin.chen@datadoghq.com","widgets":[{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test Custom Link label"}],"autoscale":true,"title":"Avg of system.mem.free over account:prod","title_align":"center","custom_unit":"Gib","precision":3,"time":{"live_span":"1h"},"title_size":"16","requests":[{"q":"avg:system.mem.free{account:prod}","aggregator":"max","conditional_formats":[{"palette":"white_on_red","hide_value":false,"value":9,"comparator":"<"},{"palette":"white_on_green","hide_value":false,"value":9,"comparator":">="}]}],"type":"query_value"},"id":2773658506621539}],"layout_type":"ordered"}' headers: Cache-Control: - no-cache @@ -145,12 +112,9 @@ interactions: Content-Type: - application/json Date: - - Thu, 31 Dec 2020 14:48:36 GMT + - Tue, 25 May 2021 03:50:16 GMT Pragma: - no-cache - Set-Cookie: - - DD-PSHARD=233; Max-Age=604800; Path=/; expires=Thu, 07-Jan-2021 14:48:36 GMT; - secure; HttpOnly Strict-Transport-Security: - max-age=15724800; Vary: @@ -158,9 +122,9 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Debug: - - XhN3sROXhRtxvw2F+uRtJTWMwUQRYhDKBCNr1DfCqtzQgh490ZXtNSOhIx1TzG8K + - twvpGlmuom5y6A0pjGtXzTf554cmwJgTcCZ71fK4H/RDi+v5ehBK0zQiRcTJQG5C X-Dd-Version: - - "35.3622023" + - "35.4598224" X-Frame-Options: - SAMEORIGIN status: 200 OK @@ -175,20 +139,11 @@ interactions: Dd-Operation-Id: - GetDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 1.15.0; terraform-cli 0.12.7-sdk) - datadog-api-client-go/1.0.0-beta.13+dev (go go1.15.4; os darwin; arch amd64) - X-Datadog-Parent-Id: - - "8116908409645718334" - X-Datadog-Sampling-Priority: - - "1" - X-Datadog-Trace-Id: - - "6696800086964894963" - url: https://api.datadoghq.com/api/v1/dashboard/n7s-cta-xh6 + - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) + url: https://api.datadoghq.com/api/v1/dashboard/k9k-zrw-hwu 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":"n7s-cta-xh6","title":"tf-TestAccDatadogDashboardQueryValue_import-local-1609425728","url":"/dashboard/n7s-cta-xh6/tf-testaccdatadogdashboardqueryvalueimport-local-1609425728","created_at":"2020-12-31T14:48:27.169222+00:00","modified_at":"2020-12-31T14:48:27.169222+00:00","author_handle":"frog@datadoghq.com","widgets":[{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test - Custom Link label"}],"autoscale":true,"title":"Avg of system.mem.free over account:prod","title_align":"center","custom_unit":"Gib","precision":3,"time":{"live_span":"1h"},"title_size":"16","requests":[{"q":"avg:system.mem.free{account:prod}","aggregator":"max","conditional_formats":[{"palette":"white_on_red","hide_value":false,"value":9,"comparator":"<"},{"palette":"white_on_green","hide_value":false,"value":9,"comparator":">="}]}],"type":"query_value"},"id":6328273002183677}],"layout_type":"ordered"}' + body: '{"notify_list":[],"description":"Created using the Datadog provider in Terraform","restricted_roles":["284d8b66-93f9-11eb-9c37-da7ad0900002","043a2842-e140-11e8-bb04-7fd10177666e","657de3a2-29f8-11eb-83b5-6b8ebfb2f184","e82bf27a-986c-11eb-9cba-da7ad0900002","f257ba30-dbb2-11ea-a5ff-5fd1d308318a","6bf314be-5c16-11eb-8e98-2356ea436065","62cbc476-5c16-11eb-8e98-0388ea7a41f8","08604de8-1dca-11eb-800c-9f5f55ff734d","9b3ab170-b768-11eb-a45a-da7ad0900002","7a83f306-96ca-11eb-9c74-da7ad0900002","16169788-28e4-11eb-832c-fb84162ef3eb","4de53192-9946-11eb-9cee-da7ad0900002","1302282c-b93b-11eb-a436-da7ad0900002","17d73994-7531-11eb-94b9-da7ad0900002"],"author_name":"Qin Chen","template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"k9k-zrw-hwu","title":"tf-TestAccDatadogDashboardQueryValue_import-local-1621914613","url":"/dashboard/k9k-zrw-hwu/tf-testaccdatadogdashboardqueryvalueimport-local-1621914613","created_at":"2021-05-25T03:50:15.032181+00:00","modified_at":"2021-05-25T03:50:15.032181+00:00","author_handle":"qin.chen@datadoghq.com","widgets":[{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test Custom Link label"}],"autoscale":true,"title":"Avg of system.mem.free over account:prod","title_align":"center","custom_unit":"Gib","precision":3,"time":{"live_span":"1h"},"title_size":"16","requests":[{"q":"avg:system.mem.free{account:prod}","aggregator":"max","conditional_formats":[{"palette":"white_on_red","hide_value":false,"value":9,"comparator":"<"},{"palette":"white_on_green","hide_value":false,"value":9,"comparator":">="}]}],"type":"query_value"},"id":2773658506621539}],"layout_type":"ordered"}' headers: Cache-Control: - no-cache @@ -199,12 +154,9 @@ interactions: Content-Type: - application/json Date: - - Thu, 31 Dec 2020 14:48:39 GMT + - Tue, 25 May 2021 03:50:16 GMT Pragma: - no-cache - Set-Cookie: - - DD-PSHARD=233; Max-Age=604800; Path=/; expires=Thu, 07-Jan-2021 14:48:39 GMT; - secure; HttpOnly Strict-Transport-Security: - max-age=15724800; Vary: @@ -212,9 +164,9 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Debug: - - H6mGk0NVWFFYd9VUP8vVAv2c5S84SY5SnfwDRAyGeGOpnNeKpu2AiMB1a9R6+y9D + - SY1h8ScsWq+kYmtbh63ltMLFAZsQjqfrgvdfAoRX+9TzT1sgMBRYaFRwfWWRRe9a X-Dd-Version: - - "35.3622023" + - "35.4598224" X-Frame-Options: - SAMEORIGIN status: 200 OK @@ -229,20 +181,11 @@ interactions: Dd-Operation-Id: - GetDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 1.15.0; terraform-cli 0.12.7-sdk) - datadog-api-client-go/1.0.0-beta.13+dev (go go1.15.4; os darwin; arch amd64) - X-Datadog-Parent-Id: - - "6578142534117566549" - X-Datadog-Sampling-Priority: - - "1" - X-Datadog-Trace-Id: - - "6696800086964894963" - url: https://api.datadoghq.com/api/v1/dashboard/n7s-cta-xh6 + - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) + url: https://api.datadoghq.com/api/v1/dashboard/k9k-zrw-hwu 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":"n7s-cta-xh6","title":"tf-TestAccDatadogDashboardQueryValue_import-local-1609425728","url":"/dashboard/n7s-cta-xh6/tf-testaccdatadogdashboardqueryvalueimport-local-1609425728","created_at":"2020-12-31T14:48:27.169222+00:00","modified_at":"2020-12-31T14:48:27.169222+00:00","author_handle":"frog@datadoghq.com","widgets":[{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test - Custom Link label"}],"autoscale":true,"title":"Avg of system.mem.free over account:prod","title_align":"center","custom_unit":"Gib","precision":3,"time":{"live_span":"1h"},"title_size":"16","requests":[{"q":"avg:system.mem.free{account:prod}","aggregator":"max","conditional_formats":[{"palette":"white_on_red","hide_value":false,"value":9,"comparator":"<"},{"palette":"white_on_green","hide_value":false,"value":9,"comparator":">="}]}],"type":"query_value"},"id":6328273002183677}],"layout_type":"ordered"}' + body: '{"notify_list":[],"description":"Created using the Datadog provider in Terraform","restricted_roles":["284d8b66-93f9-11eb-9c37-da7ad0900002","043a2842-e140-11e8-bb04-7fd10177666e","657de3a2-29f8-11eb-83b5-6b8ebfb2f184","e82bf27a-986c-11eb-9cba-da7ad0900002","f257ba30-dbb2-11ea-a5ff-5fd1d308318a","6bf314be-5c16-11eb-8e98-2356ea436065","62cbc476-5c16-11eb-8e98-0388ea7a41f8","08604de8-1dca-11eb-800c-9f5f55ff734d","9b3ab170-b768-11eb-a45a-da7ad0900002","7a83f306-96ca-11eb-9c74-da7ad0900002","16169788-28e4-11eb-832c-fb84162ef3eb","4de53192-9946-11eb-9cee-da7ad0900002","1302282c-b93b-11eb-a436-da7ad0900002","17d73994-7531-11eb-94b9-da7ad0900002"],"author_name":"Qin Chen","template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"k9k-zrw-hwu","title":"tf-TestAccDatadogDashboardQueryValue_import-local-1621914613","url":"/dashboard/k9k-zrw-hwu/tf-testaccdatadogdashboardqueryvalueimport-local-1621914613","created_at":"2021-05-25T03:50:15.032181+00:00","modified_at":"2021-05-25T03:50:15.032181+00:00","author_handle":"qin.chen@datadoghq.com","widgets":[{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test Custom Link label"}],"autoscale":true,"title":"Avg of system.mem.free over account:prod","title_align":"center","custom_unit":"Gib","precision":3,"time":{"live_span":"1h"},"title_size":"16","requests":[{"q":"avg:system.mem.free{account:prod}","aggregator":"max","conditional_formats":[{"palette":"white_on_red","hide_value":false,"value":9,"comparator":"<"},{"palette":"white_on_green","hide_value":false,"value":9,"comparator":">="}]}],"type":"query_value"},"id":2773658506621539}],"layout_type":"ordered"}' headers: Cache-Control: - no-cache @@ -253,12 +196,9 @@ interactions: Content-Type: - application/json Date: - - Thu, 31 Dec 2020 14:48:41 GMT + - Tue, 25 May 2021 03:50:17 GMT Pragma: - no-cache - Set-Cookie: - - DD-PSHARD=233; Max-Age=604800; Path=/; expires=Thu, 07-Jan-2021 14:48:40 GMT; - secure; HttpOnly Strict-Transport-Security: - max-age=15724800; Vary: @@ -266,9 +206,9 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Debug: - - oY1U+Bw1sQyS4cySYbM3yP2PHmEdjLzb50z+L43vQMCCtEGfcc06BRHI9VdccfS3 + - l8RQo2maZqJf6GFThBbKNE6dvthz6njusVtau3dPXJWL2RLFoN81H+BLPB/1xgs1 X-Dd-Version: - - "35.3622023" + - "35.4598224" X-Frame-Options: - SAMEORIGIN status: 200 OK @@ -283,20 +223,11 @@ interactions: Dd-Operation-Id: - GetDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 1.15.0; terraform-cli 0.12.7-sdk) - datadog-api-client-go/1.0.0-beta.13+dev (go go1.15.4; os darwin; arch amd64) - X-Datadog-Parent-Id: - - "3076415627515219379" - X-Datadog-Sampling-Priority: - - "1" - X-Datadog-Trace-Id: - - "6696800086964894963" - url: https://api.datadoghq.com/api/v1/dashboard/n7s-cta-xh6 + - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) + url: https://api.datadoghq.com/api/v1/dashboard/k9k-zrw-hwu 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":"n7s-cta-xh6","title":"tf-TestAccDatadogDashboardQueryValue_import-local-1609425728","url":"/dashboard/n7s-cta-xh6/tf-testaccdatadogdashboardqueryvalueimport-local-1609425728","created_at":"2020-12-31T14:48:27.169222+00:00","modified_at":"2020-12-31T14:48:27.169222+00:00","author_handle":"frog@datadoghq.com","widgets":[{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test - Custom Link label"}],"autoscale":true,"title":"Avg of system.mem.free over account:prod","title_align":"center","custom_unit":"Gib","precision":3,"time":{"live_span":"1h"},"title_size":"16","requests":[{"q":"avg:system.mem.free{account:prod}","aggregator":"max","conditional_formats":[{"palette":"white_on_red","hide_value":false,"value":9,"comparator":"<"},{"palette":"white_on_green","hide_value":false,"value":9,"comparator":">="}]}],"type":"query_value"},"id":6328273002183677}],"layout_type":"ordered"}' + body: '{"notify_list":[],"description":"Created using the Datadog provider in Terraform","restricted_roles":["284d8b66-93f9-11eb-9c37-da7ad0900002","043a2842-e140-11e8-bb04-7fd10177666e","657de3a2-29f8-11eb-83b5-6b8ebfb2f184","e82bf27a-986c-11eb-9cba-da7ad0900002","f257ba30-dbb2-11ea-a5ff-5fd1d308318a","6bf314be-5c16-11eb-8e98-2356ea436065","62cbc476-5c16-11eb-8e98-0388ea7a41f8","08604de8-1dca-11eb-800c-9f5f55ff734d","9b3ab170-b768-11eb-a45a-da7ad0900002","7a83f306-96ca-11eb-9c74-da7ad0900002","16169788-28e4-11eb-832c-fb84162ef3eb","4de53192-9946-11eb-9cee-da7ad0900002","1302282c-b93b-11eb-a436-da7ad0900002","17d73994-7531-11eb-94b9-da7ad0900002"],"author_name":"Qin Chen","template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"k9k-zrw-hwu","title":"tf-TestAccDatadogDashboardQueryValue_import-local-1621914613","url":"/dashboard/k9k-zrw-hwu/tf-testaccdatadogdashboardqueryvalueimport-local-1621914613","created_at":"2021-05-25T03:50:15.032181+00:00","modified_at":"2021-05-25T03:50:15.032181+00:00","author_handle":"qin.chen@datadoghq.com","widgets":[{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test Custom Link label"}],"autoscale":true,"title":"Avg of system.mem.free over account:prod","title_align":"center","custom_unit":"Gib","precision":3,"time":{"live_span":"1h"},"title_size":"16","requests":[{"q":"avg:system.mem.free{account:prod}","aggregator":"max","conditional_formats":[{"palette":"white_on_red","hide_value":false,"value":9,"comparator":"<"},{"palette":"white_on_green","hide_value":false,"value":9,"comparator":">="}]}],"type":"query_value"},"id":2773658506621539}],"layout_type":"ordered"}' headers: Cache-Control: - no-cache @@ -307,12 +238,9 @@ interactions: Content-Type: - application/json Date: - - Thu, 31 Dec 2020 14:48:44 GMT + - Tue, 25 May 2021 03:50:17 GMT Pragma: - no-cache - Set-Cookie: - - DD-PSHARD=233; Max-Age=604800; Path=/; expires=Thu, 07-Jan-2021 14:48:43 GMT; - secure; HttpOnly Strict-Transport-Security: - max-age=15724800; Vary: @@ -320,9 +248,9 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Debug: - - D6xOASGs+SeSoSr1onTNqEyFDtjQwnjR937DW7eQT5G8CxiOSfzMZ/Hv6SqRh+8b + - tpRCH6w417YjBovRJ8VmtuXmNONVYiRp2c8d2AxjPdGBn8PCtgG4vAztrx3qUZAN X-Dd-Version: - - "35.3622023" + - "35.4598224" X-Frame-Options: - SAMEORIGIN status: 200 OK @@ -337,18 +265,11 @@ interactions: Dd-Operation-Id: - DeleteDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 1.15.0; terraform-cli 0.12.7-sdk) - datadog-api-client-go/1.0.0-beta.13+dev (go go1.15.4; os darwin; arch amd64) - X-Datadog-Parent-Id: - - "9018745479391485890" - X-Datadog-Sampling-Priority: - - "1" - X-Datadog-Trace-Id: - - "6696800086964894963" - url: https://api.datadoghq.com/api/v1/dashboard/n7s-cta-xh6 + - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) + url: https://api.datadoghq.com/api/v1/dashboard/k9k-zrw-hwu method: DELETE response: - body: '{"deleted_dashboard_id":"n7s-cta-xh6"}' + body: '{"deleted_dashboard_id":"k9k-zrw-hwu"}' headers: Cache-Control: - no-cache @@ -359,12 +280,9 @@ interactions: Content-Type: - application/json Date: - - Thu, 31 Dec 2020 14:48:48 GMT + - Tue, 25 May 2021 03:50:18 GMT Pragma: - no-cache - Set-Cookie: - - DD-PSHARD=233; Max-Age=604800; Path=/; expires=Thu, 07-Jan-2021 14:48:48 GMT; - secure; HttpOnly Strict-Transport-Security: - max-age=15724800; Vary: @@ -372,9 +290,9 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Debug: - - 6IhQMEQHjYL1ZYwBd1xPnaqhoM5GIKrVP4vKHrLdyvV0W9ZbpSld8lY0ehD40SZe + - vdJ3/nHEY1ioXQ6pQrBVvsQK1s4yyc+wufBMPSoXql71qZVuP/xMdtNo6DafhOAk X-Dd-Version: - - "35.3622023" + - "35.4598224" X-Frame-Options: - SAMEORIGIN status: 200 OK @@ -389,18 +307,11 @@ interactions: Dd-Operation-Id: - GetDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 1.15.0; terraform-cli 0.12.7-sdk) - datadog-api-client-go/1.0.0-beta.13+dev (go go1.15.4; os darwin; arch amd64) - X-Datadog-Parent-Id: - - "607867210014317417" - X-Datadog-Sampling-Priority: - - "1" - X-Datadog-Trace-Id: - - "6696800086964894963" - url: https://api.datadoghq.com/api/v1/dashboard/n7s-cta-xh6 + - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) + url: https://api.datadoghq.com/api/v1/dashboard/k9k-zrw-hwu method: GET response: - body: '{"errors": ["Dashboard with ID n7s-cta-xh6 not found"]}' + body: '{"errors": ["Dashboard with ID k9k-zrw-hwu not found"]}' headers: Cache-Control: - no-cache @@ -411,7 +322,7 @@ interactions: Content-Type: - application/json Date: - - Thu, 31 Dec 2020 14:48:48 GMT + - Tue, 25 May 2021 03:50:18 GMT Pragma: - no-cache Strict-Transport-Security: @@ -421,7 +332,7 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Version: - - "34.3622270" + - "35.4598224" X-Frame-Options: - SAMEORIGIN status: 404 Not Found diff --git a/datadog/tests/cassettes/TestAccDatadogDashboardScatterplot.freeze b/datadog/tests/cassettes/TestAccDatadogDashboardScatterplot.freeze index 2da9f2022..c1f830cec 100644 --- a/datadog/tests/cassettes/TestAccDatadogDashboardScatterplot.freeze +++ b/datadog/tests/cassettes/TestAccDatadogDashboardScatterplot.freeze @@ -1 +1 @@ -2021-01-28T17:18:26.725663+01:00 \ No newline at end of file +2021-05-24T23:49:40.885477-04:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogDashboardScatterplot.yaml b/datadog/tests/cassettes/TestAccDatadogDashboardScatterplot.yaml index 15227c96f..5ffc14de1 100644 --- a/datadog/tests/cassettes/TestAccDatadogDashboardScatterplot.yaml +++ b/datadog/tests/cassettes/TestAccDatadogDashboardScatterplot.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-TestAccDatadogDashboardScatterplot-local-1611850706","widgets":[{"definition":{"color_by_groups":["app"],"custom_links":[{"label":"Test Custom Link label","link":"https://app.datadoghq.com/dashboard/lists"}],"requests":{"x":{"aggregator":"avg","q":"avg:system.cpu.user{account:prod} by {service, team, app}"},"y":{"aggregator":"avg","q":"avg:system.mem.used{env:prod} by {service, team, app}"}},"time":{"live_span":"15m"},"title":"system.mem.used and system.cpu.user by service,team,app colored by app","title_align":"right","title_size":"16","type":"scatterplot","xaxis":{"include_zero":false,"label":"cpu (%)","max":"100","min":"0","scale":"log"},"yaxis":{"include_zero":false,"label":"mem (Gib)","min":"1","scale":"log"}}},{"definition":{"color_by_groups":["app"],"custom_links":[{"label":"Test Custom Link label","link":"https://app.datadoghq.com/dashboard/lists"}],"requests":{"x":{"aggregator":"avg","q":"avg:system.cpu.user{account:prod} by {service, team, app}"},"y":{"aggregator":"avg","q":"avg:system.mem.used{env:prod} by {service, team, app}"}},"time":{"live_span":"15m"},"title":"system.mem.used and system.cpu.user by service,team,app colored by app","title_align":"right","title_size":"16","type":"scatterplot","xaxis":{"include_zero":false,"label":"cpu (%)","max":"100","min":"0","scale":"log"},"yaxis":{"include_zero":false,"label":"mem (Gib)","min":"1","scale":"log"}}}]} + {"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-TestAccDatadogDashboardScatterplot-local-1621914580","widgets":[{"definition":{"color_by_groups":["app"],"custom_links":[{"label":"Test Custom Link label","link":"https://app.datadoghq.com/dashboard/lists"},{"is_hidden":true,"link":"https://app.datadoghq.com/dashboard/lists","override_label":"logs"}],"requests":{"x":{"aggregator":"avg","q":"avg:system.cpu.user{account:prod} by {service, team, app}"},"y":{"aggregator":"avg","q":"avg:system.mem.used{env:prod} by {service, team, app}"}},"time":{"live_span":"15m"},"title":"system.mem.used and system.cpu.user by service,team,app colored by app","title_align":"right","title_size":"16","type":"scatterplot","xaxis":{"include_zero":false,"label":"cpu (%)","max":"100","min":"0","scale":"log"},"yaxis":{"include_zero":false,"label":"mem (Gib)","min":"1","scale":"log"}}},{"definition":{"color_by_groups":["app"],"custom_links":[{"label":"Test Custom Link label","link":"https://app.datadoghq.com/dashboard/lists"}],"requests":{"x":{"aggregator":"avg","q":"avg:system.cpu.user{account:prod} by {service, team, app}"},"y":{"aggregator":"avg","q":"avg:system.mem.used{env:prod} by {service, team, app}"}},"time":{"live_span":"15m"},"title":"system.mem.used and system.cpu.user by service,team,app colored by app","title_align":"right","title_size":"16","type":"scatterplot","xaxis":{"include_zero":false,"label":"cpu (%)","max":"100","min":"0","scale":"log"},"yaxis":{"include_zero":false,"label":"mem (Gib)","min":"1","scale":"log"}}}]} form: {} headers: Accept: @@ -13,31 +13,11 @@ interactions: Dd-Operation-Id: - CreateDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 1.15.0; terraform-cli 0.12.7-sdk) - datadog-api-client-go/1.0.0-beta.14 (go go1.15.4; os darwin; arch amd64) - X-Datadog-Parent-Id: - - "722419173507070389" - X-Datadog-Sampling-Priority: - - "1" - X-Datadog-Trace-Id: - - "6251496224295302927" + - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) 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":"x9v-tdh-64k","title":"tf-TestAccDatadogDashboardScatterplot-local-1611850706","url":"/dashboard/x9v-tdh-64k/tf-testaccdatadogdashboardscatterplot-local-1611850706","created_at":"2021-01-28T16:49:22.693247+00:00","modified_at":"2021-01-28T16:49:22.693247+00:00","author_handle":"frog@datadoghq.com","widgets":[{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test - Custom Link label"}],"title_size":"16","yaxis":{"include_zero":false,"scale":"log","min":"1","label":"mem - (Gib)"},"title_align":"right","color_by_groups":["app"],"xaxis":{"include_zero":false,"max":"100","min":"0","scale":"log","label":"cpu - (%)"},"time":{"live_span":"15m"},"title":"system.mem.used and system.cpu.user - by service,team,app colored by app","requests":{"y":{"q":"avg:system.mem.used{env:prod} - by {service, team, app}","aggregator":"avg"},"x":{"q":"avg:system.cpu.user{account:prod} - by {service, team, app}","aggregator":"avg"}},"type":"scatterplot"},"id":3387263182653338},{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test - Custom Link label"}],"title_size":"16","yaxis":{"include_zero":false,"scale":"log","min":"1","label":"mem - (Gib)"},"title_align":"right","color_by_groups":["app"],"xaxis":{"include_zero":false,"max":"100","min":"0","scale":"log","label":"cpu - (%)"},"time":{"live_span":"15m"},"title":"system.mem.used and system.cpu.user - by service,team,app colored by app","requests":{"y":{"q":"avg:system.mem.used{env:prod} - by {service, team, app}","aggregator":"avg"},"x":{"q":"avg:system.cpu.user{account:prod} - by {service, team, app}","aggregator":"avg"}},"type":"scatterplot"},"id":7872484918933697}],"layout_type":"ordered"}' + body: '{"notify_list":[],"description":"Created using the Datadog provider in Terraform","restricted_roles":["043a2842-e140-11e8-bb04-7fd10177666e","08604de8-1dca-11eb-800c-9f5f55ff734d","1302282c-b93b-11eb-a436-da7ad0900002","16169788-28e4-11eb-832c-fb84162ef3eb","17d73994-7531-11eb-94b9-da7ad0900002","284d8b66-93f9-11eb-9c37-da7ad0900002","4de53192-9946-11eb-9cee-da7ad0900002","62cbc476-5c16-11eb-8e98-0388ea7a41f8","657de3a2-29f8-11eb-83b5-6b8ebfb2f184","6bf314be-5c16-11eb-8e98-2356ea436065","7a83f306-96ca-11eb-9c74-da7ad0900002","9b3ab170-b768-11eb-a45a-da7ad0900002","e82bf27a-986c-11eb-9cba-da7ad0900002","f257ba30-dbb2-11ea-a5ff-5fd1d308318a"],"author_name":"Qin Chen","template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"yg4-aa9-uk9","title":"tf-TestAccDatadogDashboardScatterplot-local-1621914580","url":"/dashboard/yg4-aa9-uk9/tf-testaccdatadogdashboardscatterplot-local-1621914580","created_at":"2021-05-25T03:49:41.803634+00:00","modified_at":"2021-05-25T03:49:41.803634+00:00","author_handle":"qin.chen@datadoghq.com","widgets":[{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test Custom Link label"},{"override_label":"logs","is_hidden":true,"link":"https://app.datadoghq.com/dashboard/lists"}],"title_size":"16","yaxis":{"include_zero":false,"scale":"log","min":"1","label":"mem (Gib)"},"title_align":"right","color_by_groups":["app"],"xaxis":{"include_zero":false,"max":"100","min":"0","scale":"log","label":"cpu (%)"},"time":{"live_span":"15m"},"title":"system.mem.used and system.cpu.user by service,team,app colored by app","requests":{"y":{"q":"avg:system.mem.used{env:prod} by {service, team, app}","aggregator":"avg"},"x":{"q":"avg:system.cpu.user{account:prod} by {service, team, app}","aggregator":"avg"}},"type":"scatterplot"},"id":5672003303239465},{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test Custom Link label"}],"title_size":"16","yaxis":{"include_zero":false,"scale":"log","min":"1","label":"mem (Gib)"},"title_align":"right","color_by_groups":["app"],"xaxis":{"include_zero":false,"max":"100","min":"0","scale":"log","label":"cpu (%)"},"time":{"live_span":"15m"},"title":"system.mem.used and system.cpu.user by service,team,app colored by app","requests":{"y":{"q":"avg:system.mem.used{env:prod} by {service, team, app}","aggregator":"avg"},"x":{"q":"avg:system.cpu.user{account:prod} by {service, team, app}","aggregator":"avg"}},"type":"scatterplot"},"id":2717168088746988}],"layout_type":"ordered"}' headers: Cache-Control: - no-cache @@ -48,12 +28,9 @@ interactions: Content-Type: - application/json Date: - - Thu, 28 Jan 2021 16:49:25 GMT + - Tue, 25 May 2021 03:49:41 GMT Pragma: - no-cache - Set-Cookie: - - DD-PSHARD=233; Max-Age=604800; Path=/; expires=Thu, 04-Feb-2021 16:49:22 GMT; - secure; HttpOnly Strict-Transport-Security: - max-age=15724800; Vary: @@ -61,9 +38,9 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Debug: - - dCmL/3rURV6BPeaqeP3Rxigq41m5CAb17XjrRE42uZ01zpr07HVhbL5/3TWMkvgu + - PhosSd3Ch1B6B0DXI71steKUi7XhPDttnPiIP1NdXTw0VJNWpoUnYyBmODS5ne3q X-Dd-Version: - - "35.3796727" + - "35.4598224" X-Frame-Options: - SAMEORIGIN status: 200 OK @@ -78,31 +55,11 @@ interactions: Dd-Operation-Id: - GetDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 1.15.0; terraform-cli 0.12.7-sdk) - datadog-api-client-go/1.0.0-beta.14 (go go1.15.4; os darwin; arch amd64) - X-Datadog-Parent-Id: - - "5600690351351574193" - X-Datadog-Sampling-Priority: - - "1" - X-Datadog-Trace-Id: - - "6251496224295302927" - url: https://api.datadoghq.com/api/v1/dashboard/x9v-tdh-64k + - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) + url: https://api.datadoghq.com/api/v1/dashboard/yg4-aa9-uk9 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":"x9v-tdh-64k","title":"tf-TestAccDatadogDashboardScatterplot-local-1611850706","url":"/dashboard/x9v-tdh-64k/tf-testaccdatadogdashboardscatterplot-local-1611850706","created_at":"2021-01-28T16:49:22.693247+00:00","modified_at":"2021-01-28T16:49:22.693247+00:00","author_handle":"frog@datadoghq.com","widgets":[{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test - Custom Link label"}],"title_size":"16","yaxis":{"include_zero":false,"scale":"log","min":"1","label":"mem - (Gib)"},"title_align":"right","color_by_groups":["app"],"xaxis":{"include_zero":false,"max":"100","min":"0","scale":"log","label":"cpu - (%)"},"time":{"live_span":"15m"},"title":"system.mem.used and system.cpu.user - by service,team,app colored by app","requests":{"y":{"q":"avg:system.mem.used{env:prod} - by {service, team, app}","aggregator":"avg"},"x":{"q":"avg:system.cpu.user{account:prod} - by {service, team, app}","aggregator":"avg"}},"type":"scatterplot"},"id":3387263182653338},{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test - Custom Link label"}],"title_size":"16","yaxis":{"include_zero":false,"scale":"log","min":"1","label":"mem - (Gib)"},"title_align":"right","color_by_groups":["app"],"xaxis":{"include_zero":false,"max":"100","min":"0","scale":"log","label":"cpu - (%)"},"time":{"live_span":"15m"},"title":"system.mem.used and system.cpu.user - by service,team,app colored by app","requests":{"y":{"q":"avg:system.mem.used{env:prod} - by {service, team, app}","aggregator":"avg"},"x":{"q":"avg:system.cpu.user{account:prod} - by {service, team, app}","aggregator":"avg"}},"type":"scatterplot"},"id":7872484918933697}],"layout_type":"ordered"}' + body: '{"notify_list":[],"description":"Created using the Datadog provider in Terraform","restricted_roles":["284d8b66-93f9-11eb-9c37-da7ad0900002","043a2842-e140-11e8-bb04-7fd10177666e","657de3a2-29f8-11eb-83b5-6b8ebfb2f184","e82bf27a-986c-11eb-9cba-da7ad0900002","f257ba30-dbb2-11ea-a5ff-5fd1d308318a","6bf314be-5c16-11eb-8e98-2356ea436065","62cbc476-5c16-11eb-8e98-0388ea7a41f8","08604de8-1dca-11eb-800c-9f5f55ff734d","9b3ab170-b768-11eb-a45a-da7ad0900002","7a83f306-96ca-11eb-9c74-da7ad0900002","16169788-28e4-11eb-832c-fb84162ef3eb","4de53192-9946-11eb-9cee-da7ad0900002","1302282c-b93b-11eb-a436-da7ad0900002","17d73994-7531-11eb-94b9-da7ad0900002"],"author_name":"Qin Chen","template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"yg4-aa9-uk9","title":"tf-TestAccDatadogDashboardScatterplot-local-1621914580","url":"/dashboard/yg4-aa9-uk9/tf-testaccdatadogdashboardscatterplot-local-1621914580","created_at":"2021-05-25T03:49:41.803634+00:00","modified_at":"2021-05-25T03:49:41.803634+00:00","author_handle":"qin.chen@datadoghq.com","widgets":[{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test Custom Link label"},{"override_label":"logs","is_hidden":true,"link":"https://app.datadoghq.com/dashboard/lists"}],"title_size":"16","yaxis":{"include_zero":false,"scale":"log","min":"1","label":"mem (Gib)"},"title_align":"right","color_by_groups":["app"],"xaxis":{"include_zero":false,"max":"100","min":"0","scale":"log","label":"cpu (%)"},"time":{"live_span":"15m"},"title":"system.mem.used and system.cpu.user by service,team,app colored by app","requests":{"y":{"q":"avg:system.mem.used{env:prod} by {service, team, app}","aggregator":"avg"},"x":{"q":"avg:system.cpu.user{account:prod} by {service, team, app}","aggregator":"avg"}},"type":"scatterplot"},"id":5672003303239465},{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test Custom Link label"}],"title_size":"16","yaxis":{"include_zero":false,"scale":"log","min":"1","label":"mem (Gib)"},"title_align":"right","color_by_groups":["app"],"xaxis":{"include_zero":false,"max":"100","min":"0","scale":"log","label":"cpu (%)"},"time":{"live_span":"15m"},"title":"system.mem.used and system.cpu.user by service,team,app colored by app","requests":{"y":{"q":"avg:system.mem.used{env:prod} by {service, team, app}","aggregator":"avg"},"x":{"q":"avg:system.cpu.user{account:prod} by {service, team, app}","aggregator":"avg"}},"type":"scatterplot"},"id":2717168088746988}],"layout_type":"ordered"}' headers: Cache-Control: - no-cache @@ -113,12 +70,9 @@ interactions: Content-Type: - application/json Date: - - Thu, 28 Jan 2021 16:49:25 GMT + - Tue, 25 May 2021 03:49:42 GMT Pragma: - no-cache - Set-Cookie: - - DD-PSHARD=233; Max-Age=604800; Path=/; expires=Thu, 04-Feb-2021 16:49:25 GMT; - secure; HttpOnly Strict-Transport-Security: - max-age=15724800; Vary: @@ -126,9 +80,9 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Debug: - - HbtaOKlJ6OCrx9tMXO6ivMTrEM+g0c93HDp08trmOmgdHozC5J+vn10F0H4WPjCU + - l8RQo2maZqJf6GFThBbKNE6dvthz6njusVtau3dPXJWL2RLFoN81H+BLPB/1xgs1 X-Dd-Version: - - "35.3796727" + - "35.4598224" X-Frame-Options: - SAMEORIGIN status: 200 OK @@ -143,31 +97,11 @@ interactions: Dd-Operation-Id: - GetDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 1.15.0; terraform-cli 0.12.7-sdk) - datadog-api-client-go/1.0.0-beta.14 (go go1.15.4; os darwin; arch amd64) - X-Datadog-Parent-Id: - - "8080540688691880235" - X-Datadog-Sampling-Priority: - - "1" - X-Datadog-Trace-Id: - - "6251496224295302927" - url: https://api.datadoghq.com/api/v1/dashboard/x9v-tdh-64k + - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) + url: https://api.datadoghq.com/api/v1/dashboard/yg4-aa9-uk9 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":"x9v-tdh-64k","title":"tf-TestAccDatadogDashboardScatterplot-local-1611850706","url":"/dashboard/x9v-tdh-64k/tf-testaccdatadogdashboardscatterplot-local-1611850706","created_at":"2021-01-28T16:49:22.693247+00:00","modified_at":"2021-01-28T16:49:22.693247+00:00","author_handle":"frog@datadoghq.com","widgets":[{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test - Custom Link label"}],"title_size":"16","yaxis":{"include_zero":false,"scale":"log","min":"1","label":"mem - (Gib)"},"title_align":"right","color_by_groups":["app"],"xaxis":{"include_zero":false,"max":"100","min":"0","scale":"log","label":"cpu - (%)"},"time":{"live_span":"15m"},"title":"system.mem.used and system.cpu.user - by service,team,app colored by app","requests":{"y":{"q":"avg:system.mem.used{env:prod} - by {service, team, app}","aggregator":"avg"},"x":{"q":"avg:system.cpu.user{account:prod} - by {service, team, app}","aggregator":"avg"}},"type":"scatterplot"},"id":3387263182653338},{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test - Custom Link label"}],"title_size":"16","yaxis":{"include_zero":false,"scale":"log","min":"1","label":"mem - (Gib)"},"title_align":"right","color_by_groups":["app"],"xaxis":{"include_zero":false,"max":"100","min":"0","scale":"log","label":"cpu - (%)"},"time":{"live_span":"15m"},"title":"system.mem.used and system.cpu.user - by service,team,app colored by app","requests":{"y":{"q":"avg:system.mem.used{env:prod} - by {service, team, app}","aggregator":"avg"},"x":{"q":"avg:system.cpu.user{account:prod} - by {service, team, app}","aggregator":"avg"}},"type":"scatterplot"},"id":7872484918933697}],"layout_type":"ordered"}' + body: '{"notify_list":[],"description":"Created using the Datadog provider in Terraform","restricted_roles":["284d8b66-93f9-11eb-9c37-da7ad0900002","043a2842-e140-11e8-bb04-7fd10177666e","657de3a2-29f8-11eb-83b5-6b8ebfb2f184","e82bf27a-986c-11eb-9cba-da7ad0900002","f257ba30-dbb2-11ea-a5ff-5fd1d308318a","6bf314be-5c16-11eb-8e98-2356ea436065","62cbc476-5c16-11eb-8e98-0388ea7a41f8","08604de8-1dca-11eb-800c-9f5f55ff734d","9b3ab170-b768-11eb-a45a-da7ad0900002","7a83f306-96ca-11eb-9c74-da7ad0900002","16169788-28e4-11eb-832c-fb84162ef3eb","4de53192-9946-11eb-9cee-da7ad0900002","1302282c-b93b-11eb-a436-da7ad0900002","17d73994-7531-11eb-94b9-da7ad0900002"],"author_name":"Qin Chen","template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"yg4-aa9-uk9","title":"tf-TestAccDatadogDashboardScatterplot-local-1621914580","url":"/dashboard/yg4-aa9-uk9/tf-testaccdatadogdashboardscatterplot-local-1621914580","created_at":"2021-05-25T03:49:41.803634+00:00","modified_at":"2021-05-25T03:49:41.803634+00:00","author_handle":"qin.chen@datadoghq.com","widgets":[{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test Custom Link label"},{"override_label":"logs","is_hidden":true,"link":"https://app.datadoghq.com/dashboard/lists"}],"title_size":"16","yaxis":{"include_zero":false,"scale":"log","min":"1","label":"mem (Gib)"},"title_align":"right","color_by_groups":["app"],"xaxis":{"include_zero":false,"max":"100","min":"0","scale":"log","label":"cpu (%)"},"time":{"live_span":"15m"},"title":"system.mem.used and system.cpu.user by service,team,app colored by app","requests":{"y":{"q":"avg:system.mem.used{env:prod} by {service, team, app}","aggregator":"avg"},"x":{"q":"avg:system.cpu.user{account:prod} by {service, team, app}","aggregator":"avg"}},"type":"scatterplot"},"id":5672003303239465},{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test Custom Link label"}],"title_size":"16","yaxis":{"include_zero":false,"scale":"log","min":"1","label":"mem (Gib)"},"title_align":"right","color_by_groups":["app"],"xaxis":{"include_zero":false,"max":"100","min":"0","scale":"log","label":"cpu (%)"},"time":{"live_span":"15m"},"title":"system.mem.used and system.cpu.user by service,team,app colored by app","requests":{"y":{"q":"avg:system.mem.used{env:prod} by {service, team, app}","aggregator":"avg"},"x":{"q":"avg:system.cpu.user{account:prod} by {service, team, app}","aggregator":"avg"}},"type":"scatterplot"},"id":2717168088746988}],"layout_type":"ordered"}' headers: Cache-Control: - no-cache @@ -178,12 +112,9 @@ interactions: Content-Type: - application/json Date: - - Thu, 28 Jan 2021 16:49:31 GMT + - Tue, 25 May 2021 03:49:42 GMT Pragma: - no-cache - Set-Cookie: - - DD-PSHARD=233; Max-Age=604800; Path=/; expires=Thu, 04-Feb-2021 16:49:31 GMT; - secure; HttpOnly Strict-Transport-Security: - max-age=15724800; Vary: @@ -191,9 +122,9 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Debug: - - bgHykj7A9bfZx0Y5ZO3swhhp5tGUSNJHqFWR868+qg087CYrDOd5hQslC+noiEtH + - Um4CoU685QqAscnxhS5BD+goWu2yX1Jd4zCfGzSsEvPPIm1qURZaF8dlLl/OEY4I X-Dd-Version: - - "35.3796727" + - "35.4598224" X-Frame-Options: - SAMEORIGIN status: 200 OK @@ -208,31 +139,11 @@ interactions: Dd-Operation-Id: - GetDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 1.15.0; terraform-cli 0.12.7-sdk) - datadog-api-client-go/1.0.0-beta.14 (go go1.15.4; os darwin; arch amd64) - X-Datadog-Parent-Id: - - "7596460136759929974" - X-Datadog-Sampling-Priority: - - "1" - X-Datadog-Trace-Id: - - "6251496224295302927" - url: https://api.datadoghq.com/api/v1/dashboard/x9v-tdh-64k + - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) + url: https://api.datadoghq.com/api/v1/dashboard/yg4-aa9-uk9 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":"x9v-tdh-64k","title":"tf-TestAccDatadogDashboardScatterplot-local-1611850706","url":"/dashboard/x9v-tdh-64k/tf-testaccdatadogdashboardscatterplot-local-1611850706","created_at":"2021-01-28T16:49:22.693247+00:00","modified_at":"2021-01-28T16:49:22.693247+00:00","author_handle":"frog@datadoghq.com","widgets":[{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test - Custom Link label"}],"title_size":"16","yaxis":{"include_zero":false,"scale":"log","min":"1","label":"mem - (Gib)"},"title_align":"right","color_by_groups":["app"],"xaxis":{"include_zero":false,"max":"100","min":"0","scale":"log","label":"cpu - (%)"},"time":{"live_span":"15m"},"title":"system.mem.used and system.cpu.user - by service,team,app colored by app","requests":{"y":{"q":"avg:system.mem.used{env:prod} - by {service, team, app}","aggregator":"avg"},"x":{"q":"avg:system.cpu.user{account:prod} - by {service, team, app}","aggregator":"avg"}},"type":"scatterplot"},"id":3387263182653338},{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test - Custom Link label"}],"title_size":"16","yaxis":{"include_zero":false,"scale":"log","min":"1","label":"mem - (Gib)"},"title_align":"right","color_by_groups":["app"],"xaxis":{"include_zero":false,"max":"100","min":"0","scale":"log","label":"cpu - (%)"},"time":{"live_span":"15m"},"title":"system.mem.used and system.cpu.user - by service,team,app colored by app","requests":{"y":{"q":"avg:system.mem.used{env:prod} - by {service, team, app}","aggregator":"avg"},"x":{"q":"avg:system.cpu.user{account:prod} - by {service, team, app}","aggregator":"avg"}},"type":"scatterplot"},"id":7872484918933697}],"layout_type":"ordered"}' + body: '{"notify_list":[],"description":"Created using the Datadog provider in Terraform","restricted_roles":["284d8b66-93f9-11eb-9c37-da7ad0900002","043a2842-e140-11e8-bb04-7fd10177666e","657de3a2-29f8-11eb-83b5-6b8ebfb2f184","e82bf27a-986c-11eb-9cba-da7ad0900002","f257ba30-dbb2-11ea-a5ff-5fd1d308318a","6bf314be-5c16-11eb-8e98-2356ea436065","62cbc476-5c16-11eb-8e98-0388ea7a41f8","08604de8-1dca-11eb-800c-9f5f55ff734d","9b3ab170-b768-11eb-a45a-da7ad0900002","7a83f306-96ca-11eb-9c74-da7ad0900002","16169788-28e4-11eb-832c-fb84162ef3eb","4de53192-9946-11eb-9cee-da7ad0900002","1302282c-b93b-11eb-a436-da7ad0900002","17d73994-7531-11eb-94b9-da7ad0900002"],"author_name":"Qin Chen","template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"yg4-aa9-uk9","title":"tf-TestAccDatadogDashboardScatterplot-local-1621914580","url":"/dashboard/yg4-aa9-uk9/tf-testaccdatadogdashboardscatterplot-local-1621914580","created_at":"2021-05-25T03:49:41.803634+00:00","modified_at":"2021-05-25T03:49:41.803634+00:00","author_handle":"qin.chen@datadoghq.com","widgets":[{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test Custom Link label"},{"override_label":"logs","is_hidden":true,"link":"https://app.datadoghq.com/dashboard/lists"}],"title_size":"16","yaxis":{"include_zero":false,"scale":"log","min":"1","label":"mem (Gib)"},"title_align":"right","color_by_groups":["app"],"xaxis":{"include_zero":false,"max":"100","min":"0","scale":"log","label":"cpu (%)"},"time":{"live_span":"15m"},"title":"system.mem.used and system.cpu.user by service,team,app colored by app","requests":{"y":{"q":"avg:system.mem.used{env:prod} by {service, team, app}","aggregator":"avg"},"x":{"q":"avg:system.cpu.user{account:prod} by {service, team, app}","aggregator":"avg"}},"type":"scatterplot"},"id":5672003303239465},{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test Custom Link label"}],"title_size":"16","yaxis":{"include_zero":false,"scale":"log","min":"1","label":"mem (Gib)"},"title_align":"right","color_by_groups":["app"],"xaxis":{"include_zero":false,"max":"100","min":"0","scale":"log","label":"cpu (%)"},"time":{"live_span":"15m"},"title":"system.mem.used and system.cpu.user by service,team,app colored by app","requests":{"y":{"q":"avg:system.mem.used{env:prod} by {service, team, app}","aggregator":"avg"},"x":{"q":"avg:system.cpu.user{account:prod} by {service, team, app}","aggregator":"avg"}},"type":"scatterplot"},"id":2717168088746988}],"layout_type":"ordered"}' headers: Cache-Control: - no-cache @@ -243,12 +154,9 @@ interactions: Content-Type: - application/json Date: - - Thu, 28 Jan 2021 16:50:07 GMT + - Tue, 25 May 2021 03:49:42 GMT Pragma: - no-cache - Set-Cookie: - - DD-PSHARD=233; Max-Age=604800; Path=/; expires=Thu, 04-Feb-2021 16:50:07 GMT; - secure; HttpOnly Strict-Transport-Security: - max-age=15724800; Vary: @@ -256,9 +164,9 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Debug: - - bgHykj7A9bfZx0Y5ZO3swhhp5tGUSNJHqFWR868+qg087CYrDOd5hQslC+noiEtH + - L3ULR3HwCWYmEqCWGz2Yob3chcH4pjowBacBXkncP7o+/uPqKt9yGEYf/g1AJPzQ X-Dd-Version: - - "35.3796727" + - "35.4598224" X-Frame-Options: - SAMEORIGIN status: 200 OK @@ -273,31 +181,11 @@ interactions: Dd-Operation-Id: - GetDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 1.15.0; terraform-cli 0.12.7-sdk) - datadog-api-client-go/1.0.0-beta.14 (go go1.15.4; os darwin; arch amd64) - X-Datadog-Parent-Id: - - "5199018300529567672" - X-Datadog-Sampling-Priority: - - "1" - X-Datadog-Trace-Id: - - "6251496224295302927" - url: https://api.datadoghq.com/api/v1/dashboard/x9v-tdh-64k + - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) + url: https://api.datadoghq.com/api/v1/dashboard/yg4-aa9-uk9 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":"x9v-tdh-64k","title":"tf-TestAccDatadogDashboardScatterplot-local-1611850706","url":"/dashboard/x9v-tdh-64k/tf-testaccdatadogdashboardscatterplot-local-1611850706","created_at":"2021-01-28T16:49:22.693247+00:00","modified_at":"2021-01-28T16:49:22.693247+00:00","author_handle":"frog@datadoghq.com","widgets":[{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test - Custom Link label"}],"title_size":"16","yaxis":{"include_zero":false,"scale":"log","min":"1","label":"mem - (Gib)"},"title_align":"right","color_by_groups":["app"],"xaxis":{"include_zero":false,"max":"100","min":"0","scale":"log","label":"cpu - (%)"},"time":{"live_span":"15m"},"title":"system.mem.used and system.cpu.user - by service,team,app colored by app","requests":{"y":{"q":"avg:system.mem.used{env:prod} - by {service, team, app}","aggregator":"avg"},"x":{"q":"avg:system.cpu.user{account:prod} - by {service, team, app}","aggregator":"avg"}},"type":"scatterplot"},"id":3387263182653338},{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test - Custom Link label"}],"title_size":"16","yaxis":{"include_zero":false,"scale":"log","min":"1","label":"mem - (Gib)"},"title_align":"right","color_by_groups":["app"],"xaxis":{"include_zero":false,"max":"100","min":"0","scale":"log","label":"cpu - (%)"},"time":{"live_span":"15m"},"title":"system.mem.used and system.cpu.user - by service,team,app colored by app","requests":{"y":{"q":"avg:system.mem.used{env:prod} - by {service, team, app}","aggregator":"avg"},"x":{"q":"avg:system.cpu.user{account:prod} - by {service, team, app}","aggregator":"avg"}},"type":"scatterplot"},"id":7872484918933697}],"layout_type":"ordered"}' + body: '{"notify_list":[],"description":"Created using the Datadog provider in Terraform","restricted_roles":["284d8b66-93f9-11eb-9c37-da7ad0900002","043a2842-e140-11e8-bb04-7fd10177666e","657de3a2-29f8-11eb-83b5-6b8ebfb2f184","e82bf27a-986c-11eb-9cba-da7ad0900002","f257ba30-dbb2-11ea-a5ff-5fd1d308318a","6bf314be-5c16-11eb-8e98-2356ea436065","62cbc476-5c16-11eb-8e98-0388ea7a41f8","08604de8-1dca-11eb-800c-9f5f55ff734d","9b3ab170-b768-11eb-a45a-da7ad0900002","7a83f306-96ca-11eb-9c74-da7ad0900002","16169788-28e4-11eb-832c-fb84162ef3eb","4de53192-9946-11eb-9cee-da7ad0900002","1302282c-b93b-11eb-a436-da7ad0900002","17d73994-7531-11eb-94b9-da7ad0900002"],"author_name":"Qin Chen","template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"yg4-aa9-uk9","title":"tf-TestAccDatadogDashboardScatterplot-local-1621914580","url":"/dashboard/yg4-aa9-uk9/tf-testaccdatadogdashboardscatterplot-local-1621914580","created_at":"2021-05-25T03:49:41.803634+00:00","modified_at":"2021-05-25T03:49:41.803634+00:00","author_handle":"qin.chen@datadoghq.com","widgets":[{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test Custom Link label"},{"override_label":"logs","is_hidden":true,"link":"https://app.datadoghq.com/dashboard/lists"}],"title_size":"16","yaxis":{"include_zero":false,"scale":"log","min":"1","label":"mem (Gib)"},"title_align":"right","color_by_groups":["app"],"xaxis":{"include_zero":false,"max":"100","min":"0","scale":"log","label":"cpu (%)"},"time":{"live_span":"15m"},"title":"system.mem.used and system.cpu.user by service,team,app colored by app","requests":{"y":{"q":"avg:system.mem.used{env:prod} by {service, team, app}","aggregator":"avg"},"x":{"q":"avg:system.cpu.user{account:prod} by {service, team, app}","aggregator":"avg"}},"type":"scatterplot"},"id":5672003303239465},{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test Custom Link label"}],"title_size":"16","yaxis":{"include_zero":false,"scale":"log","min":"1","label":"mem (Gib)"},"title_align":"right","color_by_groups":["app"],"xaxis":{"include_zero":false,"max":"100","min":"0","scale":"log","label":"cpu (%)"},"time":{"live_span":"15m"},"title":"system.mem.used and system.cpu.user by service,team,app colored by app","requests":{"y":{"q":"avg:system.mem.used{env:prod} by {service, team, app}","aggregator":"avg"},"x":{"q":"avg:system.cpu.user{account:prod} by {service, team, app}","aggregator":"avg"}},"type":"scatterplot"},"id":2717168088746988}],"layout_type":"ordered"}' headers: Cache-Control: - no-cache @@ -308,12 +196,9 @@ interactions: Content-Type: - application/json Date: - - Thu, 28 Jan 2021 16:50:57 GMT + - Tue, 25 May 2021 03:49:43 GMT Pragma: - no-cache - Set-Cookie: - - DD-PSHARD=233; Max-Age=604800; Path=/; expires=Thu, 04-Feb-2021 16:50:57 GMT; - secure; HttpOnly Strict-Transport-Security: - max-age=15724800; Vary: @@ -321,9 +206,9 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Debug: - - /L+SFFO+m1pPY+hRCpk5325fvfrNl0KmiquUNJolBN/5hu3HIwflqjZSbJ6NxDFG + - EFjE6I+AUQmTiNqZcuE1nqoFeAjWD0Xtzy3edDrinkwlU/Wzr/2Dbl5kWk3qLVaQ X-Dd-Version: - - "35.3796727" + - "35.4598224" X-Frame-Options: - SAMEORIGIN status: 200 OK @@ -338,18 +223,11 @@ interactions: Dd-Operation-Id: - DeleteDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 1.15.0; terraform-cli 0.12.7-sdk) - datadog-api-client-go/1.0.0-beta.14 (go go1.15.4; os darwin; arch amd64) - X-Datadog-Parent-Id: - - "6296817157214483627" - X-Datadog-Sampling-Priority: - - "1" - X-Datadog-Trace-Id: - - "6251496224295302927" - url: https://api.datadoghq.com/api/v1/dashboard/x9v-tdh-64k + - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) + url: https://api.datadoghq.com/api/v1/dashboard/yg4-aa9-uk9 method: DELETE response: - body: '{"deleted_dashboard_id":"x9v-tdh-64k"}' + body: '{"deleted_dashboard_id":"yg4-aa9-uk9"}' headers: Cache-Control: - no-cache @@ -360,12 +238,9 @@ interactions: Content-Type: - application/json Date: - - Thu, 28 Jan 2021 16:51:20 GMT + - Tue, 25 May 2021 03:49:43 GMT Pragma: - no-cache - Set-Cookie: - - DD-PSHARD=233; Max-Age=604800; Path=/; expires=Thu, 04-Feb-2021 16:51:19 GMT; - secure; HttpOnly Strict-Transport-Security: - max-age=15724800; Vary: @@ -373,9 +248,9 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Debug: - - B1nwy/pPNqX+q4pQT22cdp1QCexE35IF8qwSHy0Nf7IW0Y881qtn4tXN1lpmzaKc + - dCmL/3rURV6BPeaqeP3Rxigq41m5CAb17XjrRE42uZ01zpr07HVhbL5/3TWMkvgu X-Dd-Version: - - "35.3796727" + - "35.4598224" X-Frame-Options: - SAMEORIGIN status: 200 OK @@ -390,18 +265,11 @@ interactions: Dd-Operation-Id: - GetDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 1.15.0; terraform-cli 0.12.7-sdk) - datadog-api-client-go/1.0.0-beta.14 (go go1.15.4; os darwin; arch amd64) - X-Datadog-Parent-Id: - - "5027174709423246870" - X-Datadog-Sampling-Priority: - - "1" - X-Datadog-Trace-Id: - - "6251496224295302927" - url: https://api.datadoghq.com/api/v1/dashboard/x9v-tdh-64k + - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) + url: https://api.datadoghq.com/api/v1/dashboard/yg4-aa9-uk9 method: GET response: - body: '{"errors": ["Dashboard with ID x9v-tdh-64k not found"]}' + body: '{"errors": ["Dashboard with ID yg4-aa9-uk9 not found"]}' headers: Cache-Control: - no-cache @@ -412,7 +280,7 @@ interactions: Content-Type: - application/json Date: - - Thu, 28 Jan 2021 16:51:22 GMT + - Tue, 25 May 2021 03:49:43 GMT Pragma: - no-cache Strict-Transport-Security: @@ -422,7 +290,7 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Version: - - "35.3796727" + - "35.4598224" X-Frame-Options: - SAMEORIGIN status: 404 Not Found diff --git a/datadog/tests/cassettes/TestAccDatadogDashboardScatterplot_import.freeze b/datadog/tests/cassettes/TestAccDatadogDashboardScatterplot_import.freeze index 7e48b95ad..8b5e4b22a 100644 --- a/datadog/tests/cassettes/TestAccDatadogDashboardScatterplot_import.freeze +++ b/datadog/tests/cassettes/TestAccDatadogDashboardScatterplot_import.freeze @@ -1 +1 @@ -2020-12-31T15:42:08.74021+01:00 \ No newline at end of file +2021-05-24T23:49:40.885487-04:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogDashboardScatterplot_import.yaml b/datadog/tests/cassettes/TestAccDatadogDashboardScatterplot_import.yaml index 9238211e0..2974aea72 100644 --- a/datadog/tests/cassettes/TestAccDatadogDashboardScatterplot_import.yaml +++ b/datadog/tests/cassettes/TestAccDatadogDashboardScatterplot_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-TestAccDatadogDashboardScatterplot_import-local-1609425728","widgets":[{"definition":{"color_by_groups":["app"],"custom_links":[{"label":"Test Custom Link label","link":"https://app.datadoghq.com/dashboard/lists"}],"requests":{"x":{"aggregator":"avg","q":"avg:system.cpu.user{account:prod} by {service, team, app}"},"y":{"aggregator":"avg","q":"avg:system.mem.used{env:prod} by {service, team, app}"}},"time":{"live_span":"15m"},"title":"system.mem.used and system.cpu.user by service,team,app colored by app","title_align":"right","title_size":"16","type":"scatterplot","xaxis":{"include_zero":false,"label":"cpu (%)","max":"100","min":"0","scale":"log"},"yaxis":{"include_zero":false,"label":"mem (Gib)","min":"1","scale":"log"}}}]} + {"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-TestAccDatadogDashboardScatterplot_import-local-1621914580","widgets":[{"definition":{"color_by_groups":["app"],"custom_links":[{"label":"Test Custom Link label","link":"https://app.datadoghq.com/dashboard/lists"}],"requests":{"x":{"aggregator":"avg","q":"avg:system.cpu.user{account:prod} by {service, team, app}"},"y":{"aggregator":"avg","q":"avg:system.mem.used{env:prod} by {service, team, app}"}},"time":{"live_span":"15m"},"title":"system.mem.used and system.cpu.user by service,team,app colored by app","title_align":"right","title_size":"16","type":"scatterplot","xaxis":{"include_zero":false,"label":"cpu (%)","max":"100","min":"0","scale":"log"},"yaxis":{"include_zero":false,"label":"mem (Gib)","min":"1","scale":"log"}}}]} form: {} headers: Accept: @@ -13,25 +13,11 @@ interactions: Dd-Operation-Id: - CreateDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 1.15.0; terraform-cli 0.12.7-sdk) - datadog-api-client-go/1.0.0-beta.13+dev (go go1.15.4; os darwin; arch amd64) - X-Datadog-Parent-Id: - - "2948060761037736520" - X-Datadog-Sampling-Priority: - - "1" - X-Datadog-Trace-Id: - - "639391645206334338" + - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) 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":"5bp-8ub-kfy","title":"tf-TestAccDatadogDashboardScatterplot_import-local-1609425728","url":"/dashboard/5bp-8ub-kfy/tf-testaccdatadogdashboardscatterplotimport-local-1609425728","created_at":"2020-12-31T14:48:01.044093+00:00","modified_at":"2020-12-31T14:48:01.044093+00:00","author_handle":"frog@datadoghq.com","widgets":[{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test - Custom Link label"}],"title_size":"16","yaxis":{"include_zero":false,"scale":"log","min":"1","label":"mem - (Gib)"},"title_align":"right","color_by_groups":["app"],"xaxis":{"include_zero":false,"max":"100","min":"0","scale":"log","label":"cpu - (%)"},"time":{"live_span":"15m"},"title":"system.mem.used and system.cpu.user - by service,team,app colored by app","requests":{"y":{"q":"avg:system.mem.used{env:prod} - by {service, team, app}","aggregator":"avg"},"x":{"q":"avg:system.cpu.user{account:prod} - by {service, team, app}","aggregator":"avg"}},"type":"scatterplot"},"id":1459065978924874}],"layout_type":"ordered"}' + body: '{"notify_list":[],"description":"Created using the Datadog provider in Terraform","restricted_roles":["043a2842-e140-11e8-bb04-7fd10177666e","08604de8-1dca-11eb-800c-9f5f55ff734d","1302282c-b93b-11eb-a436-da7ad0900002","16169788-28e4-11eb-832c-fb84162ef3eb","17d73994-7531-11eb-94b9-da7ad0900002","284d8b66-93f9-11eb-9c37-da7ad0900002","4de53192-9946-11eb-9cee-da7ad0900002","62cbc476-5c16-11eb-8e98-0388ea7a41f8","657de3a2-29f8-11eb-83b5-6b8ebfb2f184","6bf314be-5c16-11eb-8e98-2356ea436065","7a83f306-96ca-11eb-9c74-da7ad0900002","9b3ab170-b768-11eb-a45a-da7ad0900002","e82bf27a-986c-11eb-9cba-da7ad0900002","f257ba30-dbb2-11ea-a5ff-5fd1d308318a"],"author_name":"Qin Chen","template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"fmg-hwj-ady","title":"tf-TestAccDatadogDashboardScatterplot_import-local-1621914580","url":"/dashboard/fmg-hwj-ady/tf-testaccdatadogdashboardscatterplotimport-local-1621914580","created_at":"2021-05-25T03:49:41.803543+00:00","modified_at":"2021-05-25T03:49:41.803543+00:00","author_handle":"qin.chen@datadoghq.com","widgets":[{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test Custom Link label"}],"title_size":"16","yaxis":{"include_zero":false,"scale":"log","min":"1","label":"mem (Gib)"},"title_align":"right","color_by_groups":["app"],"xaxis":{"include_zero":false,"max":"100","min":"0","scale":"log","label":"cpu (%)"},"time":{"live_span":"15m"},"title":"system.mem.used and system.cpu.user by service,team,app colored by app","requests":{"y":{"q":"avg:system.mem.used{env:prod} by {service, team, app}","aggregator":"avg"},"x":{"q":"avg:system.cpu.user{account:prod} by {service, team, app}","aggregator":"avg"}},"type":"scatterplot"},"id":8974666761511590}],"layout_type":"ordered"}' headers: Cache-Control: - no-cache @@ -42,12 +28,9 @@ interactions: Content-Type: - application/json Date: - - Thu, 31 Dec 2020 14:48:03 GMT + - Tue, 25 May 2021 03:49:41 GMT Pragma: - no-cache - Set-Cookie: - - DD-PSHARD=233; Max-Age=604800; Path=/; expires=Thu, 07-Jan-2021 14:48:00 GMT; - secure; HttpOnly Strict-Transport-Security: - max-age=15724800; Vary: @@ -55,9 +38,9 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Debug: - - XhN3sROXhRtxvw2F+uRtJTWMwUQRYhDKBCNr1DfCqtzQgh490ZXtNSOhIx1TzG8K + - Wjq53IVIwnB4SiR238oOYgHFMq/ZYP0LQ/Dv8C2fFLBwTje/dWJHu6pI6vIOK1zG X-Dd-Version: - - "35.3622023" + - "35.4598224" X-Frame-Options: - SAMEORIGIN status: 200 OK @@ -72,25 +55,11 @@ interactions: Dd-Operation-Id: - GetDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 1.15.0; terraform-cli 0.12.7-sdk) - datadog-api-client-go/1.0.0-beta.13+dev (go go1.15.4; os darwin; arch amd64) - X-Datadog-Parent-Id: - - "3283282512363111526" - X-Datadog-Sampling-Priority: - - "1" - X-Datadog-Trace-Id: - - "639391645206334338" - url: https://api.datadoghq.com/api/v1/dashboard/5bp-8ub-kfy + - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) + url: https://api.datadoghq.com/api/v1/dashboard/fmg-hwj-ady 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":"5bp-8ub-kfy","title":"tf-TestAccDatadogDashboardScatterplot_import-local-1609425728","url":"/dashboard/5bp-8ub-kfy/tf-testaccdatadogdashboardscatterplotimport-local-1609425728","created_at":"2020-12-31T14:48:01.044093+00:00","modified_at":"2020-12-31T14:48:01.044093+00:00","author_handle":"frog@datadoghq.com","widgets":[{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test - Custom Link label"}],"title_size":"16","yaxis":{"include_zero":false,"scale":"log","min":"1","label":"mem - (Gib)"},"title_align":"right","color_by_groups":["app"],"xaxis":{"include_zero":false,"max":"100","min":"0","scale":"log","label":"cpu - (%)"},"time":{"live_span":"15m"},"title":"system.mem.used and system.cpu.user - by service,team,app colored by app","requests":{"y":{"q":"avg:system.mem.used{env:prod} - by {service, team, app}","aggregator":"avg"},"x":{"q":"avg:system.cpu.user{account:prod} - by {service, team, app}","aggregator":"avg"}},"type":"scatterplot"},"id":1459065978924874}],"layout_type":"ordered"}' + body: '{"notify_list":[],"description":"Created using the Datadog provider in Terraform","restricted_roles":["284d8b66-93f9-11eb-9c37-da7ad0900002","043a2842-e140-11e8-bb04-7fd10177666e","657de3a2-29f8-11eb-83b5-6b8ebfb2f184","e82bf27a-986c-11eb-9cba-da7ad0900002","f257ba30-dbb2-11ea-a5ff-5fd1d308318a","6bf314be-5c16-11eb-8e98-2356ea436065","62cbc476-5c16-11eb-8e98-0388ea7a41f8","08604de8-1dca-11eb-800c-9f5f55ff734d","9b3ab170-b768-11eb-a45a-da7ad0900002","7a83f306-96ca-11eb-9c74-da7ad0900002","16169788-28e4-11eb-832c-fb84162ef3eb","4de53192-9946-11eb-9cee-da7ad0900002","1302282c-b93b-11eb-a436-da7ad0900002","17d73994-7531-11eb-94b9-da7ad0900002"],"author_name":"Qin Chen","template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"fmg-hwj-ady","title":"tf-TestAccDatadogDashboardScatterplot_import-local-1621914580","url":"/dashboard/fmg-hwj-ady/tf-testaccdatadogdashboardscatterplotimport-local-1621914580","created_at":"2021-05-25T03:49:41.803543+00:00","modified_at":"2021-05-25T03:49:41.803543+00:00","author_handle":"qin.chen@datadoghq.com","widgets":[{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test Custom Link label"}],"title_size":"16","yaxis":{"include_zero":false,"scale":"log","min":"1","label":"mem (Gib)"},"title_align":"right","color_by_groups":["app"],"xaxis":{"include_zero":false,"max":"100","min":"0","scale":"log","label":"cpu (%)"},"time":{"live_span":"15m"},"title":"system.mem.used and system.cpu.user by service,team,app colored by app","requests":{"y":{"q":"avg:system.mem.used{env:prod} by {service, team, app}","aggregator":"avg"},"x":{"q":"avg:system.cpu.user{account:prod} by {service, team, app}","aggregator":"avg"}},"type":"scatterplot"},"id":8974666761511590}],"layout_type":"ordered"}' headers: Cache-Control: - no-cache @@ -101,12 +70,9 @@ interactions: Content-Type: - application/json Date: - - Thu, 31 Dec 2020 14:48:04 GMT + - Tue, 25 May 2021 03:49:42 GMT Pragma: - no-cache - Set-Cookie: - - DD-PSHARD=233; Max-Age=604800; Path=/; expires=Thu, 07-Jan-2021 14:48:04 GMT; - secure; HttpOnly Strict-Transport-Security: - max-age=15724800; Vary: @@ -114,9 +80,9 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Debug: - - GzqFsJiHmsMG2ZkgPZxP4KU7BbP1543ieTDBlTOcSv7mMVZ5sYoywme9ykeCrzfU + - nLnnBNvlCFDECRnZvzDb0z4sAO35G+IMidcAs8vrCKyjvsKWE8Yd9S3n6OjZ1qRN X-Dd-Version: - - "35.3622023" + - "35.4598224" X-Frame-Options: - SAMEORIGIN status: 200 OK @@ -131,25 +97,11 @@ interactions: Dd-Operation-Id: - GetDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 1.15.0; terraform-cli 0.12.7-sdk) - datadog-api-client-go/1.0.0-beta.13+dev (go go1.15.4; os darwin; arch amd64) - X-Datadog-Parent-Id: - - "2193345642508321953" - X-Datadog-Sampling-Priority: - - "1" - X-Datadog-Trace-Id: - - "639391645206334338" - url: https://api.datadoghq.com/api/v1/dashboard/5bp-8ub-kfy + - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) + url: https://api.datadoghq.com/api/v1/dashboard/fmg-hwj-ady 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":"5bp-8ub-kfy","title":"tf-TestAccDatadogDashboardScatterplot_import-local-1609425728","url":"/dashboard/5bp-8ub-kfy/tf-testaccdatadogdashboardscatterplotimport-local-1609425728","created_at":"2020-12-31T14:48:01.044093+00:00","modified_at":"2020-12-31T14:48:01.044093+00:00","author_handle":"frog@datadoghq.com","widgets":[{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test - Custom Link label"}],"title_size":"16","yaxis":{"include_zero":false,"scale":"log","min":"1","label":"mem - (Gib)"},"title_align":"right","color_by_groups":["app"],"xaxis":{"include_zero":false,"max":"100","min":"0","scale":"log","label":"cpu - (%)"},"time":{"live_span":"15m"},"title":"system.mem.used and system.cpu.user - by service,team,app colored by app","requests":{"y":{"q":"avg:system.mem.used{env:prod} - by {service, team, app}","aggregator":"avg"},"x":{"q":"avg:system.cpu.user{account:prod} - by {service, team, app}","aggregator":"avg"}},"type":"scatterplot"},"id":1459065978924874}],"layout_type":"ordered"}' + body: '{"notify_list":[],"description":"Created using the Datadog provider in Terraform","restricted_roles":["284d8b66-93f9-11eb-9c37-da7ad0900002","043a2842-e140-11e8-bb04-7fd10177666e","657de3a2-29f8-11eb-83b5-6b8ebfb2f184","e82bf27a-986c-11eb-9cba-da7ad0900002","f257ba30-dbb2-11ea-a5ff-5fd1d308318a","6bf314be-5c16-11eb-8e98-2356ea436065","62cbc476-5c16-11eb-8e98-0388ea7a41f8","08604de8-1dca-11eb-800c-9f5f55ff734d","9b3ab170-b768-11eb-a45a-da7ad0900002","7a83f306-96ca-11eb-9c74-da7ad0900002","16169788-28e4-11eb-832c-fb84162ef3eb","4de53192-9946-11eb-9cee-da7ad0900002","1302282c-b93b-11eb-a436-da7ad0900002","17d73994-7531-11eb-94b9-da7ad0900002"],"author_name":"Qin Chen","template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"fmg-hwj-ady","title":"tf-TestAccDatadogDashboardScatterplot_import-local-1621914580","url":"/dashboard/fmg-hwj-ady/tf-testaccdatadogdashboardscatterplotimport-local-1621914580","created_at":"2021-05-25T03:49:41.803543+00:00","modified_at":"2021-05-25T03:49:41.803543+00:00","author_handle":"qin.chen@datadoghq.com","widgets":[{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test Custom Link label"}],"title_size":"16","yaxis":{"include_zero":false,"scale":"log","min":"1","label":"mem (Gib)"},"title_align":"right","color_by_groups":["app"],"xaxis":{"include_zero":false,"max":"100","min":"0","scale":"log","label":"cpu (%)"},"time":{"live_span":"15m"},"title":"system.mem.used and system.cpu.user by service,team,app colored by app","requests":{"y":{"q":"avg:system.mem.used{env:prod} by {service, team, app}","aggregator":"avg"},"x":{"q":"avg:system.cpu.user{account:prod} by {service, team, app}","aggregator":"avg"}},"type":"scatterplot"},"id":8974666761511590}],"layout_type":"ordered"}' headers: Cache-Control: - no-cache @@ -160,12 +112,9 @@ interactions: Content-Type: - application/json Date: - - Thu, 31 Dec 2020 14:48:11 GMT + - Tue, 25 May 2021 03:49:42 GMT Pragma: - no-cache - Set-Cookie: - - DD-PSHARD=233; Max-Age=604800; Path=/; expires=Thu, 07-Jan-2021 14:48:11 GMT; - secure; HttpOnly Strict-Transport-Security: - max-age=15724800; Vary: @@ -173,9 +122,9 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Debug: - - Q8knEw82SgGErSuAaD0RuA7obbJQJNFXaFmNNzPtQBtywdtSi82Z9gGaD787DJ0K + - Um4CoU685QqAscnxhS5BD+goWu2yX1Jd4zCfGzSsEvPPIm1qURZaF8dlLl/OEY4I X-Dd-Version: - - "35.3622023" + - "35.4598224" X-Frame-Options: - SAMEORIGIN status: 200 OK @@ -190,25 +139,11 @@ interactions: Dd-Operation-Id: - GetDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 1.15.0; terraform-cli 0.12.7-sdk) - datadog-api-client-go/1.0.0-beta.13+dev (go go1.15.4; os darwin; arch amd64) - X-Datadog-Parent-Id: - - "8065431697700298103" - X-Datadog-Sampling-Priority: - - "1" - X-Datadog-Trace-Id: - - "639391645206334338" - url: https://api.datadoghq.com/api/v1/dashboard/5bp-8ub-kfy + - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) + url: https://api.datadoghq.com/api/v1/dashboard/fmg-hwj-ady 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":"5bp-8ub-kfy","title":"tf-TestAccDatadogDashboardScatterplot_import-local-1609425728","url":"/dashboard/5bp-8ub-kfy/tf-testaccdatadogdashboardscatterplotimport-local-1609425728","created_at":"2020-12-31T14:48:01.044093+00:00","modified_at":"2020-12-31T14:48:01.044093+00:00","author_handle":"frog@datadoghq.com","widgets":[{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test - Custom Link label"}],"title_size":"16","yaxis":{"include_zero":false,"scale":"log","min":"1","label":"mem - (Gib)"},"title_align":"right","color_by_groups":["app"],"xaxis":{"include_zero":false,"max":"100","min":"0","scale":"log","label":"cpu - (%)"},"time":{"live_span":"15m"},"title":"system.mem.used and system.cpu.user - by service,team,app colored by app","requests":{"y":{"q":"avg:system.mem.used{env:prod} - by {service, team, app}","aggregator":"avg"},"x":{"q":"avg:system.cpu.user{account:prod} - by {service, team, app}","aggregator":"avg"}},"type":"scatterplot"},"id":1459065978924874}],"layout_type":"ordered"}' + body: '{"notify_list":[],"description":"Created using the Datadog provider in Terraform","restricted_roles":["284d8b66-93f9-11eb-9c37-da7ad0900002","043a2842-e140-11e8-bb04-7fd10177666e","657de3a2-29f8-11eb-83b5-6b8ebfb2f184","e82bf27a-986c-11eb-9cba-da7ad0900002","f257ba30-dbb2-11ea-a5ff-5fd1d308318a","6bf314be-5c16-11eb-8e98-2356ea436065","62cbc476-5c16-11eb-8e98-0388ea7a41f8","08604de8-1dca-11eb-800c-9f5f55ff734d","9b3ab170-b768-11eb-a45a-da7ad0900002","7a83f306-96ca-11eb-9c74-da7ad0900002","16169788-28e4-11eb-832c-fb84162ef3eb","4de53192-9946-11eb-9cee-da7ad0900002","1302282c-b93b-11eb-a436-da7ad0900002","17d73994-7531-11eb-94b9-da7ad0900002"],"author_name":"Qin Chen","template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"fmg-hwj-ady","title":"tf-TestAccDatadogDashboardScatterplot_import-local-1621914580","url":"/dashboard/fmg-hwj-ady/tf-testaccdatadogdashboardscatterplotimport-local-1621914580","created_at":"2021-05-25T03:49:41.803543+00:00","modified_at":"2021-05-25T03:49:41.803543+00:00","author_handle":"qin.chen@datadoghq.com","widgets":[{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test Custom Link label"}],"title_size":"16","yaxis":{"include_zero":false,"scale":"log","min":"1","label":"mem (Gib)"},"title_align":"right","color_by_groups":["app"],"xaxis":{"include_zero":false,"max":"100","min":"0","scale":"log","label":"cpu (%)"},"time":{"live_span":"15m"},"title":"system.mem.used and system.cpu.user by service,team,app colored by app","requests":{"y":{"q":"avg:system.mem.used{env:prod} by {service, team, app}","aggregator":"avg"},"x":{"q":"avg:system.cpu.user{account:prod} by {service, team, app}","aggregator":"avg"}},"type":"scatterplot"},"id":8974666761511590}],"layout_type":"ordered"}' headers: Cache-Control: - no-cache @@ -219,12 +154,9 @@ interactions: Content-Type: - application/json Date: - - Thu, 31 Dec 2020 14:48:17 GMT + - Tue, 25 May 2021 03:49:43 GMT Pragma: - no-cache - Set-Cookie: - - DD-PSHARD=233; Max-Age=604800; Path=/; expires=Thu, 07-Jan-2021 14:48:16 GMT; - secure; HttpOnly Strict-Transport-Security: - max-age=15724800; Vary: @@ -232,9 +164,9 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Debug: - - NVN1vUIP943yBv5BrKvNkq9LhGENimQCGx913v3GQzIJuXIMEzcrTlr1CpALPFWv + - S1wfaMZOKGT/IoMw6fqAwAwGWo2vQ44sjF3YzuETnQfxZO2T5eJbs0aX3UKb9Dwu X-Dd-Version: - - "35.3622023" + - "35.4598224" X-Frame-Options: - SAMEORIGIN status: 200 OK @@ -249,25 +181,11 @@ interactions: Dd-Operation-Id: - GetDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 1.15.0; terraform-cli 0.12.7-sdk) - datadog-api-client-go/1.0.0-beta.13+dev (go go1.15.4; os darwin; arch amd64) - X-Datadog-Parent-Id: - - "2577828331695774481" - X-Datadog-Sampling-Priority: - - "1" - X-Datadog-Trace-Id: - - "639391645206334338" - url: https://api.datadoghq.com/api/v1/dashboard/5bp-8ub-kfy + - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) + url: https://api.datadoghq.com/api/v1/dashboard/fmg-hwj-ady 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":"5bp-8ub-kfy","title":"tf-TestAccDatadogDashboardScatterplot_import-local-1609425728","url":"/dashboard/5bp-8ub-kfy/tf-testaccdatadogdashboardscatterplotimport-local-1609425728","created_at":"2020-12-31T14:48:01.044093+00:00","modified_at":"2020-12-31T14:48:01.044093+00:00","author_handle":"frog@datadoghq.com","widgets":[{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test - Custom Link label"}],"title_size":"16","yaxis":{"include_zero":false,"scale":"log","min":"1","label":"mem - (Gib)"},"title_align":"right","color_by_groups":["app"],"xaxis":{"include_zero":false,"max":"100","min":"0","scale":"log","label":"cpu - (%)"},"time":{"live_span":"15m"},"title":"system.mem.used and system.cpu.user - by service,team,app colored by app","requests":{"y":{"q":"avg:system.mem.used{env:prod} - by {service, team, app}","aggregator":"avg"},"x":{"q":"avg:system.cpu.user{account:prod} - by {service, team, app}","aggregator":"avg"}},"type":"scatterplot"},"id":1459065978924874}],"layout_type":"ordered"}' + body: '{"notify_list":[],"description":"Created using the Datadog provider in Terraform","restricted_roles":["284d8b66-93f9-11eb-9c37-da7ad0900002","043a2842-e140-11e8-bb04-7fd10177666e","657de3a2-29f8-11eb-83b5-6b8ebfb2f184","e82bf27a-986c-11eb-9cba-da7ad0900002","f257ba30-dbb2-11ea-a5ff-5fd1d308318a","6bf314be-5c16-11eb-8e98-2356ea436065","62cbc476-5c16-11eb-8e98-0388ea7a41f8","08604de8-1dca-11eb-800c-9f5f55ff734d","9b3ab170-b768-11eb-a45a-da7ad0900002","7a83f306-96ca-11eb-9c74-da7ad0900002","16169788-28e4-11eb-832c-fb84162ef3eb","4de53192-9946-11eb-9cee-da7ad0900002","1302282c-b93b-11eb-a436-da7ad0900002","17d73994-7531-11eb-94b9-da7ad0900002"],"author_name":"Qin Chen","template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"fmg-hwj-ady","title":"tf-TestAccDatadogDashboardScatterplot_import-local-1621914580","url":"/dashboard/fmg-hwj-ady/tf-testaccdatadogdashboardscatterplotimport-local-1621914580","created_at":"2021-05-25T03:49:41.803543+00:00","modified_at":"2021-05-25T03:49:41.803543+00:00","author_handle":"qin.chen@datadoghq.com","widgets":[{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test Custom Link label"}],"title_size":"16","yaxis":{"include_zero":false,"scale":"log","min":"1","label":"mem (Gib)"},"title_align":"right","color_by_groups":["app"],"xaxis":{"include_zero":false,"max":"100","min":"0","scale":"log","label":"cpu (%)"},"time":{"live_span":"15m"},"title":"system.mem.used and system.cpu.user by service,team,app colored by app","requests":{"y":{"q":"avg:system.mem.used{env:prod} by {service, team, app}","aggregator":"avg"},"x":{"q":"avg:system.cpu.user{account:prod} by {service, team, app}","aggregator":"avg"}},"type":"scatterplot"},"id":8974666761511590}],"layout_type":"ordered"}' headers: Cache-Control: - no-cache @@ -278,12 +196,9 @@ interactions: Content-Type: - application/json Date: - - Thu, 31 Dec 2020 14:48:18 GMT + - Tue, 25 May 2021 03:49:43 GMT Pragma: - no-cache - Set-Cookie: - - DD-PSHARD=233; Max-Age=604800; Path=/; expires=Thu, 07-Jan-2021 14:48:18 GMT; - secure; HttpOnly Strict-Transport-Security: - max-age=15724800; Vary: @@ -291,9 +206,9 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Debug: - - uhKf3DOQ/asSODSNh+771Jj2mAFRCrXnSErQegeSH33qVMu18OG0v+JTvu/HjcV7 + - EFjE6I+AUQmTiNqZcuE1nqoFeAjWD0Xtzy3edDrinkwlU/Wzr/2Dbl5kWk3qLVaQ X-Dd-Version: - - "35.3622023" + - "35.4598224" X-Frame-Options: - SAMEORIGIN status: 200 OK @@ -308,25 +223,11 @@ interactions: Dd-Operation-Id: - GetDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 1.15.0; terraform-cli 0.12.7-sdk) - datadog-api-client-go/1.0.0-beta.13+dev (go go1.15.4; os darwin; arch amd64) - X-Datadog-Parent-Id: - - "1300212220457134712" - X-Datadog-Sampling-Priority: - - "1" - X-Datadog-Trace-Id: - - "639391645206334338" - url: https://api.datadoghq.com/api/v1/dashboard/5bp-8ub-kfy + - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) + url: https://api.datadoghq.com/api/v1/dashboard/fmg-hwj-ady 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":"5bp-8ub-kfy","title":"tf-TestAccDatadogDashboardScatterplot_import-local-1609425728","url":"/dashboard/5bp-8ub-kfy/tf-testaccdatadogdashboardscatterplotimport-local-1609425728","created_at":"2020-12-31T14:48:01.044093+00:00","modified_at":"2020-12-31T14:48:01.044093+00:00","author_handle":"frog@datadoghq.com","widgets":[{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test - Custom Link label"}],"title_size":"16","yaxis":{"include_zero":false,"scale":"log","min":"1","label":"mem - (Gib)"},"title_align":"right","color_by_groups":["app"],"xaxis":{"include_zero":false,"max":"100","min":"0","scale":"log","label":"cpu - (%)"},"time":{"live_span":"15m"},"title":"system.mem.used and system.cpu.user - by service,team,app colored by app","requests":{"y":{"q":"avg:system.mem.used{env:prod} - by {service, team, app}","aggregator":"avg"},"x":{"q":"avg:system.cpu.user{account:prod} - by {service, team, app}","aggregator":"avg"}},"type":"scatterplot"},"id":1459065978924874}],"layout_type":"ordered"}' + body: '{"notify_list":[],"description":"Created using the Datadog provider in Terraform","restricted_roles":["284d8b66-93f9-11eb-9c37-da7ad0900002","043a2842-e140-11e8-bb04-7fd10177666e","657de3a2-29f8-11eb-83b5-6b8ebfb2f184","e82bf27a-986c-11eb-9cba-da7ad0900002","f257ba30-dbb2-11ea-a5ff-5fd1d308318a","6bf314be-5c16-11eb-8e98-2356ea436065","62cbc476-5c16-11eb-8e98-0388ea7a41f8","08604de8-1dca-11eb-800c-9f5f55ff734d","9b3ab170-b768-11eb-a45a-da7ad0900002","7a83f306-96ca-11eb-9c74-da7ad0900002","16169788-28e4-11eb-832c-fb84162ef3eb","4de53192-9946-11eb-9cee-da7ad0900002","1302282c-b93b-11eb-a436-da7ad0900002","17d73994-7531-11eb-94b9-da7ad0900002"],"author_name":"Qin Chen","template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"fmg-hwj-ady","title":"tf-TestAccDatadogDashboardScatterplot_import-local-1621914580","url":"/dashboard/fmg-hwj-ady/tf-testaccdatadogdashboardscatterplotimport-local-1621914580","created_at":"2021-05-25T03:49:41.803543+00:00","modified_at":"2021-05-25T03:49:41.803543+00:00","author_handle":"qin.chen@datadoghq.com","widgets":[{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test Custom Link label"}],"title_size":"16","yaxis":{"include_zero":false,"scale":"log","min":"1","label":"mem (Gib)"},"title_align":"right","color_by_groups":["app"],"xaxis":{"include_zero":false,"max":"100","min":"0","scale":"log","label":"cpu (%)"},"time":{"live_span":"15m"},"title":"system.mem.used and system.cpu.user by service,team,app colored by app","requests":{"y":{"q":"avg:system.mem.used{env:prod} by {service, team, app}","aggregator":"avg"},"x":{"q":"avg:system.cpu.user{account:prod} by {service, team, app}","aggregator":"avg"}},"type":"scatterplot"},"id":8974666761511590}],"layout_type":"ordered"}' headers: Cache-Control: - no-cache @@ -337,12 +238,9 @@ interactions: Content-Type: - application/json Date: - - Thu, 31 Dec 2020 14:48:20 GMT + - Tue, 25 May 2021 03:49:43 GMT Pragma: - no-cache - Set-Cookie: - - DD-PSHARD=233; Max-Age=604800; Path=/; expires=Thu, 07-Jan-2021 14:48:20 GMT; - secure; HttpOnly Strict-Transport-Security: - max-age=15724800; Vary: @@ -350,9 +248,9 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Debug: - - Xg/YZweB8L/9y2bk9dLfKv6mTe53iWJN13eGXk6rwnDvTKZPuXf1i9AdXnCIzJ+B + - 2328yjLSqI4XmR1pVqrPRR/SFcQsbafjEpPmZx7/3PfxUK1nJQQsX+wrMelyVyj+ X-Dd-Version: - - "35.3622023" + - "35.4598224" X-Frame-Options: - SAMEORIGIN status: 200 OK @@ -367,18 +265,11 @@ interactions: Dd-Operation-Id: - DeleteDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 1.15.0; terraform-cli 0.12.7-sdk) - datadog-api-client-go/1.0.0-beta.13+dev (go go1.15.4; os darwin; arch amd64) - X-Datadog-Parent-Id: - - "6784993331637152888" - X-Datadog-Sampling-Priority: - - "1" - X-Datadog-Trace-Id: - - "639391645206334338" - url: https://api.datadoghq.com/api/v1/dashboard/5bp-8ub-kfy + - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) + url: https://api.datadoghq.com/api/v1/dashboard/fmg-hwj-ady method: DELETE response: - body: '{"deleted_dashboard_id":"5bp-8ub-kfy"}' + body: '{"deleted_dashboard_id":"fmg-hwj-ady"}' headers: Cache-Control: - no-cache @@ -389,12 +280,9 @@ interactions: Content-Type: - application/json Date: - - Thu, 31 Dec 2020 14:48:25 GMT + - Tue, 25 May 2021 03:49:43 GMT Pragma: - no-cache - Set-Cookie: - - DD-PSHARD=233; Max-Age=604800; Path=/; expires=Thu, 07-Jan-2021 14:48:25 GMT; - secure; HttpOnly Strict-Transport-Security: - max-age=15724800; Vary: @@ -402,9 +290,9 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Debug: - - WmMtMFngDL31sZYuYCiUaMFRtAs90zyIJHnMIoB4iHZztA/Ona9SnOav516bWmh7 + - l4HFlaRP3QwYSqoGKhzbYfv7zgkK63HIRR7YkyVYZspq0lGjjTBwoK8V/alf+XYt X-Dd-Version: - - "35.3622023" + - "35.4598224" X-Frame-Options: - SAMEORIGIN status: 200 OK @@ -419,18 +307,11 @@ interactions: Dd-Operation-Id: - GetDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 1.15.0; terraform-cli 0.12.7-sdk) - datadog-api-client-go/1.0.0-beta.13+dev (go go1.15.4; os darwin; arch amd64) - X-Datadog-Parent-Id: - - "8750366110365724623" - X-Datadog-Sampling-Priority: - - "1" - X-Datadog-Trace-Id: - - "639391645206334338" - url: https://api.datadoghq.com/api/v1/dashboard/5bp-8ub-kfy + - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) + url: https://api.datadoghq.com/api/v1/dashboard/fmg-hwj-ady method: GET response: - body: '{"errors": ["Dashboard with ID 5bp-8ub-kfy not found"]}' + body: '{"errors": ["Dashboard with ID fmg-hwj-ady not found"]}' headers: Cache-Control: - no-cache @@ -441,7 +322,7 @@ interactions: Content-Type: - application/json Date: - - Thu, 31 Dec 2020 14:48:26 GMT + - Tue, 25 May 2021 03:49:44 GMT Pragma: - no-cache Strict-Transport-Security: @@ -451,7 +332,7 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Version: - - "35.3622023" + - "35.4598224" X-Frame-Options: - SAMEORIGIN status: 404 Not Found diff --git a/datadog/tests/cassettes/TestAccDatadogDashboardServiceMap.freeze b/datadog/tests/cassettes/TestAccDatadogDashboardServiceMap.freeze index c23a25905..88eb17bed 100644 --- a/datadog/tests/cassettes/TestAccDatadogDashboardServiceMap.freeze +++ b/datadog/tests/cassettes/TestAccDatadogDashboardServiceMap.freeze @@ -1 +1 @@ -2021-05-03T11:37:01.664408+02:00 \ No newline at end of file +2021-05-24T23:48:34.091133-04:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogDashboardServiceMap.yaml b/datadog/tests/cassettes/TestAccDatadogDashboardServiceMap.yaml index e9f511e6f..70f21b14b 100644 --- a/datadog/tests/cassettes/TestAccDatadogDashboardServiceMap.yaml +++ b/datadog/tests/cassettes/TestAccDatadogDashboardServiceMap.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":"free","notify_list":[],"template_variable_presets":[],"template_variables":[],"title":"tf-TestAccDatadogDashboardServiceMap-local-1620034621","widgets":[{"definition":{"custom_links":[{"label":"Test Custom Link label","link":"https://app.datadoghq.com/dashboard/lists"}],"filters":["env:prod","datacenter:us1.prod.dog"],"service":"master-db","title":"env: prod, datacenter:us1.prod.dog, service: master-db","title_align":"left","title_size":"16","type":"servicemap"},"layout":{"height":43,"is_column_break":false,"width":32,"x":5,"y":5}}]} + {"description":"Created using the Datadog provider in Terraform","id":"","is_read_only":true,"layout_type":"free","notify_list":[],"template_variable_presets":[],"template_variables":[],"title":"tf-TestAccDatadogDashboardServiceMap-local-1621914514","widgets":[{"definition":{"custom_links":[{"label":"Test Custom Link label","link":"https://app.datadoghq.com/dashboard/lists"},{"is_hidden":true,"link":"https://app.datadoghq.com/dashboard/lists","override_label":"logs"}],"filters":["env:prod","datacenter:us1.prod.dog"],"service":"master-db","title":"env: prod, datacenter:us1.prod.dog, service: master-db","title_align":"left","title_size":"16","type":"servicemap"},"layout":{"height":43,"is_column_break":false,"width":32,"x":5,"y":5}}]} form: {} headers: Accept: @@ -13,11 +13,11 @@ interactions: Dd-Operation-Id: - CreateDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.21+dev (go go1.16.2; os darwin; arch amd64) + - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) url: https://api.datadoghq.com/api/v1/dashboard method: POST response: - body: '{"notify_list":[],"description":"Created using the Datadog provider in Terraform","restricted_roles":["043a2842-e140-11e8-bb04-7fd10177666e","08604de8-1dca-11eb-800c-9f5f55ff734d","16169788-28e4-11eb-832c-fb84162ef3eb","17d73994-7531-11eb-94b9-da7ad0900002","284d8b66-93f9-11eb-9c37-da7ad0900002","4de53192-9946-11eb-9cee-da7ad0900002","62cbc476-5c16-11eb-8e98-0388ea7a41f8","657de3a2-29f8-11eb-83b5-6b8ebfb2f184","6bf314be-5c16-11eb-8e98-2356ea436065","7a83f306-96ca-11eb-9c74-da7ad0900002","e82bf27a-986c-11eb-9cba-da7ad0900002","f0674aa4-9d38-11eb-9dc6-da7ad0900002","f257ba30-dbb2-11ea-a5ff-5fd1d308318a","fc72d08c-55f5-11eb-8d12-df0bb6cadca3"],"author_name":"David Robert-Ansart","template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"amy-2pn-yh9","title":"tf-TestAccDatadogDashboardServiceMap-local-1620034621","url":"/dashboard/amy-2pn-yh9/tf-testaccdatadogdashboardservicemap-local-1620034621","created_at":"2021-05-03T09:37:02.762807+00:00","modified_at":"2021-05-03T09:37:02.762807+00:00","author_handle":"david.robertansart@datadoghq.com","widgets":[{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test Custom Link label"}],"title_size":"16","service":"master-db","title":"env: prod, datacenter:us1.prod.dog, service: master-db","title_align":"left","filters":["env:prod","datacenter:us1.prod.dog"],"type":"servicemap"},"layout":{"y":5,"width":32,"is_column_break":false,"x":5,"height":43},"id":2608702087748843}],"layout_type":"free"}' + body: '{"notify_list":[],"description":"Created using the Datadog provider in Terraform","restricted_roles":["043a2842-e140-11e8-bb04-7fd10177666e","08604de8-1dca-11eb-800c-9f5f55ff734d","1302282c-b93b-11eb-a436-da7ad0900002","16169788-28e4-11eb-832c-fb84162ef3eb","17d73994-7531-11eb-94b9-da7ad0900002","284d8b66-93f9-11eb-9c37-da7ad0900002","4de53192-9946-11eb-9cee-da7ad0900002","62cbc476-5c16-11eb-8e98-0388ea7a41f8","657de3a2-29f8-11eb-83b5-6b8ebfb2f184","6bf314be-5c16-11eb-8e98-2356ea436065","7a83f306-96ca-11eb-9c74-da7ad0900002","9b3ab170-b768-11eb-a45a-da7ad0900002","e82bf27a-986c-11eb-9cba-da7ad0900002","f257ba30-dbb2-11ea-a5ff-5fd1d308318a"],"author_name":"Qin Chen","template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"ibn-um6-mia","title":"tf-TestAccDatadogDashboardServiceMap-local-1621914514","url":"/dashboard/ibn-um6-mia/tf-testaccdatadogdashboardservicemap-local-1621914514","created_at":"2021-05-25T03:48:34.967169+00:00","modified_at":"2021-05-25T03:48:34.967169+00:00","author_handle":"qin.chen@datadoghq.com","widgets":[{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test Custom Link label"},{"override_label":"logs","is_hidden":true,"link":"https://app.datadoghq.com/dashboard/lists"}],"title_size":"16","service":"master-db","title":"env: prod, datacenter:us1.prod.dog, service: master-db","title_align":"left","filters":["env:prod","datacenter:us1.prod.dog"],"type":"servicemap"},"layout":{"y":5,"width":32,"is_column_break":false,"x":5,"height":43},"id":2257525630322481}],"layout_type":"free"}' headers: Cache-Control: - no-cache @@ -28,7 +28,7 @@ interactions: Content-Type: - application/json Date: - - Mon, 03 May 2021 09:37:02 GMT + - Tue, 25 May 2021 03:48:35 GMT Pragma: - no-cache Strict-Transport-Security: @@ -38,9 +38,9 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Debug: - - PhosSd3Ch1B6B0DXI71steKUi7XhPDttnPiIP1NdXTw0VJNWpoUnYyBmODS5ne3q + - bgHykj7A9bfZx0Y5ZO3swhhp5tGUSNJHqFWR868+qg087CYrDOd5hQslC+noiEtH X-Dd-Version: - - "35.4442455" + - "35.4598224" X-Frame-Options: - SAMEORIGIN status: 200 OK @@ -55,11 +55,11 @@ interactions: Dd-Operation-Id: - GetDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.21+dev (go go1.16.2; os darwin; arch amd64) - url: https://api.datadoghq.com/api/v1/dashboard/amy-2pn-yh9 + - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) + url: https://api.datadoghq.com/api/v1/dashboard/ibn-um6-mia method: GET response: - body: '{"notify_list":[],"description":"Created using the Datadog provider in Terraform","restricted_roles":["f0674aa4-9d38-11eb-9dc6-da7ad0900002","284d8b66-93f9-11eb-9c37-da7ad0900002","043a2842-e140-11e8-bb04-7fd10177666e","fc72d08c-55f5-11eb-8d12-df0bb6cadca3","17d73994-7531-11eb-94b9-da7ad0900002","657de3a2-29f8-11eb-83b5-6b8ebfb2f184","e82bf27a-986c-11eb-9cba-da7ad0900002","f257ba30-dbb2-11ea-a5ff-5fd1d308318a","6bf314be-5c16-11eb-8e98-2356ea436065","62cbc476-5c16-11eb-8e98-0388ea7a41f8","08604de8-1dca-11eb-800c-9f5f55ff734d","7a83f306-96ca-11eb-9c74-da7ad0900002","16169788-28e4-11eb-832c-fb84162ef3eb","4de53192-9946-11eb-9cee-da7ad0900002"],"author_name":"David Robert-Ansart","template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"amy-2pn-yh9","title":"tf-TestAccDatadogDashboardServiceMap-local-1620034621","url":"/dashboard/amy-2pn-yh9/tf-testaccdatadogdashboardservicemap-local-1620034621","created_at":"2021-05-03T09:37:02.762807+00:00","modified_at":"2021-05-03T09:37:02.762807+00:00","author_handle":"david.robertansart@datadoghq.com","widgets":[{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test Custom Link label"}],"title_size":"16","service":"master-db","title":"env: prod, datacenter:us1.prod.dog, service: master-db","title_align":"left","filters":["env:prod","datacenter:us1.prod.dog"],"type":"servicemap"},"layout":{"y":5,"width":32,"is_column_break":false,"x":5,"height":43},"id":2608702087748843}],"layout_type":"free"}' + body: '{"notify_list":[],"description":"Created using the Datadog provider in Terraform","restricted_roles":["284d8b66-93f9-11eb-9c37-da7ad0900002","043a2842-e140-11e8-bb04-7fd10177666e","657de3a2-29f8-11eb-83b5-6b8ebfb2f184","e82bf27a-986c-11eb-9cba-da7ad0900002","f257ba30-dbb2-11ea-a5ff-5fd1d308318a","6bf314be-5c16-11eb-8e98-2356ea436065","62cbc476-5c16-11eb-8e98-0388ea7a41f8","08604de8-1dca-11eb-800c-9f5f55ff734d","9b3ab170-b768-11eb-a45a-da7ad0900002","7a83f306-96ca-11eb-9c74-da7ad0900002","16169788-28e4-11eb-832c-fb84162ef3eb","4de53192-9946-11eb-9cee-da7ad0900002","1302282c-b93b-11eb-a436-da7ad0900002","17d73994-7531-11eb-94b9-da7ad0900002"],"author_name":"Qin Chen","template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"ibn-um6-mia","title":"tf-TestAccDatadogDashboardServiceMap-local-1621914514","url":"/dashboard/ibn-um6-mia/tf-testaccdatadogdashboardservicemap-local-1621914514","created_at":"2021-05-25T03:48:34.967169+00:00","modified_at":"2021-05-25T03:48:34.967169+00:00","author_handle":"qin.chen@datadoghq.com","widgets":[{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test Custom Link label"},{"override_label":"logs","is_hidden":true,"link":"https://app.datadoghq.com/dashboard/lists"}],"title_size":"16","service":"master-db","title":"env: prod, datacenter:us1.prod.dog, service: master-db","title_align":"left","filters":["env:prod","datacenter:us1.prod.dog"],"type":"servicemap"},"layout":{"y":5,"width":32,"is_column_break":false,"x":5,"height":43},"id":2257525630322481}],"layout_type":"free"}' headers: Cache-Control: - no-cache @@ -70,7 +70,7 @@ interactions: Content-Type: - application/json Date: - - Mon, 03 May 2021 09:37:03 GMT + - Tue, 25 May 2021 03:48:35 GMT Pragma: - no-cache Strict-Transport-Security: @@ -80,9 +80,9 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Debug: - - LcgNasIYBRkNppmD6mCKE9J6iv0eEjosuuHR5V5zw2fWbR54i39C8dhdK8zDq/40 + - Wjq53IVIwnB4SiR238oOYgHFMq/ZYP0LQ/Dv8C2fFLBwTje/dWJHu6pI6vIOK1zG X-Dd-Version: - - "35.4442455" + - "35.4598224" X-Frame-Options: - SAMEORIGIN status: 200 OK @@ -97,11 +97,11 @@ interactions: Dd-Operation-Id: - GetDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.21+dev (go go1.16.2; os darwin; arch amd64) - url: https://api.datadoghq.com/api/v1/dashboard/amy-2pn-yh9 + - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) + url: https://api.datadoghq.com/api/v1/dashboard/ibn-um6-mia method: GET response: - body: '{"notify_list":[],"description":"Created using the Datadog provider in Terraform","restricted_roles":["f0674aa4-9d38-11eb-9dc6-da7ad0900002","284d8b66-93f9-11eb-9c37-da7ad0900002","043a2842-e140-11e8-bb04-7fd10177666e","fc72d08c-55f5-11eb-8d12-df0bb6cadca3","17d73994-7531-11eb-94b9-da7ad0900002","657de3a2-29f8-11eb-83b5-6b8ebfb2f184","e82bf27a-986c-11eb-9cba-da7ad0900002","f257ba30-dbb2-11ea-a5ff-5fd1d308318a","6bf314be-5c16-11eb-8e98-2356ea436065","62cbc476-5c16-11eb-8e98-0388ea7a41f8","08604de8-1dca-11eb-800c-9f5f55ff734d","7a83f306-96ca-11eb-9c74-da7ad0900002","16169788-28e4-11eb-832c-fb84162ef3eb","4de53192-9946-11eb-9cee-da7ad0900002"],"author_name":"David Robert-Ansart","template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"amy-2pn-yh9","title":"tf-TestAccDatadogDashboardServiceMap-local-1620034621","url":"/dashboard/amy-2pn-yh9/tf-testaccdatadogdashboardservicemap-local-1620034621","created_at":"2021-05-03T09:37:02.762807+00:00","modified_at":"2021-05-03T09:37:02.762807+00:00","author_handle":"david.robertansart@datadoghq.com","widgets":[{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test Custom Link label"}],"title_size":"16","service":"master-db","title":"env: prod, datacenter:us1.prod.dog, service: master-db","title_align":"left","filters":["env:prod","datacenter:us1.prod.dog"],"type":"servicemap"},"layout":{"y":5,"width":32,"is_column_break":false,"x":5,"height":43},"id":2608702087748843}],"layout_type":"free"}' + body: '{"notify_list":[],"description":"Created using the Datadog provider in Terraform","restricted_roles":["284d8b66-93f9-11eb-9c37-da7ad0900002","043a2842-e140-11e8-bb04-7fd10177666e","657de3a2-29f8-11eb-83b5-6b8ebfb2f184","e82bf27a-986c-11eb-9cba-da7ad0900002","f257ba30-dbb2-11ea-a5ff-5fd1d308318a","6bf314be-5c16-11eb-8e98-2356ea436065","62cbc476-5c16-11eb-8e98-0388ea7a41f8","08604de8-1dca-11eb-800c-9f5f55ff734d","9b3ab170-b768-11eb-a45a-da7ad0900002","7a83f306-96ca-11eb-9c74-da7ad0900002","16169788-28e4-11eb-832c-fb84162ef3eb","4de53192-9946-11eb-9cee-da7ad0900002","1302282c-b93b-11eb-a436-da7ad0900002","17d73994-7531-11eb-94b9-da7ad0900002"],"author_name":"Qin Chen","template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"ibn-um6-mia","title":"tf-TestAccDatadogDashboardServiceMap-local-1621914514","url":"/dashboard/ibn-um6-mia/tf-testaccdatadogdashboardservicemap-local-1621914514","created_at":"2021-05-25T03:48:34.967169+00:00","modified_at":"2021-05-25T03:48:34.967169+00:00","author_handle":"qin.chen@datadoghq.com","widgets":[{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test Custom Link label"},{"override_label":"logs","is_hidden":true,"link":"https://app.datadoghq.com/dashboard/lists"}],"title_size":"16","service":"master-db","title":"env: prod, datacenter:us1.prod.dog, service: master-db","title_align":"left","filters":["env:prod","datacenter:us1.prod.dog"],"type":"servicemap"},"layout":{"y":5,"width":32,"is_column_break":false,"x":5,"height":43},"id":2257525630322481}],"layout_type":"free"}' headers: Cache-Control: - no-cache @@ -112,7 +112,7 @@ interactions: Content-Type: - application/json Date: - - Mon, 03 May 2021 09:37:03 GMT + - Tue, 25 May 2021 03:48:35 GMT Pragma: - no-cache Strict-Transport-Security: @@ -122,9 +122,9 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Debug: - - 2328yjLSqI4XmR1pVqrPRR/SFcQsbafjEpPmZx7/3PfxUK1nJQQsX+wrMelyVyj+ + - LcgNasIYBRkNppmD6mCKE9J6iv0eEjosuuHR5V5zw2fWbR54i39C8dhdK8zDq/40 X-Dd-Version: - - "35.4442455" + - "35.4598224" X-Frame-Options: - SAMEORIGIN status: 200 OK @@ -139,11 +139,11 @@ interactions: Dd-Operation-Id: - GetDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.21+dev (go go1.16.2; os darwin; arch amd64) - url: https://api.datadoghq.com/api/v1/dashboard/amy-2pn-yh9 + - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) + url: https://api.datadoghq.com/api/v1/dashboard/ibn-um6-mia method: GET response: - body: '{"notify_list":[],"description":"Created using the Datadog provider in Terraform","restricted_roles":["f0674aa4-9d38-11eb-9dc6-da7ad0900002","284d8b66-93f9-11eb-9c37-da7ad0900002","043a2842-e140-11e8-bb04-7fd10177666e","fc72d08c-55f5-11eb-8d12-df0bb6cadca3","17d73994-7531-11eb-94b9-da7ad0900002","657de3a2-29f8-11eb-83b5-6b8ebfb2f184","e82bf27a-986c-11eb-9cba-da7ad0900002","f257ba30-dbb2-11ea-a5ff-5fd1d308318a","6bf314be-5c16-11eb-8e98-2356ea436065","62cbc476-5c16-11eb-8e98-0388ea7a41f8","08604de8-1dca-11eb-800c-9f5f55ff734d","7a83f306-96ca-11eb-9c74-da7ad0900002","16169788-28e4-11eb-832c-fb84162ef3eb","4de53192-9946-11eb-9cee-da7ad0900002"],"author_name":"David Robert-Ansart","template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"amy-2pn-yh9","title":"tf-TestAccDatadogDashboardServiceMap-local-1620034621","url":"/dashboard/amy-2pn-yh9/tf-testaccdatadogdashboardservicemap-local-1620034621","created_at":"2021-05-03T09:37:02.762807+00:00","modified_at":"2021-05-03T09:37:02.762807+00:00","author_handle":"david.robertansart@datadoghq.com","widgets":[{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test Custom Link label"}],"title_size":"16","service":"master-db","title":"env: prod, datacenter:us1.prod.dog, service: master-db","title_align":"left","filters":["env:prod","datacenter:us1.prod.dog"],"type":"servicemap"},"layout":{"y":5,"width":32,"is_column_break":false,"x":5,"height":43},"id":2608702087748843}],"layout_type":"free"}' + body: '{"notify_list":[],"description":"Created using the Datadog provider in Terraform","restricted_roles":["284d8b66-93f9-11eb-9c37-da7ad0900002","043a2842-e140-11e8-bb04-7fd10177666e","657de3a2-29f8-11eb-83b5-6b8ebfb2f184","e82bf27a-986c-11eb-9cba-da7ad0900002","f257ba30-dbb2-11ea-a5ff-5fd1d308318a","6bf314be-5c16-11eb-8e98-2356ea436065","62cbc476-5c16-11eb-8e98-0388ea7a41f8","08604de8-1dca-11eb-800c-9f5f55ff734d","9b3ab170-b768-11eb-a45a-da7ad0900002","7a83f306-96ca-11eb-9c74-da7ad0900002","16169788-28e4-11eb-832c-fb84162ef3eb","4de53192-9946-11eb-9cee-da7ad0900002","1302282c-b93b-11eb-a436-da7ad0900002","17d73994-7531-11eb-94b9-da7ad0900002"],"author_name":"Qin Chen","template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"ibn-um6-mia","title":"tf-TestAccDatadogDashboardServiceMap-local-1621914514","url":"/dashboard/ibn-um6-mia/tf-testaccdatadogdashboardservicemap-local-1621914514","created_at":"2021-05-25T03:48:34.967169+00:00","modified_at":"2021-05-25T03:48:34.967169+00:00","author_handle":"qin.chen@datadoghq.com","widgets":[{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test Custom Link label"},{"override_label":"logs","is_hidden":true,"link":"https://app.datadoghq.com/dashboard/lists"}],"title_size":"16","service":"master-db","title":"env: prod, datacenter:us1.prod.dog, service: master-db","title_align":"left","filters":["env:prod","datacenter:us1.prod.dog"],"type":"servicemap"},"layout":{"y":5,"width":32,"is_column_break":false,"x":5,"height":43},"id":2257525630322481}],"layout_type":"free"}' headers: Cache-Control: - no-cache @@ -154,7 +154,7 @@ interactions: Content-Type: - application/json Date: - - Mon, 03 May 2021 09:37:03 GMT + - Tue, 25 May 2021 03:48:35 GMT Pragma: - no-cache Strict-Transport-Security: @@ -164,9 +164,9 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Debug: - - LcgNasIYBRkNppmD6mCKE9J6iv0eEjosuuHR5V5zw2fWbR54i39C8dhdK8zDq/40 + - nLnnBNvlCFDECRnZvzDb0z4sAO35G+IMidcAs8vrCKyjvsKWE8Yd9S3n6OjZ1qRN X-Dd-Version: - - "35.4442455" + - "35.4598224" X-Frame-Options: - SAMEORIGIN status: 200 OK @@ -181,11 +181,11 @@ interactions: Dd-Operation-Id: - GetDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.21+dev (go go1.16.2; os darwin; arch amd64) - url: https://api.datadoghq.com/api/v1/dashboard/amy-2pn-yh9 + - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) + url: https://api.datadoghq.com/api/v1/dashboard/ibn-um6-mia method: GET response: - body: '{"notify_list":[],"description":"Created using the Datadog provider in Terraform","restricted_roles":["f0674aa4-9d38-11eb-9dc6-da7ad0900002","284d8b66-93f9-11eb-9c37-da7ad0900002","043a2842-e140-11e8-bb04-7fd10177666e","fc72d08c-55f5-11eb-8d12-df0bb6cadca3","17d73994-7531-11eb-94b9-da7ad0900002","657de3a2-29f8-11eb-83b5-6b8ebfb2f184","e82bf27a-986c-11eb-9cba-da7ad0900002","f257ba30-dbb2-11ea-a5ff-5fd1d308318a","6bf314be-5c16-11eb-8e98-2356ea436065","62cbc476-5c16-11eb-8e98-0388ea7a41f8","08604de8-1dca-11eb-800c-9f5f55ff734d","7a83f306-96ca-11eb-9c74-da7ad0900002","16169788-28e4-11eb-832c-fb84162ef3eb","4de53192-9946-11eb-9cee-da7ad0900002"],"author_name":"David Robert-Ansart","template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"amy-2pn-yh9","title":"tf-TestAccDatadogDashboardServiceMap-local-1620034621","url":"/dashboard/amy-2pn-yh9/tf-testaccdatadogdashboardservicemap-local-1620034621","created_at":"2021-05-03T09:37:02.762807+00:00","modified_at":"2021-05-03T09:37:02.762807+00:00","author_handle":"david.robertansart@datadoghq.com","widgets":[{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test Custom Link label"}],"title_size":"16","service":"master-db","title":"env: prod, datacenter:us1.prod.dog, service: master-db","title_align":"left","filters":["env:prod","datacenter:us1.prod.dog"],"type":"servicemap"},"layout":{"y":5,"width":32,"is_column_break":false,"x":5,"height":43},"id":2608702087748843}],"layout_type":"free"}' + body: '{"notify_list":[],"description":"Created using the Datadog provider in Terraform","restricted_roles":["284d8b66-93f9-11eb-9c37-da7ad0900002","043a2842-e140-11e8-bb04-7fd10177666e","657de3a2-29f8-11eb-83b5-6b8ebfb2f184","e82bf27a-986c-11eb-9cba-da7ad0900002","f257ba30-dbb2-11ea-a5ff-5fd1d308318a","6bf314be-5c16-11eb-8e98-2356ea436065","62cbc476-5c16-11eb-8e98-0388ea7a41f8","08604de8-1dca-11eb-800c-9f5f55ff734d","9b3ab170-b768-11eb-a45a-da7ad0900002","7a83f306-96ca-11eb-9c74-da7ad0900002","16169788-28e4-11eb-832c-fb84162ef3eb","4de53192-9946-11eb-9cee-da7ad0900002","1302282c-b93b-11eb-a436-da7ad0900002","17d73994-7531-11eb-94b9-da7ad0900002"],"author_name":"Qin Chen","template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"ibn-um6-mia","title":"tf-TestAccDatadogDashboardServiceMap-local-1621914514","url":"/dashboard/ibn-um6-mia/tf-testaccdatadogdashboardservicemap-local-1621914514","created_at":"2021-05-25T03:48:34.967169+00:00","modified_at":"2021-05-25T03:48:34.967169+00:00","author_handle":"qin.chen@datadoghq.com","widgets":[{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test Custom Link label"},{"override_label":"logs","is_hidden":true,"link":"https://app.datadoghq.com/dashboard/lists"}],"title_size":"16","service":"master-db","title":"env: prod, datacenter:us1.prod.dog, service: master-db","title_align":"left","filters":["env:prod","datacenter:us1.prod.dog"],"type":"servicemap"},"layout":{"y":5,"width":32,"is_column_break":false,"x":5,"height":43},"id":2257525630322481}],"layout_type":"free"}' headers: Cache-Control: - no-cache @@ -196,7 +196,7 @@ interactions: Content-Type: - application/json Date: - - Mon, 03 May 2021 09:37:04 GMT + - Tue, 25 May 2021 03:48:36 GMT Pragma: - no-cache Strict-Transport-Security: @@ -206,9 +206,9 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Debug: - - bgHykj7A9bfZx0Y5ZO3swhhp5tGUSNJHqFWR868+qg087CYrDOd5hQslC+noiEtH + - 25u1gDlL724DHllbjFT4BhOLorBTilh+aah2uWAUEjFC/+rjczJdiyWrV/HwLwe/ X-Dd-Version: - - "35.4442455" + - "35.4598224" X-Frame-Options: - SAMEORIGIN status: 200 OK @@ -223,11 +223,11 @@ interactions: Dd-Operation-Id: - DeleteDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.21+dev (go go1.16.2; os darwin; arch amd64) - url: https://api.datadoghq.com/api/v1/dashboard/amy-2pn-yh9 + - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) + url: https://api.datadoghq.com/api/v1/dashboard/ibn-um6-mia method: DELETE response: - body: '{"deleted_dashboard_id":"amy-2pn-yh9"}' + body: '{"deleted_dashboard_id":"ibn-um6-mia"}' headers: Cache-Control: - no-cache @@ -238,7 +238,7 @@ interactions: Content-Type: - application/json Date: - - Mon, 03 May 2021 09:37:04 GMT + - Tue, 25 May 2021 03:48:36 GMT Pragma: - no-cache Strict-Transport-Security: @@ -248,9 +248,9 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Debug: - - L3ULR3HwCWYmEqCWGz2Yob3chcH4pjowBacBXkncP7o+/uPqKt9yGEYf/g1AJPzQ + - 5gfwVh/5HZ+AnGd/Di93w3NEWC6KMHT9KzmHEiRJmNdOjBtAsbOcgVFyqEChw71h X-Dd-Version: - - "35.4442455" + - "35.4598224" X-Frame-Options: - SAMEORIGIN status: 200 OK @@ -265,11 +265,11 @@ interactions: Dd-Operation-Id: - GetDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.21+dev (go go1.16.2; os darwin; arch amd64) - url: https://api.datadoghq.com/api/v1/dashboard/amy-2pn-yh9 + - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) + url: https://api.datadoghq.com/api/v1/dashboard/ibn-um6-mia method: GET response: - body: '{"errors": ["Dashboard with ID amy-2pn-yh9 not found"]}' + body: '{"errors": ["Dashboard with ID ibn-um6-mia not found"]}' headers: Cache-Control: - no-cache @@ -280,7 +280,7 @@ interactions: Content-Type: - application/json Date: - - Mon, 03 May 2021 09:37:04 GMT + - Tue, 25 May 2021 03:48:36 GMT Pragma: - no-cache Strict-Transport-Security: @@ -290,7 +290,7 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Version: - - "35.4442455" + - "35.4598224" X-Frame-Options: - SAMEORIGIN status: 404 Not Found diff --git a/datadog/tests/cassettes/TestAccDatadogDashboardServiceMap_import.freeze b/datadog/tests/cassettes/TestAccDatadogDashboardServiceMap_import.freeze index 2aaac3397..171f3c9bf 100644 --- a/datadog/tests/cassettes/TestAccDatadogDashboardServiceMap_import.freeze +++ b/datadog/tests/cassettes/TestAccDatadogDashboardServiceMap_import.freeze @@ -1 +1 @@ -2021-05-03T11:37:17.250301+02:00 \ No newline at end of file +2021-05-24T23:48:34.091147-04:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogDashboardServiceMap_import.yaml b/datadog/tests/cassettes/TestAccDatadogDashboardServiceMap_import.yaml index aec221138..917ba2ea0 100644 --- a/datadog/tests/cassettes/TestAccDatadogDashboardServiceMap_import.yaml +++ b/datadog/tests/cassettes/TestAccDatadogDashboardServiceMap_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":"free","notify_list":[],"template_variable_presets":[],"template_variables":[],"title":"tf-TestAccDatadogDashboardServiceMap_import-local-1620034637","widgets":[{"definition":{"custom_links":[{"label":"Test Custom Link label","link":"https://app.datadoghq.com/dashboard/lists"}],"filters":["env:prod","datacenter:us1.prod.dog"],"service":"master-db","title":"env: prod, datacenter:us1.prod.dog, service: master-db","title_align":"left","title_size":"16","type":"servicemap"},"layout":{"height":43,"is_column_break":false,"width":32,"x":5,"y":5}}]} + {"description":"Created using the Datadog provider in Terraform","id":"","is_read_only":true,"layout_type":"free","notify_list":[],"template_variable_presets":[],"template_variables":[],"title":"tf-TestAccDatadogDashboardServiceMap_import-local-1621914514","widgets":[{"definition":{"custom_links":[{"label":"Test Custom Link label","link":"https://app.datadoghq.com/dashboard/lists"},{"is_hidden":true,"link":"https://app.datadoghq.com/dashboard/lists","override_label":"logs"}],"filters":["env:prod","datacenter:us1.prod.dog"],"service":"master-db","title":"env: prod, datacenter:us1.prod.dog, service: master-db","title_align":"left","title_size":"16","type":"servicemap"},"layout":{"height":43,"is_column_break":false,"width":32,"x":5,"y":5}}]} form: {} headers: Accept: @@ -13,11 +13,11 @@ interactions: Dd-Operation-Id: - CreateDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.21+dev (go go1.16.2; os darwin; arch amd64) + - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) url: https://api.datadoghq.com/api/v1/dashboard method: POST response: - body: '{"notify_list":[],"description":"Created using the Datadog provider in Terraform","restricted_roles":["043a2842-e140-11e8-bb04-7fd10177666e","08604de8-1dca-11eb-800c-9f5f55ff734d","16169788-28e4-11eb-832c-fb84162ef3eb","17d73994-7531-11eb-94b9-da7ad0900002","284d8b66-93f9-11eb-9c37-da7ad0900002","4de53192-9946-11eb-9cee-da7ad0900002","62cbc476-5c16-11eb-8e98-0388ea7a41f8","657de3a2-29f8-11eb-83b5-6b8ebfb2f184","6bf314be-5c16-11eb-8e98-2356ea436065","7a83f306-96ca-11eb-9c74-da7ad0900002","e82bf27a-986c-11eb-9cba-da7ad0900002","f0674aa4-9d38-11eb-9dc6-da7ad0900002","f257ba30-dbb2-11ea-a5ff-5fd1d308318a","fc72d08c-55f5-11eb-8d12-df0bb6cadca3"],"author_name":"David Robert-Ansart","template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"7qg-rkt-i6p","title":"tf-TestAccDatadogDashboardServiceMap_import-local-1620034637","url":"/dashboard/7qg-rkt-i6p/tf-testaccdatadogdashboardservicemapimport-local-1620034637","created_at":"2021-05-03T09:37:18.295939+00:00","modified_at":"2021-05-03T09:37:18.295939+00:00","author_handle":"david.robertansart@datadoghq.com","widgets":[{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test Custom Link label"}],"title_size":"16","service":"master-db","title":"env: prod, datacenter:us1.prod.dog, service: master-db","title_align":"left","filters":["env:prod","datacenter:us1.prod.dog"],"type":"servicemap"},"layout":{"y":5,"width":32,"is_column_break":false,"x":5,"height":43},"id":4426635934451805}],"layout_type":"free"}' + body: '{"notify_list":[],"description":"Created using the Datadog provider in Terraform","restricted_roles":["043a2842-e140-11e8-bb04-7fd10177666e","08604de8-1dca-11eb-800c-9f5f55ff734d","1302282c-b93b-11eb-a436-da7ad0900002","16169788-28e4-11eb-832c-fb84162ef3eb","17d73994-7531-11eb-94b9-da7ad0900002","284d8b66-93f9-11eb-9c37-da7ad0900002","4de53192-9946-11eb-9cee-da7ad0900002","62cbc476-5c16-11eb-8e98-0388ea7a41f8","657de3a2-29f8-11eb-83b5-6b8ebfb2f184","6bf314be-5c16-11eb-8e98-2356ea436065","7a83f306-96ca-11eb-9c74-da7ad0900002","9b3ab170-b768-11eb-a45a-da7ad0900002","e82bf27a-986c-11eb-9cba-da7ad0900002","f257ba30-dbb2-11ea-a5ff-5fd1d308318a"],"author_name":"Qin Chen","template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"86c-6qv-fhd","title":"tf-TestAccDatadogDashboardServiceMap_import-local-1621914514","url":"/dashboard/86c-6qv-fhd/tf-testaccdatadogdashboardservicemapimport-local-1621914514","created_at":"2021-05-25T03:48:34.972574+00:00","modified_at":"2021-05-25T03:48:34.972574+00:00","author_handle":"qin.chen@datadoghq.com","widgets":[{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test Custom Link label"},{"override_label":"logs","is_hidden":true,"link":"https://app.datadoghq.com/dashboard/lists"}],"title_size":"16","service":"master-db","title":"env: prod, datacenter:us1.prod.dog, service: master-db","title_align":"left","filters":["env:prod","datacenter:us1.prod.dog"],"type":"servicemap"},"layout":{"y":5,"width":32,"is_column_break":false,"x":5,"height":43},"id":6794373316468864}],"layout_type":"free"}' headers: Cache-Control: - no-cache @@ -28,7 +28,7 @@ interactions: Content-Type: - application/json Date: - - Mon, 03 May 2021 09:37:18 GMT + - Tue, 25 May 2021 03:48:35 GMT Pragma: - no-cache Strict-Transport-Security: @@ -38,9 +38,9 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Debug: - - SY1h8ScsWq+kYmtbh63ltMLFAZsQjqfrgvdfAoRX+9TzT1sgMBRYaFRwfWWRRe9a + - gYZcaADwbKcv7Hm19HJx6WsLoKuOijDWAt2viPeCfWqUgyKY+9e1xZdmMJeXV3YV X-Dd-Version: - - "35.4442455" + - "35.4598224" X-Frame-Options: - SAMEORIGIN status: 200 OK @@ -55,11 +55,11 @@ interactions: Dd-Operation-Id: - GetDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.21+dev (go go1.16.2; os darwin; arch amd64) - url: https://api.datadoghq.com/api/v1/dashboard/7qg-rkt-i6p + - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) + url: https://api.datadoghq.com/api/v1/dashboard/86c-6qv-fhd method: GET response: - body: '{"notify_list":[],"description":"Created using the Datadog provider in Terraform","restricted_roles":["f0674aa4-9d38-11eb-9dc6-da7ad0900002","284d8b66-93f9-11eb-9c37-da7ad0900002","043a2842-e140-11e8-bb04-7fd10177666e","fc72d08c-55f5-11eb-8d12-df0bb6cadca3","17d73994-7531-11eb-94b9-da7ad0900002","657de3a2-29f8-11eb-83b5-6b8ebfb2f184","e82bf27a-986c-11eb-9cba-da7ad0900002","f257ba30-dbb2-11ea-a5ff-5fd1d308318a","6bf314be-5c16-11eb-8e98-2356ea436065","62cbc476-5c16-11eb-8e98-0388ea7a41f8","08604de8-1dca-11eb-800c-9f5f55ff734d","7a83f306-96ca-11eb-9c74-da7ad0900002","16169788-28e4-11eb-832c-fb84162ef3eb","4de53192-9946-11eb-9cee-da7ad0900002"],"author_name":"David Robert-Ansart","template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"7qg-rkt-i6p","title":"tf-TestAccDatadogDashboardServiceMap_import-local-1620034637","url":"/dashboard/7qg-rkt-i6p/tf-testaccdatadogdashboardservicemapimport-local-1620034637","created_at":"2021-05-03T09:37:18.295939+00:00","modified_at":"2021-05-03T09:37:18.295939+00:00","author_handle":"david.robertansart@datadoghq.com","widgets":[{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test Custom Link label"}],"title_size":"16","service":"master-db","title":"env: prod, datacenter:us1.prod.dog, service: master-db","title_align":"left","filters":["env:prod","datacenter:us1.prod.dog"],"type":"servicemap"},"layout":{"y":5,"width":32,"is_column_break":false,"x":5,"height":43},"id":4426635934451805}],"layout_type":"free"}' + body: '{"notify_list":[],"description":"Created using the Datadog provider in Terraform","restricted_roles":["284d8b66-93f9-11eb-9c37-da7ad0900002","043a2842-e140-11e8-bb04-7fd10177666e","657de3a2-29f8-11eb-83b5-6b8ebfb2f184","e82bf27a-986c-11eb-9cba-da7ad0900002","f257ba30-dbb2-11ea-a5ff-5fd1d308318a","6bf314be-5c16-11eb-8e98-2356ea436065","62cbc476-5c16-11eb-8e98-0388ea7a41f8","08604de8-1dca-11eb-800c-9f5f55ff734d","9b3ab170-b768-11eb-a45a-da7ad0900002","7a83f306-96ca-11eb-9c74-da7ad0900002","16169788-28e4-11eb-832c-fb84162ef3eb","4de53192-9946-11eb-9cee-da7ad0900002","1302282c-b93b-11eb-a436-da7ad0900002","17d73994-7531-11eb-94b9-da7ad0900002"],"author_name":"Qin Chen","template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"86c-6qv-fhd","title":"tf-TestAccDatadogDashboardServiceMap_import-local-1621914514","url":"/dashboard/86c-6qv-fhd/tf-testaccdatadogdashboardservicemapimport-local-1621914514","created_at":"2021-05-25T03:48:34.972574+00:00","modified_at":"2021-05-25T03:48:34.972574+00:00","author_handle":"qin.chen@datadoghq.com","widgets":[{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test Custom Link label"},{"override_label":"logs","is_hidden":true,"link":"https://app.datadoghq.com/dashboard/lists"}],"title_size":"16","service":"master-db","title":"env: prod, datacenter:us1.prod.dog, service: master-db","title_align":"left","filters":["env:prod","datacenter:us1.prod.dog"],"type":"servicemap"},"layout":{"y":5,"width":32,"is_column_break":false,"x":5,"height":43},"id":6794373316468864}],"layout_type":"free"}' headers: Cache-Control: - no-cache @@ -70,7 +70,7 @@ interactions: Content-Type: - application/json Date: - - Mon, 03 May 2021 09:37:18 GMT + - Tue, 25 May 2021 03:48:35 GMT Pragma: - no-cache Strict-Transport-Security: @@ -80,9 +80,9 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Debug: - - gYZcaADwbKcv7Hm19HJx6WsLoKuOijDWAt2viPeCfWqUgyKY+9e1xZdmMJeXV3YV + - B1nwy/pPNqX+q4pQT22cdp1QCexE35IF8qwSHy0Nf7IW0Y881qtn4tXN1lpmzaKc X-Dd-Version: - - "35.4442455" + - "35.4598224" X-Frame-Options: - SAMEORIGIN status: 200 OK @@ -97,11 +97,11 @@ interactions: Dd-Operation-Id: - GetDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.21+dev (go go1.16.2; os darwin; arch amd64) - url: https://api.datadoghq.com/api/v1/dashboard/7qg-rkt-i6p + - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) + url: https://api.datadoghq.com/api/v1/dashboard/86c-6qv-fhd method: GET response: - body: '{"notify_list":[],"description":"Created using the Datadog provider in Terraform","restricted_roles":["f0674aa4-9d38-11eb-9dc6-da7ad0900002","284d8b66-93f9-11eb-9c37-da7ad0900002","043a2842-e140-11e8-bb04-7fd10177666e","fc72d08c-55f5-11eb-8d12-df0bb6cadca3","17d73994-7531-11eb-94b9-da7ad0900002","657de3a2-29f8-11eb-83b5-6b8ebfb2f184","e82bf27a-986c-11eb-9cba-da7ad0900002","f257ba30-dbb2-11ea-a5ff-5fd1d308318a","6bf314be-5c16-11eb-8e98-2356ea436065","62cbc476-5c16-11eb-8e98-0388ea7a41f8","08604de8-1dca-11eb-800c-9f5f55ff734d","7a83f306-96ca-11eb-9c74-da7ad0900002","16169788-28e4-11eb-832c-fb84162ef3eb","4de53192-9946-11eb-9cee-da7ad0900002"],"author_name":"David Robert-Ansart","template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"7qg-rkt-i6p","title":"tf-TestAccDatadogDashboardServiceMap_import-local-1620034637","url":"/dashboard/7qg-rkt-i6p/tf-testaccdatadogdashboardservicemapimport-local-1620034637","created_at":"2021-05-03T09:37:18.295939+00:00","modified_at":"2021-05-03T09:37:18.295939+00:00","author_handle":"david.robertansart@datadoghq.com","widgets":[{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test Custom Link label"}],"title_size":"16","service":"master-db","title":"env: prod, datacenter:us1.prod.dog, service: master-db","title_align":"left","filters":["env:prod","datacenter:us1.prod.dog"],"type":"servicemap"},"layout":{"y":5,"width":32,"is_column_break":false,"x":5,"height":43},"id":4426635934451805}],"layout_type":"free"}' + body: '{"notify_list":[],"description":"Created using the Datadog provider in Terraform","restricted_roles":["284d8b66-93f9-11eb-9c37-da7ad0900002","043a2842-e140-11e8-bb04-7fd10177666e","657de3a2-29f8-11eb-83b5-6b8ebfb2f184","e82bf27a-986c-11eb-9cba-da7ad0900002","f257ba30-dbb2-11ea-a5ff-5fd1d308318a","6bf314be-5c16-11eb-8e98-2356ea436065","62cbc476-5c16-11eb-8e98-0388ea7a41f8","08604de8-1dca-11eb-800c-9f5f55ff734d","9b3ab170-b768-11eb-a45a-da7ad0900002","7a83f306-96ca-11eb-9c74-da7ad0900002","16169788-28e4-11eb-832c-fb84162ef3eb","4de53192-9946-11eb-9cee-da7ad0900002","1302282c-b93b-11eb-a436-da7ad0900002","17d73994-7531-11eb-94b9-da7ad0900002"],"author_name":"Qin Chen","template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"86c-6qv-fhd","title":"tf-TestAccDatadogDashboardServiceMap_import-local-1621914514","url":"/dashboard/86c-6qv-fhd/tf-testaccdatadogdashboardservicemapimport-local-1621914514","created_at":"2021-05-25T03:48:34.972574+00:00","modified_at":"2021-05-25T03:48:34.972574+00:00","author_handle":"qin.chen@datadoghq.com","widgets":[{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test Custom Link label"},{"override_label":"logs","is_hidden":true,"link":"https://app.datadoghq.com/dashboard/lists"}],"title_size":"16","service":"master-db","title":"env: prod, datacenter:us1.prod.dog, service: master-db","title_align":"left","filters":["env:prod","datacenter:us1.prod.dog"],"type":"servicemap"},"layout":{"y":5,"width":32,"is_column_break":false,"x":5,"height":43},"id":6794373316468864}],"layout_type":"free"}' headers: Cache-Control: - no-cache @@ -112,7 +112,7 @@ interactions: Content-Type: - application/json Date: - - Mon, 03 May 2021 09:37:18 GMT + - Tue, 25 May 2021 03:48:35 GMT Pragma: - no-cache Strict-Transport-Security: @@ -124,7 +124,7 @@ interactions: X-Dd-Debug: - bgHykj7A9bfZx0Y5ZO3swhhp5tGUSNJHqFWR868+qg087CYrDOd5hQslC+noiEtH X-Dd-Version: - - "35.4442455" + - "35.4598224" X-Frame-Options: - SAMEORIGIN status: 200 OK @@ -139,11 +139,11 @@ interactions: Dd-Operation-Id: - GetDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.21+dev (go go1.16.2; os darwin; arch amd64) - url: https://api.datadoghq.com/api/v1/dashboard/7qg-rkt-i6p + - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) + url: https://api.datadoghq.com/api/v1/dashboard/86c-6qv-fhd method: GET response: - body: '{"notify_list":[],"description":"Created using the Datadog provider in Terraform","restricted_roles":["f0674aa4-9d38-11eb-9dc6-da7ad0900002","284d8b66-93f9-11eb-9c37-da7ad0900002","043a2842-e140-11e8-bb04-7fd10177666e","fc72d08c-55f5-11eb-8d12-df0bb6cadca3","17d73994-7531-11eb-94b9-da7ad0900002","657de3a2-29f8-11eb-83b5-6b8ebfb2f184","e82bf27a-986c-11eb-9cba-da7ad0900002","f257ba30-dbb2-11ea-a5ff-5fd1d308318a","6bf314be-5c16-11eb-8e98-2356ea436065","62cbc476-5c16-11eb-8e98-0388ea7a41f8","08604de8-1dca-11eb-800c-9f5f55ff734d","7a83f306-96ca-11eb-9c74-da7ad0900002","16169788-28e4-11eb-832c-fb84162ef3eb","4de53192-9946-11eb-9cee-da7ad0900002"],"author_name":"David Robert-Ansart","template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"7qg-rkt-i6p","title":"tf-TestAccDatadogDashboardServiceMap_import-local-1620034637","url":"/dashboard/7qg-rkt-i6p/tf-testaccdatadogdashboardservicemapimport-local-1620034637","created_at":"2021-05-03T09:37:18.295939+00:00","modified_at":"2021-05-03T09:37:18.295939+00:00","author_handle":"david.robertansart@datadoghq.com","widgets":[{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test Custom Link label"}],"title_size":"16","service":"master-db","title":"env: prod, datacenter:us1.prod.dog, service: master-db","title_align":"left","filters":["env:prod","datacenter:us1.prod.dog"],"type":"servicemap"},"layout":{"y":5,"width":32,"is_column_break":false,"x":5,"height":43},"id":4426635934451805}],"layout_type":"free"}' + body: '{"notify_list":[],"description":"Created using the Datadog provider in Terraform","restricted_roles":["284d8b66-93f9-11eb-9c37-da7ad0900002","043a2842-e140-11e8-bb04-7fd10177666e","657de3a2-29f8-11eb-83b5-6b8ebfb2f184","e82bf27a-986c-11eb-9cba-da7ad0900002","f257ba30-dbb2-11ea-a5ff-5fd1d308318a","6bf314be-5c16-11eb-8e98-2356ea436065","62cbc476-5c16-11eb-8e98-0388ea7a41f8","08604de8-1dca-11eb-800c-9f5f55ff734d","9b3ab170-b768-11eb-a45a-da7ad0900002","7a83f306-96ca-11eb-9c74-da7ad0900002","16169788-28e4-11eb-832c-fb84162ef3eb","4de53192-9946-11eb-9cee-da7ad0900002","1302282c-b93b-11eb-a436-da7ad0900002","17d73994-7531-11eb-94b9-da7ad0900002"],"author_name":"Qin Chen","template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"86c-6qv-fhd","title":"tf-TestAccDatadogDashboardServiceMap_import-local-1621914514","url":"/dashboard/86c-6qv-fhd/tf-testaccdatadogdashboardservicemapimport-local-1621914514","created_at":"2021-05-25T03:48:34.972574+00:00","modified_at":"2021-05-25T03:48:34.972574+00:00","author_handle":"qin.chen@datadoghq.com","widgets":[{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test Custom Link label"},{"override_label":"logs","is_hidden":true,"link":"https://app.datadoghq.com/dashboard/lists"}],"title_size":"16","service":"master-db","title":"env: prod, datacenter:us1.prod.dog, service: master-db","title_align":"left","filters":["env:prod","datacenter:us1.prod.dog"],"type":"servicemap"},"layout":{"y":5,"width":32,"is_column_break":false,"x":5,"height":43},"id":6794373316468864}],"layout_type":"free"}' headers: Cache-Control: - no-cache @@ -154,7 +154,7 @@ interactions: Content-Type: - application/json Date: - - Mon, 03 May 2021 09:37:19 GMT + - Tue, 25 May 2021 03:48:35 GMT Pragma: - no-cache Strict-Transport-Security: @@ -164,9 +164,9 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Debug: - - dPySkcOzIZtKyMKDAAzuysY3gNGGj6RtYogGuSb76E8mPvoqzREyRp6lPYm91hQU + - EFjE6I+AUQmTiNqZcuE1nqoFeAjWD0Xtzy3edDrinkwlU/Wzr/2Dbl5kWk3qLVaQ X-Dd-Version: - - "35.4442455" + - "35.4598224" X-Frame-Options: - SAMEORIGIN status: 200 OK @@ -181,11 +181,11 @@ interactions: Dd-Operation-Id: - GetDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.21+dev (go go1.16.2; os darwin; arch amd64) - url: https://api.datadoghq.com/api/v1/dashboard/7qg-rkt-i6p + - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) + url: https://api.datadoghq.com/api/v1/dashboard/86c-6qv-fhd method: GET response: - body: '{"notify_list":[],"description":"Created using the Datadog provider in Terraform","restricted_roles":["f0674aa4-9d38-11eb-9dc6-da7ad0900002","284d8b66-93f9-11eb-9c37-da7ad0900002","043a2842-e140-11e8-bb04-7fd10177666e","fc72d08c-55f5-11eb-8d12-df0bb6cadca3","17d73994-7531-11eb-94b9-da7ad0900002","657de3a2-29f8-11eb-83b5-6b8ebfb2f184","e82bf27a-986c-11eb-9cba-da7ad0900002","f257ba30-dbb2-11ea-a5ff-5fd1d308318a","6bf314be-5c16-11eb-8e98-2356ea436065","62cbc476-5c16-11eb-8e98-0388ea7a41f8","08604de8-1dca-11eb-800c-9f5f55ff734d","7a83f306-96ca-11eb-9c74-da7ad0900002","16169788-28e4-11eb-832c-fb84162ef3eb","4de53192-9946-11eb-9cee-da7ad0900002"],"author_name":"David Robert-Ansart","template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"7qg-rkt-i6p","title":"tf-TestAccDatadogDashboardServiceMap_import-local-1620034637","url":"/dashboard/7qg-rkt-i6p/tf-testaccdatadogdashboardservicemapimport-local-1620034637","created_at":"2021-05-03T09:37:18.295939+00:00","modified_at":"2021-05-03T09:37:18.295939+00:00","author_handle":"david.robertansart@datadoghq.com","widgets":[{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test Custom Link label"}],"title_size":"16","service":"master-db","title":"env: prod, datacenter:us1.prod.dog, service: master-db","title_align":"left","filters":["env:prod","datacenter:us1.prod.dog"],"type":"servicemap"},"layout":{"y":5,"width":32,"is_column_break":false,"x":5,"height":43},"id":4426635934451805}],"layout_type":"free"}' + body: '{"notify_list":[],"description":"Created using the Datadog provider in Terraform","restricted_roles":["284d8b66-93f9-11eb-9c37-da7ad0900002","043a2842-e140-11e8-bb04-7fd10177666e","657de3a2-29f8-11eb-83b5-6b8ebfb2f184","e82bf27a-986c-11eb-9cba-da7ad0900002","f257ba30-dbb2-11ea-a5ff-5fd1d308318a","6bf314be-5c16-11eb-8e98-2356ea436065","62cbc476-5c16-11eb-8e98-0388ea7a41f8","08604de8-1dca-11eb-800c-9f5f55ff734d","9b3ab170-b768-11eb-a45a-da7ad0900002","7a83f306-96ca-11eb-9c74-da7ad0900002","16169788-28e4-11eb-832c-fb84162ef3eb","4de53192-9946-11eb-9cee-da7ad0900002","1302282c-b93b-11eb-a436-da7ad0900002","17d73994-7531-11eb-94b9-da7ad0900002"],"author_name":"Qin Chen","template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"86c-6qv-fhd","title":"tf-TestAccDatadogDashboardServiceMap_import-local-1621914514","url":"/dashboard/86c-6qv-fhd/tf-testaccdatadogdashboardservicemapimport-local-1621914514","created_at":"2021-05-25T03:48:34.972574+00:00","modified_at":"2021-05-25T03:48:34.972574+00:00","author_handle":"qin.chen@datadoghq.com","widgets":[{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test Custom Link label"},{"override_label":"logs","is_hidden":true,"link":"https://app.datadoghq.com/dashboard/lists"}],"title_size":"16","service":"master-db","title":"env: prod, datacenter:us1.prod.dog, service: master-db","title_align":"left","filters":["env:prod","datacenter:us1.prod.dog"],"type":"servicemap"},"layout":{"y":5,"width":32,"is_column_break":false,"x":5,"height":43},"id":6794373316468864}],"layout_type":"free"}' headers: Cache-Control: - no-cache @@ -196,7 +196,7 @@ interactions: Content-Type: - application/json Date: - - Mon, 03 May 2021 09:37:19 GMT + - Tue, 25 May 2021 03:48:36 GMT Pragma: - no-cache Strict-Transport-Security: @@ -206,9 +206,9 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Debug: - - twvpGlmuom5y6A0pjGtXzTf554cmwJgTcCZ71fK4H/RDi+v5ehBK0zQiRcTJQG5C + - S1wfaMZOKGT/IoMw6fqAwAwGWo2vQ44sjF3YzuETnQfxZO2T5eJbs0aX3UKb9Dwu X-Dd-Version: - - "35.4442455" + - "35.4598224" X-Frame-Options: - SAMEORIGIN status: 200 OK @@ -223,11 +223,11 @@ interactions: Dd-Operation-Id: - GetDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.21+dev (go go1.16.2; os darwin; arch amd64) - url: https://api.datadoghq.com/api/v1/dashboard/7qg-rkt-i6p + - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) + url: https://api.datadoghq.com/api/v1/dashboard/86c-6qv-fhd method: GET response: - body: '{"notify_list":[],"description":"Created using the Datadog provider in Terraform","restricted_roles":["f0674aa4-9d38-11eb-9dc6-da7ad0900002","284d8b66-93f9-11eb-9c37-da7ad0900002","043a2842-e140-11e8-bb04-7fd10177666e","fc72d08c-55f5-11eb-8d12-df0bb6cadca3","17d73994-7531-11eb-94b9-da7ad0900002","657de3a2-29f8-11eb-83b5-6b8ebfb2f184","e82bf27a-986c-11eb-9cba-da7ad0900002","f257ba30-dbb2-11ea-a5ff-5fd1d308318a","6bf314be-5c16-11eb-8e98-2356ea436065","62cbc476-5c16-11eb-8e98-0388ea7a41f8","08604de8-1dca-11eb-800c-9f5f55ff734d","7a83f306-96ca-11eb-9c74-da7ad0900002","16169788-28e4-11eb-832c-fb84162ef3eb","4de53192-9946-11eb-9cee-da7ad0900002"],"author_name":"David Robert-Ansart","template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"7qg-rkt-i6p","title":"tf-TestAccDatadogDashboardServiceMap_import-local-1620034637","url":"/dashboard/7qg-rkt-i6p/tf-testaccdatadogdashboardservicemapimport-local-1620034637","created_at":"2021-05-03T09:37:18.295939+00:00","modified_at":"2021-05-03T09:37:18.295939+00:00","author_handle":"david.robertansart@datadoghq.com","widgets":[{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test Custom Link label"}],"title_size":"16","service":"master-db","title":"env: prod, datacenter:us1.prod.dog, service: master-db","title_align":"left","filters":["env:prod","datacenter:us1.prod.dog"],"type":"servicemap"},"layout":{"y":5,"width":32,"is_column_break":false,"x":5,"height":43},"id":4426635934451805}],"layout_type":"free"}' + body: '{"notify_list":[],"description":"Created using the Datadog provider in Terraform","restricted_roles":["284d8b66-93f9-11eb-9c37-da7ad0900002","043a2842-e140-11e8-bb04-7fd10177666e","657de3a2-29f8-11eb-83b5-6b8ebfb2f184","e82bf27a-986c-11eb-9cba-da7ad0900002","f257ba30-dbb2-11ea-a5ff-5fd1d308318a","6bf314be-5c16-11eb-8e98-2356ea436065","62cbc476-5c16-11eb-8e98-0388ea7a41f8","08604de8-1dca-11eb-800c-9f5f55ff734d","9b3ab170-b768-11eb-a45a-da7ad0900002","7a83f306-96ca-11eb-9c74-da7ad0900002","16169788-28e4-11eb-832c-fb84162ef3eb","4de53192-9946-11eb-9cee-da7ad0900002","1302282c-b93b-11eb-a436-da7ad0900002","17d73994-7531-11eb-94b9-da7ad0900002"],"author_name":"Qin Chen","template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"86c-6qv-fhd","title":"tf-TestAccDatadogDashboardServiceMap_import-local-1621914514","url":"/dashboard/86c-6qv-fhd/tf-testaccdatadogdashboardservicemapimport-local-1621914514","created_at":"2021-05-25T03:48:34.972574+00:00","modified_at":"2021-05-25T03:48:34.972574+00:00","author_handle":"qin.chen@datadoghq.com","widgets":[{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test Custom Link label"},{"override_label":"logs","is_hidden":true,"link":"https://app.datadoghq.com/dashboard/lists"}],"title_size":"16","service":"master-db","title":"env: prod, datacenter:us1.prod.dog, service: master-db","title_align":"left","filters":["env:prod","datacenter:us1.prod.dog"],"type":"servicemap"},"layout":{"y":5,"width":32,"is_column_break":false,"x":5,"height":43},"id":6794373316468864}],"layout_type":"free"}' headers: Cache-Control: - no-cache @@ -238,7 +238,7 @@ interactions: Content-Type: - application/json Date: - - Mon, 03 May 2021 09:37:20 GMT + - Tue, 25 May 2021 03:48:36 GMT Pragma: - no-cache Strict-Transport-Security: @@ -248,9 +248,9 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Debug: - - /L+SFFO+m1pPY+hRCpk5325fvfrNl0KmiquUNJolBN/5hu3HIwflqjZSbJ6NxDFG + - LcgNasIYBRkNppmD6mCKE9J6iv0eEjosuuHR5V5zw2fWbR54i39C8dhdK8zDq/40 X-Dd-Version: - - "35.4442455" + - "35.4598224" X-Frame-Options: - SAMEORIGIN status: 200 OK @@ -265,11 +265,11 @@ interactions: Dd-Operation-Id: - DeleteDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.21+dev (go go1.16.2; os darwin; arch amd64) - url: https://api.datadoghq.com/api/v1/dashboard/7qg-rkt-i6p + - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) + url: https://api.datadoghq.com/api/v1/dashboard/86c-6qv-fhd method: DELETE response: - body: '{"deleted_dashboard_id":"7qg-rkt-i6p"}' + body: '{"deleted_dashboard_id":"86c-6qv-fhd"}' headers: Cache-Control: - no-cache @@ -280,7 +280,7 @@ interactions: Content-Type: - application/json Date: - - Mon, 03 May 2021 09:37:20 GMT + - Tue, 25 May 2021 03:48:36 GMT Pragma: - no-cache Strict-Transport-Security: @@ -290,9 +290,9 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Debug: - - LcgNasIYBRkNppmD6mCKE9J6iv0eEjosuuHR5V5zw2fWbR54i39C8dhdK8zDq/40 + - L3ULR3HwCWYmEqCWGz2Yob3chcH4pjowBacBXkncP7o+/uPqKt9yGEYf/g1AJPzQ X-Dd-Version: - - "35.4442455" + - "35.4598224" X-Frame-Options: - SAMEORIGIN status: 200 OK @@ -307,11 +307,11 @@ interactions: Dd-Operation-Id: - GetDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.21+dev (go go1.16.2; os darwin; arch amd64) - url: https://api.datadoghq.com/api/v1/dashboard/7qg-rkt-i6p + - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) + url: https://api.datadoghq.com/api/v1/dashboard/86c-6qv-fhd method: GET response: - body: '{"errors": ["Dashboard with ID 7qg-rkt-i6p not found"]}' + body: '{"errors": ["Dashboard with ID 86c-6qv-fhd not found"]}' headers: Cache-Control: - no-cache @@ -322,7 +322,7 @@ interactions: Content-Type: - application/json Date: - - Mon, 03 May 2021 09:37:20 GMT + - Tue, 25 May 2021 03:48:36 GMT Pragma: - no-cache Strict-Transport-Security: @@ -332,7 +332,7 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Version: - - "35.4442455" + - "35.4598224" X-Frame-Options: - SAMEORIGIN status: 404 Not Found From bb90c457c2c3cb139c9c2f59f71ae49a58204bcd Mon Sep 17 00:00:00 2001 From: Qin Cheng Chen Date: Mon, 24 May 2021 23:59:54 -0400 Subject: [PATCH 17/22] try to fix TestAccDatadogDashboardTopList --- .../TestAccDatadogDashboardTopList.freeze | 2 +- .../TestAccDatadogDashboardTopList.yaml | 80 ++++++++-------- ...stAccDatadogDashboardTopListFormula.freeze | 2 +- ...TestAccDatadogDashboardTopListFormula.yaml | 82 ++++++++-------- ...tadogDashboardTopListFormula_import.freeze | 2 +- ...DatadogDashboardTopListFormula_import.yaml | 94 +++++++++---------- ...stAccDatadogDashboardTopList_import.freeze | 2 +- ...TestAccDatadogDashboardTopList_import.yaml | 94 +++++++++---------- 8 files changed, 179 insertions(+), 179 deletions(-) diff --git a/datadog/tests/cassettes/TestAccDatadogDashboardTopList.freeze b/datadog/tests/cassettes/TestAccDatadogDashboardTopList.freeze index 6c427570f..bc3f78547 100644 --- a/datadog/tests/cassettes/TestAccDatadogDashboardTopList.freeze +++ b/datadog/tests/cassettes/TestAccDatadogDashboardTopList.freeze @@ -1 +1 @@ -2021-04-16T13:25:09.299432-04:00 \ No newline at end of file +2021-05-24T23:59:28.134371-04:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogDashboardTopList.yaml b/datadog/tests/cassettes/TestAccDatadogDashboardTopList.yaml index 918de0c6a..433294cef 100644 --- a/datadog/tests/cassettes/TestAccDatadogDashboardTopList.yaml +++ b/datadog/tests/cassettes/TestAccDatadogDashboardTopList.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-TestAccDatadogDashboardTopList-local-1618593909","widgets":[{"definition":{"custom_links":[{"label":"Test Custom Link label","link":"https://app.datadoghq.com/dashboard/lists"}],"requests":[{"conditional_formats":[{"comparator":"\u003e","hide_value":false,"palette":"white_on_red","value":15000}],"q":"top(avg:system.core.user{account:prod} by {service,app}, 10, 'sum', 'desc')"}],"time":{"live_span":"1w"},"title":"Avg of system.core.user over account:prod by service,app","title_align":"right","title_size":"16","type":"toplist"}},{"definition":{"custom_links":[{"label":"Test Custom Link label","link":"https://app.datadoghq.com/dashboard/lists"}],"requests":[{"conditional_formats":[{"comparator":"\u003e","hide_value":false,"palette":"white_on_red","value":15000}],"q":"top(avg:system.core.user{account:prod} by {service,app}, 10, 'sum', 'desc')"}],"time":{"live_span":"1w"},"title":"Avg of system.core.user over account:prod by service,app","title_align":"right","title_size":"16","type":"toplist"}}]} + {"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-TestAccDatadogDashboardTopList-local-1621915168","widgets":[{"definition":{"custom_links":[{"label":"Test Custom Link label","link":"https://app.datadoghq.com/dashboard/lists"},{"is_hidden":true,"link":"https://app.datadoghq.com/dashboard/lists","override_label":"logs"}],"requests":[{"conditional_formats":[{"comparator":"\u003e","hide_value":false,"palette":"white_on_red","value":15000}],"q":"top(avg:system.core.user{account:prod} by {service,app}, 10, 'sum', 'desc')"}],"time":{"live_span":"1w"},"title":"Avg of system.core.user over account:prod by service,app","title_align":"right","title_size":"16","type":"toplist"}},{"definition":{"custom_links":[{"label":"Test Custom Link label","link":"https://app.datadoghq.com/dashboard/lists"}],"requests":[{"conditional_formats":[{"comparator":"\u003e","hide_value":false,"palette":"white_on_red","value":15000}],"q":"top(avg:system.core.user{account:prod} by {service,app}, 10, 'sum', 'desc')"}],"time":{"live_span":"1w"},"title":"Avg of system.core.user over account:prod by service,app","title_align":"right","title_size":"16","type":"toplist"}}]} form: {} headers: Accept: @@ -13,11 +13,11 @@ interactions: Dd-Operation-Id: - CreateDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.19+dev (go go1.15.6; os darwin; arch amd64) + - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) 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":"iki-r6j-i7m","title":"tf-TestAccDatadogDashboardTopList-local-1618593909","url":"/dashboard/iki-r6j-i7m/tf-testaccdatadogdashboardtoplist-local-1618593909","created_at":"2021-04-16T17:25:10.189326+00:00","modified_at":"2021-04-16T17:25:10.189326+00:00","author_handle":"frog@datadoghq.com","widgets":[{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test Custom Link label"}],"title_size":"16","title":"Avg of system.core.user over account:prod by service,app","title_align":"right","time":{"live_span":"1w"},"requests":[{"q":"top(avg:system.core.user{account:prod} by {service,app}, 10, ''sum'', ''desc'')","conditional_formats":[{"palette":"white_on_red","hide_value":false,"value":15000,"comparator":">"}]}],"type":"toplist"},"id":1666692195672788},{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test Custom Link label"}],"title_size":"16","title":"Avg of system.core.user over account:prod by service,app","title_align":"right","time":{"live_span":"1w"},"requests":[{"q":"top(avg:system.core.user{account:prod} by {service,app}, 10, ''sum'', ''desc'')","conditional_formats":[{"palette":"white_on_red","hide_value":false,"value":15000,"comparator":">"}]}],"type":"toplist"},"id":2972998670623026}],"layout_type":"ordered"}' + body: '{"notify_list":[],"description":"Created using the Datadog provider in Terraform","restricted_roles":["043a2842-e140-11e8-bb04-7fd10177666e","08604de8-1dca-11eb-800c-9f5f55ff734d","1302282c-b93b-11eb-a436-da7ad0900002","16169788-28e4-11eb-832c-fb84162ef3eb","17d73994-7531-11eb-94b9-da7ad0900002","284d8b66-93f9-11eb-9c37-da7ad0900002","4de53192-9946-11eb-9cee-da7ad0900002","62cbc476-5c16-11eb-8e98-0388ea7a41f8","657de3a2-29f8-11eb-83b5-6b8ebfb2f184","6bf314be-5c16-11eb-8e98-2356ea436065","7a83f306-96ca-11eb-9c74-da7ad0900002","9b3ab170-b768-11eb-a45a-da7ad0900002","e82bf27a-986c-11eb-9cba-da7ad0900002","f257ba30-dbb2-11ea-a5ff-5fd1d308318a"],"author_name":"Qin Chen","template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"kir-g7z-m6m","title":"tf-TestAccDatadogDashboardTopList-local-1621915168","url":"/dashboard/kir-g7z-m6m/tf-testaccdatadogdashboardtoplist-local-1621915168","created_at":"2021-05-25T03:59:30.657530+00:00","modified_at":"2021-05-25T03:59:30.657530+00:00","author_handle":"qin.chen@datadoghq.com","widgets":[{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test Custom Link label"},{"override_label":"logs","is_hidden":true,"link":"https://app.datadoghq.com/dashboard/lists"}],"title_size":"16","title":"Avg of system.core.user over account:prod by service,app","title_align":"right","time":{"live_span":"1w"},"requests":[{"q":"top(avg:system.core.user{account:prod} by {service,app}, 10, ''sum'', ''desc'')","conditional_formats":[{"palette":"white_on_red","hide_value":false,"value":15000,"comparator":">"}]}],"type":"toplist"},"id":8919592978500643},{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test Custom Link label"}],"title_size":"16","title":"Avg of system.core.user over account:prod by service,app","title_align":"right","time":{"live_span":"1w"},"requests":[{"q":"top(avg:system.core.user{account:prod} by {service,app}, 10, ''sum'', ''desc'')","conditional_formats":[{"palette":"white_on_red","hide_value":false,"value":15000,"comparator":">"}]}],"type":"toplist"},"id":4135900790983688}],"layout_type":"ordered"}' headers: Cache-Control: - no-cache @@ -28,7 +28,7 @@ interactions: Content-Type: - application/json Date: - - Fri, 16 Apr 2021 17:25:14 GMT + - Tue, 25 May 2021 03:59:30 GMT Pragma: - no-cache Strict-Transport-Security: @@ -38,9 +38,9 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Debug: - - l8RQo2maZqJf6GFThBbKNE6dvthz6njusVtau3dPXJWL2RLFoN81H+BLPB/1xgs1 + - /L+SFFO+m1pPY+hRCpk5325fvfrNl0KmiquUNJolBN/5hu3HIwflqjZSbJ6NxDFG X-Dd-Version: - - "35.4330587" + - "35.4598224" X-Frame-Options: - SAMEORIGIN status: 200 OK @@ -55,11 +55,11 @@ interactions: Dd-Operation-Id: - GetDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.19+dev (go go1.15.6; os darwin; arch amd64) - url: https://api.datadoghq.com/api/v1/dashboard/iki-r6j-i7m + - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) + url: https://api.datadoghq.com/api/v1/dashboard/kir-g7z-m6m 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":"iki-r6j-i7m","title":"tf-TestAccDatadogDashboardTopList-local-1618593909","url":"/dashboard/iki-r6j-i7m/tf-testaccdatadogdashboardtoplist-local-1618593909","created_at":"2021-04-16T17:25:10.189326+00:00","modified_at":"2021-04-16T17:25:10.189326+00:00","author_handle":"frog@datadoghq.com","widgets":[{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test Custom Link label"}],"title_size":"16","title":"Avg of system.core.user over account:prod by service,app","title_align":"right","time":{"live_span":"1w"},"requests":[{"q":"top(avg:system.core.user{account:prod} by {service,app}, 10, ''sum'', ''desc'')","conditional_formats":[{"palette":"white_on_red","hide_value":false,"value":15000,"comparator":">"}]}],"type":"toplist"},"id":1666692195672788},{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test Custom Link label"}],"title_size":"16","title":"Avg of system.core.user over account:prod by service,app","title_align":"right","time":{"live_span":"1w"},"requests":[{"q":"top(avg:system.core.user{account:prod} by {service,app}, 10, ''sum'', ''desc'')","conditional_formats":[{"palette":"white_on_red","hide_value":false,"value":15000,"comparator":">"}]}],"type":"toplist"},"id":2972998670623026}],"layout_type":"ordered"}' + body: '{"notify_list":[],"description":"Created using the Datadog provider in Terraform","restricted_roles":["284d8b66-93f9-11eb-9c37-da7ad0900002","043a2842-e140-11e8-bb04-7fd10177666e","657de3a2-29f8-11eb-83b5-6b8ebfb2f184","e82bf27a-986c-11eb-9cba-da7ad0900002","f257ba30-dbb2-11ea-a5ff-5fd1d308318a","6bf314be-5c16-11eb-8e98-2356ea436065","62cbc476-5c16-11eb-8e98-0388ea7a41f8","08604de8-1dca-11eb-800c-9f5f55ff734d","9b3ab170-b768-11eb-a45a-da7ad0900002","7a83f306-96ca-11eb-9c74-da7ad0900002","16169788-28e4-11eb-832c-fb84162ef3eb","4de53192-9946-11eb-9cee-da7ad0900002","1302282c-b93b-11eb-a436-da7ad0900002","17d73994-7531-11eb-94b9-da7ad0900002"],"author_name":"Qin Chen","template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"kir-g7z-m6m","title":"tf-TestAccDatadogDashboardTopList-local-1621915168","url":"/dashboard/kir-g7z-m6m/tf-testaccdatadogdashboardtoplist-local-1621915168","created_at":"2021-05-25T03:59:30.657530+00:00","modified_at":"2021-05-25T03:59:30.657530+00:00","author_handle":"qin.chen@datadoghq.com","widgets":[{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test Custom Link label"},{"override_label":"logs","is_hidden":true,"link":"https://app.datadoghq.com/dashboard/lists"}],"title_size":"16","title":"Avg of system.core.user over account:prod by service,app","title_align":"right","time":{"live_span":"1w"},"requests":[{"q":"top(avg:system.core.user{account:prod} by {service,app}, 10, ''sum'', ''desc'')","conditional_formats":[{"palette":"white_on_red","hide_value":false,"value":15000,"comparator":">"}]}],"type":"toplist"},"id":8919592978500643},{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test Custom Link label"}],"title_size":"16","title":"Avg of system.core.user over account:prod by service,app","title_align":"right","time":{"live_span":"1w"},"requests":[{"q":"top(avg:system.core.user{account:prod} by {service,app}, 10, ''sum'', ''desc'')","conditional_formats":[{"palette":"white_on_red","hide_value":false,"value":15000,"comparator":">"}]}],"type":"toplist"},"id":4135900790983688}],"layout_type":"ordered"}' headers: Cache-Control: - no-cache @@ -70,7 +70,7 @@ interactions: Content-Type: - application/json Date: - - Fri, 16 Apr 2021 17:25:14 GMT + - Tue, 25 May 2021 03:59:30 GMT Pragma: - no-cache Strict-Transport-Security: @@ -80,9 +80,9 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Debug: - - l8RQo2maZqJf6GFThBbKNE6dvthz6njusVtau3dPXJWL2RLFoN81H+BLPB/1xgs1 + - 25u1gDlL724DHllbjFT4BhOLorBTilh+aah2uWAUEjFC/+rjczJdiyWrV/HwLwe/ X-Dd-Version: - - "35.4330587" + - "35.4598224" X-Frame-Options: - SAMEORIGIN status: 200 OK @@ -97,11 +97,11 @@ interactions: Dd-Operation-Id: - GetDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.19+dev (go go1.15.6; os darwin; arch amd64) - url: https://api.datadoghq.com/api/v1/dashboard/iki-r6j-i7m + - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) + url: https://api.datadoghq.com/api/v1/dashboard/kir-g7z-m6m 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":"iki-r6j-i7m","title":"tf-TestAccDatadogDashboardTopList-local-1618593909","url":"/dashboard/iki-r6j-i7m/tf-testaccdatadogdashboardtoplist-local-1618593909","created_at":"2021-04-16T17:25:10.189326+00:00","modified_at":"2021-04-16T17:25:10.189326+00:00","author_handle":"frog@datadoghq.com","widgets":[{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test Custom Link label"}],"title_size":"16","title":"Avg of system.core.user over account:prod by service,app","title_align":"right","time":{"live_span":"1w"},"requests":[{"q":"top(avg:system.core.user{account:prod} by {service,app}, 10, ''sum'', ''desc'')","conditional_formats":[{"palette":"white_on_red","hide_value":false,"value":15000,"comparator":">"}]}],"type":"toplist"},"id":1666692195672788},{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test Custom Link label"}],"title_size":"16","title":"Avg of system.core.user over account:prod by service,app","title_align":"right","time":{"live_span":"1w"},"requests":[{"q":"top(avg:system.core.user{account:prod} by {service,app}, 10, ''sum'', ''desc'')","conditional_formats":[{"palette":"white_on_red","hide_value":false,"value":15000,"comparator":">"}]}],"type":"toplist"},"id":2972998670623026}],"layout_type":"ordered"}' + body: '{"notify_list":[],"description":"Created using the Datadog provider in Terraform","restricted_roles":["284d8b66-93f9-11eb-9c37-da7ad0900002","043a2842-e140-11e8-bb04-7fd10177666e","657de3a2-29f8-11eb-83b5-6b8ebfb2f184","e82bf27a-986c-11eb-9cba-da7ad0900002","f257ba30-dbb2-11ea-a5ff-5fd1d308318a","6bf314be-5c16-11eb-8e98-2356ea436065","62cbc476-5c16-11eb-8e98-0388ea7a41f8","08604de8-1dca-11eb-800c-9f5f55ff734d","9b3ab170-b768-11eb-a45a-da7ad0900002","7a83f306-96ca-11eb-9c74-da7ad0900002","16169788-28e4-11eb-832c-fb84162ef3eb","4de53192-9946-11eb-9cee-da7ad0900002","1302282c-b93b-11eb-a436-da7ad0900002","17d73994-7531-11eb-94b9-da7ad0900002"],"author_name":"Qin Chen","template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"kir-g7z-m6m","title":"tf-TestAccDatadogDashboardTopList-local-1621915168","url":"/dashboard/kir-g7z-m6m/tf-testaccdatadogdashboardtoplist-local-1621915168","created_at":"2021-05-25T03:59:30.657530+00:00","modified_at":"2021-05-25T03:59:30.657530+00:00","author_handle":"qin.chen@datadoghq.com","widgets":[{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test Custom Link label"},{"override_label":"logs","is_hidden":true,"link":"https://app.datadoghq.com/dashboard/lists"}],"title_size":"16","title":"Avg of system.core.user over account:prod by service,app","title_align":"right","time":{"live_span":"1w"},"requests":[{"q":"top(avg:system.core.user{account:prod} by {service,app}, 10, ''sum'', ''desc'')","conditional_formats":[{"palette":"white_on_red","hide_value":false,"value":15000,"comparator":">"}]}],"type":"toplist"},"id":8919592978500643},{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test Custom Link label"}],"title_size":"16","title":"Avg of system.core.user over account:prod by service,app","title_align":"right","time":{"live_span":"1w"},"requests":[{"q":"top(avg:system.core.user{account:prod} by {service,app}, 10, ''sum'', ''desc'')","conditional_formats":[{"palette":"white_on_red","hide_value":false,"value":15000,"comparator":">"}]}],"type":"toplist"},"id":4135900790983688}],"layout_type":"ordered"}' headers: Cache-Control: - no-cache @@ -112,7 +112,7 @@ interactions: Content-Type: - application/json Date: - - Fri, 16 Apr 2021 17:25:14 GMT + - Tue, 25 May 2021 03:59:31 GMT Pragma: - no-cache Strict-Transport-Security: @@ -122,9 +122,9 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Debug: - - Wjq53IVIwnB4SiR238oOYgHFMq/ZYP0LQ/Dv8C2fFLBwTje/dWJHu6pI6vIOK1zG + - 5gfwVh/5HZ+AnGd/Di93w3NEWC6KMHT9KzmHEiRJmNdOjBtAsbOcgVFyqEChw71h X-Dd-Version: - - "35.4330587" + - "35.4598224" X-Frame-Options: - SAMEORIGIN status: 200 OK @@ -139,11 +139,11 @@ interactions: Dd-Operation-Id: - GetDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.19+dev (go go1.15.6; os darwin; arch amd64) - url: https://api.datadoghq.com/api/v1/dashboard/iki-r6j-i7m + - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) + url: https://api.datadoghq.com/api/v1/dashboard/kir-g7z-m6m 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":"iki-r6j-i7m","title":"tf-TestAccDatadogDashboardTopList-local-1618593909","url":"/dashboard/iki-r6j-i7m/tf-testaccdatadogdashboardtoplist-local-1618593909","created_at":"2021-04-16T17:25:10.189326+00:00","modified_at":"2021-04-16T17:25:10.189326+00:00","author_handle":"frog@datadoghq.com","widgets":[{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test Custom Link label"}],"title_size":"16","title":"Avg of system.core.user over account:prod by service,app","title_align":"right","time":{"live_span":"1w"},"requests":[{"q":"top(avg:system.core.user{account:prod} by {service,app}, 10, ''sum'', ''desc'')","conditional_formats":[{"palette":"white_on_red","hide_value":false,"value":15000,"comparator":">"}]}],"type":"toplist"},"id":1666692195672788},{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test Custom Link label"}],"title_size":"16","title":"Avg of system.core.user over account:prod by service,app","title_align":"right","time":{"live_span":"1w"},"requests":[{"q":"top(avg:system.core.user{account:prod} by {service,app}, 10, ''sum'', ''desc'')","conditional_formats":[{"palette":"white_on_red","hide_value":false,"value":15000,"comparator":">"}]}],"type":"toplist"},"id":2972998670623026}],"layout_type":"ordered"}' + body: '{"notify_list":[],"description":"Created using the Datadog provider in Terraform","restricted_roles":["284d8b66-93f9-11eb-9c37-da7ad0900002","043a2842-e140-11e8-bb04-7fd10177666e","657de3a2-29f8-11eb-83b5-6b8ebfb2f184","e82bf27a-986c-11eb-9cba-da7ad0900002","f257ba30-dbb2-11ea-a5ff-5fd1d308318a","6bf314be-5c16-11eb-8e98-2356ea436065","62cbc476-5c16-11eb-8e98-0388ea7a41f8","08604de8-1dca-11eb-800c-9f5f55ff734d","9b3ab170-b768-11eb-a45a-da7ad0900002","7a83f306-96ca-11eb-9c74-da7ad0900002","16169788-28e4-11eb-832c-fb84162ef3eb","4de53192-9946-11eb-9cee-da7ad0900002","1302282c-b93b-11eb-a436-da7ad0900002","17d73994-7531-11eb-94b9-da7ad0900002"],"author_name":"Qin Chen","template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"kir-g7z-m6m","title":"tf-TestAccDatadogDashboardTopList-local-1621915168","url":"/dashboard/kir-g7z-m6m/tf-testaccdatadogdashboardtoplist-local-1621915168","created_at":"2021-05-25T03:59:30.657530+00:00","modified_at":"2021-05-25T03:59:30.657530+00:00","author_handle":"qin.chen@datadoghq.com","widgets":[{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test Custom Link label"},{"override_label":"logs","is_hidden":true,"link":"https://app.datadoghq.com/dashboard/lists"}],"title_size":"16","title":"Avg of system.core.user over account:prod by service,app","title_align":"right","time":{"live_span":"1w"},"requests":[{"q":"top(avg:system.core.user{account:prod} by {service,app}, 10, ''sum'', ''desc'')","conditional_formats":[{"palette":"white_on_red","hide_value":false,"value":15000,"comparator":">"}]}],"type":"toplist"},"id":8919592978500643},{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test Custom Link label"}],"title_size":"16","title":"Avg of system.core.user over account:prod by service,app","title_align":"right","time":{"live_span":"1w"},"requests":[{"q":"top(avg:system.core.user{account:prod} by {service,app}, 10, ''sum'', ''desc'')","conditional_formats":[{"palette":"white_on_red","hide_value":false,"value":15000,"comparator":">"}]}],"type":"toplist"},"id":4135900790983688}],"layout_type":"ordered"}' headers: Cache-Control: - no-cache @@ -154,7 +154,7 @@ interactions: Content-Type: - application/json Date: - - Fri, 16 Apr 2021 17:25:14 GMT + - Tue, 25 May 2021 03:59:31 GMT Pragma: - no-cache Strict-Transport-Security: @@ -166,7 +166,7 @@ interactions: X-Dd-Debug: - L3ULR3HwCWYmEqCWGz2Yob3chcH4pjowBacBXkncP7o+/uPqKt9yGEYf/g1AJPzQ X-Dd-Version: - - "35.4330587" + - "35.4598224" X-Frame-Options: - SAMEORIGIN status: 200 OK @@ -181,11 +181,11 @@ interactions: Dd-Operation-Id: - GetDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.19+dev (go go1.15.6; os darwin; arch amd64) - url: https://api.datadoghq.com/api/v1/dashboard/iki-r6j-i7m + - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) + url: https://api.datadoghq.com/api/v1/dashboard/kir-g7z-m6m 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":"iki-r6j-i7m","title":"tf-TestAccDatadogDashboardTopList-local-1618593909","url":"/dashboard/iki-r6j-i7m/tf-testaccdatadogdashboardtoplist-local-1618593909","created_at":"2021-04-16T17:25:10.189326+00:00","modified_at":"2021-04-16T17:25:10.189326+00:00","author_handle":"frog@datadoghq.com","widgets":[{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test Custom Link label"}],"title_size":"16","title":"Avg of system.core.user over account:prod by service,app","title_align":"right","time":{"live_span":"1w"},"requests":[{"q":"top(avg:system.core.user{account:prod} by {service,app}, 10, ''sum'', ''desc'')","conditional_formats":[{"palette":"white_on_red","hide_value":false,"value":15000,"comparator":">"}]}],"type":"toplist"},"id":1666692195672788},{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test Custom Link label"}],"title_size":"16","title":"Avg of system.core.user over account:prod by service,app","title_align":"right","time":{"live_span":"1w"},"requests":[{"q":"top(avg:system.core.user{account:prod} by {service,app}, 10, ''sum'', ''desc'')","conditional_formats":[{"palette":"white_on_red","hide_value":false,"value":15000,"comparator":">"}]}],"type":"toplist"},"id":2972998670623026}],"layout_type":"ordered"}' + body: '{"notify_list":[],"description":"Created using the Datadog provider in Terraform","restricted_roles":["284d8b66-93f9-11eb-9c37-da7ad0900002","043a2842-e140-11e8-bb04-7fd10177666e","657de3a2-29f8-11eb-83b5-6b8ebfb2f184","e82bf27a-986c-11eb-9cba-da7ad0900002","f257ba30-dbb2-11ea-a5ff-5fd1d308318a","6bf314be-5c16-11eb-8e98-2356ea436065","62cbc476-5c16-11eb-8e98-0388ea7a41f8","08604de8-1dca-11eb-800c-9f5f55ff734d","9b3ab170-b768-11eb-a45a-da7ad0900002","7a83f306-96ca-11eb-9c74-da7ad0900002","16169788-28e4-11eb-832c-fb84162ef3eb","4de53192-9946-11eb-9cee-da7ad0900002","1302282c-b93b-11eb-a436-da7ad0900002","17d73994-7531-11eb-94b9-da7ad0900002"],"author_name":"Qin Chen","template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"kir-g7z-m6m","title":"tf-TestAccDatadogDashboardTopList-local-1621915168","url":"/dashboard/kir-g7z-m6m/tf-testaccdatadogdashboardtoplist-local-1621915168","created_at":"2021-05-25T03:59:30.657530+00:00","modified_at":"2021-05-25T03:59:30.657530+00:00","author_handle":"qin.chen@datadoghq.com","widgets":[{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test Custom Link label"},{"override_label":"logs","is_hidden":true,"link":"https://app.datadoghq.com/dashboard/lists"}],"title_size":"16","title":"Avg of system.core.user over account:prod by service,app","title_align":"right","time":{"live_span":"1w"},"requests":[{"q":"top(avg:system.core.user{account:prod} by {service,app}, 10, ''sum'', ''desc'')","conditional_formats":[{"palette":"white_on_red","hide_value":false,"value":15000,"comparator":">"}]}],"type":"toplist"},"id":8919592978500643},{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test Custom Link label"}],"title_size":"16","title":"Avg of system.core.user over account:prod by service,app","title_align":"right","time":{"live_span":"1w"},"requests":[{"q":"top(avg:system.core.user{account:prod} by {service,app}, 10, ''sum'', ''desc'')","conditional_formats":[{"palette":"white_on_red","hide_value":false,"value":15000,"comparator":">"}]}],"type":"toplist"},"id":4135900790983688}],"layout_type":"ordered"}' headers: Cache-Control: - no-cache @@ -196,7 +196,7 @@ interactions: Content-Type: - application/json Date: - - Fri, 16 Apr 2021 17:25:15 GMT + - Tue, 25 May 2021 03:59:32 GMT Pragma: - no-cache Strict-Transport-Security: @@ -206,9 +206,9 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Debug: - - vdJ3/nHEY1ioXQ6pQrBVvsQK1s4yyc+wufBMPSoXql71qZVuP/xMdtNo6DafhOAk + - tpRCH6w417YjBovRJ8VmtuXmNONVYiRp2c8d2AxjPdGBn8PCtgG4vAztrx3qUZAN X-Dd-Version: - - "35.4330587" + - "35.4598224" X-Frame-Options: - SAMEORIGIN status: 200 OK @@ -223,11 +223,11 @@ interactions: Dd-Operation-Id: - DeleteDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.19+dev (go go1.15.6; os darwin; arch amd64) - url: https://api.datadoghq.com/api/v1/dashboard/iki-r6j-i7m + - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) + url: https://api.datadoghq.com/api/v1/dashboard/kir-g7z-m6m method: DELETE response: - body: '{"deleted_dashboard_id":"iki-r6j-i7m"}' + body: '{"deleted_dashboard_id":"kir-g7z-m6m"}' headers: Cache-Control: - no-cache @@ -238,7 +238,7 @@ interactions: Content-Type: - application/json Date: - - Fri, 16 Apr 2021 17:25:15 GMT + - Tue, 25 May 2021 03:59:33 GMT Pragma: - no-cache Strict-Transport-Security: @@ -248,9 +248,9 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Debug: - - fIO2C4qGDheGHy4YbS+r3a3CXbh4cbRo7roILOimQyiHGjQdOat0cIpWCkupM1uX + - 2328yjLSqI4XmR1pVqrPRR/SFcQsbafjEpPmZx7/3PfxUK1nJQQsX+wrMelyVyj+ X-Dd-Version: - - "35.4330587" + - "35.4598224" X-Frame-Options: - SAMEORIGIN status: 200 OK @@ -265,11 +265,11 @@ interactions: Dd-Operation-Id: - GetDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.19+dev (go go1.15.6; os darwin; arch amd64) - url: https://api.datadoghq.com/api/v1/dashboard/iki-r6j-i7m + - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) + url: https://api.datadoghq.com/api/v1/dashboard/kir-g7z-m6m method: GET response: - body: '{"errors": ["Dashboard with ID iki-r6j-i7m not found"]}' + body: '{"errors": ["Dashboard with ID kir-g7z-m6m not found"]}' headers: Cache-Control: - no-cache @@ -280,7 +280,7 @@ interactions: Content-Type: - application/json Date: - - Fri, 16 Apr 2021 17:25:15 GMT + - Tue, 25 May 2021 03:59:33 GMT Pragma: - no-cache Strict-Transport-Security: @@ -290,7 +290,7 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Version: - - "35.4330587" + - "35.4598224" X-Frame-Options: - SAMEORIGIN status: 404 Not Found diff --git a/datadog/tests/cassettes/TestAccDatadogDashboardTopListFormula.freeze b/datadog/tests/cassettes/TestAccDatadogDashboardTopListFormula.freeze index 23137d6c7..5742912b1 100644 --- a/datadog/tests/cassettes/TestAccDatadogDashboardTopListFormula.freeze +++ b/datadog/tests/cassettes/TestAccDatadogDashboardTopListFormula.freeze @@ -1 +1 @@ -2021-04-16T13:25:09.298892-04:00 \ No newline at end of file +2021-05-24T23:59:28.135728-04:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogDashboardTopListFormula.yaml b/datadog/tests/cassettes/TestAccDatadogDashboardTopListFormula.yaml index 3afb358c0..3db6c898b 100644 --- a/datadog/tests/cassettes/TestAccDatadogDashboardTopListFormula.yaml +++ b/datadog/tests/cassettes/TestAccDatadogDashboardTopListFormula.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-TestAccDatadogDashboardTopListFormula-local-1618593909","widgets":[{"definition":{"requests":[{"formulas":[{"formula":"query1 + query2","limit":{"count":10,"order":"asc"}}],"queries":[{"aggregator":"sum","data_source":"metrics","name":"query1","query":"avg:system.cpu.system{*} by {datacenter}"},{"aggregator":"sum","data_source":"metrics","name":"query2","query":"avg:system.load.1{*} by {datacenter}"}],"response_format":"scalar"}],"type":"toplist"}},{"definition":{"requests":[{"formulas":[{"formula":"query1","limit":{"count":25,"order":"desc"}}],"queries":[{"compute":{"aggregation":"count"},"data_source":"rum","indexes":["*"],"name":"query1","search":{"query":"abc"}}],"response_format":"scalar"}],"type":"toplist"}}]} + {"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-TestAccDatadogDashboardTopListFormula-local-1621915168","widgets":[{"definition":{"requests":[{"formulas":[{"formula":"query1 + query2","limit":{"count":10,"order":"asc"}}],"queries":[{"aggregator":"sum","data_source":"metrics","name":"query1","query":"avg:system.cpu.system{*} by {datacenter}"},{"aggregator":"sum","data_source":"metrics","name":"query2","query":"avg:system.load.1{*} by {datacenter}"}],"response_format":"scalar"}],"type":"toplist"}},{"definition":{"requests":[{"formulas":[{"formula":"query1","limit":{"count":25,"order":"desc"}}],"queries":[{"compute":{"aggregation":"count"},"data_source":"rum","indexes":["*"],"name":"query1","search":{"query":"abc"}}],"response_format":"scalar"}],"type":"toplist"}}]} form: {} headers: Accept: @@ -13,11 +13,11 @@ interactions: Dd-Operation-Id: - CreateDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.19+dev (go go1.15.6; os darwin; arch amd64) + - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) 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":"n2x-25q-def","title":"tf-TestAccDatadogDashboardTopListFormula-local-1618593909","url":"/dashboard/n2x-25q-def/tf-testaccdatadogdashboardtoplistformula-local-1618593909","created_at":"2021-04-16T17:25:10.178675+00:00","modified_at":"2021-04-16T17:25:10.178675+00:00","author_handle":"frog@datadoghq.com","widgets":[{"definition":{"requests":[{"formulas":[{"formula":"query1 + query2","limit":{"count":10,"order":"asc"}}],"response_format":"scalar","queries":[{"aggregator":"sum","data_source":"metrics","name":"query1","query":"avg:system.cpu.system{*} by {datacenter}"},{"aggregator":"sum","data_source":"metrics","name":"query2","query":"avg:system.load.1{*} by {datacenter}"}]}],"type":"toplist"},"id":7631037175834849},{"definition":{"requests":[{"formulas":[{"formula":"query1","limit":{"count":25,"order":"desc"}}],"response_format":"scalar","queries":[{"search":{"query":"abc"},"data_source":"rum","compute":{"aggregation":"count"},"name":"query1","indexes":["*"]}]}],"type":"toplist"},"id":6558674061820933}],"layout_type":"ordered"}' + body: '{"notify_list":[],"description":"Created using the Datadog provider in Terraform","restricted_roles":["043a2842-e140-11e8-bb04-7fd10177666e","08604de8-1dca-11eb-800c-9f5f55ff734d","1302282c-b93b-11eb-a436-da7ad0900002","16169788-28e4-11eb-832c-fb84162ef3eb","17d73994-7531-11eb-94b9-da7ad0900002","284d8b66-93f9-11eb-9c37-da7ad0900002","4de53192-9946-11eb-9cee-da7ad0900002","62cbc476-5c16-11eb-8e98-0388ea7a41f8","657de3a2-29f8-11eb-83b5-6b8ebfb2f184","6bf314be-5c16-11eb-8e98-2356ea436065","7a83f306-96ca-11eb-9c74-da7ad0900002","9b3ab170-b768-11eb-a45a-da7ad0900002","e82bf27a-986c-11eb-9cba-da7ad0900002","f257ba30-dbb2-11ea-a5ff-5fd1d308318a"],"author_name":"Qin Chen","template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"z56-cjr-gec","title":"tf-TestAccDatadogDashboardTopListFormula-local-1621915168","url":"/dashboard/z56-cjr-gec/tf-testaccdatadogdashboardtoplistformula-local-1621915168","created_at":"2021-05-25T03:59:30.656663+00:00","modified_at":"2021-05-25T03:59:30.656663+00:00","author_handle":"qin.chen@datadoghq.com","widgets":[{"definition":{"requests":[{"formulas":[{"formula":"query1 + query2","limit":{"count":10,"order":"asc"}}],"response_format":"scalar","queries":[{"aggregator":"sum","data_source":"metrics","name":"query1","query":"avg:system.cpu.system{*} by {datacenter}"},{"aggregator":"sum","data_source":"metrics","name":"query2","query":"avg:system.load.1{*} by {datacenter}"}]}],"type":"toplist"},"id":6393062650026429},{"definition":{"requests":[{"formulas":[{"formula":"query1","limit":{"count":25,"order":"desc"}}],"response_format":"scalar","queries":[{"search":{"query":"abc"},"data_source":"rum","compute":{"aggregation":"count"},"name":"query1","indexes":["*"]}]}],"type":"toplist"},"id":4238779749038542}],"layout_type":"ordered"}' headers: Cache-Control: - no-cache @@ -28,7 +28,7 @@ interactions: Content-Type: - application/json Date: - - Fri, 16 Apr 2021 17:25:14 GMT + - Tue, 25 May 2021 03:59:30 GMT Pragma: - no-cache Strict-Transport-Security: @@ -38,9 +38,9 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Debug: - - Wjq53IVIwnB4SiR238oOYgHFMq/ZYP0LQ/Dv8C2fFLBwTje/dWJHu6pI6vIOK1zG + - fIO2C4qGDheGHy4YbS+r3a3CXbh4cbRo7roILOimQyiHGjQdOat0cIpWCkupM1uX X-Dd-Version: - - "35.4330587" + - "35.4598224" X-Frame-Options: - SAMEORIGIN status: 200 OK @@ -55,11 +55,11 @@ interactions: Dd-Operation-Id: - GetDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.19+dev (go go1.15.6; os darwin; arch amd64) - url: https://api.datadoghq.com/api/v1/dashboard/n2x-25q-def + - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) + url: https://api.datadoghq.com/api/v1/dashboard/z56-cjr-gec 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":"n2x-25q-def","title":"tf-TestAccDatadogDashboardTopListFormula-local-1618593909","url":"/dashboard/n2x-25q-def/tf-testaccdatadogdashboardtoplistformula-local-1618593909","created_at":"2021-04-16T17:25:10.178675+00:00","modified_at":"2021-04-16T17:25:10.178675+00:00","author_handle":"frog@datadoghq.com","widgets":[{"definition":{"requests":[{"formulas":[{"formula":"query1 + query2","limit":{"count":10,"order":"asc"}}],"response_format":"scalar","queries":[{"aggregator":"sum","data_source":"metrics","name":"query1","query":"avg:system.cpu.system{*} by {datacenter}"},{"aggregator":"sum","data_source":"metrics","name":"query2","query":"avg:system.load.1{*} by {datacenter}"}]}],"type":"toplist"},"id":7631037175834849},{"definition":{"requests":[{"formulas":[{"formula":"query1","limit":{"count":25,"order":"desc"}}],"response_format":"scalar","queries":[{"search":{"query":"abc"},"data_source":"rum","compute":{"aggregation":"count"},"name":"query1","indexes":["*"]}]}],"type":"toplist"},"id":6558674061820933}],"layout_type":"ordered"}' + body: '{"notify_list":[],"description":"Created using the Datadog provider in Terraform","restricted_roles":["284d8b66-93f9-11eb-9c37-da7ad0900002","043a2842-e140-11e8-bb04-7fd10177666e","657de3a2-29f8-11eb-83b5-6b8ebfb2f184","e82bf27a-986c-11eb-9cba-da7ad0900002","f257ba30-dbb2-11ea-a5ff-5fd1d308318a","6bf314be-5c16-11eb-8e98-2356ea436065","62cbc476-5c16-11eb-8e98-0388ea7a41f8","08604de8-1dca-11eb-800c-9f5f55ff734d","9b3ab170-b768-11eb-a45a-da7ad0900002","7a83f306-96ca-11eb-9c74-da7ad0900002","16169788-28e4-11eb-832c-fb84162ef3eb","4de53192-9946-11eb-9cee-da7ad0900002","1302282c-b93b-11eb-a436-da7ad0900002","17d73994-7531-11eb-94b9-da7ad0900002"],"author_name":"Qin Chen","template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"z56-cjr-gec","title":"tf-TestAccDatadogDashboardTopListFormula-local-1621915168","url":"/dashboard/z56-cjr-gec/tf-testaccdatadogdashboardtoplistformula-local-1621915168","created_at":"2021-05-25T03:59:30.656663+00:00","modified_at":"2021-05-25T03:59:30.656663+00:00","author_handle":"qin.chen@datadoghq.com","widgets":[{"definition":{"requests":[{"formulas":[{"formula":"query1 + query2","limit":{"count":10,"order":"asc"}}],"response_format":"scalar","queries":[{"aggregator":"sum","data_source":"metrics","name":"query1","query":"avg:system.cpu.system{*} by {datacenter}"},{"aggregator":"sum","data_source":"metrics","name":"query2","query":"avg:system.load.1{*} by {datacenter}"}]}],"type":"toplist"},"id":6393062650026429},{"definition":{"requests":[{"formulas":[{"formula":"query1","limit":{"count":25,"order":"desc"}}],"response_format":"scalar","queries":[{"search":{"query":"abc"},"data_source":"rum","compute":{"aggregation":"count"},"name":"query1","indexes":["*"]}]}],"type":"toplist"},"id":4238779749038542}],"layout_type":"ordered"}' headers: Cache-Control: - no-cache @@ -70,7 +70,7 @@ interactions: Content-Type: - application/json Date: - - Fri, 16 Apr 2021 17:25:14 GMT + - Tue, 25 May 2021 03:59:30 GMT Pragma: - no-cache Strict-Transport-Security: @@ -80,9 +80,9 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Debug: - - 25u1gDlL724DHllbjFT4BhOLorBTilh+aah2uWAUEjFC/+rjczJdiyWrV/HwLwe/ + - twvpGlmuom5y6A0pjGtXzTf554cmwJgTcCZ71fK4H/RDi+v5ehBK0zQiRcTJQG5C X-Dd-Version: - - "35.4330587" + - "35.4598224" X-Frame-Options: - SAMEORIGIN status: 200 OK @@ -97,11 +97,11 @@ interactions: Dd-Operation-Id: - GetDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.19+dev (go go1.15.6; os darwin; arch amd64) - url: https://api.datadoghq.com/api/v1/dashboard/n2x-25q-def + - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) + url: https://api.datadoghq.com/api/v1/dashboard/z56-cjr-gec 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":"n2x-25q-def","title":"tf-TestAccDatadogDashboardTopListFormula-local-1618593909","url":"/dashboard/n2x-25q-def/tf-testaccdatadogdashboardtoplistformula-local-1618593909","created_at":"2021-04-16T17:25:10.178675+00:00","modified_at":"2021-04-16T17:25:10.178675+00:00","author_handle":"frog@datadoghq.com","widgets":[{"definition":{"requests":[{"formulas":[{"formula":"query1 + query2","limit":{"count":10,"order":"asc"}}],"response_format":"scalar","queries":[{"aggregator":"sum","data_source":"metrics","name":"query1","query":"avg:system.cpu.system{*} by {datacenter}"},{"aggregator":"sum","data_source":"metrics","name":"query2","query":"avg:system.load.1{*} by {datacenter}"}]}],"type":"toplist"},"id":7631037175834849},{"definition":{"requests":[{"formulas":[{"formula":"query1","limit":{"count":25,"order":"desc"}}],"response_format":"scalar","queries":[{"search":{"query":"abc"},"data_source":"rum","compute":{"aggregation":"count"},"name":"query1","indexes":["*"]}]}],"type":"toplist"},"id":6558674061820933}],"layout_type":"ordered"}' + body: '{"notify_list":[],"description":"Created using the Datadog provider in Terraform","restricted_roles":["284d8b66-93f9-11eb-9c37-da7ad0900002","043a2842-e140-11e8-bb04-7fd10177666e","657de3a2-29f8-11eb-83b5-6b8ebfb2f184","e82bf27a-986c-11eb-9cba-da7ad0900002","f257ba30-dbb2-11ea-a5ff-5fd1d308318a","6bf314be-5c16-11eb-8e98-2356ea436065","62cbc476-5c16-11eb-8e98-0388ea7a41f8","08604de8-1dca-11eb-800c-9f5f55ff734d","9b3ab170-b768-11eb-a45a-da7ad0900002","7a83f306-96ca-11eb-9c74-da7ad0900002","16169788-28e4-11eb-832c-fb84162ef3eb","4de53192-9946-11eb-9cee-da7ad0900002","1302282c-b93b-11eb-a436-da7ad0900002","17d73994-7531-11eb-94b9-da7ad0900002"],"author_name":"Qin Chen","template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"z56-cjr-gec","title":"tf-TestAccDatadogDashboardTopListFormula-local-1621915168","url":"/dashboard/z56-cjr-gec/tf-testaccdatadogdashboardtoplistformula-local-1621915168","created_at":"2021-05-25T03:59:30.656663+00:00","modified_at":"2021-05-25T03:59:30.656663+00:00","author_handle":"qin.chen@datadoghq.com","widgets":[{"definition":{"requests":[{"formulas":[{"formula":"query1 + query2","limit":{"count":10,"order":"asc"}}],"response_format":"scalar","queries":[{"aggregator":"sum","data_source":"metrics","name":"query1","query":"avg:system.cpu.system{*} by {datacenter}"},{"aggregator":"sum","data_source":"metrics","name":"query2","query":"avg:system.load.1{*} by {datacenter}"}]}],"type":"toplist"},"id":6393062650026429},{"definition":{"requests":[{"formulas":[{"formula":"query1","limit":{"count":25,"order":"desc"}}],"response_format":"scalar","queries":[{"search":{"query":"abc"},"data_source":"rum","compute":{"aggregation":"count"},"name":"query1","indexes":["*"]}]}],"type":"toplist"},"id":4238779749038542}],"layout_type":"ordered"}' headers: Cache-Control: - no-cache @@ -112,7 +112,7 @@ interactions: Content-Type: - application/json Date: - - Fri, 16 Apr 2021 17:25:14 GMT + - Tue, 25 May 2021 03:59:31 GMT Pragma: - no-cache Strict-Transport-Security: @@ -122,9 +122,9 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Debug: - - twvpGlmuom5y6A0pjGtXzTf554cmwJgTcCZ71fK4H/RDi+v5ehBK0zQiRcTJQG5C + - vdJ3/nHEY1ioXQ6pQrBVvsQK1s4yyc+wufBMPSoXql71qZVuP/xMdtNo6DafhOAk X-Dd-Version: - - "35.4330587" + - "35.4598224" X-Frame-Options: - SAMEORIGIN status: 200 OK @@ -139,11 +139,11 @@ interactions: Dd-Operation-Id: - GetDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.19+dev (go go1.15.6; os darwin; arch amd64) - url: https://api.datadoghq.com/api/v1/dashboard/n2x-25q-def + - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) + url: https://api.datadoghq.com/api/v1/dashboard/z56-cjr-gec 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":"n2x-25q-def","title":"tf-TestAccDatadogDashboardTopListFormula-local-1618593909","url":"/dashboard/n2x-25q-def/tf-testaccdatadogdashboardtoplistformula-local-1618593909","created_at":"2021-04-16T17:25:10.178675+00:00","modified_at":"2021-04-16T17:25:10.178675+00:00","author_handle":"frog@datadoghq.com","widgets":[{"definition":{"requests":[{"formulas":[{"formula":"query1 + query2","limit":{"count":10,"order":"asc"}}],"response_format":"scalar","queries":[{"aggregator":"sum","data_source":"metrics","name":"query1","query":"avg:system.cpu.system{*} by {datacenter}"},{"aggregator":"sum","data_source":"metrics","name":"query2","query":"avg:system.load.1{*} by {datacenter}"}]}],"type":"toplist"},"id":7631037175834849},{"definition":{"requests":[{"formulas":[{"formula":"query1","limit":{"count":25,"order":"desc"}}],"response_format":"scalar","queries":[{"search":{"query":"abc"},"data_source":"rum","compute":{"aggregation":"count"},"name":"query1","indexes":["*"]}]}],"type":"toplist"},"id":6558674061820933}],"layout_type":"ordered"}' + body: '{"notify_list":[],"description":"Created using the Datadog provider in Terraform","restricted_roles":["284d8b66-93f9-11eb-9c37-da7ad0900002","043a2842-e140-11e8-bb04-7fd10177666e","657de3a2-29f8-11eb-83b5-6b8ebfb2f184","e82bf27a-986c-11eb-9cba-da7ad0900002","f257ba30-dbb2-11ea-a5ff-5fd1d308318a","6bf314be-5c16-11eb-8e98-2356ea436065","62cbc476-5c16-11eb-8e98-0388ea7a41f8","08604de8-1dca-11eb-800c-9f5f55ff734d","9b3ab170-b768-11eb-a45a-da7ad0900002","7a83f306-96ca-11eb-9c74-da7ad0900002","16169788-28e4-11eb-832c-fb84162ef3eb","4de53192-9946-11eb-9cee-da7ad0900002","1302282c-b93b-11eb-a436-da7ad0900002","17d73994-7531-11eb-94b9-da7ad0900002"],"author_name":"Qin Chen","template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"z56-cjr-gec","title":"tf-TestAccDatadogDashboardTopListFormula-local-1621915168","url":"/dashboard/z56-cjr-gec/tf-testaccdatadogdashboardtoplistformula-local-1621915168","created_at":"2021-05-25T03:59:30.656663+00:00","modified_at":"2021-05-25T03:59:30.656663+00:00","author_handle":"qin.chen@datadoghq.com","widgets":[{"definition":{"requests":[{"formulas":[{"formula":"query1 + query2","limit":{"count":10,"order":"asc"}}],"response_format":"scalar","queries":[{"aggregator":"sum","data_source":"metrics","name":"query1","query":"avg:system.cpu.system{*} by {datacenter}"},{"aggregator":"sum","data_source":"metrics","name":"query2","query":"avg:system.load.1{*} by {datacenter}"}]}],"type":"toplist"},"id":6393062650026429},{"definition":{"requests":[{"formulas":[{"formula":"query1","limit":{"count":25,"order":"desc"}}],"response_format":"scalar","queries":[{"search":{"query":"abc"},"data_source":"rum","compute":{"aggregation":"count"},"name":"query1","indexes":["*"]}]}],"type":"toplist"},"id":4238779749038542}],"layout_type":"ordered"}' headers: Cache-Control: - no-cache @@ -154,7 +154,7 @@ interactions: Content-Type: - application/json Date: - - Fri, 16 Apr 2021 17:25:14 GMT + - Tue, 25 May 2021 03:59:31 GMT Pragma: - no-cache Strict-Transport-Security: @@ -164,9 +164,9 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Debug: - - B1nwy/pPNqX+q4pQT22cdp1QCexE35IF8qwSHy0Nf7IW0Y881qtn4tXN1lpmzaKc + - 2328yjLSqI4XmR1pVqrPRR/SFcQsbafjEpPmZx7/3PfxUK1nJQQsX+wrMelyVyj+ X-Dd-Version: - - "35.4330587" + - "35.4598224" X-Frame-Options: - SAMEORIGIN status: 200 OK @@ -181,11 +181,11 @@ interactions: Dd-Operation-Id: - GetDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.19+dev (go go1.15.6; os darwin; arch amd64) - url: https://api.datadoghq.com/api/v1/dashboard/n2x-25q-def + - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) + url: https://api.datadoghq.com/api/v1/dashboard/z56-cjr-gec 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":"n2x-25q-def","title":"tf-TestAccDatadogDashboardTopListFormula-local-1618593909","url":"/dashboard/n2x-25q-def/tf-testaccdatadogdashboardtoplistformula-local-1618593909","created_at":"2021-04-16T17:25:10.178675+00:00","modified_at":"2021-04-16T17:25:10.178675+00:00","author_handle":"frog@datadoghq.com","widgets":[{"definition":{"requests":[{"formulas":[{"formula":"query1 + query2","limit":{"count":10,"order":"asc"}}],"response_format":"scalar","queries":[{"aggregator":"sum","data_source":"metrics","name":"query1","query":"avg:system.cpu.system{*} by {datacenter}"},{"aggregator":"sum","data_source":"metrics","name":"query2","query":"avg:system.load.1{*} by {datacenter}"}]}],"type":"toplist"},"id":7631037175834849},{"definition":{"requests":[{"formulas":[{"formula":"query1","limit":{"count":25,"order":"desc"}}],"response_format":"scalar","queries":[{"search":{"query":"abc"},"data_source":"rum","compute":{"aggregation":"count"},"name":"query1","indexes":["*"]}]}],"type":"toplist"},"id":6558674061820933}],"layout_type":"ordered"}' + body: '{"notify_list":[],"description":"Created using the Datadog provider in Terraform","restricted_roles":["284d8b66-93f9-11eb-9c37-da7ad0900002","043a2842-e140-11e8-bb04-7fd10177666e","657de3a2-29f8-11eb-83b5-6b8ebfb2f184","e82bf27a-986c-11eb-9cba-da7ad0900002","f257ba30-dbb2-11ea-a5ff-5fd1d308318a","6bf314be-5c16-11eb-8e98-2356ea436065","62cbc476-5c16-11eb-8e98-0388ea7a41f8","08604de8-1dca-11eb-800c-9f5f55ff734d","9b3ab170-b768-11eb-a45a-da7ad0900002","7a83f306-96ca-11eb-9c74-da7ad0900002","16169788-28e4-11eb-832c-fb84162ef3eb","4de53192-9946-11eb-9cee-da7ad0900002","1302282c-b93b-11eb-a436-da7ad0900002","17d73994-7531-11eb-94b9-da7ad0900002"],"author_name":"Qin Chen","template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"z56-cjr-gec","title":"tf-TestAccDatadogDashboardTopListFormula-local-1621915168","url":"/dashboard/z56-cjr-gec/tf-testaccdatadogdashboardtoplistformula-local-1621915168","created_at":"2021-05-25T03:59:30.656663+00:00","modified_at":"2021-05-25T03:59:30.656663+00:00","author_handle":"qin.chen@datadoghq.com","widgets":[{"definition":{"requests":[{"formulas":[{"formula":"query1 + query2","limit":{"count":10,"order":"asc"}}],"response_format":"scalar","queries":[{"aggregator":"sum","data_source":"metrics","name":"query1","query":"avg:system.cpu.system{*} by {datacenter}"},{"aggregator":"sum","data_source":"metrics","name":"query2","query":"avg:system.load.1{*} by {datacenter}"}]}],"type":"toplist"},"id":6393062650026429},{"definition":{"requests":[{"formulas":[{"formula":"query1","limit":{"count":25,"order":"desc"}}],"response_format":"scalar","queries":[{"search":{"query":"abc"},"data_source":"rum","compute":{"aggregation":"count"},"name":"query1","indexes":["*"]}]}],"type":"toplist"},"id":4238779749038542}],"layout_type":"ordered"}' headers: Cache-Control: - no-cache @@ -196,7 +196,7 @@ interactions: Content-Type: - application/json Date: - - Fri, 16 Apr 2021 17:25:15 GMT + - Tue, 25 May 2021 03:59:33 GMT Pragma: - no-cache Strict-Transport-Security: @@ -206,9 +206,9 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Debug: - - twvpGlmuom5y6A0pjGtXzTf554cmwJgTcCZ71fK4H/RDi+v5ehBK0zQiRcTJQG5C + - 5gfwVh/5HZ+AnGd/Di93w3NEWC6KMHT9KzmHEiRJmNdOjBtAsbOcgVFyqEChw71h X-Dd-Version: - - "35.4330587" + - "35.4598224" X-Frame-Options: - SAMEORIGIN status: 200 OK @@ -223,11 +223,11 @@ interactions: Dd-Operation-Id: - DeleteDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.19+dev (go go1.15.6; os darwin; arch amd64) - url: https://api.datadoghq.com/api/v1/dashboard/n2x-25q-def + - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) + url: https://api.datadoghq.com/api/v1/dashboard/z56-cjr-gec method: DELETE response: - body: '{"deleted_dashboard_id":"n2x-25q-def"}' + body: '{"deleted_dashboard_id":"z56-cjr-gec"}' headers: Cache-Control: - no-cache @@ -238,7 +238,7 @@ interactions: Content-Type: - application/json Date: - - Fri, 16 Apr 2021 17:25:15 GMT + - Tue, 25 May 2021 03:59:33 GMT Pragma: - no-cache Strict-Transport-Security: @@ -248,9 +248,9 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Debug: - - HbtaOKlJ6OCrx9tMXO6ivMTrEM+g0c93HDp08trmOmgdHozC5J+vn10F0H4WPjCU + - 25u1gDlL724DHllbjFT4BhOLorBTilh+aah2uWAUEjFC/+rjczJdiyWrV/HwLwe/ X-Dd-Version: - - "35.4330587" + - "35.4598224" X-Frame-Options: - SAMEORIGIN status: 200 OK @@ -265,11 +265,11 @@ interactions: Dd-Operation-Id: - GetDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.19+dev (go go1.15.6; os darwin; arch amd64) - url: https://api.datadoghq.com/api/v1/dashboard/n2x-25q-def + - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) + url: https://api.datadoghq.com/api/v1/dashboard/z56-cjr-gec method: GET response: - body: '{"errors": ["Dashboard with ID n2x-25q-def not found"]}' + body: '{"errors": ["Dashboard with ID z56-cjr-gec not found"]}' headers: Cache-Control: - no-cache @@ -280,7 +280,7 @@ interactions: Content-Type: - application/json Date: - - Fri, 16 Apr 2021 17:25:15 GMT + - Tue, 25 May 2021 03:59:33 GMT Pragma: - no-cache Strict-Transport-Security: @@ -290,7 +290,7 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Version: - - "35.4330587" + - "35.4598224" X-Frame-Options: - SAMEORIGIN status: 404 Not Found diff --git a/datadog/tests/cassettes/TestAccDatadogDashboardTopListFormula_import.freeze b/datadog/tests/cassettes/TestAccDatadogDashboardTopListFormula_import.freeze index d0398dd29..70cdebe8f 100644 --- a/datadog/tests/cassettes/TestAccDatadogDashboardTopListFormula_import.freeze +++ b/datadog/tests/cassettes/TestAccDatadogDashboardTopListFormula_import.freeze @@ -1 +1 @@ -2021-04-16T13:25:09.298847-04:00 \ No newline at end of file +2021-05-24T23:59:28.133849-04:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogDashboardTopListFormula_import.yaml b/datadog/tests/cassettes/TestAccDatadogDashboardTopListFormula_import.yaml index 04470f374..0fc677e0f 100644 --- a/datadog/tests/cassettes/TestAccDatadogDashboardTopListFormula_import.yaml +++ b/datadog/tests/cassettes/TestAccDatadogDashboardTopListFormula_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-TestAccDatadogDashboardTopListFormula_import-local-1618593909","widgets":[{"definition":{"requests":[{"formulas":[{"formula":"query1 + query2","limit":{"count":10,"order":"asc"}}],"queries":[{"aggregator":"sum","data_source":"metrics","name":"query1","query":"avg:system.cpu.system{*} by {datacenter}"},{"aggregator":"sum","data_source":"metrics","name":"query2","query":"avg:system.load.1{*} by {datacenter}"}],"response_format":"scalar"}],"type":"toplist"}},{"definition":{"requests":[{"formulas":[{"formula":"query1","limit":{"count":25,"order":"desc"}}],"queries":[{"compute":{"aggregation":"count"},"data_source":"rum","indexes":["*"],"name":"query1","search":{"query":"abc"}}],"response_format":"scalar"}],"type":"toplist"}}]} + {"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-TestAccDatadogDashboardTopListFormula_import-local-1621915168","widgets":[{"definition":{"requests":[{"formulas":[{"formula":"query1 + query2","limit":{"count":10,"order":"asc"}}],"queries":[{"aggregator":"sum","data_source":"metrics","name":"query1","query":"avg:system.cpu.system{*} by {datacenter}"},{"aggregator":"sum","data_source":"metrics","name":"query2","query":"avg:system.load.1{*} by {datacenter}"}],"response_format":"scalar"}],"type":"toplist"}},{"definition":{"requests":[{"formulas":[{"formula":"query1","limit":{"count":25,"order":"desc"}}],"queries":[{"compute":{"aggregation":"count"},"data_source":"rum","indexes":["*"],"name":"query1","search":{"query":"abc"}}],"response_format":"scalar"}],"type":"toplist"}}]} form: {} headers: Accept: @@ -13,11 +13,11 @@ interactions: Dd-Operation-Id: - CreateDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.19+dev (go go1.15.6; os darwin; arch amd64) + - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) 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":"8m8-w4i-zck","title":"tf-TestAccDatadogDashboardTopListFormula_import-local-1618593909","url":"/dashboard/8m8-w4i-zck/tf-testaccdatadogdashboardtoplistformulaimport-local-1618593909","created_at":"2021-04-16T17:25:10.190731+00:00","modified_at":"2021-04-16T17:25:10.190731+00:00","author_handle":"frog@datadoghq.com","widgets":[{"definition":{"requests":[{"formulas":[{"formula":"query1 + query2","limit":{"count":10,"order":"asc"}}],"response_format":"scalar","queries":[{"aggregator":"sum","data_source":"metrics","name":"query1","query":"avg:system.cpu.system{*} by {datacenter}"},{"aggregator":"sum","data_source":"metrics","name":"query2","query":"avg:system.load.1{*} by {datacenter}"}]}],"type":"toplist"},"id":3925289752360287},{"definition":{"requests":[{"formulas":[{"formula":"query1","limit":{"count":25,"order":"desc"}}],"response_format":"scalar","queries":[{"search":{"query":"abc"},"data_source":"rum","compute":{"aggregation":"count"},"name":"query1","indexes":["*"]}]}],"type":"toplist"},"id":6057887070427033}],"layout_type":"ordered"}' + body: '{"notify_list":[],"description":"Created using the Datadog provider in Terraform","restricted_roles":["043a2842-e140-11e8-bb04-7fd10177666e","08604de8-1dca-11eb-800c-9f5f55ff734d","1302282c-b93b-11eb-a436-da7ad0900002","16169788-28e4-11eb-832c-fb84162ef3eb","17d73994-7531-11eb-94b9-da7ad0900002","284d8b66-93f9-11eb-9c37-da7ad0900002","4de53192-9946-11eb-9cee-da7ad0900002","62cbc476-5c16-11eb-8e98-0388ea7a41f8","657de3a2-29f8-11eb-83b5-6b8ebfb2f184","6bf314be-5c16-11eb-8e98-2356ea436065","7a83f306-96ca-11eb-9c74-da7ad0900002","9b3ab170-b768-11eb-a45a-da7ad0900002","e82bf27a-986c-11eb-9cba-da7ad0900002","f257ba30-dbb2-11ea-a5ff-5fd1d308318a"],"author_name":"Qin Chen","template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"7cy-b74-2i2","title":"tf-TestAccDatadogDashboardTopListFormula_import-local-1621915168","url":"/dashboard/7cy-b74-2i2/tf-testaccdatadogdashboardtoplistformulaimport-local-1621915168","created_at":"2021-05-25T03:59:30.654838+00:00","modified_at":"2021-05-25T03:59:30.654838+00:00","author_handle":"qin.chen@datadoghq.com","widgets":[{"definition":{"requests":[{"formulas":[{"formula":"query1 + query2","limit":{"count":10,"order":"asc"}}],"response_format":"scalar","queries":[{"aggregator":"sum","data_source":"metrics","name":"query1","query":"avg:system.cpu.system{*} by {datacenter}"},{"aggregator":"sum","data_source":"metrics","name":"query2","query":"avg:system.load.1{*} by {datacenter}"}]}],"type":"toplist"},"id":2507513307176970},{"definition":{"requests":[{"formulas":[{"formula":"query1","limit":{"count":25,"order":"desc"}}],"response_format":"scalar","queries":[{"search":{"query":"abc"},"data_source":"rum","compute":{"aggregation":"count"},"name":"query1","indexes":["*"]}]}],"type":"toplist"},"id":6297375491753750}],"layout_type":"ordered"}' headers: Cache-Control: - no-cache @@ -28,7 +28,7 @@ interactions: Content-Type: - application/json Date: - - Fri, 16 Apr 2021 17:25:13 GMT + - Tue, 25 May 2021 03:59:30 GMT Pragma: - no-cache Strict-Transport-Security: @@ -38,9 +38,9 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Debug: - - HbtaOKlJ6OCrx9tMXO6ivMTrEM+g0c93HDp08trmOmgdHozC5J+vn10F0H4WPjCU + - 2328yjLSqI4XmR1pVqrPRR/SFcQsbafjEpPmZx7/3PfxUK1nJQQsX+wrMelyVyj+ X-Dd-Version: - - "35.4330587" + - "35.4598224" X-Frame-Options: - SAMEORIGIN status: 200 OK @@ -55,11 +55,11 @@ interactions: Dd-Operation-Id: - GetDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.19+dev (go go1.15.6; os darwin; arch amd64) - url: https://api.datadoghq.com/api/v1/dashboard/8m8-w4i-zck + - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) + url: https://api.datadoghq.com/api/v1/dashboard/7cy-b74-2i2 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":"8m8-w4i-zck","title":"tf-TestAccDatadogDashboardTopListFormula_import-local-1618593909","url":"/dashboard/8m8-w4i-zck/tf-testaccdatadogdashboardtoplistformulaimport-local-1618593909","created_at":"2021-04-16T17:25:10.190731+00:00","modified_at":"2021-04-16T17:25:10.190731+00:00","author_handle":"frog@datadoghq.com","widgets":[{"definition":{"requests":[{"formulas":[{"formula":"query1 + query2","limit":{"count":10,"order":"asc"}}],"response_format":"scalar","queries":[{"aggregator":"sum","data_source":"metrics","name":"query1","query":"avg:system.cpu.system{*} by {datacenter}"},{"aggregator":"sum","data_source":"metrics","name":"query2","query":"avg:system.load.1{*} by {datacenter}"}]}],"type":"toplist"},"id":3925289752360287},{"definition":{"requests":[{"formulas":[{"formula":"query1","limit":{"count":25,"order":"desc"}}],"response_format":"scalar","queries":[{"search":{"query":"abc"},"data_source":"rum","compute":{"aggregation":"count"},"name":"query1","indexes":["*"]}]}],"type":"toplist"},"id":6057887070427033}],"layout_type":"ordered"}' + body: '{"notify_list":[],"description":"Created using the Datadog provider in Terraform","restricted_roles":["284d8b66-93f9-11eb-9c37-da7ad0900002","043a2842-e140-11e8-bb04-7fd10177666e","657de3a2-29f8-11eb-83b5-6b8ebfb2f184","e82bf27a-986c-11eb-9cba-da7ad0900002","f257ba30-dbb2-11ea-a5ff-5fd1d308318a","6bf314be-5c16-11eb-8e98-2356ea436065","62cbc476-5c16-11eb-8e98-0388ea7a41f8","08604de8-1dca-11eb-800c-9f5f55ff734d","9b3ab170-b768-11eb-a45a-da7ad0900002","7a83f306-96ca-11eb-9c74-da7ad0900002","16169788-28e4-11eb-832c-fb84162ef3eb","4de53192-9946-11eb-9cee-da7ad0900002","1302282c-b93b-11eb-a436-da7ad0900002","17d73994-7531-11eb-94b9-da7ad0900002"],"author_name":"Qin Chen","template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"7cy-b74-2i2","title":"tf-TestAccDatadogDashboardTopListFormula_import-local-1621915168","url":"/dashboard/7cy-b74-2i2/tf-testaccdatadogdashboardtoplistformulaimport-local-1621915168","created_at":"2021-05-25T03:59:30.654838+00:00","modified_at":"2021-05-25T03:59:30.654838+00:00","author_handle":"qin.chen@datadoghq.com","widgets":[{"definition":{"requests":[{"formulas":[{"formula":"query1 + query2","limit":{"count":10,"order":"asc"}}],"response_format":"scalar","queries":[{"aggregator":"sum","data_source":"metrics","name":"query1","query":"avg:system.cpu.system{*} by {datacenter}"},{"aggregator":"sum","data_source":"metrics","name":"query2","query":"avg:system.load.1{*} by {datacenter}"}]}],"type":"toplist"},"id":2507513307176970},{"definition":{"requests":[{"formulas":[{"formula":"query1","limit":{"count":25,"order":"desc"}}],"response_format":"scalar","queries":[{"search":{"query":"abc"},"data_source":"rum","compute":{"aggregation":"count"},"name":"query1","indexes":["*"]}]}],"type":"toplist"},"id":6297375491753750}],"layout_type":"ordered"}' headers: Cache-Control: - no-cache @@ -70,7 +70,7 @@ interactions: Content-Type: - application/json Date: - - Fri, 16 Apr 2021 17:25:13 GMT + - Tue, 25 May 2021 03:59:30 GMT Pragma: - no-cache Strict-Transport-Security: @@ -80,9 +80,9 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Debug: - - LcgNasIYBRkNppmD6mCKE9J6iv0eEjosuuHR5V5zw2fWbR54i39C8dhdK8zDq/40 + - B1nwy/pPNqX+q4pQT22cdp1QCexE35IF8qwSHy0Nf7IW0Y881qtn4tXN1lpmzaKc X-Dd-Version: - - "35.4330587" + - "35.4598224" X-Frame-Options: - SAMEORIGIN status: 200 OK @@ -97,11 +97,11 @@ interactions: Dd-Operation-Id: - GetDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.19+dev (go go1.15.6; os darwin; arch amd64) - url: https://api.datadoghq.com/api/v1/dashboard/8m8-w4i-zck + - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) + url: https://api.datadoghq.com/api/v1/dashboard/7cy-b74-2i2 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":"8m8-w4i-zck","title":"tf-TestAccDatadogDashboardTopListFormula_import-local-1618593909","url":"/dashboard/8m8-w4i-zck/tf-testaccdatadogdashboardtoplistformulaimport-local-1618593909","created_at":"2021-04-16T17:25:10.190731+00:00","modified_at":"2021-04-16T17:25:10.190731+00:00","author_handle":"frog@datadoghq.com","widgets":[{"definition":{"requests":[{"formulas":[{"formula":"query1 + query2","limit":{"count":10,"order":"asc"}}],"response_format":"scalar","queries":[{"aggregator":"sum","data_source":"metrics","name":"query1","query":"avg:system.cpu.system{*} by {datacenter}"},{"aggregator":"sum","data_source":"metrics","name":"query2","query":"avg:system.load.1{*} by {datacenter}"}]}],"type":"toplist"},"id":3925289752360287},{"definition":{"requests":[{"formulas":[{"formula":"query1","limit":{"count":25,"order":"desc"}}],"response_format":"scalar","queries":[{"search":{"query":"abc"},"data_source":"rum","compute":{"aggregation":"count"},"name":"query1","indexes":["*"]}]}],"type":"toplist"},"id":6057887070427033}],"layout_type":"ordered"}' + body: '{"notify_list":[],"description":"Created using the Datadog provider in Terraform","restricted_roles":["284d8b66-93f9-11eb-9c37-da7ad0900002","043a2842-e140-11e8-bb04-7fd10177666e","657de3a2-29f8-11eb-83b5-6b8ebfb2f184","e82bf27a-986c-11eb-9cba-da7ad0900002","f257ba30-dbb2-11ea-a5ff-5fd1d308318a","6bf314be-5c16-11eb-8e98-2356ea436065","62cbc476-5c16-11eb-8e98-0388ea7a41f8","08604de8-1dca-11eb-800c-9f5f55ff734d","9b3ab170-b768-11eb-a45a-da7ad0900002","7a83f306-96ca-11eb-9c74-da7ad0900002","16169788-28e4-11eb-832c-fb84162ef3eb","4de53192-9946-11eb-9cee-da7ad0900002","1302282c-b93b-11eb-a436-da7ad0900002","17d73994-7531-11eb-94b9-da7ad0900002"],"author_name":"Qin Chen","template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"7cy-b74-2i2","title":"tf-TestAccDatadogDashboardTopListFormula_import-local-1621915168","url":"/dashboard/7cy-b74-2i2/tf-testaccdatadogdashboardtoplistformulaimport-local-1621915168","created_at":"2021-05-25T03:59:30.654838+00:00","modified_at":"2021-05-25T03:59:30.654838+00:00","author_handle":"qin.chen@datadoghq.com","widgets":[{"definition":{"requests":[{"formulas":[{"formula":"query1 + query2","limit":{"count":10,"order":"asc"}}],"response_format":"scalar","queries":[{"aggregator":"sum","data_source":"metrics","name":"query1","query":"avg:system.cpu.system{*} by {datacenter}"},{"aggregator":"sum","data_source":"metrics","name":"query2","query":"avg:system.load.1{*} by {datacenter}"}]}],"type":"toplist"},"id":2507513307176970},{"definition":{"requests":[{"formulas":[{"formula":"query1","limit":{"count":25,"order":"desc"}}],"response_format":"scalar","queries":[{"search":{"query":"abc"},"data_source":"rum","compute":{"aggregation":"count"},"name":"query1","indexes":["*"]}]}],"type":"toplist"},"id":6297375491753750}],"layout_type":"ordered"}' headers: Cache-Control: - no-cache @@ -112,7 +112,7 @@ interactions: Content-Type: - application/json Date: - - Fri, 16 Apr 2021 17:25:14 GMT + - Tue, 25 May 2021 03:59:31 GMT Pragma: - no-cache Strict-Transport-Security: @@ -122,9 +122,9 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Debug: - - mNzaoDhdDKO7t4QSrAe5X7pHd0bJND187D+vRbwoluXouE2m1UaQQX0RGCvRpLVE + - Um4CoU685QqAscnxhS5BD+goWu2yX1Jd4zCfGzSsEvPPIm1qURZaF8dlLl/OEY4I X-Dd-Version: - - "35.4330587" + - "35.4598224" X-Frame-Options: - SAMEORIGIN status: 200 OK @@ -139,11 +139,11 @@ interactions: Dd-Operation-Id: - GetDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.19+dev (go go1.15.6; os darwin; arch amd64) - url: https://api.datadoghq.com/api/v1/dashboard/8m8-w4i-zck + - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) + url: https://api.datadoghq.com/api/v1/dashboard/7cy-b74-2i2 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":"8m8-w4i-zck","title":"tf-TestAccDatadogDashboardTopListFormula_import-local-1618593909","url":"/dashboard/8m8-w4i-zck/tf-testaccdatadogdashboardtoplistformulaimport-local-1618593909","created_at":"2021-04-16T17:25:10.190731+00:00","modified_at":"2021-04-16T17:25:10.190731+00:00","author_handle":"frog@datadoghq.com","widgets":[{"definition":{"requests":[{"formulas":[{"formula":"query1 + query2","limit":{"count":10,"order":"asc"}}],"response_format":"scalar","queries":[{"aggregator":"sum","data_source":"metrics","name":"query1","query":"avg:system.cpu.system{*} by {datacenter}"},{"aggregator":"sum","data_source":"metrics","name":"query2","query":"avg:system.load.1{*} by {datacenter}"}]}],"type":"toplist"},"id":3925289752360287},{"definition":{"requests":[{"formulas":[{"formula":"query1","limit":{"count":25,"order":"desc"}}],"response_format":"scalar","queries":[{"search":{"query":"abc"},"data_source":"rum","compute":{"aggregation":"count"},"name":"query1","indexes":["*"]}]}],"type":"toplist"},"id":6057887070427033}],"layout_type":"ordered"}' + body: '{"notify_list":[],"description":"Created using the Datadog provider in Terraform","restricted_roles":["284d8b66-93f9-11eb-9c37-da7ad0900002","043a2842-e140-11e8-bb04-7fd10177666e","657de3a2-29f8-11eb-83b5-6b8ebfb2f184","e82bf27a-986c-11eb-9cba-da7ad0900002","f257ba30-dbb2-11ea-a5ff-5fd1d308318a","6bf314be-5c16-11eb-8e98-2356ea436065","62cbc476-5c16-11eb-8e98-0388ea7a41f8","08604de8-1dca-11eb-800c-9f5f55ff734d","9b3ab170-b768-11eb-a45a-da7ad0900002","7a83f306-96ca-11eb-9c74-da7ad0900002","16169788-28e4-11eb-832c-fb84162ef3eb","4de53192-9946-11eb-9cee-da7ad0900002","1302282c-b93b-11eb-a436-da7ad0900002","17d73994-7531-11eb-94b9-da7ad0900002"],"author_name":"Qin Chen","template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"7cy-b74-2i2","title":"tf-TestAccDatadogDashboardTopListFormula_import-local-1621915168","url":"/dashboard/7cy-b74-2i2/tf-testaccdatadogdashboardtoplistformulaimport-local-1621915168","created_at":"2021-05-25T03:59:30.654838+00:00","modified_at":"2021-05-25T03:59:30.654838+00:00","author_handle":"qin.chen@datadoghq.com","widgets":[{"definition":{"requests":[{"formulas":[{"formula":"query1 + query2","limit":{"count":10,"order":"asc"}}],"response_format":"scalar","queries":[{"aggregator":"sum","data_source":"metrics","name":"query1","query":"avg:system.cpu.system{*} by {datacenter}"},{"aggregator":"sum","data_source":"metrics","name":"query2","query":"avg:system.load.1{*} by {datacenter}"}]}],"type":"toplist"},"id":2507513307176970},{"definition":{"requests":[{"formulas":[{"formula":"query1","limit":{"count":25,"order":"desc"}}],"response_format":"scalar","queries":[{"search":{"query":"abc"},"data_source":"rum","compute":{"aggregation":"count"},"name":"query1","indexes":["*"]}]}],"type":"toplist"},"id":6297375491753750}],"layout_type":"ordered"}' headers: Cache-Control: - no-cache @@ -154,7 +154,7 @@ interactions: Content-Type: - application/json Date: - - Fri, 16 Apr 2021 17:25:14 GMT + - Tue, 25 May 2021 03:59:32 GMT Pragma: - no-cache Strict-Transport-Security: @@ -164,9 +164,9 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Debug: - - bgHykj7A9bfZx0Y5ZO3swhhp5tGUSNJHqFWR868+qg087CYrDOd5hQslC+noiEtH + - L3ULR3HwCWYmEqCWGz2Yob3chcH4pjowBacBXkncP7o+/uPqKt9yGEYf/g1AJPzQ X-Dd-Version: - - "35.4330587" + - "35.4598224" X-Frame-Options: - SAMEORIGIN status: 200 OK @@ -181,11 +181,11 @@ interactions: Dd-Operation-Id: - GetDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.19+dev (go go1.15.6; os darwin; arch amd64) - url: https://api.datadoghq.com/api/v1/dashboard/8m8-w4i-zck + - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) + url: https://api.datadoghq.com/api/v1/dashboard/7cy-b74-2i2 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":"8m8-w4i-zck","title":"tf-TestAccDatadogDashboardTopListFormula_import-local-1618593909","url":"/dashboard/8m8-w4i-zck/tf-testaccdatadogdashboardtoplistformulaimport-local-1618593909","created_at":"2021-04-16T17:25:10.190731+00:00","modified_at":"2021-04-16T17:25:10.190731+00:00","author_handle":"frog@datadoghq.com","widgets":[{"definition":{"requests":[{"formulas":[{"formula":"query1 + query2","limit":{"count":10,"order":"asc"}}],"response_format":"scalar","queries":[{"aggregator":"sum","data_source":"metrics","name":"query1","query":"avg:system.cpu.system{*} by {datacenter}"},{"aggregator":"sum","data_source":"metrics","name":"query2","query":"avg:system.load.1{*} by {datacenter}"}]}],"type":"toplist"},"id":3925289752360287},{"definition":{"requests":[{"formulas":[{"formula":"query1","limit":{"count":25,"order":"desc"}}],"response_format":"scalar","queries":[{"search":{"query":"abc"},"data_source":"rum","compute":{"aggregation":"count"},"name":"query1","indexes":["*"]}]}],"type":"toplist"},"id":6057887070427033}],"layout_type":"ordered"}' + body: '{"notify_list":[],"description":"Created using the Datadog provider in Terraform","restricted_roles":["284d8b66-93f9-11eb-9c37-da7ad0900002","043a2842-e140-11e8-bb04-7fd10177666e","657de3a2-29f8-11eb-83b5-6b8ebfb2f184","e82bf27a-986c-11eb-9cba-da7ad0900002","f257ba30-dbb2-11ea-a5ff-5fd1d308318a","6bf314be-5c16-11eb-8e98-2356ea436065","62cbc476-5c16-11eb-8e98-0388ea7a41f8","08604de8-1dca-11eb-800c-9f5f55ff734d","9b3ab170-b768-11eb-a45a-da7ad0900002","7a83f306-96ca-11eb-9c74-da7ad0900002","16169788-28e4-11eb-832c-fb84162ef3eb","4de53192-9946-11eb-9cee-da7ad0900002","1302282c-b93b-11eb-a436-da7ad0900002","17d73994-7531-11eb-94b9-da7ad0900002"],"author_name":"Qin Chen","template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"7cy-b74-2i2","title":"tf-TestAccDatadogDashboardTopListFormula_import-local-1621915168","url":"/dashboard/7cy-b74-2i2/tf-testaccdatadogdashboardtoplistformulaimport-local-1621915168","created_at":"2021-05-25T03:59:30.654838+00:00","modified_at":"2021-05-25T03:59:30.654838+00:00","author_handle":"qin.chen@datadoghq.com","widgets":[{"definition":{"requests":[{"formulas":[{"formula":"query1 + query2","limit":{"count":10,"order":"asc"}}],"response_format":"scalar","queries":[{"aggregator":"sum","data_source":"metrics","name":"query1","query":"avg:system.cpu.system{*} by {datacenter}"},{"aggregator":"sum","data_source":"metrics","name":"query2","query":"avg:system.load.1{*} by {datacenter}"}]}],"type":"toplist"},"id":2507513307176970},{"definition":{"requests":[{"formulas":[{"formula":"query1","limit":{"count":25,"order":"desc"}}],"response_format":"scalar","queries":[{"search":{"query":"abc"},"data_source":"rum","compute":{"aggregation":"count"},"name":"query1","indexes":["*"]}]}],"type":"toplist"},"id":6297375491753750}],"layout_type":"ordered"}' headers: Cache-Control: - no-cache @@ -196,7 +196,7 @@ interactions: Content-Type: - application/json Date: - - Fri, 16 Apr 2021 17:25:14 GMT + - Tue, 25 May 2021 03:59:32 GMT Pragma: - no-cache Strict-Transport-Security: @@ -206,9 +206,9 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Debug: - - Um4CoU685QqAscnxhS5BD+goWu2yX1Jd4zCfGzSsEvPPIm1qURZaF8dlLl/OEY4I + - Wjq53IVIwnB4SiR238oOYgHFMq/ZYP0LQ/Dv8C2fFLBwTje/dWJHu6pI6vIOK1zG X-Dd-Version: - - "35.4330587" + - "35.4598224" X-Frame-Options: - SAMEORIGIN status: 200 OK @@ -223,11 +223,11 @@ interactions: Dd-Operation-Id: - GetDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.19+dev (go go1.15.6; os darwin; arch amd64) - url: https://api.datadoghq.com/api/v1/dashboard/8m8-w4i-zck + - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) + url: https://api.datadoghq.com/api/v1/dashboard/7cy-b74-2i2 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":"8m8-w4i-zck","title":"tf-TestAccDatadogDashboardTopListFormula_import-local-1618593909","url":"/dashboard/8m8-w4i-zck/tf-testaccdatadogdashboardtoplistformulaimport-local-1618593909","created_at":"2021-04-16T17:25:10.190731+00:00","modified_at":"2021-04-16T17:25:10.190731+00:00","author_handle":"frog@datadoghq.com","widgets":[{"definition":{"requests":[{"formulas":[{"formula":"query1 + query2","limit":{"count":10,"order":"asc"}}],"response_format":"scalar","queries":[{"aggregator":"sum","data_source":"metrics","name":"query1","query":"avg:system.cpu.system{*} by {datacenter}"},{"aggregator":"sum","data_source":"metrics","name":"query2","query":"avg:system.load.1{*} by {datacenter}"}]}],"type":"toplist"},"id":3925289752360287},{"definition":{"requests":[{"formulas":[{"formula":"query1","limit":{"count":25,"order":"desc"}}],"response_format":"scalar","queries":[{"search":{"query":"abc"},"data_source":"rum","compute":{"aggregation":"count"},"name":"query1","indexes":["*"]}]}],"type":"toplist"},"id":6057887070427033}],"layout_type":"ordered"}' + body: '{"notify_list":[],"description":"Created using the Datadog provider in Terraform","restricted_roles":["284d8b66-93f9-11eb-9c37-da7ad0900002","043a2842-e140-11e8-bb04-7fd10177666e","657de3a2-29f8-11eb-83b5-6b8ebfb2f184","e82bf27a-986c-11eb-9cba-da7ad0900002","f257ba30-dbb2-11ea-a5ff-5fd1d308318a","6bf314be-5c16-11eb-8e98-2356ea436065","62cbc476-5c16-11eb-8e98-0388ea7a41f8","08604de8-1dca-11eb-800c-9f5f55ff734d","9b3ab170-b768-11eb-a45a-da7ad0900002","7a83f306-96ca-11eb-9c74-da7ad0900002","16169788-28e4-11eb-832c-fb84162ef3eb","4de53192-9946-11eb-9cee-da7ad0900002","1302282c-b93b-11eb-a436-da7ad0900002","17d73994-7531-11eb-94b9-da7ad0900002"],"author_name":"Qin Chen","template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"7cy-b74-2i2","title":"tf-TestAccDatadogDashboardTopListFormula_import-local-1621915168","url":"/dashboard/7cy-b74-2i2/tf-testaccdatadogdashboardtoplistformulaimport-local-1621915168","created_at":"2021-05-25T03:59:30.654838+00:00","modified_at":"2021-05-25T03:59:30.654838+00:00","author_handle":"qin.chen@datadoghq.com","widgets":[{"definition":{"requests":[{"formulas":[{"formula":"query1 + query2","limit":{"count":10,"order":"asc"}}],"response_format":"scalar","queries":[{"aggregator":"sum","data_source":"metrics","name":"query1","query":"avg:system.cpu.system{*} by {datacenter}"},{"aggregator":"sum","data_source":"metrics","name":"query2","query":"avg:system.load.1{*} by {datacenter}"}]}],"type":"toplist"},"id":2507513307176970},{"definition":{"requests":[{"formulas":[{"formula":"query1","limit":{"count":25,"order":"desc"}}],"response_format":"scalar","queries":[{"search":{"query":"abc"},"data_source":"rum","compute":{"aggregation":"count"},"name":"query1","indexes":["*"]}]}],"type":"toplist"},"id":6297375491753750}],"layout_type":"ordered"}' headers: Cache-Control: - no-cache @@ -238,7 +238,7 @@ interactions: Content-Type: - application/json Date: - - Fri, 16 Apr 2021 17:25:15 GMT + - Tue, 25 May 2021 03:59:33 GMT Pragma: - no-cache Strict-Transport-Security: @@ -248,9 +248,9 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Debug: - - gYZcaADwbKcv7Hm19HJx6WsLoKuOijDWAt2viPeCfWqUgyKY+9e1xZdmMJeXV3YV + - dPySkcOzIZtKyMKDAAzuysY3gNGGj6RtYogGuSb76E8mPvoqzREyRp6lPYm91hQU X-Dd-Version: - - "35.4330587" + - "35.4598224" X-Frame-Options: - SAMEORIGIN status: 200 OK @@ -265,11 +265,11 @@ interactions: Dd-Operation-Id: - DeleteDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.19+dev (go go1.15.6; os darwin; arch amd64) - url: https://api.datadoghq.com/api/v1/dashboard/8m8-w4i-zck + - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) + url: https://api.datadoghq.com/api/v1/dashboard/7cy-b74-2i2 method: DELETE response: - body: '{"deleted_dashboard_id":"8m8-w4i-zck"}' + body: '{"deleted_dashboard_id":"7cy-b74-2i2"}' headers: Cache-Control: - no-cache @@ -280,7 +280,7 @@ interactions: Content-Type: - application/json Date: - - Fri, 16 Apr 2021 17:25:15 GMT + - Tue, 25 May 2021 03:59:33 GMT Pragma: - no-cache Strict-Transport-Security: @@ -290,9 +290,9 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Debug: - - B1nwy/pPNqX+q4pQT22cdp1QCexE35IF8qwSHy0Nf7IW0Y881qtn4tXN1lpmzaKc + - EFjE6I+AUQmTiNqZcuE1nqoFeAjWD0Xtzy3edDrinkwlU/Wzr/2Dbl5kWk3qLVaQ X-Dd-Version: - - "35.4330587" + - "35.4598224" X-Frame-Options: - SAMEORIGIN status: 200 OK @@ -307,11 +307,11 @@ interactions: Dd-Operation-Id: - GetDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.19+dev (go go1.15.6; os darwin; arch amd64) - url: https://api.datadoghq.com/api/v1/dashboard/8m8-w4i-zck + - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) + url: https://api.datadoghq.com/api/v1/dashboard/7cy-b74-2i2 method: GET response: - body: '{"errors": ["Dashboard with ID 8m8-w4i-zck not found"]}' + body: '{"errors": ["Dashboard with ID 7cy-b74-2i2 not found"]}' headers: Cache-Control: - no-cache @@ -322,7 +322,7 @@ interactions: Content-Type: - application/json Date: - - Fri, 16 Apr 2021 17:25:15 GMT + - Tue, 25 May 2021 03:59:33 GMT Pragma: - no-cache Strict-Transport-Security: @@ -332,7 +332,7 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Version: - - "35.4330587" + - "35.4598224" X-Frame-Options: - SAMEORIGIN status: 404 Not Found diff --git a/datadog/tests/cassettes/TestAccDatadogDashboardTopList_import.freeze b/datadog/tests/cassettes/TestAccDatadogDashboardTopList_import.freeze index 29ac1946a..1f40f43bd 100644 --- a/datadog/tests/cassettes/TestAccDatadogDashboardTopList_import.freeze +++ b/datadog/tests/cassettes/TestAccDatadogDashboardTopList_import.freeze @@ -1 +1 @@ -2021-04-16T13:25:09.298871-04:00 \ No newline at end of file +2021-05-24T23:59:28.139105-04:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogDashboardTopList_import.yaml b/datadog/tests/cassettes/TestAccDatadogDashboardTopList_import.yaml index 6d3360e4a..ba473bba9 100644 --- a/datadog/tests/cassettes/TestAccDatadogDashboardTopList_import.yaml +++ b/datadog/tests/cassettes/TestAccDatadogDashboardTopList_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-TestAccDatadogDashboardTopList_import-local-1618593909","widgets":[{"definition":{"custom_links":[{"label":"Test Custom Link label","link":"https://app.datadoghq.com/dashboard/lists"}],"requests":[{"conditional_formats":[{"comparator":"\u003e","hide_value":false,"palette":"white_on_red","value":15000}],"q":"top(avg:system.core.user{account:prod} by {service,app}, 10, 'sum', 'desc')"}],"time":{"live_span":"1w"},"title":"Avg of system.core.user over account:prod by service,app","title_align":"right","title_size":"16","type":"toplist"}}]} + {"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-TestAccDatadogDashboardTopList_import-local-1621915168","widgets":[{"definition":{"custom_links":[{"label":"Test Custom Link label","link":"https://app.datadoghq.com/dashboard/lists"}],"requests":[{"conditional_formats":[{"comparator":"\u003e","hide_value":false,"palette":"white_on_red","value":15000}],"q":"top(avg:system.core.user{account:prod} by {service,app}, 10, 'sum', 'desc')"}],"time":{"live_span":"1w"},"title":"Avg of system.core.user over account:prod by service,app","title_align":"right","title_size":"16","type":"toplist"}}]} form: {} headers: Accept: @@ -13,11 +13,11 @@ interactions: Dd-Operation-Id: - CreateDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.19+dev (go go1.15.6; os darwin; arch amd64) + - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) 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":"xwv-u3g-gen","title":"tf-TestAccDatadogDashboardTopList_import-local-1618593909","url":"/dashboard/xwv-u3g-gen/tf-testaccdatadogdashboardtoplistimport-local-1618593909","created_at":"2021-04-16T17:25:10.207371+00:00","modified_at":"2021-04-16T17:25:10.207371+00:00","author_handle":"frog@datadoghq.com","widgets":[{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test Custom Link label"}],"title_size":"16","title":"Avg of system.core.user over account:prod by service,app","title_align":"right","time":{"live_span":"1w"},"requests":[{"q":"top(avg:system.core.user{account:prod} by {service,app}, 10, ''sum'', ''desc'')","conditional_formats":[{"palette":"white_on_red","hide_value":false,"value":15000,"comparator":">"}]}],"type":"toplist"},"id":4612504202992112}],"layout_type":"ordered"}' + body: '{"notify_list":[],"description":"Created using the Datadog provider in Terraform","restricted_roles":["043a2842-e140-11e8-bb04-7fd10177666e","08604de8-1dca-11eb-800c-9f5f55ff734d","1302282c-b93b-11eb-a436-da7ad0900002","16169788-28e4-11eb-832c-fb84162ef3eb","17d73994-7531-11eb-94b9-da7ad0900002","284d8b66-93f9-11eb-9c37-da7ad0900002","4de53192-9946-11eb-9cee-da7ad0900002","62cbc476-5c16-11eb-8e98-0388ea7a41f8","657de3a2-29f8-11eb-83b5-6b8ebfb2f184","6bf314be-5c16-11eb-8e98-2356ea436065","7a83f306-96ca-11eb-9c74-da7ad0900002","9b3ab170-b768-11eb-a45a-da7ad0900002","e82bf27a-986c-11eb-9cba-da7ad0900002","f257ba30-dbb2-11ea-a5ff-5fd1d308318a"],"author_name":"Qin Chen","template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"gbm-2vu-mdu","title":"tf-TestAccDatadogDashboardTopList_import-local-1621915168","url":"/dashboard/gbm-2vu-mdu/tf-testaccdatadogdashboardtoplistimport-local-1621915168","created_at":"2021-05-25T03:59:30.655129+00:00","modified_at":"2021-05-25T03:59:30.655129+00:00","author_handle":"qin.chen@datadoghq.com","widgets":[{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test Custom Link label"}],"title_size":"16","title":"Avg of system.core.user over account:prod by service,app","title_align":"right","time":{"live_span":"1w"},"requests":[{"q":"top(avg:system.core.user{account:prod} by {service,app}, 10, ''sum'', ''desc'')","conditional_formats":[{"palette":"white_on_red","hide_value":false,"value":15000,"comparator":">"}]}],"type":"toplist"},"id":3680852941767886}],"layout_type":"ordered"}' headers: Cache-Control: - no-cache @@ -28,7 +28,7 @@ interactions: Content-Type: - application/json Date: - - Fri, 16 Apr 2021 17:25:13 GMT + - Tue, 25 May 2021 03:59:30 GMT Pragma: - no-cache Strict-Transport-Security: @@ -38,9 +38,9 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Debug: - - L3ULR3HwCWYmEqCWGz2Yob3chcH4pjowBacBXkncP7o+/uPqKt9yGEYf/g1AJPzQ + - l8RQo2maZqJf6GFThBbKNE6dvthz6njusVtau3dPXJWL2RLFoN81H+BLPB/1xgs1 X-Dd-Version: - - "35.4330587" + - "35.4598224" X-Frame-Options: - SAMEORIGIN status: 200 OK @@ -55,11 +55,11 @@ interactions: Dd-Operation-Id: - GetDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.19+dev (go go1.15.6; os darwin; arch amd64) - url: https://api.datadoghq.com/api/v1/dashboard/xwv-u3g-gen + - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) + url: https://api.datadoghq.com/api/v1/dashboard/gbm-2vu-mdu 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":"xwv-u3g-gen","title":"tf-TestAccDatadogDashboardTopList_import-local-1618593909","url":"/dashboard/xwv-u3g-gen/tf-testaccdatadogdashboardtoplistimport-local-1618593909","created_at":"2021-04-16T17:25:10.207371+00:00","modified_at":"2021-04-16T17:25:10.207371+00:00","author_handle":"frog@datadoghq.com","widgets":[{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test Custom Link label"}],"title_size":"16","title":"Avg of system.core.user over account:prod by service,app","title_align":"right","time":{"live_span":"1w"},"requests":[{"q":"top(avg:system.core.user{account:prod} by {service,app}, 10, ''sum'', ''desc'')","conditional_formats":[{"palette":"white_on_red","hide_value":false,"value":15000,"comparator":">"}]}],"type":"toplist"},"id":4612504202992112}],"layout_type":"ordered"}' + body: '{"notify_list":[],"description":"Created using the Datadog provider in Terraform","restricted_roles":["284d8b66-93f9-11eb-9c37-da7ad0900002","043a2842-e140-11e8-bb04-7fd10177666e","657de3a2-29f8-11eb-83b5-6b8ebfb2f184","e82bf27a-986c-11eb-9cba-da7ad0900002","f257ba30-dbb2-11ea-a5ff-5fd1d308318a","6bf314be-5c16-11eb-8e98-2356ea436065","62cbc476-5c16-11eb-8e98-0388ea7a41f8","08604de8-1dca-11eb-800c-9f5f55ff734d","9b3ab170-b768-11eb-a45a-da7ad0900002","7a83f306-96ca-11eb-9c74-da7ad0900002","16169788-28e4-11eb-832c-fb84162ef3eb","4de53192-9946-11eb-9cee-da7ad0900002","1302282c-b93b-11eb-a436-da7ad0900002","17d73994-7531-11eb-94b9-da7ad0900002"],"author_name":"Qin Chen","template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"gbm-2vu-mdu","title":"tf-TestAccDatadogDashboardTopList_import-local-1621915168","url":"/dashboard/gbm-2vu-mdu/tf-testaccdatadogdashboardtoplistimport-local-1621915168","created_at":"2021-05-25T03:59:30.655129+00:00","modified_at":"2021-05-25T03:59:30.655129+00:00","author_handle":"qin.chen@datadoghq.com","widgets":[{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test Custom Link label"}],"title_size":"16","title":"Avg of system.core.user over account:prod by service,app","title_align":"right","time":{"live_span":"1w"},"requests":[{"q":"top(avg:system.core.user{account:prod} by {service,app}, 10, ''sum'', ''desc'')","conditional_formats":[{"palette":"white_on_red","hide_value":false,"value":15000,"comparator":">"}]}],"type":"toplist"},"id":3680852941767886}],"layout_type":"ordered"}' headers: Cache-Control: - no-cache @@ -70,7 +70,7 @@ interactions: Content-Type: - application/json Date: - - Fri, 16 Apr 2021 17:25:13 GMT + - Tue, 25 May 2021 03:59:30 GMT Pragma: - no-cache Strict-Transport-Security: @@ -80,9 +80,9 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Debug: - - fIO2C4qGDheGHy4YbS+r3a3CXbh4cbRo7roILOimQyiHGjQdOat0cIpWCkupM1uX + - HbtaOKlJ6OCrx9tMXO6ivMTrEM+g0c93HDp08trmOmgdHozC5J+vn10F0H4WPjCU X-Dd-Version: - - "35.4330587" + - "35.4598224" X-Frame-Options: - SAMEORIGIN status: 200 OK @@ -97,11 +97,11 @@ interactions: Dd-Operation-Id: - GetDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.19+dev (go go1.15.6; os darwin; arch amd64) - url: https://api.datadoghq.com/api/v1/dashboard/xwv-u3g-gen + - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) + url: https://api.datadoghq.com/api/v1/dashboard/gbm-2vu-mdu 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":"xwv-u3g-gen","title":"tf-TestAccDatadogDashboardTopList_import-local-1618593909","url":"/dashboard/xwv-u3g-gen/tf-testaccdatadogdashboardtoplistimport-local-1618593909","created_at":"2021-04-16T17:25:10.207371+00:00","modified_at":"2021-04-16T17:25:10.207371+00:00","author_handle":"frog@datadoghq.com","widgets":[{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test Custom Link label"}],"title_size":"16","title":"Avg of system.core.user over account:prod by service,app","title_align":"right","time":{"live_span":"1w"},"requests":[{"q":"top(avg:system.core.user{account:prod} by {service,app}, 10, ''sum'', ''desc'')","conditional_formats":[{"palette":"white_on_red","hide_value":false,"value":15000,"comparator":">"}]}],"type":"toplist"},"id":4612504202992112}],"layout_type":"ordered"}' + body: '{"notify_list":[],"description":"Created using the Datadog provider in Terraform","restricted_roles":["284d8b66-93f9-11eb-9c37-da7ad0900002","043a2842-e140-11e8-bb04-7fd10177666e","657de3a2-29f8-11eb-83b5-6b8ebfb2f184","e82bf27a-986c-11eb-9cba-da7ad0900002","f257ba30-dbb2-11ea-a5ff-5fd1d308318a","6bf314be-5c16-11eb-8e98-2356ea436065","62cbc476-5c16-11eb-8e98-0388ea7a41f8","08604de8-1dca-11eb-800c-9f5f55ff734d","9b3ab170-b768-11eb-a45a-da7ad0900002","7a83f306-96ca-11eb-9c74-da7ad0900002","16169788-28e4-11eb-832c-fb84162ef3eb","4de53192-9946-11eb-9cee-da7ad0900002","1302282c-b93b-11eb-a436-da7ad0900002","17d73994-7531-11eb-94b9-da7ad0900002"],"author_name":"Qin Chen","template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"gbm-2vu-mdu","title":"tf-TestAccDatadogDashboardTopList_import-local-1621915168","url":"/dashboard/gbm-2vu-mdu/tf-testaccdatadogdashboardtoplistimport-local-1621915168","created_at":"2021-05-25T03:59:30.655129+00:00","modified_at":"2021-05-25T03:59:30.655129+00:00","author_handle":"qin.chen@datadoghq.com","widgets":[{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test Custom Link label"}],"title_size":"16","title":"Avg of system.core.user over account:prod by service,app","title_align":"right","time":{"live_span":"1w"},"requests":[{"q":"top(avg:system.core.user{account:prod} by {service,app}, 10, ''sum'', ''desc'')","conditional_formats":[{"palette":"white_on_red","hide_value":false,"value":15000,"comparator":">"}]}],"type":"toplist"},"id":3680852941767886}],"layout_type":"ordered"}' headers: Cache-Control: - no-cache @@ -112,7 +112,7 @@ interactions: Content-Type: - application/json Date: - - Fri, 16 Apr 2021 17:25:14 GMT + - Tue, 25 May 2021 03:59:31 GMT Pragma: - no-cache Strict-Transport-Security: @@ -122,9 +122,9 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Debug: - - dPySkcOzIZtKyMKDAAzuysY3gNGGj6RtYogGuSb76E8mPvoqzREyRp6lPYm91hQU + - HbtaOKlJ6OCrx9tMXO6ivMTrEM+g0c93HDp08trmOmgdHozC5J+vn10F0H4WPjCU X-Dd-Version: - - "35.4330587" + - "35.4598224" X-Frame-Options: - SAMEORIGIN status: 200 OK @@ -139,11 +139,11 @@ interactions: Dd-Operation-Id: - GetDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.19+dev (go go1.15.6; os darwin; arch amd64) - url: https://api.datadoghq.com/api/v1/dashboard/xwv-u3g-gen + - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) + url: https://api.datadoghq.com/api/v1/dashboard/gbm-2vu-mdu 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":"xwv-u3g-gen","title":"tf-TestAccDatadogDashboardTopList_import-local-1618593909","url":"/dashboard/xwv-u3g-gen/tf-testaccdatadogdashboardtoplistimport-local-1618593909","created_at":"2021-04-16T17:25:10.207371+00:00","modified_at":"2021-04-16T17:25:10.207371+00:00","author_handle":"frog@datadoghq.com","widgets":[{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test Custom Link label"}],"title_size":"16","title":"Avg of system.core.user over account:prod by service,app","title_align":"right","time":{"live_span":"1w"},"requests":[{"q":"top(avg:system.core.user{account:prod} by {service,app}, 10, ''sum'', ''desc'')","conditional_formats":[{"palette":"white_on_red","hide_value":false,"value":15000,"comparator":">"}]}],"type":"toplist"},"id":4612504202992112}],"layout_type":"ordered"}' + body: '{"notify_list":[],"description":"Created using the Datadog provider in Terraform","restricted_roles":["284d8b66-93f9-11eb-9c37-da7ad0900002","043a2842-e140-11e8-bb04-7fd10177666e","657de3a2-29f8-11eb-83b5-6b8ebfb2f184","e82bf27a-986c-11eb-9cba-da7ad0900002","f257ba30-dbb2-11ea-a5ff-5fd1d308318a","6bf314be-5c16-11eb-8e98-2356ea436065","62cbc476-5c16-11eb-8e98-0388ea7a41f8","08604de8-1dca-11eb-800c-9f5f55ff734d","9b3ab170-b768-11eb-a45a-da7ad0900002","7a83f306-96ca-11eb-9c74-da7ad0900002","16169788-28e4-11eb-832c-fb84162ef3eb","4de53192-9946-11eb-9cee-da7ad0900002","1302282c-b93b-11eb-a436-da7ad0900002","17d73994-7531-11eb-94b9-da7ad0900002"],"author_name":"Qin Chen","template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"gbm-2vu-mdu","title":"tf-TestAccDatadogDashboardTopList_import-local-1621915168","url":"/dashboard/gbm-2vu-mdu/tf-testaccdatadogdashboardtoplistimport-local-1621915168","created_at":"2021-05-25T03:59:30.655129+00:00","modified_at":"2021-05-25T03:59:30.655129+00:00","author_handle":"qin.chen@datadoghq.com","widgets":[{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test Custom Link label"}],"title_size":"16","title":"Avg of system.core.user over account:prod by service,app","title_align":"right","time":{"live_span":"1w"},"requests":[{"q":"top(avg:system.core.user{account:prod} by {service,app}, 10, ''sum'', ''desc'')","conditional_formats":[{"palette":"white_on_red","hide_value":false,"value":15000,"comparator":">"}]}],"type":"toplist"},"id":3680852941767886}],"layout_type":"ordered"}' headers: Cache-Control: - no-cache @@ -154,7 +154,7 @@ interactions: Content-Type: - application/json Date: - - Fri, 16 Apr 2021 17:25:14 GMT + - Tue, 25 May 2021 03:59:32 GMT Pragma: - no-cache Strict-Transport-Security: @@ -164,9 +164,9 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Debug: - - tpRCH6w417YjBovRJ8VmtuXmNONVYiRp2c8d2AxjPdGBn8PCtgG4vAztrx3qUZAN + - 5gfwVh/5HZ+AnGd/Di93w3NEWC6KMHT9KzmHEiRJmNdOjBtAsbOcgVFyqEChw71h X-Dd-Version: - - "35.4330587" + - "35.4598224" X-Frame-Options: - SAMEORIGIN status: 200 OK @@ -181,11 +181,11 @@ interactions: Dd-Operation-Id: - GetDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.19+dev (go go1.15.6; os darwin; arch amd64) - url: https://api.datadoghq.com/api/v1/dashboard/xwv-u3g-gen + - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) + url: https://api.datadoghq.com/api/v1/dashboard/gbm-2vu-mdu 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":"xwv-u3g-gen","title":"tf-TestAccDatadogDashboardTopList_import-local-1618593909","url":"/dashboard/xwv-u3g-gen/tf-testaccdatadogdashboardtoplistimport-local-1618593909","created_at":"2021-04-16T17:25:10.207371+00:00","modified_at":"2021-04-16T17:25:10.207371+00:00","author_handle":"frog@datadoghq.com","widgets":[{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test Custom Link label"}],"title_size":"16","title":"Avg of system.core.user over account:prod by service,app","title_align":"right","time":{"live_span":"1w"},"requests":[{"q":"top(avg:system.core.user{account:prod} by {service,app}, 10, ''sum'', ''desc'')","conditional_formats":[{"palette":"white_on_red","hide_value":false,"value":15000,"comparator":">"}]}],"type":"toplist"},"id":4612504202992112}],"layout_type":"ordered"}' + body: '{"notify_list":[],"description":"Created using the Datadog provider in Terraform","restricted_roles":["284d8b66-93f9-11eb-9c37-da7ad0900002","043a2842-e140-11e8-bb04-7fd10177666e","657de3a2-29f8-11eb-83b5-6b8ebfb2f184","e82bf27a-986c-11eb-9cba-da7ad0900002","f257ba30-dbb2-11ea-a5ff-5fd1d308318a","6bf314be-5c16-11eb-8e98-2356ea436065","62cbc476-5c16-11eb-8e98-0388ea7a41f8","08604de8-1dca-11eb-800c-9f5f55ff734d","9b3ab170-b768-11eb-a45a-da7ad0900002","7a83f306-96ca-11eb-9c74-da7ad0900002","16169788-28e4-11eb-832c-fb84162ef3eb","4de53192-9946-11eb-9cee-da7ad0900002","1302282c-b93b-11eb-a436-da7ad0900002","17d73994-7531-11eb-94b9-da7ad0900002"],"author_name":"Qin Chen","template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"gbm-2vu-mdu","title":"tf-TestAccDatadogDashboardTopList_import-local-1621915168","url":"/dashboard/gbm-2vu-mdu/tf-testaccdatadogdashboardtoplistimport-local-1621915168","created_at":"2021-05-25T03:59:30.655129+00:00","modified_at":"2021-05-25T03:59:30.655129+00:00","author_handle":"qin.chen@datadoghq.com","widgets":[{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test Custom Link label"}],"title_size":"16","title":"Avg of system.core.user over account:prod by service,app","title_align":"right","time":{"live_span":"1w"},"requests":[{"q":"top(avg:system.core.user{account:prod} by {service,app}, 10, ''sum'', ''desc'')","conditional_formats":[{"palette":"white_on_red","hide_value":false,"value":15000,"comparator":">"}]}],"type":"toplist"},"id":3680852941767886}],"layout_type":"ordered"}' headers: Cache-Control: - no-cache @@ -196,7 +196,7 @@ interactions: Content-Type: - application/json Date: - - Fri, 16 Apr 2021 17:25:14 GMT + - Tue, 25 May 2021 03:59:32 GMT Pragma: - no-cache Strict-Transport-Security: @@ -206,9 +206,9 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Debug: - - Um4CoU685QqAscnxhS5BD+goWu2yX1Jd4zCfGzSsEvPPIm1qURZaF8dlLl/OEY4I + - 5gfwVh/5HZ+AnGd/Di93w3NEWC6KMHT9KzmHEiRJmNdOjBtAsbOcgVFyqEChw71h X-Dd-Version: - - "35.4330587" + - "35.4598224" X-Frame-Options: - SAMEORIGIN status: 200 OK @@ -223,11 +223,11 @@ interactions: Dd-Operation-Id: - GetDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.19+dev (go go1.15.6; os darwin; arch amd64) - url: https://api.datadoghq.com/api/v1/dashboard/xwv-u3g-gen + - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) + url: https://api.datadoghq.com/api/v1/dashboard/gbm-2vu-mdu 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":"xwv-u3g-gen","title":"tf-TestAccDatadogDashboardTopList_import-local-1618593909","url":"/dashboard/xwv-u3g-gen/tf-testaccdatadogdashboardtoplistimport-local-1618593909","created_at":"2021-04-16T17:25:10.207371+00:00","modified_at":"2021-04-16T17:25:10.207371+00:00","author_handle":"frog@datadoghq.com","widgets":[{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test Custom Link label"}],"title_size":"16","title":"Avg of system.core.user over account:prod by service,app","title_align":"right","time":{"live_span":"1w"},"requests":[{"q":"top(avg:system.core.user{account:prod} by {service,app}, 10, ''sum'', ''desc'')","conditional_formats":[{"palette":"white_on_red","hide_value":false,"value":15000,"comparator":">"}]}],"type":"toplist"},"id":4612504202992112}],"layout_type":"ordered"}' + body: '{"notify_list":[],"description":"Created using the Datadog provider in Terraform","restricted_roles":["284d8b66-93f9-11eb-9c37-da7ad0900002","043a2842-e140-11e8-bb04-7fd10177666e","657de3a2-29f8-11eb-83b5-6b8ebfb2f184","e82bf27a-986c-11eb-9cba-da7ad0900002","f257ba30-dbb2-11ea-a5ff-5fd1d308318a","6bf314be-5c16-11eb-8e98-2356ea436065","62cbc476-5c16-11eb-8e98-0388ea7a41f8","08604de8-1dca-11eb-800c-9f5f55ff734d","9b3ab170-b768-11eb-a45a-da7ad0900002","7a83f306-96ca-11eb-9c74-da7ad0900002","16169788-28e4-11eb-832c-fb84162ef3eb","4de53192-9946-11eb-9cee-da7ad0900002","1302282c-b93b-11eb-a436-da7ad0900002","17d73994-7531-11eb-94b9-da7ad0900002"],"author_name":"Qin Chen","template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"gbm-2vu-mdu","title":"tf-TestAccDatadogDashboardTopList_import-local-1621915168","url":"/dashboard/gbm-2vu-mdu/tf-testaccdatadogdashboardtoplistimport-local-1621915168","created_at":"2021-05-25T03:59:30.655129+00:00","modified_at":"2021-05-25T03:59:30.655129+00:00","author_handle":"qin.chen@datadoghq.com","widgets":[{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test Custom Link label"}],"title_size":"16","title":"Avg of system.core.user over account:prod by service,app","title_align":"right","time":{"live_span":"1w"},"requests":[{"q":"top(avg:system.core.user{account:prod} by {service,app}, 10, ''sum'', ''desc'')","conditional_formats":[{"palette":"white_on_red","hide_value":false,"value":15000,"comparator":">"}]}],"type":"toplist"},"id":3680852941767886}],"layout_type":"ordered"}' headers: Cache-Control: - no-cache @@ -238,7 +238,7 @@ interactions: Content-Type: - application/json Date: - - Fri, 16 Apr 2021 17:25:14 GMT + - Tue, 25 May 2021 03:59:33 GMT Pragma: - no-cache Strict-Transport-Security: @@ -248,9 +248,9 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Debug: - - SY1h8ScsWq+kYmtbh63ltMLFAZsQjqfrgvdfAoRX+9TzT1sgMBRYaFRwfWWRRe9a + - 2328yjLSqI4XmR1pVqrPRR/SFcQsbafjEpPmZx7/3PfxUK1nJQQsX+wrMelyVyj+ X-Dd-Version: - - "35.4330587" + - "35.4598224" X-Frame-Options: - SAMEORIGIN status: 200 OK @@ -265,11 +265,11 @@ interactions: Dd-Operation-Id: - DeleteDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.19+dev (go go1.15.6; os darwin; arch amd64) - url: https://api.datadoghq.com/api/v1/dashboard/xwv-u3g-gen + - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) + url: https://api.datadoghq.com/api/v1/dashboard/gbm-2vu-mdu method: DELETE response: - body: '{"deleted_dashboard_id":"xwv-u3g-gen"}' + body: '{"deleted_dashboard_id":"gbm-2vu-mdu"}' headers: Cache-Control: - no-cache @@ -280,7 +280,7 @@ interactions: Content-Type: - application/json Date: - - Fri, 16 Apr 2021 17:25:15 GMT + - Tue, 25 May 2021 03:59:33 GMT Pragma: - no-cache Strict-Transport-Security: @@ -290,9 +290,9 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Debug: - - Um4CoU685QqAscnxhS5BD+goWu2yX1Jd4zCfGzSsEvPPIm1qURZaF8dlLl/OEY4I + - EFjE6I+AUQmTiNqZcuE1nqoFeAjWD0Xtzy3edDrinkwlU/Wzr/2Dbl5kWk3qLVaQ X-Dd-Version: - - "35.4330587" + - "35.4598224" X-Frame-Options: - SAMEORIGIN status: 200 OK @@ -307,11 +307,11 @@ interactions: Dd-Operation-Id: - GetDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.19+dev (go go1.15.6; os darwin; arch amd64) - url: https://api.datadoghq.com/api/v1/dashboard/xwv-u3g-gen + - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) + url: https://api.datadoghq.com/api/v1/dashboard/gbm-2vu-mdu method: GET response: - body: '{"errors": ["Dashboard with ID xwv-u3g-gen not found"]}' + body: '{"errors": ["Dashboard with ID gbm-2vu-mdu not found"]}' headers: Cache-Control: - no-cache @@ -322,7 +322,7 @@ interactions: Content-Type: - application/json Date: - - Fri, 16 Apr 2021 17:25:15 GMT + - Tue, 25 May 2021 03:59:33 GMT Pragma: - no-cache Strict-Transport-Security: @@ -332,7 +332,7 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Version: - - "35.4330587" + - "35.4598224" X-Frame-Options: - SAMEORIGIN status: 404 Not Found From 3f3906d64e80ce41c7d7eb1ac5e966e658ff6d67 Mon Sep 17 00:00:00 2001 From: Qin Cheng Chen Date: Mon, 7 Jun 2021 15:52:33 -0400 Subject: [PATCH 18/22] add cassettes --- .../TestAccDatadogDashboardChange.freeze | 2 +- .../TestAccDatadogDashboardChange.yaml | 70 ++++---- ...estAccDatadogDashboardChange_import.freeze | 2 +- .../TestAccDatadogDashboardChange_import.yaml | 70 ++++---- .../TestAccDatadogDashboardGeomap.freeze | 2 +- .../TestAccDatadogDashboardGeomap.yaml | 70 ++++---- ...estAccDatadogDashboardGeomapFormula.freeze | 2 +- .../TestAccDatadogDashboardGeomapFormula.yaml | 112 ++++--------- ...atadogDashboardGeomapFormula_import.freeze | 2 +- ...cDatadogDashboardGeomapFormula_import.yaml | 154 ++++-------------- ...estAccDatadogDashboardGeomap_import.freeze | 2 +- .../TestAccDatadogDashboardGeomap_import.yaml | 66 ++++---- .../TestAccDatadogDashboardHeatMap.freeze | 2 +- .../TestAccDatadogDashboardHeatMap.yaml | 70 ++++---- ...stAccDatadogDashboardHeatMap_import.freeze | 2 +- ...TestAccDatadogDashboardHeatMap_import.yaml | 70 ++++---- .../TestAccDatadogDashboardHostMap.freeze | 2 +- .../TestAccDatadogDashboardHostMap.yaml | 70 ++++---- ...stAccDatadogDashboardHostMap_import.freeze | 2 +- ...TestAccDatadogDashboardHostMap_import.yaml | 70 ++++---- .../TestAccDatadogDashboardQueryTable.freeze | 2 +- .../TestAccDatadogDashboardQueryTable.yaml | 70 ++++---- ...ccDatadogDashboardQueryTable_import.freeze | 2 +- ...tAccDatadogDashboardQueryTable_import.yaml | 70 ++++---- .../TestAccDatadogDashboardQueryValue.freeze | 2 +- .../TestAccDatadogDashboardQueryValue.yaml | 70 ++++---- ...ccDatadogDashboardQueryValueFormula.freeze | 2 +- ...tAccDatadogDashboardQueryValueFormula.yaml | 110 ++++--------- ...ogDashboardQueryValueFormula_import.freeze | 2 +- ...adogDashboardQueryValueFormula_import.yaml | 152 ++++------------- ...ccDatadogDashboardQueryValue_import.freeze | 2 +- ...tAccDatadogDashboardQueryValue_import.yaml | 70 ++++---- .../TestAccDatadogDashboardScatterplot.freeze | 2 +- .../TestAccDatadogDashboardScatterplot.yaml | 70 ++++---- ...cDatadogDashboardScatterplot_import.freeze | 2 +- ...AccDatadogDashboardScatterplot_import.yaml | 70 ++++---- .../TestAccDatadogDashboardServiceMap.freeze | 2 +- .../TestAccDatadogDashboardServiceMap.yaml | 70 ++++---- ...ccDatadogDashboardServiceMap_import.freeze | 2 +- ...tAccDatadogDashboardServiceMap_import.yaml | 70 ++++---- .../TestAccDatadogDashboardTimeseries.freeze | 2 +- .../TestAccDatadogDashboardTimeseries.yaml | 68 ++++---- ...adogDashboardTimeseriesMultiCompute.freeze | 2 +- ...atadogDashboardTimeseriesMultiCompute.yaml | 70 ++++---- ...hboardTimeseriesMultiCompute_import.freeze | 2 +- ...ashboardTimeseriesMultiCompute_import.yaml | 70 ++++---- ...ccDatadogDashboardTimeseries_import.freeze | 2 +- ...tAccDatadogDashboardTimeseries_import.yaml | 70 ++++---- .../TestAccDatadogDashboardTopList.freeze | 2 +- .../TestAccDatadogDashboardTopList.yaml | 70 ++++---- ...stAccDatadogDashboardTopListFormula.freeze | 2 +- ...TestAccDatadogDashboardTopListFormula.yaml | 112 ++++--------- ...tadogDashboardTopListFormula_import.freeze | 2 +- ...DatadogDashboardTopListFormula_import.yaml | 152 ++++------------- ...stAccDatadogDashboardTopList_import.freeze | 2 +- ...TestAccDatadogDashboardTopList_import.yaml | 70 ++++---- 56 files changed, 1002 insertions(+), 1380 deletions(-) diff --git a/datadog/tests/cassettes/TestAccDatadogDashboardChange.freeze b/datadog/tests/cassettes/TestAccDatadogDashboardChange.freeze index cf08b3530..7ded66fab 100644 --- a/datadog/tests/cassettes/TestAccDatadogDashboardChange.freeze +++ b/datadog/tests/cassettes/TestAccDatadogDashboardChange.freeze @@ -1 +1 @@ -2021-03-12T17:13:32.763037-05:00 \ No newline at end of file +2021-06-07T14:52:21.726734-04:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogDashboardChange.yaml b/datadog/tests/cassettes/TestAccDatadogDashboardChange.yaml index ef1d6da95..3953f0d57 100644 --- a/datadog/tests/cassettes/TestAccDatadogDashboardChange.yaml +++ b/datadog/tests/cassettes/TestAccDatadogDashboardChange.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-TestAccDatadogDashboardChange-local-1615587212","widgets":[{"definition":{"requests":[{"increase_good":false,"q":"sum:system.cpu.user{*} by {service,account}","show_present":false}],"type":"change"}},{"definition":{"custom_links":[{"label":"Test Custom Link label","link":"https://app.datadoghq.com/dashboard/lists"}],"requests":[{"change_type":"absolute","compare_to":"day_before","increase_good":false,"order_by":"change","order_dir":"desc","q":"sum:system.cpu.user{*} by {service,account}","show_present":true}],"time":{"live_span":"1h"},"title":"Sum of system.cpu.user over * by service,account","title_align":"left","title_size":"16","type":"change"}}]} + {"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-TestAccDatadogDashboardChange-local-1623091941","widgets":[{"definition":{"requests":[{"increase_good":false,"q":"sum:system.cpu.user{*} by {service,account}","show_present":false}],"type":"change"}},{"definition":{"custom_links":[{"label":"Test Custom Link label","link":"https://app.datadoghq.com/dashboard/lists"},{"is_hidden":true,"link":"https://app.datadoghq.com/dashboard/lists","override_label":"logs"}],"requests":[{"change_type":"absolute","compare_to":"day_before","increase_good":false,"order_by":"change","order_dir":"desc","q":"sum:system.cpu.user{*} by {service,account}","show_present":true}],"time":{"live_span":"1h"},"title":"Sum of system.cpu.user over * by service,account","title_align":"left","title_size":"16","type":"change"}}]} form: {} headers: Accept: @@ -13,11 +13,11 @@ interactions: Dd-Operation-Id: - CreateDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 2.4.4; terraform-cli 0.14.7) datadog-api-client-go/1.0.0-beta.16 (go go1.15.3; os darwin; arch amd64) + - terraform-provider-datadog/dev (terraform 2.6.1; terraform-cli 0.15.3) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) 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":"hbf-tfn-avt","title":"tf-TestAccDatadogDashboardChange-local-1615587212","url":"/dashboard/hbf-tfn-avt/tf-testaccdatadogdashboardchange-local-1615587212","created_at":"2021-03-12T22:13:35.304661+00:00","modified_at":"2021-03-12T22:13:35.304661+00:00","author_handle":"frog@datadoghq.com","widgets":[{"definition":{"requests":[{"q":"sum:system.cpu.user{*} by {service,account}","show_present":false,"increase_good":false}],"type":"change"},"id":8181499730809780},{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test Custom Link label"}],"title_size":"16","title":"Sum of system.cpu.user over * by service,account","title_align":"left","time":{"live_span":"1h"},"requests":[{"change_type":"absolute","order_dir":"desc","compare_to":"day_before","q":"sum:system.cpu.user{*} by {service,account}","show_present":true,"increase_good":false,"order_by":"change"}],"type":"change"},"id":5728156764063988}],"layout_type":"ordered"}' + body: '{"notify_list":[],"description":"Created using the Datadog provider in Terraform","author_name":null,"template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"j8w-rr3-y9d","title":"tf-TestAccDatadogDashboardChange-local-1623091941","url":"/dashboard/j8w-rr3-y9d/tf-testaccdatadogdashboardchange-local-1623091941","created_at":"2021-06-07T18:52:38.506135+00:00","modified_at":"2021-06-07T18:52:38.506135+00:00","author_handle":"frog@datadoghq.com","widgets":[{"definition":{"requests":[{"q":"sum:system.cpu.user{*} by {service,account}","show_present":false,"increase_good":false}],"type":"change"},"id":7002519636976430},{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test Custom Link label"},{"override_label":"logs","is_hidden":true,"link":"https://app.datadoghq.com/dashboard/lists"}],"title_size":"16","title":"Sum of system.cpu.user over * by service,account","title_align":"left","time":{"live_span":"1h"},"requests":[{"change_type":"absolute","order_dir":"desc","compare_to":"day_before","q":"sum:system.cpu.user{*} by {service,account}","show_present":true,"increase_good":false,"order_by":"change"}],"type":"change"},"id":4263957821410484}],"layout_type":"ordered"}' headers: Cache-Control: - no-cache @@ -28,7 +28,7 @@ interactions: Content-Type: - application/json Date: - - Fri, 12 Mar 2021 22:13:37 GMT + - Mon, 07 Jun 2021 18:52:39 GMT Pragma: - no-cache Strict-Transport-Security: @@ -38,9 +38,9 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Debug: - - dPySkcOzIZtKyMKDAAzuysY3gNGGj6RtYogGuSb76E8mPvoqzREyRp6lPYm91hQU + - /L+SFFO+m1pPY+hRCpk5325fvfrNl0KmiquUNJolBN/5hu3HIwflqjZSbJ6NxDFG X-Dd-Version: - - "35.4088130" + - "35.4693288" X-Frame-Options: - SAMEORIGIN status: 200 OK @@ -55,11 +55,11 @@ interactions: Dd-Operation-Id: - GetDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 2.4.4; terraform-cli 0.14.7) datadog-api-client-go/1.0.0-beta.16 (go go1.15.3; os darwin; arch amd64) - url: https://api.datadoghq.com/api/v1/dashboard/hbf-tfn-avt + - terraform-provider-datadog/dev (terraform 2.6.1; terraform-cli 0.15.3) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) + url: https://api.datadoghq.com/api/v1/dashboard/j8w-rr3-y9d 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":"hbf-tfn-avt","title":"tf-TestAccDatadogDashboardChange-local-1615587212","url":"/dashboard/hbf-tfn-avt/tf-testaccdatadogdashboardchange-local-1615587212","created_at":"2021-03-12T22:13:35.304661+00:00","modified_at":"2021-03-12T22:13:35.304661+00:00","author_handle":"frog@datadoghq.com","widgets":[{"definition":{"requests":[{"q":"sum:system.cpu.user{*} by {service,account}","show_present":false,"increase_good":false}],"type":"change"},"id":8181499730809780},{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test Custom Link label"}],"title_size":"16","title":"Sum of system.cpu.user over * by service,account","title_align":"left","time":{"live_span":"1h"},"requests":[{"change_type":"absolute","order_dir":"desc","compare_to":"day_before","q":"sum:system.cpu.user{*} by {service,account}","show_present":true,"increase_good":false,"order_by":"change"}],"type":"change"},"id":5728156764063988}],"layout_type":"ordered"}' + body: '{"notify_list":[],"description":"Created using the Datadog provider in Terraform","author_name":null,"template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"j8w-rr3-y9d","title":"tf-TestAccDatadogDashboardChange-local-1623091941","url":"/dashboard/j8w-rr3-y9d/tf-testaccdatadogdashboardchange-local-1623091941","created_at":"2021-06-07T18:52:38.506135+00:00","modified_at":"2021-06-07T18:52:38.506135+00:00","author_handle":"frog@datadoghq.com","widgets":[{"definition":{"requests":[{"q":"sum:system.cpu.user{*} by {service,account}","show_present":false,"increase_good":false}],"type":"change"},"id":7002519636976430},{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test Custom Link label"},{"override_label":"logs","is_hidden":true,"link":"https://app.datadoghq.com/dashboard/lists"}],"title_size":"16","title":"Sum of system.cpu.user over * by service,account","title_align":"left","time":{"live_span":"1h"},"requests":[{"change_type":"absolute","order_dir":"desc","compare_to":"day_before","q":"sum:system.cpu.user{*} by {service,account}","show_present":true,"increase_good":false,"order_by":"change"}],"type":"change"},"id":4263957821410484}],"layout_type":"ordered"}' headers: Cache-Control: - no-cache @@ -70,7 +70,7 @@ interactions: Content-Type: - application/json Date: - - Fri, 12 Mar 2021 22:13:37 GMT + - Mon, 07 Jun 2021 18:52:39 GMT Pragma: - no-cache Strict-Transport-Security: @@ -80,9 +80,9 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Debug: - - mNzaoDhdDKO7t4QSrAe5X7pHd0bJND187D+vRbwoluXouE2m1UaQQX0RGCvRpLVE + - EFjE6I+AUQmTiNqZcuE1nqoFeAjWD0Xtzy3edDrinkwlU/Wzr/2Dbl5kWk3qLVaQ X-Dd-Version: - - "35.4088130" + - "35.4693288" X-Frame-Options: - SAMEORIGIN status: 200 OK @@ -97,11 +97,11 @@ interactions: Dd-Operation-Id: - GetDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 2.4.4; terraform-cli 0.14.7) datadog-api-client-go/1.0.0-beta.16 (go go1.15.3; os darwin; arch amd64) - url: https://api.datadoghq.com/api/v1/dashboard/hbf-tfn-avt + - terraform-provider-datadog/dev (terraform 2.6.1; terraform-cli 0.15.3) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) + url: https://api.datadoghq.com/api/v1/dashboard/j8w-rr3-y9d 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":"hbf-tfn-avt","title":"tf-TestAccDatadogDashboardChange-local-1615587212","url":"/dashboard/hbf-tfn-avt/tf-testaccdatadogdashboardchange-local-1615587212","created_at":"2021-03-12T22:13:35.304661+00:00","modified_at":"2021-03-12T22:13:35.304661+00:00","author_handle":"frog@datadoghq.com","widgets":[{"definition":{"requests":[{"q":"sum:system.cpu.user{*} by {service,account}","show_present":false,"increase_good":false}],"type":"change"},"id":8181499730809780},{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test Custom Link label"}],"title_size":"16","title":"Sum of system.cpu.user over * by service,account","title_align":"left","time":{"live_span":"1h"},"requests":[{"change_type":"absolute","order_dir":"desc","compare_to":"day_before","q":"sum:system.cpu.user{*} by {service,account}","show_present":true,"increase_good":false,"order_by":"change"}],"type":"change"},"id":5728156764063988}],"layout_type":"ordered"}' + body: '{"notify_list":[],"description":"Created using the Datadog provider in Terraform","author_name":null,"template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"j8w-rr3-y9d","title":"tf-TestAccDatadogDashboardChange-local-1623091941","url":"/dashboard/j8w-rr3-y9d/tf-testaccdatadogdashboardchange-local-1623091941","created_at":"2021-06-07T18:52:38.506135+00:00","modified_at":"2021-06-07T18:52:38.506135+00:00","author_handle":"frog@datadoghq.com","widgets":[{"definition":{"requests":[{"q":"sum:system.cpu.user{*} by {service,account}","show_present":false,"increase_good":false}],"type":"change"},"id":7002519636976430},{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test Custom Link label"},{"override_label":"logs","is_hidden":true,"link":"https://app.datadoghq.com/dashboard/lists"}],"title_size":"16","title":"Sum of system.cpu.user over * by service,account","title_align":"left","time":{"live_span":"1h"},"requests":[{"change_type":"absolute","order_dir":"desc","compare_to":"day_before","q":"sum:system.cpu.user{*} by {service,account}","show_present":true,"increase_good":false,"order_by":"change"}],"type":"change"},"id":4263957821410484}],"layout_type":"ordered"}' headers: Cache-Control: - no-cache @@ -112,7 +112,7 @@ interactions: Content-Type: - application/json Date: - - Fri, 12 Mar 2021 22:13:38 GMT + - Mon, 07 Jun 2021 18:52:43 GMT Pragma: - no-cache Strict-Transport-Security: @@ -122,9 +122,9 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Debug: - - /L+SFFO+m1pPY+hRCpk5325fvfrNl0KmiquUNJolBN/5hu3HIwflqjZSbJ6NxDFG + - l8RQo2maZqJf6GFThBbKNE6dvthz6njusVtau3dPXJWL2RLFoN81H+BLPB/1xgs1 X-Dd-Version: - - "35.4088130" + - "35.4693288" X-Frame-Options: - SAMEORIGIN status: 200 OK @@ -139,11 +139,11 @@ interactions: Dd-Operation-Id: - GetDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 2.4.4; terraform-cli ) datadog-api-client-go/1.0.0-beta.16 (go go1.15.3; os darwin; arch amd64) - url: https://api.datadoghq.com/api/v1/dashboard/hbf-tfn-avt + - terraform-provider-datadog/dev (terraform 2.6.1; terraform-cli 0.15.3) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) + url: https://api.datadoghq.com/api/v1/dashboard/j8w-rr3-y9d 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":"hbf-tfn-avt","title":"tf-TestAccDatadogDashboardChange-local-1615587212","url":"/dashboard/hbf-tfn-avt/tf-testaccdatadogdashboardchange-local-1615587212","created_at":"2021-03-12T22:13:35.304661+00:00","modified_at":"2021-03-12T22:13:35.304661+00:00","author_handle":"frog@datadoghq.com","widgets":[{"definition":{"requests":[{"q":"sum:system.cpu.user{*} by {service,account}","show_present":false,"increase_good":false}],"type":"change"},"id":8181499730809780},{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test Custom Link label"}],"title_size":"16","title":"Sum of system.cpu.user over * by service,account","title_align":"left","time":{"live_span":"1h"},"requests":[{"change_type":"absolute","order_dir":"desc","compare_to":"day_before","q":"sum:system.cpu.user{*} by {service,account}","show_present":true,"increase_good":false,"order_by":"change"}],"type":"change"},"id":5728156764063988}],"layout_type":"ordered"}' + body: '{"notify_list":[],"description":"Created using the Datadog provider in Terraform","author_name":null,"template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"j8w-rr3-y9d","title":"tf-TestAccDatadogDashboardChange-local-1623091941","url":"/dashboard/j8w-rr3-y9d/tf-testaccdatadogdashboardchange-local-1623091941","created_at":"2021-06-07T18:52:38.506135+00:00","modified_at":"2021-06-07T18:52:38.506135+00:00","author_handle":"frog@datadoghq.com","widgets":[{"definition":{"requests":[{"q":"sum:system.cpu.user{*} by {service,account}","show_present":false,"increase_good":false}],"type":"change"},"id":7002519636976430},{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test Custom Link label"},{"override_label":"logs","is_hidden":true,"link":"https://app.datadoghq.com/dashboard/lists"}],"title_size":"16","title":"Sum of system.cpu.user over * by service,account","title_align":"left","time":{"live_span":"1h"},"requests":[{"change_type":"absolute","order_dir":"desc","compare_to":"day_before","q":"sum:system.cpu.user{*} by {service,account}","show_present":true,"increase_good":false,"order_by":"change"}],"type":"change"},"id":4263957821410484}],"layout_type":"ordered"}' headers: Cache-Control: - no-cache @@ -154,7 +154,7 @@ interactions: Content-Type: - application/json Date: - - Fri, 12 Mar 2021 22:13:39 GMT + - Mon, 07 Jun 2021 18:52:52 GMT Pragma: - no-cache Strict-Transport-Security: @@ -164,9 +164,9 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Debug: - - l4HFlaRP3QwYSqoGKhzbYfv7zgkK63HIRR7YkyVYZspq0lGjjTBwoK8V/alf+XYt + - F5gm0Rce1/Abr9/0Fw8HAqWfiz0FdiH8er/AXnN6lOn3L6KyGgbsLCwgPlob1No8 X-Dd-Version: - - "35.4088130" + - "35.4693288" X-Frame-Options: - SAMEORIGIN status: 200 OK @@ -181,11 +181,11 @@ interactions: Dd-Operation-Id: - DeleteDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 2.4.4; terraform-cli 0.14.7) datadog-api-client-go/1.0.0-beta.16 (go go1.15.3; os darwin; arch amd64) - url: https://api.datadoghq.com/api/v1/dashboard/hbf-tfn-avt + - terraform-provider-datadog/dev (terraform 2.6.1; terraform-cli 0.15.3) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) + url: https://api.datadoghq.com/api/v1/dashboard/j8w-rr3-y9d method: DELETE response: - body: '{"deleted_dashboard_id":"hbf-tfn-avt"}' + body: '{"deleted_dashboard_id":"j8w-rr3-y9d"}' headers: Cache-Control: - no-cache @@ -196,7 +196,7 @@ interactions: Content-Type: - application/json Date: - - Fri, 12 Mar 2021 22:13:41 GMT + - Mon, 07 Jun 2021 18:53:05 GMT Pragma: - no-cache Strict-Transport-Security: @@ -206,9 +206,9 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Debug: - - HbtaOKlJ6OCrx9tMXO6ivMTrEM+g0c93HDp08trmOmgdHozC5J+vn10F0H4WPjCU + - gYZcaADwbKcv7Hm19HJx6WsLoKuOijDWAt2viPeCfWqUgyKY+9e1xZdmMJeXV3YV X-Dd-Version: - - "35.4088130" + - "35.4693288" X-Frame-Options: - SAMEORIGIN status: 200 OK @@ -223,11 +223,11 @@ interactions: Dd-Operation-Id: - GetDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 2.4.4; terraform-cli 0.14.7) datadog-api-client-go/1.0.0-beta.16 (go go1.15.3; os darwin; arch amd64) - url: https://api.datadoghq.com/api/v1/dashboard/hbf-tfn-avt + - terraform-provider-datadog/dev (terraform 2.6.1; terraform-cli 0.15.3) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) + url: https://api.datadoghq.com/api/v1/dashboard/j8w-rr3-y9d method: GET response: - body: '{"errors": ["Dashboard with ID hbf-tfn-avt not found"]}' + body: '{"errors": ["Dashboard with ID j8w-rr3-y9d not found"]}' headers: Cache-Control: - no-cache @@ -238,7 +238,7 @@ interactions: Content-Type: - application/json Date: - - Fri, 12 Mar 2021 22:13:41 GMT + - Mon, 07 Jun 2021 18:53:06 GMT Pragma: - no-cache Strict-Transport-Security: @@ -248,7 +248,7 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Version: - - "35.4088130" + - "35.4693288" X-Frame-Options: - SAMEORIGIN status: 404 Not Found diff --git a/datadog/tests/cassettes/TestAccDatadogDashboardChange_import.freeze b/datadog/tests/cassettes/TestAccDatadogDashboardChange_import.freeze index ce2a28927..6e38a3ae1 100644 --- a/datadog/tests/cassettes/TestAccDatadogDashboardChange_import.freeze +++ b/datadog/tests/cassettes/TestAccDatadogDashboardChange_import.freeze @@ -1 +1 @@ -2021-03-12T17:13:30.199134-05:00 \ No newline at end of file +2021-06-07T14:52:21.732309-04:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogDashboardChange_import.yaml b/datadog/tests/cassettes/TestAccDatadogDashboardChange_import.yaml index a5c37a6e5..7f257c62d 100644 --- a/datadog/tests/cassettes/TestAccDatadogDashboardChange_import.yaml +++ b/datadog/tests/cassettes/TestAccDatadogDashboardChange_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-TestAccDatadogDashboardChange_import-local-1615587210","widgets":[{"definition":{"requests":[{"increase_good":false,"q":"sum:system.cpu.user{*} by {service,account}","show_present":false}],"type":"change"}},{"definition":{"custom_links":[{"label":"Test Custom Link label","link":"https://app.datadoghq.com/dashboard/lists"}],"requests":[{"change_type":"absolute","compare_to":"day_before","increase_good":false,"order_by":"change","order_dir":"desc","q":"sum:system.cpu.user{*} by {service,account}","show_present":true}],"time":{"live_span":"1h"},"title":"Sum of system.cpu.user over * by service,account","title_align":"left","title_size":"16","type":"change"}}]} + {"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-TestAccDatadogDashboardChange_import-local-1623091941","widgets":[{"definition":{"requests":[{"increase_good":false,"q":"sum:system.cpu.user{*} by {service,account}","show_present":false}],"type":"change"}},{"definition":{"custom_links":[{"label":"Test Custom Link label","link":"https://app.datadoghq.com/dashboard/lists"}],"requests":[{"change_type":"absolute","compare_to":"day_before","increase_good":false,"order_by":"change","order_dir":"desc","q":"sum:system.cpu.user{*} by {service,account}","show_present":true}],"time":{"live_span":"1h"},"title":"Sum of system.cpu.user over * by service,account","title_align":"left","title_size":"16","type":"change"}}]} form: {} headers: Accept: @@ -13,11 +13,11 @@ interactions: Dd-Operation-Id: - CreateDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 2.4.4; terraform-cli 0.14.7) datadog-api-client-go/1.0.0-beta.16 (go go1.15.3; os darwin; arch amd64) + - terraform-provider-datadog/dev (terraform 2.6.1; terraform-cli 0.15.3) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) 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":"xzt-qb9-3u9","title":"tf-TestAccDatadogDashboardChange_import-local-1615587210","url":"/dashboard/xzt-qb9-3u9/tf-testaccdatadogdashboardchangeimport-local-1615587210","created_at":"2021-03-12T22:13:31.950350+00:00","modified_at":"2021-03-12T22:13:31.950350+00:00","author_handle":"frog@datadoghq.com","widgets":[{"definition":{"requests":[{"q":"sum:system.cpu.user{*} by {service,account}","show_present":false,"increase_good":false}],"type":"change"},"id":1549510653805565},{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test Custom Link label"}],"title_size":"16","title":"Sum of system.cpu.user over * by service,account","title_align":"left","time":{"live_span":"1h"},"requests":[{"change_type":"absolute","order_dir":"desc","compare_to":"day_before","q":"sum:system.cpu.user{*} by {service,account}","show_present":true,"increase_good":false,"order_by":"change"}],"type":"change"},"id":2228906748104341}],"layout_type":"ordered"}' + body: '{"notify_list":[],"description":"Created using the Datadog provider in Terraform","author_name":null,"template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"fsx-pyw-xgy","title":"tf-TestAccDatadogDashboardChange_import-local-1623091941","url":"/dashboard/fsx-pyw-xgy/tf-testaccdatadogdashboardchangeimport-local-1623091941","created_at":"2021-06-07T18:52:38.505514+00:00","modified_at":"2021-06-07T18:52:38.505514+00:00","author_handle":"frog@datadoghq.com","widgets":[{"definition":{"requests":[{"q":"sum:system.cpu.user{*} by {service,account}","show_present":false,"increase_good":false}],"type":"change"},"id":6857618486972397},{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test Custom Link label"}],"title_size":"16","title":"Sum of system.cpu.user over * by service,account","title_align":"left","time":{"live_span":"1h"},"requests":[{"change_type":"absolute","order_dir":"desc","compare_to":"day_before","q":"sum:system.cpu.user{*} by {service,account}","show_present":true,"increase_good":false,"order_by":"change"}],"type":"change"},"id":3519026385133017}],"layout_type":"ordered"}' headers: Cache-Control: - no-cache @@ -28,7 +28,7 @@ interactions: Content-Type: - application/json Date: - - Fri, 12 Mar 2021 22:13:34 GMT + - Mon, 07 Jun 2021 18:52:39 GMT Pragma: - no-cache Strict-Transport-Security: @@ -38,9 +38,9 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Debug: - - HbtaOKlJ6OCrx9tMXO6ivMTrEM+g0c93HDp08trmOmgdHozC5J+vn10F0H4WPjCU + - /L+SFFO+m1pPY+hRCpk5325fvfrNl0KmiquUNJolBN/5hu3HIwflqjZSbJ6NxDFG X-Dd-Version: - - "35.4088130" + - "35.4693288" X-Frame-Options: - SAMEORIGIN status: 200 OK @@ -55,11 +55,11 @@ interactions: Dd-Operation-Id: - GetDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 2.4.4; terraform-cli 0.14.7) datadog-api-client-go/1.0.0-beta.16 (go go1.15.3; os darwin; arch amd64) - url: https://api.datadoghq.com/api/v1/dashboard/xzt-qb9-3u9 + - terraform-provider-datadog/dev (terraform 2.6.1; terraform-cli 0.15.3) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) + url: https://api.datadoghq.com/api/v1/dashboard/fsx-pyw-xgy 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":"xzt-qb9-3u9","title":"tf-TestAccDatadogDashboardChange_import-local-1615587210","url":"/dashboard/xzt-qb9-3u9/tf-testaccdatadogdashboardchangeimport-local-1615587210","created_at":"2021-03-12T22:13:31.950350+00:00","modified_at":"2021-03-12T22:13:31.950350+00:00","author_handle":"frog@datadoghq.com","widgets":[{"definition":{"requests":[{"q":"sum:system.cpu.user{*} by {service,account}","show_present":false,"increase_good":false}],"type":"change"},"id":1549510653805565},{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test Custom Link label"}],"title_size":"16","title":"Sum of system.cpu.user over * by service,account","title_align":"left","time":{"live_span":"1h"},"requests":[{"change_type":"absolute","order_dir":"desc","compare_to":"day_before","q":"sum:system.cpu.user{*} by {service,account}","show_present":true,"increase_good":false,"order_by":"change"}],"type":"change"},"id":2228906748104341}],"layout_type":"ordered"}' + body: '{"notify_list":[],"description":"Created using the Datadog provider in Terraform","author_name":null,"template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"fsx-pyw-xgy","title":"tf-TestAccDatadogDashboardChange_import-local-1623091941","url":"/dashboard/fsx-pyw-xgy/tf-testaccdatadogdashboardchangeimport-local-1623091941","created_at":"2021-06-07T18:52:38.505514+00:00","modified_at":"2021-06-07T18:52:38.505514+00:00","author_handle":"frog@datadoghq.com","widgets":[{"definition":{"requests":[{"q":"sum:system.cpu.user{*} by {service,account}","show_present":false,"increase_good":false}],"type":"change"},"id":6857618486972397},{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test Custom Link label"}],"title_size":"16","title":"Sum of system.cpu.user over * by service,account","title_align":"left","time":{"live_span":"1h"},"requests":[{"change_type":"absolute","order_dir":"desc","compare_to":"day_before","q":"sum:system.cpu.user{*} by {service,account}","show_present":true,"increase_good":false,"order_by":"change"}],"type":"change"},"id":3519026385133017}],"layout_type":"ordered"}' headers: Cache-Control: - no-cache @@ -70,7 +70,7 @@ interactions: Content-Type: - application/json Date: - - Fri, 12 Mar 2021 22:13:34 GMT + - Mon, 07 Jun 2021 18:52:39 GMT Pragma: - no-cache Strict-Transport-Security: @@ -80,9 +80,9 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Debug: - - 25u1gDlL724DHllbjFT4BhOLorBTilh+aah2uWAUEjFC/+rjczJdiyWrV/HwLwe/ + - 5gfwVh/5HZ+AnGd/Di93w3NEWC6KMHT9KzmHEiRJmNdOjBtAsbOcgVFyqEChw71h X-Dd-Version: - - "35.4088130" + - "35.4693288" X-Frame-Options: - SAMEORIGIN status: 200 OK @@ -97,11 +97,11 @@ interactions: Dd-Operation-Id: - GetDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 2.4.4; terraform-cli ) datadog-api-client-go/1.0.0-beta.16 (go go1.15.3; os darwin; arch amd64) - url: https://api.datadoghq.com/api/v1/dashboard/xzt-qb9-3u9 + - terraform-provider-datadog/dev (terraform 2.6.1; terraform-cli 0.15.3) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) + url: https://api.datadoghq.com/api/v1/dashboard/fsx-pyw-xgy 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":"xzt-qb9-3u9","title":"tf-TestAccDatadogDashboardChange_import-local-1615587210","url":"/dashboard/xzt-qb9-3u9/tf-testaccdatadogdashboardchangeimport-local-1615587210","created_at":"2021-03-12T22:13:31.950350+00:00","modified_at":"2021-03-12T22:13:31.950350+00:00","author_handle":"frog@datadoghq.com","widgets":[{"definition":{"requests":[{"q":"sum:system.cpu.user{*} by {service,account}","show_present":false,"increase_good":false}],"type":"change"},"id":1549510653805565},{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test Custom Link label"}],"title_size":"16","title":"Sum of system.cpu.user over * by service,account","title_align":"left","time":{"live_span":"1h"},"requests":[{"change_type":"absolute","order_dir":"desc","compare_to":"day_before","q":"sum:system.cpu.user{*} by {service,account}","show_present":true,"increase_good":false,"order_by":"change"}],"type":"change"},"id":2228906748104341}],"layout_type":"ordered"}' + body: '{"notify_list":[],"description":"Created using the Datadog provider in Terraform","author_name":null,"template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"fsx-pyw-xgy","title":"tf-TestAccDatadogDashboardChange_import-local-1623091941","url":"/dashboard/fsx-pyw-xgy/tf-testaccdatadogdashboardchangeimport-local-1623091941","created_at":"2021-06-07T18:52:38.505514+00:00","modified_at":"2021-06-07T18:52:38.505514+00:00","author_handle":"frog@datadoghq.com","widgets":[{"definition":{"requests":[{"q":"sum:system.cpu.user{*} by {service,account}","show_present":false,"increase_good":false}],"type":"change"},"id":6857618486972397},{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test Custom Link label"}],"title_size":"16","title":"Sum of system.cpu.user over * by service,account","title_align":"left","time":{"live_span":"1h"},"requests":[{"change_type":"absolute","order_dir":"desc","compare_to":"day_before","q":"sum:system.cpu.user{*} by {service,account}","show_present":true,"increase_good":false,"order_by":"change"}],"type":"change"},"id":3519026385133017}],"layout_type":"ordered"}' headers: Cache-Control: - no-cache @@ -112,7 +112,7 @@ interactions: Content-Type: - application/json Date: - - Fri, 12 Mar 2021 22:13:36 GMT + - Mon, 07 Jun 2021 18:52:52 GMT Pragma: - no-cache Strict-Transport-Security: @@ -122,9 +122,9 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Debug: - - HbtaOKlJ6OCrx9tMXO6ivMTrEM+g0c93HDp08trmOmgdHozC5J+vn10F0H4WPjCU + - LcgNasIYBRkNppmD6mCKE9J6iv0eEjosuuHR5V5zw2fWbR54i39C8dhdK8zDq/40 X-Dd-Version: - - "35.4088130" + - "35.4693288" X-Frame-Options: - SAMEORIGIN status: 200 OK @@ -139,11 +139,11 @@ interactions: Dd-Operation-Id: - GetDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 2.4.4; terraform-cli ) datadog-api-client-go/1.0.0-beta.16 (go go1.15.3; os darwin; arch amd64) - url: https://api.datadoghq.com/api/v1/dashboard/xzt-qb9-3u9 + - terraform-provider-datadog/dev (terraform 2.6.1; terraform-cli 0.15.3) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) + url: https://api.datadoghq.com/api/v1/dashboard/fsx-pyw-xgy 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":"xzt-qb9-3u9","title":"tf-TestAccDatadogDashboardChange_import-local-1615587210","url":"/dashboard/xzt-qb9-3u9/tf-testaccdatadogdashboardchangeimport-local-1615587210","created_at":"2021-03-12T22:13:31.950350+00:00","modified_at":"2021-03-12T22:13:31.950350+00:00","author_handle":"frog@datadoghq.com","widgets":[{"definition":{"requests":[{"q":"sum:system.cpu.user{*} by {service,account}","show_present":false,"increase_good":false}],"type":"change"},"id":1549510653805565},{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test Custom Link label"}],"title_size":"16","title":"Sum of system.cpu.user over * by service,account","title_align":"left","time":{"live_span":"1h"},"requests":[{"change_type":"absolute","order_dir":"desc","compare_to":"day_before","q":"sum:system.cpu.user{*} by {service,account}","show_present":true,"increase_good":false,"order_by":"change"}],"type":"change"},"id":2228906748104341}],"layout_type":"ordered"}' + body: '{"notify_list":[],"description":"Created using the Datadog provider in Terraform","author_name":null,"template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"fsx-pyw-xgy","title":"tf-TestAccDatadogDashboardChange_import-local-1623091941","url":"/dashboard/fsx-pyw-xgy/tf-testaccdatadogdashboardchangeimport-local-1623091941","created_at":"2021-06-07T18:52:38.505514+00:00","modified_at":"2021-06-07T18:52:38.505514+00:00","author_handle":"frog@datadoghq.com","widgets":[{"definition":{"requests":[{"q":"sum:system.cpu.user{*} by {service,account}","show_present":false,"increase_good":false}],"type":"change"},"id":6857618486972397},{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test Custom Link label"}],"title_size":"16","title":"Sum of system.cpu.user over * by service,account","title_align":"left","time":{"live_span":"1h"},"requests":[{"change_type":"absolute","order_dir":"desc","compare_to":"day_before","q":"sum:system.cpu.user{*} by {service,account}","show_present":true,"increase_good":false,"order_by":"change"}],"type":"change"},"id":3519026385133017}],"layout_type":"ordered"}' headers: Cache-Control: - no-cache @@ -154,7 +154,7 @@ interactions: Content-Type: - application/json Date: - - Fri, 12 Mar 2021 22:13:38 GMT + - Mon, 07 Jun 2021 18:53:08 GMT Pragma: - no-cache Strict-Transport-Security: @@ -164,9 +164,9 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Debug: - - L3ULR3HwCWYmEqCWGz2Yob3chcH4pjowBacBXkncP7o+/uPqKt9yGEYf/g1AJPzQ + - l4HFlaRP3QwYSqoGKhzbYfv7zgkK63HIRR7YkyVYZspq0lGjjTBwoK8V/alf+XYt X-Dd-Version: - - "35.4088130" + - "35.4693288" X-Frame-Options: - SAMEORIGIN status: 200 OK @@ -181,11 +181,11 @@ interactions: Dd-Operation-Id: - DeleteDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 2.4.4; terraform-cli ) datadog-api-client-go/1.0.0-beta.16 (go go1.15.3; os darwin; arch amd64) - url: https://api.datadoghq.com/api/v1/dashboard/xzt-qb9-3u9 + - terraform-provider-datadog/dev (terraform 2.6.1; terraform-cli 0.15.3) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) + url: https://api.datadoghq.com/api/v1/dashboard/fsx-pyw-xgy method: DELETE response: - body: '{"deleted_dashboard_id":"xzt-qb9-3u9"}' + body: '{"deleted_dashboard_id":"fsx-pyw-xgy"}' headers: Cache-Control: - no-cache @@ -196,7 +196,7 @@ interactions: Content-Type: - application/json Date: - - Fri, 12 Mar 2021 22:13:39 GMT + - Mon, 07 Jun 2021 18:53:14 GMT Pragma: - no-cache Strict-Transport-Security: @@ -206,9 +206,9 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Debug: - - 2328yjLSqI4XmR1pVqrPRR/SFcQsbafjEpPmZx7/3PfxUK1nJQQsX+wrMelyVyj+ + - l8RQo2maZqJf6GFThBbKNE6dvthz6njusVtau3dPXJWL2RLFoN81H+BLPB/1xgs1 X-Dd-Version: - - "35.4088130" + - "35.4693288" X-Frame-Options: - SAMEORIGIN status: 200 OK @@ -223,11 +223,11 @@ interactions: Dd-Operation-Id: - GetDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 2.4.4; terraform-cli ) datadog-api-client-go/1.0.0-beta.16 (go go1.15.3; os darwin; arch amd64) - url: https://api.datadoghq.com/api/v1/dashboard/xzt-qb9-3u9 + - terraform-provider-datadog/dev (terraform 2.6.1; terraform-cli 0.15.3) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) + url: https://api.datadoghq.com/api/v1/dashboard/fsx-pyw-xgy method: GET response: - body: '{"errors": ["Dashboard with ID xzt-qb9-3u9 not found"]}' + body: '{"errors": ["Dashboard with ID fsx-pyw-xgy not found"]}' headers: Cache-Control: - no-cache @@ -238,7 +238,7 @@ interactions: Content-Type: - application/json Date: - - Fri, 12 Mar 2021 22:13:39 GMT + - Mon, 07 Jun 2021 18:53:15 GMT Pragma: - no-cache Strict-Transport-Security: @@ -248,7 +248,7 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Version: - - "35.4088130" + - "35.4693288" X-Frame-Options: - SAMEORIGIN status: 404 Not Found diff --git a/datadog/tests/cassettes/TestAccDatadogDashboardGeomap.freeze b/datadog/tests/cassettes/TestAccDatadogDashboardGeomap.freeze index 7c3395c3c..d3ffbc6ab 100644 --- a/datadog/tests/cassettes/TestAccDatadogDashboardGeomap.freeze +++ b/datadog/tests/cassettes/TestAccDatadogDashboardGeomap.freeze @@ -1 +1 @@ -2021-03-12T17:13:16.636793-05:00 \ No newline at end of file +2021-06-07T14:56:00.068169-04:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogDashboardGeomap.yaml b/datadog/tests/cassettes/TestAccDatadogDashboardGeomap.yaml index 84aeac5f3..810af663f 100644 --- a/datadog/tests/cassettes/TestAccDatadogDashboardGeomap.yaml +++ b/datadog/tests/cassettes/TestAccDatadogDashboardGeomap.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-TestAccDatadogDashboardGeomap-local-1615587196","widgets":[{"definition":{"requests":[{"q":"avg:system.load.1{*}"}],"style":{"palette":"hostmap_blues","palette_flip":false},"type":"geomap","view":{"focus":"WORLD"}}},{"definition":{"custom_links":[{"label":"Test Custom Link label","link":"https://app.datadoghq.com/dashboard/lists"}],"requests":[{"log_query":{"compute":{"aggregation":"count"},"index":"*","search":{"query":""}}}],"style":{"palette":"hostmap_blues","palette_flip":false},"time":{"live_span":"1h"},"type":"geomap","view":{"focus":"WORLD"}}},{"definition":{"requests":[{"rum_query":{"compute":{"aggregation":"count"},"index":"*","search":{"query":""}}}],"style":{"palette":"hostmap_blues","palette_flip":false},"time":{"live_span":"4h"},"type":"geomap","view":{"focus":"WORLD"}}}]} + {"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-TestAccDatadogDashboardGeomap-local-1623092160","widgets":[{"definition":{"requests":[{"q":"avg:system.load.1{*}"}],"style":{"palette":"hostmap_blues","palette_flip":false},"type":"geomap","view":{"focus":"WORLD"}}},{"definition":{"custom_links":[{"label":"Test Custom Link label","link":"https://app.datadoghq.com/dashboard/lists"},{"is_hidden":true,"link":"https://app.datadoghq.com/dashboard/lists","override_label":"logs"}],"requests":[{"log_query":{"compute":{"aggregation":"count"},"index":"*","search":{"query":""}}}],"style":{"palette":"hostmap_blues","palette_flip":false},"time":{"live_span":"1h"},"type":"geomap","view":{"focus":"WORLD"}}},{"definition":{"requests":[{"rum_query":{"compute":{"aggregation":"count"},"index":"*","search":{"query":""}}}],"style":{"palette":"hostmap_blues","palette_flip":false},"time":{"live_span":"4h"},"type":"geomap","view":{"focus":"WORLD"}}}]} form: {} headers: Accept: @@ -13,11 +13,11 @@ interactions: Dd-Operation-Id: - CreateDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 2.4.4; terraform-cli 0.14.7) datadog-api-client-go/1.0.0-beta.16 (go go1.15.3; os darwin; arch amd64) + - terraform-provider-datadog/dev (terraform 2.6.1; terraform-cli 0.15.3) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) 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":"bei-4q2-9s7","title":"tf-TestAccDatadogDashboardGeomap-local-1615587196","url":"/dashboard/bei-4q2-9s7/tf-testaccdatadogdashboardgeomap-local-1615587196","created_at":"2021-03-12T22:13:19.406367+00:00","modified_at":"2021-03-12T22:13:19.406367+00:00","author_handle":"frog@datadoghq.com","widgets":[{"definition":{"requests":[{"q":"avg:system.load.1{*}"}],"type":"geomap","style":{"palette":"hostmap_blues","palette_flip":false},"view":{"focus":"WORLD"}},"id":4537250059284788},{"definition":{"style":{"palette":"hostmap_blues","palette_flip":false},"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test Custom Link label"}],"time":{"live_span":"1h"},"requests":[{"log_query":{"index":"*","search":{"query":""},"compute":{"aggregation":"count"}}}],"type":"geomap","view":{"focus":"WORLD"}},"id":1777399068654761},{"definition":{"requests":[{"rum_query":{"index":"*","search":{"query":""},"compute":{"aggregation":"count"}}}],"view":{"focus":"WORLD"},"type":"geomap","style":{"palette":"hostmap_blues","palette_flip":false},"time":{"live_span":"4h"}},"id":7033147005132858}],"layout_type":"ordered"}' + body: '{"notify_list":[],"description":"Created using the Datadog provider in Terraform","author_name":null,"template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"3r2-kq7-g4k","title":"tf-TestAccDatadogDashboardGeomap-local-1623092160","url":"/dashboard/3r2-kq7-g4k/tf-testaccdatadogdashboardgeomap-local-1623092160","created_at":"2021-06-07T18:56:30.540313+00:00","modified_at":"2021-06-07T18:56:30.540313+00:00","author_handle":"frog@datadoghq.com","widgets":[{"definition":{"requests":[{"q":"avg:system.load.1{*}"}],"type":"geomap","style":{"palette":"hostmap_blues","palette_flip":false},"view":{"focus":"WORLD"}},"id":5909348587467191},{"definition":{"style":{"palette":"hostmap_blues","palette_flip":false},"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test Custom Link label"},{"override_label":"logs","is_hidden":true,"link":"https://app.datadoghq.com/dashboard/lists"}],"time":{"live_span":"1h"},"requests":[{"log_query":{"index":"*","search":{"query":""},"compute":{"aggregation":"count"}}}],"type":"geomap","view":{"focus":"WORLD"}},"id":5301594787143510},{"definition":{"requests":[{"rum_query":{"index":"*","search":{"query":""},"compute":{"aggregation":"count"}}}],"view":{"focus":"WORLD"},"type":"geomap","style":{"palette":"hostmap_blues","palette_flip":false},"time":{"live_span":"4h"}},"id":6351923636628786}],"layout_type":"ordered"}' headers: Cache-Control: - no-cache @@ -28,7 +28,7 @@ interactions: Content-Type: - application/json Date: - - Fri, 12 Mar 2021 22:13:22 GMT + - Mon, 07 Jun 2021 18:56:31 GMT Pragma: - no-cache Strict-Transport-Security: @@ -38,9 +38,9 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Debug: - - HbtaOKlJ6OCrx9tMXO6ivMTrEM+g0c93HDp08trmOmgdHozC5J+vn10F0H4WPjCU + - vdJ3/nHEY1ioXQ6pQrBVvsQK1s4yyc+wufBMPSoXql71qZVuP/xMdtNo6DafhOAk X-Dd-Version: - - "35.4088130" + - "35.4693288" X-Frame-Options: - SAMEORIGIN status: 200 OK @@ -55,11 +55,11 @@ interactions: Dd-Operation-Id: - GetDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 2.4.4; terraform-cli 0.14.7) datadog-api-client-go/1.0.0-beta.16 (go go1.15.3; os darwin; arch amd64) - url: https://api.datadoghq.com/api/v1/dashboard/bei-4q2-9s7 + - terraform-provider-datadog/dev (terraform 2.6.1; terraform-cli 0.15.3) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) + url: https://api.datadoghq.com/api/v1/dashboard/3r2-kq7-g4k 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":"bei-4q2-9s7","title":"tf-TestAccDatadogDashboardGeomap-local-1615587196","url":"/dashboard/bei-4q2-9s7/tf-testaccdatadogdashboardgeomap-local-1615587196","created_at":"2021-03-12T22:13:19.406367+00:00","modified_at":"2021-03-12T22:13:19.406367+00:00","author_handle":"frog@datadoghq.com","widgets":[{"definition":{"requests":[{"q":"avg:system.load.1{*}"}],"type":"geomap","style":{"palette":"hostmap_blues","palette_flip":false},"view":{"focus":"WORLD"}},"id":4537250059284788},{"definition":{"style":{"palette":"hostmap_blues","palette_flip":false},"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test Custom Link label"}],"time":{"live_span":"1h"},"requests":[{"log_query":{"index":"*","search":{"query":""},"compute":{"aggregation":"count"}}}],"type":"geomap","view":{"focus":"WORLD"}},"id":1777399068654761},{"definition":{"requests":[{"rum_query":{"index":"*","search":{"query":""},"compute":{"aggregation":"count"}}}],"view":{"focus":"WORLD"},"type":"geomap","style":{"palette":"hostmap_blues","palette_flip":false},"time":{"live_span":"4h"}},"id":7033147005132858}],"layout_type":"ordered"}' + body: '{"notify_list":[],"description":"Created using the Datadog provider in Terraform","author_name":null,"template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"3r2-kq7-g4k","title":"tf-TestAccDatadogDashboardGeomap-local-1623092160","url":"/dashboard/3r2-kq7-g4k/tf-testaccdatadogdashboardgeomap-local-1623092160","created_at":"2021-06-07T18:56:30.540313+00:00","modified_at":"2021-06-07T18:56:30.540313+00:00","author_handle":"frog@datadoghq.com","widgets":[{"definition":{"requests":[{"q":"avg:system.load.1{*}"}],"type":"geomap","style":{"palette":"hostmap_blues","palette_flip":false},"view":{"focus":"WORLD"}},"id":5909348587467191},{"definition":{"style":{"palette":"hostmap_blues","palette_flip":false},"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test Custom Link label"},{"override_label":"logs","is_hidden":true,"link":"https://app.datadoghq.com/dashboard/lists"}],"time":{"live_span":"1h"},"requests":[{"log_query":{"index":"*","search":{"query":""},"compute":{"aggregation":"count"}}}],"type":"geomap","view":{"focus":"WORLD"}},"id":5301594787143510},{"definition":{"requests":[{"rum_query":{"index":"*","search":{"query":""},"compute":{"aggregation":"count"}}}],"view":{"focus":"WORLD"},"type":"geomap","style":{"palette":"hostmap_blues","palette_flip":false},"time":{"live_span":"4h"}},"id":6351923636628786}],"layout_type":"ordered"}' headers: Cache-Control: - no-cache @@ -70,7 +70,7 @@ interactions: Content-Type: - application/json Date: - - Fri, 12 Mar 2021 22:13:22 GMT + - Mon, 07 Jun 2021 18:56:31 GMT Pragma: - no-cache Strict-Transport-Security: @@ -80,9 +80,9 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Debug: - - mNzaoDhdDKO7t4QSrAe5X7pHd0bJND187D+vRbwoluXouE2m1UaQQX0RGCvRpLVE + - bgHykj7A9bfZx0Y5ZO3swhhp5tGUSNJHqFWR868+qg087CYrDOd5hQslC+noiEtH X-Dd-Version: - - "35.4088130" + - "35.4693288" X-Frame-Options: - SAMEORIGIN status: 200 OK @@ -97,11 +97,11 @@ interactions: Dd-Operation-Id: - GetDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 2.4.4; terraform-cli 0.14.7) datadog-api-client-go/1.0.0-beta.16 (go go1.15.3; os darwin; arch amd64) - url: https://api.datadoghq.com/api/v1/dashboard/bei-4q2-9s7 + - terraform-provider-datadog/dev (terraform 2.6.1; terraform-cli 0.15.3) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) + url: https://api.datadoghq.com/api/v1/dashboard/3r2-kq7-g4k 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":"bei-4q2-9s7","title":"tf-TestAccDatadogDashboardGeomap-local-1615587196","url":"/dashboard/bei-4q2-9s7/tf-testaccdatadogdashboardgeomap-local-1615587196","created_at":"2021-03-12T22:13:19.406367+00:00","modified_at":"2021-03-12T22:13:19.406367+00:00","author_handle":"frog@datadoghq.com","widgets":[{"definition":{"requests":[{"q":"avg:system.load.1{*}"}],"type":"geomap","style":{"palette":"hostmap_blues","palette_flip":false},"view":{"focus":"WORLD"}},"id":4537250059284788},{"definition":{"style":{"palette":"hostmap_blues","palette_flip":false},"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test Custom Link label"}],"time":{"live_span":"1h"},"requests":[{"log_query":{"index":"*","search":{"query":""},"compute":{"aggregation":"count"}}}],"type":"geomap","view":{"focus":"WORLD"}},"id":1777399068654761},{"definition":{"requests":[{"rum_query":{"index":"*","search":{"query":""},"compute":{"aggregation":"count"}}}],"view":{"focus":"WORLD"},"type":"geomap","style":{"palette":"hostmap_blues","palette_flip":false},"time":{"live_span":"4h"}},"id":7033147005132858}],"layout_type":"ordered"}' + body: '{"notify_list":[],"description":"Created using the Datadog provider in Terraform","author_name":null,"template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"3r2-kq7-g4k","title":"tf-TestAccDatadogDashboardGeomap-local-1623092160","url":"/dashboard/3r2-kq7-g4k/tf-testaccdatadogdashboardgeomap-local-1623092160","created_at":"2021-06-07T18:56:30.540313+00:00","modified_at":"2021-06-07T18:56:30.540313+00:00","author_handle":"frog@datadoghq.com","widgets":[{"definition":{"requests":[{"q":"avg:system.load.1{*}"}],"type":"geomap","style":{"palette":"hostmap_blues","palette_flip":false},"view":{"focus":"WORLD"}},"id":5909348587467191},{"definition":{"style":{"palette":"hostmap_blues","palette_flip":false},"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test Custom Link label"},{"override_label":"logs","is_hidden":true,"link":"https://app.datadoghq.com/dashboard/lists"}],"time":{"live_span":"1h"},"requests":[{"log_query":{"index":"*","search":{"query":""},"compute":{"aggregation":"count"}}}],"type":"geomap","view":{"focus":"WORLD"}},"id":5301594787143510},{"definition":{"requests":[{"rum_query":{"index":"*","search":{"query":""},"compute":{"aggregation":"count"}}}],"view":{"focus":"WORLD"},"type":"geomap","style":{"palette":"hostmap_blues","palette_flip":false},"time":{"live_span":"4h"}},"id":6351923636628786}],"layout_type":"ordered"}' headers: Cache-Control: - no-cache @@ -112,7 +112,7 @@ interactions: Content-Type: - application/json Date: - - Fri, 12 Mar 2021 22:13:23 GMT + - Mon, 07 Jun 2021 18:56:35 GMT Pragma: - no-cache Strict-Transport-Security: @@ -122,9 +122,9 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Debug: - - F5gm0Rce1/Abr9/0Fw8HAqWfiz0FdiH8er/AXnN6lOn3L6KyGgbsLCwgPlob1No8 + - 5gfwVh/5HZ+AnGd/Di93w3NEWC6KMHT9KzmHEiRJmNdOjBtAsbOcgVFyqEChw71h X-Dd-Version: - - "35.4088130" + - "35.4693288" X-Frame-Options: - SAMEORIGIN status: 200 OK @@ -139,11 +139,11 @@ interactions: Dd-Operation-Id: - GetDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 2.4.4; terraform-cli 0.14.7) datadog-api-client-go/1.0.0-beta.16 (go go1.15.3; os darwin; arch amd64) - url: https://api.datadoghq.com/api/v1/dashboard/bei-4q2-9s7 + - terraform-provider-datadog/dev (terraform 2.6.1; terraform-cli 0.15.3) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) + url: https://api.datadoghq.com/api/v1/dashboard/3r2-kq7-g4k 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":"bei-4q2-9s7","title":"tf-TestAccDatadogDashboardGeomap-local-1615587196","url":"/dashboard/bei-4q2-9s7/tf-testaccdatadogdashboardgeomap-local-1615587196","created_at":"2021-03-12T22:13:19.406367+00:00","modified_at":"2021-03-12T22:13:19.406367+00:00","author_handle":"frog@datadoghq.com","widgets":[{"definition":{"requests":[{"q":"avg:system.load.1{*}"}],"type":"geomap","style":{"palette":"hostmap_blues","palette_flip":false},"view":{"focus":"WORLD"}},"id":4537250059284788},{"definition":{"style":{"palette":"hostmap_blues","palette_flip":false},"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test Custom Link label"}],"time":{"live_span":"1h"},"requests":[{"log_query":{"index":"*","search":{"query":""},"compute":{"aggregation":"count"}}}],"type":"geomap","view":{"focus":"WORLD"}},"id":1777399068654761},{"definition":{"requests":[{"rum_query":{"index":"*","search":{"query":""},"compute":{"aggregation":"count"}}}],"view":{"focus":"WORLD"},"type":"geomap","style":{"palette":"hostmap_blues","palette_flip":false},"time":{"live_span":"4h"}},"id":7033147005132858}],"layout_type":"ordered"}' + body: '{"notify_list":[],"description":"Created using the Datadog provider in Terraform","author_name":null,"template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"3r2-kq7-g4k","title":"tf-TestAccDatadogDashboardGeomap-local-1623092160","url":"/dashboard/3r2-kq7-g4k/tf-testaccdatadogdashboardgeomap-local-1623092160","created_at":"2021-06-07T18:56:30.540313+00:00","modified_at":"2021-06-07T18:56:30.540313+00:00","author_handle":"frog@datadoghq.com","widgets":[{"definition":{"requests":[{"q":"avg:system.load.1{*}"}],"type":"geomap","style":{"palette":"hostmap_blues","palette_flip":false},"view":{"focus":"WORLD"}},"id":5909348587467191},{"definition":{"style":{"palette":"hostmap_blues","palette_flip":false},"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test Custom Link label"},{"override_label":"logs","is_hidden":true,"link":"https://app.datadoghq.com/dashboard/lists"}],"time":{"live_span":"1h"},"requests":[{"log_query":{"index":"*","search":{"query":""},"compute":{"aggregation":"count"}}}],"type":"geomap","view":{"focus":"WORLD"}},"id":5301594787143510},{"definition":{"requests":[{"rum_query":{"index":"*","search":{"query":""},"compute":{"aggregation":"count"}}}],"view":{"focus":"WORLD"},"type":"geomap","style":{"palette":"hostmap_blues","palette_flip":false},"time":{"live_span":"4h"}},"id":6351923636628786}],"layout_type":"ordered"}' headers: Cache-Control: - no-cache @@ -154,7 +154,7 @@ interactions: Content-Type: - application/json Date: - - Fri, 12 Mar 2021 22:13:24 GMT + - Mon, 07 Jun 2021 18:56:46 GMT Pragma: - no-cache Strict-Transport-Security: @@ -164,9 +164,9 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Debug: - - B1nwy/pPNqX+q4pQT22cdp1QCexE35IF8qwSHy0Nf7IW0Y881qtn4tXN1lpmzaKc + - l8RQo2maZqJf6GFThBbKNE6dvthz6njusVtau3dPXJWL2RLFoN81H+BLPB/1xgs1 X-Dd-Version: - - "35.4088130" + - "35.4693288" X-Frame-Options: - SAMEORIGIN status: 200 OK @@ -181,11 +181,11 @@ interactions: Dd-Operation-Id: - DeleteDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 2.4.4; terraform-cli ) datadog-api-client-go/1.0.0-beta.16 (go go1.15.3; os darwin; arch amd64) - url: https://api.datadoghq.com/api/v1/dashboard/bei-4q2-9s7 + - terraform-provider-datadog/dev (terraform 2.6.1; terraform-cli 0.15.3) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) + url: https://api.datadoghq.com/api/v1/dashboard/3r2-kq7-g4k method: DELETE response: - body: '{"deleted_dashboard_id":"bei-4q2-9s7"}' + body: '{"deleted_dashboard_id":"3r2-kq7-g4k"}' headers: Cache-Control: - no-cache @@ -196,7 +196,7 @@ interactions: Content-Type: - application/json Date: - - Fri, 12 Mar 2021 22:13:26 GMT + - Mon, 07 Jun 2021 18:57:06 GMT Pragma: - no-cache Strict-Transport-Security: @@ -206,9 +206,9 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Debug: - - tpRCH6w417YjBovRJ8VmtuXmNONVYiRp2c8d2AxjPdGBn8PCtgG4vAztrx3qUZAN + - l8RQo2maZqJf6GFThBbKNE6dvthz6njusVtau3dPXJWL2RLFoN81H+BLPB/1xgs1 X-Dd-Version: - - "35.4088130" + - "35.4693288" X-Frame-Options: - SAMEORIGIN status: 200 OK @@ -223,11 +223,11 @@ interactions: Dd-Operation-Id: - GetDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 2.4.4; terraform-cli ) datadog-api-client-go/1.0.0-beta.16 (go go1.15.3; os darwin; arch amd64) - url: https://api.datadoghq.com/api/v1/dashboard/bei-4q2-9s7 + - terraform-provider-datadog/dev (terraform 2.6.1; terraform-cli 0.15.3) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) + url: https://api.datadoghq.com/api/v1/dashboard/3r2-kq7-g4k method: GET response: - body: '{"errors": ["Dashboard with ID bei-4q2-9s7 not found"]}' + body: '{"errors": ["Dashboard with ID 3r2-kq7-g4k not found"]}' headers: Cache-Control: - no-cache @@ -238,7 +238,7 @@ interactions: Content-Type: - application/json Date: - - Fri, 12 Mar 2021 22:13:26 GMT + - Mon, 07 Jun 2021 18:57:06 GMT Pragma: - no-cache Strict-Transport-Security: @@ -248,7 +248,7 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Version: - - "35.4088130" + - "35.4693288" X-Frame-Options: - SAMEORIGIN status: 404 Not Found diff --git a/datadog/tests/cassettes/TestAccDatadogDashboardGeomapFormula.freeze b/datadog/tests/cassettes/TestAccDatadogDashboardGeomapFormula.freeze index 12046087a..aef0c5e69 100644 --- a/datadog/tests/cassettes/TestAccDatadogDashboardGeomapFormula.freeze +++ b/datadog/tests/cassettes/TestAccDatadogDashboardGeomapFormula.freeze @@ -1 +1 @@ -2021-04-27T08:58:27.619933+02:00 \ No newline at end of file +2021-06-07T14:56:00.068244-04:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogDashboardGeomapFormula.yaml b/datadog/tests/cassettes/TestAccDatadogDashboardGeomapFormula.yaml index d8271a5a9..d504d5d41 100644 --- a/datadog/tests/cassettes/TestAccDatadogDashboardGeomapFormula.yaml +++ b/datadog/tests/cassettes/TestAccDatadogDashboardGeomapFormula.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-TestAccDatadogDashboardGeomapFormula-local-1619506707","widgets":[{"definition":{"requests":[{"formulas":[{"formula":"query1 + query2","limit":{"count":10,"order":"asc"}}],"queries":[{"aggregator":"sum","data_source":"metrics","name":"query1","query":"avg:system.cpu.system{*} by {datacenter}"},{"aggregator":"sum","data_source":"metrics","name":"query2","query":"avg:system.load.1{*} by {datacenter}"}],"response_format":"scalar"}],"style":{"palette":"hostmap_blues","palette_flip":false},"type":"geomap","view":{"focus":"WORLD"}}},{"definition":{"requests":[{"formulas":[{"formula":"query1","limit":{"count":25,"order":"desc"}}],"queries":[{"compute":{"aggregation":"count"},"data_source":"rum","indexes":["*"],"name":"query1","search":{"query":"abc"}}],"response_format":"scalar"}],"style":{"palette":"hostmap_blues","palette_flip":false},"type":"geomap","view":{"focus":"WORLD"}}},{"definition":{"custom_links":[{"label":"my custom link","link":"https://app.datadoghq.com/dashboard/lists"}],"requests":[{"formulas":[{"formula":"query1"}],"queries":[{"compute":{"aggregation":"count"},"data_source":"security_signals","indexes":["*"],"name":"query1"}],"response_format":"scalar"}],"style":{"palette":"hostmap_blues","palette_flip":false},"time":{"live_span":"4h"},"type":"geomap","view":{"focus":"WORLD"}}}]} + {"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-TestAccDatadogDashboardGeomapFormula-local-1623092160","widgets":[{"definition":{"requests":[{"formulas":[{"formula":"query1 + query2","limit":{"count":10,"order":"asc"}}],"queries":[{"aggregator":"sum","data_source":"metrics","name":"query1","query":"avg:system.cpu.system{*} by {datacenter}"},{"aggregator":"sum","data_source":"metrics","name":"query2","query":"avg:system.load.1{*} by {datacenter}"}],"response_format":"scalar"}],"style":{"palette":"hostmap_blues","palette_flip":false},"type":"geomap","view":{"focus":"WORLD"}}},{"definition":{"requests":[{"formulas":[{"formula":"query1","limit":{"count":25,"order":"desc"}}],"queries":[{"compute":{"aggregation":"count"},"data_source":"rum","indexes":["*"],"name":"query1","search":{"query":"abc"}}],"response_format":"scalar"}],"style":{"palette":"hostmap_blues","palette_flip":false},"type":"geomap","view":{"focus":"WORLD"}}},{"definition":{"custom_links":[{"label":"my custom link","link":"https://app.datadoghq.com/dashboard/lists"}],"requests":[{"formulas":[{"formula":"query1"}],"queries":[{"compute":{"aggregation":"count"},"data_source":"security_signals","indexes":["*"],"name":"query1"}],"response_format":"scalar"}],"style":{"palette":"hostmap_blues","palette_flip":false},"time":{"live_span":"4h"},"type":"geomap","view":{"focus":"WORLD"}}}]} form: {} headers: Accept: @@ -13,11 +13,11 @@ interactions: Dd-Operation-Id: - CreateDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.19 (go go1.15.7; os darwin; arch amd64) + - terraform-provider-datadog/dev (terraform 2.6.1; terraform-cli 0.15.3) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) 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":"3jk-mfp-nsn","title":"tf-TestAccDatadogDashboardGeomapFormula-local-1619506707","url":"/dashboard/3jk-mfp-nsn/tf-testaccdatadogdashboardgeomapformula-local-1619506707","created_at":"2021-04-27T06:58:29.303490+00:00","modified_at":"2021-04-27T06:58:29.303490+00:00","author_handle":"frog@datadoghq.com","widgets":[{"definition":{"requests":[{"formulas":[{"formula":"query1 + query2","limit":{"count":10,"order":"asc"}}],"response_format":"scalar","queries":[{"aggregator":"sum","data_source":"metrics","name":"query1","query":"avg:system.cpu.system{*} by {datacenter}"},{"aggregator":"sum","data_source":"metrics","name":"query2","query":"avg:system.load.1{*} by {datacenter}"}]}],"type":"geomap","style":{"palette":"hostmap_blues","palette_flip":false},"view":{"focus":"WORLD"}},"id":1149146342854926},{"definition":{"requests":[{"formulas":[{"formula":"query1","limit":{"count":25,"order":"desc"}}],"response_format":"scalar","queries":[{"search":{"query":"abc"},"data_source":"rum","compute":{"aggregation":"count"},"name":"query1","indexes":["*"]}]}],"type":"geomap","style":{"palette":"hostmap_blues","palette_flip":false},"view":{"focus":"WORLD"}},"id":5478869481740425},{"definition":{"style":{"palette":"hostmap_blues","palette_flip":false},"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"my custom link"}],"time":{"live_span":"4h"},"requests":[{"formulas":[{"formula":"query1"}],"response_format":"scalar","queries":[{"data_source":"security_signals","compute":{"aggregation":"count"},"name":"query1","indexes":["*"]}]}],"type":"geomap","view":{"focus":"WORLD"}},"id":18914160855721}],"layout_type":"ordered"}' + body: '{"notify_list":[],"description":"Created using the Datadog provider in Terraform","author_name":null,"template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"6py-cu6-x88","title":"tf-TestAccDatadogDashboardGeomapFormula-local-1623092160","url":"/dashboard/6py-cu6-x88/tf-testaccdatadogdashboardgeomapformula-local-1623092160","created_at":"2021-06-07T18:56:30.550133+00:00","modified_at":"2021-06-07T18:56:30.550133+00:00","author_handle":"frog@datadoghq.com","widgets":[{"definition":{"requests":[{"formulas":[{"formula":"query1 + query2","limit":{"count":10,"order":"asc"}}],"response_format":"scalar","queries":[{"aggregator":"sum","data_source":"metrics","name":"query1","query":"avg:system.cpu.system{*} by {datacenter}"},{"aggregator":"sum","data_source":"metrics","name":"query2","query":"avg:system.load.1{*} by {datacenter}"}]}],"type":"geomap","style":{"palette":"hostmap_blues","palette_flip":false},"view":{"focus":"WORLD"}},"id":4479078063953095},{"definition":{"requests":[{"formulas":[{"formula":"query1","limit":{"count":25,"order":"desc"}}],"response_format":"scalar","queries":[{"search":{"query":"abc"},"data_source":"rum","compute":{"aggregation":"count"},"name":"query1","indexes":["*"]}]}],"type":"geomap","style":{"palette":"hostmap_blues","palette_flip":false},"view":{"focus":"WORLD"}},"id":2765548000845854},{"definition":{"style":{"palette":"hostmap_blues","palette_flip":false},"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"my custom link"}],"time":{"live_span":"4h"},"requests":[{"formulas":[{"formula":"query1"}],"response_format":"scalar","queries":[{"data_source":"security_signals","compute":{"aggregation":"count"},"name":"query1","indexes":["*"]}]}],"type":"geomap","view":{"focus":"WORLD"}},"id":1986613270554034}],"layout_type":"ordered"}' headers: Cache-Control: - no-cache @@ -28,7 +28,7 @@ interactions: Content-Type: - application/json Date: - - Tue, 27 Apr 2021 06:58:32 GMT + - Mon, 07 Jun 2021 18:56:31 GMT Pragma: - no-cache Strict-Transport-Security: @@ -38,51 +38,9 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Debug: - - Um4CoU685QqAscnxhS5BD+goWu2yX1Jd4zCfGzSsEvPPIm1qURZaF8dlLl/OEY4I - X-Dd-Version: - - "35.4397207" - X-Frame-Options: - - SAMEORIGIN - status: 200 OK - code: 200 - duration: "" -- request: - body: "" - form: {} - headers: - Accept: - - application/json - Dd-Operation-Id: - - GetDashboard - User-Agent: - - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.19 (go go1.15.7; os darwin; arch amd64) - url: https://api.datadoghq.com/api/v1/dashboard/3jk-mfp-nsn - 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":"3jk-mfp-nsn","title":"tf-TestAccDatadogDashboardGeomapFormula-local-1619506707","url":"/dashboard/3jk-mfp-nsn/tf-testaccdatadogdashboardgeomapformula-local-1619506707","created_at":"2021-04-27T06:58:29.303490+00:00","modified_at":"2021-04-27T06:58:29.303490+00:00","author_handle":"frog@datadoghq.com","widgets":[{"definition":{"requests":[{"formulas":[{"formula":"query1 + query2","limit":{"count":10,"order":"asc"}}],"response_format":"scalar","queries":[{"aggregator":"sum","data_source":"metrics","name":"query1","query":"avg:system.cpu.system{*} by {datacenter}"},{"aggregator":"sum","data_source":"metrics","name":"query2","query":"avg:system.load.1{*} by {datacenter}"}]}],"type":"geomap","style":{"palette":"hostmap_blues","palette_flip":false},"view":{"focus":"WORLD"}},"id":1149146342854926},{"definition":{"requests":[{"formulas":[{"formula":"query1","limit":{"count":25,"order":"desc"}}],"response_format":"scalar","queries":[{"search":{"query":"abc"},"data_source":"rum","compute":{"aggregation":"count"},"name":"query1","indexes":["*"]}]}],"type":"geomap","style":{"palette":"hostmap_blues","palette_flip":false},"view":{"focus":"WORLD"}},"id":5478869481740425},{"definition":{"style":{"palette":"hostmap_blues","palette_flip":false},"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"my custom link"}],"time":{"live_span":"4h"},"requests":[{"formulas":[{"formula":"query1"}],"response_format":"scalar","queries":[{"data_source":"security_signals","compute":{"aggregation":"count"},"name":"query1","indexes":["*"]}]}],"type":"geomap","view":{"focus":"WORLD"}},"id":18914160855721}],"layout_type":"ordered"}' - headers: - Cache-Control: - - no-cache - Connection: - - keep-alive - Content-Security-Policy: - - frame-ancestors 'self'; report-uri https://api.datadoghq.com/csp-report - Content-Type: - - application/json - Date: - - Tue, 27 Apr 2021 06:58:32 GMT - Pragma: - - no-cache - Strict-Transport-Security: - - max-age=15724800; - Vary: - - Accept-Encoding - X-Content-Type-Options: - - nosniff - X-Dd-Debug: - - SY1h8ScsWq+kYmtbh63ltMLFAZsQjqfrgvdfAoRX+9TzT1sgMBRYaFRwfWWRRe9a + - B1nwy/pPNqX+q4pQT22cdp1QCexE35IF8qwSHy0Nf7IW0Y881qtn4tXN1lpmzaKc X-Dd-Version: - - "35.4397207" + - "35.4693288" X-Frame-Options: - SAMEORIGIN status: 200 OK @@ -97,11 +55,11 @@ interactions: Dd-Operation-Id: - GetDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.19 (go go1.15.7; os darwin; arch amd64) - url: https://api.datadoghq.com/api/v1/dashboard/3jk-mfp-nsn + - terraform-provider-datadog/dev (terraform 2.6.1; terraform-cli 0.15.3) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) + url: https://api.datadoghq.com/api/v1/dashboard/6py-cu6-x88 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":"3jk-mfp-nsn","title":"tf-TestAccDatadogDashboardGeomapFormula-local-1619506707","url":"/dashboard/3jk-mfp-nsn/tf-testaccdatadogdashboardgeomapformula-local-1619506707","created_at":"2021-04-27T06:58:29.303490+00:00","modified_at":"2021-04-27T06:58:29.303490+00:00","author_handle":"frog@datadoghq.com","widgets":[{"definition":{"requests":[{"formulas":[{"formula":"query1 + query2","limit":{"count":10,"order":"asc"}}],"response_format":"scalar","queries":[{"aggregator":"sum","data_source":"metrics","name":"query1","query":"avg:system.cpu.system{*} by {datacenter}"},{"aggregator":"sum","data_source":"metrics","name":"query2","query":"avg:system.load.1{*} by {datacenter}"}]}],"type":"geomap","style":{"palette":"hostmap_blues","palette_flip":false},"view":{"focus":"WORLD"}},"id":1149146342854926},{"definition":{"requests":[{"formulas":[{"formula":"query1","limit":{"count":25,"order":"desc"}}],"response_format":"scalar","queries":[{"search":{"query":"abc"},"data_source":"rum","compute":{"aggregation":"count"},"name":"query1","indexes":["*"]}]}],"type":"geomap","style":{"palette":"hostmap_blues","palette_flip":false},"view":{"focus":"WORLD"}},"id":5478869481740425},{"definition":{"style":{"palette":"hostmap_blues","palette_flip":false},"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"my custom link"}],"time":{"live_span":"4h"},"requests":[{"formulas":[{"formula":"query1"}],"response_format":"scalar","queries":[{"data_source":"security_signals","compute":{"aggregation":"count"},"name":"query1","indexes":["*"]}]}],"type":"geomap","view":{"focus":"WORLD"}},"id":18914160855721}],"layout_type":"ordered"}' + body: '{"notify_list":[],"description":"Created using the Datadog provider in Terraform","author_name":null,"template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"6py-cu6-x88","title":"tf-TestAccDatadogDashboardGeomapFormula-local-1623092160","url":"/dashboard/6py-cu6-x88/tf-testaccdatadogdashboardgeomapformula-local-1623092160","created_at":"2021-06-07T18:56:30.550133+00:00","modified_at":"2021-06-07T18:56:30.550133+00:00","author_handle":"frog@datadoghq.com","widgets":[{"definition":{"requests":[{"formulas":[{"formula":"query1 + query2","limit":{"count":10,"order":"asc"}}],"response_format":"scalar","queries":[{"aggregator":"sum","data_source":"metrics","name":"query1","query":"avg:system.cpu.system{*} by {datacenter}"},{"aggregator":"sum","data_source":"metrics","name":"query2","query":"avg:system.load.1{*} by {datacenter}"}]}],"type":"geomap","style":{"palette":"hostmap_blues","palette_flip":false},"view":{"focus":"WORLD"}},"id":4479078063953095},{"definition":{"requests":[{"formulas":[{"formula":"query1","limit":{"count":25,"order":"desc"}}],"response_format":"scalar","queries":[{"search":{"query":"abc"},"data_source":"rum","compute":{"aggregation":"count"},"name":"query1","indexes":["*"]}]}],"type":"geomap","style":{"palette":"hostmap_blues","palette_flip":false},"view":{"focus":"WORLD"}},"id":2765548000845854},{"definition":{"style":{"palette":"hostmap_blues","palette_flip":false},"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"my custom link"}],"time":{"live_span":"4h"},"requests":[{"formulas":[{"formula":"query1"}],"response_format":"scalar","queries":[{"data_source":"security_signals","compute":{"aggregation":"count"},"name":"query1","indexes":["*"]}]}],"type":"geomap","view":{"focus":"WORLD"}},"id":1986613270554034}],"layout_type":"ordered"}' headers: Cache-Control: - no-cache @@ -112,7 +70,7 @@ interactions: Content-Type: - application/json Date: - - Tue, 27 Apr 2021 06:58:32 GMT + - Mon, 07 Jun 2021 18:56:31 GMT Pragma: - no-cache Strict-Transport-Security: @@ -122,9 +80,9 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Debug: - - SY1h8ScsWq+kYmtbh63ltMLFAZsQjqfrgvdfAoRX+9TzT1sgMBRYaFRwfWWRRe9a + - Um4CoU685QqAscnxhS5BD+goWu2yX1Jd4zCfGzSsEvPPIm1qURZaF8dlLl/OEY4I X-Dd-Version: - - "35.4397207" + - "35.4693288" X-Frame-Options: - SAMEORIGIN status: 200 OK @@ -139,11 +97,11 @@ interactions: Dd-Operation-Id: - GetDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.19 (go go1.15.7; os darwin; arch amd64) - url: https://api.datadoghq.com/api/v1/dashboard/3jk-mfp-nsn + - terraform-provider-datadog/dev (terraform 2.6.1; terraform-cli 0.15.3) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) + url: https://api.datadoghq.com/api/v1/dashboard/6py-cu6-x88 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":"3jk-mfp-nsn","title":"tf-TestAccDatadogDashboardGeomapFormula-local-1619506707","url":"/dashboard/3jk-mfp-nsn/tf-testaccdatadogdashboardgeomapformula-local-1619506707","created_at":"2021-04-27T06:58:29.303490+00:00","modified_at":"2021-04-27T06:58:29.303490+00:00","author_handle":"frog@datadoghq.com","widgets":[{"definition":{"requests":[{"formulas":[{"formula":"query1 + query2","limit":{"count":10,"order":"asc"}}],"response_format":"scalar","queries":[{"aggregator":"sum","data_source":"metrics","name":"query1","query":"avg:system.cpu.system{*} by {datacenter}"},{"aggregator":"sum","data_source":"metrics","name":"query2","query":"avg:system.load.1{*} by {datacenter}"}]}],"type":"geomap","style":{"palette":"hostmap_blues","palette_flip":false},"view":{"focus":"WORLD"}},"id":1149146342854926},{"definition":{"requests":[{"formulas":[{"formula":"query1","limit":{"count":25,"order":"desc"}}],"response_format":"scalar","queries":[{"search":{"query":"abc"},"data_source":"rum","compute":{"aggregation":"count"},"name":"query1","indexes":["*"]}]}],"type":"geomap","style":{"palette":"hostmap_blues","palette_flip":false},"view":{"focus":"WORLD"}},"id":5478869481740425},{"definition":{"style":{"palette":"hostmap_blues","palette_flip":false},"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"my custom link"}],"time":{"live_span":"4h"},"requests":[{"formulas":[{"formula":"query1"}],"response_format":"scalar","queries":[{"data_source":"security_signals","compute":{"aggregation":"count"},"name":"query1","indexes":["*"]}]}],"type":"geomap","view":{"focus":"WORLD"}},"id":18914160855721}],"layout_type":"ordered"}' + body: '{"notify_list":[],"description":"Created using the Datadog provider in Terraform","author_name":null,"template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"6py-cu6-x88","title":"tf-TestAccDatadogDashboardGeomapFormula-local-1623092160","url":"/dashboard/6py-cu6-x88/tf-testaccdatadogdashboardgeomapformula-local-1623092160","created_at":"2021-06-07T18:56:30.550133+00:00","modified_at":"2021-06-07T18:56:30.550133+00:00","author_handle":"frog@datadoghq.com","widgets":[{"definition":{"requests":[{"formulas":[{"formula":"query1 + query2","limit":{"count":10,"order":"asc"}}],"response_format":"scalar","queries":[{"aggregator":"sum","data_source":"metrics","name":"query1","query":"avg:system.cpu.system{*} by {datacenter}"},{"aggregator":"sum","data_source":"metrics","name":"query2","query":"avg:system.load.1{*} by {datacenter}"}]}],"type":"geomap","style":{"palette":"hostmap_blues","palette_flip":false},"view":{"focus":"WORLD"}},"id":4479078063953095},{"definition":{"requests":[{"formulas":[{"formula":"query1","limit":{"count":25,"order":"desc"}}],"response_format":"scalar","queries":[{"search":{"query":"abc"},"data_source":"rum","compute":{"aggregation":"count"},"name":"query1","indexes":["*"]}]}],"type":"geomap","style":{"palette":"hostmap_blues","palette_flip":false},"view":{"focus":"WORLD"}},"id":2765548000845854},{"definition":{"style":{"palette":"hostmap_blues","palette_flip":false},"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"my custom link"}],"time":{"live_span":"4h"},"requests":[{"formulas":[{"formula":"query1"}],"response_format":"scalar","queries":[{"data_source":"security_signals","compute":{"aggregation":"count"},"name":"query1","indexes":["*"]}]}],"type":"geomap","view":{"focus":"WORLD"}},"id":1986613270554034}],"layout_type":"ordered"}' headers: Cache-Control: - no-cache @@ -154,7 +112,7 @@ interactions: Content-Type: - application/json Date: - - Tue, 27 Apr 2021 06:58:33 GMT + - Mon, 07 Jun 2021 18:56:35 GMT Pragma: - no-cache Strict-Transport-Security: @@ -164,9 +122,9 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Debug: - - dPySkcOzIZtKyMKDAAzuysY3gNGGj6RtYogGuSb76E8mPvoqzREyRp6lPYm91hQU + - bgHykj7A9bfZx0Y5ZO3swhhp5tGUSNJHqFWR868+qg087CYrDOd5hQslC+noiEtH X-Dd-Version: - - "35.4397207" + - "35.4693288" X-Frame-Options: - SAMEORIGIN status: 200 OK @@ -181,11 +139,11 @@ interactions: Dd-Operation-Id: - GetDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.19 (go go1.15.7; os darwin; arch amd64) - url: https://api.datadoghq.com/api/v1/dashboard/3jk-mfp-nsn + - terraform-provider-datadog/dev (terraform 2.6.1; terraform-cli 0.15.3) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) + url: https://api.datadoghq.com/api/v1/dashboard/6py-cu6-x88 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":"3jk-mfp-nsn","title":"tf-TestAccDatadogDashboardGeomapFormula-local-1619506707","url":"/dashboard/3jk-mfp-nsn/tf-testaccdatadogdashboardgeomapformula-local-1619506707","created_at":"2021-04-27T06:58:29.303490+00:00","modified_at":"2021-04-27T06:58:29.303490+00:00","author_handle":"frog@datadoghq.com","widgets":[{"definition":{"requests":[{"formulas":[{"formula":"query1 + query2","limit":{"count":10,"order":"asc"}}],"response_format":"scalar","queries":[{"aggregator":"sum","data_source":"metrics","name":"query1","query":"avg:system.cpu.system{*} by {datacenter}"},{"aggregator":"sum","data_source":"metrics","name":"query2","query":"avg:system.load.1{*} by {datacenter}"}]}],"type":"geomap","style":{"palette":"hostmap_blues","palette_flip":false},"view":{"focus":"WORLD"}},"id":1149146342854926},{"definition":{"requests":[{"formulas":[{"formula":"query1","limit":{"count":25,"order":"desc"}}],"response_format":"scalar","queries":[{"search":{"query":"abc"},"data_source":"rum","compute":{"aggregation":"count"},"name":"query1","indexes":["*"]}]}],"type":"geomap","style":{"palette":"hostmap_blues","palette_flip":false},"view":{"focus":"WORLD"}},"id":5478869481740425},{"definition":{"style":{"palette":"hostmap_blues","palette_flip":false},"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"my custom link"}],"time":{"live_span":"4h"},"requests":[{"formulas":[{"formula":"query1"}],"response_format":"scalar","queries":[{"data_source":"security_signals","compute":{"aggregation":"count"},"name":"query1","indexes":["*"]}]}],"type":"geomap","view":{"focus":"WORLD"}},"id":18914160855721}],"layout_type":"ordered"}' + body: '{"notify_list":[],"description":"Created using the Datadog provider in Terraform","author_name":null,"template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"6py-cu6-x88","title":"tf-TestAccDatadogDashboardGeomapFormula-local-1623092160","url":"/dashboard/6py-cu6-x88/tf-testaccdatadogdashboardgeomapformula-local-1623092160","created_at":"2021-06-07T18:56:30.550133+00:00","modified_at":"2021-06-07T18:56:30.550133+00:00","author_handle":"frog@datadoghq.com","widgets":[{"definition":{"requests":[{"formulas":[{"formula":"query1 + query2","limit":{"count":10,"order":"asc"}}],"response_format":"scalar","queries":[{"aggregator":"sum","data_source":"metrics","name":"query1","query":"avg:system.cpu.system{*} by {datacenter}"},{"aggregator":"sum","data_source":"metrics","name":"query2","query":"avg:system.load.1{*} by {datacenter}"}]}],"type":"geomap","style":{"palette":"hostmap_blues","palette_flip":false},"view":{"focus":"WORLD"}},"id":4479078063953095},{"definition":{"requests":[{"formulas":[{"formula":"query1","limit":{"count":25,"order":"desc"}}],"response_format":"scalar","queries":[{"search":{"query":"abc"},"data_source":"rum","compute":{"aggregation":"count"},"name":"query1","indexes":["*"]}]}],"type":"geomap","style":{"palette":"hostmap_blues","palette_flip":false},"view":{"focus":"WORLD"}},"id":2765548000845854},{"definition":{"style":{"palette":"hostmap_blues","palette_flip":false},"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"my custom link"}],"time":{"live_span":"4h"},"requests":[{"formulas":[{"formula":"query1"}],"response_format":"scalar","queries":[{"data_source":"security_signals","compute":{"aggregation":"count"},"name":"query1","indexes":["*"]}]}],"type":"geomap","view":{"focus":"WORLD"}},"id":1986613270554034}],"layout_type":"ordered"}' headers: Cache-Control: - no-cache @@ -196,7 +154,7 @@ interactions: Content-Type: - application/json Date: - - Tue, 27 Apr 2021 06:58:34 GMT + - Mon, 07 Jun 2021 18:56:46 GMT Pragma: - no-cache Strict-Transport-Security: @@ -206,9 +164,9 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Debug: - - dCmL/3rURV6BPeaqeP3Rxigq41m5CAb17XjrRE42uZ01zpr07HVhbL5/3TWMkvgu + - 25u1gDlL724DHllbjFT4BhOLorBTilh+aah2uWAUEjFC/+rjczJdiyWrV/HwLwe/ X-Dd-Version: - - "35.4397207" + - "35.4693288" X-Frame-Options: - SAMEORIGIN status: 200 OK @@ -223,11 +181,11 @@ interactions: Dd-Operation-Id: - DeleteDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.19 (go go1.15.7; os darwin; arch amd64) - url: https://api.datadoghq.com/api/v1/dashboard/3jk-mfp-nsn + - terraform-provider-datadog/dev (terraform 2.6.1; terraform-cli 0.15.3) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) + url: https://api.datadoghq.com/api/v1/dashboard/6py-cu6-x88 method: DELETE response: - body: '{"deleted_dashboard_id":"3jk-mfp-nsn"}' + body: '{"deleted_dashboard_id":"6py-cu6-x88"}' headers: Cache-Control: - no-cache @@ -238,7 +196,7 @@ interactions: Content-Type: - application/json Date: - - Tue, 27 Apr 2021 06:58:34 GMT + - Mon, 07 Jun 2021 18:57:06 GMT Pragma: - no-cache Strict-Transport-Security: @@ -248,9 +206,9 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Debug: - - mNzaoDhdDKO7t4QSrAe5X7pHd0bJND187D+vRbwoluXouE2m1UaQQX0RGCvRpLVE + - dCmL/3rURV6BPeaqeP3Rxigq41m5CAb17XjrRE42uZ01zpr07HVhbL5/3TWMkvgu X-Dd-Version: - - "35.4397207" + - "35.4693288" X-Frame-Options: - SAMEORIGIN status: 200 OK @@ -265,11 +223,11 @@ interactions: Dd-Operation-Id: - GetDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.19 (go go1.15.7; os darwin; arch amd64) - url: https://api.datadoghq.com/api/v1/dashboard/3jk-mfp-nsn + - terraform-provider-datadog/dev (terraform 2.6.1; terraform-cli 0.15.3) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) + url: https://api.datadoghq.com/api/v1/dashboard/6py-cu6-x88 method: GET response: - body: '{"errors": ["Dashboard with ID 3jk-mfp-nsn not found"]}' + body: '{"errors": ["Dashboard with ID 6py-cu6-x88 not found"]}' headers: Cache-Control: - no-cache @@ -280,7 +238,7 @@ interactions: Content-Type: - application/json Date: - - Tue, 27 Apr 2021 06:58:34 GMT + - Mon, 07 Jun 2021 18:57:06 GMT Pragma: - no-cache Strict-Transport-Security: @@ -290,7 +248,7 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Version: - - "35.4397207" + - "35.4693288" X-Frame-Options: - SAMEORIGIN status: 404 Not Found diff --git a/datadog/tests/cassettes/TestAccDatadogDashboardGeomapFormula_import.freeze b/datadog/tests/cassettes/TestAccDatadogDashboardGeomapFormula_import.freeze index a807f71eb..7308727a9 100644 --- a/datadog/tests/cassettes/TestAccDatadogDashboardGeomapFormula_import.freeze +++ b/datadog/tests/cassettes/TestAccDatadogDashboardGeomapFormula_import.freeze @@ -1 +1 @@ -2021-04-27T08:58:27.620391+02:00 \ No newline at end of file +2021-06-07T14:56:00.071311-04:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogDashboardGeomapFormula_import.yaml b/datadog/tests/cassettes/TestAccDatadogDashboardGeomapFormula_import.yaml index 01b977dab..b2b64c976 100644 --- a/datadog/tests/cassettes/TestAccDatadogDashboardGeomapFormula_import.yaml +++ b/datadog/tests/cassettes/TestAccDatadogDashboardGeomapFormula_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-TestAccDatadogDashboardGeomapFormula_import-local-1619506707","widgets":[{"definition":{"requests":[{"formulas":[{"formula":"query1 + query2","limit":{"count":10,"order":"asc"}}],"queries":[{"aggregator":"sum","data_source":"metrics","name":"query1","query":"avg:system.cpu.system{*} by {datacenter}"},{"aggregator":"sum","data_source":"metrics","name":"query2","query":"avg:system.load.1{*} by {datacenter}"}],"response_format":"scalar"}],"style":{"palette":"hostmap_blues","palette_flip":false},"type":"geomap","view":{"focus":"WORLD"}}},{"definition":{"requests":[{"formulas":[{"formula":"query1","limit":{"count":25,"order":"desc"}}],"queries":[{"compute":{"aggregation":"count"},"data_source":"rum","indexes":["*"],"name":"query1","search":{"query":"abc"}}],"response_format":"scalar"}],"style":{"palette":"hostmap_blues","palette_flip":false},"type":"geomap","view":{"focus":"WORLD"}}},{"definition":{"custom_links":[{"label":"my custom link","link":"https://app.datadoghq.com/dashboard/lists"}],"requests":[{"formulas":[{"formula":"query1"}],"queries":[{"compute":{"aggregation":"count"},"data_source":"security_signals","indexes":["*"],"name":"query1"}],"response_format":"scalar"}],"style":{"palette":"hostmap_blues","palette_flip":false},"time":{"live_span":"4h"},"type":"geomap","view":{"focus":"WORLD"}}}]} + {"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-TestAccDatadogDashboardGeomapFormula_import-local-1623092160","widgets":[{"definition":{"requests":[{"formulas":[{"formula":"query1 + query2","limit":{"count":10,"order":"asc"}}],"queries":[{"aggregator":"sum","data_source":"metrics","name":"query1","query":"avg:system.cpu.system{*} by {datacenter}"},{"aggregator":"sum","data_source":"metrics","name":"query2","query":"avg:system.load.1{*} by {datacenter}"}],"response_format":"scalar"}],"style":{"palette":"hostmap_blues","palette_flip":false},"type":"geomap","view":{"focus":"WORLD"}}},{"definition":{"requests":[{"formulas":[{"formula":"query1","limit":{"count":25,"order":"desc"}}],"queries":[{"compute":{"aggregation":"count"},"data_source":"rum","indexes":["*"],"name":"query1","search":{"query":"abc"}}],"response_format":"scalar"}],"style":{"palette":"hostmap_blues","palette_flip":false},"type":"geomap","view":{"focus":"WORLD"}}},{"definition":{"custom_links":[{"label":"my custom link","link":"https://app.datadoghq.com/dashboard/lists"}],"requests":[{"formulas":[{"formula":"query1"}],"queries":[{"compute":{"aggregation":"count"},"data_source":"security_signals","indexes":["*"],"name":"query1"}],"response_format":"scalar"}],"style":{"palette":"hostmap_blues","palette_flip":false},"time":{"live_span":"4h"},"type":"geomap","view":{"focus":"WORLD"}}}]} form: {} headers: Accept: @@ -13,11 +13,11 @@ interactions: Dd-Operation-Id: - CreateDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.19 (go go1.15.7; os darwin; arch amd64) + - terraform-provider-datadog/dev (terraform 2.6.1; terraform-cli 0.15.3) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) 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":"myq-qpv-k3m","title":"tf-TestAccDatadogDashboardGeomapFormula_import-local-1619506707","url":"/dashboard/myq-qpv-k3m/tf-testaccdatadogdashboardgeomapformulaimport-local-1619506707","created_at":"2021-04-27T06:58:29.153119+00:00","modified_at":"2021-04-27T06:58:29.153119+00:00","author_handle":"frog@datadoghq.com","widgets":[{"definition":{"requests":[{"formulas":[{"formula":"query1 + query2","limit":{"count":10,"order":"asc"}}],"response_format":"scalar","queries":[{"aggregator":"sum","data_source":"metrics","name":"query1","query":"avg:system.cpu.system{*} by {datacenter}"},{"aggregator":"sum","data_source":"metrics","name":"query2","query":"avg:system.load.1{*} by {datacenter}"}]}],"type":"geomap","style":{"palette":"hostmap_blues","palette_flip":false},"view":{"focus":"WORLD"}},"id":5661738832269822},{"definition":{"requests":[{"formulas":[{"formula":"query1","limit":{"count":25,"order":"desc"}}],"response_format":"scalar","queries":[{"search":{"query":"abc"},"data_source":"rum","compute":{"aggregation":"count"},"name":"query1","indexes":["*"]}]}],"type":"geomap","style":{"palette":"hostmap_blues","palette_flip":false},"view":{"focus":"WORLD"}},"id":8505986293990458},{"definition":{"style":{"palette":"hostmap_blues","palette_flip":false},"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"my custom link"}],"time":{"live_span":"4h"},"requests":[{"formulas":[{"formula":"query1"}],"response_format":"scalar","queries":[{"data_source":"security_signals","compute":{"aggregation":"count"},"name":"query1","indexes":["*"]}]}],"type":"geomap","view":{"focus":"WORLD"}},"id":3442821028347668}],"layout_type":"ordered"}' + body: '{"notify_list":[],"description":"Created using the Datadog provider in Terraform","author_name":null,"template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"fde-84m-tz6","title":"tf-TestAccDatadogDashboardGeomapFormula_import-local-1623092160","url":"/dashboard/fde-84m-tz6/tf-testaccdatadogdashboardgeomapformulaimport-local-1623092160","created_at":"2021-06-07T18:56:30.547316+00:00","modified_at":"2021-06-07T18:56:30.547316+00:00","author_handle":"frog@datadoghq.com","widgets":[{"definition":{"requests":[{"formulas":[{"formula":"query1 + query2","limit":{"count":10,"order":"asc"}}],"response_format":"scalar","queries":[{"aggregator":"sum","data_source":"metrics","name":"query1","query":"avg:system.cpu.system{*} by {datacenter}"},{"aggregator":"sum","data_source":"metrics","name":"query2","query":"avg:system.load.1{*} by {datacenter}"}]}],"type":"geomap","style":{"palette":"hostmap_blues","palette_flip":false},"view":{"focus":"WORLD"}},"id":7801488504642393},{"definition":{"requests":[{"formulas":[{"formula":"query1","limit":{"count":25,"order":"desc"}}],"response_format":"scalar","queries":[{"search":{"query":"abc"},"data_source":"rum","compute":{"aggregation":"count"},"name":"query1","indexes":["*"]}]}],"type":"geomap","style":{"palette":"hostmap_blues","palette_flip":false},"view":{"focus":"WORLD"}},"id":3348897595402449},{"definition":{"style":{"palette":"hostmap_blues","palette_flip":false},"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"my custom link"}],"time":{"live_span":"4h"},"requests":[{"formulas":[{"formula":"query1"}],"response_format":"scalar","queries":[{"data_source":"security_signals","compute":{"aggregation":"count"},"name":"query1","indexes":["*"]}]}],"type":"geomap","view":{"focus":"WORLD"}},"id":6546087330916132}],"layout_type":"ordered"}' headers: Cache-Control: - no-cache @@ -28,7 +28,7 @@ interactions: Content-Type: - application/json Date: - - Tue, 27 Apr 2021 06:58:32 GMT + - Mon, 07 Jun 2021 18:56:31 GMT Pragma: - no-cache Strict-Transport-Security: @@ -38,9 +38,9 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Debug: - - PhosSd3Ch1B6B0DXI71steKUi7XhPDttnPiIP1NdXTw0VJNWpoUnYyBmODS5ne3q + - LcgNasIYBRkNppmD6mCKE9J6iv0eEjosuuHR5V5zw2fWbR54i39C8dhdK8zDq/40 X-Dd-Version: - - "35.4397207" + - "35.4693288" X-Frame-Options: - SAMEORIGIN status: 200 OK @@ -55,11 +55,11 @@ interactions: Dd-Operation-Id: - GetDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.19 (go go1.15.7; os darwin; arch amd64) - url: https://api.datadoghq.com/api/v1/dashboard/myq-qpv-k3m + - terraform-provider-datadog/dev (terraform 2.6.1; terraform-cli 0.15.3) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) + url: https://api.datadoghq.com/api/v1/dashboard/fde-84m-tz6 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":"myq-qpv-k3m","title":"tf-TestAccDatadogDashboardGeomapFormula_import-local-1619506707","url":"/dashboard/myq-qpv-k3m/tf-testaccdatadogdashboardgeomapformulaimport-local-1619506707","created_at":"2021-04-27T06:58:29.153119+00:00","modified_at":"2021-04-27T06:58:29.153119+00:00","author_handle":"frog@datadoghq.com","widgets":[{"definition":{"requests":[{"formulas":[{"formula":"query1 + query2","limit":{"count":10,"order":"asc"}}],"response_format":"scalar","queries":[{"aggregator":"sum","data_source":"metrics","name":"query1","query":"avg:system.cpu.system{*} by {datacenter}"},{"aggregator":"sum","data_source":"metrics","name":"query2","query":"avg:system.load.1{*} by {datacenter}"}]}],"type":"geomap","style":{"palette":"hostmap_blues","palette_flip":false},"view":{"focus":"WORLD"}},"id":5661738832269822},{"definition":{"requests":[{"formulas":[{"formula":"query1","limit":{"count":25,"order":"desc"}}],"response_format":"scalar","queries":[{"search":{"query":"abc"},"data_source":"rum","compute":{"aggregation":"count"},"name":"query1","indexes":["*"]}]}],"type":"geomap","style":{"palette":"hostmap_blues","palette_flip":false},"view":{"focus":"WORLD"}},"id":8505986293990458},{"definition":{"style":{"palette":"hostmap_blues","palette_flip":false},"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"my custom link"}],"time":{"live_span":"4h"},"requests":[{"formulas":[{"formula":"query1"}],"response_format":"scalar","queries":[{"data_source":"security_signals","compute":{"aggregation":"count"},"name":"query1","indexes":["*"]}]}],"type":"geomap","view":{"focus":"WORLD"}},"id":3442821028347668}],"layout_type":"ordered"}' + body: '{"notify_list":[],"description":"Created using the Datadog provider in Terraform","author_name":null,"template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"fde-84m-tz6","title":"tf-TestAccDatadogDashboardGeomapFormula_import-local-1623092160","url":"/dashboard/fde-84m-tz6/tf-testaccdatadogdashboardgeomapformulaimport-local-1623092160","created_at":"2021-06-07T18:56:30.547316+00:00","modified_at":"2021-06-07T18:56:30.547316+00:00","author_handle":"frog@datadoghq.com","widgets":[{"definition":{"requests":[{"formulas":[{"formula":"query1 + query2","limit":{"count":10,"order":"asc"}}],"response_format":"scalar","queries":[{"aggregator":"sum","data_source":"metrics","name":"query1","query":"avg:system.cpu.system{*} by {datacenter}"},{"aggregator":"sum","data_source":"metrics","name":"query2","query":"avg:system.load.1{*} by {datacenter}"}]}],"type":"geomap","style":{"palette":"hostmap_blues","palette_flip":false},"view":{"focus":"WORLD"}},"id":7801488504642393},{"definition":{"requests":[{"formulas":[{"formula":"query1","limit":{"count":25,"order":"desc"}}],"response_format":"scalar","queries":[{"search":{"query":"abc"},"data_source":"rum","compute":{"aggregation":"count"},"name":"query1","indexes":["*"]}]}],"type":"geomap","style":{"palette":"hostmap_blues","palette_flip":false},"view":{"focus":"WORLD"}},"id":3348897595402449},{"definition":{"style":{"palette":"hostmap_blues","palette_flip":false},"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"my custom link"}],"time":{"live_span":"4h"},"requests":[{"formulas":[{"formula":"query1"}],"response_format":"scalar","queries":[{"data_source":"security_signals","compute":{"aggregation":"count"},"name":"query1","indexes":["*"]}]}],"type":"geomap","view":{"focus":"WORLD"}},"id":6546087330916132}],"layout_type":"ordered"}' headers: Cache-Control: - no-cache @@ -70,7 +70,7 @@ interactions: Content-Type: - application/json Date: - - Tue, 27 Apr 2021 06:58:32 GMT + - Mon, 07 Jun 2021 18:56:31 GMT Pragma: - no-cache Strict-Transport-Security: @@ -80,51 +80,9 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Debug: - - tpRCH6w417YjBovRJ8VmtuXmNONVYiRp2c8d2AxjPdGBn8PCtgG4vAztrx3qUZAN - X-Dd-Version: - - "35.4397207" - X-Frame-Options: - - SAMEORIGIN - status: 200 OK - code: 200 - duration: "" -- request: - body: "" - form: {} - headers: - Accept: - - application/json - Dd-Operation-Id: - - GetDashboard - User-Agent: - - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.19 (go go1.15.7; os darwin; arch amd64) - url: https://api.datadoghq.com/api/v1/dashboard/myq-qpv-k3m - 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":"myq-qpv-k3m","title":"tf-TestAccDatadogDashboardGeomapFormula_import-local-1619506707","url":"/dashboard/myq-qpv-k3m/tf-testaccdatadogdashboardgeomapformulaimport-local-1619506707","created_at":"2021-04-27T06:58:29.153119+00:00","modified_at":"2021-04-27T06:58:29.153119+00:00","author_handle":"frog@datadoghq.com","widgets":[{"definition":{"requests":[{"formulas":[{"formula":"query1 + query2","limit":{"count":10,"order":"asc"}}],"response_format":"scalar","queries":[{"aggregator":"sum","data_source":"metrics","name":"query1","query":"avg:system.cpu.system{*} by {datacenter}"},{"aggregator":"sum","data_source":"metrics","name":"query2","query":"avg:system.load.1{*} by {datacenter}"}]}],"type":"geomap","style":{"palette":"hostmap_blues","palette_flip":false},"view":{"focus":"WORLD"}},"id":5661738832269822},{"definition":{"requests":[{"formulas":[{"formula":"query1","limit":{"count":25,"order":"desc"}}],"response_format":"scalar","queries":[{"search":{"query":"abc"},"data_source":"rum","compute":{"aggregation":"count"},"name":"query1","indexes":["*"]}]}],"type":"geomap","style":{"palette":"hostmap_blues","palette_flip":false},"view":{"focus":"WORLD"}},"id":8505986293990458},{"definition":{"style":{"palette":"hostmap_blues","palette_flip":false},"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"my custom link"}],"time":{"live_span":"4h"},"requests":[{"formulas":[{"formula":"query1"}],"response_format":"scalar","queries":[{"data_source":"security_signals","compute":{"aggregation":"count"},"name":"query1","indexes":["*"]}]}],"type":"geomap","view":{"focus":"WORLD"}},"id":3442821028347668}],"layout_type":"ordered"}' - headers: - Cache-Control: - - no-cache - Connection: - - keep-alive - Content-Security-Policy: - - frame-ancestors 'self'; report-uri https://api.datadoghq.com/csp-report - Content-Type: - - application/json - Date: - - Tue, 27 Apr 2021 06:58:33 GMT - Pragma: - - no-cache - Strict-Transport-Security: - - max-age=15724800; - Vary: - - Accept-Encoding - X-Content-Type-Options: - - nosniff - X-Dd-Debug: - - dPySkcOzIZtKyMKDAAzuysY3gNGGj6RtYogGuSb76E8mPvoqzREyRp6lPYm91hQU + - vdJ3/nHEY1ioXQ6pQrBVvsQK1s4yyc+wufBMPSoXql71qZVuP/xMdtNo6DafhOAk X-Dd-Version: - - "35.4397207" + - "35.4693288" X-Frame-Options: - SAMEORIGIN status: 200 OK @@ -139,11 +97,11 @@ interactions: Dd-Operation-Id: - GetDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.19 (go go1.15.7; os darwin; arch amd64) - url: https://api.datadoghq.com/api/v1/dashboard/myq-qpv-k3m + - terraform-provider-datadog/dev (terraform 2.6.1; terraform-cli 0.15.3) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) + url: https://api.datadoghq.com/api/v1/dashboard/fde-84m-tz6 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":"myq-qpv-k3m","title":"tf-TestAccDatadogDashboardGeomapFormula_import-local-1619506707","url":"/dashboard/myq-qpv-k3m/tf-testaccdatadogdashboardgeomapformulaimport-local-1619506707","created_at":"2021-04-27T06:58:29.153119+00:00","modified_at":"2021-04-27T06:58:29.153119+00:00","author_handle":"frog@datadoghq.com","widgets":[{"definition":{"requests":[{"formulas":[{"formula":"query1 + query2","limit":{"count":10,"order":"asc"}}],"response_format":"scalar","queries":[{"aggregator":"sum","data_source":"metrics","name":"query1","query":"avg:system.cpu.system{*} by {datacenter}"},{"aggregator":"sum","data_source":"metrics","name":"query2","query":"avg:system.load.1{*} by {datacenter}"}]}],"type":"geomap","style":{"palette":"hostmap_blues","palette_flip":false},"view":{"focus":"WORLD"}},"id":5661738832269822},{"definition":{"requests":[{"formulas":[{"formula":"query1","limit":{"count":25,"order":"desc"}}],"response_format":"scalar","queries":[{"search":{"query":"abc"},"data_source":"rum","compute":{"aggregation":"count"},"name":"query1","indexes":["*"]}]}],"type":"geomap","style":{"palette":"hostmap_blues","palette_flip":false},"view":{"focus":"WORLD"}},"id":8505986293990458},{"definition":{"style":{"palette":"hostmap_blues","palette_flip":false},"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"my custom link"}],"time":{"live_span":"4h"},"requests":[{"formulas":[{"formula":"query1"}],"response_format":"scalar","queries":[{"data_source":"security_signals","compute":{"aggregation":"count"},"name":"query1","indexes":["*"]}]}],"type":"geomap","view":{"focus":"WORLD"}},"id":3442821028347668}],"layout_type":"ordered"}' + body: '{"notify_list":[],"description":"Created using the Datadog provider in Terraform","author_name":null,"template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"fde-84m-tz6","title":"tf-TestAccDatadogDashboardGeomapFormula_import-local-1623092160","url":"/dashboard/fde-84m-tz6/tf-testaccdatadogdashboardgeomapformulaimport-local-1623092160","created_at":"2021-06-07T18:56:30.547316+00:00","modified_at":"2021-06-07T18:56:30.547316+00:00","author_handle":"frog@datadoghq.com","widgets":[{"definition":{"requests":[{"formulas":[{"formula":"query1 + query2","limit":{"count":10,"order":"asc"}}],"response_format":"scalar","queries":[{"aggregator":"sum","data_source":"metrics","name":"query1","query":"avg:system.cpu.system{*} by {datacenter}"},{"aggregator":"sum","data_source":"metrics","name":"query2","query":"avg:system.load.1{*} by {datacenter}"}]}],"type":"geomap","style":{"palette":"hostmap_blues","palette_flip":false},"view":{"focus":"WORLD"}},"id":7801488504642393},{"definition":{"requests":[{"formulas":[{"formula":"query1","limit":{"count":25,"order":"desc"}}],"response_format":"scalar","queries":[{"search":{"query":"abc"},"data_source":"rum","compute":{"aggregation":"count"},"name":"query1","indexes":["*"]}]}],"type":"geomap","style":{"palette":"hostmap_blues","palette_flip":false},"view":{"focus":"WORLD"}},"id":3348897595402449},{"definition":{"style":{"palette":"hostmap_blues","palette_flip":false},"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"my custom link"}],"time":{"live_span":"4h"},"requests":[{"formulas":[{"formula":"query1"}],"response_format":"scalar","queries":[{"data_source":"security_signals","compute":{"aggregation":"count"},"name":"query1","indexes":["*"]}]}],"type":"geomap","view":{"focus":"WORLD"}},"id":6546087330916132}],"layout_type":"ordered"}' headers: Cache-Control: - no-cache @@ -154,7 +112,7 @@ interactions: Content-Type: - application/json Date: - - Tue, 27 Apr 2021 06:58:33 GMT + - Mon, 07 Jun 2021 18:56:46 GMT Pragma: - no-cache Strict-Transport-Security: @@ -164,9 +122,9 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Debug: - - l8RQo2maZqJf6GFThBbKNE6dvthz6njusVtau3dPXJWL2RLFoN81H+BLPB/1xgs1 + - /L+SFFO+m1pPY+hRCpk5325fvfrNl0KmiquUNJolBN/5hu3HIwflqjZSbJ6NxDFG X-Dd-Version: - - "35.4397207" + - "35.4693288" X-Frame-Options: - SAMEORIGIN status: 200 OK @@ -181,11 +139,11 @@ interactions: Dd-Operation-Id: - GetDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.19 (go go1.15.7; os darwin; arch amd64) - url: https://api.datadoghq.com/api/v1/dashboard/myq-qpv-k3m + - terraform-provider-datadog/dev (terraform 2.6.1; terraform-cli 0.15.3) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) + url: https://api.datadoghq.com/api/v1/dashboard/fde-84m-tz6 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":"myq-qpv-k3m","title":"tf-TestAccDatadogDashboardGeomapFormula_import-local-1619506707","url":"/dashboard/myq-qpv-k3m/tf-testaccdatadogdashboardgeomapformulaimport-local-1619506707","created_at":"2021-04-27T06:58:29.153119+00:00","modified_at":"2021-04-27T06:58:29.153119+00:00","author_handle":"frog@datadoghq.com","widgets":[{"definition":{"requests":[{"formulas":[{"formula":"query1 + query2","limit":{"count":10,"order":"asc"}}],"response_format":"scalar","queries":[{"aggregator":"sum","data_source":"metrics","name":"query1","query":"avg:system.cpu.system{*} by {datacenter}"},{"aggregator":"sum","data_source":"metrics","name":"query2","query":"avg:system.load.1{*} by {datacenter}"}]}],"type":"geomap","style":{"palette":"hostmap_blues","palette_flip":false},"view":{"focus":"WORLD"}},"id":5661738832269822},{"definition":{"requests":[{"formulas":[{"formula":"query1","limit":{"count":25,"order":"desc"}}],"response_format":"scalar","queries":[{"search":{"query":"abc"},"data_source":"rum","compute":{"aggregation":"count"},"name":"query1","indexes":["*"]}]}],"type":"geomap","style":{"palette":"hostmap_blues","palette_flip":false},"view":{"focus":"WORLD"}},"id":8505986293990458},{"definition":{"style":{"palette":"hostmap_blues","palette_flip":false},"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"my custom link"}],"time":{"live_span":"4h"},"requests":[{"formulas":[{"formula":"query1"}],"response_format":"scalar","queries":[{"data_source":"security_signals","compute":{"aggregation":"count"},"name":"query1","indexes":["*"]}]}],"type":"geomap","view":{"focus":"WORLD"}},"id":3442821028347668}],"layout_type":"ordered"}' + body: '{"notify_list":[],"description":"Created using the Datadog provider in Terraform","author_name":null,"template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"fde-84m-tz6","title":"tf-TestAccDatadogDashboardGeomapFormula_import-local-1623092160","url":"/dashboard/fde-84m-tz6/tf-testaccdatadogdashboardgeomapformulaimport-local-1623092160","created_at":"2021-06-07T18:56:30.547316+00:00","modified_at":"2021-06-07T18:56:30.547316+00:00","author_handle":"frog@datadoghq.com","widgets":[{"definition":{"requests":[{"formulas":[{"formula":"query1 + query2","limit":{"count":10,"order":"asc"}}],"response_format":"scalar","queries":[{"aggregator":"sum","data_source":"metrics","name":"query1","query":"avg:system.cpu.system{*} by {datacenter}"},{"aggregator":"sum","data_source":"metrics","name":"query2","query":"avg:system.load.1{*} by {datacenter}"}]}],"type":"geomap","style":{"palette":"hostmap_blues","palette_flip":false},"view":{"focus":"WORLD"}},"id":7801488504642393},{"definition":{"requests":[{"formulas":[{"formula":"query1","limit":{"count":25,"order":"desc"}}],"response_format":"scalar","queries":[{"search":{"query":"abc"},"data_source":"rum","compute":{"aggregation":"count"},"name":"query1","indexes":["*"]}]}],"type":"geomap","style":{"palette":"hostmap_blues","palette_flip":false},"view":{"focus":"WORLD"}},"id":3348897595402449},{"definition":{"style":{"palette":"hostmap_blues","palette_flip":false},"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"my custom link"}],"time":{"live_span":"4h"},"requests":[{"formulas":[{"formula":"query1"}],"response_format":"scalar","queries":[{"data_source":"security_signals","compute":{"aggregation":"count"},"name":"query1","indexes":["*"]}]}],"type":"geomap","view":{"focus":"WORLD"}},"id":6546087330916132}],"layout_type":"ordered"}' headers: Cache-Control: - no-cache @@ -196,7 +154,7 @@ interactions: Content-Type: - application/json Date: - - Tue, 27 Apr 2021 06:58:34 GMT + - Mon, 07 Jun 2021 18:57:10 GMT Pragma: - no-cache Strict-Transport-Security: @@ -206,51 +164,9 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Debug: - - nLnnBNvlCFDECRnZvzDb0z4sAO35G+IMidcAs8vrCKyjvsKWE8Yd9S3n6OjZ1qRN + - fIO2C4qGDheGHy4YbS+r3a3CXbh4cbRo7roILOimQyiHGjQdOat0cIpWCkupM1uX X-Dd-Version: - - "35.4397207" - X-Frame-Options: - - SAMEORIGIN - status: 200 OK - code: 200 - duration: "" -- request: - body: "" - form: {} - headers: - Accept: - - application/json - Dd-Operation-Id: - - GetDashboard - User-Agent: - - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.19 (go go1.15.7; os darwin; arch amd64) - url: https://api.datadoghq.com/api/v1/dashboard/myq-qpv-k3m - 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":"myq-qpv-k3m","title":"tf-TestAccDatadogDashboardGeomapFormula_import-local-1619506707","url":"/dashboard/myq-qpv-k3m/tf-testaccdatadogdashboardgeomapformulaimport-local-1619506707","created_at":"2021-04-27T06:58:29.153119+00:00","modified_at":"2021-04-27T06:58:29.153119+00:00","author_handle":"frog@datadoghq.com","widgets":[{"definition":{"requests":[{"formulas":[{"formula":"query1 + query2","limit":{"count":10,"order":"asc"}}],"response_format":"scalar","queries":[{"aggregator":"sum","data_source":"metrics","name":"query1","query":"avg:system.cpu.system{*} by {datacenter}"},{"aggregator":"sum","data_source":"metrics","name":"query2","query":"avg:system.load.1{*} by {datacenter}"}]}],"type":"geomap","style":{"palette":"hostmap_blues","palette_flip":false},"view":{"focus":"WORLD"}},"id":5661738832269822},{"definition":{"requests":[{"formulas":[{"formula":"query1","limit":{"count":25,"order":"desc"}}],"response_format":"scalar","queries":[{"search":{"query":"abc"},"data_source":"rum","compute":{"aggregation":"count"},"name":"query1","indexes":["*"]}]}],"type":"geomap","style":{"palette":"hostmap_blues","palette_flip":false},"view":{"focus":"WORLD"}},"id":8505986293990458},{"definition":{"style":{"palette":"hostmap_blues","palette_flip":false},"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"my custom link"}],"time":{"live_span":"4h"},"requests":[{"formulas":[{"formula":"query1"}],"response_format":"scalar","queries":[{"data_source":"security_signals","compute":{"aggregation":"count"},"name":"query1","indexes":["*"]}]}],"type":"geomap","view":{"focus":"WORLD"}},"id":3442821028347668}],"layout_type":"ordered"}' - headers: - Cache-Control: - - no-cache - Connection: - - keep-alive - Content-Security-Policy: - - frame-ancestors 'self'; report-uri https://api.datadoghq.com/csp-report - Content-Type: - - application/json - Date: - - Tue, 27 Apr 2021 06:58:34 GMT - Pragma: - - no-cache - Strict-Transport-Security: - - max-age=15724800; - Vary: - - Accept-Encoding - X-Content-Type-Options: - - nosniff - X-Dd-Debug: - - twvpGlmuom5y6A0pjGtXzTf554cmwJgTcCZ71fK4H/RDi+v5ehBK0zQiRcTJQG5C - X-Dd-Version: - - "35.4397207" + - "35.4693288" X-Frame-Options: - SAMEORIGIN status: 200 OK @@ -265,11 +181,11 @@ interactions: Dd-Operation-Id: - DeleteDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.19 (go go1.15.7; os darwin; arch amd64) - url: https://api.datadoghq.com/api/v1/dashboard/myq-qpv-k3m + - terraform-provider-datadog/dev (terraform 2.6.1; terraform-cli 0.15.3) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) + url: https://api.datadoghq.com/api/v1/dashboard/fde-84m-tz6 method: DELETE response: - body: '{"deleted_dashboard_id":"myq-qpv-k3m"}' + body: '{"deleted_dashboard_id":"fde-84m-tz6"}' headers: Cache-Control: - no-cache @@ -280,7 +196,7 @@ interactions: Content-Type: - application/json Date: - - Tue, 27 Apr 2021 06:58:34 GMT + - Mon, 07 Jun 2021 18:57:17 GMT Pragma: - no-cache Strict-Transport-Security: @@ -290,9 +206,9 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Debug: - - 5gfwVh/5HZ+AnGd/Di93w3NEWC6KMHT9KzmHEiRJmNdOjBtAsbOcgVFyqEChw71h + - tpRCH6w417YjBovRJ8VmtuXmNONVYiRp2c8d2AxjPdGBn8PCtgG4vAztrx3qUZAN X-Dd-Version: - - "35.4397207" + - "35.4693288" X-Frame-Options: - SAMEORIGIN status: 200 OK @@ -307,11 +223,11 @@ interactions: Dd-Operation-Id: - GetDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.19 (go go1.15.7; os darwin; arch amd64) - url: https://api.datadoghq.com/api/v1/dashboard/myq-qpv-k3m + - terraform-provider-datadog/dev (terraform 2.6.1; terraform-cli 0.15.3) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) + url: https://api.datadoghq.com/api/v1/dashboard/fde-84m-tz6 method: GET response: - body: '{"errors": ["Dashboard with ID myq-qpv-k3m not found"]}' + body: '{"errors": ["Dashboard with ID fde-84m-tz6 not found"]}' headers: Cache-Control: - no-cache @@ -322,7 +238,7 @@ interactions: Content-Type: - application/json Date: - - Tue, 27 Apr 2021 06:58:35 GMT + - Mon, 07 Jun 2021 18:57:17 GMT Pragma: - no-cache Strict-Transport-Security: @@ -332,7 +248,7 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Version: - - "35.4397207" + - "35.4693288" X-Frame-Options: - SAMEORIGIN status: 404 Not Found diff --git a/datadog/tests/cassettes/TestAccDatadogDashboardGeomap_import.freeze b/datadog/tests/cassettes/TestAccDatadogDashboardGeomap_import.freeze index 056354d9d..ba13fb6ee 100644 --- a/datadog/tests/cassettes/TestAccDatadogDashboardGeomap_import.freeze +++ b/datadog/tests/cassettes/TestAccDatadogDashboardGeomap_import.freeze @@ -1 +1 @@ -2021-03-12T17:13:16.615202-05:00 \ No newline at end of file +2021-06-07T14:56:00.068519-04:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogDashboardGeomap_import.yaml b/datadog/tests/cassettes/TestAccDatadogDashboardGeomap_import.yaml index 1d9527039..2c9132d6a 100644 --- a/datadog/tests/cassettes/TestAccDatadogDashboardGeomap_import.yaml +++ b/datadog/tests/cassettes/TestAccDatadogDashboardGeomap_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-TestAccDatadogDashboardGeomap_import-local-1615587196","widgets":[{"definition":{"requests":[{"q":"avg:system.load.1{*}"}],"style":{"palette":"hostmap_blues","palette_flip":false},"type":"geomap","view":{"focus":"WORLD"}}},{"definition":{"custom_links":[{"label":"Test Custom Link label","link":"https://app.datadoghq.com/dashboard/lists"}],"requests":[{"log_query":{"compute":{"aggregation":"count"},"index":"*","search":{"query":""}}}],"style":{"palette":"hostmap_blues","palette_flip":false},"time":{"live_span":"1h"},"type":"geomap","view":{"focus":"WORLD"}}},{"definition":{"requests":[{"rum_query":{"compute":{"aggregation":"count"},"index":"*","search":{"query":""}}}],"style":{"palette":"hostmap_blues","palette_flip":false},"time":{"live_span":"4h"},"type":"geomap","view":{"focus":"WORLD"}}}]} + {"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-TestAccDatadogDashboardGeomap_import-local-1623092160","widgets":[{"definition":{"requests":[{"q":"avg:system.load.1{*}"}],"style":{"palette":"hostmap_blues","palette_flip":false},"type":"geomap","view":{"focus":"WORLD"}}},{"definition":{"custom_links":[{"label":"Test Custom Link label","link":"https://app.datadoghq.com/dashboard/lists"},{"is_hidden":true,"link":"https://app.datadoghq.com/dashboard/lists","override_label":"logs"}],"requests":[{"log_query":{"compute":{"aggregation":"count"},"index":"*","search":{"query":""}}}],"style":{"palette":"hostmap_blues","palette_flip":false},"time":{"live_span":"1h"},"type":"geomap","view":{"focus":"WORLD"}}},{"definition":{"requests":[{"rum_query":{"compute":{"aggregation":"count"},"index":"*","search":{"query":""}}}],"style":{"palette":"hostmap_blues","palette_flip":false},"time":{"live_span":"4h"},"type":"geomap","view":{"focus":"WORLD"}}}]} form: {} headers: Accept: @@ -13,11 +13,11 @@ interactions: Dd-Operation-Id: - CreateDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 2.4.4; terraform-cli 0.14.7) datadog-api-client-go/1.0.0-beta.16 (go go1.15.3; os darwin; arch amd64) + - terraform-provider-datadog/dev (terraform 2.6.1; terraform-cli 0.15.3) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) 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":"c8u-3d7-8am","title":"tf-TestAccDatadogDashboardGeomap_import-local-1615587196","url":"/dashboard/c8u-3d7-8am/tf-testaccdatadogdashboardgeomapimport-local-1615587196","created_at":"2021-03-12T22:13:19.329795+00:00","modified_at":"2021-03-12T22:13:19.329795+00:00","author_handle":"frog@datadoghq.com","widgets":[{"definition":{"requests":[{"q":"avg:system.load.1{*}"}],"type":"geomap","style":{"palette":"hostmap_blues","palette_flip":false},"view":{"focus":"WORLD"}},"id":5807311377121154},{"definition":{"style":{"palette":"hostmap_blues","palette_flip":false},"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test Custom Link label"}],"time":{"live_span":"1h"},"requests":[{"log_query":{"index":"*","search":{"query":""},"compute":{"aggregation":"count"}}}],"type":"geomap","view":{"focus":"WORLD"}},"id":8415482404539604},{"definition":{"requests":[{"rum_query":{"index":"*","search":{"query":""},"compute":{"aggregation":"count"}}}],"view":{"focus":"WORLD"},"type":"geomap","style":{"palette":"hostmap_blues","palette_flip":false},"time":{"live_span":"4h"}},"id":5577483986849984}],"layout_type":"ordered"}' + body: '{"notify_list":[],"description":"Created using the Datadog provider in Terraform","author_name":null,"template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"3pa-fid-d8r","title":"tf-TestAccDatadogDashboardGeomap_import-local-1623092160","url":"/dashboard/3pa-fid-d8r/tf-testaccdatadogdashboardgeomapimport-local-1623092160","created_at":"2021-06-07T18:56:30.542317+00:00","modified_at":"2021-06-07T18:56:30.542317+00:00","author_handle":"frog@datadoghq.com","widgets":[{"definition":{"requests":[{"q":"avg:system.load.1{*}"}],"type":"geomap","style":{"palette":"hostmap_blues","palette_flip":false},"view":{"focus":"WORLD"}},"id":7307431602169511},{"definition":{"style":{"palette":"hostmap_blues","palette_flip":false},"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test Custom Link label"},{"override_label":"logs","is_hidden":true,"link":"https://app.datadoghq.com/dashboard/lists"}],"time":{"live_span":"1h"},"requests":[{"log_query":{"index":"*","search":{"query":""},"compute":{"aggregation":"count"}}}],"type":"geomap","view":{"focus":"WORLD"}},"id":6774709573125338},{"definition":{"requests":[{"rum_query":{"index":"*","search":{"query":""},"compute":{"aggregation":"count"}}}],"view":{"focus":"WORLD"},"type":"geomap","style":{"palette":"hostmap_blues","palette_flip":false},"time":{"live_span":"4h"}},"id":47029245138024}],"layout_type":"ordered"}' headers: Cache-Control: - no-cache @@ -28,7 +28,7 @@ interactions: Content-Type: - application/json Date: - - Fri, 12 Mar 2021 22:13:22 GMT + - Mon, 07 Jun 2021 18:56:32 GMT Pragma: - no-cache Strict-Transport-Security: @@ -38,9 +38,9 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Debug: - - /L+SFFO+m1pPY+hRCpk5325fvfrNl0KmiquUNJolBN/5hu3HIwflqjZSbJ6NxDFG + - l4HFlaRP3QwYSqoGKhzbYfv7zgkK63HIRR7YkyVYZspq0lGjjTBwoK8V/alf+XYt X-Dd-Version: - - "35.4088130" + - "35.4693288" X-Frame-Options: - SAMEORIGIN status: 200 OK @@ -55,11 +55,11 @@ interactions: Dd-Operation-Id: - GetDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 2.4.4; terraform-cli 0.14.7) datadog-api-client-go/1.0.0-beta.16 (go go1.15.3; os darwin; arch amd64) - url: https://api.datadoghq.com/api/v1/dashboard/c8u-3d7-8am + - terraform-provider-datadog/dev (terraform 2.6.1; terraform-cli 0.15.3) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) + url: https://api.datadoghq.com/api/v1/dashboard/3pa-fid-d8r 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":"c8u-3d7-8am","title":"tf-TestAccDatadogDashboardGeomap_import-local-1615587196","url":"/dashboard/c8u-3d7-8am/tf-testaccdatadogdashboardgeomapimport-local-1615587196","created_at":"2021-03-12T22:13:19.329795+00:00","modified_at":"2021-03-12T22:13:19.329795+00:00","author_handle":"frog@datadoghq.com","widgets":[{"definition":{"requests":[{"q":"avg:system.load.1{*}"}],"type":"geomap","style":{"palette":"hostmap_blues","palette_flip":false},"view":{"focus":"WORLD"}},"id":5807311377121154},{"definition":{"style":{"palette":"hostmap_blues","palette_flip":false},"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test Custom Link label"}],"time":{"live_span":"1h"},"requests":[{"log_query":{"index":"*","search":{"query":""},"compute":{"aggregation":"count"}}}],"type":"geomap","view":{"focus":"WORLD"}},"id":8415482404539604},{"definition":{"requests":[{"rum_query":{"index":"*","search":{"query":""},"compute":{"aggregation":"count"}}}],"view":{"focus":"WORLD"},"type":"geomap","style":{"palette":"hostmap_blues","palette_flip":false},"time":{"live_span":"4h"}},"id":5577483986849984}],"layout_type":"ordered"}' + body: '{"notify_list":[],"description":"Created using the Datadog provider in Terraform","author_name":null,"template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"3pa-fid-d8r","title":"tf-TestAccDatadogDashboardGeomap_import-local-1623092160","url":"/dashboard/3pa-fid-d8r/tf-testaccdatadogdashboardgeomapimport-local-1623092160","created_at":"2021-06-07T18:56:30.542317+00:00","modified_at":"2021-06-07T18:56:30.542317+00:00","author_handle":"frog@datadoghq.com","widgets":[{"definition":{"requests":[{"q":"avg:system.load.1{*}"}],"type":"geomap","style":{"palette":"hostmap_blues","palette_flip":false},"view":{"focus":"WORLD"}},"id":7307431602169511},{"definition":{"style":{"palette":"hostmap_blues","palette_flip":false},"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test Custom Link label"},{"override_label":"logs","is_hidden":true,"link":"https://app.datadoghq.com/dashboard/lists"}],"time":{"live_span":"1h"},"requests":[{"log_query":{"index":"*","search":{"query":""},"compute":{"aggregation":"count"}}}],"type":"geomap","view":{"focus":"WORLD"}},"id":6774709573125338},{"definition":{"requests":[{"rum_query":{"index":"*","search":{"query":""},"compute":{"aggregation":"count"}}}],"view":{"focus":"WORLD"},"type":"geomap","style":{"palette":"hostmap_blues","palette_flip":false},"time":{"live_span":"4h"}},"id":47029245138024}],"layout_type":"ordered"}' headers: Cache-Control: - no-cache @@ -70,7 +70,7 @@ interactions: Content-Type: - application/json Date: - - Fri, 12 Mar 2021 22:13:22 GMT + - Mon, 07 Jun 2021 18:56:32 GMT Pragma: - no-cache Strict-Transport-Security: @@ -82,7 +82,7 @@ interactions: X-Dd-Debug: - B1nwy/pPNqX+q4pQT22cdp1QCexE35IF8qwSHy0Nf7IW0Y881qtn4tXN1lpmzaKc X-Dd-Version: - - "35.4088130" + - "35.4693288" X-Frame-Options: - SAMEORIGIN status: 200 OK @@ -97,11 +97,11 @@ interactions: Dd-Operation-Id: - GetDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 2.4.4; terraform-cli 0.14.7) datadog-api-client-go/1.0.0-beta.16 (go go1.15.3; os darwin; arch amd64) - url: https://api.datadoghq.com/api/v1/dashboard/c8u-3d7-8am + - terraform-provider-datadog/dev (terraform 2.6.1; terraform-cli 0.15.3) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) + url: https://api.datadoghq.com/api/v1/dashboard/3pa-fid-d8r 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":"c8u-3d7-8am","title":"tf-TestAccDatadogDashboardGeomap_import-local-1615587196","url":"/dashboard/c8u-3d7-8am/tf-testaccdatadogdashboardgeomapimport-local-1615587196","created_at":"2021-03-12T22:13:19.329795+00:00","modified_at":"2021-03-12T22:13:19.329795+00:00","author_handle":"frog@datadoghq.com","widgets":[{"definition":{"requests":[{"q":"avg:system.load.1{*}"}],"type":"geomap","style":{"palette":"hostmap_blues","palette_flip":false},"view":{"focus":"WORLD"}},"id":5807311377121154},{"definition":{"style":{"palette":"hostmap_blues","palette_flip":false},"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test Custom Link label"}],"time":{"live_span":"1h"},"requests":[{"log_query":{"index":"*","search":{"query":""},"compute":{"aggregation":"count"}}}],"type":"geomap","view":{"focus":"WORLD"}},"id":8415482404539604},{"definition":{"requests":[{"rum_query":{"index":"*","search":{"query":""},"compute":{"aggregation":"count"}}}],"view":{"focus":"WORLD"},"type":"geomap","style":{"palette":"hostmap_blues","palette_flip":false},"time":{"live_span":"4h"}},"id":5577483986849984}],"layout_type":"ordered"}' + body: '{"notify_list":[],"description":"Created using the Datadog provider in Terraform","author_name":null,"template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"3pa-fid-d8r","title":"tf-TestAccDatadogDashboardGeomap_import-local-1623092160","url":"/dashboard/3pa-fid-d8r/tf-testaccdatadogdashboardgeomapimport-local-1623092160","created_at":"2021-06-07T18:56:30.542317+00:00","modified_at":"2021-06-07T18:56:30.542317+00:00","author_handle":"frog@datadoghq.com","widgets":[{"definition":{"requests":[{"q":"avg:system.load.1{*}"}],"type":"geomap","style":{"palette":"hostmap_blues","palette_flip":false},"view":{"focus":"WORLD"}},"id":7307431602169511},{"definition":{"style":{"palette":"hostmap_blues","palette_flip":false},"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test Custom Link label"},{"override_label":"logs","is_hidden":true,"link":"https://app.datadoghq.com/dashboard/lists"}],"time":{"live_span":"1h"},"requests":[{"log_query":{"index":"*","search":{"query":""},"compute":{"aggregation":"count"}}}],"type":"geomap","view":{"focus":"WORLD"}},"id":6774709573125338},{"definition":{"requests":[{"rum_query":{"index":"*","search":{"query":""},"compute":{"aggregation":"count"}}}],"view":{"focus":"WORLD"},"type":"geomap","style":{"palette":"hostmap_blues","palette_flip":false},"time":{"live_span":"4h"}},"id":47029245138024}],"layout_type":"ordered"}' headers: Cache-Control: - no-cache @@ -112,7 +112,7 @@ interactions: Content-Type: - application/json Date: - - Fri, 12 Mar 2021 22:13:24 GMT + - Mon, 07 Jun 2021 18:56:46 GMT Pragma: - no-cache Strict-Transport-Security: @@ -122,9 +122,9 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Debug: - - 25u1gDlL724DHllbjFT4BhOLorBTilh+aah2uWAUEjFC/+rjczJdiyWrV/HwLwe/ + - tpRCH6w417YjBovRJ8VmtuXmNONVYiRp2c8d2AxjPdGBn8PCtgG4vAztrx3qUZAN X-Dd-Version: - - "35.4088130" + - "35.4693288" X-Frame-Options: - SAMEORIGIN status: 200 OK @@ -139,11 +139,11 @@ interactions: Dd-Operation-Id: - GetDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 2.4.4; terraform-cli ) datadog-api-client-go/1.0.0-beta.16 (go go1.15.3; os darwin; arch amd64) - url: https://api.datadoghq.com/api/v1/dashboard/c8u-3d7-8am + - terraform-provider-datadog/dev (terraform 2.6.1; terraform-cli 0.15.3) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) + url: https://api.datadoghq.com/api/v1/dashboard/3pa-fid-d8r 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":"c8u-3d7-8am","title":"tf-TestAccDatadogDashboardGeomap_import-local-1615587196","url":"/dashboard/c8u-3d7-8am/tf-testaccdatadogdashboardgeomapimport-local-1615587196","created_at":"2021-03-12T22:13:19.329795+00:00","modified_at":"2021-03-12T22:13:19.329795+00:00","author_handle":"frog@datadoghq.com","widgets":[{"definition":{"requests":[{"q":"avg:system.load.1{*}"}],"type":"geomap","style":{"palette":"hostmap_blues","palette_flip":false},"view":{"focus":"WORLD"}},"id":5807311377121154},{"definition":{"style":{"palette":"hostmap_blues","palette_flip":false},"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test Custom Link label"}],"time":{"live_span":"1h"},"requests":[{"log_query":{"index":"*","search":{"query":""},"compute":{"aggregation":"count"}}}],"type":"geomap","view":{"focus":"WORLD"}},"id":8415482404539604},{"definition":{"requests":[{"rum_query":{"index":"*","search":{"query":""},"compute":{"aggregation":"count"}}}],"view":{"focus":"WORLD"},"type":"geomap","style":{"palette":"hostmap_blues","palette_flip":false},"time":{"live_span":"4h"}},"id":5577483986849984}],"layout_type":"ordered"}' + body: '{"notify_list":[],"description":"Created using the Datadog provider in Terraform","author_name":null,"template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"3pa-fid-d8r","title":"tf-TestAccDatadogDashboardGeomap_import-local-1623092160","url":"/dashboard/3pa-fid-d8r/tf-testaccdatadogdashboardgeomapimport-local-1623092160","created_at":"2021-06-07T18:56:30.542317+00:00","modified_at":"2021-06-07T18:56:30.542317+00:00","author_handle":"frog@datadoghq.com","widgets":[{"definition":{"requests":[{"q":"avg:system.load.1{*}"}],"type":"geomap","style":{"palette":"hostmap_blues","palette_flip":false},"view":{"focus":"WORLD"}},"id":7307431602169511},{"definition":{"style":{"palette":"hostmap_blues","palette_flip":false},"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test Custom Link label"},{"override_label":"logs","is_hidden":true,"link":"https://app.datadoghq.com/dashboard/lists"}],"time":{"live_span":"1h"},"requests":[{"log_query":{"index":"*","search":{"query":""},"compute":{"aggregation":"count"}}}],"type":"geomap","view":{"focus":"WORLD"}},"id":6774709573125338},{"definition":{"requests":[{"rum_query":{"index":"*","search":{"query":""},"compute":{"aggregation":"count"}}}],"view":{"focus":"WORLD"},"type":"geomap","style":{"palette":"hostmap_blues","palette_flip":false},"time":{"live_span":"4h"}},"id":47029245138024}],"layout_type":"ordered"}' headers: Cache-Control: - no-cache @@ -154,7 +154,7 @@ interactions: Content-Type: - application/json Date: - - Fri, 12 Mar 2021 22:13:26 GMT + - Mon, 07 Jun 2021 18:57:10 GMT Pragma: - no-cache Strict-Transport-Security: @@ -166,7 +166,7 @@ interactions: X-Dd-Debug: - twvpGlmuom5y6A0pjGtXzTf554cmwJgTcCZ71fK4H/RDi+v5ehBK0zQiRcTJQG5C X-Dd-Version: - - "35.4088130" + - "35.4693288" X-Frame-Options: - SAMEORIGIN status: 200 OK @@ -181,11 +181,11 @@ interactions: Dd-Operation-Id: - DeleteDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 2.4.4; terraform-cli ) datadog-api-client-go/1.0.0-beta.16 (go go1.15.3; os darwin; arch amd64) - url: https://api.datadoghq.com/api/v1/dashboard/c8u-3d7-8am + - terraform-provider-datadog/dev (terraform 2.6.1; terraform-cli 0.15.3) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) + url: https://api.datadoghq.com/api/v1/dashboard/3pa-fid-d8r method: DELETE response: - body: '{"deleted_dashboard_id":"c8u-3d7-8am"}' + body: '{"deleted_dashboard_id":"3pa-fid-d8r"}' headers: Cache-Control: - no-cache @@ -196,7 +196,7 @@ interactions: Content-Type: - application/json Date: - - Fri, 12 Mar 2021 22:13:27 GMT + - Mon, 07 Jun 2021 18:57:17 GMT Pragma: - no-cache Strict-Transport-Security: @@ -206,9 +206,9 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Debug: - - HbtaOKlJ6OCrx9tMXO6ivMTrEM+g0c93HDp08trmOmgdHozC5J+vn10F0H4WPjCU + - l8RQo2maZqJf6GFThBbKNE6dvthz6njusVtau3dPXJWL2RLFoN81H+BLPB/1xgs1 X-Dd-Version: - - "35.4088130" + - "35.4693288" X-Frame-Options: - SAMEORIGIN status: 200 OK @@ -223,11 +223,11 @@ interactions: Dd-Operation-Id: - GetDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 2.4.4; terraform-cli ) datadog-api-client-go/1.0.0-beta.16 (go go1.15.3; os darwin; arch amd64) - url: https://api.datadoghq.com/api/v1/dashboard/c8u-3d7-8am + - terraform-provider-datadog/dev (terraform 2.6.1; terraform-cli 0.15.3) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) + url: https://api.datadoghq.com/api/v1/dashboard/3pa-fid-d8r method: GET response: - body: '{"errors": ["Dashboard with ID c8u-3d7-8am not found"]}' + body: '{"errors": ["Dashboard with ID 3pa-fid-d8r not found"]}' headers: Cache-Control: - no-cache @@ -238,7 +238,7 @@ interactions: Content-Type: - application/json Date: - - Fri, 12 Mar 2021 22:13:27 GMT + - Mon, 07 Jun 2021 18:57:17 GMT Pragma: - no-cache Strict-Transport-Security: @@ -248,7 +248,7 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Version: - - "35.4088130" + - "35.4693288" X-Frame-Options: - SAMEORIGIN status: 404 Not Found diff --git a/datadog/tests/cassettes/TestAccDatadogDashboardHeatMap.freeze b/datadog/tests/cassettes/TestAccDatadogDashboardHeatMap.freeze index 8957d37fc..85257bb97 100644 --- a/datadog/tests/cassettes/TestAccDatadogDashboardHeatMap.freeze +++ b/datadog/tests/cassettes/TestAccDatadogDashboardHeatMap.freeze @@ -1 +1 @@ -2021-03-12T17:13:16.548459-05:00 \ No newline at end of file +2021-06-07T14:57:35.765228-04:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogDashboardHeatMap.yaml b/datadog/tests/cassettes/TestAccDatadogDashboardHeatMap.yaml index b9e0f1c7b..f0f252837 100644 --- a/datadog/tests/cassettes/TestAccDatadogDashboardHeatMap.yaml +++ b/datadog/tests/cassettes/TestAccDatadogDashboardHeatMap.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-TestAccDatadogDashboardHeatMap-local-1615587196","widgets":[{"definition":{"custom_links":[{"label":"Test Custom Link label","link":"https://app.datadoghq.com/dashboard/lists"}],"events":[{"q":"env:prod","tags_execution":"and"}],"legend_size":"2","requests":[{"q":"avg:system.cpu.user{account:prod} by {app}","style":{"palette":"blue"}}],"show_legend":true,"time":{"live_span":"1mo"},"title":"Avg of system.cpu.user over account:prod by app","title_align":"center","title_size":"16","type":"heatmap","yaxis":{"include_zero":false,"max":"100"}}}]} + {"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-TestAccDatadogDashboardHeatMap-local-1623092255","widgets":[{"definition":{"custom_links":[{"label":"Test Custom Link label","link":"https://app.datadoghq.com/dashboard/lists"},{"is_hidden":true,"link":"https://app.datadoghq.com/dashboard/lists","override_label":"logs"}],"events":[{"q":"env:prod","tags_execution":"and"}],"legend_size":"2","requests":[{"q":"avg:system.cpu.user{account:prod} by {app}","style":{"palette":"blue"}}],"show_legend":true,"time":{"live_span":"1mo"},"title":"Avg of system.cpu.user over account:prod by app","title_align":"center","title_size":"16","type":"heatmap","yaxis":{"include_zero":false,"max":"100"}}}]} form: {} headers: Accept: @@ -13,11 +13,11 @@ interactions: Dd-Operation-Id: - CreateDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 2.4.4; terraform-cli 0.14.7) datadog-api-client-go/1.0.0-beta.16 (go go1.15.3; os darwin; arch amd64) + - terraform-provider-datadog/dev (terraform 2.6.1; terraform-cli 0.15.3) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) 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":"sqg-ped-phd","title":"tf-TestAccDatadogDashboardHeatMap-local-1615587196","url":"/dashboard/sqg-ped-phd/tf-testaccdatadogdashboardheatmap-local-1615587196","created_at":"2021-03-12T22:13:19.187342+00:00","modified_at":"2021-03-12T22:13:19.187342+00:00","author_handle":"frog@datadoghq.com","widgets":[{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test Custom Link label"}],"title_size":"16","yaxis":{"include_zero":false,"max":"100"},"title_align":"center","events":[{"q":"env:prod","tags_execution":"and"}],"show_legend":true,"time":{"live_span":"1mo"},"title":"Avg of system.cpu.user over account:prod by app","legend_size":"2","type":"heatmap","requests":[{"q":"avg:system.cpu.user{account:prod} by {app}","style":{"palette":"blue"}}]},"id":4524653929761130}],"layout_type":"ordered"}' + body: '{"notify_list":[],"description":"Created using the Datadog provider in Terraform","author_name":null,"template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"55w-4sa-ekr","title":"tf-TestAccDatadogDashboardHeatMap-local-1623092255","url":"/dashboard/55w-4sa-ekr/tf-testaccdatadogdashboardheatmap-local-1623092255","created_at":"2021-06-07T18:57:54.747115+00:00","modified_at":"2021-06-07T18:57:54.747115+00:00","author_handle":"frog@datadoghq.com","widgets":[{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test Custom Link label"},{"override_label":"logs","is_hidden":true,"link":"https://app.datadoghq.com/dashboard/lists"}],"title_size":"16","yaxis":{"include_zero":false,"max":"100"},"title_align":"center","events":[{"q":"env:prod","tags_execution":"and"}],"show_legend":true,"time":{"live_span":"1mo"},"title":"Avg of system.cpu.user over account:prod by app","legend_size":"2","type":"heatmap","requests":[{"q":"avg:system.cpu.user{account:prod} by {app}","style":{"palette":"blue"}}]},"id":3147231749034510}],"layout_type":"ordered"}' headers: Cache-Control: - no-cache @@ -28,7 +28,7 @@ interactions: Content-Type: - application/json Date: - - Fri, 12 Mar 2021 22:13:22 GMT + - Mon, 07 Jun 2021 18:57:55 GMT Pragma: - no-cache Strict-Transport-Security: @@ -38,9 +38,9 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Debug: - - 25u1gDlL724DHllbjFT4BhOLorBTilh+aah2uWAUEjFC/+rjczJdiyWrV/HwLwe/ + - L3ULR3HwCWYmEqCWGz2Yob3chcH4pjowBacBXkncP7o+/uPqKt9yGEYf/g1AJPzQ X-Dd-Version: - - "35.4088130" + - "35.4693288" X-Frame-Options: - SAMEORIGIN status: 200 OK @@ -55,11 +55,11 @@ interactions: Dd-Operation-Id: - GetDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 2.4.4; terraform-cli 0.14.7) datadog-api-client-go/1.0.0-beta.16 (go go1.15.3; os darwin; arch amd64) - url: https://api.datadoghq.com/api/v1/dashboard/sqg-ped-phd + - terraform-provider-datadog/dev (terraform 2.6.1; terraform-cli 0.15.3) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) + url: https://api.datadoghq.com/api/v1/dashboard/55w-4sa-ekr 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":"sqg-ped-phd","title":"tf-TestAccDatadogDashboardHeatMap-local-1615587196","url":"/dashboard/sqg-ped-phd/tf-testaccdatadogdashboardheatmap-local-1615587196","created_at":"2021-03-12T22:13:19.187342+00:00","modified_at":"2021-03-12T22:13:19.187342+00:00","author_handle":"frog@datadoghq.com","widgets":[{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test Custom Link label"}],"title_size":"16","yaxis":{"include_zero":false,"max":"100"},"title_align":"center","events":[{"q":"env:prod","tags_execution":"and"}],"show_legend":true,"time":{"live_span":"1mo"},"title":"Avg of system.cpu.user over account:prod by app","legend_size":"2","type":"heatmap","requests":[{"q":"avg:system.cpu.user{account:prod} by {app}","style":{"palette":"blue"}}]},"id":4524653929761130}],"layout_type":"ordered"}' + body: '{"notify_list":[],"description":"Created using the Datadog provider in Terraform","author_name":null,"template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"55w-4sa-ekr","title":"tf-TestAccDatadogDashboardHeatMap-local-1623092255","url":"/dashboard/55w-4sa-ekr/tf-testaccdatadogdashboardheatmap-local-1623092255","created_at":"2021-06-07T18:57:54.747115+00:00","modified_at":"2021-06-07T18:57:54.747115+00:00","author_handle":"frog@datadoghq.com","widgets":[{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test Custom Link label"},{"override_label":"logs","is_hidden":true,"link":"https://app.datadoghq.com/dashboard/lists"}],"title_size":"16","yaxis":{"include_zero":false,"max":"100"},"title_align":"center","events":[{"q":"env:prod","tags_execution":"and"}],"show_legend":true,"time":{"live_span":"1mo"},"title":"Avg of system.cpu.user over account:prod by app","legend_size":"2","type":"heatmap","requests":[{"q":"avg:system.cpu.user{account:prod} by {app}","style":{"palette":"blue"}}]},"id":3147231749034510}],"layout_type":"ordered"}' headers: Cache-Control: - no-cache @@ -70,7 +70,7 @@ interactions: Content-Type: - application/json Date: - - Fri, 12 Mar 2021 22:13:22 GMT + - Mon, 07 Jun 2021 18:57:55 GMT Pragma: - no-cache Strict-Transport-Security: @@ -80,9 +80,9 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Debug: - - dPySkcOzIZtKyMKDAAzuysY3gNGGj6RtYogGuSb76E8mPvoqzREyRp6lPYm91hQU + - 25u1gDlL724DHllbjFT4BhOLorBTilh+aah2uWAUEjFC/+rjczJdiyWrV/HwLwe/ X-Dd-Version: - - "35.4088130" + - "35.4693288" X-Frame-Options: - SAMEORIGIN status: 200 OK @@ -97,11 +97,11 @@ interactions: Dd-Operation-Id: - GetDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 2.4.4; terraform-cli 0.14.7) datadog-api-client-go/1.0.0-beta.16 (go go1.15.3; os darwin; arch amd64) - url: https://api.datadoghq.com/api/v1/dashboard/sqg-ped-phd + - terraform-provider-datadog/dev (terraform 2.6.1; terraform-cli 0.15.3) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) + url: https://api.datadoghq.com/api/v1/dashboard/55w-4sa-ekr 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":"sqg-ped-phd","title":"tf-TestAccDatadogDashboardHeatMap-local-1615587196","url":"/dashboard/sqg-ped-phd/tf-testaccdatadogdashboardheatmap-local-1615587196","created_at":"2021-03-12T22:13:19.187342+00:00","modified_at":"2021-03-12T22:13:19.187342+00:00","author_handle":"frog@datadoghq.com","widgets":[{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test Custom Link label"}],"title_size":"16","yaxis":{"include_zero":false,"max":"100"},"title_align":"center","events":[{"q":"env:prod","tags_execution":"and"}],"show_legend":true,"time":{"live_span":"1mo"},"title":"Avg of system.cpu.user over account:prod by app","legend_size":"2","type":"heatmap","requests":[{"q":"avg:system.cpu.user{account:prod} by {app}","style":{"palette":"blue"}}]},"id":4524653929761130}],"layout_type":"ordered"}' + body: '{"notify_list":[],"description":"Created using the Datadog provider in Terraform","author_name":null,"template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"55w-4sa-ekr","title":"tf-TestAccDatadogDashboardHeatMap-local-1623092255","url":"/dashboard/55w-4sa-ekr/tf-testaccdatadogdashboardheatmap-local-1623092255","created_at":"2021-06-07T18:57:54.747115+00:00","modified_at":"2021-06-07T18:57:54.747115+00:00","author_handle":"frog@datadoghq.com","widgets":[{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test Custom Link label"},{"override_label":"logs","is_hidden":true,"link":"https://app.datadoghq.com/dashboard/lists"}],"title_size":"16","yaxis":{"include_zero":false,"max":"100"},"title_align":"center","events":[{"q":"env:prod","tags_execution":"and"}],"show_legend":true,"time":{"live_span":"1mo"},"title":"Avg of system.cpu.user over account:prod by app","legend_size":"2","type":"heatmap","requests":[{"q":"avg:system.cpu.user{account:prod} by {app}","style":{"palette":"blue"}}]},"id":3147231749034510}],"layout_type":"ordered"}' headers: Cache-Control: - no-cache @@ -112,7 +112,7 @@ interactions: Content-Type: - application/json Date: - - Fri, 12 Mar 2021 22:13:22 GMT + - Mon, 07 Jun 2021 18:57:59 GMT Pragma: - no-cache Strict-Transport-Security: @@ -122,9 +122,9 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Debug: - - nLnnBNvlCFDECRnZvzDb0z4sAO35G+IMidcAs8vrCKyjvsKWE8Yd9S3n6OjZ1qRN + - F5gm0Rce1/Abr9/0Fw8HAqWfiz0FdiH8er/AXnN6lOn3L6KyGgbsLCwgPlob1No8 X-Dd-Version: - - "35.4088130" + - "35.4693288" X-Frame-Options: - SAMEORIGIN status: 200 OK @@ -139,11 +139,11 @@ interactions: Dd-Operation-Id: - GetDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 2.4.4; terraform-cli 0.14.7) datadog-api-client-go/1.0.0-beta.16 (go go1.15.3; os darwin; arch amd64) - url: https://api.datadoghq.com/api/v1/dashboard/sqg-ped-phd + - terraform-provider-datadog/dev (terraform 2.6.1; terraform-cli 0.15.3) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) + url: https://api.datadoghq.com/api/v1/dashboard/55w-4sa-ekr 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":"sqg-ped-phd","title":"tf-TestAccDatadogDashboardHeatMap-local-1615587196","url":"/dashboard/sqg-ped-phd/tf-testaccdatadogdashboardheatmap-local-1615587196","created_at":"2021-03-12T22:13:19.187342+00:00","modified_at":"2021-03-12T22:13:19.187342+00:00","author_handle":"frog@datadoghq.com","widgets":[{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test Custom Link label"}],"title_size":"16","yaxis":{"include_zero":false,"max":"100"},"title_align":"center","events":[{"q":"env:prod","tags_execution":"and"}],"show_legend":true,"time":{"live_span":"1mo"},"title":"Avg of system.cpu.user over account:prod by app","legend_size":"2","type":"heatmap","requests":[{"q":"avg:system.cpu.user{account:prod} by {app}","style":{"palette":"blue"}}]},"id":4524653929761130}],"layout_type":"ordered"}' + body: '{"notify_list":[],"description":"Created using the Datadog provider in Terraform","author_name":null,"template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"55w-4sa-ekr","title":"tf-TestAccDatadogDashboardHeatMap-local-1623092255","url":"/dashboard/55w-4sa-ekr/tf-testaccdatadogdashboardheatmap-local-1623092255","created_at":"2021-06-07T18:57:54.747115+00:00","modified_at":"2021-06-07T18:57:54.747115+00:00","author_handle":"frog@datadoghq.com","widgets":[{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test Custom Link label"},{"override_label":"logs","is_hidden":true,"link":"https://app.datadoghq.com/dashboard/lists"}],"title_size":"16","yaxis":{"include_zero":false,"max":"100"},"title_align":"center","events":[{"q":"env:prod","tags_execution":"and"}],"show_legend":true,"time":{"live_span":"1mo"},"title":"Avg of system.cpu.user over account:prod by app","legend_size":"2","type":"heatmap","requests":[{"q":"avg:system.cpu.user{account:prod} by {app}","style":{"palette":"blue"}}]},"id":3147231749034510}],"layout_type":"ordered"}' headers: Cache-Control: - no-cache @@ -154,7 +154,7 @@ interactions: Content-Type: - application/json Date: - - Fri, 12 Mar 2021 22:13:23 GMT + - Mon, 07 Jun 2021 18:58:07 GMT Pragma: - no-cache Strict-Transport-Security: @@ -164,9 +164,9 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Debug: - - l4HFlaRP3QwYSqoGKhzbYfv7zgkK63HIRR7YkyVYZspq0lGjjTBwoK8V/alf+XYt + - dCmL/3rURV6BPeaqeP3Rxigq41m5CAb17XjrRE42uZ01zpr07HVhbL5/3TWMkvgu X-Dd-Version: - - "35.4088130" + - "35.4693398" X-Frame-Options: - SAMEORIGIN status: 200 OK @@ -181,11 +181,11 @@ interactions: Dd-Operation-Id: - DeleteDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 2.4.4; terraform-cli 0.14.7) datadog-api-client-go/1.0.0-beta.16 (go go1.15.3; os darwin; arch amd64) - url: https://api.datadoghq.com/api/v1/dashboard/sqg-ped-phd + - terraform-provider-datadog/dev (terraform 2.6.1; terraform-cli 0.15.3) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) + url: https://api.datadoghq.com/api/v1/dashboard/55w-4sa-ekr method: DELETE response: - body: '{"deleted_dashboard_id":"sqg-ped-phd"}' + body: '{"deleted_dashboard_id":"55w-4sa-ekr"}' headers: Cache-Control: - no-cache @@ -196,7 +196,7 @@ interactions: Content-Type: - application/json Date: - - Fri, 12 Mar 2021 22:13:25 GMT + - Mon, 07 Jun 2021 18:58:22 GMT Pragma: - no-cache Strict-Transport-Security: @@ -206,9 +206,9 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Debug: - - /L+SFFO+m1pPY+hRCpk5325fvfrNl0KmiquUNJolBN/5hu3HIwflqjZSbJ6NxDFG + - fIO2C4qGDheGHy4YbS+r3a3CXbh4cbRo7roILOimQyiHGjQdOat0cIpWCkupM1uX X-Dd-Version: - - "35.4088130" + - "35.4693398" X-Frame-Options: - SAMEORIGIN status: 200 OK @@ -223,11 +223,11 @@ interactions: Dd-Operation-Id: - GetDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 2.4.4; terraform-cli 0.14.7) datadog-api-client-go/1.0.0-beta.16 (go go1.15.3; os darwin; arch amd64) - url: https://api.datadoghq.com/api/v1/dashboard/sqg-ped-phd + - terraform-provider-datadog/dev (terraform 2.6.1; terraform-cli 0.15.3) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) + url: https://api.datadoghq.com/api/v1/dashboard/55w-4sa-ekr method: GET response: - body: '{"errors": ["Dashboard with ID sqg-ped-phd not found"]}' + body: '{"errors": ["Dashboard with ID 55w-4sa-ekr not found"]}' headers: Cache-Control: - no-cache @@ -238,7 +238,7 @@ interactions: Content-Type: - application/json Date: - - Fri, 12 Mar 2021 22:13:25 GMT + - Mon, 07 Jun 2021 18:58:22 GMT Pragma: - no-cache Strict-Transport-Security: @@ -248,7 +248,7 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Version: - - "35.4088130" + - "35.4693398" X-Frame-Options: - SAMEORIGIN status: 404 Not Found diff --git a/datadog/tests/cassettes/TestAccDatadogDashboardHeatMap_import.freeze b/datadog/tests/cassettes/TestAccDatadogDashboardHeatMap_import.freeze index 24be70e2b..ff87ec315 100644 --- a/datadog/tests/cassettes/TestAccDatadogDashboardHeatMap_import.freeze +++ b/datadog/tests/cassettes/TestAccDatadogDashboardHeatMap_import.freeze @@ -1 +1 @@ -2021-03-12T17:13:16.46456-05:00 \ No newline at end of file +2021-06-07T14:57:35.765637-04:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogDashboardHeatMap_import.yaml b/datadog/tests/cassettes/TestAccDatadogDashboardHeatMap_import.yaml index 3d234eb5b..6671910ff 100644 --- a/datadog/tests/cassettes/TestAccDatadogDashboardHeatMap_import.yaml +++ b/datadog/tests/cassettes/TestAccDatadogDashboardHeatMap_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-TestAccDatadogDashboardHeatMap_import-local-1615587196","widgets":[{"definition":{"custom_links":[{"label":"Test Custom Link label","link":"https://app.datadoghq.com/dashboard/lists"}],"events":[{"q":"env:prod","tags_execution":"and"}],"legend_size":"2","requests":[{"q":"avg:system.cpu.user{account:prod} by {app}","style":{"palette":"blue"}}],"show_legend":true,"time":{"live_span":"1mo"},"title":"Avg of system.cpu.user over account:prod by app","title_align":"center","title_size":"16","type":"heatmap","yaxis":{"include_zero":false,"max":"100"}}}]} + {"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-TestAccDatadogDashboardHeatMap_import-local-1623092255","widgets":[{"definition":{"custom_links":[{"label":"Test Custom Link label","link":"https://app.datadoghq.com/dashboard/lists"}],"events":[{"q":"env:prod","tags_execution":"and"}],"legend_size":"2","requests":[{"q":"avg:system.cpu.user{account:prod} by {app}","style":{"palette":"blue"}}],"show_legend":true,"time":{"live_span":"1mo"},"title":"Avg of system.cpu.user over account:prod by app","title_align":"center","title_size":"16","type":"heatmap","yaxis":{"include_zero":false,"max":"100"}}}]} form: {} headers: Accept: @@ -13,11 +13,11 @@ interactions: Dd-Operation-Id: - CreateDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 2.4.4; terraform-cli 0.14.7) datadog-api-client-go/1.0.0-beta.16 (go go1.15.3; os darwin; arch amd64) + - terraform-provider-datadog/dev (terraform 2.6.1; terraform-cli 0.15.3) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) 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":"745-5rz-bb7","title":"tf-TestAccDatadogDashboardHeatMap_import-local-1615587196","url":"/dashboard/745-5rz-bb7/tf-testaccdatadogdashboardheatmapimport-local-1615587196","created_at":"2021-03-12T22:13:19.317356+00:00","modified_at":"2021-03-12T22:13:19.317356+00:00","author_handle":"frog@datadoghq.com","widgets":[{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test Custom Link label"}],"title_size":"16","yaxis":{"include_zero":false,"max":"100"},"title_align":"center","events":[{"q":"env:prod","tags_execution":"and"}],"show_legend":true,"time":{"live_span":"1mo"},"title":"Avg of system.cpu.user over account:prod by app","legend_size":"2","type":"heatmap","requests":[{"q":"avg:system.cpu.user{account:prod} by {app}","style":{"palette":"blue"}}]},"id":4560359768741337}],"layout_type":"ordered"}' + body: '{"notify_list":[],"description":"Created using the Datadog provider in Terraform","author_name":null,"template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"agt-bvi-823","title":"tf-TestAccDatadogDashboardHeatMap_import-local-1623092255","url":"/dashboard/agt-bvi-823/tf-testaccdatadogdashboardheatmapimport-local-1623092255","created_at":"2021-06-07T18:57:54.746067+00:00","modified_at":"2021-06-07T18:57:54.746067+00:00","author_handle":"frog@datadoghq.com","widgets":[{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test Custom Link label"}],"title_size":"16","yaxis":{"include_zero":false,"max":"100"},"title_align":"center","events":[{"q":"env:prod","tags_execution":"and"}],"show_legend":true,"time":{"live_span":"1mo"},"title":"Avg of system.cpu.user over account:prod by app","legend_size":"2","type":"heatmap","requests":[{"q":"avg:system.cpu.user{account:prod} by {app}","style":{"palette":"blue"}}]},"id":6977657621360200}],"layout_type":"ordered"}' headers: Cache-Control: - no-cache @@ -28,7 +28,7 @@ interactions: Content-Type: - application/json Date: - - Fri, 12 Mar 2021 22:13:22 GMT + - Mon, 07 Jun 2021 18:57:55 GMT Pragma: - no-cache Strict-Transport-Security: @@ -38,9 +38,9 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Debug: - - nLnnBNvlCFDECRnZvzDb0z4sAO35G+IMidcAs8vrCKyjvsKWE8Yd9S3n6OjZ1qRN + - /L+SFFO+m1pPY+hRCpk5325fvfrNl0KmiquUNJolBN/5hu3HIwflqjZSbJ6NxDFG X-Dd-Version: - - "35.4088130" + - "35.4693288" X-Frame-Options: - SAMEORIGIN status: 200 OK @@ -55,11 +55,11 @@ interactions: Dd-Operation-Id: - GetDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 2.4.4; terraform-cli 0.14.7) datadog-api-client-go/1.0.0-beta.16 (go go1.15.3; os darwin; arch amd64) - url: https://api.datadoghq.com/api/v1/dashboard/745-5rz-bb7 + - terraform-provider-datadog/dev (terraform 2.6.1; terraform-cli 0.15.3) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) + url: https://api.datadoghq.com/api/v1/dashboard/agt-bvi-823 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":"745-5rz-bb7","title":"tf-TestAccDatadogDashboardHeatMap_import-local-1615587196","url":"/dashboard/745-5rz-bb7/tf-testaccdatadogdashboardheatmapimport-local-1615587196","created_at":"2021-03-12T22:13:19.317356+00:00","modified_at":"2021-03-12T22:13:19.317356+00:00","author_handle":"frog@datadoghq.com","widgets":[{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test Custom Link label"}],"title_size":"16","yaxis":{"include_zero":false,"max":"100"},"title_align":"center","events":[{"q":"env:prod","tags_execution":"and"}],"show_legend":true,"time":{"live_span":"1mo"},"title":"Avg of system.cpu.user over account:prod by app","legend_size":"2","type":"heatmap","requests":[{"q":"avg:system.cpu.user{account:prod} by {app}","style":{"palette":"blue"}}]},"id":4560359768741337}],"layout_type":"ordered"}' + body: '{"notify_list":[],"description":"Created using the Datadog provider in Terraform","author_name":null,"template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"agt-bvi-823","title":"tf-TestAccDatadogDashboardHeatMap_import-local-1623092255","url":"/dashboard/agt-bvi-823/tf-testaccdatadogdashboardheatmapimport-local-1623092255","created_at":"2021-06-07T18:57:54.746067+00:00","modified_at":"2021-06-07T18:57:54.746067+00:00","author_handle":"frog@datadoghq.com","widgets":[{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test Custom Link label"}],"title_size":"16","yaxis":{"include_zero":false,"max":"100"},"title_align":"center","events":[{"q":"env:prod","tags_execution":"and"}],"show_legend":true,"time":{"live_span":"1mo"},"title":"Avg of system.cpu.user over account:prod by app","legend_size":"2","type":"heatmap","requests":[{"q":"avg:system.cpu.user{account:prod} by {app}","style":{"palette":"blue"}}]},"id":6977657621360200}],"layout_type":"ordered"}' headers: Cache-Control: - no-cache @@ -70,7 +70,7 @@ interactions: Content-Type: - application/json Date: - - Fri, 12 Mar 2021 22:13:22 GMT + - Mon, 07 Jun 2021 18:57:55 GMT Pragma: - no-cache Strict-Transport-Security: @@ -80,9 +80,9 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Debug: - - vdJ3/nHEY1ioXQ6pQrBVvsQK1s4yyc+wufBMPSoXql71qZVuP/xMdtNo6DafhOAk + - twvpGlmuom5y6A0pjGtXzTf554cmwJgTcCZ71fK4H/RDi+v5ehBK0zQiRcTJQG5C X-Dd-Version: - - "35.4088130" + - "35.4693288" X-Frame-Options: - SAMEORIGIN status: 200 OK @@ -97,11 +97,11 @@ interactions: Dd-Operation-Id: - GetDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 2.4.4; terraform-cli 0.14.7) datadog-api-client-go/1.0.0-beta.16 (go go1.15.3; os darwin; arch amd64) - url: https://api.datadoghq.com/api/v1/dashboard/745-5rz-bb7 + - terraform-provider-datadog/dev (terraform 2.6.1; terraform-cli 0.15.3) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) + url: https://api.datadoghq.com/api/v1/dashboard/agt-bvi-823 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":"745-5rz-bb7","title":"tf-TestAccDatadogDashboardHeatMap_import-local-1615587196","url":"/dashboard/745-5rz-bb7/tf-testaccdatadogdashboardheatmapimport-local-1615587196","created_at":"2021-03-12T22:13:19.317356+00:00","modified_at":"2021-03-12T22:13:19.317356+00:00","author_handle":"frog@datadoghq.com","widgets":[{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test Custom Link label"}],"title_size":"16","yaxis":{"include_zero":false,"max":"100"},"title_align":"center","events":[{"q":"env:prod","tags_execution":"and"}],"show_legend":true,"time":{"live_span":"1mo"},"title":"Avg of system.cpu.user over account:prod by app","legend_size":"2","type":"heatmap","requests":[{"q":"avg:system.cpu.user{account:prod} by {app}","style":{"palette":"blue"}}]},"id":4560359768741337}],"layout_type":"ordered"}' + body: '{"notify_list":[],"description":"Created using the Datadog provider in Terraform","author_name":null,"template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"agt-bvi-823","title":"tf-TestAccDatadogDashboardHeatMap_import-local-1623092255","url":"/dashboard/agt-bvi-823/tf-testaccdatadogdashboardheatmapimport-local-1623092255","created_at":"2021-06-07T18:57:54.746067+00:00","modified_at":"2021-06-07T18:57:54.746067+00:00","author_handle":"frog@datadoghq.com","widgets":[{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test Custom Link label"}],"title_size":"16","yaxis":{"include_zero":false,"max":"100"},"title_align":"center","events":[{"q":"env:prod","tags_execution":"and"}],"show_legend":true,"time":{"live_span":"1mo"},"title":"Avg of system.cpu.user over account:prod by app","legend_size":"2","type":"heatmap","requests":[{"q":"avg:system.cpu.user{account:prod} by {app}","style":{"palette":"blue"}}]},"id":6977657621360200}],"layout_type":"ordered"}' headers: Cache-Control: - no-cache @@ -112,7 +112,7 @@ interactions: Content-Type: - application/json Date: - - Fri, 12 Mar 2021 22:13:24 GMT + - Mon, 07 Jun 2021 18:58:07 GMT Pragma: - no-cache Strict-Transport-Security: @@ -122,9 +122,9 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Debug: - - B1nwy/pPNqX+q4pQT22cdp1QCexE35IF8qwSHy0Nf7IW0Y881qtn4tXN1lpmzaKc + - gYZcaADwbKcv7Hm19HJx6WsLoKuOijDWAt2viPeCfWqUgyKY+9e1xZdmMJeXV3YV X-Dd-Version: - - "35.4088130" + - "35.4693288" X-Frame-Options: - SAMEORIGIN status: 200 OK @@ -139,11 +139,11 @@ interactions: Dd-Operation-Id: - GetDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 2.4.4; terraform-cli ) datadog-api-client-go/1.0.0-beta.16 (go go1.15.3; os darwin; arch amd64) - url: https://api.datadoghq.com/api/v1/dashboard/745-5rz-bb7 + - terraform-provider-datadog/dev (terraform 2.6.1; terraform-cli 0.15.3) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) + url: https://api.datadoghq.com/api/v1/dashboard/agt-bvi-823 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":"745-5rz-bb7","title":"tf-TestAccDatadogDashboardHeatMap_import-local-1615587196","url":"/dashboard/745-5rz-bb7/tf-testaccdatadogdashboardheatmapimport-local-1615587196","created_at":"2021-03-12T22:13:19.317356+00:00","modified_at":"2021-03-12T22:13:19.317356+00:00","author_handle":"frog@datadoghq.com","widgets":[{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test Custom Link label"}],"title_size":"16","yaxis":{"include_zero":false,"max":"100"},"title_align":"center","events":[{"q":"env:prod","tags_execution":"and"}],"show_legend":true,"time":{"live_span":"1mo"},"title":"Avg of system.cpu.user over account:prod by app","legend_size":"2","type":"heatmap","requests":[{"q":"avg:system.cpu.user{account:prod} by {app}","style":{"palette":"blue"}}]},"id":4560359768741337}],"layout_type":"ordered"}' + body: '{"notify_list":[],"description":"Created using the Datadog provider in Terraform","author_name":null,"template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"agt-bvi-823","title":"tf-TestAccDatadogDashboardHeatMap_import-local-1623092255","url":"/dashboard/agt-bvi-823/tf-testaccdatadogdashboardheatmapimport-local-1623092255","created_at":"2021-06-07T18:57:54.746067+00:00","modified_at":"2021-06-07T18:57:54.746067+00:00","author_handle":"frog@datadoghq.com","widgets":[{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test Custom Link label"}],"title_size":"16","yaxis":{"include_zero":false,"max":"100"},"title_align":"center","events":[{"q":"env:prod","tags_execution":"and"}],"show_legend":true,"time":{"live_span":"1mo"},"title":"Avg of system.cpu.user over account:prod by app","legend_size":"2","type":"heatmap","requests":[{"q":"avg:system.cpu.user{account:prod} by {app}","style":{"palette":"blue"}}]},"id":6977657621360200}],"layout_type":"ordered"}' headers: Cache-Control: - no-cache @@ -154,7 +154,7 @@ interactions: Content-Type: - application/json Date: - - Fri, 12 Mar 2021 22:13:26 GMT + - Mon, 07 Jun 2021 18:58:26 GMT Pragma: - no-cache Strict-Transport-Security: @@ -164,9 +164,9 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Debug: - - PhosSd3Ch1B6B0DXI71steKUi7XhPDttnPiIP1NdXTw0VJNWpoUnYyBmODS5ne3q + - l8RQo2maZqJf6GFThBbKNE6dvthz6njusVtau3dPXJWL2RLFoN81H+BLPB/1xgs1 X-Dd-Version: - - "35.4088130" + - "35.4693398" X-Frame-Options: - SAMEORIGIN status: 200 OK @@ -181,11 +181,11 @@ interactions: Dd-Operation-Id: - DeleteDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 2.4.4; terraform-cli ) datadog-api-client-go/1.0.0-beta.16 (go go1.15.3; os darwin; arch amd64) - url: https://api.datadoghq.com/api/v1/dashboard/745-5rz-bb7 + - terraform-provider-datadog/dev (terraform 2.6.1; terraform-cli 0.15.3) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) + url: https://api.datadoghq.com/api/v1/dashboard/agt-bvi-823 method: DELETE response: - body: '{"deleted_dashboard_id":"745-5rz-bb7"}' + body: '{"deleted_dashboard_id":"agt-bvi-823"}' headers: Cache-Control: - no-cache @@ -196,7 +196,7 @@ interactions: Content-Type: - application/json Date: - - Fri, 12 Mar 2021 22:13:27 GMT + - Mon, 07 Jun 2021 18:58:31 GMT Pragma: - no-cache Strict-Transport-Security: @@ -206,9 +206,9 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Debug: - - vdJ3/nHEY1ioXQ6pQrBVvsQK1s4yyc+wufBMPSoXql71qZVuP/xMdtNo6DafhOAk + - 5gfwVh/5HZ+AnGd/Di93w3NEWC6KMHT9KzmHEiRJmNdOjBtAsbOcgVFyqEChw71h X-Dd-Version: - - "35.4088130" + - "35.4693398" X-Frame-Options: - SAMEORIGIN status: 200 OK @@ -223,11 +223,11 @@ interactions: Dd-Operation-Id: - GetDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 2.4.4; terraform-cli ) datadog-api-client-go/1.0.0-beta.16 (go go1.15.3; os darwin; arch amd64) - url: https://api.datadoghq.com/api/v1/dashboard/745-5rz-bb7 + - terraform-provider-datadog/dev (terraform 2.6.1; terraform-cli 0.15.3) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) + url: https://api.datadoghq.com/api/v1/dashboard/agt-bvi-823 method: GET response: - body: '{"errors": ["Dashboard with ID 745-5rz-bb7 not found"]}' + body: '{"errors": ["Dashboard with ID agt-bvi-823 not found"]}' headers: Cache-Control: - no-cache @@ -238,7 +238,7 @@ interactions: Content-Type: - application/json Date: - - Fri, 12 Mar 2021 22:13:27 GMT + - Mon, 07 Jun 2021 18:58:31 GMT Pragma: - no-cache Strict-Transport-Security: @@ -248,7 +248,7 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Version: - - "35.4088130" + - "35.4693398" X-Frame-Options: - SAMEORIGIN status: 404 Not Found diff --git a/datadog/tests/cassettes/TestAccDatadogDashboardHostMap.freeze b/datadog/tests/cassettes/TestAccDatadogDashboardHostMap.freeze index 745dcc02f..9a63ae0dd 100644 --- a/datadog/tests/cassettes/TestAccDatadogDashboardHostMap.freeze +++ b/datadog/tests/cassettes/TestAccDatadogDashboardHostMap.freeze @@ -1 +1 @@ -2021-03-12T17:13:15.820444-05:00 \ No newline at end of file +2021-06-07T14:59:48.602905-04:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogDashboardHostMap.yaml b/datadog/tests/cassettes/TestAccDatadogDashboardHostMap.yaml index c95a21c83..0b5716fe4 100644 --- a/datadog/tests/cassettes/TestAccDatadogDashboardHostMap.yaml +++ b/datadog/tests/cassettes/TestAccDatadogDashboardHostMap.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-TestAccDatadogDashboardHostMap-local-1615587195","widgets":[{"definition":{"custom_links":[{"label":"Test Custom Link label","link":"https://app.datadoghq.com/dashboard/lists"}],"group":["region"],"no_group_hosts":true,"no_metric_hosts":true,"node_type":"host","requests":{"fill":{"q":"avg:system.cpu.idle{env:prod} by {host}"},"size":{"q":"max:system.cpu.user{env:prod} by {host}"}},"scope":["env:prod"],"style":{"fill_max":"30","fill_min":"10","palette":"YlOrRd","palette_flip":true},"title":"system.cpu.idle, system.cpu.user","title_align":"right","title_size":"16","type":"hostmap"}}]} + {"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-TestAccDatadogDashboardHostMap-local-1623092388","widgets":[{"definition":{"custom_links":[{"label":"Test Custom Link label","link":"https://app.datadoghq.com/dashboard/lists"},{"is_hidden":true,"link":"https://app.datadoghq.com/dashboard/lists","override_label":"logs"}],"group":["region"],"no_group_hosts":true,"no_metric_hosts":true,"node_type":"host","requests":{"fill":{"q":"avg:system.cpu.idle{env:prod} by {host}"},"size":{"q":"max:system.cpu.user{env:prod} by {host}"}},"scope":["env:prod"],"style":{"fill_max":"30","fill_min":"10","palette":"YlOrRd","palette_flip":true},"title":"system.cpu.idle, system.cpu.user","title_align":"right","title_size":"16","type":"hostmap"}}]} form: {} headers: Accept: @@ -13,11 +13,11 @@ interactions: Dd-Operation-Id: - CreateDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 2.4.4; terraform-cli ) datadog-api-client-go/1.0.0-beta.16 (go go1.15.3; os darwin; arch amd64) + - terraform-provider-datadog/dev (terraform 2.6.1; terraform-cli 0.15.3) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) 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":"wpr-ngk-x4s","title":"tf-TestAccDatadogDashboardHostMap-local-1615587195","url":"/dashboard/wpr-ngk-x4s/tf-testaccdatadogdashboardhostmap-local-1615587195","created_at":"2021-03-12T22:13:18.503316+00:00","modified_at":"2021-03-12T22:13:18.503316+00:00","author_handle":"frog@datadoghq.com","widgets":[{"definition":{"style":{"fill_min":"10","fill_max":"30","palette":"YlOrRd","palette_flip":true},"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test Custom Link label"}],"title_size":"16","title":"system.cpu.idle, system.cpu.user","title_align":"right","node_type":"host","no_metric_hosts":true,"group":["region"],"requests":{"size":{"q":"max:system.cpu.user{env:prod} by {host}"},"fill":{"q":"avg:system.cpu.idle{env:prod} by {host}"}},"no_group_hosts":true,"type":"hostmap","scope":["env:prod"]},"id":4740952089759183}],"layout_type":"ordered"}' + body: '{"notify_list":[],"description":"Created using the Datadog provider in Terraform","author_name":null,"template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"7ea-2ez-78m","title":"tf-TestAccDatadogDashboardHostMap-local-1623092388","url":"/dashboard/7ea-2ez-78m/tf-testaccdatadogdashboardhostmap-local-1623092388","created_at":"2021-06-07T19:00:05.614994+00:00","modified_at":"2021-06-07T19:00:05.614994+00:00","author_handle":"frog@datadoghq.com","widgets":[{"definition":{"style":{"fill_min":"10","fill_max":"30","palette":"YlOrRd","palette_flip":true},"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test Custom Link label"},{"override_label":"logs","is_hidden":true,"link":"https://app.datadoghq.com/dashboard/lists"}],"title_size":"16","title":"system.cpu.idle, system.cpu.user","title_align":"right","node_type":"host","no_metric_hosts":true,"group":["region"],"requests":{"size":{"q":"max:system.cpu.user{env:prod} by {host}"},"fill":{"q":"avg:system.cpu.idle{env:prod} by {host}"}},"no_group_hosts":true,"type":"hostmap","scope":["env:prod"]},"id":8480282586103129}],"layout_type":"ordered"}' headers: Cache-Control: - no-cache @@ -28,7 +28,7 @@ interactions: Content-Type: - application/json Date: - - Fri, 12 Mar 2021 22:13:21 GMT + - Mon, 07 Jun 2021 19:00:06 GMT Pragma: - no-cache Strict-Transport-Security: @@ -38,9 +38,9 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Debug: - - 25u1gDlL724DHllbjFT4BhOLorBTilh+aah2uWAUEjFC/+rjczJdiyWrV/HwLwe/ + - 5gfwVh/5HZ+AnGd/Di93w3NEWC6KMHT9KzmHEiRJmNdOjBtAsbOcgVFyqEChw71h X-Dd-Version: - - "35.4088130" + - "35.4693398" X-Frame-Options: - SAMEORIGIN status: 200 OK @@ -55,11 +55,11 @@ interactions: Dd-Operation-Id: - GetDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 2.4.4; terraform-cli ) datadog-api-client-go/1.0.0-beta.16 (go go1.15.3; os darwin; arch amd64) - url: https://api.datadoghq.com/api/v1/dashboard/wpr-ngk-x4s + - terraform-provider-datadog/dev (terraform 2.6.1; terraform-cli 0.15.3) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) + url: https://api.datadoghq.com/api/v1/dashboard/7ea-2ez-78m 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":"wpr-ngk-x4s","title":"tf-TestAccDatadogDashboardHostMap-local-1615587195","url":"/dashboard/wpr-ngk-x4s/tf-testaccdatadogdashboardhostmap-local-1615587195","created_at":"2021-03-12T22:13:18.503316+00:00","modified_at":"2021-03-12T22:13:18.503316+00:00","author_handle":"frog@datadoghq.com","widgets":[{"definition":{"style":{"fill_min":"10","fill_max":"30","palette":"YlOrRd","palette_flip":true},"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test Custom Link label"}],"title_size":"16","title":"system.cpu.idle, system.cpu.user","title_align":"right","node_type":"host","no_metric_hosts":true,"group":["region"],"requests":{"size":{"q":"max:system.cpu.user{env:prod} by {host}"},"fill":{"q":"avg:system.cpu.idle{env:prod} by {host}"}},"no_group_hosts":true,"type":"hostmap","scope":["env:prod"]},"id":4740952089759183}],"layout_type":"ordered"}' + body: '{"notify_list":[],"description":"Created using the Datadog provider in Terraform","author_name":null,"template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"7ea-2ez-78m","title":"tf-TestAccDatadogDashboardHostMap-local-1623092388","url":"/dashboard/7ea-2ez-78m/tf-testaccdatadogdashboardhostmap-local-1623092388","created_at":"2021-06-07T19:00:05.614994+00:00","modified_at":"2021-06-07T19:00:05.614994+00:00","author_handle":"frog@datadoghq.com","widgets":[{"definition":{"style":{"fill_min":"10","fill_max":"30","palette":"YlOrRd","palette_flip":true},"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test Custom Link label"},{"override_label":"logs","is_hidden":true,"link":"https://app.datadoghq.com/dashboard/lists"}],"title_size":"16","title":"system.cpu.idle, system.cpu.user","title_align":"right","node_type":"host","no_metric_hosts":true,"group":["region"],"requests":{"size":{"q":"max:system.cpu.user{env:prod} by {host}"},"fill":{"q":"avg:system.cpu.idle{env:prod} by {host}"}},"no_group_hosts":true,"type":"hostmap","scope":["env:prod"]},"id":8480282586103129}],"layout_type":"ordered"}' headers: Cache-Control: - no-cache @@ -70,7 +70,7 @@ interactions: Content-Type: - application/json Date: - - Fri, 12 Mar 2021 22:13:21 GMT + - Mon, 07 Jun 2021 19:00:06 GMT Pragma: - no-cache Strict-Transport-Security: @@ -80,9 +80,9 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Debug: - - 2328yjLSqI4XmR1pVqrPRR/SFcQsbafjEpPmZx7/3PfxUK1nJQQsX+wrMelyVyj+ + - B1nwy/pPNqX+q4pQT22cdp1QCexE35IF8qwSHy0Nf7IW0Y881qtn4tXN1lpmzaKc X-Dd-Version: - - "35.4088130" + - "35.4693398" X-Frame-Options: - SAMEORIGIN status: 200 OK @@ -97,11 +97,11 @@ interactions: Dd-Operation-Id: - GetDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 2.4.4; terraform-cli ) datadog-api-client-go/1.0.0-beta.16 (go go1.15.3; os darwin; arch amd64) - url: https://api.datadoghq.com/api/v1/dashboard/wpr-ngk-x4s + - terraform-provider-datadog/dev (terraform 2.6.1; terraform-cli 0.15.3) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) + url: https://api.datadoghq.com/api/v1/dashboard/7ea-2ez-78m 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":"wpr-ngk-x4s","title":"tf-TestAccDatadogDashboardHostMap-local-1615587195","url":"/dashboard/wpr-ngk-x4s/tf-testaccdatadogdashboardhostmap-local-1615587195","created_at":"2021-03-12T22:13:18.503316+00:00","modified_at":"2021-03-12T22:13:18.503316+00:00","author_handle":"frog@datadoghq.com","widgets":[{"definition":{"style":{"fill_min":"10","fill_max":"30","palette":"YlOrRd","palette_flip":true},"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test Custom Link label"}],"title_size":"16","title":"system.cpu.idle, system.cpu.user","title_align":"right","node_type":"host","no_metric_hosts":true,"group":["region"],"requests":{"size":{"q":"max:system.cpu.user{env:prod} by {host}"},"fill":{"q":"avg:system.cpu.idle{env:prod} by {host}"}},"no_group_hosts":true,"type":"hostmap","scope":["env:prod"]},"id":4740952089759183}],"layout_type":"ordered"}' + body: '{"notify_list":[],"description":"Created using the Datadog provider in Terraform","author_name":null,"template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"7ea-2ez-78m","title":"tf-TestAccDatadogDashboardHostMap-local-1623092388","url":"/dashboard/7ea-2ez-78m/tf-testaccdatadogdashboardhostmap-local-1623092388","created_at":"2021-06-07T19:00:05.614994+00:00","modified_at":"2021-06-07T19:00:05.614994+00:00","author_handle":"frog@datadoghq.com","widgets":[{"definition":{"style":{"fill_min":"10","fill_max":"30","palette":"YlOrRd","palette_flip":true},"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test Custom Link label"},{"override_label":"logs","is_hidden":true,"link":"https://app.datadoghq.com/dashboard/lists"}],"title_size":"16","title":"system.cpu.idle, system.cpu.user","title_align":"right","node_type":"host","no_metric_hosts":true,"group":["region"],"requests":{"size":{"q":"max:system.cpu.user{env:prod} by {host}"},"fill":{"q":"avg:system.cpu.idle{env:prod} by {host}"}},"no_group_hosts":true,"type":"hostmap","scope":["env:prod"]},"id":8480282586103129}],"layout_type":"ordered"}' headers: Cache-Control: - no-cache @@ -112,7 +112,7 @@ interactions: Content-Type: - application/json Date: - - Fri, 12 Mar 2021 22:13:21 GMT + - Mon, 07 Jun 2021 19:00:08 GMT Pragma: - no-cache Strict-Transport-Security: @@ -122,9 +122,9 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Debug: - - l8RQo2maZqJf6GFThBbKNE6dvthz6njusVtau3dPXJWL2RLFoN81H+BLPB/1xgs1 + - dPySkcOzIZtKyMKDAAzuysY3gNGGj6RtYogGuSb76E8mPvoqzREyRp6lPYm91hQU X-Dd-Version: - - "35.4088130" + - "35.4693398" X-Frame-Options: - SAMEORIGIN status: 200 OK @@ -139,11 +139,11 @@ interactions: Dd-Operation-Id: - GetDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 2.4.4; terraform-cli 0.14.7) datadog-api-client-go/1.0.0-beta.16 (go go1.15.3; os darwin; arch amd64) - url: https://api.datadoghq.com/api/v1/dashboard/wpr-ngk-x4s + - terraform-provider-datadog/dev (terraform 2.6.1; terraform-cli 0.15.3) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) + url: https://api.datadoghq.com/api/v1/dashboard/7ea-2ez-78m 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":"wpr-ngk-x4s","title":"tf-TestAccDatadogDashboardHostMap-local-1615587195","url":"/dashboard/wpr-ngk-x4s/tf-testaccdatadogdashboardhostmap-local-1615587195","created_at":"2021-03-12T22:13:18.503316+00:00","modified_at":"2021-03-12T22:13:18.503316+00:00","author_handle":"frog@datadoghq.com","widgets":[{"definition":{"style":{"fill_min":"10","fill_max":"30","palette":"YlOrRd","palette_flip":true},"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test Custom Link label"}],"title_size":"16","title":"system.cpu.idle, system.cpu.user","title_align":"right","node_type":"host","no_metric_hosts":true,"group":["region"],"requests":{"size":{"q":"max:system.cpu.user{env:prod} by {host}"},"fill":{"q":"avg:system.cpu.idle{env:prod} by {host}"}},"no_group_hosts":true,"type":"hostmap","scope":["env:prod"]},"id":4740952089759183}],"layout_type":"ordered"}' + body: '{"notify_list":[],"description":"Created using the Datadog provider in Terraform","author_name":null,"template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"7ea-2ez-78m","title":"tf-TestAccDatadogDashboardHostMap-local-1623092388","url":"/dashboard/7ea-2ez-78m/tf-testaccdatadogdashboardhostmap-local-1623092388","created_at":"2021-06-07T19:00:05.614994+00:00","modified_at":"2021-06-07T19:00:05.614994+00:00","author_handle":"frog@datadoghq.com","widgets":[{"definition":{"style":{"fill_min":"10","fill_max":"30","palette":"YlOrRd","palette_flip":true},"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test Custom Link label"},{"override_label":"logs","is_hidden":true,"link":"https://app.datadoghq.com/dashboard/lists"}],"title_size":"16","title":"system.cpu.idle, system.cpu.user","title_align":"right","node_type":"host","no_metric_hosts":true,"group":["region"],"requests":{"size":{"q":"max:system.cpu.user{env:prod} by {host}"},"fill":{"q":"avg:system.cpu.idle{env:prod} by {host}"}},"no_group_hosts":true,"type":"hostmap","scope":["env:prod"]},"id":8480282586103129}],"layout_type":"ordered"}' headers: Cache-Control: - no-cache @@ -154,7 +154,7 @@ interactions: Content-Type: - application/json Date: - - Fri, 12 Mar 2021 22:13:22 GMT + - Mon, 07 Jun 2021 19:00:15 GMT Pragma: - no-cache Strict-Transport-Security: @@ -164,9 +164,9 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Debug: - - dPySkcOzIZtKyMKDAAzuysY3gNGGj6RtYogGuSb76E8mPvoqzREyRp6lPYm91hQU + - 2328yjLSqI4XmR1pVqrPRR/SFcQsbafjEpPmZx7/3PfxUK1nJQQsX+wrMelyVyj+ X-Dd-Version: - - "35.4088130" + - "35.4693398" X-Frame-Options: - SAMEORIGIN status: 200 OK @@ -181,11 +181,11 @@ interactions: Dd-Operation-Id: - DeleteDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 2.4.4; terraform-cli 0.14.7) datadog-api-client-go/1.0.0-beta.16 (go go1.15.3; os darwin; arch amd64) - url: https://api.datadoghq.com/api/v1/dashboard/wpr-ngk-x4s + - terraform-provider-datadog/dev (terraform 2.6.1; terraform-cli 0.15.3) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) + url: https://api.datadoghq.com/api/v1/dashboard/7ea-2ez-78m method: DELETE response: - body: '{"deleted_dashboard_id":"wpr-ngk-x4s"}' + body: '{"deleted_dashboard_id":"7ea-2ez-78m"}' headers: Cache-Control: - no-cache @@ -196,7 +196,7 @@ interactions: Content-Type: - application/json Date: - - Fri, 12 Mar 2021 22:13:24 GMT + - Mon, 07 Jun 2021 19:00:26 GMT Pragma: - no-cache Strict-Transport-Security: @@ -206,9 +206,9 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Debug: - - S1wfaMZOKGT/IoMw6fqAwAwGWo2vQ44sjF3YzuETnQfxZO2T5eJbs0aX3UKb9Dwu + - F5gm0Rce1/Abr9/0Fw8HAqWfiz0FdiH8er/AXnN6lOn3L6KyGgbsLCwgPlob1No8 X-Dd-Version: - - "35.4088130" + - "35.4693398" X-Frame-Options: - SAMEORIGIN status: 200 OK @@ -223,11 +223,11 @@ interactions: Dd-Operation-Id: - GetDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 2.4.4; terraform-cli 0.14.7) datadog-api-client-go/1.0.0-beta.16 (go go1.15.3; os darwin; arch amd64) - url: https://api.datadoghq.com/api/v1/dashboard/wpr-ngk-x4s + - terraform-provider-datadog/dev (terraform 2.6.1; terraform-cli 0.15.3) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) + url: https://api.datadoghq.com/api/v1/dashboard/7ea-2ez-78m method: GET response: - body: '{"errors": ["Dashboard with ID wpr-ngk-x4s not found"]}' + body: '{"errors": ["Dashboard with ID 7ea-2ez-78m not found"]}' headers: Cache-Control: - no-cache @@ -238,7 +238,7 @@ interactions: Content-Type: - application/json Date: - - Fri, 12 Mar 2021 22:13:24 GMT + - Mon, 07 Jun 2021 19:00:26 GMT Pragma: - no-cache Strict-Transport-Security: @@ -248,7 +248,7 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Version: - - "35.4088130" + - "35.4693398" X-Frame-Options: - SAMEORIGIN status: 404 Not Found diff --git a/datadog/tests/cassettes/TestAccDatadogDashboardHostMap_import.freeze b/datadog/tests/cassettes/TestAccDatadogDashboardHostMap_import.freeze index f3569f018..676bbcad6 100644 --- a/datadog/tests/cassettes/TestAccDatadogDashboardHostMap_import.freeze +++ b/datadog/tests/cassettes/TestAccDatadogDashboardHostMap_import.freeze @@ -1 +1 @@ -2021-03-12T17:13:09.956805-05:00 \ No newline at end of file +2021-06-07T14:59:48.602836-04:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogDashboardHostMap_import.yaml b/datadog/tests/cassettes/TestAccDatadogDashboardHostMap_import.yaml index e7f4902cf..fdaa0eb15 100644 --- a/datadog/tests/cassettes/TestAccDatadogDashboardHostMap_import.yaml +++ b/datadog/tests/cassettes/TestAccDatadogDashboardHostMap_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-TestAccDatadogDashboardHostMap_import-local-1615587189","widgets":[{"definition":{"custom_links":[{"label":"Test Custom Link label","link":"https://app.datadoghq.com/dashboard/lists"}],"group":["region"],"no_group_hosts":true,"no_metric_hosts":true,"node_type":"host","requests":{"fill":{"q":"avg:system.cpu.idle{env:prod} by {host}"},"size":{"q":"max:system.cpu.user{env:prod} by {host}"}},"scope":["env:prod"],"style":{"fill_max":"30","fill_min":"10","palette":"YlOrRd","palette_flip":true},"title":"system.cpu.idle, system.cpu.user","title_align":"right","title_size":"16","type":"hostmap"}}]} + {"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-TestAccDatadogDashboardHostMap_import-local-1623092388","widgets":[{"definition":{"custom_links":[{"label":"Test Custom Link label","link":"https://app.datadoghq.com/dashboard/lists"},{"is_hidden":true,"link":"https://app.datadoghq.com/dashboard/lists","override_label":"logs"}],"group":["region"],"no_group_hosts":true,"no_metric_hosts":true,"node_type":"host","requests":{"fill":{"q":"avg:system.cpu.idle{env:prod} by {host}"},"size":{"q":"max:system.cpu.user{env:prod} by {host}"}},"scope":["env:prod"],"style":{"fill_max":"30","fill_min":"10","palette":"YlOrRd","palette_flip":true},"title":"system.cpu.idle, system.cpu.user","title_align":"right","title_size":"16","type":"hostmap"}}]} form: {} headers: Accept: @@ -13,11 +13,11 @@ interactions: Dd-Operation-Id: - CreateDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 2.4.4; terraform-cli ) datadog-api-client-go/1.0.0-beta.16 (go go1.15.3; os darwin; arch amd64) + - terraform-provider-datadog/dev (terraform 2.6.1; terraform-cli 0.15.3) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) 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":"rc3-zbm-68b","title":"tf-TestAccDatadogDashboardHostMap_import-local-1615587189","url":"/dashboard/rc3-zbm-68b/tf-testaccdatadogdashboardhostmapimport-local-1615587189","created_at":"2021-03-12T22:13:13.591915+00:00","modified_at":"2021-03-12T22:13:13.591915+00:00","author_handle":"frog@datadoghq.com","widgets":[{"definition":{"style":{"fill_min":"10","fill_max":"30","palette":"YlOrRd","palette_flip":true},"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test Custom Link label"}],"title_size":"16","title":"system.cpu.idle, system.cpu.user","title_align":"right","node_type":"host","no_metric_hosts":true,"group":["region"],"requests":{"size":{"q":"max:system.cpu.user{env:prod} by {host}"},"fill":{"q":"avg:system.cpu.idle{env:prod} by {host}"}},"no_group_hosts":true,"type":"hostmap","scope":["env:prod"]},"id":7743784878658843}],"layout_type":"ordered"}' + body: '{"notify_list":[],"description":"Created using the Datadog provider in Terraform","author_name":null,"template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"75a-prz-6v9","title":"tf-TestAccDatadogDashboardHostMap_import-local-1623092388","url":"/dashboard/75a-prz-6v9/tf-testaccdatadogdashboardhostmapimport-local-1623092388","created_at":"2021-06-07T19:00:05.642873+00:00","modified_at":"2021-06-07T19:00:05.642873+00:00","author_handle":"frog@datadoghq.com","widgets":[{"definition":{"style":{"fill_min":"10","fill_max":"30","palette":"YlOrRd","palette_flip":true},"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test Custom Link label"},{"override_label":"logs","is_hidden":true,"link":"https://app.datadoghq.com/dashboard/lists"}],"title_size":"16","title":"system.cpu.idle, system.cpu.user","title_align":"right","node_type":"host","no_metric_hosts":true,"group":["region"],"requests":{"size":{"q":"max:system.cpu.user{env:prod} by {host}"},"fill":{"q":"avg:system.cpu.idle{env:prod} by {host}"}},"no_group_hosts":true,"type":"hostmap","scope":["env:prod"]},"id":6071489269300966}],"layout_type":"ordered"}' headers: Cache-Control: - no-cache @@ -28,7 +28,7 @@ interactions: Content-Type: - application/json Date: - - Fri, 12 Mar 2021 22:13:16 GMT + - Mon, 07 Jun 2021 19:00:07 GMT Pragma: - no-cache Strict-Transport-Security: @@ -38,9 +38,9 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Debug: - - mNzaoDhdDKO7t4QSrAe5X7pHd0bJND187D+vRbwoluXouE2m1UaQQX0RGCvRpLVE + - Wjq53IVIwnB4SiR238oOYgHFMq/ZYP0LQ/Dv8C2fFLBwTje/dWJHu6pI6vIOK1zG X-Dd-Version: - - "35.4088130" + - "35.4693398" X-Frame-Options: - SAMEORIGIN status: 200 OK @@ -55,11 +55,11 @@ interactions: Dd-Operation-Id: - GetDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 2.4.4; terraform-cli ) datadog-api-client-go/1.0.0-beta.16 (go go1.15.3; os darwin; arch amd64) - url: https://api.datadoghq.com/api/v1/dashboard/rc3-zbm-68b + - terraform-provider-datadog/dev (terraform 2.6.1; terraform-cli 0.15.3) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) + url: https://api.datadoghq.com/api/v1/dashboard/75a-prz-6v9 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":"rc3-zbm-68b","title":"tf-TestAccDatadogDashboardHostMap_import-local-1615587189","url":"/dashboard/rc3-zbm-68b/tf-testaccdatadogdashboardhostmapimport-local-1615587189","created_at":"2021-03-12T22:13:13.591915+00:00","modified_at":"2021-03-12T22:13:13.591915+00:00","author_handle":"frog@datadoghq.com","widgets":[{"definition":{"style":{"fill_min":"10","fill_max":"30","palette":"YlOrRd","palette_flip":true},"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test Custom Link label"}],"title_size":"16","title":"system.cpu.idle, system.cpu.user","title_align":"right","node_type":"host","no_metric_hosts":true,"group":["region"],"requests":{"size":{"q":"max:system.cpu.user{env:prod} by {host}"},"fill":{"q":"avg:system.cpu.idle{env:prod} by {host}"}},"no_group_hosts":true,"type":"hostmap","scope":["env:prod"]},"id":7743784878658843}],"layout_type":"ordered"}' + body: '{"notify_list":[],"description":"Created using the Datadog provider in Terraform","author_name":null,"template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"75a-prz-6v9","title":"tf-TestAccDatadogDashboardHostMap_import-local-1623092388","url":"/dashboard/75a-prz-6v9/tf-testaccdatadogdashboardhostmapimport-local-1623092388","created_at":"2021-06-07T19:00:05.642873+00:00","modified_at":"2021-06-07T19:00:05.642873+00:00","author_handle":"frog@datadoghq.com","widgets":[{"definition":{"style":{"fill_min":"10","fill_max":"30","palette":"YlOrRd","palette_flip":true},"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test Custom Link label"},{"override_label":"logs","is_hidden":true,"link":"https://app.datadoghq.com/dashboard/lists"}],"title_size":"16","title":"system.cpu.idle, system.cpu.user","title_align":"right","node_type":"host","no_metric_hosts":true,"group":["region"],"requests":{"size":{"q":"max:system.cpu.user{env:prod} by {host}"},"fill":{"q":"avg:system.cpu.idle{env:prod} by {host}"}},"no_group_hosts":true,"type":"hostmap","scope":["env:prod"]},"id":6071489269300966}],"layout_type":"ordered"}' headers: Cache-Control: - no-cache @@ -70,7 +70,7 @@ interactions: Content-Type: - application/json Date: - - Fri, 12 Mar 2021 22:13:16 GMT + - Mon, 07 Jun 2021 19:00:07 GMT Pragma: - no-cache Strict-Transport-Security: @@ -80,9 +80,9 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Debug: - - SY1h8ScsWq+kYmtbh63ltMLFAZsQjqfrgvdfAoRX+9TzT1sgMBRYaFRwfWWRRe9a + - vdJ3/nHEY1ioXQ6pQrBVvsQK1s4yyc+wufBMPSoXql71qZVuP/xMdtNo6DafhOAk X-Dd-Version: - - "35.4088130" + - "35.4693398" X-Frame-Options: - SAMEORIGIN status: 200 OK @@ -97,11 +97,11 @@ interactions: Dd-Operation-Id: - GetDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 2.4.4; terraform-cli ) datadog-api-client-go/1.0.0-beta.16 (go go1.15.3; os darwin; arch amd64) - url: https://api.datadoghq.com/api/v1/dashboard/rc3-zbm-68b + - terraform-provider-datadog/dev (terraform 2.6.1; terraform-cli 0.15.3) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) + url: https://api.datadoghq.com/api/v1/dashboard/75a-prz-6v9 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":"rc3-zbm-68b","title":"tf-TestAccDatadogDashboardHostMap_import-local-1615587189","url":"/dashboard/rc3-zbm-68b/tf-testaccdatadogdashboardhostmapimport-local-1615587189","created_at":"2021-03-12T22:13:13.591915+00:00","modified_at":"2021-03-12T22:13:13.591915+00:00","author_handle":"frog@datadoghq.com","widgets":[{"definition":{"style":{"fill_min":"10","fill_max":"30","palette":"YlOrRd","palette_flip":true},"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test Custom Link label"}],"title_size":"16","title":"system.cpu.idle, system.cpu.user","title_align":"right","node_type":"host","no_metric_hosts":true,"group":["region"],"requests":{"size":{"q":"max:system.cpu.user{env:prod} by {host}"},"fill":{"q":"avg:system.cpu.idle{env:prod} by {host}"}},"no_group_hosts":true,"type":"hostmap","scope":["env:prod"]},"id":7743784878658843}],"layout_type":"ordered"}' + body: '{"notify_list":[],"description":"Created using the Datadog provider in Terraform","author_name":null,"template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"75a-prz-6v9","title":"tf-TestAccDatadogDashboardHostMap_import-local-1623092388","url":"/dashboard/75a-prz-6v9/tf-testaccdatadogdashboardhostmapimport-local-1623092388","created_at":"2021-06-07T19:00:05.642873+00:00","modified_at":"2021-06-07T19:00:05.642873+00:00","author_handle":"frog@datadoghq.com","widgets":[{"definition":{"style":{"fill_min":"10","fill_max":"30","palette":"YlOrRd","palette_flip":true},"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test Custom Link label"},{"override_label":"logs","is_hidden":true,"link":"https://app.datadoghq.com/dashboard/lists"}],"title_size":"16","title":"system.cpu.idle, system.cpu.user","title_align":"right","node_type":"host","no_metric_hosts":true,"group":["region"],"requests":{"size":{"q":"max:system.cpu.user{env:prod} by {host}"},"fill":{"q":"avg:system.cpu.idle{env:prod} by {host}"}},"no_group_hosts":true,"type":"hostmap","scope":["env:prod"]},"id":6071489269300966}],"layout_type":"ordered"}' headers: Cache-Control: - no-cache @@ -112,7 +112,7 @@ interactions: Content-Type: - application/json Date: - - Fri, 12 Mar 2021 22:13:18 GMT + - Mon, 07 Jun 2021 19:00:16 GMT Pragma: - no-cache Strict-Transport-Security: @@ -122,9 +122,9 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Debug: - - 5gfwVh/5HZ+AnGd/Di93w3NEWC6KMHT9KzmHEiRJmNdOjBtAsbOcgVFyqEChw71h + - JpIJLwIH2nFlZOC+u71rq7aAOL43MLZN3MUsL+gpYHdZz5QLUOG8Jysf8kVK6tPU X-Dd-Version: - - "35.4088130" + - "35.4693398" X-Frame-Options: - SAMEORIGIN status: 200 OK @@ -139,11 +139,11 @@ interactions: Dd-Operation-Id: - GetDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 2.4.4; terraform-cli 0.14.7) datadog-api-client-go/1.0.0-beta.16 (go go1.15.3; os darwin; arch amd64) - url: https://api.datadoghq.com/api/v1/dashboard/rc3-zbm-68b + - terraform-provider-datadog/dev (terraform 2.6.1; terraform-cli 0.15.3) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) + url: https://api.datadoghq.com/api/v1/dashboard/75a-prz-6v9 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":"rc3-zbm-68b","title":"tf-TestAccDatadogDashboardHostMap_import-local-1615587189","url":"/dashboard/rc3-zbm-68b/tf-testaccdatadogdashboardhostmapimport-local-1615587189","created_at":"2021-03-12T22:13:13.591915+00:00","modified_at":"2021-03-12T22:13:13.591915+00:00","author_handle":"frog@datadoghq.com","widgets":[{"definition":{"style":{"fill_min":"10","fill_max":"30","palette":"YlOrRd","palette_flip":true},"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test Custom Link label"}],"title_size":"16","title":"system.cpu.idle, system.cpu.user","title_align":"right","node_type":"host","no_metric_hosts":true,"group":["region"],"requests":{"size":{"q":"max:system.cpu.user{env:prod} by {host}"},"fill":{"q":"avg:system.cpu.idle{env:prod} by {host}"}},"no_group_hosts":true,"type":"hostmap","scope":["env:prod"]},"id":7743784878658843}],"layout_type":"ordered"}' + body: '{"notify_list":[],"description":"Created using the Datadog provider in Terraform","author_name":null,"template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"75a-prz-6v9","title":"tf-TestAccDatadogDashboardHostMap_import-local-1623092388","url":"/dashboard/75a-prz-6v9/tf-testaccdatadogdashboardhostmapimport-local-1623092388","created_at":"2021-06-07T19:00:05.642873+00:00","modified_at":"2021-06-07T19:00:05.642873+00:00","author_handle":"frog@datadoghq.com","widgets":[{"definition":{"style":{"fill_min":"10","fill_max":"30","palette":"YlOrRd","palette_flip":true},"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test Custom Link label"},{"override_label":"logs","is_hidden":true,"link":"https://app.datadoghq.com/dashboard/lists"}],"title_size":"16","title":"system.cpu.idle, system.cpu.user","title_align":"right","node_type":"host","no_metric_hosts":true,"group":["region"],"requests":{"size":{"q":"max:system.cpu.user{env:prod} by {host}"},"fill":{"q":"avg:system.cpu.idle{env:prod} by {host}"}},"no_group_hosts":true,"type":"hostmap","scope":["env:prod"]},"id":6071489269300966}],"layout_type":"ordered"}' headers: Cache-Control: - no-cache @@ -154,7 +154,7 @@ interactions: Content-Type: - application/json Date: - - Fri, 12 Mar 2021 22:13:20 GMT + - Mon, 07 Jun 2021 19:00:29 GMT Pragma: - no-cache Strict-Transport-Security: @@ -164,9 +164,9 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Debug: - - fIO2C4qGDheGHy4YbS+r3a3CXbh4cbRo7roILOimQyiHGjQdOat0cIpWCkupM1uX + - Wjq53IVIwnB4SiR238oOYgHFMq/ZYP0LQ/Dv8C2fFLBwTje/dWJHu6pI6vIOK1zG X-Dd-Version: - - "35.4088130" + - "35.4693398" X-Frame-Options: - SAMEORIGIN status: 200 OK @@ -181,11 +181,11 @@ interactions: Dd-Operation-Id: - DeleteDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 2.4.4; terraform-cli 0.14.7) datadog-api-client-go/1.0.0-beta.16 (go go1.15.3; os darwin; arch amd64) - url: https://api.datadoghq.com/api/v1/dashboard/rc3-zbm-68b + - terraform-provider-datadog/dev (terraform 2.6.1; terraform-cli 0.15.3) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) + url: https://api.datadoghq.com/api/v1/dashboard/75a-prz-6v9 method: DELETE response: - body: '{"deleted_dashboard_id":"rc3-zbm-68b"}' + body: '{"deleted_dashboard_id":"75a-prz-6v9"}' headers: Cache-Control: - no-cache @@ -196,7 +196,7 @@ interactions: Content-Type: - application/json Date: - - Fri, 12 Mar 2021 22:13:20 GMT + - Mon, 07 Jun 2021 19:00:34 GMT Pragma: - no-cache Strict-Transport-Security: @@ -206,9 +206,9 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Debug: - - Wjq53IVIwnB4SiR238oOYgHFMq/ZYP0LQ/Dv8C2fFLBwTje/dWJHu6pI6vIOK1zG + - S1wfaMZOKGT/IoMw6fqAwAwGWo2vQ44sjF3YzuETnQfxZO2T5eJbs0aX3UKb9Dwu X-Dd-Version: - - "35.4088130" + - "35.4693398" X-Frame-Options: - SAMEORIGIN status: 200 OK @@ -223,11 +223,11 @@ interactions: Dd-Operation-Id: - GetDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 2.4.4; terraform-cli 0.14.7) datadog-api-client-go/1.0.0-beta.16 (go go1.15.3; os darwin; arch amd64) - url: https://api.datadoghq.com/api/v1/dashboard/rc3-zbm-68b + - terraform-provider-datadog/dev (terraform 2.6.1; terraform-cli 0.15.3) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) + url: https://api.datadoghq.com/api/v1/dashboard/75a-prz-6v9 method: GET response: - body: '{"errors": ["Dashboard with ID rc3-zbm-68b not found"]}' + body: '{"errors": ["Dashboard with ID 75a-prz-6v9 not found"]}' headers: Cache-Control: - no-cache @@ -238,7 +238,7 @@ interactions: Content-Type: - application/json Date: - - Fri, 12 Mar 2021 22:13:20 GMT + - Mon, 07 Jun 2021 19:00:34 GMT Pragma: - no-cache Strict-Transport-Security: @@ -248,7 +248,7 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Version: - - "35.4088130" + - "35.4693398" X-Frame-Options: - SAMEORIGIN status: 404 Not Found diff --git a/datadog/tests/cassettes/TestAccDatadogDashboardQueryTable.freeze b/datadog/tests/cassettes/TestAccDatadogDashboardQueryTable.freeze index ca6d3cc7f..f6d9d4e58 100644 --- a/datadog/tests/cassettes/TestAccDatadogDashboardQueryTable.freeze +++ b/datadog/tests/cassettes/TestAccDatadogDashboardQueryTable.freeze @@ -1 +1 @@ -2021-03-12T17:14:47.486081-05:00 \ No newline at end of file +2021-06-07T15:04:12.075004-04:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogDashboardQueryTable.yaml b/datadog/tests/cassettes/TestAccDatadogDashboardQueryTable.yaml index 0648c8621..bcbdfe255 100644 --- a/datadog/tests/cassettes/TestAccDatadogDashboardQueryTable.yaml +++ b/datadog/tests/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-1615587287","widgets":[{"definition":{"custom_links":[{"label":"Test Custom Link label","link":"https://app.datadoghq.com/dashboard/lists"}],"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"}}]} + {"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-1623092652","widgets":[{"definition":{"custom_links":[{"label":"Test Custom Link label","link":"https://app.datadoghq.com/dashboard/lists"},{"is_hidden":true,"link":"https://app.datadoghq.com/dashboard/lists","override_label":"logs"}],"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: @@ -13,11 +13,11 @@ interactions: Dd-Operation-Id: - CreateDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 2.4.4; terraform-cli ) datadog-api-client-go/1.0.0-beta.16 (go go1.15.3; os darwin; arch amd64) + - terraform-provider-datadog/dev (terraform 2.6.1; terraform-cli 0.15.3) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) 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":"9tc-wn9-2cd","title":"tf-TestAccDatadogDashboardQueryTable-local-1615587287","url":"/dashboard/9tc-wn9-2cd/tf-testaccdatadogdashboardquerytable-local-1615587287","created_at":"2021-03-12T22:14:49.753213+00:00","modified_at":"2021-03-12T22:14:49.753213+00:00","author_handle":"frog@datadoghq.com","widgets":[{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test Custom Link label"}],"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":3005658598425181},{"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":6673104776365396}],"layout_type":"ordered"}' + body: '{"notify_list":[],"description":"Created using the Datadog provider in Terraform","author_name":null,"template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"uem-jte-sy9","title":"tf-TestAccDatadogDashboardQueryTable-local-1623092652","url":"/dashboard/uem-jte-sy9/tf-testaccdatadogdashboardquerytable-local-1623092652","created_at":"2021-06-07T19:04:31.693464+00:00","modified_at":"2021-06-07T19:04:31.693464+00:00","author_handle":"frog@datadoghq.com","widgets":[{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test Custom Link label"},{"override_label":"logs","is_hidden":true,"link":"https://app.datadoghq.com/dashboard/lists"}],"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":7102187589856576},{"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":2990487884668686}],"layout_type":"ordered"}' headers: Cache-Control: - no-cache @@ -28,7 +28,7 @@ interactions: Content-Type: - application/json Date: - - Fri, 12 Mar 2021 22:14:52 GMT + - Mon, 07 Jun 2021 19:04:33 GMT Pragma: - no-cache Strict-Transport-Security: @@ -38,9 +38,9 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Debug: - - dPySkcOzIZtKyMKDAAzuysY3gNGGj6RtYogGuSb76E8mPvoqzREyRp6lPYm91hQU + - L3ULR3HwCWYmEqCWGz2Yob3chcH4pjowBacBXkncP7o+/uPqKt9yGEYf/g1AJPzQ X-Dd-Version: - - "35.4088130" + - "35.4693436" X-Frame-Options: - SAMEORIGIN status: 200 OK @@ -55,11 +55,11 @@ interactions: Dd-Operation-Id: - GetDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 2.4.4; terraform-cli ) datadog-api-client-go/1.0.0-beta.16 (go go1.15.3; os darwin; arch amd64) - url: https://api.datadoghq.com/api/v1/dashboard/9tc-wn9-2cd + - terraform-provider-datadog/dev (terraform 2.6.1; terraform-cli 0.15.3) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) + url: https://api.datadoghq.com/api/v1/dashboard/uem-jte-sy9 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":"9tc-wn9-2cd","title":"tf-TestAccDatadogDashboardQueryTable-local-1615587287","url":"/dashboard/9tc-wn9-2cd/tf-testaccdatadogdashboardquerytable-local-1615587287","created_at":"2021-03-12T22:14:49.753213+00:00","modified_at":"2021-03-12T22:14:49.753213+00:00","author_handle":"frog@datadoghq.com","widgets":[{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test Custom Link label"}],"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":3005658598425181},{"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":6673104776365396}],"layout_type":"ordered"}' + body: '{"notify_list":[],"description":"Created using the Datadog provider in Terraform","author_name":null,"template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"uem-jte-sy9","title":"tf-TestAccDatadogDashboardQueryTable-local-1623092652","url":"/dashboard/uem-jte-sy9/tf-testaccdatadogdashboardquerytable-local-1623092652","created_at":"2021-06-07T19:04:31.693464+00:00","modified_at":"2021-06-07T19:04:31.693464+00:00","author_handle":"frog@datadoghq.com","widgets":[{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test Custom Link label"},{"override_label":"logs","is_hidden":true,"link":"https://app.datadoghq.com/dashboard/lists"}],"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":7102187589856576},{"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":2990487884668686}],"layout_type":"ordered"}' headers: Cache-Control: - no-cache @@ -70,7 +70,7 @@ interactions: Content-Type: - application/json Date: - - Fri, 12 Mar 2021 22:14:52 GMT + - Mon, 07 Jun 2021 19:04:33 GMT Pragma: - no-cache Strict-Transport-Security: @@ -80,9 +80,9 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Debug: - - dCmL/3rURV6BPeaqeP3Rxigq41m5CAb17XjrRE42uZ01zpr07HVhbL5/3TWMkvgu + - 2328yjLSqI4XmR1pVqrPRR/SFcQsbafjEpPmZx7/3PfxUK1nJQQsX+wrMelyVyj+ X-Dd-Version: - - "35.4088130" + - "35.4693436" X-Frame-Options: - SAMEORIGIN status: 200 OK @@ -97,11 +97,11 @@ interactions: Dd-Operation-Id: - GetDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 2.4.4; terraform-cli ) datadog-api-client-go/1.0.0-beta.16 (go go1.15.3; os darwin; arch amd64) - url: https://api.datadoghq.com/api/v1/dashboard/9tc-wn9-2cd + - terraform-provider-datadog/dev (terraform 2.6.1; terraform-cli 0.15.3) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) + url: https://api.datadoghq.com/api/v1/dashboard/uem-jte-sy9 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":"9tc-wn9-2cd","title":"tf-TestAccDatadogDashboardQueryTable-local-1615587287","url":"/dashboard/9tc-wn9-2cd/tf-testaccdatadogdashboardquerytable-local-1615587287","created_at":"2021-03-12T22:14:49.753213+00:00","modified_at":"2021-03-12T22:14:49.753213+00:00","author_handle":"frog@datadoghq.com","widgets":[{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test Custom Link label"}],"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":3005658598425181},{"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":6673104776365396}],"layout_type":"ordered"}' + body: '{"notify_list":[],"description":"Created using the Datadog provider in Terraform","author_name":null,"template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"uem-jte-sy9","title":"tf-TestAccDatadogDashboardQueryTable-local-1623092652","url":"/dashboard/uem-jte-sy9/tf-testaccdatadogdashboardquerytable-local-1623092652","created_at":"2021-06-07T19:04:31.693464+00:00","modified_at":"2021-06-07T19:04:31.693464+00:00","author_handle":"frog@datadoghq.com","widgets":[{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test Custom Link label"},{"override_label":"logs","is_hidden":true,"link":"https://app.datadoghq.com/dashboard/lists"}],"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":7102187589856576},{"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":2990487884668686}],"layout_type":"ordered"}' headers: Cache-Control: - no-cache @@ -112,7 +112,7 @@ interactions: Content-Type: - application/json Date: - - Fri, 12 Mar 2021 22:14:52 GMT + - Mon, 07 Jun 2021 19:04:35 GMT Pragma: - no-cache Strict-Transport-Security: @@ -122,9 +122,9 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Debug: - - nLnnBNvlCFDECRnZvzDb0z4sAO35G+IMidcAs8vrCKyjvsKWE8Yd9S3n6OjZ1qRN + - tpRCH6w417YjBovRJ8VmtuXmNONVYiRp2c8d2AxjPdGBn8PCtgG4vAztrx3qUZAN X-Dd-Version: - - "35.4088130" + - "35.4693436" X-Frame-Options: - SAMEORIGIN status: 200 OK @@ -139,11 +139,11 @@ interactions: Dd-Operation-Id: - GetDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 2.4.4; terraform-cli 0.14.7) datadog-api-client-go/1.0.0-beta.16 (go go1.15.3; os darwin; arch amd64) - url: https://api.datadoghq.com/api/v1/dashboard/9tc-wn9-2cd + - terraform-provider-datadog/dev (terraform 2.6.1; terraform-cli 0.15.3) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) + url: https://api.datadoghq.com/api/v1/dashboard/uem-jte-sy9 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":"9tc-wn9-2cd","title":"tf-TestAccDatadogDashboardQueryTable-local-1615587287","url":"/dashboard/9tc-wn9-2cd/tf-testaccdatadogdashboardquerytable-local-1615587287","created_at":"2021-03-12T22:14:49.753213+00:00","modified_at":"2021-03-12T22:14:49.753213+00:00","author_handle":"frog@datadoghq.com","widgets":[{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test Custom Link label"}],"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":3005658598425181},{"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":6673104776365396}],"layout_type":"ordered"}' + body: '{"notify_list":[],"description":"Created using the Datadog provider in Terraform","author_name":null,"template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"uem-jte-sy9","title":"tf-TestAccDatadogDashboardQueryTable-local-1623092652","url":"/dashboard/uem-jte-sy9/tf-testaccdatadogdashboardquerytable-local-1623092652","created_at":"2021-06-07T19:04:31.693464+00:00","modified_at":"2021-06-07T19:04:31.693464+00:00","author_handle":"frog@datadoghq.com","widgets":[{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test Custom Link label"},{"override_label":"logs","is_hidden":true,"link":"https://app.datadoghq.com/dashboard/lists"}],"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":7102187589856576},{"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":2990487884668686}],"layout_type":"ordered"}' headers: Cache-Control: - no-cache @@ -154,7 +154,7 @@ interactions: Content-Type: - application/json Date: - - Fri, 12 Mar 2021 22:14:54 GMT + - Mon, 07 Jun 2021 19:04:43 GMT Pragma: - no-cache Strict-Transport-Security: @@ -164,9 +164,9 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Debug: - - PhosSd3Ch1B6B0DXI71steKUi7XhPDttnPiIP1NdXTw0VJNWpoUnYyBmODS5ne3q + - 25u1gDlL724DHllbjFT4BhOLorBTilh+aah2uWAUEjFC/+rjczJdiyWrV/HwLwe/ X-Dd-Version: - - "35.4088130" + - "35.4693436" X-Frame-Options: - SAMEORIGIN status: 200 OK @@ -181,11 +181,11 @@ interactions: Dd-Operation-Id: - DeleteDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 2.4.4; terraform-cli 0.14.7) datadog-api-client-go/1.0.0-beta.16 (go go1.15.3; os darwin; arch amd64) - url: https://api.datadoghq.com/api/v1/dashboard/9tc-wn9-2cd + - terraform-provider-datadog/dev (terraform 2.6.1; terraform-cli 0.15.3) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) + url: https://api.datadoghq.com/api/v1/dashboard/uem-jte-sy9 method: DELETE response: - body: '{"deleted_dashboard_id":"9tc-wn9-2cd"}' + body: '{"deleted_dashboard_id":"uem-jte-sy9"}' headers: Cache-Control: - no-cache @@ -196,7 +196,7 @@ interactions: Content-Type: - application/json Date: - - Fri, 12 Mar 2021 22:14:56 GMT + - Mon, 07 Jun 2021 19:04:53 GMT Pragma: - no-cache Strict-Transport-Security: @@ -206,9 +206,9 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Debug: - - gYZcaADwbKcv7Hm19HJx6WsLoKuOijDWAt2viPeCfWqUgyKY+9e1xZdmMJeXV3YV + - Wjq53IVIwnB4SiR238oOYgHFMq/ZYP0LQ/Dv8C2fFLBwTje/dWJHu6pI6vIOK1zG X-Dd-Version: - - "35.4088130" + - "35.4693436" X-Frame-Options: - SAMEORIGIN status: 200 OK @@ -223,11 +223,11 @@ interactions: Dd-Operation-Id: - GetDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 2.4.4; terraform-cli 0.14.7) datadog-api-client-go/1.0.0-beta.16 (go go1.15.3; os darwin; arch amd64) - url: https://api.datadoghq.com/api/v1/dashboard/9tc-wn9-2cd + - terraform-provider-datadog/dev (terraform 2.6.1; terraform-cli 0.15.3) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) + url: https://api.datadoghq.com/api/v1/dashboard/uem-jte-sy9 method: GET response: - body: '{"errors": ["Dashboard with ID 9tc-wn9-2cd not found"]}' + body: '{"errors": ["Dashboard with ID uem-jte-sy9 not found"]}' headers: Cache-Control: - no-cache @@ -238,7 +238,7 @@ interactions: Content-Type: - application/json Date: - - Fri, 12 Mar 2021 22:14:56 GMT + - Mon, 07 Jun 2021 19:04:53 GMT Pragma: - no-cache Strict-Transport-Security: @@ -248,7 +248,7 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Version: - - "35.4088130" + - "35.4693436" X-Frame-Options: - SAMEORIGIN status: 404 Not Found diff --git a/datadog/tests/cassettes/TestAccDatadogDashboardQueryTable_import.freeze b/datadog/tests/cassettes/TestAccDatadogDashboardQueryTable_import.freeze index ef929551e..cde3c0238 100644 --- a/datadog/tests/cassettes/TestAccDatadogDashboardQueryTable_import.freeze +++ b/datadog/tests/cassettes/TestAccDatadogDashboardQueryTable_import.freeze @@ -1 +1 @@ -2021-03-12T17:14:53.20079-05:00 \ No newline at end of file +2021-06-07T15:04:12.0737-04:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogDashboardQueryTable_import.yaml b/datadog/tests/cassettes/TestAccDatadogDashboardQueryTable_import.yaml index 33826d24b..a3d99d5f7 100644 --- a/datadog/tests/cassettes/TestAccDatadogDashboardQueryTable_import.yaml +++ b/datadog/tests/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-1615587293","widgets":[{"definition":{"custom_links":[{"label":"Test Custom Link label","link":"https://app.datadoghq.com/dashboard/lists"}],"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"}}]} + {"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-1623092652","widgets":[{"definition":{"custom_links":[{"label":"Test Custom Link label","link":"https://app.datadoghq.com/dashboard/lists"}],"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: @@ -13,11 +13,11 @@ interactions: Dd-Operation-Id: - CreateDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 2.4.4; terraform-cli ) datadog-api-client-go/1.0.0-beta.16 (go go1.15.3; os darwin; arch amd64) + - terraform-provider-datadog/dev (terraform 2.6.1; terraform-cli 0.15.3) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) 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":"ug2-xmi-hmi","title":"tf-TestAccDatadogDashboardQueryTable_import-local-1615587293","url":"/dashboard/ug2-xmi-hmi/tf-testaccdatadogdashboardquerytableimport-local-1615587293","created_at":"2021-03-12T22:14:56.248937+00:00","modified_at":"2021-03-12T22:14:56.248937+00:00","author_handle":"frog@datadoghq.com","widgets":[{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test Custom Link label"}],"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":1681054268768082},{"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":6536435680005876}],"layout_type":"ordered"}' + body: '{"notify_list":[],"description":"Created using the Datadog provider in Terraform","author_name":null,"template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"qv3-6i4-7ds","title":"tf-TestAccDatadogDashboardQueryTable_import-local-1623092652","url":"/dashboard/qv3-6i4-7ds/tf-testaccdatadogdashboardquerytableimport-local-1623092652","created_at":"2021-06-07T19:04:31.700610+00:00","modified_at":"2021-06-07T19:04:31.700610+00:00","author_handle":"frog@datadoghq.com","widgets":[{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test Custom Link label"}],"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":2241355490747718},{"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":473281378342543}],"layout_type":"ordered"}' headers: Cache-Control: - no-cache @@ -28,7 +28,7 @@ interactions: Content-Type: - application/json Date: - - Fri, 12 Mar 2021 22:14:59 GMT + - Mon, 07 Jun 2021 19:04:32 GMT Pragma: - no-cache Strict-Transport-Security: @@ -38,9 +38,9 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Debug: - - PhosSd3Ch1B6B0DXI71steKUi7XhPDttnPiIP1NdXTw0VJNWpoUnYyBmODS5ne3q + - 2328yjLSqI4XmR1pVqrPRR/SFcQsbafjEpPmZx7/3PfxUK1nJQQsX+wrMelyVyj+ X-Dd-Version: - - "35.4088130" + - "35.4693436" X-Frame-Options: - SAMEORIGIN status: 200 OK @@ -55,11 +55,11 @@ interactions: Dd-Operation-Id: - GetDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 2.4.4; terraform-cli ) datadog-api-client-go/1.0.0-beta.16 (go go1.15.3; os darwin; arch amd64) - url: https://api.datadoghq.com/api/v1/dashboard/ug2-xmi-hmi + - terraform-provider-datadog/dev (terraform 2.6.1; terraform-cli 0.15.3) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) + url: https://api.datadoghq.com/api/v1/dashboard/qv3-6i4-7ds 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":"ug2-xmi-hmi","title":"tf-TestAccDatadogDashboardQueryTable_import-local-1615587293","url":"/dashboard/ug2-xmi-hmi/tf-testaccdatadogdashboardquerytableimport-local-1615587293","created_at":"2021-03-12T22:14:56.248937+00:00","modified_at":"2021-03-12T22:14:56.248937+00:00","author_handle":"frog@datadoghq.com","widgets":[{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test Custom Link label"}],"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":1681054268768082},{"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":6536435680005876}],"layout_type":"ordered"}' + body: '{"notify_list":[],"description":"Created using the Datadog provider in Terraform","author_name":null,"template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"qv3-6i4-7ds","title":"tf-TestAccDatadogDashboardQueryTable_import-local-1623092652","url":"/dashboard/qv3-6i4-7ds/tf-testaccdatadogdashboardquerytableimport-local-1623092652","created_at":"2021-06-07T19:04:31.700610+00:00","modified_at":"2021-06-07T19:04:31.700610+00:00","author_handle":"frog@datadoghq.com","widgets":[{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test Custom Link label"}],"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":2241355490747718},{"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":473281378342543}],"layout_type":"ordered"}' headers: Cache-Control: - no-cache @@ -70,7 +70,7 @@ interactions: Content-Type: - application/json Date: - - Fri, 12 Mar 2021 22:15:00 GMT + - Mon, 07 Jun 2021 19:04:32 GMT Pragma: - no-cache Strict-Transport-Security: @@ -80,9 +80,9 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Debug: - - twvpGlmuom5y6A0pjGtXzTf554cmwJgTcCZ71fK4H/RDi+v5ehBK0zQiRcTJQG5C + - nLnnBNvlCFDECRnZvzDb0z4sAO35G+IMidcAs8vrCKyjvsKWE8Yd9S3n6OjZ1qRN X-Dd-Version: - - "35.4088130" + - "35.4693436" X-Frame-Options: - SAMEORIGIN status: 200 OK @@ -97,11 +97,11 @@ interactions: Dd-Operation-Id: - GetDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 2.4.4; terraform-cli 0.14.7) datadog-api-client-go/1.0.0-beta.16 (go go1.15.3; os darwin; arch amd64) - url: https://api.datadoghq.com/api/v1/dashboard/ug2-xmi-hmi + - terraform-provider-datadog/dev (terraform 2.6.1; terraform-cli 0.15.3) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) + url: https://api.datadoghq.com/api/v1/dashboard/qv3-6i4-7ds 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":"ug2-xmi-hmi","title":"tf-TestAccDatadogDashboardQueryTable_import-local-1615587293","url":"/dashboard/ug2-xmi-hmi/tf-testaccdatadogdashboardquerytableimport-local-1615587293","created_at":"2021-03-12T22:14:56.248937+00:00","modified_at":"2021-03-12T22:14:56.248937+00:00","author_handle":"frog@datadoghq.com","widgets":[{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test Custom Link label"}],"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":1681054268768082},{"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":6536435680005876}],"layout_type":"ordered"}' + body: '{"notify_list":[],"description":"Created using the Datadog provider in Terraform","author_name":null,"template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"qv3-6i4-7ds","title":"tf-TestAccDatadogDashboardQueryTable_import-local-1623092652","url":"/dashboard/qv3-6i4-7ds/tf-testaccdatadogdashboardquerytableimport-local-1623092652","created_at":"2021-06-07T19:04:31.700610+00:00","modified_at":"2021-06-07T19:04:31.700610+00:00","author_handle":"frog@datadoghq.com","widgets":[{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test Custom Link label"}],"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":2241355490747718},{"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":473281378342543}],"layout_type":"ordered"}' headers: Cache-Control: - no-cache @@ -112,7 +112,7 @@ interactions: Content-Type: - application/json Date: - - Fri, 12 Mar 2021 22:15:01 GMT + - Mon, 07 Jun 2021 19:04:42 GMT Pragma: - no-cache Strict-Transport-Security: @@ -122,9 +122,9 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Debug: - - l8RQo2maZqJf6GFThBbKNE6dvthz6njusVtau3dPXJWL2RLFoN81H+BLPB/1xgs1 + - vdJ3/nHEY1ioXQ6pQrBVvsQK1s4yyc+wufBMPSoXql71qZVuP/xMdtNo6DafhOAk X-Dd-Version: - - "35.4088130" + - "35.4693436" X-Frame-Options: - SAMEORIGIN status: 200 OK @@ -139,11 +139,11 @@ interactions: Dd-Operation-Id: - GetDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 2.4.4; terraform-cli 0.14.7) datadog-api-client-go/1.0.0-beta.16 (go go1.15.3; os darwin; arch amd64) - url: https://api.datadoghq.com/api/v1/dashboard/ug2-xmi-hmi + - terraform-provider-datadog/dev (terraform 2.6.1; terraform-cli 0.15.3) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) + url: https://api.datadoghq.com/api/v1/dashboard/qv3-6i4-7ds 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":"ug2-xmi-hmi","title":"tf-TestAccDatadogDashboardQueryTable_import-local-1615587293","url":"/dashboard/ug2-xmi-hmi/tf-testaccdatadogdashboardquerytableimport-local-1615587293","created_at":"2021-03-12T22:14:56.248937+00:00","modified_at":"2021-03-12T22:14:56.248937+00:00","author_handle":"frog@datadoghq.com","widgets":[{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test Custom Link label"}],"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":1681054268768082},{"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":6536435680005876}],"layout_type":"ordered"}' + body: '{"notify_list":[],"description":"Created using the Datadog provider in Terraform","author_name":null,"template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"qv3-6i4-7ds","title":"tf-TestAccDatadogDashboardQueryTable_import-local-1623092652","url":"/dashboard/qv3-6i4-7ds/tf-testaccdatadogdashboardquerytableimport-local-1623092652","created_at":"2021-06-07T19:04:31.700610+00:00","modified_at":"2021-06-07T19:04:31.700610+00:00","author_handle":"frog@datadoghq.com","widgets":[{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test Custom Link label"}],"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":2241355490747718},{"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":473281378342543}],"layout_type":"ordered"}' headers: Cache-Control: - no-cache @@ -154,7 +154,7 @@ interactions: Content-Type: - application/json Date: - - Fri, 12 Mar 2021 22:15:03 GMT + - Mon, 07 Jun 2021 19:04:55 GMT Pragma: - no-cache Strict-Transport-Security: @@ -164,9 +164,9 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Debug: - - HbtaOKlJ6OCrx9tMXO6ivMTrEM+g0c93HDp08trmOmgdHozC5J+vn10F0H4WPjCU + - tpRCH6w417YjBovRJ8VmtuXmNONVYiRp2c8d2AxjPdGBn8PCtgG4vAztrx3qUZAN X-Dd-Version: - - "35.4088130" + - "35.4693436" X-Frame-Options: - SAMEORIGIN status: 200 OK @@ -181,11 +181,11 @@ interactions: Dd-Operation-Id: - DeleteDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 2.4.4; terraform-cli 0.14.7) datadog-api-client-go/1.0.0-beta.16 (go go1.15.3; os darwin; arch amd64) - url: https://api.datadoghq.com/api/v1/dashboard/ug2-xmi-hmi + - terraform-provider-datadog/dev (terraform 2.6.1; terraform-cli 0.15.3) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) + url: https://api.datadoghq.com/api/v1/dashboard/qv3-6i4-7ds method: DELETE response: - body: '{"deleted_dashboard_id":"ug2-xmi-hmi"}' + body: '{"deleted_dashboard_id":"qv3-6i4-7ds"}' headers: Cache-Control: - no-cache @@ -196,7 +196,7 @@ interactions: Content-Type: - application/json Date: - - Fri, 12 Mar 2021 22:15:03 GMT + - Mon, 07 Jun 2021 19:05:01 GMT Pragma: - no-cache Strict-Transport-Security: @@ -206,9 +206,9 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Debug: - - twvpGlmuom5y6A0pjGtXzTf554cmwJgTcCZ71fK4H/RDi+v5ehBK0zQiRcTJQG5C + - LcgNasIYBRkNppmD6mCKE9J6iv0eEjosuuHR5V5zw2fWbR54i39C8dhdK8zDq/40 X-Dd-Version: - - "35.4088130" + - "35.4693436" X-Frame-Options: - SAMEORIGIN status: 200 OK @@ -223,11 +223,11 @@ interactions: Dd-Operation-Id: - GetDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 2.4.4; terraform-cli 0.14.7) datadog-api-client-go/1.0.0-beta.16 (go go1.15.3; os darwin; arch amd64) - url: https://api.datadoghq.com/api/v1/dashboard/ug2-xmi-hmi + - terraform-provider-datadog/dev (terraform 2.6.1; terraform-cli 0.15.3) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) + url: https://api.datadoghq.com/api/v1/dashboard/qv3-6i4-7ds method: GET response: - body: '{"errors": ["Dashboard with ID ug2-xmi-hmi not found"]}' + body: '{"errors": ["Dashboard with ID qv3-6i4-7ds not found"]}' headers: Cache-Control: - no-cache @@ -238,7 +238,7 @@ interactions: Content-Type: - application/json Date: - - Fri, 12 Mar 2021 22:15:04 GMT + - Mon, 07 Jun 2021 19:05:01 GMT Pragma: - no-cache Strict-Transport-Security: @@ -248,7 +248,7 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Version: - - "35.4088130" + - "35.4693436" X-Frame-Options: - SAMEORIGIN status: 404 Not Found diff --git a/datadog/tests/cassettes/TestAccDatadogDashboardQueryValue.freeze b/datadog/tests/cassettes/TestAccDatadogDashboardQueryValue.freeze index 3dd504f0b..81c105d45 100644 --- a/datadog/tests/cassettes/TestAccDatadogDashboardQueryValue.freeze +++ b/datadog/tests/cassettes/TestAccDatadogDashboardQueryValue.freeze @@ -1 +1 @@ -2021-03-12T17:14:52.02421-05:00 \ No newline at end of file +2021-06-07T15:06:00.58398-04:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogDashboardQueryValue.yaml b/datadog/tests/cassettes/TestAccDatadogDashboardQueryValue.yaml index 788320e7f..9d564408a 100644 --- a/datadog/tests/cassettes/TestAccDatadogDashboardQueryValue.yaml +++ b/datadog/tests/cassettes/TestAccDatadogDashboardQueryValue.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-TestAccDatadogDashboardQueryValue-local-1615587292","widgets":[{"definition":{"autoscale":true,"custom_links":[{"label":"Test Custom Link label","link":"https://app.datadoghq.com/dashboard/lists"}],"custom_unit":"Gib","precision":3,"requests":[{"aggregator":"max","conditional_formats":[{"comparator":"\u003c","hide_value":false,"palette":"white_on_red","value":9},{"comparator":"\u003e=","hide_value":false,"palette":"white_on_green","value":9}],"q":"avg:system.mem.free{account:prod}"}],"time":{"live_span":"1h"},"title":"Avg of system.mem.free over account:prod","title_align":"center","title_size":"16","type":"query_value"}}]} + {"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-TestAccDatadogDashboardQueryValue-local-1623092760","widgets":[{"definition":{"autoscale":true,"custom_links":[{"label":"Test Custom Link label","link":"https://app.datadoghq.com/dashboard/lists"},{"is_hidden":true,"link":"https://app.datadoghq.com/dashboard/lists","override_label":"logs"}],"custom_unit":"Gib","precision":3,"requests":[{"aggregator":"max","conditional_formats":[{"comparator":"\u003c","hide_value":false,"palette":"white_on_red","value":9},{"comparator":"\u003e=","hide_value":false,"palette":"white_on_green","value":9}],"q":"avg:system.mem.free{account:prod}"}],"time":{"live_span":"1h"},"title":"Avg of system.mem.free over account:prod","title_align":"center","title_size":"16","type":"query_value"}}]} form: {} headers: Accept: @@ -13,11 +13,11 @@ interactions: Dd-Operation-Id: - CreateDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 2.4.4; terraform-cli ) datadog-api-client-go/1.0.0-beta.16 (go go1.15.3; os darwin; arch amd64) + - terraform-provider-datadog/dev (terraform 2.6.1; terraform-cli 0.15.3) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) 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":"rhp-n3v-8dg","title":"tf-TestAccDatadogDashboardQueryValue-local-1615587292","url":"/dashboard/rhp-n3v-8dg/tf-testaccdatadogdashboardqueryvalue-local-1615587292","created_at":"2021-03-12T22:14:54.849480+00:00","modified_at":"2021-03-12T22:14:54.849480+00:00","author_handle":"frog@datadoghq.com","widgets":[{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test Custom Link label"}],"autoscale":true,"title":"Avg of system.mem.free over account:prod","title_align":"center","custom_unit":"Gib","precision":3,"time":{"live_span":"1h"},"title_size":"16","requests":[{"q":"avg:system.mem.free{account:prod}","aggregator":"max","conditional_formats":[{"palette":"white_on_red","hide_value":false,"value":9,"comparator":"<"},{"palette":"white_on_green","hide_value":false,"value":9,"comparator":">="}]}],"type":"query_value"},"id":5241330262550938}],"layout_type":"ordered"}' + body: '{"notify_list":[],"description":"Created using the Datadog provider in Terraform","author_name":null,"template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"ayw-vwt-w59","title":"tf-TestAccDatadogDashboardQueryValue-local-1623092760","url":"/dashboard/ayw-vwt-w59/tf-testaccdatadogdashboardqueryvalue-local-1623092760","created_at":"2021-06-07T19:06:24.311587+00:00","modified_at":"2021-06-07T19:06:24.311587+00:00","author_handle":"frog@datadoghq.com","widgets":[{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test Custom Link label"},{"override_label":"logs","is_hidden":true,"link":"https://app.datadoghq.com/dashboard/lists"}],"autoscale":true,"title":"Avg of system.mem.free over account:prod","title_align":"center","custom_unit":"Gib","precision":3,"time":{"live_span":"1h"},"title_size":"16","requests":[{"q":"avg:system.mem.free{account:prod}","aggregator":"max","conditional_formats":[{"palette":"white_on_red","hide_value":false,"value":9,"comparator":"<"},{"palette":"white_on_green","hide_value":false,"value":9,"comparator":">="}]}],"type":"query_value"},"id":3939350314492080}],"layout_type":"ordered"}' headers: Cache-Control: - no-cache @@ -28,7 +28,7 @@ interactions: Content-Type: - application/json Date: - - Fri, 12 Mar 2021 22:14:57 GMT + - Mon, 07 Jun 2021 19:06:25 GMT Pragma: - no-cache Strict-Transport-Security: @@ -38,9 +38,9 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Debug: - - Um4CoU685QqAscnxhS5BD+goWu2yX1Jd4zCfGzSsEvPPIm1qURZaF8dlLl/OEY4I + - HbtaOKlJ6OCrx9tMXO6ivMTrEM+g0c93HDp08trmOmgdHozC5J+vn10F0H4WPjCU X-Dd-Version: - - "35.4088130" + - "35.4693436" X-Frame-Options: - SAMEORIGIN status: 200 OK @@ -55,11 +55,11 @@ interactions: Dd-Operation-Id: - GetDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 2.4.4; terraform-cli ) datadog-api-client-go/1.0.0-beta.16 (go go1.15.3; os darwin; arch amd64) - url: https://api.datadoghq.com/api/v1/dashboard/rhp-n3v-8dg + - terraform-provider-datadog/dev (terraform 2.6.1; terraform-cli 0.15.3) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) + url: https://api.datadoghq.com/api/v1/dashboard/ayw-vwt-w59 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":"rhp-n3v-8dg","title":"tf-TestAccDatadogDashboardQueryValue-local-1615587292","url":"/dashboard/rhp-n3v-8dg/tf-testaccdatadogdashboardqueryvalue-local-1615587292","created_at":"2021-03-12T22:14:54.849480+00:00","modified_at":"2021-03-12T22:14:54.849480+00:00","author_handle":"frog@datadoghq.com","widgets":[{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test Custom Link label"}],"autoscale":true,"title":"Avg of system.mem.free over account:prod","title_align":"center","custom_unit":"Gib","precision":3,"time":{"live_span":"1h"},"title_size":"16","requests":[{"q":"avg:system.mem.free{account:prod}","aggregator":"max","conditional_formats":[{"palette":"white_on_red","hide_value":false,"value":9,"comparator":"<"},{"palette":"white_on_green","hide_value":false,"value":9,"comparator":">="}]}],"type":"query_value"},"id":5241330262550938}],"layout_type":"ordered"}' + body: '{"notify_list":[],"description":"Created using the Datadog provider in Terraform","author_name":null,"template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"ayw-vwt-w59","title":"tf-TestAccDatadogDashboardQueryValue-local-1623092760","url":"/dashboard/ayw-vwt-w59/tf-testaccdatadogdashboardqueryvalue-local-1623092760","created_at":"2021-06-07T19:06:24.311587+00:00","modified_at":"2021-06-07T19:06:24.311587+00:00","author_handle":"frog@datadoghq.com","widgets":[{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test Custom Link label"},{"override_label":"logs","is_hidden":true,"link":"https://app.datadoghq.com/dashboard/lists"}],"autoscale":true,"title":"Avg of system.mem.free over account:prod","title_align":"center","custom_unit":"Gib","precision":3,"time":{"live_span":"1h"},"title_size":"16","requests":[{"q":"avg:system.mem.free{account:prod}","aggregator":"max","conditional_formats":[{"palette":"white_on_red","hide_value":false,"value":9,"comparator":"<"},{"palette":"white_on_green","hide_value":false,"value":9,"comparator":">="}]}],"type":"query_value"},"id":3939350314492080}],"layout_type":"ordered"}' headers: Cache-Control: - no-cache @@ -70,7 +70,7 @@ interactions: Content-Type: - application/json Date: - - Fri, 12 Mar 2021 22:14:57 GMT + - Mon, 07 Jun 2021 19:06:25 GMT Pragma: - no-cache Strict-Transport-Security: @@ -80,9 +80,9 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Debug: - - Um4CoU685QqAscnxhS5BD+goWu2yX1Jd4zCfGzSsEvPPIm1qURZaF8dlLl/OEY4I + - 5gfwVh/5HZ+AnGd/Di93w3NEWC6KMHT9KzmHEiRJmNdOjBtAsbOcgVFyqEChw71h X-Dd-Version: - - "35.4088130" + - "35.4693436" X-Frame-Options: - SAMEORIGIN status: 200 OK @@ -97,11 +97,11 @@ interactions: Dd-Operation-Id: - GetDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 2.4.4; terraform-cli ) datadog-api-client-go/1.0.0-beta.16 (go go1.15.3; os darwin; arch amd64) - url: https://api.datadoghq.com/api/v1/dashboard/rhp-n3v-8dg + - terraform-provider-datadog/dev (terraform 2.6.1; terraform-cli 0.15.3) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) + url: https://api.datadoghq.com/api/v1/dashboard/ayw-vwt-w59 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":"rhp-n3v-8dg","title":"tf-TestAccDatadogDashboardQueryValue-local-1615587292","url":"/dashboard/rhp-n3v-8dg/tf-testaccdatadogdashboardqueryvalue-local-1615587292","created_at":"2021-03-12T22:14:54.849480+00:00","modified_at":"2021-03-12T22:14:54.849480+00:00","author_handle":"frog@datadoghq.com","widgets":[{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test Custom Link label"}],"autoscale":true,"title":"Avg of system.mem.free over account:prod","title_align":"center","custom_unit":"Gib","precision":3,"time":{"live_span":"1h"},"title_size":"16","requests":[{"q":"avg:system.mem.free{account:prod}","aggregator":"max","conditional_formats":[{"palette":"white_on_red","hide_value":false,"value":9,"comparator":"<"},{"palette":"white_on_green","hide_value":false,"value":9,"comparator":">="}]}],"type":"query_value"},"id":5241330262550938}],"layout_type":"ordered"}' + body: '{"notify_list":[],"description":"Created using the Datadog provider in Terraform","author_name":null,"template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"ayw-vwt-w59","title":"tf-TestAccDatadogDashboardQueryValue-local-1623092760","url":"/dashboard/ayw-vwt-w59/tf-testaccdatadogdashboardqueryvalue-local-1623092760","created_at":"2021-06-07T19:06:24.311587+00:00","modified_at":"2021-06-07T19:06:24.311587+00:00","author_handle":"frog@datadoghq.com","widgets":[{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test Custom Link label"},{"override_label":"logs","is_hidden":true,"link":"https://app.datadoghq.com/dashboard/lists"}],"autoscale":true,"title":"Avg of system.mem.free over account:prod","title_align":"center","custom_unit":"Gib","precision":3,"time":{"live_span":"1h"},"title_size":"16","requests":[{"q":"avg:system.mem.free{account:prod}","aggregator":"max","conditional_formats":[{"palette":"white_on_red","hide_value":false,"value":9,"comparator":"<"},{"palette":"white_on_green","hide_value":false,"value":9,"comparator":">="}]}],"type":"query_value"},"id":3939350314492080}],"layout_type":"ordered"}' headers: Cache-Control: - no-cache @@ -112,7 +112,7 @@ interactions: Content-Type: - application/json Date: - - Fri, 12 Mar 2021 22:14:57 GMT + - Mon, 07 Jun 2021 19:06:28 GMT Pragma: - no-cache Strict-Transport-Security: @@ -122,9 +122,9 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Debug: - - /L+SFFO+m1pPY+hRCpk5325fvfrNl0KmiquUNJolBN/5hu3HIwflqjZSbJ6NxDFG + - S1wfaMZOKGT/IoMw6fqAwAwGWo2vQ44sjF3YzuETnQfxZO2T5eJbs0aX3UKb9Dwu X-Dd-Version: - - "35.4088130" + - "35.4693436" X-Frame-Options: - SAMEORIGIN status: 200 OK @@ -139,11 +139,11 @@ interactions: Dd-Operation-Id: - GetDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 2.4.4; terraform-cli 0.14.7) datadog-api-client-go/1.0.0-beta.16 (go go1.15.3; os darwin; arch amd64) - url: https://api.datadoghq.com/api/v1/dashboard/rhp-n3v-8dg + - terraform-provider-datadog/dev (terraform 2.6.1; terraform-cli 0.15.3) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) + url: https://api.datadoghq.com/api/v1/dashboard/ayw-vwt-w59 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":"rhp-n3v-8dg","title":"tf-TestAccDatadogDashboardQueryValue-local-1615587292","url":"/dashboard/rhp-n3v-8dg/tf-testaccdatadogdashboardqueryvalue-local-1615587292","created_at":"2021-03-12T22:14:54.849480+00:00","modified_at":"2021-03-12T22:14:54.849480+00:00","author_handle":"frog@datadoghq.com","widgets":[{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test Custom Link label"}],"autoscale":true,"title":"Avg of system.mem.free over account:prod","title_align":"center","custom_unit":"Gib","precision":3,"time":{"live_span":"1h"},"title_size":"16","requests":[{"q":"avg:system.mem.free{account:prod}","aggregator":"max","conditional_formats":[{"palette":"white_on_red","hide_value":false,"value":9,"comparator":"<"},{"palette":"white_on_green","hide_value":false,"value":9,"comparator":">="}]}],"type":"query_value"},"id":5241330262550938}],"layout_type":"ordered"}' + body: '{"notify_list":[],"description":"Created using the Datadog provider in Terraform","author_name":null,"template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"ayw-vwt-w59","title":"tf-TestAccDatadogDashboardQueryValue-local-1623092760","url":"/dashboard/ayw-vwt-w59/tf-testaccdatadogdashboardqueryvalue-local-1623092760","created_at":"2021-06-07T19:06:24.311587+00:00","modified_at":"2021-06-07T19:06:24.311587+00:00","author_handle":"frog@datadoghq.com","widgets":[{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test Custom Link label"},{"override_label":"logs","is_hidden":true,"link":"https://app.datadoghq.com/dashboard/lists"}],"autoscale":true,"title":"Avg of system.mem.free over account:prod","title_align":"center","custom_unit":"Gib","precision":3,"time":{"live_span":"1h"},"title_size":"16","requests":[{"q":"avg:system.mem.free{account:prod}","aggregator":"max","conditional_formats":[{"palette":"white_on_red","hide_value":false,"value":9,"comparator":"<"},{"palette":"white_on_green","hide_value":false,"value":9,"comparator":">="}]}],"type":"query_value"},"id":3939350314492080}],"layout_type":"ordered"}' headers: Cache-Control: - no-cache @@ -154,7 +154,7 @@ interactions: Content-Type: - application/json Date: - - Fri, 12 Mar 2021 22:14:58 GMT + - Mon, 07 Jun 2021 19:06:36 GMT Pragma: - no-cache Strict-Transport-Security: @@ -164,9 +164,9 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Debug: - - l4HFlaRP3QwYSqoGKhzbYfv7zgkK63HIRR7YkyVYZspq0lGjjTBwoK8V/alf+XYt + - SY1h8ScsWq+kYmtbh63ltMLFAZsQjqfrgvdfAoRX+9TzT1sgMBRYaFRwfWWRRe9a X-Dd-Version: - - "35.4088130" + - "35.4693436" X-Frame-Options: - SAMEORIGIN status: 200 OK @@ -181,11 +181,11 @@ interactions: Dd-Operation-Id: - DeleteDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 2.4.4; terraform-cli 0.14.7) datadog-api-client-go/1.0.0-beta.16 (go go1.15.3; os darwin; arch amd64) - url: https://api.datadoghq.com/api/v1/dashboard/rhp-n3v-8dg + - terraform-provider-datadog/dev (terraform 2.6.1; terraform-cli 0.15.3) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) + url: https://api.datadoghq.com/api/v1/dashboard/ayw-vwt-w59 method: DELETE response: - body: '{"deleted_dashboard_id":"rhp-n3v-8dg"}' + body: '{"deleted_dashboard_id":"ayw-vwt-w59"}' headers: Cache-Control: - no-cache @@ -196,7 +196,7 @@ interactions: Content-Type: - application/json Date: - - Fri, 12 Mar 2021 22:15:00 GMT + - Mon, 07 Jun 2021 19:06:51 GMT Pragma: - no-cache Strict-Transport-Security: @@ -206,9 +206,9 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Debug: - - LcgNasIYBRkNppmD6mCKE9J6iv0eEjosuuHR5V5zw2fWbR54i39C8dhdK8zDq/40 + - fIO2C4qGDheGHy4YbS+r3a3CXbh4cbRo7roILOimQyiHGjQdOat0cIpWCkupM1uX X-Dd-Version: - - "35.4088130" + - "35.4693436" X-Frame-Options: - SAMEORIGIN status: 200 OK @@ -223,11 +223,11 @@ interactions: Dd-Operation-Id: - GetDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 2.4.4; terraform-cli 0.14.7) datadog-api-client-go/1.0.0-beta.16 (go go1.15.3; os darwin; arch amd64) - url: https://api.datadoghq.com/api/v1/dashboard/rhp-n3v-8dg + - terraform-provider-datadog/dev (terraform 2.6.1; terraform-cli 0.15.3) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) + url: https://api.datadoghq.com/api/v1/dashboard/ayw-vwt-w59 method: GET response: - body: '{"errors": ["Dashboard with ID rhp-n3v-8dg not found"]}' + body: '{"errors": ["Dashboard with ID ayw-vwt-w59 not found"]}' headers: Cache-Control: - no-cache @@ -238,7 +238,7 @@ interactions: Content-Type: - application/json Date: - - Fri, 12 Mar 2021 22:15:00 GMT + - Mon, 07 Jun 2021 19:06:51 GMT Pragma: - no-cache Strict-Transport-Security: @@ -248,7 +248,7 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Version: - - "35.4088130" + - "35.4693436" X-Frame-Options: - SAMEORIGIN status: 404 Not Found diff --git a/datadog/tests/cassettes/TestAccDatadogDashboardQueryValueFormula.freeze b/datadog/tests/cassettes/TestAccDatadogDashboardQueryValueFormula.freeze index 5c128e2bf..7cb7a47db 100644 --- a/datadog/tests/cassettes/TestAccDatadogDashboardQueryValueFormula.freeze +++ b/datadog/tests/cassettes/TestAccDatadogDashboardQueryValueFormula.freeze @@ -1 +1 @@ -2021-02-25T18:39:08.086427-05:00 \ No newline at end of file +2021-06-07T15:06:00.590804-04:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogDashboardQueryValueFormula.yaml b/datadog/tests/cassettes/TestAccDatadogDashboardQueryValueFormula.yaml index 7754b3d31..57fe6bcd7 100644 --- a/datadog/tests/cassettes/TestAccDatadogDashboardQueryValueFormula.yaml +++ b/datadog/tests/cassettes/TestAccDatadogDashboardQueryValueFormula.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-TestAccDatadogDashboardQueryValueFormula-local-1614296348","widgets":[{"definition":{"autoscale":false,"precision":0,"requests":[{"formulas":[{"formula":"query1 + query2","limit":{"count":10,"order":"asc"}}],"queries":[{"aggregator":"sum","data_source":"metrics","name":"query1","query":"avg:system.cpu.system{*} by {datacenter}"},{"aggregator":"sum","data_source":"metrics","name":"query2","query":"avg:system.load.1{*} by {datacenter}"}],"response_format":"scalar"}],"type":"query_value"}},{"definition":{"autoscale":false,"precision":0,"requests":[{"formulas":[{"formula":"query1","limit":{"count":25,"order":"desc"}}],"queries":[{"compute":{"aggregation":"count"},"data_source":"rum","indexes":["*"],"name":"query1"}],"response_format":"scalar"}],"type":"query_value"}}]} + {"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-TestAccDatadogDashboardQueryValueFormula-local-1623092760","widgets":[{"definition":{"autoscale":false,"precision":0,"requests":[{"formulas":[{"formula":"query1 + query2","limit":{"count":10,"order":"asc"}}],"queries":[{"aggregator":"sum","data_source":"metrics","name":"query1","query":"avg:system.cpu.system{*} by {datacenter}"},{"aggregator":"sum","data_source":"metrics","name":"query2","query":"avg:system.load.1{*} by {datacenter}"}],"response_format":"scalar"}],"type":"query_value"}},{"definition":{"autoscale":false,"precision":0,"requests":[{"formulas":[{"formula":"query1","limit":{"count":25,"order":"desc"}}],"queries":[{"compute":{"aggregation":"count"},"data_source":"rum","indexes":["*"],"name":"query1"}],"response_format":"scalar"}],"type":"query_value"}}]} form: {} headers: Accept: @@ -13,11 +13,11 @@ interactions: Dd-Operation-Id: - CreateDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.16+dev (go go1.15.6; os darwin; arch amd64) + - terraform-provider-datadog/dev (terraform 2.6.1; terraform-cli 0.15.3) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) 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":"6gt-3rp-fj2","title":"tf-TestAccDatadogDashboardQueryValueFormula-local-1614296348","url":"/dashboard/6gt-3rp-fj2/tf-testaccdatadogdashboardqueryvalueformula-local-1614296348","created_at":"2021-02-25T23:39:08.959260+00:00","modified_at":"2021-02-25T23:39:08.959260+00:00","author_handle":"frog@datadoghq.com","widgets":[{"definition":{"type":"query_value","requests":[{"formulas":[{"formula":"query1 + query2","limit":{"count":10,"order":"asc"}}],"response_format":"scalar","queries":[{"aggregator":"sum","data_source":"metrics","name":"query1","query":"avg:system.cpu.system{*} by {datacenter}"},{"aggregator":"sum","data_source":"metrics","name":"query2","query":"avg:system.load.1{*} by {datacenter}"}]}],"autoscale":false,"precision":0},"id":6851875718636234},{"definition":{"type":"query_value","requests":[{"formulas":[{"formula":"query1","limit":{"count":25,"order":"desc"}}],"response_format":"scalar","queries":[{"data_source":"rum","compute":{"aggregation":"count"},"name":"query1","indexes":["*"]}]}],"autoscale":false,"precision":0},"id":6640188580202253}],"layout_type":"ordered"}' + body: '{"notify_list":[],"description":"Created using the Datadog provider in Terraform","author_name":null,"template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"r2g-ydh-vu5","title":"tf-TestAccDatadogDashboardQueryValueFormula-local-1623092760","url":"/dashboard/r2g-ydh-vu5/tf-testaccdatadogdashboardqueryvalueformula-local-1623092760","created_at":"2021-06-07T19:06:23.574039+00:00","modified_at":"2021-06-07T19:06:23.574039+00:00","author_handle":"frog@datadoghq.com","widgets":[{"definition":{"type":"query_value","requests":[{"formulas":[{"formula":"query1 + query2","limit":{"count":10,"order":"asc"}}],"response_format":"scalar","queries":[{"aggregator":"sum","data_source":"metrics","name":"query1","query":"avg:system.cpu.system{*} by {datacenter}"},{"aggregator":"sum","data_source":"metrics","name":"query2","query":"avg:system.load.1{*} by {datacenter}"}]}],"autoscale":false,"precision":0},"id":3468322949739745},{"definition":{"type":"query_value","requests":[{"formulas":[{"formula":"query1","limit":{"count":25,"order":"desc"}}],"response_format":"scalar","queries":[{"data_source":"rum","compute":{"aggregation":"count"},"name":"query1","indexes":["*"]}]}],"autoscale":false,"precision":0},"id":561958438974452}],"layout_type":"ordered"}' headers: Cache-Control: - no-cache @@ -28,7 +28,7 @@ interactions: Content-Type: - application/json Date: - - Thu, 25 Feb 2021 23:39:12 GMT + - Mon, 07 Jun 2021 19:06:24 GMT Pragma: - no-cache Strict-Transport-Security: @@ -38,9 +38,9 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Debug: - - PhosSd3Ch1B6B0DXI71steKUi7XhPDttnPiIP1NdXTw0VJNWpoUnYyBmODS5ne3q + - dPySkcOzIZtKyMKDAAzuysY3gNGGj6RtYogGuSb76E8mPvoqzREyRp6lPYm91hQU X-Dd-Version: - - "35.3986175" + - "35.4693436" X-Frame-Options: - SAMEORIGIN status: 200 OK @@ -55,11 +55,11 @@ interactions: Dd-Operation-Id: - GetDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.16+dev (go go1.15.6; os darwin; arch amd64) - url: https://api.datadoghq.com/api/v1/dashboard/6gt-3rp-fj2 + - terraform-provider-datadog/dev (terraform 2.6.1; terraform-cli 0.15.3) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) + url: https://api.datadoghq.com/api/v1/dashboard/r2g-ydh-vu5 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":"6gt-3rp-fj2","title":"tf-TestAccDatadogDashboardQueryValueFormula-local-1614296348","url":"/dashboard/6gt-3rp-fj2/tf-testaccdatadogdashboardqueryvalueformula-local-1614296348","created_at":"2021-02-25T23:39:08.959260+00:00","modified_at":"2021-02-25T23:39:08.959260+00:00","author_handle":"frog@datadoghq.com","widgets":[{"definition":{"type":"query_value","requests":[{"formulas":[{"formula":"query1 + query2","limit":{"count":10,"order":"asc"}}],"response_format":"scalar","queries":[{"aggregator":"sum","data_source":"metrics","name":"query1","query":"avg:system.cpu.system{*} by {datacenter}"},{"aggregator":"sum","data_source":"metrics","name":"query2","query":"avg:system.load.1{*} by {datacenter}"}]}],"autoscale":false,"precision":0},"id":6851875718636234},{"definition":{"type":"query_value","requests":[{"formulas":[{"formula":"query1","limit":{"count":25,"order":"desc"}}],"response_format":"scalar","queries":[{"data_source":"rum","compute":{"aggregation":"count"},"name":"query1","indexes":["*"]}]}],"autoscale":false,"precision":0},"id":6640188580202253}],"layout_type":"ordered"}' + body: '{"notify_list":[],"description":"Created using the Datadog provider in Terraform","author_name":null,"template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"r2g-ydh-vu5","title":"tf-TestAccDatadogDashboardQueryValueFormula-local-1623092760","url":"/dashboard/r2g-ydh-vu5/tf-testaccdatadogdashboardqueryvalueformula-local-1623092760","created_at":"2021-06-07T19:06:23.574039+00:00","modified_at":"2021-06-07T19:06:23.574039+00:00","author_handle":"frog@datadoghq.com","widgets":[{"definition":{"type":"query_value","requests":[{"formulas":[{"formula":"query1 + query2","limit":{"count":10,"order":"asc"}}],"response_format":"scalar","queries":[{"aggregator":"sum","data_source":"metrics","name":"query1","query":"avg:system.cpu.system{*} by {datacenter}"},{"aggregator":"sum","data_source":"metrics","name":"query2","query":"avg:system.load.1{*} by {datacenter}"}]}],"autoscale":false,"precision":0},"id":3468322949739745},{"definition":{"type":"query_value","requests":[{"formulas":[{"formula":"query1","limit":{"count":25,"order":"desc"}}],"response_format":"scalar","queries":[{"data_source":"rum","compute":{"aggregation":"count"},"name":"query1","indexes":["*"]}]}],"autoscale":false,"precision":0},"id":561958438974452}],"layout_type":"ordered"}' headers: Cache-Control: - no-cache @@ -70,7 +70,7 @@ interactions: Content-Type: - application/json Date: - - Thu, 25 Feb 2021 23:39:12 GMT + - Mon, 07 Jun 2021 19:06:24 GMT Pragma: - no-cache Strict-Transport-Security: @@ -80,51 +80,9 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Debug: - - fIO2C4qGDheGHy4YbS+r3a3CXbh4cbRo7roILOimQyiHGjQdOat0cIpWCkupM1uX - X-Dd-Version: - - "35.3986175" - X-Frame-Options: - - SAMEORIGIN - status: 200 OK - code: 200 - duration: "" -- request: - body: "" - form: {} - headers: - Accept: - - application/json - Dd-Operation-Id: - - GetDashboard - User-Agent: - - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.16+dev (go go1.15.6; os darwin; arch amd64) - url: https://api.datadoghq.com/api/v1/dashboard/6gt-3rp-fj2 - 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":"6gt-3rp-fj2","title":"tf-TestAccDatadogDashboardQueryValueFormula-local-1614296348","url":"/dashboard/6gt-3rp-fj2/tf-testaccdatadogdashboardqueryvalueformula-local-1614296348","created_at":"2021-02-25T23:39:08.959260+00:00","modified_at":"2021-02-25T23:39:08.959260+00:00","author_handle":"frog@datadoghq.com","widgets":[{"definition":{"type":"query_value","requests":[{"formulas":[{"formula":"query1 + query2","limit":{"count":10,"order":"asc"}}],"response_format":"scalar","queries":[{"aggregator":"sum","data_source":"metrics","name":"query1","query":"avg:system.cpu.system{*} by {datacenter}"},{"aggregator":"sum","data_source":"metrics","name":"query2","query":"avg:system.load.1{*} by {datacenter}"}]}],"autoscale":false,"precision":0},"id":6851875718636234},{"definition":{"type":"query_value","requests":[{"formulas":[{"formula":"query1","limit":{"count":25,"order":"desc"}}],"response_format":"scalar","queries":[{"data_source":"rum","compute":{"aggregation":"count"},"name":"query1","indexes":["*"]}]}],"autoscale":false,"precision":0},"id":6640188580202253}],"layout_type":"ordered"}' - headers: - Cache-Control: - - no-cache - Connection: - - keep-alive - Content-Security-Policy: - - frame-ancestors 'self'; report-uri https://api.datadoghq.com/csp-report - Content-Type: - - application/json - Date: - - Thu, 25 Feb 2021 23:39:12 GMT - Pragma: - - no-cache - Strict-Transport-Security: - - max-age=15724800; - Vary: - - Accept-Encoding - X-Content-Type-Options: - - nosniff - X-Dd-Debug: - - bgHykj7A9bfZx0Y5ZO3swhhp5tGUSNJHqFWR868+qg087CYrDOd5hQslC+noiEtH + - PhosSd3Ch1B6B0DXI71steKUi7XhPDttnPiIP1NdXTw0VJNWpoUnYyBmODS5ne3q X-Dd-Version: - - "35.3986175" + - "35.4693436" X-Frame-Options: - SAMEORIGIN status: 200 OK @@ -139,11 +97,11 @@ interactions: Dd-Operation-Id: - GetDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.16+dev (go go1.15.6; os darwin; arch amd64) - url: https://api.datadoghq.com/api/v1/dashboard/6gt-3rp-fj2 + - terraform-provider-datadog/dev (terraform 2.6.1; terraform-cli 0.15.3) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) + url: https://api.datadoghq.com/api/v1/dashboard/r2g-ydh-vu5 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":"6gt-3rp-fj2","title":"tf-TestAccDatadogDashboardQueryValueFormula-local-1614296348","url":"/dashboard/6gt-3rp-fj2/tf-testaccdatadogdashboardqueryvalueformula-local-1614296348","created_at":"2021-02-25T23:39:08.959260+00:00","modified_at":"2021-02-25T23:39:08.959260+00:00","author_handle":"frog@datadoghq.com","widgets":[{"definition":{"type":"query_value","requests":[{"formulas":[{"formula":"query1 + query2","limit":{"count":10,"order":"asc"}}],"response_format":"scalar","queries":[{"aggregator":"sum","data_source":"metrics","name":"query1","query":"avg:system.cpu.system{*} by {datacenter}"},{"aggregator":"sum","data_source":"metrics","name":"query2","query":"avg:system.load.1{*} by {datacenter}"}]}],"autoscale":false,"precision":0},"id":6851875718636234},{"definition":{"type":"query_value","requests":[{"formulas":[{"formula":"query1","limit":{"count":25,"order":"desc"}}],"response_format":"scalar","queries":[{"data_source":"rum","compute":{"aggregation":"count"},"name":"query1","indexes":["*"]}]}],"autoscale":false,"precision":0},"id":6640188580202253}],"layout_type":"ordered"}' + body: '{"notify_list":[],"description":"Created using the Datadog provider in Terraform","author_name":null,"template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"r2g-ydh-vu5","title":"tf-TestAccDatadogDashboardQueryValueFormula-local-1623092760","url":"/dashboard/r2g-ydh-vu5/tf-testaccdatadogdashboardqueryvalueformula-local-1623092760","created_at":"2021-06-07T19:06:23.574039+00:00","modified_at":"2021-06-07T19:06:23.574039+00:00","author_handle":"frog@datadoghq.com","widgets":[{"definition":{"type":"query_value","requests":[{"formulas":[{"formula":"query1 + query2","limit":{"count":10,"order":"asc"}}],"response_format":"scalar","queries":[{"aggregator":"sum","data_source":"metrics","name":"query1","query":"avg:system.cpu.system{*} by {datacenter}"},{"aggregator":"sum","data_source":"metrics","name":"query2","query":"avg:system.load.1{*} by {datacenter}"}]}],"autoscale":false,"precision":0},"id":3468322949739745},{"definition":{"type":"query_value","requests":[{"formulas":[{"formula":"query1","limit":{"count":25,"order":"desc"}}],"response_format":"scalar","queries":[{"data_source":"rum","compute":{"aggregation":"count"},"name":"query1","indexes":["*"]}]}],"autoscale":false,"precision":0},"id":561958438974452}],"layout_type":"ordered"}' headers: Cache-Control: - no-cache @@ -154,7 +112,7 @@ interactions: Content-Type: - application/json Date: - - Thu, 25 Feb 2021 23:39:13 GMT + - Mon, 07 Jun 2021 19:06:27 GMT Pragma: - no-cache Strict-Transport-Security: @@ -166,7 +124,7 @@ interactions: X-Dd-Debug: - gYZcaADwbKcv7Hm19HJx6WsLoKuOijDWAt2viPeCfWqUgyKY+9e1xZdmMJeXV3YV X-Dd-Version: - - "35.3986175" + - "35.4693436" X-Frame-Options: - SAMEORIGIN status: 200 OK @@ -181,11 +139,11 @@ interactions: Dd-Operation-Id: - GetDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.16+dev (go go1.15.6; os darwin; arch amd64) - url: https://api.datadoghq.com/api/v1/dashboard/6gt-3rp-fj2 + - terraform-provider-datadog/dev (terraform 2.6.1; terraform-cli 0.15.3) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) + url: https://api.datadoghq.com/api/v1/dashboard/r2g-ydh-vu5 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":"6gt-3rp-fj2","title":"tf-TestAccDatadogDashboardQueryValueFormula-local-1614296348","url":"/dashboard/6gt-3rp-fj2/tf-testaccdatadogdashboardqueryvalueformula-local-1614296348","created_at":"2021-02-25T23:39:08.959260+00:00","modified_at":"2021-02-25T23:39:08.959260+00:00","author_handle":"frog@datadoghq.com","widgets":[{"definition":{"type":"query_value","requests":[{"formulas":[{"formula":"query1 + query2","limit":{"count":10,"order":"asc"}}],"response_format":"scalar","queries":[{"aggregator":"sum","data_source":"metrics","name":"query1","query":"avg:system.cpu.system{*} by {datacenter}"},{"aggregator":"sum","data_source":"metrics","name":"query2","query":"avg:system.load.1{*} by {datacenter}"}]}],"autoscale":false,"precision":0},"id":6851875718636234},{"definition":{"type":"query_value","requests":[{"formulas":[{"formula":"query1","limit":{"count":25,"order":"desc"}}],"response_format":"scalar","queries":[{"data_source":"rum","compute":{"aggregation":"count"},"name":"query1","indexes":["*"]}]}],"autoscale":false,"precision":0},"id":6640188580202253}],"layout_type":"ordered"}' + body: '{"notify_list":[],"description":"Created using the Datadog provider in Terraform","author_name":null,"template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"r2g-ydh-vu5","title":"tf-TestAccDatadogDashboardQueryValueFormula-local-1623092760","url":"/dashboard/r2g-ydh-vu5/tf-testaccdatadogdashboardqueryvalueformula-local-1623092760","created_at":"2021-06-07T19:06:23.574039+00:00","modified_at":"2021-06-07T19:06:23.574039+00:00","author_handle":"frog@datadoghq.com","widgets":[{"definition":{"type":"query_value","requests":[{"formulas":[{"formula":"query1 + query2","limit":{"count":10,"order":"asc"}}],"response_format":"scalar","queries":[{"aggregator":"sum","data_source":"metrics","name":"query1","query":"avg:system.cpu.system{*} by {datacenter}"},{"aggregator":"sum","data_source":"metrics","name":"query2","query":"avg:system.load.1{*} by {datacenter}"}]}],"autoscale":false,"precision":0},"id":3468322949739745},{"definition":{"type":"query_value","requests":[{"formulas":[{"formula":"query1","limit":{"count":25,"order":"desc"}}],"response_format":"scalar","queries":[{"data_source":"rum","compute":{"aggregation":"count"},"name":"query1","indexes":["*"]}]}],"autoscale":false,"precision":0},"id":561958438974452}],"layout_type":"ordered"}' headers: Cache-Control: - no-cache @@ -196,7 +154,7 @@ interactions: Content-Type: - application/json Date: - - Thu, 25 Feb 2021 23:39:13 GMT + - Mon, 07 Jun 2021 19:06:35 GMT Pragma: - no-cache Strict-Transport-Security: @@ -206,9 +164,9 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Debug: - - bgHykj7A9bfZx0Y5ZO3swhhp5tGUSNJHqFWR868+qg087CYrDOd5hQslC+noiEtH + - vdJ3/nHEY1ioXQ6pQrBVvsQK1s4yyc+wufBMPSoXql71qZVuP/xMdtNo6DafhOAk X-Dd-Version: - - "35.3986175" + - "35.4693436" X-Frame-Options: - SAMEORIGIN status: 200 OK @@ -223,11 +181,11 @@ interactions: Dd-Operation-Id: - DeleteDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.16+dev (go go1.15.6; os darwin; arch amd64) - url: https://api.datadoghq.com/api/v1/dashboard/6gt-3rp-fj2 + - terraform-provider-datadog/dev (terraform 2.6.1; terraform-cli 0.15.3) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) + url: https://api.datadoghq.com/api/v1/dashboard/r2g-ydh-vu5 method: DELETE response: - body: '{"deleted_dashboard_id":"6gt-3rp-fj2"}' + body: '{"deleted_dashboard_id":"r2g-ydh-vu5"}' headers: Cache-Control: - no-cache @@ -238,7 +196,7 @@ interactions: Content-Type: - application/json Date: - - Thu, 25 Feb 2021 23:39:13 GMT + - Mon, 07 Jun 2021 19:06:50 GMT Pragma: - no-cache Strict-Transport-Security: @@ -248,9 +206,9 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Debug: - - PhosSd3Ch1B6B0DXI71steKUi7XhPDttnPiIP1NdXTw0VJNWpoUnYyBmODS5ne3q + - F5gm0Rce1/Abr9/0Fw8HAqWfiz0FdiH8er/AXnN6lOn3L6KyGgbsLCwgPlob1No8 X-Dd-Version: - - "35.3986175" + - "35.4693436" X-Frame-Options: - SAMEORIGIN status: 200 OK @@ -265,11 +223,11 @@ interactions: Dd-Operation-Id: - GetDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.16+dev (go go1.15.6; os darwin; arch amd64) - url: https://api.datadoghq.com/api/v1/dashboard/6gt-3rp-fj2 + - terraform-provider-datadog/dev (terraform 2.6.1; terraform-cli 0.15.3) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) + url: https://api.datadoghq.com/api/v1/dashboard/r2g-ydh-vu5 method: GET response: - body: '{"errors": ["Dashboard with ID 6gt-3rp-fj2 not found"]}' + body: '{"errors": ["Dashboard with ID r2g-ydh-vu5 not found"]}' headers: Cache-Control: - no-cache @@ -280,7 +238,7 @@ interactions: Content-Type: - application/json Date: - - Thu, 25 Feb 2021 23:39:13 GMT + - Mon, 07 Jun 2021 19:06:51 GMT Pragma: - no-cache Strict-Transport-Security: @@ -290,7 +248,7 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Version: - - "35.3986175" + - "35.4693436" X-Frame-Options: - SAMEORIGIN status: 404 Not Found diff --git a/datadog/tests/cassettes/TestAccDatadogDashboardQueryValueFormula_import.freeze b/datadog/tests/cassettes/TestAccDatadogDashboardQueryValueFormula_import.freeze index 3f789bf39..6f9edc5e9 100644 --- a/datadog/tests/cassettes/TestAccDatadogDashboardQueryValueFormula_import.freeze +++ b/datadog/tests/cassettes/TestAccDatadogDashboardQueryValueFormula_import.freeze @@ -1 +1 @@ -2021-02-25T18:39:08.086824-05:00 \ No newline at end of file +2021-06-07T15:06:00.590342-04:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogDashboardQueryValueFormula_import.yaml b/datadog/tests/cassettes/TestAccDatadogDashboardQueryValueFormula_import.yaml index a5f76c46c..766f37855 100644 --- a/datadog/tests/cassettes/TestAccDatadogDashboardQueryValueFormula_import.yaml +++ b/datadog/tests/cassettes/TestAccDatadogDashboardQueryValueFormula_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-TestAccDatadogDashboardQueryValueFormula_import-local-1614296348","widgets":[{"definition":{"autoscale":false,"precision":0,"requests":[{"formulas":[{"formula":"query1 + query2","limit":{"count":10,"order":"asc"}}],"queries":[{"aggregator":"sum","data_source":"metrics","name":"query1","query":"avg:system.cpu.system{*} by {datacenter}"},{"aggregator":"sum","data_source":"metrics","name":"query2","query":"avg:system.load.1{*} by {datacenter}"}],"response_format":"scalar"}],"type":"query_value"}},{"definition":{"autoscale":false,"precision":0,"requests":[{"formulas":[{"formula":"query1","limit":{"count":25,"order":"desc"}}],"queries":[{"compute":{"aggregation":"count"},"data_source":"rum","indexes":["*"],"name":"query1"}],"response_format":"scalar"}],"type":"query_value"}}]} + {"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-TestAccDatadogDashboardQueryValueFormula_import-local-1623092760","widgets":[{"definition":{"autoscale":false,"precision":0,"requests":[{"formulas":[{"formula":"query1 + query2","limit":{"count":10,"order":"asc"}}],"queries":[{"aggregator":"sum","data_source":"metrics","name":"query1","query":"avg:system.cpu.system{*} by {datacenter}"},{"aggregator":"sum","data_source":"metrics","name":"query2","query":"avg:system.load.1{*} by {datacenter}"}],"response_format":"scalar"}],"type":"query_value"}},{"definition":{"autoscale":false,"precision":0,"requests":[{"formulas":[{"formula":"query1","limit":{"count":25,"order":"desc"}}],"queries":[{"compute":{"aggregation":"count"},"data_source":"rum","indexes":["*"],"name":"query1"}],"response_format":"scalar"}],"type":"query_value"}}]} form: {} headers: Accept: @@ -13,11 +13,11 @@ interactions: Dd-Operation-Id: - CreateDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.16+dev (go go1.15.6; os darwin; arch amd64) + - terraform-provider-datadog/dev (terraform 2.6.1; terraform-cli 0.15.3) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) 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":"7fq-hc7-w8z","title":"tf-TestAccDatadogDashboardQueryValueFormula_import-local-1614296348","url":"/dashboard/7fq-hc7-w8z/tf-testaccdatadogdashboardqueryvalueformulaimport-local-1614296348","created_at":"2021-02-25T23:39:08.962468+00:00","modified_at":"2021-02-25T23:39:08.962468+00:00","author_handle":"frog@datadoghq.com","widgets":[{"definition":{"type":"query_value","requests":[{"formulas":[{"formula":"query1 + query2","limit":{"count":10,"order":"asc"}}],"response_format":"scalar","queries":[{"aggregator":"sum","data_source":"metrics","name":"query1","query":"avg:system.cpu.system{*} by {datacenter}"},{"aggregator":"sum","data_source":"metrics","name":"query2","query":"avg:system.load.1{*} by {datacenter}"}]}],"autoscale":false,"precision":0},"id":3695516588483057},{"definition":{"type":"query_value","requests":[{"formulas":[{"formula":"query1","limit":{"count":25,"order":"desc"}}],"response_format":"scalar","queries":[{"data_source":"rum","compute":{"aggregation":"count"},"name":"query1","indexes":["*"]}]}],"autoscale":false,"precision":0},"id":35421410005026}],"layout_type":"ordered"}' + body: '{"notify_list":[],"description":"Created using the Datadog provider in Terraform","author_name":null,"template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"zh8-exf-kq7","title":"tf-TestAccDatadogDashboardQueryValueFormula_import-local-1623092760","url":"/dashboard/zh8-exf-kq7/tf-testaccdatadogdashboardqueryvalueformulaimport-local-1623092760","created_at":"2021-06-07T19:06:23.814046+00:00","modified_at":"2021-06-07T19:06:23.814046+00:00","author_handle":"frog@datadoghq.com","widgets":[{"definition":{"type":"query_value","requests":[{"formulas":[{"formula":"query1 + query2","limit":{"count":10,"order":"asc"}}],"response_format":"scalar","queries":[{"aggregator":"sum","data_source":"metrics","name":"query1","query":"avg:system.cpu.system{*} by {datacenter}"},{"aggregator":"sum","data_source":"metrics","name":"query2","query":"avg:system.load.1{*} by {datacenter}"}]}],"autoscale":false,"precision":0},"id":1162891459967107},{"definition":{"type":"query_value","requests":[{"formulas":[{"formula":"query1","limit":{"count":25,"order":"desc"}}],"response_format":"scalar","queries":[{"data_source":"rum","compute":{"aggregation":"count"},"name":"query1","indexes":["*"]}]}],"autoscale":false,"precision":0},"id":207425878663771}],"layout_type":"ordered"}' headers: Cache-Control: - no-cache @@ -28,7 +28,7 @@ interactions: Content-Type: - application/json Date: - - Thu, 25 Feb 2021 23:39:12 GMT + - Mon, 07 Jun 2021 19:06:24 GMT Pragma: - no-cache Strict-Transport-Security: @@ -38,9 +38,9 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Debug: - - twvpGlmuom5y6A0pjGtXzTf554cmwJgTcCZ71fK4H/RDi+v5ehBK0zQiRcTJQG5C + - 5gfwVh/5HZ+AnGd/Di93w3NEWC6KMHT9KzmHEiRJmNdOjBtAsbOcgVFyqEChw71h X-Dd-Version: - - "35.3986175" + - "35.4693436" X-Frame-Options: - SAMEORIGIN status: 200 OK @@ -55,11 +55,11 @@ interactions: Dd-Operation-Id: - GetDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.16+dev (go go1.15.6; os darwin; arch amd64) - url: https://api.datadoghq.com/api/v1/dashboard/7fq-hc7-w8z + - terraform-provider-datadog/dev (terraform 2.6.1; terraform-cli 0.15.3) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) + url: https://api.datadoghq.com/api/v1/dashboard/zh8-exf-kq7 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":"7fq-hc7-w8z","title":"tf-TestAccDatadogDashboardQueryValueFormula_import-local-1614296348","url":"/dashboard/7fq-hc7-w8z/tf-testaccdatadogdashboardqueryvalueformulaimport-local-1614296348","created_at":"2021-02-25T23:39:08.962468+00:00","modified_at":"2021-02-25T23:39:08.962468+00:00","author_handle":"frog@datadoghq.com","widgets":[{"definition":{"type":"query_value","requests":[{"formulas":[{"formula":"query1 + query2","limit":{"count":10,"order":"asc"}}],"response_format":"scalar","queries":[{"aggregator":"sum","data_source":"metrics","name":"query1","query":"avg:system.cpu.system{*} by {datacenter}"},{"aggregator":"sum","data_source":"metrics","name":"query2","query":"avg:system.load.1{*} by {datacenter}"}]}],"autoscale":false,"precision":0},"id":3695516588483057},{"definition":{"type":"query_value","requests":[{"formulas":[{"formula":"query1","limit":{"count":25,"order":"desc"}}],"response_format":"scalar","queries":[{"data_source":"rum","compute":{"aggregation":"count"},"name":"query1","indexes":["*"]}]}],"autoscale":false,"precision":0},"id":35421410005026}],"layout_type":"ordered"}' + body: '{"notify_list":[],"description":"Created using the Datadog provider in Terraform","author_name":null,"template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"zh8-exf-kq7","title":"tf-TestAccDatadogDashboardQueryValueFormula_import-local-1623092760","url":"/dashboard/zh8-exf-kq7/tf-testaccdatadogdashboardqueryvalueformulaimport-local-1623092760","created_at":"2021-06-07T19:06:23.814046+00:00","modified_at":"2021-06-07T19:06:23.814046+00:00","author_handle":"frog@datadoghq.com","widgets":[{"definition":{"type":"query_value","requests":[{"formulas":[{"formula":"query1 + query2","limit":{"count":10,"order":"asc"}}],"response_format":"scalar","queries":[{"aggregator":"sum","data_source":"metrics","name":"query1","query":"avg:system.cpu.system{*} by {datacenter}"},{"aggregator":"sum","data_source":"metrics","name":"query2","query":"avg:system.load.1{*} by {datacenter}"}]}],"autoscale":false,"precision":0},"id":1162891459967107},{"definition":{"type":"query_value","requests":[{"formulas":[{"formula":"query1","limit":{"count":25,"order":"desc"}}],"response_format":"scalar","queries":[{"data_source":"rum","compute":{"aggregation":"count"},"name":"query1","indexes":["*"]}]}],"autoscale":false,"precision":0},"id":207425878663771}],"layout_type":"ordered"}' headers: Cache-Control: - no-cache @@ -70,7 +70,7 @@ interactions: Content-Type: - application/json Date: - - Thu, 25 Feb 2021 23:39:12 GMT + - Mon, 07 Jun 2021 19:06:25 GMT Pragma: - no-cache Strict-Transport-Security: @@ -80,9 +80,9 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Debug: - - tpRCH6w417YjBovRJ8VmtuXmNONVYiRp2c8d2AxjPdGBn8PCtgG4vAztrx3qUZAN + - /L+SFFO+m1pPY+hRCpk5325fvfrNl0KmiquUNJolBN/5hu3HIwflqjZSbJ6NxDFG X-Dd-Version: - - "35.3986175" + - "35.4693436" X-Frame-Options: - SAMEORIGIN status: 200 OK @@ -97,11 +97,11 @@ interactions: Dd-Operation-Id: - GetDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.16+dev (go go1.15.6; os darwin; arch amd64) - url: https://api.datadoghq.com/api/v1/dashboard/7fq-hc7-w8z + - terraform-provider-datadog/dev (terraform 2.6.1; terraform-cli 0.15.3) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) + url: https://api.datadoghq.com/api/v1/dashboard/zh8-exf-kq7 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":"7fq-hc7-w8z","title":"tf-TestAccDatadogDashboardQueryValueFormula_import-local-1614296348","url":"/dashboard/7fq-hc7-w8z/tf-testaccdatadogdashboardqueryvalueformulaimport-local-1614296348","created_at":"2021-02-25T23:39:08.962468+00:00","modified_at":"2021-02-25T23:39:08.962468+00:00","author_handle":"frog@datadoghq.com","widgets":[{"definition":{"type":"query_value","requests":[{"formulas":[{"formula":"query1 + query2","limit":{"count":10,"order":"asc"}}],"response_format":"scalar","queries":[{"aggregator":"sum","data_source":"metrics","name":"query1","query":"avg:system.cpu.system{*} by {datacenter}"},{"aggregator":"sum","data_source":"metrics","name":"query2","query":"avg:system.load.1{*} by {datacenter}"}]}],"autoscale":false,"precision":0},"id":3695516588483057},{"definition":{"type":"query_value","requests":[{"formulas":[{"formula":"query1","limit":{"count":25,"order":"desc"}}],"response_format":"scalar","queries":[{"data_source":"rum","compute":{"aggregation":"count"},"name":"query1","indexes":["*"]}]}],"autoscale":false,"precision":0},"id":35421410005026}],"layout_type":"ordered"}' + body: '{"notify_list":[],"description":"Created using the Datadog provider in Terraform","author_name":null,"template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"zh8-exf-kq7","title":"tf-TestAccDatadogDashboardQueryValueFormula_import-local-1623092760","url":"/dashboard/zh8-exf-kq7/tf-testaccdatadogdashboardqueryvalueformulaimport-local-1623092760","created_at":"2021-06-07T19:06:23.814046+00:00","modified_at":"2021-06-07T19:06:23.814046+00:00","author_handle":"frog@datadoghq.com","widgets":[{"definition":{"type":"query_value","requests":[{"formulas":[{"formula":"query1 + query2","limit":{"count":10,"order":"asc"}}],"response_format":"scalar","queries":[{"aggregator":"sum","data_source":"metrics","name":"query1","query":"avg:system.cpu.system{*} by {datacenter}"},{"aggregator":"sum","data_source":"metrics","name":"query2","query":"avg:system.load.1{*} by {datacenter}"}]}],"autoscale":false,"precision":0},"id":1162891459967107},{"definition":{"type":"query_value","requests":[{"formulas":[{"formula":"query1","limit":{"count":25,"order":"desc"}}],"response_format":"scalar","queries":[{"data_source":"rum","compute":{"aggregation":"count"},"name":"query1","indexes":["*"]}]}],"autoscale":false,"precision":0},"id":207425878663771}],"layout_type":"ordered"}' headers: Cache-Control: - no-cache @@ -112,7 +112,7 @@ interactions: Content-Type: - application/json Date: - - Thu, 25 Feb 2021 23:39:13 GMT + - Mon, 07 Jun 2021 19:06:36 GMT Pragma: - no-cache Strict-Transport-Security: @@ -124,7 +124,7 @@ interactions: X-Dd-Debug: - vdJ3/nHEY1ioXQ6pQrBVvsQK1s4yyc+wufBMPSoXql71qZVuP/xMdtNo6DafhOAk X-Dd-Version: - - "35.3986175" + - "35.4693436" X-Frame-Options: - SAMEORIGIN status: 200 OK @@ -139,11 +139,11 @@ interactions: Dd-Operation-Id: - GetDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.16+dev (go go1.15.6; os darwin; arch amd64) - url: https://api.datadoghq.com/api/v1/dashboard/7fq-hc7-w8z + - terraform-provider-datadog/dev (terraform 2.6.1; terraform-cli 0.15.3) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) + url: https://api.datadoghq.com/api/v1/dashboard/zh8-exf-kq7 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":"7fq-hc7-w8z","title":"tf-TestAccDatadogDashboardQueryValueFormula_import-local-1614296348","url":"/dashboard/7fq-hc7-w8z/tf-testaccdatadogdashboardqueryvalueformulaimport-local-1614296348","created_at":"2021-02-25T23:39:08.962468+00:00","modified_at":"2021-02-25T23:39:08.962468+00:00","author_handle":"frog@datadoghq.com","widgets":[{"definition":{"type":"query_value","requests":[{"formulas":[{"formula":"query1 + query2","limit":{"count":10,"order":"asc"}}],"response_format":"scalar","queries":[{"aggregator":"sum","data_source":"metrics","name":"query1","query":"avg:system.cpu.system{*} by {datacenter}"},{"aggregator":"sum","data_source":"metrics","name":"query2","query":"avg:system.load.1{*} by {datacenter}"}]}],"autoscale":false,"precision":0},"id":3695516588483057},{"definition":{"type":"query_value","requests":[{"formulas":[{"formula":"query1","limit":{"count":25,"order":"desc"}}],"response_format":"scalar","queries":[{"data_source":"rum","compute":{"aggregation":"count"},"name":"query1","indexes":["*"]}]}],"autoscale":false,"precision":0},"id":35421410005026}],"layout_type":"ordered"}' + body: '{"notify_list":[],"description":"Created using the Datadog provider in Terraform","author_name":null,"template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"zh8-exf-kq7","title":"tf-TestAccDatadogDashboardQueryValueFormula_import-local-1623092760","url":"/dashboard/zh8-exf-kq7/tf-testaccdatadogdashboardqueryvalueformulaimport-local-1623092760","created_at":"2021-06-07T19:06:23.814046+00:00","modified_at":"2021-06-07T19:06:23.814046+00:00","author_handle":"frog@datadoghq.com","widgets":[{"definition":{"type":"query_value","requests":[{"formulas":[{"formula":"query1 + query2","limit":{"count":10,"order":"asc"}}],"response_format":"scalar","queries":[{"aggregator":"sum","data_source":"metrics","name":"query1","query":"avg:system.cpu.system{*} by {datacenter}"},{"aggregator":"sum","data_source":"metrics","name":"query2","query":"avg:system.load.1{*} by {datacenter}"}]}],"autoscale":false,"precision":0},"id":1162891459967107},{"definition":{"type":"query_value","requests":[{"formulas":[{"formula":"query1","limit":{"count":25,"order":"desc"}}],"response_format":"scalar","queries":[{"data_source":"rum","compute":{"aggregation":"count"},"name":"query1","indexes":["*"]}]}],"autoscale":false,"precision":0},"id":207425878663771}],"layout_type":"ordered"}' headers: Cache-Control: - no-cache @@ -154,7 +154,7 @@ interactions: Content-Type: - application/json Date: - - Thu, 25 Feb 2021 23:39:13 GMT + - Mon, 07 Jun 2021 19:06:54 GMT Pragma: - no-cache Strict-Transport-Security: @@ -164,93 +164,9 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Debug: - - B1nwy/pPNqX+q4pQT22cdp1QCexE35IF8qwSHy0Nf7IW0Y881qtn4tXN1lpmzaKc - X-Dd-Version: - - "35.3986175" - X-Frame-Options: - - SAMEORIGIN - status: 200 OK - code: 200 - duration: "" -- request: - body: "" - form: {} - headers: - Accept: - - application/json - Dd-Operation-Id: - - GetDashboard - User-Agent: - - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.16+dev (go go1.15.6; os darwin; arch amd64) - url: https://api.datadoghq.com/api/v1/dashboard/7fq-hc7-w8z - 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":"7fq-hc7-w8z","title":"tf-TestAccDatadogDashboardQueryValueFormula_import-local-1614296348","url":"/dashboard/7fq-hc7-w8z/tf-testaccdatadogdashboardqueryvalueformulaimport-local-1614296348","created_at":"2021-02-25T23:39:08.962468+00:00","modified_at":"2021-02-25T23:39:08.962468+00:00","author_handle":"frog@datadoghq.com","widgets":[{"definition":{"type":"query_value","requests":[{"formulas":[{"formula":"query1 + query2","limit":{"count":10,"order":"asc"}}],"response_format":"scalar","queries":[{"aggregator":"sum","data_source":"metrics","name":"query1","query":"avg:system.cpu.system{*} by {datacenter}"},{"aggregator":"sum","data_source":"metrics","name":"query2","query":"avg:system.load.1{*} by {datacenter}"}]}],"autoscale":false,"precision":0},"id":3695516588483057},{"definition":{"type":"query_value","requests":[{"formulas":[{"formula":"query1","limit":{"count":25,"order":"desc"}}],"response_format":"scalar","queries":[{"data_source":"rum","compute":{"aggregation":"count"},"name":"query1","indexes":["*"]}]}],"autoscale":false,"precision":0},"id":35421410005026}],"layout_type":"ordered"}' - headers: - Cache-Control: - - no-cache - Connection: - - keep-alive - Content-Security-Policy: - - frame-ancestors 'self'; report-uri https://api.datadoghq.com/csp-report - Content-Type: - - application/json - Date: - - Thu, 25 Feb 2021 23:39:13 GMT - Pragma: - - no-cache - Strict-Transport-Security: - - max-age=15724800; - Vary: - - Accept-Encoding - X-Content-Type-Options: - - nosniff - X-Dd-Debug: - - S1wfaMZOKGT/IoMw6fqAwAwGWo2vQ44sjF3YzuETnQfxZO2T5eJbs0aX3UKb9Dwu - X-Dd-Version: - - "35.3986175" - X-Frame-Options: - - SAMEORIGIN - status: 200 OK - code: 200 - duration: "" -- request: - body: "" - form: {} - headers: - Accept: - - application/json - Dd-Operation-Id: - - GetDashboard - User-Agent: - - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.16+dev (go go1.15.6; os darwin; arch amd64) - url: https://api.datadoghq.com/api/v1/dashboard/7fq-hc7-w8z - 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":"7fq-hc7-w8z","title":"tf-TestAccDatadogDashboardQueryValueFormula_import-local-1614296348","url":"/dashboard/7fq-hc7-w8z/tf-testaccdatadogdashboardqueryvalueformulaimport-local-1614296348","created_at":"2021-02-25T23:39:08.962468+00:00","modified_at":"2021-02-25T23:39:08.962468+00:00","author_handle":"frog@datadoghq.com","widgets":[{"definition":{"type":"query_value","requests":[{"formulas":[{"formula":"query1 + query2","limit":{"count":10,"order":"asc"}}],"response_format":"scalar","queries":[{"aggregator":"sum","data_source":"metrics","name":"query1","query":"avg:system.cpu.system{*} by {datacenter}"},{"aggregator":"sum","data_source":"metrics","name":"query2","query":"avg:system.load.1{*} by {datacenter}"}]}],"autoscale":false,"precision":0},"id":3695516588483057},{"definition":{"type":"query_value","requests":[{"formulas":[{"formula":"query1","limit":{"count":25,"order":"desc"}}],"response_format":"scalar","queries":[{"data_source":"rum","compute":{"aggregation":"count"},"name":"query1","indexes":["*"]}]}],"autoscale":false,"precision":0},"id":35421410005026}],"layout_type":"ordered"}' - headers: - Cache-Control: - - no-cache - Connection: - - keep-alive - Content-Security-Policy: - - frame-ancestors 'self'; report-uri https://api.datadoghq.com/csp-report - Content-Type: - - application/json - Date: - - Thu, 25 Feb 2021 23:39:13 GMT - Pragma: - - no-cache - Strict-Transport-Security: - - max-age=15724800; - Vary: - - Accept-Encoding - X-Content-Type-Options: - - nosniff - X-Dd-Debug: - - bgHykj7A9bfZx0Y5ZO3swhhp5tGUSNJHqFWR868+qg087CYrDOd5hQslC+noiEtH + - JpIJLwIH2nFlZOC+u71rq7aAOL43MLZN3MUsL+gpYHdZz5QLUOG8Jysf8kVK6tPU X-Dd-Version: - - "35.3986175" + - "35.4693436" X-Frame-Options: - SAMEORIGIN status: 200 OK @@ -265,11 +181,11 @@ interactions: Dd-Operation-Id: - DeleteDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.16+dev (go go1.15.6; os darwin; arch amd64) - url: https://api.datadoghq.com/api/v1/dashboard/7fq-hc7-w8z + - terraform-provider-datadog/dev (terraform 2.6.1; terraform-cli 0.15.3) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) + url: https://api.datadoghq.com/api/v1/dashboard/zh8-exf-kq7 method: DELETE response: - body: '{"deleted_dashboard_id":"7fq-hc7-w8z"}' + body: '{"deleted_dashboard_id":"zh8-exf-kq7"}' headers: Cache-Control: - no-cache @@ -280,7 +196,7 @@ interactions: Content-Type: - application/json Date: - - Thu, 25 Feb 2021 23:39:13 GMT + - Mon, 07 Jun 2021 19:06:59 GMT Pragma: - no-cache Strict-Transport-Security: @@ -290,9 +206,9 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Debug: - - JpIJLwIH2nFlZOC+u71rq7aAOL43MLZN3MUsL+gpYHdZz5QLUOG8Jysf8kVK6tPU + - l4HFlaRP3QwYSqoGKhzbYfv7zgkK63HIRR7YkyVYZspq0lGjjTBwoK8V/alf+XYt X-Dd-Version: - - "35.3986175" + - "35.4693436" X-Frame-Options: - SAMEORIGIN status: 200 OK @@ -307,11 +223,11 @@ interactions: Dd-Operation-Id: - GetDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.16+dev (go go1.15.6; os darwin; arch amd64) - url: https://api.datadoghq.com/api/v1/dashboard/7fq-hc7-w8z + - terraform-provider-datadog/dev (terraform 2.6.1; terraform-cli 0.15.3) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) + url: https://api.datadoghq.com/api/v1/dashboard/zh8-exf-kq7 method: GET response: - body: '{"errors": ["Dashboard with ID 7fq-hc7-w8z not found"]}' + body: '{"errors": ["Dashboard with ID zh8-exf-kq7 not found"]}' headers: Cache-Control: - no-cache @@ -322,7 +238,7 @@ interactions: Content-Type: - application/json Date: - - Thu, 25 Feb 2021 23:39:14 GMT + - Mon, 07 Jun 2021 19:07:00 GMT Pragma: - no-cache Strict-Transport-Security: @@ -332,7 +248,7 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Version: - - "35.3986175" + - "35.4693436" X-Frame-Options: - SAMEORIGIN status: 404 Not Found diff --git a/datadog/tests/cassettes/TestAccDatadogDashboardQueryValue_import.freeze b/datadog/tests/cassettes/TestAccDatadogDashboardQueryValue_import.freeze index 9f5765dcb..0b0688662 100644 --- a/datadog/tests/cassettes/TestAccDatadogDashboardQueryValue_import.freeze +++ b/datadog/tests/cassettes/TestAccDatadogDashboardQueryValue_import.freeze @@ -1 +1 @@ -2021-03-12T17:14:51.096924-05:00 \ No newline at end of file +2021-06-07T15:06:00.592866-04:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogDashboardQueryValue_import.yaml b/datadog/tests/cassettes/TestAccDatadogDashboardQueryValue_import.yaml index 08cc3fb9a..e80e5fb1b 100644 --- a/datadog/tests/cassettes/TestAccDatadogDashboardQueryValue_import.yaml +++ b/datadog/tests/cassettes/TestAccDatadogDashboardQueryValue_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-TestAccDatadogDashboardQueryValue_import-local-1615587291","widgets":[{"definition":{"autoscale":true,"custom_links":[{"label":"Test Custom Link label","link":"https://app.datadoghq.com/dashboard/lists"}],"custom_unit":"Gib","precision":3,"requests":[{"aggregator":"max","conditional_formats":[{"comparator":"\u003c","hide_value":false,"palette":"white_on_red","value":9},{"comparator":"\u003e=","hide_value":false,"palette":"white_on_green","value":9}],"q":"avg:system.mem.free{account:prod}"}],"time":{"live_span":"1h"},"title":"Avg of system.mem.free over account:prod","title_align":"center","title_size":"16","type":"query_value"}}]} + {"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-TestAccDatadogDashboardQueryValue_import-local-1623092760","widgets":[{"definition":{"autoscale":true,"custom_links":[{"label":"Test Custom Link label","link":"https://app.datadoghq.com/dashboard/lists"}],"custom_unit":"Gib","precision":3,"requests":[{"aggregator":"max","conditional_formats":[{"comparator":"\u003c","hide_value":false,"palette":"white_on_red","value":9},{"comparator":"\u003e=","hide_value":false,"palette":"white_on_green","value":9}],"q":"avg:system.mem.free{account:prod}"}],"time":{"live_span":"1h"},"title":"Avg of system.mem.free over account:prod","title_align":"center","title_size":"16","type":"query_value"}}]} form: {} headers: Accept: @@ -13,11 +13,11 @@ interactions: Dd-Operation-Id: - CreateDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 2.4.4; terraform-cli ) datadog-api-client-go/1.0.0-beta.16 (go go1.15.3; os darwin; arch amd64) + - terraform-provider-datadog/dev (terraform 2.6.1; terraform-cli 0.15.3) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) 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":"yiq-8j2-q62","title":"tf-TestAccDatadogDashboardQueryValue_import-local-1615587291","url":"/dashboard/yiq-8j2-q62/tf-testaccdatadogdashboardqueryvalueimport-local-1615587291","created_at":"2021-03-12T22:14:53.884730+00:00","modified_at":"2021-03-12T22:14:53.884730+00:00","author_handle":"frog@datadoghq.com","widgets":[{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test Custom Link label"}],"autoscale":true,"title":"Avg of system.mem.free over account:prod","title_align":"center","custom_unit":"Gib","precision":3,"time":{"live_span":"1h"},"title_size":"16","requests":[{"q":"avg:system.mem.free{account:prod}","aggregator":"max","conditional_formats":[{"palette":"white_on_red","hide_value":false,"value":9,"comparator":"<"},{"palette":"white_on_green","hide_value":false,"value":9,"comparator":">="}]}],"type":"query_value"},"id":8591753428610054}],"layout_type":"ordered"}' + body: '{"notify_list":[],"description":"Created using the Datadog provider in Terraform","author_name":null,"template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"mg4-4z4-f2h","title":"tf-TestAccDatadogDashboardQueryValue_import-local-1623092760","url":"/dashboard/mg4-4z4-f2h/tf-testaccdatadogdashboardqueryvalueimport-local-1623092760","created_at":"2021-06-07T19:06:23.783463+00:00","modified_at":"2021-06-07T19:06:23.783463+00:00","author_handle":"frog@datadoghq.com","widgets":[{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test Custom Link label"}],"autoscale":true,"title":"Avg of system.mem.free over account:prod","title_align":"center","custom_unit":"Gib","precision":3,"time":{"live_span":"1h"},"title_size":"16","requests":[{"q":"avg:system.mem.free{account:prod}","aggregator":"max","conditional_formats":[{"palette":"white_on_red","hide_value":false,"value":9,"comparator":"<"},{"palette":"white_on_green","hide_value":false,"value":9,"comparator":">="}]}],"type":"query_value"},"id":5079986295067332}],"layout_type":"ordered"}' headers: Cache-Control: - no-cache @@ -28,7 +28,7 @@ interactions: Content-Type: - application/json Date: - - Fri, 12 Mar 2021 22:14:56 GMT + - Mon, 07 Jun 2021 19:06:24 GMT Pragma: - no-cache Strict-Transport-Security: @@ -38,9 +38,9 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Debug: - - PhosSd3Ch1B6B0DXI71steKUi7XhPDttnPiIP1NdXTw0VJNWpoUnYyBmODS5ne3q + - twvpGlmuom5y6A0pjGtXzTf554cmwJgTcCZ71fK4H/RDi+v5ehBK0zQiRcTJQG5C X-Dd-Version: - - "35.4088130" + - "35.4693436" X-Frame-Options: - SAMEORIGIN status: 200 OK @@ -55,11 +55,11 @@ interactions: Dd-Operation-Id: - GetDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 2.4.4; terraform-cli ) datadog-api-client-go/1.0.0-beta.16 (go go1.15.3; os darwin; arch amd64) - url: https://api.datadoghq.com/api/v1/dashboard/yiq-8j2-q62 + - terraform-provider-datadog/dev (terraform 2.6.1; terraform-cli 0.15.3) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) + url: https://api.datadoghq.com/api/v1/dashboard/mg4-4z4-f2h 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":"yiq-8j2-q62","title":"tf-TestAccDatadogDashboardQueryValue_import-local-1615587291","url":"/dashboard/yiq-8j2-q62/tf-testaccdatadogdashboardqueryvalueimport-local-1615587291","created_at":"2021-03-12T22:14:53.884730+00:00","modified_at":"2021-03-12T22:14:53.884730+00:00","author_handle":"frog@datadoghq.com","widgets":[{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test Custom Link label"}],"autoscale":true,"title":"Avg of system.mem.free over account:prod","title_align":"center","custom_unit":"Gib","precision":3,"time":{"live_span":"1h"},"title_size":"16","requests":[{"q":"avg:system.mem.free{account:prod}","aggregator":"max","conditional_formats":[{"palette":"white_on_red","hide_value":false,"value":9,"comparator":"<"},{"palette":"white_on_green","hide_value":false,"value":9,"comparator":">="}]}],"type":"query_value"},"id":8591753428610054}],"layout_type":"ordered"}' + body: '{"notify_list":[],"description":"Created using the Datadog provider in Terraform","author_name":null,"template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"mg4-4z4-f2h","title":"tf-TestAccDatadogDashboardQueryValue_import-local-1623092760","url":"/dashboard/mg4-4z4-f2h/tf-testaccdatadogdashboardqueryvalueimport-local-1623092760","created_at":"2021-06-07T19:06:23.783463+00:00","modified_at":"2021-06-07T19:06:23.783463+00:00","author_handle":"frog@datadoghq.com","widgets":[{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test Custom Link label"}],"autoscale":true,"title":"Avg of system.mem.free over account:prod","title_align":"center","custom_unit":"Gib","precision":3,"time":{"live_span":"1h"},"title_size":"16","requests":[{"q":"avg:system.mem.free{account:prod}","aggregator":"max","conditional_formats":[{"palette":"white_on_red","hide_value":false,"value":9,"comparator":"<"},{"palette":"white_on_green","hide_value":false,"value":9,"comparator":">="}]}],"type":"query_value"},"id":5079986295067332}],"layout_type":"ordered"}' headers: Cache-Control: - no-cache @@ -70,7 +70,7 @@ interactions: Content-Type: - application/json Date: - - Fri, 12 Mar 2021 22:14:57 GMT + - Mon, 07 Jun 2021 19:06:25 GMT Pragma: - no-cache Strict-Transport-Security: @@ -80,9 +80,9 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Debug: - - HbtaOKlJ6OCrx9tMXO6ivMTrEM+g0c93HDp08trmOmgdHozC5J+vn10F0H4WPjCU + - LcgNasIYBRkNppmD6mCKE9J6iv0eEjosuuHR5V5zw2fWbR54i39C8dhdK8zDq/40 X-Dd-Version: - - "35.4088130" + - "35.4693436" X-Frame-Options: - SAMEORIGIN status: 200 OK @@ -97,11 +97,11 @@ interactions: Dd-Operation-Id: - GetDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 2.4.4; terraform-cli ) datadog-api-client-go/1.0.0-beta.16 (go go1.15.3; os darwin; arch amd64) - url: https://api.datadoghq.com/api/v1/dashboard/yiq-8j2-q62 + - terraform-provider-datadog/dev (terraform 2.6.1; terraform-cli 0.15.3) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) + url: https://api.datadoghq.com/api/v1/dashboard/mg4-4z4-f2h 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":"yiq-8j2-q62","title":"tf-TestAccDatadogDashboardQueryValue_import-local-1615587291","url":"/dashboard/yiq-8j2-q62/tf-testaccdatadogdashboardqueryvalueimport-local-1615587291","created_at":"2021-03-12T22:14:53.884730+00:00","modified_at":"2021-03-12T22:14:53.884730+00:00","author_handle":"frog@datadoghq.com","widgets":[{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test Custom Link label"}],"autoscale":true,"title":"Avg of system.mem.free over account:prod","title_align":"center","custom_unit":"Gib","precision":3,"time":{"live_span":"1h"},"title_size":"16","requests":[{"q":"avg:system.mem.free{account:prod}","aggregator":"max","conditional_formats":[{"palette":"white_on_red","hide_value":false,"value":9,"comparator":"<"},{"palette":"white_on_green","hide_value":false,"value":9,"comparator":">="}]}],"type":"query_value"},"id":8591753428610054}],"layout_type":"ordered"}' + body: '{"notify_list":[],"description":"Created using the Datadog provider in Terraform","author_name":null,"template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"mg4-4z4-f2h","title":"tf-TestAccDatadogDashboardQueryValue_import-local-1623092760","url":"/dashboard/mg4-4z4-f2h/tf-testaccdatadogdashboardqueryvalueimport-local-1623092760","created_at":"2021-06-07T19:06:23.783463+00:00","modified_at":"2021-06-07T19:06:23.783463+00:00","author_handle":"frog@datadoghq.com","widgets":[{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test Custom Link label"}],"autoscale":true,"title":"Avg of system.mem.free over account:prod","title_align":"center","custom_unit":"Gib","precision":3,"time":{"live_span":"1h"},"title_size":"16","requests":[{"q":"avg:system.mem.free{account:prod}","aggregator":"max","conditional_formats":[{"palette":"white_on_red","hide_value":false,"value":9,"comparator":"<"},{"palette":"white_on_green","hide_value":false,"value":9,"comparator":">="}]}],"type":"query_value"},"id":5079986295067332}],"layout_type":"ordered"}' headers: Cache-Control: - no-cache @@ -112,7 +112,7 @@ interactions: Content-Type: - application/json Date: - - Fri, 12 Mar 2021 22:14:58 GMT + - Mon, 07 Jun 2021 19:06:36 GMT Pragma: - no-cache Strict-Transport-Security: @@ -122,9 +122,9 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Debug: - - twvpGlmuom5y6A0pjGtXzTf554cmwJgTcCZ71fK4H/RDi+v5ehBK0zQiRcTJQG5C + - tpRCH6w417YjBovRJ8VmtuXmNONVYiRp2c8d2AxjPdGBn8PCtgG4vAztrx3qUZAN X-Dd-Version: - - "35.4088130" + - "35.4693436" X-Frame-Options: - SAMEORIGIN status: 200 OK @@ -139,11 +139,11 @@ interactions: Dd-Operation-Id: - GetDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 2.4.4; terraform-cli 0.14.7) datadog-api-client-go/1.0.0-beta.16 (go go1.15.3; os darwin; arch amd64) - url: https://api.datadoghq.com/api/v1/dashboard/yiq-8j2-q62 + - terraform-provider-datadog/dev (terraform 2.6.1; terraform-cli 0.15.3) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) + url: https://api.datadoghq.com/api/v1/dashboard/mg4-4z4-f2h 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":"yiq-8j2-q62","title":"tf-TestAccDatadogDashboardQueryValue_import-local-1615587291","url":"/dashboard/yiq-8j2-q62/tf-testaccdatadogdashboardqueryvalueimport-local-1615587291","created_at":"2021-03-12T22:14:53.884730+00:00","modified_at":"2021-03-12T22:14:53.884730+00:00","author_handle":"frog@datadoghq.com","widgets":[{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test Custom Link label"}],"autoscale":true,"title":"Avg of system.mem.free over account:prod","title_align":"center","custom_unit":"Gib","precision":3,"time":{"live_span":"1h"},"title_size":"16","requests":[{"q":"avg:system.mem.free{account:prod}","aggregator":"max","conditional_formats":[{"palette":"white_on_red","hide_value":false,"value":9,"comparator":"<"},{"palette":"white_on_green","hide_value":false,"value":9,"comparator":">="}]}],"type":"query_value"},"id":8591753428610054}],"layout_type":"ordered"}' + body: '{"notify_list":[],"description":"Created using the Datadog provider in Terraform","author_name":null,"template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"mg4-4z4-f2h","title":"tf-TestAccDatadogDashboardQueryValue_import-local-1623092760","url":"/dashboard/mg4-4z4-f2h/tf-testaccdatadogdashboardqueryvalueimport-local-1623092760","created_at":"2021-06-07T19:06:23.783463+00:00","modified_at":"2021-06-07T19:06:23.783463+00:00","author_handle":"frog@datadoghq.com","widgets":[{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test Custom Link label"}],"autoscale":true,"title":"Avg of system.mem.free over account:prod","title_align":"center","custom_unit":"Gib","precision":3,"time":{"live_span":"1h"},"title_size":"16","requests":[{"q":"avg:system.mem.free{account:prod}","aggregator":"max","conditional_formats":[{"palette":"white_on_red","hide_value":false,"value":9,"comparator":"<"},{"palette":"white_on_green","hide_value":false,"value":9,"comparator":">="}]}],"type":"query_value"},"id":5079986295067332}],"layout_type":"ordered"}' headers: Cache-Control: - no-cache @@ -154,7 +154,7 @@ interactions: Content-Type: - application/json Date: - - Fri, 12 Mar 2021 22:14:59 GMT + - Mon, 07 Jun 2021 19:06:54 GMT Pragma: - no-cache Strict-Transport-Security: @@ -164,9 +164,9 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Debug: - - PhosSd3Ch1B6B0DXI71steKUi7XhPDttnPiIP1NdXTw0VJNWpoUnYyBmODS5ne3q + - Wjq53IVIwnB4SiR238oOYgHFMq/ZYP0LQ/Dv8C2fFLBwTje/dWJHu6pI6vIOK1zG X-Dd-Version: - - "35.4088130" + - "35.4693436" X-Frame-Options: - SAMEORIGIN status: 200 OK @@ -181,11 +181,11 @@ interactions: Dd-Operation-Id: - DeleteDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 2.4.4; terraform-cli 0.14.7) datadog-api-client-go/1.0.0-beta.16 (go go1.15.3; os darwin; arch amd64) - url: https://api.datadoghq.com/api/v1/dashboard/yiq-8j2-q62 + - terraform-provider-datadog/dev (terraform 2.6.1; terraform-cli 0.15.3) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) + url: https://api.datadoghq.com/api/v1/dashboard/mg4-4z4-f2h method: DELETE response: - body: '{"deleted_dashboard_id":"yiq-8j2-q62"}' + body: '{"deleted_dashboard_id":"mg4-4z4-f2h"}' headers: Cache-Control: - no-cache @@ -196,7 +196,7 @@ interactions: Content-Type: - application/json Date: - - Fri, 12 Mar 2021 22:15:00 GMT + - Mon, 07 Jun 2021 19:06:59 GMT Pragma: - no-cache Strict-Transport-Security: @@ -206,9 +206,9 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Debug: - - l8RQo2maZqJf6GFThBbKNE6dvthz6njusVtau3dPXJWL2RLFoN81H+BLPB/1xgs1 + - vdJ3/nHEY1ioXQ6pQrBVvsQK1s4yyc+wufBMPSoXql71qZVuP/xMdtNo6DafhOAk X-Dd-Version: - - "35.4088130" + - "35.4693436" X-Frame-Options: - SAMEORIGIN status: 200 OK @@ -223,11 +223,11 @@ interactions: Dd-Operation-Id: - GetDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 2.4.4; terraform-cli 0.14.7) datadog-api-client-go/1.0.0-beta.16 (go go1.15.3; os darwin; arch amd64) - url: https://api.datadoghq.com/api/v1/dashboard/yiq-8j2-q62 + - terraform-provider-datadog/dev (terraform 2.6.1; terraform-cli 0.15.3) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) + url: https://api.datadoghq.com/api/v1/dashboard/mg4-4z4-f2h method: GET response: - body: '{"errors": ["Dashboard with ID yiq-8j2-q62 not found"]}' + body: '{"errors": ["Dashboard with ID mg4-4z4-f2h not found"]}' headers: Cache-Control: - no-cache @@ -238,7 +238,7 @@ interactions: Content-Type: - application/json Date: - - Fri, 12 Mar 2021 22:15:00 GMT + - Mon, 07 Jun 2021 19:06:59 GMT Pragma: - no-cache Strict-Transport-Security: @@ -248,7 +248,7 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Version: - - "35.4088130" + - "35.4693436" X-Frame-Options: - SAMEORIGIN status: 404 Not Found diff --git a/datadog/tests/cassettes/TestAccDatadogDashboardScatterplot.freeze b/datadog/tests/cassettes/TestAccDatadogDashboardScatterplot.freeze index cfd3d47da..cf895f800 100644 --- a/datadog/tests/cassettes/TestAccDatadogDashboardScatterplot.freeze +++ b/datadog/tests/cassettes/TestAccDatadogDashboardScatterplot.freeze @@ -1 +1 @@ -2021-03-12T17:14:48.688211-05:00 \ No newline at end of file +2021-06-07T15:17:33.270492-04:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogDashboardScatterplot.yaml b/datadog/tests/cassettes/TestAccDatadogDashboardScatterplot.yaml index 64132edaa..e31430653 100644 --- a/datadog/tests/cassettes/TestAccDatadogDashboardScatterplot.yaml +++ b/datadog/tests/cassettes/TestAccDatadogDashboardScatterplot.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-TestAccDatadogDashboardScatterplot-local-1615587288","widgets":[{"definition":{"color_by_groups":["app"],"custom_links":[{"label":"Test Custom Link label","link":"https://app.datadoghq.com/dashboard/lists"}],"requests":{"x":{"aggregator":"avg","q":"avg:system.cpu.user{account:prod} by {service, team, app}"},"y":{"aggregator":"avg","q":"avg:system.mem.used{env:prod} by {service, team, app}"}},"time":{"live_span":"15m"},"title":"system.mem.used and system.cpu.user by service,team,app colored by app","title_align":"right","title_size":"16","type":"scatterplot","xaxis":{"include_zero":false,"label":"cpu (%)","max":"100","min":"0","scale":"log"},"yaxis":{"include_zero":false,"label":"mem (Gib)","min":"1","scale":"log"}}}]} + {"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-TestAccDatadogDashboardScatterplot-local-1623093453","widgets":[{"definition":{"color_by_groups":["app"],"custom_links":[{"label":"Test Custom Link label","link":"https://app.datadoghq.com/dashboard/lists"},{"is_hidden":true,"link":"https://app.datadoghq.com/dashboard/lists","override_label":"logs"}],"requests":{"x":{"aggregator":"avg","q":"avg:system.cpu.user{account:prod} by {service, team, app}"},"y":{"aggregator":"avg","q":"avg:system.mem.used{env:prod} by {service, team, app}"}},"time":{"live_span":"15m"},"title":"system.mem.used and system.cpu.user by service,team,app colored by app","title_align":"right","title_size":"16","type":"scatterplot","xaxis":{"include_zero":false,"label":"cpu (%)","max":"100","min":"0","scale":"log"},"yaxis":{"include_zero":false,"label":"mem (Gib)","min":"1","scale":"log"}}}]} form: {} headers: Accept: @@ -13,11 +13,11 @@ interactions: Dd-Operation-Id: - CreateDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 2.4.4; terraform-cli 0.14.7) datadog-api-client-go/1.0.0-beta.16 (go go1.15.3; os darwin; arch amd64) + - terraform-provider-datadog/dev (terraform 2.6.1; terraform-cli 0.15.3) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) 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":"m89-wx4-dqc","title":"tf-TestAccDatadogDashboardScatterplot-local-1615587288","url":"/dashboard/m89-wx4-dqc/tf-testaccdatadogdashboardscatterplot-local-1615587288","created_at":"2021-03-12T22:14:51.954759+00:00","modified_at":"2021-03-12T22:14:51.954759+00:00","author_handle":"frog@datadoghq.com","widgets":[{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test Custom Link label"}],"title_size":"16","yaxis":{"include_zero":false,"scale":"log","min":"1","label":"mem (Gib)"},"title_align":"right","color_by_groups":["app"],"xaxis":{"include_zero":false,"max":"100","min":"0","scale":"log","label":"cpu (%)"},"time":{"live_span":"15m"},"title":"system.mem.used and system.cpu.user by service,team,app colored by app","requests":{"y":{"q":"avg:system.mem.used{env:prod} by {service, team, app}","aggregator":"avg"},"x":{"q":"avg:system.cpu.user{account:prod} by {service, team, app}","aggregator":"avg"}},"type":"scatterplot"},"id":6760094181408537}],"layout_type":"ordered"}' + body: '{"notify_list":[],"description":"Created using the Datadog provider in Terraform","author_name":null,"template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"5q6-8vk-wyy","title":"tf-TestAccDatadogDashboardScatterplot-local-1623093453","url":"/dashboard/5q6-8vk-wyy/tf-testaccdatadogdashboardscatterplot-local-1623093453","created_at":"2021-06-07T19:17:48.615393+00:00","modified_at":"2021-06-07T19:17:48.615393+00:00","author_handle":"frog@datadoghq.com","widgets":[{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test Custom Link label"},{"override_label":"logs","is_hidden":true,"link":"https://app.datadoghq.com/dashboard/lists"}],"title_size":"16","yaxis":{"include_zero":false,"scale":"log","min":"1","label":"mem (Gib)"},"title_align":"right","color_by_groups":["app"],"xaxis":{"include_zero":false,"max":"100","min":"0","scale":"log","label":"cpu (%)"},"time":{"live_span":"15m"},"title":"system.mem.used and system.cpu.user by service,team,app colored by app","requests":{"y":{"q":"avg:system.mem.used{env:prod} by {service, team, app}","aggregator":"avg"},"x":{"q":"avg:system.cpu.user{account:prod} by {service, team, app}","aggregator":"avg"}},"type":"scatterplot"},"id":1131581165332985}],"layout_type":"ordered"}' headers: Cache-Control: - no-cache @@ -28,7 +28,7 @@ interactions: Content-Type: - application/json Date: - - Fri, 12 Mar 2021 22:14:55 GMT + - Mon, 07 Jun 2021 19:17:49 GMT Pragma: - no-cache Strict-Transport-Security: @@ -38,9 +38,9 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Debug: - - mNzaoDhdDKO7t4QSrAe5X7pHd0bJND187D+vRbwoluXouE2m1UaQQX0RGCvRpLVE + - vdJ3/nHEY1ioXQ6pQrBVvsQK1s4yyc+wufBMPSoXql71qZVuP/xMdtNo6DafhOAk X-Dd-Version: - - "35.4088130" + - "35.4693436" X-Frame-Options: - SAMEORIGIN status: 200 OK @@ -55,11 +55,11 @@ interactions: Dd-Operation-Id: - GetDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 2.4.4; terraform-cli 0.14.7) datadog-api-client-go/1.0.0-beta.16 (go go1.15.3; os darwin; arch amd64) - url: https://api.datadoghq.com/api/v1/dashboard/m89-wx4-dqc + - terraform-provider-datadog/dev (terraform 2.6.1; terraform-cli 0.15.3) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) + url: https://api.datadoghq.com/api/v1/dashboard/5q6-8vk-wyy 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":"m89-wx4-dqc","title":"tf-TestAccDatadogDashboardScatterplot-local-1615587288","url":"/dashboard/m89-wx4-dqc/tf-testaccdatadogdashboardscatterplot-local-1615587288","created_at":"2021-03-12T22:14:51.954759+00:00","modified_at":"2021-03-12T22:14:51.954759+00:00","author_handle":"frog@datadoghq.com","widgets":[{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test Custom Link label"}],"title_size":"16","yaxis":{"include_zero":false,"scale":"log","min":"1","label":"mem (Gib)"},"title_align":"right","color_by_groups":["app"],"xaxis":{"include_zero":false,"max":"100","min":"0","scale":"log","label":"cpu (%)"},"time":{"live_span":"15m"},"title":"system.mem.used and system.cpu.user by service,team,app colored by app","requests":{"y":{"q":"avg:system.mem.used{env:prod} by {service, team, app}","aggregator":"avg"},"x":{"q":"avg:system.cpu.user{account:prod} by {service, team, app}","aggregator":"avg"}},"type":"scatterplot"},"id":6760094181408537}],"layout_type":"ordered"}' + body: '{"notify_list":[],"description":"Created using the Datadog provider in Terraform","author_name":null,"template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"5q6-8vk-wyy","title":"tf-TestAccDatadogDashboardScatterplot-local-1623093453","url":"/dashboard/5q6-8vk-wyy/tf-testaccdatadogdashboardscatterplot-local-1623093453","created_at":"2021-06-07T19:17:48.615393+00:00","modified_at":"2021-06-07T19:17:48.615393+00:00","author_handle":"frog@datadoghq.com","widgets":[{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test Custom Link label"},{"override_label":"logs","is_hidden":true,"link":"https://app.datadoghq.com/dashboard/lists"}],"title_size":"16","yaxis":{"include_zero":false,"scale":"log","min":"1","label":"mem (Gib)"},"title_align":"right","color_by_groups":["app"],"xaxis":{"include_zero":false,"max":"100","min":"0","scale":"log","label":"cpu (%)"},"time":{"live_span":"15m"},"title":"system.mem.used and system.cpu.user by service,team,app colored by app","requests":{"y":{"q":"avg:system.mem.used{env:prod} by {service, team, app}","aggregator":"avg"},"x":{"q":"avg:system.cpu.user{account:prod} by {service, team, app}","aggregator":"avg"}},"type":"scatterplot"},"id":1131581165332985}],"layout_type":"ordered"}' headers: Cache-Control: - no-cache @@ -70,7 +70,7 @@ interactions: Content-Type: - application/json Date: - - Fri, 12 Mar 2021 22:14:55 GMT + - Mon, 07 Jun 2021 19:18:19 GMT Pragma: - no-cache Strict-Transport-Security: @@ -80,9 +80,9 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Debug: - - fIO2C4qGDheGHy4YbS+r3a3CXbh4cbRo7roILOimQyiHGjQdOat0cIpWCkupM1uX + - nLnnBNvlCFDECRnZvzDb0z4sAO35G+IMidcAs8vrCKyjvsKWE8Yd9S3n6OjZ1qRN X-Dd-Version: - - "35.4088130" + - "35.4693436" X-Frame-Options: - SAMEORIGIN status: 200 OK @@ -97,11 +97,11 @@ interactions: Dd-Operation-Id: - GetDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 2.4.4; terraform-cli 0.14.7) datadog-api-client-go/1.0.0-beta.16 (go go1.15.3; os darwin; arch amd64) - url: https://api.datadoghq.com/api/v1/dashboard/m89-wx4-dqc + - terraform-provider-datadog/dev (terraform 2.6.1; terraform-cli 0.15.3) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) + url: https://api.datadoghq.com/api/v1/dashboard/5q6-8vk-wyy 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":"m89-wx4-dqc","title":"tf-TestAccDatadogDashboardScatterplot-local-1615587288","url":"/dashboard/m89-wx4-dqc/tf-testaccdatadogdashboardscatterplot-local-1615587288","created_at":"2021-03-12T22:14:51.954759+00:00","modified_at":"2021-03-12T22:14:51.954759+00:00","author_handle":"frog@datadoghq.com","widgets":[{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test Custom Link label"}],"title_size":"16","yaxis":{"include_zero":false,"scale":"log","min":"1","label":"mem (Gib)"},"title_align":"right","color_by_groups":["app"],"xaxis":{"include_zero":false,"max":"100","min":"0","scale":"log","label":"cpu (%)"},"time":{"live_span":"15m"},"title":"system.mem.used and system.cpu.user by service,team,app colored by app","requests":{"y":{"q":"avg:system.mem.used{env:prod} by {service, team, app}","aggregator":"avg"},"x":{"q":"avg:system.cpu.user{account:prod} by {service, team, app}","aggregator":"avg"}},"type":"scatterplot"},"id":6760094181408537}],"layout_type":"ordered"}' + body: '{"notify_list":[],"description":"Created using the Datadog provider in Terraform","author_name":null,"template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"5q6-8vk-wyy","title":"tf-TestAccDatadogDashboardScatterplot-local-1623093453","url":"/dashboard/5q6-8vk-wyy/tf-testaccdatadogdashboardscatterplot-local-1623093453","created_at":"2021-06-07T19:17:48.615393+00:00","modified_at":"2021-06-07T19:17:48.615393+00:00","author_handle":"frog@datadoghq.com","widgets":[{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test Custom Link label"},{"override_label":"logs","is_hidden":true,"link":"https://app.datadoghq.com/dashboard/lists"}],"title_size":"16","yaxis":{"include_zero":false,"scale":"log","min":"1","label":"mem (Gib)"},"title_align":"right","color_by_groups":["app"],"xaxis":{"include_zero":false,"max":"100","min":"0","scale":"log","label":"cpu (%)"},"time":{"live_span":"15m"},"title":"system.mem.used and system.cpu.user by service,team,app colored by app","requests":{"y":{"q":"avg:system.mem.used{env:prod} by {service, team, app}","aggregator":"avg"},"x":{"q":"avg:system.cpu.user{account:prod} by {service, team, app}","aggregator":"avg"}},"type":"scatterplot"},"id":1131581165332985}],"layout_type":"ordered"}' headers: Cache-Control: - no-cache @@ -112,7 +112,7 @@ interactions: Content-Type: - application/json Date: - - Fri, 12 Mar 2021 22:14:55 GMT + - Mon, 07 Jun 2021 19:18:21 GMT Pragma: - no-cache Strict-Transport-Security: @@ -122,9 +122,9 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Debug: - - 25u1gDlL724DHllbjFT4BhOLorBTilh+aah2uWAUEjFC/+rjczJdiyWrV/HwLwe/ + - nLnnBNvlCFDECRnZvzDb0z4sAO35G+IMidcAs8vrCKyjvsKWE8Yd9S3n6OjZ1qRN X-Dd-Version: - - "35.4088130" + - "35.4693436" X-Frame-Options: - SAMEORIGIN status: 200 OK @@ -139,11 +139,11 @@ interactions: Dd-Operation-Id: - GetDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 2.4.4; terraform-cli ) datadog-api-client-go/1.0.0-beta.16 (go go1.15.3; os darwin; arch amd64) - url: https://api.datadoghq.com/api/v1/dashboard/m89-wx4-dqc + - terraform-provider-datadog/dev (terraform 2.6.1; terraform-cli 0.15.3) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) + url: https://api.datadoghq.com/api/v1/dashboard/5q6-8vk-wyy 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":"m89-wx4-dqc","title":"tf-TestAccDatadogDashboardScatterplot-local-1615587288","url":"/dashboard/m89-wx4-dqc/tf-testaccdatadogdashboardscatterplot-local-1615587288","created_at":"2021-03-12T22:14:51.954759+00:00","modified_at":"2021-03-12T22:14:51.954759+00:00","author_handle":"frog@datadoghq.com","widgets":[{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test Custom Link label"}],"title_size":"16","yaxis":{"include_zero":false,"scale":"log","min":"1","label":"mem (Gib)"},"title_align":"right","color_by_groups":["app"],"xaxis":{"include_zero":false,"max":"100","min":"0","scale":"log","label":"cpu (%)"},"time":{"live_span":"15m"},"title":"system.mem.used and system.cpu.user by service,team,app colored by app","requests":{"y":{"q":"avg:system.mem.used{env:prod} by {service, team, app}","aggregator":"avg"},"x":{"q":"avg:system.cpu.user{account:prod} by {service, team, app}","aggregator":"avg"}},"type":"scatterplot"},"id":6760094181408537}],"layout_type":"ordered"}' + body: '{"notify_list":[],"description":"Created using the Datadog provider in Terraform","author_name":null,"template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"5q6-8vk-wyy","title":"tf-TestAccDatadogDashboardScatterplot-local-1623093453","url":"/dashboard/5q6-8vk-wyy/tf-testaccdatadogdashboardscatterplot-local-1623093453","created_at":"2021-06-07T19:17:48.615393+00:00","modified_at":"2021-06-07T19:17:48.615393+00:00","author_handle":"frog@datadoghq.com","widgets":[{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test Custom Link label"},{"override_label":"logs","is_hidden":true,"link":"https://app.datadoghq.com/dashboard/lists"}],"title_size":"16","yaxis":{"include_zero":false,"scale":"log","min":"1","label":"mem (Gib)"},"title_align":"right","color_by_groups":["app"],"xaxis":{"include_zero":false,"max":"100","min":"0","scale":"log","label":"cpu (%)"},"time":{"live_span":"15m"},"title":"system.mem.used and system.cpu.user by service,team,app colored by app","requests":{"y":{"q":"avg:system.mem.used{env:prod} by {service, team, app}","aggregator":"avg"},"x":{"q":"avg:system.cpu.user{account:prod} by {service, team, app}","aggregator":"avg"}},"type":"scatterplot"},"id":1131581165332985}],"layout_type":"ordered"}' headers: Cache-Control: - no-cache @@ -154,7 +154,7 @@ interactions: Content-Type: - application/json Date: - - Fri, 12 Mar 2021 22:14:56 GMT + - Mon, 07 Jun 2021 19:18:28 GMT Pragma: - no-cache Strict-Transport-Security: @@ -164,9 +164,9 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Debug: - - 2328yjLSqI4XmR1pVqrPRR/SFcQsbafjEpPmZx7/3PfxUK1nJQQsX+wrMelyVyj+ + - l8RQo2maZqJf6GFThBbKNE6dvthz6njusVtau3dPXJWL2RLFoN81H+BLPB/1xgs1 X-Dd-Version: - - "35.4088130" + - "35.4693436" X-Frame-Options: - SAMEORIGIN status: 200 OK @@ -181,11 +181,11 @@ interactions: Dd-Operation-Id: - DeleteDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 2.4.4; terraform-cli 0.14.7) datadog-api-client-go/1.0.0-beta.16 (go go1.15.3; os darwin; arch amd64) - url: https://api.datadoghq.com/api/v1/dashboard/m89-wx4-dqc + - terraform-provider-datadog/dev (terraform 2.6.1; terraform-cli 0.15.3) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) + url: https://api.datadoghq.com/api/v1/dashboard/5q6-8vk-wyy method: DELETE response: - body: '{"deleted_dashboard_id":"m89-wx4-dqc"}' + body: '{"deleted_dashboard_id":"5q6-8vk-wyy"}' headers: Cache-Control: - no-cache @@ -196,7 +196,7 @@ interactions: Content-Type: - application/json Date: - - Fri, 12 Mar 2021 22:14:58 GMT + - Mon, 07 Jun 2021 19:18:39 GMT Pragma: - no-cache Strict-Transport-Security: @@ -206,9 +206,9 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Debug: - - fIO2C4qGDheGHy4YbS+r3a3CXbh4cbRo7roILOimQyiHGjQdOat0cIpWCkupM1uX + - LcgNasIYBRkNppmD6mCKE9J6iv0eEjosuuHR5V5zw2fWbR54i39C8dhdK8zDq/40 X-Dd-Version: - - "35.4088130" + - "35.4693436" X-Frame-Options: - SAMEORIGIN status: 200 OK @@ -223,11 +223,11 @@ interactions: Dd-Operation-Id: - GetDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 2.4.4; terraform-cli 0.14.7) datadog-api-client-go/1.0.0-beta.16 (go go1.15.3; os darwin; arch amd64) - url: https://api.datadoghq.com/api/v1/dashboard/m89-wx4-dqc + - terraform-provider-datadog/dev (terraform 2.6.1; terraform-cli 0.15.3) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) + url: https://api.datadoghq.com/api/v1/dashboard/5q6-8vk-wyy method: GET response: - body: '{"errors": ["Dashboard with ID m89-wx4-dqc not found"]}' + body: '{"errors": ["Dashboard with ID 5q6-8vk-wyy not found"]}' headers: Cache-Control: - no-cache @@ -238,7 +238,7 @@ interactions: Content-Type: - application/json Date: - - Fri, 12 Mar 2021 22:14:58 GMT + - Mon, 07 Jun 2021 19:18:39 GMT Pragma: - no-cache Strict-Transport-Security: @@ -248,7 +248,7 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Version: - - "35.4088130" + - "35.4693436" X-Frame-Options: - SAMEORIGIN status: 404 Not Found diff --git a/datadog/tests/cassettes/TestAccDatadogDashboardScatterplot_import.freeze b/datadog/tests/cassettes/TestAccDatadogDashboardScatterplot_import.freeze index 69da99bfd..f74481143 100644 --- a/datadog/tests/cassettes/TestAccDatadogDashboardScatterplot_import.freeze +++ b/datadog/tests/cassettes/TestAccDatadogDashboardScatterplot_import.freeze @@ -1 +1 @@ -2021-03-12T17:14:32.906157-05:00 \ No newline at end of file +2021-06-07T15:17:33.270445-04:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogDashboardScatterplot_import.yaml b/datadog/tests/cassettes/TestAccDatadogDashboardScatterplot_import.yaml index ed898aacc..76885acb0 100644 --- a/datadog/tests/cassettes/TestAccDatadogDashboardScatterplot_import.yaml +++ b/datadog/tests/cassettes/TestAccDatadogDashboardScatterplot_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-TestAccDatadogDashboardScatterplot_import-local-1615587272","widgets":[{"definition":{"color_by_groups":["app"],"custom_links":[{"label":"Test Custom Link label","link":"https://app.datadoghq.com/dashboard/lists"}],"requests":{"x":{"aggregator":"avg","q":"avg:system.cpu.user{account:prod} by {service, team, app}"},"y":{"aggregator":"avg","q":"avg:system.mem.used{env:prod} by {service, team, app}"}},"time":{"live_span":"15m"},"title":"system.mem.used and system.cpu.user by service,team,app colored by app","title_align":"right","title_size":"16","type":"scatterplot","xaxis":{"include_zero":false,"label":"cpu (%)","max":"100","min":"0","scale":"log"},"yaxis":{"include_zero":false,"label":"mem (Gib)","min":"1","scale":"log"}}}]} + {"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-TestAccDatadogDashboardScatterplot_import-local-1623093453","widgets":[{"definition":{"color_by_groups":["app"],"custom_links":[{"label":"Test Custom Link label","link":"https://app.datadoghq.com/dashboard/lists"}],"requests":{"x":{"aggregator":"avg","q":"avg:system.cpu.user{account:prod} by {service, team, app}"},"y":{"aggregator":"avg","q":"avg:system.mem.used{env:prod} by {service, team, app}"}},"time":{"live_span":"15m"},"title":"system.mem.used and system.cpu.user by service,team,app colored by app","title_align":"right","title_size":"16","type":"scatterplot","xaxis":{"include_zero":false,"label":"cpu (%)","max":"100","min":"0","scale":"log"},"yaxis":{"include_zero":false,"label":"mem (Gib)","min":"1","scale":"log"}}}]} form: {} headers: Accept: @@ -13,11 +13,11 @@ interactions: Dd-Operation-Id: - CreateDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 2.4.4; terraform-cli 0.14.7) datadog-api-client-go/1.0.0-beta.16 (go go1.15.3; os darwin; arch amd64) + - terraform-provider-datadog/dev (terraform 2.6.1; terraform-cli 0.15.3) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) 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":"r3d-h7p-dx3","title":"tf-TestAccDatadogDashboardScatterplot_import-local-1615587272","url":"/dashboard/r3d-h7p-dx3/tf-testaccdatadogdashboardscatterplotimport-local-1615587272","created_at":"2021-03-12T22:14:36.302186+00:00","modified_at":"2021-03-12T22:14:36.302186+00:00","author_handle":"frog@datadoghq.com","widgets":[{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test Custom Link label"}],"title_size":"16","yaxis":{"include_zero":false,"scale":"log","min":"1","label":"mem (Gib)"},"title_align":"right","color_by_groups":["app"],"xaxis":{"include_zero":false,"max":"100","min":"0","scale":"log","label":"cpu (%)"},"time":{"live_span":"15m"},"title":"system.mem.used and system.cpu.user by service,team,app colored by app","requests":{"y":{"q":"avg:system.mem.used{env:prod} by {service, team, app}","aggregator":"avg"},"x":{"q":"avg:system.cpu.user{account:prod} by {service, team, app}","aggregator":"avg"}},"type":"scatterplot"},"id":1335930968145344}],"layout_type":"ordered"}' + body: '{"notify_list":[],"description":"Created using the Datadog provider in Terraform","author_name":null,"template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"bfm-yn2-y68","title":"tf-TestAccDatadogDashboardScatterplot_import-local-1623093453","url":"/dashboard/bfm-yn2-y68/tf-testaccdatadogdashboardscatterplotimport-local-1623093453","created_at":"2021-06-07T19:17:48.614428+00:00","modified_at":"2021-06-07T19:17:48.614428+00:00","author_handle":"frog@datadoghq.com","widgets":[{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test Custom Link label"}],"title_size":"16","yaxis":{"include_zero":false,"scale":"log","min":"1","label":"mem (Gib)"},"title_align":"right","color_by_groups":["app"],"xaxis":{"include_zero":false,"max":"100","min":"0","scale":"log","label":"cpu (%)"},"time":{"live_span":"15m"},"title":"system.mem.used and system.cpu.user by service,team,app colored by app","requests":{"y":{"q":"avg:system.mem.used{env:prod} by {service, team, app}","aggregator":"avg"},"x":{"q":"avg:system.cpu.user{account:prod} by {service, team, app}","aggregator":"avg"}},"type":"scatterplot"},"id":7879867335288477}],"layout_type":"ordered"}' headers: Cache-Control: - no-cache @@ -28,7 +28,7 @@ interactions: Content-Type: - application/json Date: - - Fri, 12 Mar 2021 22:14:38 GMT + - Mon, 07 Jun 2021 19:17:49 GMT Pragma: - no-cache Strict-Transport-Security: @@ -38,9 +38,9 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Debug: - - dPySkcOzIZtKyMKDAAzuysY3gNGGj6RtYogGuSb76E8mPvoqzREyRp6lPYm91hQU + - Um4CoU685QqAscnxhS5BD+goWu2yX1Jd4zCfGzSsEvPPIm1qURZaF8dlLl/OEY4I X-Dd-Version: - - "35.4088130" + - "35.4693436" X-Frame-Options: - SAMEORIGIN status: 200 OK @@ -55,11 +55,11 @@ interactions: Dd-Operation-Id: - GetDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 2.4.4; terraform-cli 0.14.7) datadog-api-client-go/1.0.0-beta.16 (go go1.15.3; os darwin; arch amd64) - url: https://api.datadoghq.com/api/v1/dashboard/r3d-h7p-dx3 + - terraform-provider-datadog/dev (terraform 2.6.1; terraform-cli 0.15.3) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) + url: https://api.datadoghq.com/api/v1/dashboard/bfm-yn2-y68 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":"r3d-h7p-dx3","title":"tf-TestAccDatadogDashboardScatterplot_import-local-1615587272","url":"/dashboard/r3d-h7p-dx3/tf-testaccdatadogdashboardscatterplotimport-local-1615587272","created_at":"2021-03-12T22:14:36.302186+00:00","modified_at":"2021-03-12T22:14:36.302186+00:00","author_handle":"frog@datadoghq.com","widgets":[{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test Custom Link label"}],"title_size":"16","yaxis":{"include_zero":false,"scale":"log","min":"1","label":"mem (Gib)"},"title_align":"right","color_by_groups":["app"],"xaxis":{"include_zero":false,"max":"100","min":"0","scale":"log","label":"cpu (%)"},"time":{"live_span":"15m"},"title":"system.mem.used and system.cpu.user by service,team,app colored by app","requests":{"y":{"q":"avg:system.mem.used{env:prod} by {service, team, app}","aggregator":"avg"},"x":{"q":"avg:system.cpu.user{account:prod} by {service, team, app}","aggregator":"avg"}},"type":"scatterplot"},"id":1335930968145344}],"layout_type":"ordered"}' + body: '{"notify_list":[],"description":"Created using the Datadog provider in Terraform","author_name":null,"template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"bfm-yn2-y68","title":"tf-TestAccDatadogDashboardScatterplot_import-local-1623093453","url":"/dashboard/bfm-yn2-y68/tf-testaccdatadogdashboardscatterplotimport-local-1623093453","created_at":"2021-06-07T19:17:48.614428+00:00","modified_at":"2021-06-07T19:17:48.614428+00:00","author_handle":"frog@datadoghq.com","widgets":[{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test Custom Link label"}],"title_size":"16","yaxis":{"include_zero":false,"scale":"log","min":"1","label":"mem (Gib)"},"title_align":"right","color_by_groups":["app"],"xaxis":{"include_zero":false,"max":"100","min":"0","scale":"log","label":"cpu (%)"},"time":{"live_span":"15m"},"title":"system.mem.used and system.cpu.user by service,team,app colored by app","requests":{"y":{"q":"avg:system.mem.used{env:prod} by {service, team, app}","aggregator":"avg"},"x":{"q":"avg:system.cpu.user{account:prod} by {service, team, app}","aggregator":"avg"}},"type":"scatterplot"},"id":7879867335288477}],"layout_type":"ordered"}' headers: Cache-Control: - no-cache @@ -70,7 +70,7 @@ interactions: Content-Type: - application/json Date: - - Fri, 12 Mar 2021 22:14:39 GMT + - Mon, 07 Jun 2021 19:18:19 GMT Pragma: - no-cache Strict-Transport-Security: @@ -80,9 +80,9 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Debug: - - JpIJLwIH2nFlZOC+u71rq7aAOL43MLZN3MUsL+gpYHdZz5QLUOG8Jysf8kVK6tPU + - L3ULR3HwCWYmEqCWGz2Yob3chcH4pjowBacBXkncP7o+/uPqKt9yGEYf/g1AJPzQ X-Dd-Version: - - "35.4088130" + - "35.4693436" X-Frame-Options: - SAMEORIGIN status: 200 OK @@ -97,11 +97,11 @@ interactions: Dd-Operation-Id: - GetDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 2.4.4; terraform-cli 0.14.7) datadog-api-client-go/1.0.0-beta.16 (go go1.15.3; os darwin; arch amd64) - url: https://api.datadoghq.com/api/v1/dashboard/r3d-h7p-dx3 + - terraform-provider-datadog/dev (terraform 2.6.1; terraform-cli 0.15.3) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) + url: https://api.datadoghq.com/api/v1/dashboard/bfm-yn2-y68 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":"r3d-h7p-dx3","title":"tf-TestAccDatadogDashboardScatterplot_import-local-1615587272","url":"/dashboard/r3d-h7p-dx3/tf-testaccdatadogdashboardscatterplotimport-local-1615587272","created_at":"2021-03-12T22:14:36.302186+00:00","modified_at":"2021-03-12T22:14:36.302186+00:00","author_handle":"frog@datadoghq.com","widgets":[{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test Custom Link label"}],"title_size":"16","yaxis":{"include_zero":false,"scale":"log","min":"1","label":"mem (Gib)"},"title_align":"right","color_by_groups":["app"],"xaxis":{"include_zero":false,"max":"100","min":"0","scale":"log","label":"cpu (%)"},"time":{"live_span":"15m"},"title":"system.mem.used and system.cpu.user by service,team,app colored by app","requests":{"y":{"q":"avg:system.mem.used{env:prod} by {service, team, app}","aggregator":"avg"},"x":{"q":"avg:system.cpu.user{account:prod} by {service, team, app}","aggregator":"avg"}},"type":"scatterplot"},"id":1335930968145344}],"layout_type":"ordered"}' + body: '{"notify_list":[],"description":"Created using the Datadog provider in Terraform","author_name":null,"template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"bfm-yn2-y68","title":"tf-TestAccDatadogDashboardScatterplot_import-local-1623093453","url":"/dashboard/bfm-yn2-y68/tf-testaccdatadogdashboardscatterplotimport-local-1623093453","created_at":"2021-06-07T19:17:48.614428+00:00","modified_at":"2021-06-07T19:17:48.614428+00:00","author_handle":"frog@datadoghq.com","widgets":[{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test Custom Link label"}],"title_size":"16","yaxis":{"include_zero":false,"scale":"log","min":"1","label":"mem (Gib)"},"title_align":"right","color_by_groups":["app"],"xaxis":{"include_zero":false,"max":"100","min":"0","scale":"log","label":"cpu (%)"},"time":{"live_span":"15m"},"title":"system.mem.used and system.cpu.user by service,team,app colored by app","requests":{"y":{"q":"avg:system.mem.used{env:prod} by {service, team, app}","aggregator":"avg"},"x":{"q":"avg:system.cpu.user{account:prod} by {service, team, app}","aggregator":"avg"}},"type":"scatterplot"},"id":7879867335288477}],"layout_type":"ordered"}' headers: Cache-Control: - no-cache @@ -112,7 +112,7 @@ interactions: Content-Type: - application/json Date: - - Fri, 12 Mar 2021 22:14:40 GMT + - Mon, 07 Jun 2021 19:18:28 GMT Pragma: - no-cache Strict-Transport-Security: @@ -122,9 +122,9 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Debug: - - Um4CoU685QqAscnxhS5BD+goWu2yX1Jd4zCfGzSsEvPPIm1qURZaF8dlLl/OEY4I + - dCmL/3rURV6BPeaqeP3Rxigq41m5CAb17XjrRE42uZ01zpr07HVhbL5/3TWMkvgu X-Dd-Version: - - "35.4088130" + - "35.4693436" X-Frame-Options: - SAMEORIGIN status: 200 OK @@ -139,11 +139,11 @@ interactions: Dd-Operation-Id: - GetDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 2.4.4; terraform-cli 0.14.7) datadog-api-client-go/1.0.0-beta.16 (go go1.15.3; os darwin; arch amd64) - url: https://api.datadoghq.com/api/v1/dashboard/r3d-h7p-dx3 + - terraform-provider-datadog/dev (terraform 2.6.1; terraform-cli 0.15.3) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) + url: https://api.datadoghq.com/api/v1/dashboard/bfm-yn2-y68 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":"r3d-h7p-dx3","title":"tf-TestAccDatadogDashboardScatterplot_import-local-1615587272","url":"/dashboard/r3d-h7p-dx3/tf-testaccdatadogdashboardscatterplotimport-local-1615587272","created_at":"2021-03-12T22:14:36.302186+00:00","modified_at":"2021-03-12T22:14:36.302186+00:00","author_handle":"frog@datadoghq.com","widgets":[{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test Custom Link label"}],"title_size":"16","yaxis":{"include_zero":false,"scale":"log","min":"1","label":"mem (Gib)"},"title_align":"right","color_by_groups":["app"],"xaxis":{"include_zero":false,"max":"100","min":"0","scale":"log","label":"cpu (%)"},"time":{"live_span":"15m"},"title":"system.mem.used and system.cpu.user by service,team,app colored by app","requests":{"y":{"q":"avg:system.mem.used{env:prod} by {service, team, app}","aggregator":"avg"},"x":{"q":"avg:system.cpu.user{account:prod} by {service, team, app}","aggregator":"avg"}},"type":"scatterplot"},"id":1335930968145344}],"layout_type":"ordered"}' + body: '{"notify_list":[],"description":"Created using the Datadog provider in Terraform","author_name":null,"template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"bfm-yn2-y68","title":"tf-TestAccDatadogDashboardScatterplot_import-local-1623093453","url":"/dashboard/bfm-yn2-y68/tf-testaccdatadogdashboardscatterplotimport-local-1623093453","created_at":"2021-06-07T19:17:48.614428+00:00","modified_at":"2021-06-07T19:17:48.614428+00:00","author_handle":"frog@datadoghq.com","widgets":[{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test Custom Link label"}],"title_size":"16","yaxis":{"include_zero":false,"scale":"log","min":"1","label":"mem (Gib)"},"title_align":"right","color_by_groups":["app"],"xaxis":{"include_zero":false,"max":"100","min":"0","scale":"log","label":"cpu (%)"},"time":{"live_span":"15m"},"title":"system.mem.used and system.cpu.user by service,team,app colored by app","requests":{"y":{"q":"avg:system.mem.used{env:prod} by {service, team, app}","aggregator":"avg"},"x":{"q":"avg:system.cpu.user{account:prod} by {service, team, app}","aggregator":"avg"}},"type":"scatterplot"},"id":7879867335288477}],"layout_type":"ordered"}' headers: Cache-Control: - no-cache @@ -154,7 +154,7 @@ interactions: Content-Type: - application/json Date: - - Fri, 12 Mar 2021 22:14:41 GMT + - Mon, 07 Jun 2021 19:18:42 GMT Pragma: - no-cache Strict-Transport-Security: @@ -164,9 +164,9 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Debug: - - HbtaOKlJ6OCrx9tMXO6ivMTrEM+g0c93HDp08trmOmgdHozC5J+vn10F0H4WPjCU + - tpRCH6w417YjBovRJ8VmtuXmNONVYiRp2c8d2AxjPdGBn8PCtgG4vAztrx3qUZAN X-Dd-Version: - - "35.4088130" + - "35.4693436" X-Frame-Options: - SAMEORIGIN status: 200 OK @@ -181,11 +181,11 @@ interactions: Dd-Operation-Id: - DeleteDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 2.4.4; terraform-cli 0.14.7) datadog-api-client-go/1.0.0-beta.16 (go go1.15.3; os darwin; arch amd64) - url: https://api.datadoghq.com/api/v1/dashboard/r3d-h7p-dx3 + - terraform-provider-datadog/dev (terraform 2.6.1; terraform-cli 0.15.3) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) + url: https://api.datadoghq.com/api/v1/dashboard/bfm-yn2-y68 method: DELETE response: - body: '{"deleted_dashboard_id":"r3d-h7p-dx3"}' + body: '{"deleted_dashboard_id":"bfm-yn2-y68"}' headers: Cache-Control: - no-cache @@ -196,7 +196,7 @@ interactions: Content-Type: - application/json Date: - - Fri, 12 Mar 2021 22:14:42 GMT + - Mon, 07 Jun 2021 19:18:47 GMT Pragma: - no-cache Strict-Transport-Security: @@ -206,9 +206,9 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Debug: - - PhosSd3Ch1B6B0DXI71steKUi7XhPDttnPiIP1NdXTw0VJNWpoUnYyBmODS5ne3q + - Um4CoU685QqAscnxhS5BD+goWu2yX1Jd4zCfGzSsEvPPIm1qURZaF8dlLl/OEY4I X-Dd-Version: - - "35.4088130" + - "35.4693436" X-Frame-Options: - SAMEORIGIN status: 200 OK @@ -223,11 +223,11 @@ interactions: Dd-Operation-Id: - GetDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 2.4.4; terraform-cli 0.14.7) datadog-api-client-go/1.0.0-beta.16 (go go1.15.3; os darwin; arch amd64) - url: https://api.datadoghq.com/api/v1/dashboard/r3d-h7p-dx3 + - terraform-provider-datadog/dev (terraform 2.6.1; terraform-cli 0.15.3) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) + url: https://api.datadoghq.com/api/v1/dashboard/bfm-yn2-y68 method: GET response: - body: '{"errors": ["Dashboard with ID r3d-h7p-dx3 not found"]}' + body: '{"errors": ["Dashboard with ID bfm-yn2-y68 not found"]}' headers: Cache-Control: - no-cache @@ -238,7 +238,7 @@ interactions: Content-Type: - application/json Date: - - Fri, 12 Mar 2021 22:14:42 GMT + - Mon, 07 Jun 2021 19:18:47 GMT Pragma: - no-cache Strict-Transport-Security: @@ -248,7 +248,7 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Version: - - "35.4088130" + - "35.4693436" X-Frame-Options: - SAMEORIGIN status: 404 Not Found diff --git a/datadog/tests/cassettes/TestAccDatadogDashboardServiceMap.freeze b/datadog/tests/cassettes/TestAccDatadogDashboardServiceMap.freeze index 2cbc8cf6a..c00c39fa3 100644 --- a/datadog/tests/cassettes/TestAccDatadogDashboardServiceMap.freeze +++ b/datadog/tests/cassettes/TestAccDatadogDashboardServiceMap.freeze @@ -1 +1 @@ -2021-05-19T19:44:34.041111-04:00 \ No newline at end of file +2021-06-07T15:19:48.273896-04:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogDashboardServiceMap.yaml b/datadog/tests/cassettes/TestAccDatadogDashboardServiceMap.yaml index b5f9e2653..4c5911fb4 100644 --- a/datadog/tests/cassettes/TestAccDatadogDashboardServiceMap.yaml +++ b/datadog/tests/cassettes/TestAccDatadogDashboardServiceMap.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":"free","notify_list":[],"template_variable_presets":[],"template_variables":[],"title":"tf-TestAccDatadogDashboardServiceMap-local-1621467874","widgets":[{"definition":{"custom_links":[{"label":"Test Custom Link label","link":"https://app.datadoghq.com/dashboard/lists"}],"filters":["env:prod","datacenter:us1.prod.dog"],"service":"master-db","title":"env: prod, datacenter:us1.prod.dog, service: master-db","title_align":"left","title_size":"16","type":"servicemap"},"layout":{"height":43,"is_column_break":false,"width":32,"x":5,"y":5}}]} + {"description":"Created using the Datadog provider in Terraform","id":"","is_read_only":true,"layout_type":"free","notify_list":[],"template_variable_presets":[],"template_variables":[],"title":"tf-TestAccDatadogDashboardServiceMap-local-1623093588","widgets":[{"definition":{"custom_links":[{"label":"Test Custom Link label","link":"https://app.datadoghq.com/dashboard/lists"},{"is_hidden":true,"link":"https://app.datadoghq.com/dashboard/lists","override_label":"logs"}],"filters":["env:prod","datacenter:us1.prod.dog"],"service":"master-db","title":"env: prod, datacenter:us1.prod.dog, service: master-db","title_align":"left","title_size":"16","type":"servicemap"},"layout":{"height":43,"is_column_break":false,"width":32,"x":5,"y":5}}]} form: {} headers: Accept: @@ -13,11 +13,11 @@ interactions: Dd-Operation-Id: - CreateDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 2.4.4; terraform-cli 0.14.7) datadog-api-client-go/1.0.0-beta.22 (go go1.15.11; os darwin; arch amd64) + - terraform-provider-datadog/dev (terraform 2.6.1; terraform-cli 0.15.3) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) 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":"gig-k48-fde","title":"tf-TestAccDatadogDashboardServiceMap-local-1621467874","url":"/dashboard/gig-k48-fde/tf-testaccdatadogdashboardservicemap-local-1621467874","created_at":"2021-05-19T23:44:35.404849+00:00","modified_at":"2021-05-19T23:44:35.404849+00:00","author_handle":"frog@datadoghq.com","widgets":[{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test Custom Link label"}],"title_size":"16","service":"master-db","title":"env: prod, datacenter:us1.prod.dog, service: master-db","title_align":"left","filters":["env:prod","datacenter:us1.prod.dog"],"type":"servicemap"},"layout":{"y":5,"width":32,"is_column_break":false,"x":5,"height":43},"id":176557003357431}],"layout_type":"free"}' + body: '{"notify_list":[],"description":"Created using the Datadog provider in Terraform","author_name":null,"template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"pfd-jf5-qzi","title":"tf-TestAccDatadogDashboardServiceMap-local-1623093588","url":"/dashboard/pfd-jf5-qzi/tf-testaccdatadogdashboardservicemap-local-1623093588","created_at":"2021-06-07T19:20:04.619244+00:00","modified_at":"2021-06-07T19:20:04.619244+00:00","author_handle":"frog@datadoghq.com","widgets":[{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test Custom Link label"},{"override_label":"logs","is_hidden":true,"link":"https://app.datadoghq.com/dashboard/lists"}],"title_size":"16","service":"master-db","title":"env: prod, datacenter:us1.prod.dog, service: master-db","title_align":"left","filters":["env:prod","datacenter:us1.prod.dog"],"type":"servicemap"},"layout":{"y":5,"width":32,"is_column_break":false,"x":5,"height":43},"id":8699224010426462}],"layout_type":"free"}' headers: Cache-Control: - no-cache @@ -28,7 +28,7 @@ interactions: Content-Type: - application/json Date: - - Wed, 19 May 2021 23:44:38 GMT + - Mon, 07 Jun 2021 19:20:05 GMT Pragma: - no-cache Strict-Transport-Security: @@ -38,9 +38,9 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Debug: - - l8RQo2maZqJf6GFThBbKNE6dvthz6njusVtau3dPXJWL2RLFoN81H+BLPB/1xgs1 + - dCmL/3rURV6BPeaqeP3Rxigq41m5CAb17XjrRE42uZ01zpr07HVhbL5/3TWMkvgu X-Dd-Version: - - "35.4569410" + - "35.4693436" X-Frame-Options: - SAMEORIGIN status: 200 OK @@ -55,11 +55,11 @@ interactions: Dd-Operation-Id: - GetDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 2.4.4; terraform-cli 0.14.7) datadog-api-client-go/1.0.0-beta.22 (go go1.15.11; os darwin; arch amd64) - url: https://api.datadoghq.com/api/v1/dashboard/gig-k48-fde + - terraform-provider-datadog/dev (terraform 2.6.1; terraform-cli 0.15.3) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) + url: https://api.datadoghq.com/api/v1/dashboard/pfd-jf5-qzi 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":"gig-k48-fde","title":"tf-TestAccDatadogDashboardServiceMap-local-1621467874","url":"/dashboard/gig-k48-fde/tf-testaccdatadogdashboardservicemap-local-1621467874","created_at":"2021-05-19T23:44:35.404849+00:00","modified_at":"2021-05-19T23:44:35.404849+00:00","author_handle":"frog@datadoghq.com","widgets":[{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test Custom Link label"}],"title_size":"16","service":"master-db","title":"env: prod, datacenter:us1.prod.dog, service: master-db","title_align":"left","filters":["env:prod","datacenter:us1.prod.dog"],"type":"servicemap"},"layout":{"y":5,"width":32,"is_column_break":false,"x":5,"height":43},"id":176557003357431}],"layout_type":"free"}' + body: '{"notify_list":[],"description":"Created using the Datadog provider in Terraform","author_name":null,"template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"pfd-jf5-qzi","title":"tf-TestAccDatadogDashboardServiceMap-local-1623093588","url":"/dashboard/pfd-jf5-qzi/tf-testaccdatadogdashboardservicemap-local-1623093588","created_at":"2021-06-07T19:20:04.619244+00:00","modified_at":"2021-06-07T19:20:04.619244+00:00","author_handle":"frog@datadoghq.com","widgets":[{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test Custom Link label"},{"override_label":"logs","is_hidden":true,"link":"https://app.datadoghq.com/dashboard/lists"}],"title_size":"16","service":"master-db","title":"env: prod, datacenter:us1.prod.dog, service: master-db","title_align":"left","filters":["env:prod","datacenter:us1.prod.dog"],"type":"servicemap"},"layout":{"y":5,"width":32,"is_column_break":false,"x":5,"height":43},"id":8699224010426462}],"layout_type":"free"}' headers: Cache-Control: - no-cache @@ -70,7 +70,7 @@ interactions: Content-Type: - application/json Date: - - Wed, 19 May 2021 23:44:38 GMT + - Mon, 07 Jun 2021 19:20:05 GMT Pragma: - no-cache Strict-Transport-Security: @@ -80,9 +80,9 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Debug: - - SY1h8ScsWq+kYmtbh63ltMLFAZsQjqfrgvdfAoRX+9TzT1sgMBRYaFRwfWWRRe9a + - l4HFlaRP3QwYSqoGKhzbYfv7zgkK63HIRR7YkyVYZspq0lGjjTBwoK8V/alf+XYt X-Dd-Version: - - "35.4569410" + - "35.4693436" X-Frame-Options: - SAMEORIGIN status: 200 OK @@ -97,11 +97,11 @@ interactions: Dd-Operation-Id: - GetDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 2.4.4; terraform-cli 0.14.7) datadog-api-client-go/1.0.0-beta.22 (go go1.15.11; os darwin; arch amd64) - url: https://api.datadoghq.com/api/v1/dashboard/gig-k48-fde + - terraform-provider-datadog/dev (terraform 2.6.1; terraform-cli 0.15.3) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) + url: https://api.datadoghq.com/api/v1/dashboard/pfd-jf5-qzi 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":"gig-k48-fde","title":"tf-TestAccDatadogDashboardServiceMap-local-1621467874","url":"/dashboard/gig-k48-fde/tf-testaccdatadogdashboardservicemap-local-1621467874","created_at":"2021-05-19T23:44:35.404849+00:00","modified_at":"2021-05-19T23:44:35.404849+00:00","author_handle":"frog@datadoghq.com","widgets":[{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test Custom Link label"}],"title_size":"16","service":"master-db","title":"env: prod, datacenter:us1.prod.dog, service: master-db","title_align":"left","filters":["env:prod","datacenter:us1.prod.dog"],"type":"servicemap"},"layout":{"y":5,"width":32,"is_column_break":false,"x":5,"height":43},"id":176557003357431}],"layout_type":"free"}' + body: '{"notify_list":[],"description":"Created using the Datadog provider in Terraform","author_name":null,"template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"pfd-jf5-qzi","title":"tf-TestAccDatadogDashboardServiceMap-local-1623093588","url":"/dashboard/pfd-jf5-qzi/tf-testaccdatadogdashboardservicemap-local-1623093588","created_at":"2021-06-07T19:20:04.619244+00:00","modified_at":"2021-06-07T19:20:04.619244+00:00","author_handle":"frog@datadoghq.com","widgets":[{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test Custom Link label"},{"override_label":"logs","is_hidden":true,"link":"https://app.datadoghq.com/dashboard/lists"}],"title_size":"16","service":"master-db","title":"env: prod, datacenter:us1.prod.dog, service: master-db","title_align":"left","filters":["env:prod","datacenter:us1.prod.dog"],"type":"servicemap"},"layout":{"y":5,"width":32,"is_column_break":false,"x":5,"height":43},"id":8699224010426462}],"layout_type":"free"}' headers: Cache-Control: - no-cache @@ -112,7 +112,7 @@ interactions: Content-Type: - application/json Date: - - Wed, 19 May 2021 23:44:38 GMT + - Mon, 07 Jun 2021 19:20:07 GMT Pragma: - no-cache Strict-Transport-Security: @@ -122,9 +122,9 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Debug: - - Um4CoU685QqAscnxhS5BD+goWu2yX1Jd4zCfGzSsEvPPIm1qURZaF8dlLl/OEY4I + - B1nwy/pPNqX+q4pQT22cdp1QCexE35IF8qwSHy0Nf7IW0Y881qtn4tXN1lpmzaKc X-Dd-Version: - - "35.4569410" + - "35.4693436" X-Frame-Options: - SAMEORIGIN status: 200 OK @@ -139,11 +139,11 @@ interactions: Dd-Operation-Id: - GetDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 2.4.4; terraform-cli 0.14.7) datadog-api-client-go/1.0.0-beta.22 (go go1.15.11; os darwin; arch amd64) - url: https://api.datadoghq.com/api/v1/dashboard/gig-k48-fde + - terraform-provider-datadog/dev (terraform 2.6.1; terraform-cli 0.15.3) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) + url: https://api.datadoghq.com/api/v1/dashboard/pfd-jf5-qzi 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":"gig-k48-fde","title":"tf-TestAccDatadogDashboardServiceMap-local-1621467874","url":"/dashboard/gig-k48-fde/tf-testaccdatadogdashboardservicemap-local-1621467874","created_at":"2021-05-19T23:44:35.404849+00:00","modified_at":"2021-05-19T23:44:35.404849+00:00","author_handle":"frog@datadoghq.com","widgets":[{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test Custom Link label"}],"title_size":"16","service":"master-db","title":"env: prod, datacenter:us1.prod.dog, service: master-db","title_align":"left","filters":["env:prod","datacenter:us1.prod.dog"],"type":"servicemap"},"layout":{"y":5,"width":32,"is_column_break":false,"x":5,"height":43},"id":176557003357431}],"layout_type":"free"}' + body: '{"notify_list":[],"description":"Created using the Datadog provider in Terraform","author_name":null,"template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"pfd-jf5-qzi","title":"tf-TestAccDatadogDashboardServiceMap-local-1623093588","url":"/dashboard/pfd-jf5-qzi/tf-testaccdatadogdashboardservicemap-local-1623093588","created_at":"2021-06-07T19:20:04.619244+00:00","modified_at":"2021-06-07T19:20:04.619244+00:00","author_handle":"frog@datadoghq.com","widgets":[{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test Custom Link label"},{"override_label":"logs","is_hidden":true,"link":"https://app.datadoghq.com/dashboard/lists"}],"title_size":"16","service":"master-db","title":"env: prod, datacenter:us1.prod.dog, service: master-db","title_align":"left","filters":["env:prod","datacenter:us1.prod.dog"],"type":"servicemap"},"layout":{"y":5,"width":32,"is_column_break":false,"x":5,"height":43},"id":8699224010426462}],"layout_type":"free"}' headers: Cache-Control: - no-cache @@ -154,7 +154,7 @@ interactions: Content-Type: - application/json Date: - - Wed, 19 May 2021 23:44:39 GMT + - Mon, 07 Jun 2021 19:20:16 GMT Pragma: - no-cache Strict-Transport-Security: @@ -164,9 +164,9 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Debug: - - gYZcaADwbKcv7Hm19HJx6WsLoKuOijDWAt2viPeCfWqUgyKY+9e1xZdmMJeXV3YV + - dCmL/3rURV6BPeaqeP3Rxigq41m5CAb17XjrRE42uZ01zpr07HVhbL5/3TWMkvgu X-Dd-Version: - - "35.4569410" + - "35.4693436" X-Frame-Options: - SAMEORIGIN status: 200 OK @@ -181,11 +181,11 @@ interactions: Dd-Operation-Id: - DeleteDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 2.4.4; terraform-cli 0.14.7) datadog-api-client-go/1.0.0-beta.22 (go go1.15.11; os darwin; arch amd64) - url: https://api.datadoghq.com/api/v1/dashboard/gig-k48-fde + - terraform-provider-datadog/dev (terraform 2.6.1; terraform-cli 0.15.3) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) + url: https://api.datadoghq.com/api/v1/dashboard/pfd-jf5-qzi method: DELETE response: - body: '{"deleted_dashboard_id":"gig-k48-fde"}' + body: '{"deleted_dashboard_id":"pfd-jf5-qzi"}' headers: Cache-Control: - no-cache @@ -196,7 +196,7 @@ interactions: Content-Type: - application/json Date: - - Wed, 19 May 2021 23:44:40 GMT + - Mon, 07 Jun 2021 19:20:33 GMT Pragma: - no-cache Strict-Transport-Security: @@ -206,9 +206,9 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Debug: - - fIO2C4qGDheGHy4YbS+r3a3CXbh4cbRo7roILOimQyiHGjQdOat0cIpWCkupM1uX + - tpRCH6w417YjBovRJ8VmtuXmNONVYiRp2c8d2AxjPdGBn8PCtgG4vAztrx3qUZAN X-Dd-Version: - - "35.4569410" + - "35.4693436" X-Frame-Options: - SAMEORIGIN status: 200 OK @@ -223,11 +223,11 @@ interactions: Dd-Operation-Id: - GetDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 2.4.4; terraform-cli 0.14.7) datadog-api-client-go/1.0.0-beta.22 (go go1.15.11; os darwin; arch amd64) - url: https://api.datadoghq.com/api/v1/dashboard/gig-k48-fde + - terraform-provider-datadog/dev (terraform 2.6.1; terraform-cli 0.15.3) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) + url: https://api.datadoghq.com/api/v1/dashboard/pfd-jf5-qzi method: GET response: - body: '{"errors": ["Dashboard with ID gig-k48-fde not found"]}' + body: '{"errors": ["Dashboard with ID pfd-jf5-qzi not found"]}' headers: Cache-Control: - no-cache @@ -238,7 +238,7 @@ interactions: Content-Type: - application/json Date: - - Wed, 19 May 2021 23:44:40 GMT + - Mon, 07 Jun 2021 19:20:33 GMT Pragma: - no-cache Strict-Transport-Security: @@ -248,7 +248,7 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Version: - - "35.4569410" + - "35.4693436" X-Frame-Options: - SAMEORIGIN status: 404 Not Found diff --git a/datadog/tests/cassettes/TestAccDatadogDashboardServiceMap_import.freeze b/datadog/tests/cassettes/TestAccDatadogDashboardServiceMap_import.freeze index f7bf0d095..0ac19c4a3 100644 --- a/datadog/tests/cassettes/TestAccDatadogDashboardServiceMap_import.freeze +++ b/datadog/tests/cassettes/TestAccDatadogDashboardServiceMap_import.freeze @@ -1 +1 @@ -2021-05-19T19:45:29.636528-04:00 \ No newline at end of file +2021-06-07T15:19:48.277937-04:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogDashboardServiceMap_import.yaml b/datadog/tests/cassettes/TestAccDatadogDashboardServiceMap_import.yaml index 134eae2c6..eb7df2ad2 100644 --- a/datadog/tests/cassettes/TestAccDatadogDashboardServiceMap_import.yaml +++ b/datadog/tests/cassettes/TestAccDatadogDashboardServiceMap_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":"free","notify_list":[],"template_variable_presets":[],"template_variables":[],"title":"tf-TestAccDatadogDashboardServiceMap_import-local-1621467929","widgets":[{"definition":{"custom_links":[{"label":"Test Custom Link label","link":"https://app.datadoghq.com/dashboard/lists"}],"filters":["env:prod","datacenter:us1.prod.dog"],"service":"master-db","title":"env: prod, datacenter:us1.prod.dog, service: master-db","title_align":"left","title_size":"16","type":"servicemap"},"layout":{"height":43,"is_column_break":false,"width":32,"x":5,"y":5}}]} + {"description":"Created using the Datadog provider in Terraform","id":"","is_read_only":true,"layout_type":"free","notify_list":[],"template_variable_presets":[],"template_variables":[],"title":"tf-TestAccDatadogDashboardServiceMap_import-local-1623093588","widgets":[{"definition":{"custom_links":[{"label":"Test Custom Link label","link":"https://app.datadoghq.com/dashboard/lists"},{"is_hidden":true,"link":"https://app.datadoghq.com/dashboard/lists","override_label":"logs"}],"filters":["env:prod","datacenter:us1.prod.dog"],"service":"master-db","title":"env: prod, datacenter:us1.prod.dog, service: master-db","title_align":"left","title_size":"16","type":"servicemap"},"layout":{"height":43,"is_column_break":false,"width":32,"x":5,"y":5}}]} form: {} headers: Accept: @@ -13,11 +13,11 @@ interactions: Dd-Operation-Id: - CreateDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 2.4.4; terraform-cli 0.14.7) datadog-api-client-go/1.0.0-beta.22 (go go1.15.11; os darwin; arch amd64) + - terraform-provider-datadog/dev (terraform 2.6.1; terraform-cli 0.15.3) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) 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":"mqv-2ic-cbm","title":"tf-TestAccDatadogDashboardServiceMap_import-local-1621467929","url":"/dashboard/mqv-2ic-cbm/tf-testaccdatadogdashboardservicemapimport-local-1621467929","created_at":"2021-05-19T23:45:31.005808+00:00","modified_at":"2021-05-19T23:45:31.005808+00:00","author_handle":"frog@datadoghq.com","widgets":[{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test Custom Link label"}],"title_size":"16","service":"master-db","title":"env: prod, datacenter:us1.prod.dog, service: master-db","title_align":"left","filters":["env:prod","datacenter:us1.prod.dog"],"type":"servicemap"},"layout":{"y":5,"width":32,"is_column_break":false,"x":5,"height":43},"id":6521775422701413}],"layout_type":"free"}' + body: '{"notify_list":[],"description":"Created using the Datadog provider in Terraform","author_name":null,"template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"i6s-jfx-igt","title":"tf-TestAccDatadogDashboardServiceMap_import-local-1623093588","url":"/dashboard/i6s-jfx-igt/tf-testaccdatadogdashboardservicemapimport-local-1623093588","created_at":"2021-06-07T19:20:04.617489+00:00","modified_at":"2021-06-07T19:20:04.617489+00:00","author_handle":"frog@datadoghq.com","widgets":[{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test Custom Link label"},{"override_label":"logs","is_hidden":true,"link":"https://app.datadoghq.com/dashboard/lists"}],"title_size":"16","service":"master-db","title":"env: prod, datacenter:us1.prod.dog, service: master-db","title_align":"left","filters":["env:prod","datacenter:us1.prod.dog"],"type":"servicemap"},"layout":{"y":5,"width":32,"is_column_break":false,"x":5,"height":43},"id":8731554746901751}],"layout_type":"free"}' headers: Cache-Control: - no-cache @@ -28,7 +28,7 @@ interactions: Content-Type: - application/json Date: - - Wed, 19 May 2021 23:45:32 GMT + - Mon, 07 Jun 2021 19:20:05 GMT Pragma: - no-cache Strict-Transport-Security: @@ -38,9 +38,9 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Debug: - - /L+SFFO+m1pPY+hRCpk5325fvfrNl0KmiquUNJolBN/5hu3HIwflqjZSbJ6NxDFG + - 5gfwVh/5HZ+AnGd/Di93w3NEWC6KMHT9KzmHEiRJmNdOjBtAsbOcgVFyqEChw71h X-Dd-Version: - - "35.4569410" + - "35.4693436" X-Frame-Options: - SAMEORIGIN status: 200 OK @@ -55,11 +55,11 @@ interactions: Dd-Operation-Id: - GetDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 2.4.4; terraform-cli 0.14.7) datadog-api-client-go/1.0.0-beta.22 (go go1.15.11; os darwin; arch amd64) - url: https://api.datadoghq.com/api/v1/dashboard/mqv-2ic-cbm + - terraform-provider-datadog/dev (terraform 2.6.1; terraform-cli 0.15.3) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) + url: https://api.datadoghq.com/api/v1/dashboard/i6s-jfx-igt 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":"mqv-2ic-cbm","title":"tf-TestAccDatadogDashboardServiceMap_import-local-1621467929","url":"/dashboard/mqv-2ic-cbm/tf-testaccdatadogdashboardservicemapimport-local-1621467929","created_at":"2021-05-19T23:45:31.005808+00:00","modified_at":"2021-05-19T23:45:31.005808+00:00","author_handle":"frog@datadoghq.com","widgets":[{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test Custom Link label"}],"title_size":"16","service":"master-db","title":"env: prod, datacenter:us1.prod.dog, service: master-db","title_align":"left","filters":["env:prod","datacenter:us1.prod.dog"],"type":"servicemap"},"layout":{"y":5,"width":32,"is_column_break":false,"x":5,"height":43},"id":6521775422701413}],"layout_type":"free"}' + body: '{"notify_list":[],"description":"Created using the Datadog provider in Terraform","author_name":null,"template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"i6s-jfx-igt","title":"tf-TestAccDatadogDashboardServiceMap_import-local-1623093588","url":"/dashboard/i6s-jfx-igt/tf-testaccdatadogdashboardservicemapimport-local-1623093588","created_at":"2021-06-07T19:20:04.617489+00:00","modified_at":"2021-06-07T19:20:04.617489+00:00","author_handle":"frog@datadoghq.com","widgets":[{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test Custom Link label"},{"override_label":"logs","is_hidden":true,"link":"https://app.datadoghq.com/dashboard/lists"}],"title_size":"16","service":"master-db","title":"env: prod, datacenter:us1.prod.dog, service: master-db","title_align":"left","filters":["env:prod","datacenter:us1.prod.dog"],"type":"servicemap"},"layout":{"y":5,"width":32,"is_column_break":false,"x":5,"height":43},"id":8731554746901751}],"layout_type":"free"}' headers: Cache-Control: - no-cache @@ -70,7 +70,7 @@ interactions: Content-Type: - application/json Date: - - Wed, 19 May 2021 23:45:32 GMT + - Mon, 07 Jun 2021 19:20:05 GMT Pragma: - no-cache Strict-Transport-Security: @@ -80,9 +80,9 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Debug: - - nLnnBNvlCFDECRnZvzDb0z4sAO35G+IMidcAs8vrCKyjvsKWE8Yd9S3n6OjZ1qRN + - l4HFlaRP3QwYSqoGKhzbYfv7zgkK63HIRR7YkyVYZspq0lGjjTBwoK8V/alf+XYt X-Dd-Version: - - "35.4569410" + - "35.4693436" X-Frame-Options: - SAMEORIGIN status: 200 OK @@ -97,11 +97,11 @@ interactions: Dd-Operation-Id: - GetDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 2.4.4; terraform-cli 0.14.7) datadog-api-client-go/1.0.0-beta.22 (go go1.15.11; os darwin; arch amd64) - url: https://api.datadoghq.com/api/v1/dashboard/mqv-2ic-cbm + - terraform-provider-datadog/dev (terraform 2.6.1; terraform-cli 0.15.3) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) + url: https://api.datadoghq.com/api/v1/dashboard/i6s-jfx-igt 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":"mqv-2ic-cbm","title":"tf-TestAccDatadogDashboardServiceMap_import-local-1621467929","url":"/dashboard/mqv-2ic-cbm/tf-testaccdatadogdashboardservicemapimport-local-1621467929","created_at":"2021-05-19T23:45:31.005808+00:00","modified_at":"2021-05-19T23:45:31.005808+00:00","author_handle":"frog@datadoghq.com","widgets":[{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test Custom Link label"}],"title_size":"16","service":"master-db","title":"env: prod, datacenter:us1.prod.dog, service: master-db","title_align":"left","filters":["env:prod","datacenter:us1.prod.dog"],"type":"servicemap"},"layout":{"y":5,"width":32,"is_column_break":false,"x":5,"height":43},"id":6521775422701413}],"layout_type":"free"}' + body: '{"notify_list":[],"description":"Created using the Datadog provider in Terraform","author_name":null,"template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"i6s-jfx-igt","title":"tf-TestAccDatadogDashboardServiceMap_import-local-1623093588","url":"/dashboard/i6s-jfx-igt/tf-testaccdatadogdashboardservicemapimport-local-1623093588","created_at":"2021-06-07T19:20:04.617489+00:00","modified_at":"2021-06-07T19:20:04.617489+00:00","author_handle":"frog@datadoghq.com","widgets":[{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test Custom Link label"},{"override_label":"logs","is_hidden":true,"link":"https://app.datadoghq.com/dashboard/lists"}],"title_size":"16","service":"master-db","title":"env: prod, datacenter:us1.prod.dog, service: master-db","title_align":"left","filters":["env:prod","datacenter:us1.prod.dog"],"type":"servicemap"},"layout":{"y":5,"width":32,"is_column_break":false,"x":5,"height":43},"id":8731554746901751}],"layout_type":"free"}' headers: Cache-Control: - no-cache @@ -112,7 +112,7 @@ interactions: Content-Type: - application/json Date: - - Wed, 19 May 2021 23:45:33 GMT + - Mon, 07 Jun 2021 19:20:15 GMT Pragma: - no-cache Strict-Transport-Security: @@ -122,9 +122,9 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Debug: - - mNzaoDhdDKO7t4QSrAe5X7pHd0bJND187D+vRbwoluXouE2m1UaQQX0RGCvRpLVE + - Um4CoU685QqAscnxhS5BD+goWu2yX1Jd4zCfGzSsEvPPIm1qURZaF8dlLl/OEY4I X-Dd-Version: - - "35.4569410" + - "35.4693436" X-Frame-Options: - SAMEORIGIN status: 200 OK @@ -139,11 +139,11 @@ interactions: Dd-Operation-Id: - GetDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 2.4.4; terraform-cli 0.14.7) datadog-api-client-go/1.0.0-beta.22 (go go1.15.11; os darwin; arch amd64) - url: https://api.datadoghq.com/api/v1/dashboard/mqv-2ic-cbm + - terraform-provider-datadog/dev (terraform 2.6.1; terraform-cli 0.15.3) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) + url: https://api.datadoghq.com/api/v1/dashboard/i6s-jfx-igt 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":"mqv-2ic-cbm","title":"tf-TestAccDatadogDashboardServiceMap_import-local-1621467929","url":"/dashboard/mqv-2ic-cbm/tf-testaccdatadogdashboardservicemapimport-local-1621467929","created_at":"2021-05-19T23:45:31.005808+00:00","modified_at":"2021-05-19T23:45:31.005808+00:00","author_handle":"frog@datadoghq.com","widgets":[{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test Custom Link label"}],"title_size":"16","service":"master-db","title":"env: prod, datacenter:us1.prod.dog, service: master-db","title_align":"left","filters":["env:prod","datacenter:us1.prod.dog"],"type":"servicemap"},"layout":{"y":5,"width":32,"is_column_break":false,"x":5,"height":43},"id":6521775422701413}],"layout_type":"free"}' + body: '{"notify_list":[],"description":"Created using the Datadog provider in Terraform","author_name":null,"template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"i6s-jfx-igt","title":"tf-TestAccDatadogDashboardServiceMap_import-local-1623093588","url":"/dashboard/i6s-jfx-igt/tf-testaccdatadogdashboardservicemapimport-local-1623093588","created_at":"2021-06-07T19:20:04.617489+00:00","modified_at":"2021-06-07T19:20:04.617489+00:00","author_handle":"frog@datadoghq.com","widgets":[{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test Custom Link label"},{"override_label":"logs","is_hidden":true,"link":"https://app.datadoghq.com/dashboard/lists"}],"title_size":"16","service":"master-db","title":"env: prod, datacenter:us1.prod.dog, service: master-db","title_align":"left","filters":["env:prod","datacenter:us1.prod.dog"],"type":"servicemap"},"layout":{"y":5,"width":32,"is_column_break":false,"x":5,"height":43},"id":8731554746901751}],"layout_type":"free"}' headers: Cache-Control: - no-cache @@ -154,7 +154,7 @@ interactions: Content-Type: - application/json Date: - - Wed, 19 May 2021 23:45:34 GMT + - Mon, 07 Jun 2021 19:20:36 GMT Pragma: - no-cache Strict-Transport-Security: @@ -164,9 +164,9 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Debug: - - S1wfaMZOKGT/IoMw6fqAwAwGWo2vQ44sjF3YzuETnQfxZO2T5eJbs0aX3UKb9Dwu + - l4HFlaRP3QwYSqoGKhzbYfv7zgkK63HIRR7YkyVYZspq0lGjjTBwoK8V/alf+XYt X-Dd-Version: - - "35.4569410" + - "35.4693436" X-Frame-Options: - SAMEORIGIN status: 200 OK @@ -181,11 +181,11 @@ interactions: Dd-Operation-Id: - DeleteDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 2.4.4; terraform-cli 0.14.7) datadog-api-client-go/1.0.0-beta.22 (go go1.15.11; os darwin; arch amd64) - url: https://api.datadoghq.com/api/v1/dashboard/mqv-2ic-cbm + - terraform-provider-datadog/dev (terraform 2.6.1; terraform-cli 0.15.3) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) + url: https://api.datadoghq.com/api/v1/dashboard/i6s-jfx-igt method: DELETE response: - body: '{"deleted_dashboard_id":"mqv-2ic-cbm"}' + body: '{"deleted_dashboard_id":"i6s-jfx-igt"}' headers: Cache-Control: - no-cache @@ -196,7 +196,7 @@ interactions: Content-Type: - application/json Date: - - Wed, 19 May 2021 23:45:35 GMT + - Mon, 07 Jun 2021 19:20:41 GMT Pragma: - no-cache Strict-Transport-Security: @@ -206,9 +206,9 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Debug: - - L3ULR3HwCWYmEqCWGz2Yob3chcH4pjowBacBXkncP7o+/uPqKt9yGEYf/g1AJPzQ + - 25u1gDlL724DHllbjFT4BhOLorBTilh+aah2uWAUEjFC/+rjczJdiyWrV/HwLwe/ X-Dd-Version: - - "35.4569410" + - "35.4693436" X-Frame-Options: - SAMEORIGIN status: 200 OK @@ -223,11 +223,11 @@ interactions: Dd-Operation-Id: - GetDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 2.4.4; terraform-cli 0.14.7) datadog-api-client-go/1.0.0-beta.22 (go go1.15.11; os darwin; arch amd64) - url: https://api.datadoghq.com/api/v1/dashboard/mqv-2ic-cbm + - terraform-provider-datadog/dev (terraform 2.6.1; terraform-cli 0.15.3) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) + url: https://api.datadoghq.com/api/v1/dashboard/i6s-jfx-igt method: GET response: - body: '{"errors": ["Dashboard with ID mqv-2ic-cbm not found"]}' + body: '{"errors": ["Dashboard with ID i6s-jfx-igt not found"]}' headers: Cache-Control: - no-cache @@ -238,7 +238,7 @@ interactions: Content-Type: - application/json Date: - - Wed, 19 May 2021 23:45:35 GMT + - Mon, 07 Jun 2021 19:20:41 GMT Pragma: - no-cache Strict-Transport-Security: @@ -248,7 +248,7 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Version: - - "35.4569410" + - "35.4693436" X-Frame-Options: - SAMEORIGIN status: 404 Not Found diff --git a/datadog/tests/cassettes/TestAccDatadogDashboardTimeseries.freeze b/datadog/tests/cassettes/TestAccDatadogDashboardTimeseries.freeze index 2d64ca865..07f67053f 100644 --- a/datadog/tests/cassettes/TestAccDatadogDashboardTimeseries.freeze +++ b/datadog/tests/cassettes/TestAccDatadogDashboardTimeseries.freeze @@ -1 +1 @@ -2021-04-20T10:47:47.078585-04:00 \ No newline at end of file +2021-06-07T15:23:28.12816-04:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogDashboardTimeseries.yaml b/datadog/tests/cassettes/TestAccDatadogDashboardTimeseries.yaml index 678df9652..5da8cd755 100644 --- a/datadog/tests/cassettes/TestAccDatadogDashboardTimeseries.yaml +++ b/datadog/tests/cassettes/TestAccDatadogDashboardTimeseries.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-TestAccDatadogDashboardTimeseries-local-1618930067","widgets":[{"definition":{"custom_links":[{"label":"Test Custom Link label","link":"https://app.datadoghq.com/dashboard/lists"}],"events":[{"q":"sources:test tags:1","tags_execution":"and"}],"legend_columns":["value","min","max"],"legend_layout":"horizontal","legend_size":"2","markers":[{"display_type":"error dashed","label":"y=500000","value":"y=500000"},{"display_type":"warning dashed","label":"y=400000","value":"y=400000"}],"requests":[{"display_type":"line","metadata":[{"expression":""}],"on_right_yaxis":true,"q":"avg:system.cpu.user{env:prod} by {app}","style":{"line_type":"solid","line_width":"thin","palette":"dog_classic"}},{"display_type":"line","log_query":{"compute":{"aggregation":"count"},"group_by":[{"facet":"service","limit":10,"sort":{"aggregation":"count","order":"desc"}}],"index":"*","search":{"query":""}},"on_right_yaxis":false,"style":{"line_type":"solid","line_width":"normal","palette":"cool"}},{"apm_query":{"compute":{"aggregation":"cardinality","facet":"env","interval":1000},"group_by":[{"facet":"status","limit":10,"sort":{"aggregation":"cardinality","facet":"env","order":"desc"}}],"index":"trace-search","search":{"query":""}},"display_type":"line","on_right_yaxis":true,"style":{"line_type":"dashed","line_width":"thick","palette":"warm"}},{"display_type":"line","on_right_yaxis":true,"process_query":{"filter_by":["account:prod"],"limit":10,"metric":"process.stat.cpu.total_pct"},"style":{"line_type":"solid","line_width":"normal","palette":"purple"}},{"display_type":"area","network_query":{"compute":{"aggregation":"sum","facet":"network.bytes_read"},"group_by":[{"facet":"source_region"},{"facet":"dest_environment"}],"index":"netflow-search","search":{"query":"network.transport:udp network.destination.ip:\"*\""}},"on_right_yaxis":true,"style":{"line_type":"solid","line_width":"normal","palette":"orange"}},{"display_type":"area","on_right_yaxis":true,"rum_query":{"compute":{"aggregation":"avg","facet":"@duration","interval":10},"group_by":[{"facet":"service","limit":10,"sort":{"aggregation":"avg","facet":"@duration","order":"desc"}}],"index":"*","search":{"query":""}},"style":{"line_type":"solid","line_width":"normal","palette":"grey"}}],"right_yaxis":{"include_zero":false,"max":"599998","min":"1"},"show_legend":true,"time":{"live_span":"5m"},"title":"system.cpu.user, env, process.stat.cpu.total_pct, network.bytes_read, @d...","title_align":"left","title_size":"16","type":"timeseries","yaxis":{"include_zero":true,"max":"599999","min":"0"}}}]} + {"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-TestAccDatadogDashboardTimeseries-local-1623093808","widgets":[{"definition":{"custom_links":[{"label":"Test Custom Link label","link":"https://app.datadoghq.com/dashboard/lists"},{"is_hidden":true,"link":"https://app.datadoghq.com/dashboard/lists","override_label":"logs"}],"events":[{"q":"sources:test tags:1","tags_execution":"and"}],"legend_columns":["value","min","max"],"legend_layout":"horizontal","legend_size":"2","markers":[{"display_type":"error dashed","label":"y=500000","value":"y=500000"},{"display_type":"warning dashed","label":"y=400000","value":"y=400000"}],"requests":[{"display_type":"line","metadata":[{"expression":""}],"on_right_yaxis":true,"q":"avg:system.cpu.user{env:prod} by {app}","style":{"line_type":"solid","line_width":"thin","palette":"dog_classic"}},{"display_type":"line","log_query":{"compute":{"aggregation":"count"},"group_by":[{"facet":"service","limit":10,"sort":{"aggregation":"count","order":"desc"}}],"index":"*","search":{"query":""}},"on_right_yaxis":false,"style":{"line_type":"solid","line_width":"normal","palette":"cool"}},{"apm_query":{"compute":{"aggregation":"cardinality","facet":"env","interval":1000},"group_by":[{"facet":"status","limit":10,"sort":{"aggregation":"cardinality","facet":"env","order":"desc"}}],"index":"trace-search","search":{"query":""}},"display_type":"line","on_right_yaxis":true,"style":{"line_type":"dashed","line_width":"thick","palette":"warm"}},{"display_type":"line","on_right_yaxis":true,"process_query":{"filter_by":["account:prod"],"limit":10,"metric":"process.stat.cpu.total_pct"},"style":{"line_type":"solid","line_width":"normal","palette":"purple"}},{"display_type":"area","network_query":{"compute":{"aggregation":"sum","facet":"network.bytes_read"},"group_by":[{"facet":"source_region"},{"facet":"dest_environment"}],"index":"netflow-search","search":{"query":"network.transport:udp network.destination.ip:\"*\""}},"on_right_yaxis":true,"style":{"line_type":"solid","line_width":"normal","palette":"orange"}},{"display_type":"area","on_right_yaxis":true,"rum_query":{"compute":{"aggregation":"avg","facet":"@duration","interval":10},"group_by":[{"facet":"service","limit":10,"sort":{"aggregation":"avg","facet":"@duration","order":"desc"}}],"index":"*","search":{"query":""}},"style":{"line_type":"solid","line_width":"normal","palette":"grey"}}],"right_yaxis":{"include_zero":false,"max":"599998","min":"1"},"show_legend":true,"time":{"live_span":"5m"},"title":"system.cpu.user, env, process.stat.cpu.total_pct, network.bytes_read, @d...","title_align":"left","title_size":"16","type":"timeseries","yaxis":{"include_zero":true,"max":"599999","min":"0"}}}]} form: {} headers: Accept: @@ -13,11 +13,11 @@ interactions: Dd-Operation-Id: - CreateDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 2.4.4; terraform-cli 0.14.7) datadog-api-client-go/1.0.0-beta.19 (go go1.16.3; os darwin; arch amd64) + - terraform-provider-datadog/dev (terraform 2.6.1; terraform-cli 0.15.3) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) 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":"7kv-ff8-pv5","title":"tf-TestAccDatadogDashboardTimeseries-local-1618930067","url":"/dashboard/7kv-ff8-pv5/tf-testaccdatadogdashboardtimeseries-local-1618930067","created_at":"2021-04-20T14:47:48.914572+00:00","modified_at":"2021-04-20T14:47:48.914572+00:00","author_handle":"frog@datadoghq.com","widgets":[{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test Custom Link label"}],"title_size":"16","legend_columns":["value","min","max"],"title":"system.cpu.user, env, process.stat.cpu.total_pct, network.bytes_read, @d...","title_align":"left","markers":[{"display_type":"error dashed","value":"y=500000","label":"y=500000"},{"display_type":"warning dashed","value":"y=400000","label":"y=400000"}],"yaxis":{"include_zero":true,"min":"0","max":"599999"},"legend_layout":"horizontal","show_legend":true,"right_yaxis":{"include_zero":false,"min":"1","max":"599998"},"time":{"live_span":"5m"},"legend_size":"2","requests":[{"q":"avg:system.cpu.user{env:prod} by {app}","on_right_yaxis":true,"style":{"line_width":"thin","palette":"dog_classic","line_type":"solid"},"display_type":"line","metadata":[{"expression":""}]},{"on_right_yaxis":false,"style":{"line_width":"normal","palette":"cool","line_type":"solid"},"display_type":"line","log_query":{"index":"*","search":{"query":""},"group_by":[{"facet":"service","sort":{"aggregation":"count","order":"desc"},"limit":10}],"compute":{"aggregation":"count"}}},{"on_right_yaxis":true,"style":{"line_width":"thick","palette":"warm","line_type":"dashed"},"apm_query":{"index":"trace-search","search":{"query":""},"group_by":[{"facet":"status","sort":{"facet":"env","aggregation":"cardinality","order":"desc"},"limit":10}],"compute":{"facet":"env","interval":1000,"aggregation":"cardinality"}},"display_type":"line"},{"on_right_yaxis":true,"style":{"line_width":"normal","palette":"purple","line_type":"solid"},"process_query":{"metric":"process.stat.cpu.total_pct","limit":10,"filter_by":["account:prod"]},"display_type":"line"},{"on_right_yaxis":true,"style":{"line_width":"normal","palette":"orange","line_type":"solid"},"display_type":"area","network_query":{"index":"netflow-search","search":{"query":"network.transport:udp network.destination.ip:\"*\""},"group_by":[{"facet":"source_region"},{"facet":"dest_environment"}],"compute":{"facet":"network.bytes_read","aggregation":"sum"}}},{"on_right_yaxis":true,"style":{"line_width":"normal","palette":"grey","line_type":"solid"},"rum_query":{"index":"*","search":{"query":""},"group_by":[{"facet":"service","sort":{"facet":"@duration","aggregation":"avg","order":"desc"},"limit":10}],"compute":{"facet":"@duration","interval":10,"aggregation":"avg"}},"display_type":"area"}],"type":"timeseries","events":[{"q":"sources:test tags:1","tags_execution":"and"}]},"id":7330818668776286}],"layout_type":"ordered"}' + body: '{"notify_list":[],"description":"Created using the Datadog provider in Terraform","author_name":null,"template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"xvy-t6u-fuk","title":"tf-TestAccDatadogDashboardTimeseries-local-1623093808","url":"/dashboard/xvy-t6u-fuk/tf-testaccdatadogdashboardtimeseries-local-1623093808","created_at":"2021-06-07T19:23:56.697995+00:00","modified_at":"2021-06-07T19:23:56.697995+00:00","author_handle":"frog@datadoghq.com","widgets":[{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test Custom Link label"},{"override_label":"logs","is_hidden":true,"link":"https://app.datadoghq.com/dashboard/lists"}],"title_size":"16","legend_columns":["value","min","max"],"title":"system.cpu.user, env, process.stat.cpu.total_pct, network.bytes_read, @d...","title_align":"left","markers":[{"display_type":"error dashed","value":"y=500000","label":"y=500000"},{"display_type":"warning dashed","value":"y=400000","label":"y=400000"}],"yaxis":{"include_zero":true,"min":"0","max":"599999"},"legend_layout":"horizontal","show_legend":true,"right_yaxis":{"include_zero":false,"min":"1","max":"599998"},"time":{"live_span":"5m"},"legend_size":"2","requests":[{"q":"avg:system.cpu.user{env:prod} by {app}","on_right_yaxis":true,"style":{"line_width":"thin","palette":"dog_classic","line_type":"solid"},"display_type":"line","metadata":[{"expression":""}]},{"on_right_yaxis":false,"style":{"line_width":"normal","palette":"cool","line_type":"solid"},"display_type":"line","log_query":{"index":"*","search":{"query":""},"group_by":[{"facet":"service","sort":{"aggregation":"count","order":"desc"},"limit":10}],"compute":{"aggregation":"count"}}},{"on_right_yaxis":true,"style":{"line_width":"thick","palette":"warm","line_type":"dashed"},"apm_query":{"index":"trace-search","search":{"query":""},"group_by":[{"facet":"status","sort":{"facet":"env","aggregation":"cardinality","order":"desc"},"limit":10}],"compute":{"facet":"env","interval":1000,"aggregation":"cardinality"}},"display_type":"line"},{"on_right_yaxis":true,"style":{"line_width":"normal","palette":"purple","line_type":"solid"},"process_query":{"metric":"process.stat.cpu.total_pct","limit":10,"filter_by":["account:prod"]},"display_type":"line"},{"on_right_yaxis":true,"style":{"line_width":"normal","palette":"orange","line_type":"solid"},"display_type":"area","network_query":{"index":"netflow-search","search":{"query":"network.transport:udp network.destination.ip:\"*\""},"group_by":[{"facet":"source_region"},{"facet":"dest_environment"}],"compute":{"facet":"network.bytes_read","aggregation":"sum"}}},{"on_right_yaxis":true,"style":{"line_width":"normal","palette":"grey","line_type":"solid"},"rum_query":{"index":"*","search":{"query":""},"group_by":[{"facet":"service","sort":{"facet":"@duration","aggregation":"avg","order":"desc"},"limit":10}],"compute":{"facet":"@duration","interval":10,"aggregation":"avg"}},"display_type":"area"}],"type":"timeseries","events":[{"q":"sources:test tags:1","tags_execution":"and"}]},"id":2808140227137116}],"layout_type":"ordered"}' headers: Cache-Control: - no-cache @@ -28,7 +28,7 @@ interactions: Content-Type: - application/json Date: - - Tue, 20 Apr 2021 14:47:52 GMT + - Mon, 07 Jun 2021 19:23:58 GMT Pragma: - no-cache Strict-Transport-Security: @@ -38,9 +38,9 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Debug: - - F5gm0Rce1/Abr9/0Fw8HAqWfiz0FdiH8er/AXnN6lOn3L6KyGgbsLCwgPlob1No8 + - PhosSd3Ch1B6B0DXI71steKUi7XhPDttnPiIP1NdXTw0VJNWpoUnYyBmODS5ne3q X-Dd-Version: - - "35.4351615" + - "35.4693436" X-Frame-Options: - SAMEORIGIN status: 200 OK @@ -55,11 +55,11 @@ interactions: Dd-Operation-Id: - GetDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 2.4.4; terraform-cli 0.14.7) datadog-api-client-go/1.0.0-beta.19 (go go1.16.3; os darwin; arch amd64) - url: https://api.datadoghq.com/api/v1/dashboard/7kv-ff8-pv5 + - terraform-provider-datadog/dev (terraform 2.6.1; terraform-cli 0.15.3) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) + url: https://api.datadoghq.com/api/v1/dashboard/xvy-t6u-fuk 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":"7kv-ff8-pv5","title":"tf-TestAccDatadogDashboardTimeseries-local-1618930067","url":"/dashboard/7kv-ff8-pv5/tf-testaccdatadogdashboardtimeseries-local-1618930067","created_at":"2021-04-20T14:47:48.914572+00:00","modified_at":"2021-04-20T14:47:48.914572+00:00","author_handle":"frog@datadoghq.com","widgets":[{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test Custom Link label"}],"title_size":"16","legend_columns":["value","min","max"],"title":"system.cpu.user, env, process.stat.cpu.total_pct, network.bytes_read, @d...","title_align":"left","markers":[{"display_type":"error dashed","value":"y=500000","label":"y=500000"},{"display_type":"warning dashed","value":"y=400000","label":"y=400000"}],"yaxis":{"include_zero":true,"min":"0","max":"599999"},"legend_layout":"horizontal","show_legend":true,"right_yaxis":{"include_zero":false,"min":"1","max":"599998"},"time":{"live_span":"5m"},"legend_size":"2","requests":[{"q":"avg:system.cpu.user{env:prod} by {app}","on_right_yaxis":true,"style":{"line_width":"thin","palette":"dog_classic","line_type":"solid"},"display_type":"line","metadata":[{"expression":""}]},{"on_right_yaxis":false,"style":{"line_width":"normal","palette":"cool","line_type":"solid"},"display_type":"line","log_query":{"index":"*","search":{"query":""},"group_by":[{"facet":"service","sort":{"aggregation":"count","order":"desc"},"limit":10}],"compute":{"aggregation":"count"}}},{"on_right_yaxis":true,"style":{"line_width":"thick","palette":"warm","line_type":"dashed"},"apm_query":{"index":"trace-search","search":{"query":""},"group_by":[{"facet":"status","sort":{"facet":"env","aggregation":"cardinality","order":"desc"},"limit":10}],"compute":{"facet":"env","interval":1000,"aggregation":"cardinality"}},"display_type":"line"},{"on_right_yaxis":true,"style":{"line_width":"normal","palette":"purple","line_type":"solid"},"process_query":{"metric":"process.stat.cpu.total_pct","limit":10,"filter_by":["account:prod"]},"display_type":"line"},{"on_right_yaxis":true,"style":{"line_width":"normal","palette":"orange","line_type":"solid"},"display_type":"area","network_query":{"index":"netflow-search","search":{"query":"network.transport:udp network.destination.ip:\"*\""},"group_by":[{"facet":"source_region"},{"facet":"dest_environment"}],"compute":{"facet":"network.bytes_read","aggregation":"sum"}}},{"on_right_yaxis":true,"style":{"line_width":"normal","palette":"grey","line_type":"solid"},"rum_query":{"index":"*","search":{"query":""},"group_by":[{"facet":"service","sort":{"facet":"@duration","aggregation":"avg","order":"desc"},"limit":10}],"compute":{"facet":"@duration","interval":10,"aggregation":"avg"}},"display_type":"area"}],"type":"timeseries","events":[{"q":"sources:test tags:1","tags_execution":"and"}]},"id":7330818668776286}],"layout_type":"ordered"}' + body: '{"notify_list":[],"description":"Created using the Datadog provider in Terraform","author_name":null,"template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"xvy-t6u-fuk","title":"tf-TestAccDatadogDashboardTimeseries-local-1623093808","url":"/dashboard/xvy-t6u-fuk/tf-testaccdatadogdashboardtimeseries-local-1623093808","created_at":"2021-06-07T19:23:56.697995+00:00","modified_at":"2021-06-07T19:23:56.697995+00:00","author_handle":"frog@datadoghq.com","widgets":[{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test Custom Link label"},{"override_label":"logs","is_hidden":true,"link":"https://app.datadoghq.com/dashboard/lists"}],"title_size":"16","legend_columns":["value","min","max"],"title":"system.cpu.user, env, process.stat.cpu.total_pct, network.bytes_read, @d...","title_align":"left","markers":[{"display_type":"error dashed","value":"y=500000","label":"y=500000"},{"display_type":"warning dashed","value":"y=400000","label":"y=400000"}],"yaxis":{"include_zero":true,"min":"0","max":"599999"},"legend_layout":"horizontal","show_legend":true,"right_yaxis":{"include_zero":false,"min":"1","max":"599998"},"time":{"live_span":"5m"},"legend_size":"2","requests":[{"q":"avg:system.cpu.user{env:prod} by {app}","on_right_yaxis":true,"style":{"line_width":"thin","palette":"dog_classic","line_type":"solid"},"display_type":"line","metadata":[{"expression":""}]},{"on_right_yaxis":false,"style":{"line_width":"normal","palette":"cool","line_type":"solid"},"display_type":"line","log_query":{"index":"*","search":{"query":""},"group_by":[{"facet":"service","sort":{"aggregation":"count","order":"desc"},"limit":10}],"compute":{"aggregation":"count"}}},{"on_right_yaxis":true,"style":{"line_width":"thick","palette":"warm","line_type":"dashed"},"apm_query":{"index":"trace-search","search":{"query":""},"group_by":[{"facet":"status","sort":{"facet":"env","aggregation":"cardinality","order":"desc"},"limit":10}],"compute":{"facet":"env","interval":1000,"aggregation":"cardinality"}},"display_type":"line"},{"on_right_yaxis":true,"style":{"line_width":"normal","palette":"purple","line_type":"solid"},"process_query":{"metric":"process.stat.cpu.total_pct","limit":10,"filter_by":["account:prod"]},"display_type":"line"},{"on_right_yaxis":true,"style":{"line_width":"normal","palette":"orange","line_type":"solid"},"display_type":"area","network_query":{"index":"netflow-search","search":{"query":"network.transport:udp network.destination.ip:\"*\""},"group_by":[{"facet":"source_region"},{"facet":"dest_environment"}],"compute":{"facet":"network.bytes_read","aggregation":"sum"}}},{"on_right_yaxis":true,"style":{"line_width":"normal","palette":"grey","line_type":"solid"},"rum_query":{"index":"*","search":{"query":""},"group_by":[{"facet":"service","sort":{"facet":"@duration","aggregation":"avg","order":"desc"},"limit":10}],"compute":{"facet":"@duration","interval":10,"aggregation":"avg"}},"display_type":"area"}],"type":"timeseries","events":[{"q":"sources:test tags:1","tags_execution":"and"}]},"id":2808140227137116}],"layout_type":"ordered"}' headers: Cache-Control: - no-cache @@ -70,7 +70,7 @@ interactions: Content-Type: - application/json Date: - - Tue, 20 Apr 2021 14:47:52 GMT + - Mon, 07 Jun 2021 19:23:58 GMT Pragma: - no-cache Strict-Transport-Security: @@ -82,7 +82,7 @@ interactions: X-Dd-Debug: - 5gfwVh/5HZ+AnGd/Di93w3NEWC6KMHT9KzmHEiRJmNdOjBtAsbOcgVFyqEChw71h X-Dd-Version: - - "35.4351615" + - "35.4693436" X-Frame-Options: - SAMEORIGIN status: 200 OK @@ -97,11 +97,11 @@ interactions: Dd-Operation-Id: - GetDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 2.4.4; terraform-cli 0.14.7) datadog-api-client-go/1.0.0-beta.19 (go go1.16.3; os darwin; arch amd64) - url: https://api.datadoghq.com/api/v1/dashboard/7kv-ff8-pv5 + - terraform-provider-datadog/dev (terraform 2.6.1; terraform-cli 0.15.3) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) + url: https://api.datadoghq.com/api/v1/dashboard/xvy-t6u-fuk 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":"7kv-ff8-pv5","title":"tf-TestAccDatadogDashboardTimeseries-local-1618930067","url":"/dashboard/7kv-ff8-pv5/tf-testaccdatadogdashboardtimeseries-local-1618930067","created_at":"2021-04-20T14:47:48.914572+00:00","modified_at":"2021-04-20T14:47:48.914572+00:00","author_handle":"frog@datadoghq.com","widgets":[{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test Custom Link label"}],"title_size":"16","legend_columns":["value","min","max"],"title":"system.cpu.user, env, process.stat.cpu.total_pct, network.bytes_read, @d...","title_align":"left","markers":[{"display_type":"error dashed","value":"y=500000","label":"y=500000"},{"display_type":"warning dashed","value":"y=400000","label":"y=400000"}],"yaxis":{"include_zero":true,"min":"0","max":"599999"},"legend_layout":"horizontal","show_legend":true,"right_yaxis":{"include_zero":false,"min":"1","max":"599998"},"time":{"live_span":"5m"},"legend_size":"2","requests":[{"q":"avg:system.cpu.user{env:prod} by {app}","on_right_yaxis":true,"style":{"line_width":"thin","palette":"dog_classic","line_type":"solid"},"display_type":"line","metadata":[{"expression":""}]},{"on_right_yaxis":false,"style":{"line_width":"normal","palette":"cool","line_type":"solid"},"display_type":"line","log_query":{"index":"*","search":{"query":""},"group_by":[{"facet":"service","sort":{"aggregation":"count","order":"desc"},"limit":10}],"compute":{"aggregation":"count"}}},{"on_right_yaxis":true,"style":{"line_width":"thick","palette":"warm","line_type":"dashed"},"apm_query":{"index":"trace-search","search":{"query":""},"group_by":[{"facet":"status","sort":{"facet":"env","aggregation":"cardinality","order":"desc"},"limit":10}],"compute":{"facet":"env","interval":1000,"aggregation":"cardinality"}},"display_type":"line"},{"on_right_yaxis":true,"style":{"line_width":"normal","palette":"purple","line_type":"solid"},"process_query":{"metric":"process.stat.cpu.total_pct","limit":10,"filter_by":["account:prod"]},"display_type":"line"},{"on_right_yaxis":true,"style":{"line_width":"normal","palette":"orange","line_type":"solid"},"display_type":"area","network_query":{"index":"netflow-search","search":{"query":"network.transport:udp network.destination.ip:\"*\""},"group_by":[{"facet":"source_region"},{"facet":"dest_environment"}],"compute":{"facet":"network.bytes_read","aggregation":"sum"}}},{"on_right_yaxis":true,"style":{"line_width":"normal","palette":"grey","line_type":"solid"},"rum_query":{"index":"*","search":{"query":""},"group_by":[{"facet":"service","sort":{"facet":"@duration","aggregation":"avg","order":"desc"},"limit":10}],"compute":{"facet":"@duration","interval":10,"aggregation":"avg"}},"display_type":"area"}],"type":"timeseries","events":[{"q":"sources:test tags:1","tags_execution":"and"}]},"id":7330818668776286}],"layout_type":"ordered"}' + body: '{"notify_list":[],"description":"Created using the Datadog provider in Terraform","author_name":null,"template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"xvy-t6u-fuk","title":"tf-TestAccDatadogDashboardTimeseries-local-1623093808","url":"/dashboard/xvy-t6u-fuk/tf-testaccdatadogdashboardtimeseries-local-1623093808","created_at":"2021-06-07T19:23:56.697995+00:00","modified_at":"2021-06-07T19:23:56.697995+00:00","author_handle":"frog@datadoghq.com","widgets":[{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test Custom Link label"},{"override_label":"logs","is_hidden":true,"link":"https://app.datadoghq.com/dashboard/lists"}],"title_size":"16","legend_columns":["value","min","max"],"title":"system.cpu.user, env, process.stat.cpu.total_pct, network.bytes_read, @d...","title_align":"left","markers":[{"display_type":"error dashed","value":"y=500000","label":"y=500000"},{"display_type":"warning dashed","value":"y=400000","label":"y=400000"}],"yaxis":{"include_zero":true,"min":"0","max":"599999"},"legend_layout":"horizontal","show_legend":true,"right_yaxis":{"include_zero":false,"min":"1","max":"599998"},"time":{"live_span":"5m"},"legend_size":"2","requests":[{"q":"avg:system.cpu.user{env:prod} by {app}","on_right_yaxis":true,"style":{"line_width":"thin","palette":"dog_classic","line_type":"solid"},"display_type":"line","metadata":[{"expression":""}]},{"on_right_yaxis":false,"style":{"line_width":"normal","palette":"cool","line_type":"solid"},"display_type":"line","log_query":{"index":"*","search":{"query":""},"group_by":[{"facet":"service","sort":{"aggregation":"count","order":"desc"},"limit":10}],"compute":{"aggregation":"count"}}},{"on_right_yaxis":true,"style":{"line_width":"thick","palette":"warm","line_type":"dashed"},"apm_query":{"index":"trace-search","search":{"query":""},"group_by":[{"facet":"status","sort":{"facet":"env","aggregation":"cardinality","order":"desc"},"limit":10}],"compute":{"facet":"env","interval":1000,"aggregation":"cardinality"}},"display_type":"line"},{"on_right_yaxis":true,"style":{"line_width":"normal","palette":"purple","line_type":"solid"},"process_query":{"metric":"process.stat.cpu.total_pct","limit":10,"filter_by":["account:prod"]},"display_type":"line"},{"on_right_yaxis":true,"style":{"line_width":"normal","palette":"orange","line_type":"solid"},"display_type":"area","network_query":{"index":"netflow-search","search":{"query":"network.transport:udp network.destination.ip:\"*\""},"group_by":[{"facet":"source_region"},{"facet":"dest_environment"}],"compute":{"facet":"network.bytes_read","aggregation":"sum"}}},{"on_right_yaxis":true,"style":{"line_width":"normal","palette":"grey","line_type":"solid"},"rum_query":{"index":"*","search":{"query":""},"group_by":[{"facet":"service","sort":{"facet":"@duration","aggregation":"avg","order":"desc"},"limit":10}],"compute":{"facet":"@duration","interval":10,"aggregation":"avg"}},"display_type":"area"}],"type":"timeseries","events":[{"q":"sources:test tags:1","tags_execution":"and"}]},"id":2808140227137116}],"layout_type":"ordered"}' headers: Cache-Control: - no-cache @@ -112,7 +112,7 @@ interactions: Content-Type: - application/json Date: - - Tue, 20 Apr 2021 14:47:52 GMT + - Mon, 07 Jun 2021 19:24:01 GMT Pragma: - no-cache Strict-Transport-Security: @@ -122,9 +122,9 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Debug: - - bgHykj7A9bfZx0Y5ZO3swhhp5tGUSNJHqFWR868+qg087CYrDOd5hQslC+noiEtH + - nLnnBNvlCFDECRnZvzDb0z4sAO35G+IMidcAs8vrCKyjvsKWE8Yd9S3n6OjZ1qRN X-Dd-Version: - - "35.4351615" + - "35.4693436" X-Frame-Options: - SAMEORIGIN status: 200 OK @@ -139,11 +139,11 @@ interactions: Dd-Operation-Id: - GetDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 2.4.4; terraform-cli 0.14.7) datadog-api-client-go/1.0.0-beta.19 (go go1.16.3; os darwin; arch amd64) - url: https://api.datadoghq.com/api/v1/dashboard/7kv-ff8-pv5 + - terraform-provider-datadog/dev (terraform 2.6.1; terraform-cli 0.15.3) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) + url: https://api.datadoghq.com/api/v1/dashboard/xvy-t6u-fuk 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":"7kv-ff8-pv5","title":"tf-TestAccDatadogDashboardTimeseries-local-1618930067","url":"/dashboard/7kv-ff8-pv5/tf-testaccdatadogdashboardtimeseries-local-1618930067","created_at":"2021-04-20T14:47:48.914572+00:00","modified_at":"2021-04-20T14:47:48.914572+00:00","author_handle":"frog@datadoghq.com","widgets":[{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test Custom Link label"}],"title_size":"16","legend_columns":["value","min","max"],"title":"system.cpu.user, env, process.stat.cpu.total_pct, network.bytes_read, @d...","title_align":"left","markers":[{"display_type":"error dashed","value":"y=500000","label":"y=500000"},{"display_type":"warning dashed","value":"y=400000","label":"y=400000"}],"yaxis":{"include_zero":true,"min":"0","max":"599999"},"legend_layout":"horizontal","show_legend":true,"right_yaxis":{"include_zero":false,"min":"1","max":"599998"},"time":{"live_span":"5m"},"legend_size":"2","requests":[{"q":"avg:system.cpu.user{env:prod} by {app}","on_right_yaxis":true,"style":{"line_width":"thin","palette":"dog_classic","line_type":"solid"},"display_type":"line","metadata":[{"expression":""}]},{"on_right_yaxis":false,"style":{"line_width":"normal","palette":"cool","line_type":"solid"},"display_type":"line","log_query":{"index":"*","search":{"query":""},"group_by":[{"facet":"service","sort":{"aggregation":"count","order":"desc"},"limit":10}],"compute":{"aggregation":"count"}}},{"on_right_yaxis":true,"style":{"line_width":"thick","palette":"warm","line_type":"dashed"},"apm_query":{"index":"trace-search","search":{"query":""},"group_by":[{"facet":"status","sort":{"facet":"env","aggregation":"cardinality","order":"desc"},"limit":10}],"compute":{"facet":"env","interval":1000,"aggregation":"cardinality"}},"display_type":"line"},{"on_right_yaxis":true,"style":{"line_width":"normal","palette":"purple","line_type":"solid"},"process_query":{"metric":"process.stat.cpu.total_pct","limit":10,"filter_by":["account:prod"]},"display_type":"line"},{"on_right_yaxis":true,"style":{"line_width":"normal","palette":"orange","line_type":"solid"},"display_type":"area","network_query":{"index":"netflow-search","search":{"query":"network.transport:udp network.destination.ip:\"*\""},"group_by":[{"facet":"source_region"},{"facet":"dest_environment"}],"compute":{"facet":"network.bytes_read","aggregation":"sum"}}},{"on_right_yaxis":true,"style":{"line_width":"normal","palette":"grey","line_type":"solid"},"rum_query":{"index":"*","search":{"query":""},"group_by":[{"facet":"service","sort":{"facet":"@duration","aggregation":"avg","order":"desc"},"limit":10}],"compute":{"facet":"@duration","interval":10,"aggregation":"avg"}},"display_type":"area"}],"type":"timeseries","events":[{"q":"sources:test tags:1","tags_execution":"and"}]},"id":7330818668776286}],"layout_type":"ordered"}' + body: '{"notify_list":[],"description":"Created using the Datadog provider in Terraform","author_name":null,"template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"xvy-t6u-fuk","title":"tf-TestAccDatadogDashboardTimeseries-local-1623093808","url":"/dashboard/xvy-t6u-fuk/tf-testaccdatadogdashboardtimeseries-local-1623093808","created_at":"2021-06-07T19:23:56.697995+00:00","modified_at":"2021-06-07T19:23:56.697995+00:00","author_handle":"frog@datadoghq.com","widgets":[{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test Custom Link label"},{"override_label":"logs","is_hidden":true,"link":"https://app.datadoghq.com/dashboard/lists"}],"title_size":"16","legend_columns":["value","min","max"],"title":"system.cpu.user, env, process.stat.cpu.total_pct, network.bytes_read, @d...","title_align":"left","markers":[{"display_type":"error dashed","value":"y=500000","label":"y=500000"},{"display_type":"warning dashed","value":"y=400000","label":"y=400000"}],"yaxis":{"include_zero":true,"min":"0","max":"599999"},"legend_layout":"horizontal","show_legend":true,"right_yaxis":{"include_zero":false,"min":"1","max":"599998"},"time":{"live_span":"5m"},"legend_size":"2","requests":[{"q":"avg:system.cpu.user{env:prod} by {app}","on_right_yaxis":true,"style":{"line_width":"thin","palette":"dog_classic","line_type":"solid"},"display_type":"line","metadata":[{"expression":""}]},{"on_right_yaxis":false,"style":{"line_width":"normal","palette":"cool","line_type":"solid"},"display_type":"line","log_query":{"index":"*","search":{"query":""},"group_by":[{"facet":"service","sort":{"aggregation":"count","order":"desc"},"limit":10}],"compute":{"aggregation":"count"}}},{"on_right_yaxis":true,"style":{"line_width":"thick","palette":"warm","line_type":"dashed"},"apm_query":{"index":"trace-search","search":{"query":""},"group_by":[{"facet":"status","sort":{"facet":"env","aggregation":"cardinality","order":"desc"},"limit":10}],"compute":{"facet":"env","interval":1000,"aggregation":"cardinality"}},"display_type":"line"},{"on_right_yaxis":true,"style":{"line_width":"normal","palette":"purple","line_type":"solid"},"process_query":{"metric":"process.stat.cpu.total_pct","limit":10,"filter_by":["account:prod"]},"display_type":"line"},{"on_right_yaxis":true,"style":{"line_width":"normal","palette":"orange","line_type":"solid"},"display_type":"area","network_query":{"index":"netflow-search","search":{"query":"network.transport:udp network.destination.ip:\"*\""},"group_by":[{"facet":"source_region"},{"facet":"dest_environment"}],"compute":{"facet":"network.bytes_read","aggregation":"sum"}}},{"on_right_yaxis":true,"style":{"line_width":"normal","palette":"grey","line_type":"solid"},"rum_query":{"index":"*","search":{"query":""},"group_by":[{"facet":"service","sort":{"facet":"@duration","aggregation":"avg","order":"desc"},"limit":10}],"compute":{"facet":"@duration","interval":10,"aggregation":"avg"}},"display_type":"area"}],"type":"timeseries","events":[{"q":"sources:test tags:1","tags_execution":"and"}]},"id":2808140227137116}],"layout_type":"ordered"}' headers: Cache-Control: - no-cache @@ -154,7 +154,7 @@ interactions: Content-Type: - application/json Date: - - Tue, 20 Apr 2021 14:47:53 GMT + - Mon, 07 Jun 2021 19:24:10 GMT Pragma: - no-cache Strict-Transport-Security: @@ -164,9 +164,9 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Debug: - - L3ULR3HwCWYmEqCWGz2Yob3chcH4pjowBacBXkncP7o+/uPqKt9yGEYf/g1AJPzQ + - B1nwy/pPNqX+q4pQT22cdp1QCexE35IF8qwSHy0Nf7IW0Y881qtn4tXN1lpmzaKc X-Dd-Version: - - "35.4351615" + - "35.4693436" X-Frame-Options: - SAMEORIGIN status: 200 OK @@ -181,11 +181,11 @@ interactions: Dd-Operation-Id: - DeleteDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 2.4.4; terraform-cli 0.14.7) datadog-api-client-go/1.0.0-beta.19 (go go1.16.3; os darwin; arch amd64) - url: https://api.datadoghq.com/api/v1/dashboard/7kv-ff8-pv5 + - terraform-provider-datadog/dev (terraform 2.6.1; terraform-cli 0.15.3) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) + url: https://api.datadoghq.com/api/v1/dashboard/xvy-t6u-fuk method: DELETE response: - body: '{"deleted_dashboard_id":"7kv-ff8-pv5"}' + body: '{"deleted_dashboard_id":"xvy-t6u-fuk"}' headers: Cache-Control: - no-cache @@ -196,7 +196,7 @@ interactions: Content-Type: - application/json Date: - - Tue, 20 Apr 2021 14:47:54 GMT + - Mon, 07 Jun 2021 19:24:32 GMT Pragma: - no-cache Strict-Transport-Security: @@ -206,9 +206,9 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Debug: - - mNzaoDhdDKO7t4QSrAe5X7pHd0bJND187D+vRbwoluXouE2m1UaQQX0RGCvRpLVE + - HbtaOKlJ6OCrx9tMXO6ivMTrEM+g0c93HDp08trmOmgdHozC5J+vn10F0H4WPjCU X-Dd-Version: - - "35.4351615" + - "35.4693436" X-Frame-Options: - SAMEORIGIN status: 200 OK @@ -223,11 +223,11 @@ interactions: Dd-Operation-Id: - GetDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 2.4.4; terraform-cli 0.14.7) datadog-api-client-go/1.0.0-beta.19 (go go1.16.3; os darwin; arch amd64) - url: https://api.datadoghq.com/api/v1/dashboard/7kv-ff8-pv5 + - terraform-provider-datadog/dev (terraform 2.6.1; terraform-cli 0.15.3) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) + url: https://api.datadoghq.com/api/v1/dashboard/xvy-t6u-fuk method: GET response: - body: '{"errors": ["Dashboard with ID 7kv-ff8-pv5 not found"]}' + body: '{"errors": ["Dashboard with ID xvy-t6u-fuk not found"]}' headers: Cache-Control: - no-cache @@ -238,7 +238,7 @@ interactions: Content-Type: - application/json Date: - - Tue, 20 Apr 2021 14:47:54 GMT + - Mon, 07 Jun 2021 19:24:32 GMT Pragma: - no-cache Strict-Transport-Security: @@ -248,7 +248,7 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Version: - - "35.4351615" + - "35.4693436" X-Frame-Options: - SAMEORIGIN status: 404 Not Found diff --git a/datadog/tests/cassettes/TestAccDatadogDashboardTimeseriesMultiCompute.freeze b/datadog/tests/cassettes/TestAccDatadogDashboardTimeseriesMultiCompute.freeze index 9b6376973..b2d5a6850 100644 --- a/datadog/tests/cassettes/TestAccDatadogDashboardTimeseriesMultiCompute.freeze +++ b/datadog/tests/cassettes/TestAccDatadogDashboardTimeseriesMultiCompute.freeze @@ -1 +1 @@ -2021-04-20T10:47:47.078628-04:00 \ No newline at end of file +2021-06-07T15:30:27.094725-04:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogDashboardTimeseriesMultiCompute.yaml b/datadog/tests/cassettes/TestAccDatadogDashboardTimeseriesMultiCompute.yaml index f3717a3d1..36b903248 100644 --- a/datadog/tests/cassettes/TestAccDatadogDashboardTimeseriesMultiCompute.yaml +++ b/datadog/tests/cassettes/TestAccDatadogDashboardTimeseriesMultiCompute.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-TestAccDatadogDashboardTimeseriesMultiCompute-local-1618930067","widgets":[{"definition":{"events":[{"q":"sources:test tags:1","tags_execution":"and"}],"legend_size":"2","markers":[{"display_type":"error dashed","label":"y=500000","value":"y=500000"},{"display_type":"warning dashed","label":"y=400000","value":"y=400000"}],"requests":[{"display_type":"line","log_query":{"group_by":[{"facet":"service","limit":10,"sort":{"aggregation":"count","order":"desc"}}],"index":"*","multi_compute":[{"aggregation":"count"},{"aggregation":"cardinality","facet":"env","interval":1000}],"search":{"query":""}},"on_right_yaxis":true,"style":{"line_type":"solid","line_width":"normal","palette":"cool"}}],"right_yaxis":{"include_zero":false,"max":"599998","min":"1"},"show_legend":true,"time":{"live_span":"5m"},"title":"system.cpu.user, env, process.stat.cpu.total_pct, network.bytes_read, @d...","title_align":"left","title_size":"16","type":"timeseries","yaxis":{"include_zero":true,"max":"599999","min":"0"}}}]} + {"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-TestAccDatadogDashboardTimeseriesMultiCompute-local-1623094227","widgets":[{"definition":{"events":[{"q":"sources:test tags:1","tags_execution":"and"}],"legend_size":"2","markers":[{"display_type":"error dashed","label":"y=500000","value":"y=500000"},{"display_type":"warning dashed","label":"y=400000","value":"y=400000"}],"requests":[{"display_type":"line","log_query":{"group_by":[{"facet":"service","limit":10,"sort":{"aggregation":"count","order":"desc"}}],"index":"*","multi_compute":[{"aggregation":"count"},{"aggregation":"cardinality","facet":"env","interval":1000}],"search":{"query":""}},"on_right_yaxis":true,"style":{"line_type":"solid","line_width":"normal","palette":"cool"}}],"right_yaxis":{"include_zero":false,"max":"599998","min":"1"},"show_legend":true,"time":{"live_span":"5m"},"title":"system.cpu.user, env, process.stat.cpu.total_pct, network.bytes_read, @d...","title_align":"left","title_size":"16","type":"timeseries","yaxis":{"include_zero":true,"max":"599999","min":"0"}}}]} form: {} headers: Accept: @@ -13,11 +13,11 @@ interactions: Dd-Operation-Id: - CreateDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 2.4.4; terraform-cli 0.14.7) datadog-api-client-go/1.0.0-beta.19 (go go1.16.3; os darwin; arch amd64) + - terraform-provider-datadog/dev (terraform 2.6.1; terraform-cli 0.15.3) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) 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":"7hz-esx-ri8","title":"tf-TestAccDatadogDashboardTimeseriesMultiCompute-local-1618930067","url":"/dashboard/7hz-esx-ri8/tf-testaccdatadogdashboardtimeseriesmulticompute-local-1618930067","created_at":"2021-04-20T14:47:48.910986+00:00","modified_at":"2021-04-20T14:47:48.910986+00:00","author_handle":"frog@datadoghq.com","widgets":[{"definition":{"title_size":"16","yaxis":{"include_zero":true,"min":"0","max":"599999"},"title_align":"left","right_yaxis":{"include_zero":false,"min":"1","max":"599998"},"events":[{"q":"sources:test tags:1","tags_execution":"and"}],"show_legend":true,"markers":[{"display_type":"error dashed","value":"y=500000","label":"y=500000"},{"display_type":"warning dashed","value":"y=400000","label":"y=400000"}],"time":{"live_span":"5m"},"title":"system.cpu.user, env, process.stat.cpu.total_pct, network.bytes_read, @d...","legend_size":"2","type":"timeseries","requests":[{"on_right_yaxis":true,"style":{"line_width":"normal","palette":"cool","line_type":"solid"},"display_type":"line","log_query":{"index":"*","search":{"query":""},"group_by":[{"facet":"service","sort":{"aggregation":"count","order":"desc"},"limit":10}],"multi_compute":[{"aggregation":"count"},{"facet":"env","interval":1000,"aggregation":"cardinality"}]}}]},"id":4373902707113392}],"layout_type":"ordered"}' + body: '{"notify_list":[],"description":"Created using the Datadog provider in Terraform","author_name":null,"template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"nv9-aek-i6r","title":"tf-TestAccDatadogDashboardTimeseriesMultiCompute-local-1623094227","url":"/dashboard/nv9-aek-i6r/tf-testaccdatadogdashboardtimeseriesmulticompute-local-1623094227","created_at":"2021-06-07T19:30:53.864111+00:00","modified_at":"2021-06-07T19:30:53.864111+00:00","author_handle":"frog@datadoghq.com","widgets":[{"definition":{"title_size":"16","yaxis":{"include_zero":true,"min":"0","max":"599999"},"title_align":"left","right_yaxis":{"include_zero":false,"min":"1","max":"599998"},"events":[{"q":"sources:test tags:1","tags_execution":"and"}],"show_legend":true,"markers":[{"display_type":"error dashed","value":"y=500000","label":"y=500000"},{"display_type":"warning dashed","value":"y=400000","label":"y=400000"}],"time":{"live_span":"5m"},"title":"system.cpu.user, env, process.stat.cpu.total_pct, network.bytes_read, @d...","legend_size":"2","type":"timeseries","requests":[{"on_right_yaxis":true,"style":{"line_width":"normal","palette":"cool","line_type":"solid"},"display_type":"line","log_query":{"index":"*","search":{"query":""},"group_by":[{"facet":"service","sort":{"aggregation":"count","order":"desc"},"limit":10}],"multi_compute":[{"aggregation":"count"},{"facet":"env","interval":1000,"aggregation":"cardinality"}]}}]},"id":793249261765312}],"layout_type":"ordered"}' headers: Cache-Control: - no-cache @@ -28,7 +28,7 @@ interactions: Content-Type: - application/json Date: - - Tue, 20 Apr 2021 14:47:51 GMT + - Mon, 07 Jun 2021 19:30:55 GMT Pragma: - no-cache Strict-Transport-Security: @@ -38,9 +38,9 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Debug: - - dCmL/3rURV6BPeaqeP3Rxigq41m5CAb17XjrRE42uZ01zpr07HVhbL5/3TWMkvgu + - l8RQo2maZqJf6GFThBbKNE6dvthz6njusVtau3dPXJWL2RLFoN81H+BLPB/1xgs1 X-Dd-Version: - - "35.4351615" + - "35.4693673" X-Frame-Options: - SAMEORIGIN status: 200 OK @@ -55,11 +55,11 @@ interactions: Dd-Operation-Id: - GetDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 2.4.4; terraform-cli 0.14.7) datadog-api-client-go/1.0.0-beta.19 (go go1.16.3; os darwin; arch amd64) - url: https://api.datadoghq.com/api/v1/dashboard/7hz-esx-ri8 + - terraform-provider-datadog/dev (terraform 2.6.1; terraform-cli 0.15.3) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) + url: https://api.datadoghq.com/api/v1/dashboard/nv9-aek-i6r 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":"7hz-esx-ri8","title":"tf-TestAccDatadogDashboardTimeseriesMultiCompute-local-1618930067","url":"/dashboard/7hz-esx-ri8/tf-testaccdatadogdashboardtimeseriesmulticompute-local-1618930067","created_at":"2021-04-20T14:47:48.910986+00:00","modified_at":"2021-04-20T14:47:48.910986+00:00","author_handle":"frog@datadoghq.com","widgets":[{"definition":{"title_size":"16","yaxis":{"include_zero":true,"min":"0","max":"599999"},"title_align":"left","right_yaxis":{"include_zero":false,"min":"1","max":"599998"},"events":[{"q":"sources:test tags:1","tags_execution":"and"}],"show_legend":true,"markers":[{"display_type":"error dashed","value":"y=500000","label":"y=500000"},{"display_type":"warning dashed","value":"y=400000","label":"y=400000"}],"time":{"live_span":"5m"},"title":"system.cpu.user, env, process.stat.cpu.total_pct, network.bytes_read, @d...","legend_size":"2","type":"timeseries","requests":[{"on_right_yaxis":true,"style":{"line_width":"normal","palette":"cool","line_type":"solid"},"display_type":"line","log_query":{"index":"*","search":{"query":""},"group_by":[{"facet":"service","sort":{"aggregation":"count","order":"desc"},"limit":10}],"multi_compute":[{"aggregation":"count"},{"facet":"env","interval":1000,"aggregation":"cardinality"}]}}]},"id":4373902707113392}],"layout_type":"ordered"}' + body: '{"notify_list":[],"description":"Created using the Datadog provider in Terraform","author_name":null,"template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"nv9-aek-i6r","title":"tf-TestAccDatadogDashboardTimeseriesMultiCompute-local-1623094227","url":"/dashboard/nv9-aek-i6r/tf-testaccdatadogdashboardtimeseriesmulticompute-local-1623094227","created_at":"2021-06-07T19:30:53.864111+00:00","modified_at":"2021-06-07T19:30:53.864111+00:00","author_handle":"frog@datadoghq.com","widgets":[{"definition":{"title_size":"16","yaxis":{"include_zero":true,"min":"0","max":"599999"},"title_align":"left","right_yaxis":{"include_zero":false,"min":"1","max":"599998"},"events":[{"q":"sources:test tags:1","tags_execution":"and"}],"show_legend":true,"markers":[{"display_type":"error dashed","value":"y=500000","label":"y=500000"},{"display_type":"warning dashed","value":"y=400000","label":"y=400000"}],"time":{"live_span":"5m"},"title":"system.cpu.user, env, process.stat.cpu.total_pct, network.bytes_read, @d...","legend_size":"2","type":"timeseries","requests":[{"on_right_yaxis":true,"style":{"line_width":"normal","palette":"cool","line_type":"solid"},"display_type":"line","log_query":{"index":"*","search":{"query":""},"group_by":[{"facet":"service","sort":{"aggregation":"count","order":"desc"},"limit":10}],"multi_compute":[{"aggregation":"count"},{"facet":"env","interval":1000,"aggregation":"cardinality"}]}}]},"id":793249261765312}],"layout_type":"ordered"}' headers: Cache-Control: - no-cache @@ -70,7 +70,7 @@ interactions: Content-Type: - application/json Date: - - Tue, 20 Apr 2021 14:47:52 GMT + - Mon, 07 Jun 2021 19:30:55 GMT Pragma: - no-cache Strict-Transport-Security: @@ -80,9 +80,9 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Debug: - - tpRCH6w417YjBovRJ8VmtuXmNONVYiRp2c8d2AxjPdGBn8PCtgG4vAztrx3qUZAN + - 25u1gDlL724DHllbjFT4BhOLorBTilh+aah2uWAUEjFC/+rjczJdiyWrV/HwLwe/ X-Dd-Version: - - "35.4351615" + - "35.4693673" X-Frame-Options: - SAMEORIGIN status: 200 OK @@ -97,11 +97,11 @@ interactions: Dd-Operation-Id: - GetDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 2.4.4; terraform-cli 0.14.7) datadog-api-client-go/1.0.0-beta.19 (go go1.16.3; os darwin; arch amd64) - url: https://api.datadoghq.com/api/v1/dashboard/7hz-esx-ri8 + - terraform-provider-datadog/dev (terraform 2.6.1; terraform-cli 0.15.3) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) + url: https://api.datadoghq.com/api/v1/dashboard/nv9-aek-i6r 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":"7hz-esx-ri8","title":"tf-TestAccDatadogDashboardTimeseriesMultiCompute-local-1618930067","url":"/dashboard/7hz-esx-ri8/tf-testaccdatadogdashboardtimeseriesmulticompute-local-1618930067","created_at":"2021-04-20T14:47:48.910986+00:00","modified_at":"2021-04-20T14:47:48.910986+00:00","author_handle":"frog@datadoghq.com","widgets":[{"definition":{"title_size":"16","yaxis":{"include_zero":true,"min":"0","max":"599999"},"title_align":"left","right_yaxis":{"include_zero":false,"min":"1","max":"599998"},"events":[{"q":"sources:test tags:1","tags_execution":"and"}],"show_legend":true,"markers":[{"display_type":"error dashed","value":"y=500000","label":"y=500000"},{"display_type":"warning dashed","value":"y=400000","label":"y=400000"}],"time":{"live_span":"5m"},"title":"system.cpu.user, env, process.stat.cpu.total_pct, network.bytes_read, @d...","legend_size":"2","type":"timeseries","requests":[{"on_right_yaxis":true,"style":{"line_width":"normal","palette":"cool","line_type":"solid"},"display_type":"line","log_query":{"index":"*","search":{"query":""},"group_by":[{"facet":"service","sort":{"aggregation":"count","order":"desc"},"limit":10}],"multi_compute":[{"aggregation":"count"},{"facet":"env","interval":1000,"aggregation":"cardinality"}]}}]},"id":4373902707113392}],"layout_type":"ordered"}' + body: '{"notify_list":[],"description":"Created using the Datadog provider in Terraform","author_name":null,"template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"nv9-aek-i6r","title":"tf-TestAccDatadogDashboardTimeseriesMultiCompute-local-1623094227","url":"/dashboard/nv9-aek-i6r/tf-testaccdatadogdashboardtimeseriesmulticompute-local-1623094227","created_at":"2021-06-07T19:30:53.864111+00:00","modified_at":"2021-06-07T19:30:53.864111+00:00","author_handle":"frog@datadoghq.com","widgets":[{"definition":{"title_size":"16","yaxis":{"include_zero":true,"min":"0","max":"599999"},"title_align":"left","right_yaxis":{"include_zero":false,"min":"1","max":"599998"},"events":[{"q":"sources:test tags:1","tags_execution":"and"}],"show_legend":true,"markers":[{"display_type":"error dashed","value":"y=500000","label":"y=500000"},{"display_type":"warning dashed","value":"y=400000","label":"y=400000"}],"time":{"live_span":"5m"},"title":"system.cpu.user, env, process.stat.cpu.total_pct, network.bytes_read, @d...","legend_size":"2","type":"timeseries","requests":[{"on_right_yaxis":true,"style":{"line_width":"normal","palette":"cool","line_type":"solid"},"display_type":"line","log_query":{"index":"*","search":{"query":""},"group_by":[{"facet":"service","sort":{"aggregation":"count","order":"desc"},"limit":10}],"multi_compute":[{"aggregation":"count"},{"facet":"env","interval":1000,"aggregation":"cardinality"}]}}]},"id":793249261765312}],"layout_type":"ordered"}' headers: Cache-Control: - no-cache @@ -112,7 +112,7 @@ interactions: Content-Type: - application/json Date: - - Tue, 20 Apr 2021 14:47:52 GMT + - Mon, 07 Jun 2021 19:30:58 GMT Pragma: - no-cache Strict-Transport-Security: @@ -122,9 +122,9 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Debug: - - F5gm0Rce1/Abr9/0Fw8HAqWfiz0FdiH8er/AXnN6lOn3L6KyGgbsLCwgPlob1No8 + - Wjq53IVIwnB4SiR238oOYgHFMq/ZYP0LQ/Dv8C2fFLBwTje/dWJHu6pI6vIOK1zG X-Dd-Version: - - "35.4351615" + - "35.4693673" X-Frame-Options: - SAMEORIGIN status: 200 OK @@ -139,11 +139,11 @@ interactions: Dd-Operation-Id: - GetDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 2.4.4; terraform-cli 0.14.7) datadog-api-client-go/1.0.0-beta.19 (go go1.16.3; os darwin; arch amd64) - url: https://api.datadoghq.com/api/v1/dashboard/7hz-esx-ri8 + - terraform-provider-datadog/dev (terraform 2.6.1; terraform-cli 0.15.3) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) + url: https://api.datadoghq.com/api/v1/dashboard/nv9-aek-i6r 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":"7hz-esx-ri8","title":"tf-TestAccDatadogDashboardTimeseriesMultiCompute-local-1618930067","url":"/dashboard/7hz-esx-ri8/tf-testaccdatadogdashboardtimeseriesmulticompute-local-1618930067","created_at":"2021-04-20T14:47:48.910986+00:00","modified_at":"2021-04-20T14:47:48.910986+00:00","author_handle":"frog@datadoghq.com","widgets":[{"definition":{"title_size":"16","yaxis":{"include_zero":true,"min":"0","max":"599999"},"title_align":"left","right_yaxis":{"include_zero":false,"min":"1","max":"599998"},"events":[{"q":"sources:test tags:1","tags_execution":"and"}],"show_legend":true,"markers":[{"display_type":"error dashed","value":"y=500000","label":"y=500000"},{"display_type":"warning dashed","value":"y=400000","label":"y=400000"}],"time":{"live_span":"5m"},"title":"system.cpu.user, env, process.stat.cpu.total_pct, network.bytes_read, @d...","legend_size":"2","type":"timeseries","requests":[{"on_right_yaxis":true,"style":{"line_width":"normal","palette":"cool","line_type":"solid"},"display_type":"line","log_query":{"index":"*","search":{"query":""},"group_by":[{"facet":"service","sort":{"aggregation":"count","order":"desc"},"limit":10}],"multi_compute":[{"aggregation":"count"},{"facet":"env","interval":1000,"aggregation":"cardinality"}]}}]},"id":4373902707113392}],"layout_type":"ordered"}' + body: '{"notify_list":[],"description":"Created using the Datadog provider in Terraform","author_name":null,"template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"nv9-aek-i6r","title":"tf-TestAccDatadogDashboardTimeseriesMultiCompute-local-1623094227","url":"/dashboard/nv9-aek-i6r/tf-testaccdatadogdashboardtimeseriesmulticompute-local-1623094227","created_at":"2021-06-07T19:30:53.864111+00:00","modified_at":"2021-06-07T19:30:53.864111+00:00","author_handle":"frog@datadoghq.com","widgets":[{"definition":{"title_size":"16","yaxis":{"include_zero":true,"min":"0","max":"599999"},"title_align":"left","right_yaxis":{"include_zero":false,"min":"1","max":"599998"},"events":[{"q":"sources:test tags:1","tags_execution":"and"}],"show_legend":true,"markers":[{"display_type":"error dashed","value":"y=500000","label":"y=500000"},{"display_type":"warning dashed","value":"y=400000","label":"y=400000"}],"time":{"live_span":"5m"},"title":"system.cpu.user, env, process.stat.cpu.total_pct, network.bytes_read, @d...","legend_size":"2","type":"timeseries","requests":[{"on_right_yaxis":true,"style":{"line_width":"normal","palette":"cool","line_type":"solid"},"display_type":"line","log_query":{"index":"*","search":{"query":""},"group_by":[{"facet":"service","sort":{"aggregation":"count","order":"desc"},"limit":10}],"multi_compute":[{"aggregation":"count"},{"facet":"env","interval":1000,"aggregation":"cardinality"}]}}]},"id":793249261765312}],"layout_type":"ordered"}' headers: Cache-Control: - no-cache @@ -154,7 +154,7 @@ interactions: Content-Type: - application/json Date: - - Tue, 20 Apr 2021 14:47:52 GMT + - Mon, 07 Jun 2021 19:31:09 GMT Pragma: - no-cache Strict-Transport-Security: @@ -164,9 +164,9 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Debug: - - B1nwy/pPNqX+q4pQT22cdp1QCexE35IF8qwSHy0Nf7IW0Y881qtn4tXN1lpmzaKc + - Wjq53IVIwnB4SiR238oOYgHFMq/ZYP0LQ/Dv8C2fFLBwTje/dWJHu6pI6vIOK1zG X-Dd-Version: - - "35.4351615" + - "35.4693673" X-Frame-Options: - SAMEORIGIN status: 200 OK @@ -181,11 +181,11 @@ interactions: Dd-Operation-Id: - DeleteDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 2.4.4; terraform-cli 0.14.7) datadog-api-client-go/1.0.0-beta.19 (go go1.16.3; os darwin; arch amd64) - url: https://api.datadoghq.com/api/v1/dashboard/7hz-esx-ri8 + - terraform-provider-datadog/dev (terraform 2.6.1; terraform-cli 0.15.3) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) + url: https://api.datadoghq.com/api/v1/dashboard/nv9-aek-i6r method: DELETE response: - body: '{"deleted_dashboard_id":"7hz-esx-ri8"}' + body: '{"deleted_dashboard_id":"nv9-aek-i6r"}' headers: Cache-Control: - no-cache @@ -196,7 +196,7 @@ interactions: Content-Type: - application/json Date: - - Tue, 20 Apr 2021 14:47:54 GMT + - Mon, 07 Jun 2021 19:31:26 GMT Pragma: - no-cache Strict-Transport-Security: @@ -206,9 +206,9 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Debug: - - dCmL/3rURV6BPeaqeP3Rxigq41m5CAb17XjrRE42uZ01zpr07HVhbL5/3TWMkvgu + - tpRCH6w417YjBovRJ8VmtuXmNONVYiRp2c8d2AxjPdGBn8PCtgG4vAztrx3qUZAN X-Dd-Version: - - "35.4351615" + - "35.4693673" X-Frame-Options: - SAMEORIGIN status: 200 OK @@ -223,11 +223,11 @@ interactions: Dd-Operation-Id: - GetDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 2.4.4; terraform-cli 0.14.7) datadog-api-client-go/1.0.0-beta.19 (go go1.16.3; os darwin; arch amd64) - url: https://api.datadoghq.com/api/v1/dashboard/7hz-esx-ri8 + - terraform-provider-datadog/dev (terraform 2.6.1; terraform-cli 0.15.3) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) + url: https://api.datadoghq.com/api/v1/dashboard/nv9-aek-i6r method: GET response: - body: '{"errors": ["Dashboard with ID 7hz-esx-ri8 not found"]}' + body: '{"errors": ["Dashboard with ID nv9-aek-i6r not found"]}' headers: Cache-Control: - no-cache @@ -238,7 +238,7 @@ interactions: Content-Type: - application/json Date: - - Tue, 20 Apr 2021 14:47:54 GMT + - Mon, 07 Jun 2021 19:31:26 GMT Pragma: - no-cache Strict-Transport-Security: @@ -248,7 +248,7 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Version: - - "35.4351615" + - "35.4693673" X-Frame-Options: - SAMEORIGIN status: 404 Not Found diff --git a/datadog/tests/cassettes/TestAccDatadogDashboardTimeseriesMultiCompute_import.freeze b/datadog/tests/cassettes/TestAccDatadogDashboardTimeseriesMultiCompute_import.freeze index 6657b0aa5..a383ee218 100644 --- a/datadog/tests/cassettes/TestAccDatadogDashboardTimeseriesMultiCompute_import.freeze +++ b/datadog/tests/cassettes/TestAccDatadogDashboardTimeseriesMultiCompute_import.freeze @@ -1 +1 @@ -2021-04-20T10:47:47.079387-04:00 \ No newline at end of file +2021-06-07T15:30:27.095277-04:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogDashboardTimeseriesMultiCompute_import.yaml b/datadog/tests/cassettes/TestAccDatadogDashboardTimeseriesMultiCompute_import.yaml index 63ff3d3c9..4bbd9e211 100644 --- a/datadog/tests/cassettes/TestAccDatadogDashboardTimeseriesMultiCompute_import.yaml +++ b/datadog/tests/cassettes/TestAccDatadogDashboardTimeseriesMultiCompute_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-TestAccDatadogDashboardTimeseriesMultiCompute_import-local-1618930067","widgets":[{"definition":{"events":[{"q":"sources:test tags:1","tags_execution":"and"}],"legend_size":"2","markers":[{"display_type":"error dashed","label":"y=500000","value":"y=500000"},{"display_type":"warning dashed","label":"y=400000","value":"y=400000"}],"requests":[{"display_type":"line","log_query":{"group_by":[{"facet":"service","limit":10,"sort":{"aggregation":"count","order":"desc"}}],"index":"*","multi_compute":[{"aggregation":"count"},{"aggregation":"cardinality","facet":"env","interval":1000}],"search":{"query":""}},"on_right_yaxis":true,"style":{"line_type":"solid","line_width":"normal","palette":"cool"}}],"right_yaxis":{"include_zero":false,"max":"599998","min":"1"},"show_legend":true,"time":{"live_span":"5m"},"title":"system.cpu.user, env, process.stat.cpu.total_pct, network.bytes_read, @d...","title_align":"left","title_size":"16","type":"timeseries","yaxis":{"include_zero":true,"max":"599999","min":"0"}}}]} + {"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-TestAccDatadogDashboardTimeseriesMultiCompute_import-local-1623094227","widgets":[{"definition":{"events":[{"q":"sources:test tags:1","tags_execution":"and"}],"legend_size":"2","markers":[{"display_type":"error dashed","label":"y=500000","value":"y=500000"},{"display_type":"warning dashed","label":"y=400000","value":"y=400000"}],"requests":[{"display_type":"line","log_query":{"group_by":[{"facet":"service","limit":10,"sort":{"aggregation":"count","order":"desc"}}],"index":"*","multi_compute":[{"aggregation":"count"},{"aggregation":"cardinality","facet":"env","interval":1000}],"search":{"query":""}},"on_right_yaxis":true,"style":{"line_type":"solid","line_width":"normal","palette":"cool"}}],"right_yaxis":{"include_zero":false,"max":"599998","min":"1"},"show_legend":true,"time":{"live_span":"5m"},"title":"system.cpu.user, env, process.stat.cpu.total_pct, network.bytes_read, @d...","title_align":"left","title_size":"16","type":"timeseries","yaxis":{"include_zero":true,"max":"599999","min":"0"}}}]} form: {} headers: Accept: @@ -13,11 +13,11 @@ interactions: Dd-Operation-Id: - CreateDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 2.4.4; terraform-cli 0.14.7) datadog-api-client-go/1.0.0-beta.19 (go go1.16.3; os darwin; arch amd64) + - terraform-provider-datadog/dev (terraform 2.6.1; terraform-cli 0.15.3) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) 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":"jbu-p37-vfz","title":"tf-TestAccDatadogDashboardTimeseriesMultiCompute_import-local-1618930067","url":"/dashboard/jbu-p37-vfz/tf-testaccdatadogdashboardtimeseriesmulticomputeimport-local-1618930067","created_at":"2021-04-20T14:47:48.916008+00:00","modified_at":"2021-04-20T14:47:48.916008+00:00","author_handle":"frog@datadoghq.com","widgets":[{"definition":{"title_size":"16","yaxis":{"include_zero":true,"min":"0","max":"599999"},"title_align":"left","right_yaxis":{"include_zero":false,"min":"1","max":"599998"},"events":[{"q":"sources:test tags:1","tags_execution":"and"}],"show_legend":true,"markers":[{"display_type":"error dashed","value":"y=500000","label":"y=500000"},{"display_type":"warning dashed","value":"y=400000","label":"y=400000"}],"time":{"live_span":"5m"},"title":"system.cpu.user, env, process.stat.cpu.total_pct, network.bytes_read, @d...","legend_size":"2","type":"timeseries","requests":[{"on_right_yaxis":true,"style":{"line_width":"normal","palette":"cool","line_type":"solid"},"display_type":"line","log_query":{"index":"*","search":{"query":""},"group_by":[{"facet":"service","sort":{"aggregation":"count","order":"desc"},"limit":10}],"multi_compute":[{"aggregation":"count"},{"facet":"env","interval":1000,"aggregation":"cardinality"}]}}]},"id":6919684455779179}],"layout_type":"ordered"}' + body: '{"notify_list":[],"description":"Created using the Datadog provider in Terraform","author_name":null,"template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"2z6-99n-syc","title":"tf-TestAccDatadogDashboardTimeseriesMultiCompute_import-local-1623094227","url":"/dashboard/2z6-99n-syc/tf-testaccdatadogdashboardtimeseriesmulticomputeimport-local-1623094227","created_at":"2021-06-07T19:30:53.843201+00:00","modified_at":"2021-06-07T19:30:53.843201+00:00","author_handle":"frog@datadoghq.com","widgets":[{"definition":{"title_size":"16","yaxis":{"include_zero":true,"min":"0","max":"599999"},"title_align":"left","right_yaxis":{"include_zero":false,"min":"1","max":"599998"},"events":[{"q":"sources:test tags:1","tags_execution":"and"}],"show_legend":true,"markers":[{"display_type":"error dashed","value":"y=500000","label":"y=500000"},{"display_type":"warning dashed","value":"y=400000","label":"y=400000"}],"time":{"live_span":"5m"},"title":"system.cpu.user, env, process.stat.cpu.total_pct, network.bytes_read, @d...","legend_size":"2","type":"timeseries","requests":[{"on_right_yaxis":true,"style":{"line_width":"normal","palette":"cool","line_type":"solid"},"display_type":"line","log_query":{"index":"*","search":{"query":""},"group_by":[{"facet":"service","sort":{"aggregation":"count","order":"desc"},"limit":10}],"multi_compute":[{"aggregation":"count"},{"facet":"env","interval":1000,"aggregation":"cardinality"}]}}]},"id":4310322390295271}],"layout_type":"ordered"}' headers: Cache-Control: - no-cache @@ -28,7 +28,7 @@ interactions: Content-Type: - application/json Date: - - Tue, 20 Apr 2021 14:47:52 GMT + - Mon, 07 Jun 2021 19:30:55 GMT Pragma: - no-cache Strict-Transport-Security: @@ -38,9 +38,9 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Debug: - - 5gfwVh/5HZ+AnGd/Di93w3NEWC6KMHT9KzmHEiRJmNdOjBtAsbOcgVFyqEChw71h + - SY1h8ScsWq+kYmtbh63ltMLFAZsQjqfrgvdfAoRX+9TzT1sgMBRYaFRwfWWRRe9a X-Dd-Version: - - "35.4351615" + - "35.4693673" X-Frame-Options: - SAMEORIGIN status: 200 OK @@ -55,11 +55,11 @@ interactions: Dd-Operation-Id: - GetDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 2.4.4; terraform-cli 0.14.7) datadog-api-client-go/1.0.0-beta.19 (go go1.16.3; os darwin; arch amd64) - url: https://api.datadoghq.com/api/v1/dashboard/jbu-p37-vfz + - terraform-provider-datadog/dev (terraform 2.6.1; terraform-cli 0.15.3) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) + url: https://api.datadoghq.com/api/v1/dashboard/2z6-99n-syc 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":"jbu-p37-vfz","title":"tf-TestAccDatadogDashboardTimeseriesMultiCompute_import-local-1618930067","url":"/dashboard/jbu-p37-vfz/tf-testaccdatadogdashboardtimeseriesmulticomputeimport-local-1618930067","created_at":"2021-04-20T14:47:48.916008+00:00","modified_at":"2021-04-20T14:47:48.916008+00:00","author_handle":"frog@datadoghq.com","widgets":[{"definition":{"title_size":"16","yaxis":{"include_zero":true,"min":"0","max":"599999"},"title_align":"left","right_yaxis":{"include_zero":false,"min":"1","max":"599998"},"events":[{"q":"sources:test tags:1","tags_execution":"and"}],"show_legend":true,"markers":[{"display_type":"error dashed","value":"y=500000","label":"y=500000"},{"display_type":"warning dashed","value":"y=400000","label":"y=400000"}],"time":{"live_span":"5m"},"title":"system.cpu.user, env, process.stat.cpu.total_pct, network.bytes_read, @d...","legend_size":"2","type":"timeseries","requests":[{"on_right_yaxis":true,"style":{"line_width":"normal","palette":"cool","line_type":"solid"},"display_type":"line","log_query":{"index":"*","search":{"query":""},"group_by":[{"facet":"service","sort":{"aggregation":"count","order":"desc"},"limit":10}],"multi_compute":[{"aggregation":"count"},{"facet":"env","interval":1000,"aggregation":"cardinality"}]}}]},"id":6919684455779179}],"layout_type":"ordered"}' + body: '{"notify_list":[],"description":"Created using the Datadog provider in Terraform","author_name":null,"template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"2z6-99n-syc","title":"tf-TestAccDatadogDashboardTimeseriesMultiCompute_import-local-1623094227","url":"/dashboard/2z6-99n-syc/tf-testaccdatadogdashboardtimeseriesmulticomputeimport-local-1623094227","created_at":"2021-06-07T19:30:53.843201+00:00","modified_at":"2021-06-07T19:30:53.843201+00:00","author_handle":"frog@datadoghq.com","widgets":[{"definition":{"title_size":"16","yaxis":{"include_zero":true,"min":"0","max":"599999"},"title_align":"left","right_yaxis":{"include_zero":false,"min":"1","max":"599998"},"events":[{"q":"sources:test tags:1","tags_execution":"and"}],"show_legend":true,"markers":[{"display_type":"error dashed","value":"y=500000","label":"y=500000"},{"display_type":"warning dashed","value":"y=400000","label":"y=400000"}],"time":{"live_span":"5m"},"title":"system.cpu.user, env, process.stat.cpu.total_pct, network.bytes_read, @d...","legend_size":"2","type":"timeseries","requests":[{"on_right_yaxis":true,"style":{"line_width":"normal","palette":"cool","line_type":"solid"},"display_type":"line","log_query":{"index":"*","search":{"query":""},"group_by":[{"facet":"service","sort":{"aggregation":"count","order":"desc"},"limit":10}],"multi_compute":[{"aggregation":"count"},{"facet":"env","interval":1000,"aggregation":"cardinality"}]}}]},"id":4310322390295271}],"layout_type":"ordered"}' headers: Cache-Control: - no-cache @@ -70,7 +70,7 @@ interactions: Content-Type: - application/json Date: - - Tue, 20 Apr 2021 14:47:52 GMT + - Mon, 07 Jun 2021 19:30:55 GMT Pragma: - no-cache Strict-Transport-Security: @@ -80,9 +80,9 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Debug: - - bgHykj7A9bfZx0Y5ZO3swhhp5tGUSNJHqFWR868+qg087CYrDOd5hQslC+noiEtH + - gYZcaADwbKcv7Hm19HJx6WsLoKuOijDWAt2viPeCfWqUgyKY+9e1xZdmMJeXV3YV X-Dd-Version: - - "35.4351615" + - "35.4693673" X-Frame-Options: - SAMEORIGIN status: 200 OK @@ -97,11 +97,11 @@ interactions: Dd-Operation-Id: - GetDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 2.4.4; terraform-cli 0.14.7) datadog-api-client-go/1.0.0-beta.19 (go go1.16.3; os darwin; arch amd64) - url: https://api.datadoghq.com/api/v1/dashboard/jbu-p37-vfz + - terraform-provider-datadog/dev (terraform 2.6.1; terraform-cli 0.15.3) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) + url: https://api.datadoghq.com/api/v1/dashboard/2z6-99n-syc 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":"jbu-p37-vfz","title":"tf-TestAccDatadogDashboardTimeseriesMultiCompute_import-local-1618930067","url":"/dashboard/jbu-p37-vfz/tf-testaccdatadogdashboardtimeseriesmulticomputeimport-local-1618930067","created_at":"2021-04-20T14:47:48.916008+00:00","modified_at":"2021-04-20T14:47:48.916008+00:00","author_handle":"frog@datadoghq.com","widgets":[{"definition":{"title_size":"16","yaxis":{"include_zero":true,"min":"0","max":"599999"},"title_align":"left","right_yaxis":{"include_zero":false,"min":"1","max":"599998"},"events":[{"q":"sources:test tags:1","tags_execution":"and"}],"show_legend":true,"markers":[{"display_type":"error dashed","value":"y=500000","label":"y=500000"},{"display_type":"warning dashed","value":"y=400000","label":"y=400000"}],"time":{"live_span":"5m"},"title":"system.cpu.user, env, process.stat.cpu.total_pct, network.bytes_read, @d...","legend_size":"2","type":"timeseries","requests":[{"on_right_yaxis":true,"style":{"line_width":"normal","palette":"cool","line_type":"solid"},"display_type":"line","log_query":{"index":"*","search":{"query":""},"group_by":[{"facet":"service","sort":{"aggregation":"count","order":"desc"},"limit":10}],"multi_compute":[{"aggregation":"count"},{"facet":"env","interval":1000,"aggregation":"cardinality"}]}}]},"id":6919684455779179}],"layout_type":"ordered"}' + body: '{"notify_list":[],"description":"Created using the Datadog provider in Terraform","author_name":null,"template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"2z6-99n-syc","title":"tf-TestAccDatadogDashboardTimeseriesMultiCompute_import-local-1623094227","url":"/dashboard/2z6-99n-syc/tf-testaccdatadogdashboardtimeseriesmulticomputeimport-local-1623094227","created_at":"2021-06-07T19:30:53.843201+00:00","modified_at":"2021-06-07T19:30:53.843201+00:00","author_handle":"frog@datadoghq.com","widgets":[{"definition":{"title_size":"16","yaxis":{"include_zero":true,"min":"0","max":"599999"},"title_align":"left","right_yaxis":{"include_zero":false,"min":"1","max":"599998"},"events":[{"q":"sources:test tags:1","tags_execution":"and"}],"show_legend":true,"markers":[{"display_type":"error dashed","value":"y=500000","label":"y=500000"},{"display_type":"warning dashed","value":"y=400000","label":"y=400000"}],"time":{"live_span":"5m"},"title":"system.cpu.user, env, process.stat.cpu.total_pct, network.bytes_read, @d...","legend_size":"2","type":"timeseries","requests":[{"on_right_yaxis":true,"style":{"line_width":"normal","palette":"cool","line_type":"solid"},"display_type":"line","log_query":{"index":"*","search":{"query":""},"group_by":[{"facet":"service","sort":{"aggregation":"count","order":"desc"},"limit":10}],"multi_compute":[{"aggregation":"count"},{"facet":"env","interval":1000,"aggregation":"cardinality"}]}}]},"id":4310322390295271}],"layout_type":"ordered"}' headers: Cache-Control: - no-cache @@ -112,7 +112,7 @@ interactions: Content-Type: - application/json Date: - - Tue, 20 Apr 2021 14:47:53 GMT + - Mon, 07 Jun 2021 19:31:09 GMT Pragma: - no-cache Strict-Transport-Security: @@ -122,9 +122,9 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Debug: - - B1nwy/pPNqX+q4pQT22cdp1QCexE35IF8qwSHy0Nf7IW0Y881qtn4tXN1lpmzaKc + - 5gfwVh/5HZ+AnGd/Di93w3NEWC6KMHT9KzmHEiRJmNdOjBtAsbOcgVFyqEChw71h X-Dd-Version: - - "35.4351615" + - "35.4693673" X-Frame-Options: - SAMEORIGIN status: 200 OK @@ -139,11 +139,11 @@ interactions: Dd-Operation-Id: - GetDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 2.4.4; terraform-cli 0.14.7) datadog-api-client-go/1.0.0-beta.19 (go go1.16.3; os darwin; arch amd64) - url: https://api.datadoghq.com/api/v1/dashboard/jbu-p37-vfz + - terraform-provider-datadog/dev (terraform 2.6.1; terraform-cli 0.15.3) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) + url: https://api.datadoghq.com/api/v1/dashboard/2z6-99n-syc 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":"jbu-p37-vfz","title":"tf-TestAccDatadogDashboardTimeseriesMultiCompute_import-local-1618930067","url":"/dashboard/jbu-p37-vfz/tf-testaccdatadogdashboardtimeseriesmulticomputeimport-local-1618930067","created_at":"2021-04-20T14:47:48.916008+00:00","modified_at":"2021-04-20T14:47:48.916008+00:00","author_handle":"frog@datadoghq.com","widgets":[{"definition":{"title_size":"16","yaxis":{"include_zero":true,"min":"0","max":"599999"},"title_align":"left","right_yaxis":{"include_zero":false,"min":"1","max":"599998"},"events":[{"q":"sources:test tags:1","tags_execution":"and"}],"show_legend":true,"markers":[{"display_type":"error dashed","value":"y=500000","label":"y=500000"},{"display_type":"warning dashed","value":"y=400000","label":"y=400000"}],"time":{"live_span":"5m"},"title":"system.cpu.user, env, process.stat.cpu.total_pct, network.bytes_read, @d...","legend_size":"2","type":"timeseries","requests":[{"on_right_yaxis":true,"style":{"line_width":"normal","palette":"cool","line_type":"solid"},"display_type":"line","log_query":{"index":"*","search":{"query":""},"group_by":[{"facet":"service","sort":{"aggregation":"count","order":"desc"},"limit":10}],"multi_compute":[{"aggregation":"count"},{"facet":"env","interval":1000,"aggregation":"cardinality"}]}}]},"id":6919684455779179}],"layout_type":"ordered"}' + body: '{"notify_list":[],"description":"Created using the Datadog provider in Terraform","author_name":null,"template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"2z6-99n-syc","title":"tf-TestAccDatadogDashboardTimeseriesMultiCompute_import-local-1623094227","url":"/dashboard/2z6-99n-syc/tf-testaccdatadogdashboardtimeseriesmulticomputeimport-local-1623094227","created_at":"2021-06-07T19:30:53.843201+00:00","modified_at":"2021-06-07T19:30:53.843201+00:00","author_handle":"frog@datadoghq.com","widgets":[{"definition":{"title_size":"16","yaxis":{"include_zero":true,"min":"0","max":"599999"},"title_align":"left","right_yaxis":{"include_zero":false,"min":"1","max":"599998"},"events":[{"q":"sources:test tags:1","tags_execution":"and"}],"show_legend":true,"markers":[{"display_type":"error dashed","value":"y=500000","label":"y=500000"},{"display_type":"warning dashed","value":"y=400000","label":"y=400000"}],"time":{"live_span":"5m"},"title":"system.cpu.user, env, process.stat.cpu.total_pct, network.bytes_read, @d...","legend_size":"2","type":"timeseries","requests":[{"on_right_yaxis":true,"style":{"line_width":"normal","palette":"cool","line_type":"solid"},"display_type":"line","log_query":{"index":"*","search":{"query":""},"group_by":[{"facet":"service","sort":{"aggregation":"count","order":"desc"},"limit":10}],"multi_compute":[{"aggregation":"count"},{"facet":"env","interval":1000,"aggregation":"cardinality"}]}}]},"id":4310322390295271}],"layout_type":"ordered"}' headers: Cache-Control: - no-cache @@ -154,7 +154,7 @@ interactions: Content-Type: - application/json Date: - - Tue, 20 Apr 2021 14:47:54 GMT + - Mon, 07 Jun 2021 19:31:32 GMT Pragma: - no-cache Strict-Transport-Security: @@ -164,9 +164,9 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Debug: - - bgHykj7A9bfZx0Y5ZO3swhhp5tGUSNJHqFWR868+qg087CYrDOd5hQslC+noiEtH + - Wjq53IVIwnB4SiR238oOYgHFMq/ZYP0LQ/Dv8C2fFLBwTje/dWJHu6pI6vIOK1zG X-Dd-Version: - - "35.4351615" + - "35.4693673" X-Frame-Options: - SAMEORIGIN status: 200 OK @@ -181,11 +181,11 @@ interactions: Dd-Operation-Id: - DeleteDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 2.4.4; terraform-cli 0.14.7) datadog-api-client-go/1.0.0-beta.19 (go go1.16.3; os darwin; arch amd64) - url: https://api.datadoghq.com/api/v1/dashboard/jbu-p37-vfz + - terraform-provider-datadog/dev (terraform 2.6.1; terraform-cli 0.15.3) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) + url: https://api.datadoghq.com/api/v1/dashboard/2z6-99n-syc method: DELETE response: - body: '{"deleted_dashboard_id":"jbu-p37-vfz"}' + body: '{"deleted_dashboard_id":"2z6-99n-syc"}' headers: Cache-Control: - no-cache @@ -196,7 +196,7 @@ interactions: Content-Type: - application/json Date: - - Tue, 20 Apr 2021 14:47:54 GMT + - Mon, 07 Jun 2021 19:31:41 GMT Pragma: - no-cache Strict-Transport-Security: @@ -206,9 +206,9 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Debug: - - SY1h8ScsWq+kYmtbh63ltMLFAZsQjqfrgvdfAoRX+9TzT1sgMBRYaFRwfWWRRe9a + - l4HFlaRP3QwYSqoGKhzbYfv7zgkK63HIRR7YkyVYZspq0lGjjTBwoK8V/alf+XYt X-Dd-Version: - - "35.4351615" + - "35.4693673" X-Frame-Options: - SAMEORIGIN status: 200 OK @@ -223,11 +223,11 @@ interactions: Dd-Operation-Id: - GetDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 2.4.4; terraform-cli 0.14.7) datadog-api-client-go/1.0.0-beta.19 (go go1.16.3; os darwin; arch amd64) - url: https://api.datadoghq.com/api/v1/dashboard/jbu-p37-vfz + - terraform-provider-datadog/dev (terraform 2.6.1; terraform-cli 0.15.3) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) + url: https://api.datadoghq.com/api/v1/dashboard/2z6-99n-syc method: GET response: - body: '{"errors": ["Dashboard with ID jbu-p37-vfz not found"]}' + body: '{"errors": ["Dashboard with ID 2z6-99n-syc not found"]}' headers: Cache-Control: - no-cache @@ -238,7 +238,7 @@ interactions: Content-Type: - application/json Date: - - Tue, 20 Apr 2021 14:47:55 GMT + - Mon, 07 Jun 2021 19:31:42 GMT Pragma: - no-cache Strict-Transport-Security: @@ -248,7 +248,7 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Version: - - "35.4351615" + - "35.4693673" X-Frame-Options: - SAMEORIGIN status: 404 Not Found diff --git a/datadog/tests/cassettes/TestAccDatadogDashboardTimeseries_import.freeze b/datadog/tests/cassettes/TestAccDatadogDashboardTimeseries_import.freeze index 807534016..8f2fd1e5f 100644 --- a/datadog/tests/cassettes/TestAccDatadogDashboardTimeseries_import.freeze +++ b/datadog/tests/cassettes/TestAccDatadogDashboardTimeseries_import.freeze @@ -1 +1 @@ -2021-04-20T10:47:47.07862-04:00 \ No newline at end of file +2021-06-07T15:23:28.127955-04:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogDashboardTimeseries_import.yaml b/datadog/tests/cassettes/TestAccDatadogDashboardTimeseries_import.yaml index ee5a09075..7d0a4813b 100644 --- a/datadog/tests/cassettes/TestAccDatadogDashboardTimeseries_import.yaml +++ b/datadog/tests/cassettes/TestAccDatadogDashboardTimeseries_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-TestAccDatadogDashboardTimeseries_import-local-1618930067","widgets":[{"definition":{"custom_links":[{"label":"Test Custom Link label","link":"https://app.datadoghq.com/dashboard/lists"}],"events":[{"q":"sources:test tags:1","tags_execution":"and"}],"legend_columns":["value","min","max"],"legend_layout":"horizontal","legend_size":"2","markers":[{"display_type":"error dashed","label":"y=500000","value":"y=500000"},{"display_type":"warning dashed","label":"y=400000","value":"y=400000"}],"requests":[{"display_type":"line","metadata":[{"expression":""}],"on_right_yaxis":true,"q":"avg:system.cpu.user{env:prod} by {app}","style":{"line_type":"solid","line_width":"thin","palette":"dog_classic"}},{"display_type":"line","log_query":{"compute":{"aggregation":"count"},"group_by":[{"facet":"service","limit":10,"sort":{"aggregation":"count","order":"desc"}}],"index":"*","search":{"query":""}},"on_right_yaxis":false,"style":{"line_type":"solid","line_width":"normal","palette":"cool"}},{"apm_query":{"compute":{"aggregation":"cardinality","facet":"env","interval":1000},"group_by":[{"facet":"status","limit":10,"sort":{"aggregation":"cardinality","facet":"env","order":"desc"}}],"index":"trace-search","search":{"query":""}},"display_type":"line","on_right_yaxis":true,"style":{"line_type":"dashed","line_width":"thick","palette":"warm"}},{"display_type":"line","on_right_yaxis":true,"process_query":{"filter_by":["account:prod"],"limit":10,"metric":"process.stat.cpu.total_pct"},"style":{"line_type":"solid","line_width":"normal","palette":"purple"}},{"display_type":"area","network_query":{"compute":{"aggregation":"sum","facet":"network.bytes_read"},"group_by":[{"facet":"source_region"},{"facet":"dest_environment"}],"index":"netflow-search","search":{"query":"network.transport:udp network.destination.ip:\"*\""}},"on_right_yaxis":true,"style":{"line_type":"solid","line_width":"normal","palette":"orange"}},{"display_type":"area","on_right_yaxis":true,"rum_query":{"compute":{"aggregation":"avg","facet":"@duration","interval":10},"group_by":[{"facet":"service","limit":10,"sort":{"aggregation":"avg","facet":"@duration","order":"desc"}}],"index":"*","search":{"query":""}},"style":{"line_type":"solid","line_width":"normal","palette":"grey"}}],"right_yaxis":{"include_zero":false,"max":"599998","min":"1"},"show_legend":true,"time":{"live_span":"5m"},"title":"system.cpu.user, env, process.stat.cpu.total_pct, network.bytes_read, @d...","title_align":"left","title_size":"16","type":"timeseries","yaxis":{"include_zero":true,"max":"599999","min":"0"}}}]} + {"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-TestAccDatadogDashboardTimeseries_import-local-1623093808","widgets":[{"definition":{"custom_links":[{"label":"Test Custom Link label","link":"https://app.datadoghq.com/dashboard/lists"}],"events":[{"q":"sources:test tags:1","tags_execution":"and"}],"legend_columns":["value","min","max"],"legend_layout":"horizontal","legend_size":"2","markers":[{"display_type":"error dashed","label":"y=500000","value":"y=500000"},{"display_type":"warning dashed","label":"y=400000","value":"y=400000"}],"requests":[{"display_type":"line","metadata":[{"expression":""}],"on_right_yaxis":true,"q":"avg:system.cpu.user{env:prod} by {app}","style":{"line_type":"solid","line_width":"thin","palette":"dog_classic"}},{"display_type":"line","log_query":{"compute":{"aggregation":"count"},"group_by":[{"facet":"service","limit":10,"sort":{"aggregation":"count","order":"desc"}}],"index":"*","search":{"query":""}},"on_right_yaxis":false,"style":{"line_type":"solid","line_width":"normal","palette":"cool"}},{"apm_query":{"compute":{"aggregation":"cardinality","facet":"env","interval":1000},"group_by":[{"facet":"status","limit":10,"sort":{"aggregation":"cardinality","facet":"env","order":"desc"}}],"index":"trace-search","search":{"query":""}},"display_type":"line","on_right_yaxis":true,"style":{"line_type":"dashed","line_width":"thick","palette":"warm"}},{"display_type":"line","on_right_yaxis":true,"process_query":{"filter_by":["account:prod"],"limit":10,"metric":"process.stat.cpu.total_pct"},"style":{"line_type":"solid","line_width":"normal","palette":"purple"}},{"display_type":"area","network_query":{"compute":{"aggregation":"sum","facet":"network.bytes_read"},"group_by":[{"facet":"source_region"},{"facet":"dest_environment"}],"index":"netflow-search","search":{"query":"network.transport:udp network.destination.ip:\"*\""}},"on_right_yaxis":true,"style":{"line_type":"solid","line_width":"normal","palette":"orange"}},{"display_type":"area","on_right_yaxis":true,"rum_query":{"compute":{"aggregation":"avg","facet":"@duration","interval":10},"group_by":[{"facet":"service","limit":10,"sort":{"aggregation":"avg","facet":"@duration","order":"desc"}}],"index":"*","search":{"query":""}},"style":{"line_type":"solid","line_width":"normal","palette":"grey"}}],"right_yaxis":{"include_zero":false,"max":"599998","min":"1"},"show_legend":true,"time":{"live_span":"5m"},"title":"system.cpu.user, env, process.stat.cpu.total_pct, network.bytes_read, @d...","title_align":"left","title_size":"16","type":"timeseries","yaxis":{"include_zero":true,"max":"599999","min":"0"}}}]} form: {} headers: Accept: @@ -13,11 +13,11 @@ interactions: Dd-Operation-Id: - CreateDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 2.4.4; terraform-cli 0.14.7) datadog-api-client-go/1.0.0-beta.19 (go go1.16.3; os darwin; arch amd64) + - terraform-provider-datadog/dev (terraform 2.6.1; terraform-cli 0.15.3) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) 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":"x6h-b9x-7d7","title":"tf-TestAccDatadogDashboardTimeseries_import-local-1618930067","url":"/dashboard/x6h-b9x-7d7/tf-testaccdatadogdashboardtimeseriesimport-local-1618930067","created_at":"2021-04-20T14:47:48.944960+00:00","modified_at":"2021-04-20T14:47:48.944960+00:00","author_handle":"frog@datadoghq.com","widgets":[{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test Custom Link label"}],"title_size":"16","legend_columns":["value","min","max"],"title":"system.cpu.user, env, process.stat.cpu.total_pct, network.bytes_read, @d...","title_align":"left","markers":[{"display_type":"error dashed","value":"y=500000","label":"y=500000"},{"display_type":"warning dashed","value":"y=400000","label":"y=400000"}],"yaxis":{"include_zero":true,"min":"0","max":"599999"},"legend_layout":"horizontal","show_legend":true,"right_yaxis":{"include_zero":false,"min":"1","max":"599998"},"time":{"live_span":"5m"},"legend_size":"2","requests":[{"q":"avg:system.cpu.user{env:prod} by {app}","on_right_yaxis":true,"style":{"line_width":"thin","palette":"dog_classic","line_type":"solid"},"display_type":"line","metadata":[{"expression":""}]},{"on_right_yaxis":false,"style":{"line_width":"normal","palette":"cool","line_type":"solid"},"display_type":"line","log_query":{"index":"*","search":{"query":""},"group_by":[{"facet":"service","sort":{"aggregation":"count","order":"desc"},"limit":10}],"compute":{"aggregation":"count"}}},{"on_right_yaxis":true,"style":{"line_width":"thick","palette":"warm","line_type":"dashed"},"apm_query":{"index":"trace-search","search":{"query":""},"group_by":[{"facet":"status","sort":{"facet":"env","aggregation":"cardinality","order":"desc"},"limit":10}],"compute":{"facet":"env","interval":1000,"aggregation":"cardinality"}},"display_type":"line"},{"on_right_yaxis":true,"style":{"line_width":"normal","palette":"purple","line_type":"solid"},"process_query":{"metric":"process.stat.cpu.total_pct","limit":10,"filter_by":["account:prod"]},"display_type":"line"},{"on_right_yaxis":true,"style":{"line_width":"normal","palette":"orange","line_type":"solid"},"display_type":"area","network_query":{"index":"netflow-search","search":{"query":"network.transport:udp network.destination.ip:\"*\""},"group_by":[{"facet":"source_region"},{"facet":"dest_environment"}],"compute":{"facet":"network.bytes_read","aggregation":"sum"}}},{"on_right_yaxis":true,"style":{"line_width":"normal","palette":"grey","line_type":"solid"},"rum_query":{"index":"*","search":{"query":""},"group_by":[{"facet":"service","sort":{"facet":"@duration","aggregation":"avg","order":"desc"},"limit":10}],"compute":{"facet":"@duration","interval":10,"aggregation":"avg"}},"display_type":"area"}],"type":"timeseries","events":[{"q":"sources:test tags:1","tags_execution":"and"}]},"id":6915616040296303}],"layout_type":"ordered"}' + body: '{"notify_list":[],"description":"Created using the Datadog provider in Terraform","author_name":null,"template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"zrr-p9u-a4z","title":"tf-TestAccDatadogDashboardTimeseries_import-local-1623093808","url":"/dashboard/zrr-p9u-a4z/tf-testaccdatadogdashboardtimeseriesimport-local-1623093808","created_at":"2021-06-07T19:23:56.682320+00:00","modified_at":"2021-06-07T19:23:56.682320+00:00","author_handle":"frog@datadoghq.com","widgets":[{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test Custom Link label"}],"title_size":"16","legend_columns":["value","min","max"],"title":"system.cpu.user, env, process.stat.cpu.total_pct, network.bytes_read, @d...","title_align":"left","markers":[{"display_type":"error dashed","value":"y=500000","label":"y=500000"},{"display_type":"warning dashed","value":"y=400000","label":"y=400000"}],"yaxis":{"include_zero":true,"min":"0","max":"599999"},"legend_layout":"horizontal","show_legend":true,"right_yaxis":{"include_zero":false,"min":"1","max":"599998"},"time":{"live_span":"5m"},"legend_size":"2","requests":[{"q":"avg:system.cpu.user{env:prod} by {app}","on_right_yaxis":true,"style":{"line_width":"thin","palette":"dog_classic","line_type":"solid"},"display_type":"line","metadata":[{"expression":""}]},{"on_right_yaxis":false,"style":{"line_width":"normal","palette":"cool","line_type":"solid"},"display_type":"line","log_query":{"index":"*","search":{"query":""},"group_by":[{"facet":"service","sort":{"aggregation":"count","order":"desc"},"limit":10}],"compute":{"aggregation":"count"}}},{"on_right_yaxis":true,"style":{"line_width":"thick","palette":"warm","line_type":"dashed"},"apm_query":{"index":"trace-search","search":{"query":""},"group_by":[{"facet":"status","sort":{"facet":"env","aggregation":"cardinality","order":"desc"},"limit":10}],"compute":{"facet":"env","interval":1000,"aggregation":"cardinality"}},"display_type":"line"},{"on_right_yaxis":true,"style":{"line_width":"normal","palette":"purple","line_type":"solid"},"process_query":{"metric":"process.stat.cpu.total_pct","limit":10,"filter_by":["account:prod"]},"display_type":"line"},{"on_right_yaxis":true,"style":{"line_width":"normal","palette":"orange","line_type":"solid"},"display_type":"area","network_query":{"index":"netflow-search","search":{"query":"network.transport:udp network.destination.ip:\"*\""},"group_by":[{"facet":"source_region"},{"facet":"dest_environment"}],"compute":{"facet":"network.bytes_read","aggregation":"sum"}}},{"on_right_yaxis":true,"style":{"line_width":"normal","palette":"grey","line_type":"solid"},"rum_query":{"index":"*","search":{"query":""},"group_by":[{"facet":"service","sort":{"facet":"@duration","aggregation":"avg","order":"desc"},"limit":10}],"compute":{"facet":"@duration","interval":10,"aggregation":"avg"}},"display_type":"area"}],"type":"timeseries","events":[{"q":"sources:test tags:1","tags_execution":"and"}]},"id":1931710450637415}],"layout_type":"ordered"}' headers: Cache-Control: - no-cache @@ -28,7 +28,7 @@ interactions: Content-Type: - application/json Date: - - Tue, 20 Apr 2021 14:47:51 GMT + - Mon, 07 Jun 2021 19:23:57 GMT Pragma: - no-cache Strict-Transport-Security: @@ -38,9 +38,9 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Debug: - - dCmL/3rURV6BPeaqeP3Rxigq41m5CAb17XjrRE42uZ01zpr07HVhbL5/3TWMkvgu + - HbtaOKlJ6OCrx9tMXO6ivMTrEM+g0c93HDp08trmOmgdHozC5J+vn10F0H4WPjCU X-Dd-Version: - - "35.4351615" + - "35.4693436" X-Frame-Options: - SAMEORIGIN status: 200 OK @@ -55,11 +55,11 @@ interactions: Dd-Operation-Id: - GetDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 2.4.4; terraform-cli 0.14.7) datadog-api-client-go/1.0.0-beta.19 (go go1.16.3; os darwin; arch amd64) - url: https://api.datadoghq.com/api/v1/dashboard/x6h-b9x-7d7 + - terraform-provider-datadog/dev (terraform 2.6.1; terraform-cli 0.15.3) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) + url: https://api.datadoghq.com/api/v1/dashboard/zrr-p9u-a4z 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":"x6h-b9x-7d7","title":"tf-TestAccDatadogDashboardTimeseries_import-local-1618930067","url":"/dashboard/x6h-b9x-7d7/tf-testaccdatadogdashboardtimeseriesimport-local-1618930067","created_at":"2021-04-20T14:47:48.944960+00:00","modified_at":"2021-04-20T14:47:48.944960+00:00","author_handle":"frog@datadoghq.com","widgets":[{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test Custom Link label"}],"title_size":"16","legend_columns":["value","min","max"],"title":"system.cpu.user, env, process.stat.cpu.total_pct, network.bytes_read, @d...","title_align":"left","markers":[{"display_type":"error dashed","value":"y=500000","label":"y=500000"},{"display_type":"warning dashed","value":"y=400000","label":"y=400000"}],"yaxis":{"include_zero":true,"min":"0","max":"599999"},"legend_layout":"horizontal","show_legend":true,"right_yaxis":{"include_zero":false,"min":"1","max":"599998"},"time":{"live_span":"5m"},"legend_size":"2","requests":[{"q":"avg:system.cpu.user{env:prod} by {app}","on_right_yaxis":true,"style":{"line_width":"thin","palette":"dog_classic","line_type":"solid"},"display_type":"line","metadata":[{"expression":""}]},{"on_right_yaxis":false,"style":{"line_width":"normal","palette":"cool","line_type":"solid"},"display_type":"line","log_query":{"index":"*","search":{"query":""},"group_by":[{"facet":"service","sort":{"aggregation":"count","order":"desc"},"limit":10}],"compute":{"aggregation":"count"}}},{"on_right_yaxis":true,"style":{"line_width":"thick","palette":"warm","line_type":"dashed"},"apm_query":{"index":"trace-search","search":{"query":""},"group_by":[{"facet":"status","sort":{"facet":"env","aggregation":"cardinality","order":"desc"},"limit":10}],"compute":{"facet":"env","interval":1000,"aggregation":"cardinality"}},"display_type":"line"},{"on_right_yaxis":true,"style":{"line_width":"normal","palette":"purple","line_type":"solid"},"process_query":{"metric":"process.stat.cpu.total_pct","limit":10,"filter_by":["account:prod"]},"display_type":"line"},{"on_right_yaxis":true,"style":{"line_width":"normal","palette":"orange","line_type":"solid"},"display_type":"area","network_query":{"index":"netflow-search","search":{"query":"network.transport:udp network.destination.ip:\"*\""},"group_by":[{"facet":"source_region"},{"facet":"dest_environment"}],"compute":{"facet":"network.bytes_read","aggregation":"sum"}}},{"on_right_yaxis":true,"style":{"line_width":"normal","palette":"grey","line_type":"solid"},"rum_query":{"index":"*","search":{"query":""},"group_by":[{"facet":"service","sort":{"facet":"@duration","aggregation":"avg","order":"desc"},"limit":10}],"compute":{"facet":"@duration","interval":10,"aggregation":"avg"}},"display_type":"area"}],"type":"timeseries","events":[{"q":"sources:test tags:1","tags_execution":"and"}]},"id":6915616040296303}],"layout_type":"ordered"}' + body: '{"notify_list":[],"description":"Created using the Datadog provider in Terraform","author_name":null,"template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"zrr-p9u-a4z","title":"tf-TestAccDatadogDashboardTimeseries_import-local-1623093808","url":"/dashboard/zrr-p9u-a4z/tf-testaccdatadogdashboardtimeseriesimport-local-1623093808","created_at":"2021-06-07T19:23:56.682320+00:00","modified_at":"2021-06-07T19:23:56.682320+00:00","author_handle":"frog@datadoghq.com","widgets":[{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test Custom Link label"}],"title_size":"16","legend_columns":["value","min","max"],"title":"system.cpu.user, env, process.stat.cpu.total_pct, network.bytes_read, @d...","title_align":"left","markers":[{"display_type":"error dashed","value":"y=500000","label":"y=500000"},{"display_type":"warning dashed","value":"y=400000","label":"y=400000"}],"yaxis":{"include_zero":true,"min":"0","max":"599999"},"legend_layout":"horizontal","show_legend":true,"right_yaxis":{"include_zero":false,"min":"1","max":"599998"},"time":{"live_span":"5m"},"legend_size":"2","requests":[{"q":"avg:system.cpu.user{env:prod} by {app}","on_right_yaxis":true,"style":{"line_width":"thin","palette":"dog_classic","line_type":"solid"},"display_type":"line","metadata":[{"expression":""}]},{"on_right_yaxis":false,"style":{"line_width":"normal","palette":"cool","line_type":"solid"},"display_type":"line","log_query":{"index":"*","search":{"query":""},"group_by":[{"facet":"service","sort":{"aggregation":"count","order":"desc"},"limit":10}],"compute":{"aggregation":"count"}}},{"on_right_yaxis":true,"style":{"line_width":"thick","palette":"warm","line_type":"dashed"},"apm_query":{"index":"trace-search","search":{"query":""},"group_by":[{"facet":"status","sort":{"facet":"env","aggregation":"cardinality","order":"desc"},"limit":10}],"compute":{"facet":"env","interval":1000,"aggregation":"cardinality"}},"display_type":"line"},{"on_right_yaxis":true,"style":{"line_width":"normal","palette":"purple","line_type":"solid"},"process_query":{"metric":"process.stat.cpu.total_pct","limit":10,"filter_by":["account:prod"]},"display_type":"line"},{"on_right_yaxis":true,"style":{"line_width":"normal","palette":"orange","line_type":"solid"},"display_type":"area","network_query":{"index":"netflow-search","search":{"query":"network.transport:udp network.destination.ip:\"*\""},"group_by":[{"facet":"source_region"},{"facet":"dest_environment"}],"compute":{"facet":"network.bytes_read","aggregation":"sum"}}},{"on_right_yaxis":true,"style":{"line_width":"normal","palette":"grey","line_type":"solid"},"rum_query":{"index":"*","search":{"query":""},"group_by":[{"facet":"service","sort":{"facet":"@duration","aggregation":"avg","order":"desc"},"limit":10}],"compute":{"facet":"@duration","interval":10,"aggregation":"avg"}},"display_type":"area"}],"type":"timeseries","events":[{"q":"sources:test tags:1","tags_execution":"and"}]},"id":1931710450637415}],"layout_type":"ordered"}' headers: Cache-Control: - no-cache @@ -70,7 +70,7 @@ interactions: Content-Type: - application/json Date: - - Tue, 20 Apr 2021 14:47:52 GMT + - Mon, 07 Jun 2021 19:23:57 GMT Pragma: - no-cache Strict-Transport-Security: @@ -80,9 +80,9 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Debug: - - gYZcaADwbKcv7Hm19HJx6WsLoKuOijDWAt2viPeCfWqUgyKY+9e1xZdmMJeXV3YV + - S1wfaMZOKGT/IoMw6fqAwAwGWo2vQ44sjF3YzuETnQfxZO2T5eJbs0aX3UKb9Dwu X-Dd-Version: - - "35.4351615" + - "35.4693436" X-Frame-Options: - SAMEORIGIN status: 200 OK @@ -97,11 +97,11 @@ interactions: Dd-Operation-Id: - GetDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 2.4.4; terraform-cli 0.14.7) datadog-api-client-go/1.0.0-beta.19 (go go1.16.3; os darwin; arch amd64) - url: https://api.datadoghq.com/api/v1/dashboard/x6h-b9x-7d7 + - terraform-provider-datadog/dev (terraform 2.6.1; terraform-cli 0.15.3) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) + url: https://api.datadoghq.com/api/v1/dashboard/zrr-p9u-a4z 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":"x6h-b9x-7d7","title":"tf-TestAccDatadogDashboardTimeseries_import-local-1618930067","url":"/dashboard/x6h-b9x-7d7/tf-testaccdatadogdashboardtimeseriesimport-local-1618930067","created_at":"2021-04-20T14:47:48.944960+00:00","modified_at":"2021-04-20T14:47:48.944960+00:00","author_handle":"frog@datadoghq.com","widgets":[{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test Custom Link label"}],"title_size":"16","legend_columns":["value","min","max"],"title":"system.cpu.user, env, process.stat.cpu.total_pct, network.bytes_read, @d...","title_align":"left","markers":[{"display_type":"error dashed","value":"y=500000","label":"y=500000"},{"display_type":"warning dashed","value":"y=400000","label":"y=400000"}],"yaxis":{"include_zero":true,"min":"0","max":"599999"},"legend_layout":"horizontal","show_legend":true,"right_yaxis":{"include_zero":false,"min":"1","max":"599998"},"time":{"live_span":"5m"},"legend_size":"2","requests":[{"q":"avg:system.cpu.user{env:prod} by {app}","on_right_yaxis":true,"style":{"line_width":"thin","palette":"dog_classic","line_type":"solid"},"display_type":"line","metadata":[{"expression":""}]},{"on_right_yaxis":false,"style":{"line_width":"normal","palette":"cool","line_type":"solid"},"display_type":"line","log_query":{"index":"*","search":{"query":""},"group_by":[{"facet":"service","sort":{"aggregation":"count","order":"desc"},"limit":10}],"compute":{"aggregation":"count"}}},{"on_right_yaxis":true,"style":{"line_width":"thick","palette":"warm","line_type":"dashed"},"apm_query":{"index":"trace-search","search":{"query":""},"group_by":[{"facet":"status","sort":{"facet":"env","aggregation":"cardinality","order":"desc"},"limit":10}],"compute":{"facet":"env","interval":1000,"aggregation":"cardinality"}},"display_type":"line"},{"on_right_yaxis":true,"style":{"line_width":"normal","palette":"purple","line_type":"solid"},"process_query":{"metric":"process.stat.cpu.total_pct","limit":10,"filter_by":["account:prod"]},"display_type":"line"},{"on_right_yaxis":true,"style":{"line_width":"normal","palette":"orange","line_type":"solid"},"display_type":"area","network_query":{"index":"netflow-search","search":{"query":"network.transport:udp network.destination.ip:\"*\""},"group_by":[{"facet":"source_region"},{"facet":"dest_environment"}],"compute":{"facet":"network.bytes_read","aggregation":"sum"}}},{"on_right_yaxis":true,"style":{"line_width":"normal","palette":"grey","line_type":"solid"},"rum_query":{"index":"*","search":{"query":""},"group_by":[{"facet":"service","sort":{"facet":"@duration","aggregation":"avg","order":"desc"},"limit":10}],"compute":{"facet":"@duration","interval":10,"aggregation":"avg"}},"display_type":"area"}],"type":"timeseries","events":[{"q":"sources:test tags:1","tags_execution":"and"}]},"id":6915616040296303}],"layout_type":"ordered"}' + body: '{"notify_list":[],"description":"Created using the Datadog provider in Terraform","author_name":null,"template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"zrr-p9u-a4z","title":"tf-TestAccDatadogDashboardTimeseries_import-local-1623093808","url":"/dashboard/zrr-p9u-a4z/tf-testaccdatadogdashboardtimeseriesimport-local-1623093808","created_at":"2021-06-07T19:23:56.682320+00:00","modified_at":"2021-06-07T19:23:56.682320+00:00","author_handle":"frog@datadoghq.com","widgets":[{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test Custom Link label"}],"title_size":"16","legend_columns":["value","min","max"],"title":"system.cpu.user, env, process.stat.cpu.total_pct, network.bytes_read, @d...","title_align":"left","markers":[{"display_type":"error dashed","value":"y=500000","label":"y=500000"},{"display_type":"warning dashed","value":"y=400000","label":"y=400000"}],"yaxis":{"include_zero":true,"min":"0","max":"599999"},"legend_layout":"horizontal","show_legend":true,"right_yaxis":{"include_zero":false,"min":"1","max":"599998"},"time":{"live_span":"5m"},"legend_size":"2","requests":[{"q":"avg:system.cpu.user{env:prod} by {app}","on_right_yaxis":true,"style":{"line_width":"thin","palette":"dog_classic","line_type":"solid"},"display_type":"line","metadata":[{"expression":""}]},{"on_right_yaxis":false,"style":{"line_width":"normal","palette":"cool","line_type":"solid"},"display_type":"line","log_query":{"index":"*","search":{"query":""},"group_by":[{"facet":"service","sort":{"aggregation":"count","order":"desc"},"limit":10}],"compute":{"aggregation":"count"}}},{"on_right_yaxis":true,"style":{"line_width":"thick","palette":"warm","line_type":"dashed"},"apm_query":{"index":"trace-search","search":{"query":""},"group_by":[{"facet":"status","sort":{"facet":"env","aggregation":"cardinality","order":"desc"},"limit":10}],"compute":{"facet":"env","interval":1000,"aggregation":"cardinality"}},"display_type":"line"},{"on_right_yaxis":true,"style":{"line_width":"normal","palette":"purple","line_type":"solid"},"process_query":{"metric":"process.stat.cpu.total_pct","limit":10,"filter_by":["account:prod"]},"display_type":"line"},{"on_right_yaxis":true,"style":{"line_width":"normal","palette":"orange","line_type":"solid"},"display_type":"area","network_query":{"index":"netflow-search","search":{"query":"network.transport:udp network.destination.ip:\"*\""},"group_by":[{"facet":"source_region"},{"facet":"dest_environment"}],"compute":{"facet":"network.bytes_read","aggregation":"sum"}}},{"on_right_yaxis":true,"style":{"line_width":"normal","palette":"grey","line_type":"solid"},"rum_query":{"index":"*","search":{"query":""},"group_by":[{"facet":"service","sort":{"facet":"@duration","aggregation":"avg","order":"desc"},"limit":10}],"compute":{"facet":"@duration","interval":10,"aggregation":"avg"}},"display_type":"area"}],"type":"timeseries","events":[{"q":"sources:test tags:1","tags_execution":"and"}]},"id":1931710450637415}],"layout_type":"ordered"}' headers: Cache-Control: - no-cache @@ -112,7 +112,7 @@ interactions: Content-Type: - application/json Date: - - Tue, 20 Apr 2021 14:47:53 GMT + - Mon, 07 Jun 2021 19:24:09 GMT Pragma: - no-cache Strict-Transport-Security: @@ -122,9 +122,9 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Debug: - - mNzaoDhdDKO7t4QSrAe5X7pHd0bJND187D+vRbwoluXouE2m1UaQQX0RGCvRpLVE + - L3ULR3HwCWYmEqCWGz2Yob3chcH4pjowBacBXkncP7o+/uPqKt9yGEYf/g1AJPzQ X-Dd-Version: - - "35.4351615" + - "35.4693436" X-Frame-Options: - SAMEORIGIN status: 200 OK @@ -139,11 +139,11 @@ interactions: Dd-Operation-Id: - GetDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 2.4.4; terraform-cli 0.14.7) datadog-api-client-go/1.0.0-beta.19 (go go1.16.3; os darwin; arch amd64) - url: https://api.datadoghq.com/api/v1/dashboard/x6h-b9x-7d7 + - terraform-provider-datadog/dev (terraform 2.6.1; terraform-cli 0.15.3) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) + url: https://api.datadoghq.com/api/v1/dashboard/zrr-p9u-a4z 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":"x6h-b9x-7d7","title":"tf-TestAccDatadogDashboardTimeseries_import-local-1618930067","url":"/dashboard/x6h-b9x-7d7/tf-testaccdatadogdashboardtimeseriesimport-local-1618930067","created_at":"2021-04-20T14:47:48.944960+00:00","modified_at":"2021-04-20T14:47:48.944960+00:00","author_handle":"frog@datadoghq.com","widgets":[{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test Custom Link label"}],"title_size":"16","legend_columns":["value","min","max"],"title":"system.cpu.user, env, process.stat.cpu.total_pct, network.bytes_read, @d...","title_align":"left","markers":[{"display_type":"error dashed","value":"y=500000","label":"y=500000"},{"display_type":"warning dashed","value":"y=400000","label":"y=400000"}],"yaxis":{"include_zero":true,"min":"0","max":"599999"},"legend_layout":"horizontal","show_legend":true,"right_yaxis":{"include_zero":false,"min":"1","max":"599998"},"time":{"live_span":"5m"},"legend_size":"2","requests":[{"q":"avg:system.cpu.user{env:prod} by {app}","on_right_yaxis":true,"style":{"line_width":"thin","palette":"dog_classic","line_type":"solid"},"display_type":"line","metadata":[{"expression":""}]},{"on_right_yaxis":false,"style":{"line_width":"normal","palette":"cool","line_type":"solid"},"display_type":"line","log_query":{"index":"*","search":{"query":""},"group_by":[{"facet":"service","sort":{"aggregation":"count","order":"desc"},"limit":10}],"compute":{"aggregation":"count"}}},{"on_right_yaxis":true,"style":{"line_width":"thick","palette":"warm","line_type":"dashed"},"apm_query":{"index":"trace-search","search":{"query":""},"group_by":[{"facet":"status","sort":{"facet":"env","aggregation":"cardinality","order":"desc"},"limit":10}],"compute":{"facet":"env","interval":1000,"aggregation":"cardinality"}},"display_type":"line"},{"on_right_yaxis":true,"style":{"line_width":"normal","palette":"purple","line_type":"solid"},"process_query":{"metric":"process.stat.cpu.total_pct","limit":10,"filter_by":["account:prod"]},"display_type":"line"},{"on_right_yaxis":true,"style":{"line_width":"normal","palette":"orange","line_type":"solid"},"display_type":"area","network_query":{"index":"netflow-search","search":{"query":"network.transport:udp network.destination.ip:\"*\""},"group_by":[{"facet":"source_region"},{"facet":"dest_environment"}],"compute":{"facet":"network.bytes_read","aggregation":"sum"}}},{"on_right_yaxis":true,"style":{"line_width":"normal","palette":"grey","line_type":"solid"},"rum_query":{"index":"*","search":{"query":""},"group_by":[{"facet":"service","sort":{"facet":"@duration","aggregation":"avg","order":"desc"},"limit":10}],"compute":{"facet":"@duration","interval":10,"aggregation":"avg"}},"display_type":"area"}],"type":"timeseries","events":[{"q":"sources:test tags:1","tags_execution":"and"}]},"id":6915616040296303}],"layout_type":"ordered"}' + body: '{"notify_list":[],"description":"Created using the Datadog provider in Terraform","author_name":null,"template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"zrr-p9u-a4z","title":"tf-TestAccDatadogDashboardTimeseries_import-local-1623093808","url":"/dashboard/zrr-p9u-a4z/tf-testaccdatadogdashboardtimeseriesimport-local-1623093808","created_at":"2021-06-07T19:23:56.682320+00:00","modified_at":"2021-06-07T19:23:56.682320+00:00","author_handle":"frog@datadoghq.com","widgets":[{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test Custom Link label"}],"title_size":"16","legend_columns":["value","min","max"],"title":"system.cpu.user, env, process.stat.cpu.total_pct, network.bytes_read, @d...","title_align":"left","markers":[{"display_type":"error dashed","value":"y=500000","label":"y=500000"},{"display_type":"warning dashed","value":"y=400000","label":"y=400000"}],"yaxis":{"include_zero":true,"min":"0","max":"599999"},"legend_layout":"horizontal","show_legend":true,"right_yaxis":{"include_zero":false,"min":"1","max":"599998"},"time":{"live_span":"5m"},"legend_size":"2","requests":[{"q":"avg:system.cpu.user{env:prod} by {app}","on_right_yaxis":true,"style":{"line_width":"thin","palette":"dog_classic","line_type":"solid"},"display_type":"line","metadata":[{"expression":""}]},{"on_right_yaxis":false,"style":{"line_width":"normal","palette":"cool","line_type":"solid"},"display_type":"line","log_query":{"index":"*","search":{"query":""},"group_by":[{"facet":"service","sort":{"aggregation":"count","order":"desc"},"limit":10}],"compute":{"aggregation":"count"}}},{"on_right_yaxis":true,"style":{"line_width":"thick","palette":"warm","line_type":"dashed"},"apm_query":{"index":"trace-search","search":{"query":""},"group_by":[{"facet":"status","sort":{"facet":"env","aggregation":"cardinality","order":"desc"},"limit":10}],"compute":{"facet":"env","interval":1000,"aggregation":"cardinality"}},"display_type":"line"},{"on_right_yaxis":true,"style":{"line_width":"normal","palette":"purple","line_type":"solid"},"process_query":{"metric":"process.stat.cpu.total_pct","limit":10,"filter_by":["account:prod"]},"display_type":"line"},{"on_right_yaxis":true,"style":{"line_width":"normal","palette":"orange","line_type":"solid"},"display_type":"area","network_query":{"index":"netflow-search","search":{"query":"network.transport:udp network.destination.ip:\"*\""},"group_by":[{"facet":"source_region"},{"facet":"dest_environment"}],"compute":{"facet":"network.bytes_read","aggregation":"sum"}}},{"on_right_yaxis":true,"style":{"line_width":"normal","palette":"grey","line_type":"solid"},"rum_query":{"index":"*","search":{"query":""},"group_by":[{"facet":"service","sort":{"facet":"@duration","aggregation":"avg","order":"desc"},"limit":10}],"compute":{"facet":"@duration","interval":10,"aggregation":"avg"}},"display_type":"area"}],"type":"timeseries","events":[{"q":"sources:test tags:1","tags_execution":"and"}]},"id":1931710450637415}],"layout_type":"ordered"}' headers: Cache-Control: - no-cache @@ -154,7 +154,7 @@ interactions: Content-Type: - application/json Date: - - Tue, 20 Apr 2021 14:47:54 GMT + - Mon, 07 Jun 2021 19:24:36 GMT Pragma: - no-cache Strict-Transport-Security: @@ -164,9 +164,9 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Debug: - - dPySkcOzIZtKyMKDAAzuysY3gNGGj6RtYogGuSb76E8mPvoqzREyRp6lPYm91hQU + - tpRCH6w417YjBovRJ8VmtuXmNONVYiRp2c8d2AxjPdGBn8PCtgG4vAztrx3qUZAN X-Dd-Version: - - "35.4351615" + - "35.4693436" X-Frame-Options: - SAMEORIGIN status: 200 OK @@ -181,11 +181,11 @@ interactions: Dd-Operation-Id: - DeleteDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 2.4.4; terraform-cli 0.14.7) datadog-api-client-go/1.0.0-beta.19 (go go1.16.3; os darwin; arch amd64) - url: https://api.datadoghq.com/api/v1/dashboard/x6h-b9x-7d7 + - terraform-provider-datadog/dev (terraform 2.6.1; terraform-cli 0.15.3) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) + url: https://api.datadoghq.com/api/v1/dashboard/zrr-p9u-a4z method: DELETE response: - body: '{"deleted_dashboard_id":"x6h-b9x-7d7"}' + body: '{"deleted_dashboard_id":"zrr-p9u-a4z"}' headers: Cache-Control: - no-cache @@ -196,7 +196,7 @@ interactions: Content-Type: - application/json Date: - - Tue, 20 Apr 2021 14:47:54 GMT + - Mon, 07 Jun 2021 19:24:42 GMT Pragma: - no-cache Strict-Transport-Security: @@ -206,9 +206,9 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Debug: - - L3ULR3HwCWYmEqCWGz2Yob3chcH4pjowBacBXkncP7o+/uPqKt9yGEYf/g1AJPzQ + - dPySkcOzIZtKyMKDAAzuysY3gNGGj6RtYogGuSb76E8mPvoqzREyRp6lPYm91hQU X-Dd-Version: - - "35.4351615" + - "35.4693436" X-Frame-Options: - SAMEORIGIN status: 200 OK @@ -223,11 +223,11 @@ interactions: Dd-Operation-Id: - GetDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 2.4.4; terraform-cli 0.14.7) datadog-api-client-go/1.0.0-beta.19 (go go1.16.3; os darwin; arch amd64) - url: https://api.datadoghq.com/api/v1/dashboard/x6h-b9x-7d7 + - terraform-provider-datadog/dev (terraform 2.6.1; terraform-cli 0.15.3) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) + url: https://api.datadoghq.com/api/v1/dashboard/zrr-p9u-a4z method: GET response: - body: '{"errors": ["Dashboard with ID x6h-b9x-7d7 not found"]}' + body: '{"errors": ["Dashboard with ID zrr-p9u-a4z not found"]}' headers: Cache-Control: - no-cache @@ -238,7 +238,7 @@ interactions: Content-Type: - application/json Date: - - Tue, 20 Apr 2021 14:47:55 GMT + - Mon, 07 Jun 2021 19:24:42 GMT Pragma: - no-cache Strict-Transport-Security: @@ -248,7 +248,7 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Version: - - "35.4351615" + - "35.4693436" X-Frame-Options: - SAMEORIGIN status: 404 Not Found diff --git a/datadog/tests/cassettes/TestAccDatadogDashboardTopList.freeze b/datadog/tests/cassettes/TestAccDatadogDashboardTopList.freeze index 0a187c7c0..c4d431c6a 100644 --- a/datadog/tests/cassettes/TestAccDatadogDashboardTopList.freeze +++ b/datadog/tests/cassettes/TestAccDatadogDashboardTopList.freeze @@ -1 +1 @@ -2021-03-12T17:14:21.90212-05:00 \ No newline at end of file +2021-06-07T15:51:00.268238-04:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogDashboardTopList.yaml b/datadog/tests/cassettes/TestAccDatadogDashboardTopList.yaml index 2a7ab65be..5b02a4173 100644 --- a/datadog/tests/cassettes/TestAccDatadogDashboardTopList.yaml +++ b/datadog/tests/cassettes/TestAccDatadogDashboardTopList.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-TestAccDatadogDashboardTopList-local-1615587261","widgets":[{"definition":{"custom_links":[{"label":"Test Custom Link label","link":"https://app.datadoghq.com/dashboard/lists"}],"requests":[{"conditional_formats":[{"comparator":"\u003e","hide_value":false,"palette":"white_on_red","value":15000}],"q":"top(avg:system.core.user{account:prod} by {service,app}, 10, 'sum', 'desc')"}],"time":{"live_span":"1w"},"title":"Avg of system.core.user over account:prod by service,app","title_align":"right","title_size":"16","type":"toplist"}}]} + {"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-TestAccDatadogDashboardTopList-local-1623095460","widgets":[{"definition":{"custom_links":[{"label":"Test Custom Link label","link":"https://app.datadoghq.com/dashboard/lists"},{"is_hidden":true,"link":"https://app.datadoghq.com/dashboard/lists","override_label":"logs"}],"requests":[{"conditional_formats":[{"comparator":"\u003e","hide_value":false,"palette":"white_on_red","value":15000}],"q":"top(avg:system.core.user{account:prod} by {service,app}, 10, 'sum', 'desc')"}],"time":{"live_span":"1w"},"title":"Avg of system.core.user over account:prod by service,app","title_align":"right","title_size":"16","type":"toplist"}}]} form: {} headers: Accept: @@ -13,11 +13,11 @@ interactions: Dd-Operation-Id: - CreateDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 2.4.4; terraform-cli 0.14.7) datadog-api-client-go/1.0.0-beta.16 (go go1.15.3; os darwin; arch amd64) + - terraform-provider-datadog/dev (terraform 2.6.1; terraform-cli 0.15.3) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) 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":"wsu-5g2-6p8","title":"tf-TestAccDatadogDashboardTopList-local-1615587261","url":"/dashboard/wsu-5g2-6p8/tf-testaccdatadogdashboardtoplist-local-1615587261","created_at":"2021-03-12T22:14:24.860945+00:00","modified_at":"2021-03-12T22:14:24.860945+00:00","author_handle":"frog@datadoghq.com","widgets":[{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test Custom Link label"}],"title_size":"16","title":"Avg of system.core.user over account:prod by service,app","title_align":"right","time":{"live_span":"1w"},"requests":[{"q":"top(avg:system.core.user{account:prod} by {service,app}, 10, ''sum'', ''desc'')","conditional_formats":[{"palette":"white_on_red","hide_value":false,"value":15000,"comparator":">"}]}],"type":"toplist"},"id":1094958805014679}],"layout_type":"ordered"}' + body: '{"notify_list":[],"description":"Created using the Datadog provider in Terraform","author_name":null,"template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"h4h-g2e-d2w","title":"tf-TestAccDatadogDashboardTopList-local-1623095460","url":"/dashboard/h4h-g2e-d2w/tf-testaccdatadogdashboardtoplist-local-1623095460","created_at":"2021-06-07T19:51:25.317264+00:00","modified_at":"2021-06-07T19:51:25.317264+00:00","author_handle":"frog@datadoghq.com","widgets":[{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test Custom Link label"},{"override_label":"logs","is_hidden":true,"link":"https://app.datadoghq.com/dashboard/lists"}],"title_size":"16","title":"Avg of system.core.user over account:prod by service,app","title_align":"right","time":{"live_span":"1w"},"requests":[{"q":"top(avg:system.core.user{account:prod} by {service,app}, 10, ''sum'', ''desc'')","conditional_formats":[{"palette":"white_on_red","hide_value":false,"value":15000,"comparator":">"}]}],"type":"toplist"},"id":5898962078797621}],"layout_type":"ordered"}' headers: Cache-Control: - no-cache @@ -28,7 +28,7 @@ interactions: Content-Type: - application/json Date: - - Fri, 12 Mar 2021 22:14:27 GMT + - Mon, 07 Jun 2021 19:51:26 GMT Pragma: - no-cache Strict-Transport-Security: @@ -38,9 +38,9 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Debug: - - twvpGlmuom5y6A0pjGtXzTf554cmwJgTcCZ71fK4H/RDi+v5ehBK0zQiRcTJQG5C + - bgHykj7A9bfZx0Y5ZO3swhhp5tGUSNJHqFWR868+qg087CYrDOd5hQslC+noiEtH X-Dd-Version: - - "35.4088130" + - "35.4693673" X-Frame-Options: - SAMEORIGIN status: 200 OK @@ -55,11 +55,11 @@ interactions: Dd-Operation-Id: - GetDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 2.4.4; terraform-cli 0.14.7) datadog-api-client-go/1.0.0-beta.16 (go go1.15.3; os darwin; arch amd64) - url: https://api.datadoghq.com/api/v1/dashboard/wsu-5g2-6p8 + - terraform-provider-datadog/dev (terraform 2.6.1; terraform-cli 0.15.3) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) + url: https://api.datadoghq.com/api/v1/dashboard/h4h-g2e-d2w 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":"wsu-5g2-6p8","title":"tf-TestAccDatadogDashboardTopList-local-1615587261","url":"/dashboard/wsu-5g2-6p8/tf-testaccdatadogdashboardtoplist-local-1615587261","created_at":"2021-03-12T22:14:24.860945+00:00","modified_at":"2021-03-12T22:14:24.860945+00:00","author_handle":"frog@datadoghq.com","widgets":[{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test Custom Link label"}],"title_size":"16","title":"Avg of system.core.user over account:prod by service,app","title_align":"right","time":{"live_span":"1w"},"requests":[{"q":"top(avg:system.core.user{account:prod} by {service,app}, 10, ''sum'', ''desc'')","conditional_formats":[{"palette":"white_on_red","hide_value":false,"value":15000,"comparator":">"}]}],"type":"toplist"},"id":1094958805014679}],"layout_type":"ordered"}' + body: '{"notify_list":[],"description":"Created using the Datadog provider in Terraform","author_name":null,"template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"h4h-g2e-d2w","title":"tf-TestAccDatadogDashboardTopList-local-1623095460","url":"/dashboard/h4h-g2e-d2w/tf-testaccdatadogdashboardtoplist-local-1623095460","created_at":"2021-06-07T19:51:25.317264+00:00","modified_at":"2021-06-07T19:51:25.317264+00:00","author_handle":"frog@datadoghq.com","widgets":[{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test Custom Link label"},{"override_label":"logs","is_hidden":true,"link":"https://app.datadoghq.com/dashboard/lists"}],"title_size":"16","title":"Avg of system.core.user over account:prod by service,app","title_align":"right","time":{"live_span":"1w"},"requests":[{"q":"top(avg:system.core.user{account:prod} by {service,app}, 10, ''sum'', ''desc'')","conditional_formats":[{"palette":"white_on_red","hide_value":false,"value":15000,"comparator":">"}]}],"type":"toplist"},"id":5898962078797621}],"layout_type":"ordered"}' headers: Cache-Control: - no-cache @@ -70,7 +70,7 @@ interactions: Content-Type: - application/json Date: - - Fri, 12 Mar 2021 22:14:27 GMT + - Mon, 07 Jun 2021 19:51:26 GMT Pragma: - no-cache Strict-Transport-Security: @@ -80,9 +80,9 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Debug: - - 25u1gDlL724DHllbjFT4BhOLorBTilh+aah2uWAUEjFC/+rjczJdiyWrV/HwLwe/ + - l4HFlaRP3QwYSqoGKhzbYfv7zgkK63HIRR7YkyVYZspq0lGjjTBwoK8V/alf+XYt X-Dd-Version: - - "35.4088130" + - "35.4693673" X-Frame-Options: - SAMEORIGIN status: 200 OK @@ -97,11 +97,11 @@ interactions: Dd-Operation-Id: - GetDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 2.4.4; terraform-cli 0.14.7) datadog-api-client-go/1.0.0-beta.16 (go go1.15.3; os darwin; arch amd64) - url: https://api.datadoghq.com/api/v1/dashboard/wsu-5g2-6p8 + - terraform-provider-datadog/dev (terraform 2.6.1; terraform-cli 0.15.3) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) + url: https://api.datadoghq.com/api/v1/dashboard/h4h-g2e-d2w 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":"wsu-5g2-6p8","title":"tf-TestAccDatadogDashboardTopList-local-1615587261","url":"/dashboard/wsu-5g2-6p8/tf-testaccdatadogdashboardtoplist-local-1615587261","created_at":"2021-03-12T22:14:24.860945+00:00","modified_at":"2021-03-12T22:14:24.860945+00:00","author_handle":"frog@datadoghq.com","widgets":[{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test Custom Link label"}],"title_size":"16","title":"Avg of system.core.user over account:prod by service,app","title_align":"right","time":{"live_span":"1w"},"requests":[{"q":"top(avg:system.core.user{account:prod} by {service,app}, 10, ''sum'', ''desc'')","conditional_formats":[{"palette":"white_on_red","hide_value":false,"value":15000,"comparator":">"}]}],"type":"toplist"},"id":1094958805014679}],"layout_type":"ordered"}' + body: '{"notify_list":[],"description":"Created using the Datadog provider in Terraform","author_name":null,"template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"h4h-g2e-d2w","title":"tf-TestAccDatadogDashboardTopList-local-1623095460","url":"/dashboard/h4h-g2e-d2w/tf-testaccdatadogdashboardtoplist-local-1623095460","created_at":"2021-06-07T19:51:25.317264+00:00","modified_at":"2021-06-07T19:51:25.317264+00:00","author_handle":"frog@datadoghq.com","widgets":[{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test Custom Link label"},{"override_label":"logs","is_hidden":true,"link":"https://app.datadoghq.com/dashboard/lists"}],"title_size":"16","title":"Avg of system.core.user over account:prod by service,app","title_align":"right","time":{"live_span":"1w"},"requests":[{"q":"top(avg:system.core.user{account:prod} by {service,app}, 10, ''sum'', ''desc'')","conditional_formats":[{"palette":"white_on_red","hide_value":false,"value":15000,"comparator":">"}]}],"type":"toplist"},"id":5898962078797621}],"layout_type":"ordered"}' headers: Cache-Control: - no-cache @@ -112,7 +112,7 @@ interactions: Content-Type: - application/json Date: - - Fri, 12 Mar 2021 22:14:28 GMT + - Mon, 07 Jun 2021 19:51:29 GMT Pragma: - no-cache Strict-Transport-Security: @@ -122,9 +122,9 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Debug: - - 25u1gDlL724DHllbjFT4BhOLorBTilh+aah2uWAUEjFC/+rjczJdiyWrV/HwLwe/ + - gYZcaADwbKcv7Hm19HJx6WsLoKuOijDWAt2viPeCfWqUgyKY+9e1xZdmMJeXV3YV X-Dd-Version: - - "35.4088130" + - "35.4693673" X-Frame-Options: - SAMEORIGIN status: 200 OK @@ -139,11 +139,11 @@ interactions: Dd-Operation-Id: - GetDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 2.4.4; terraform-cli 0.14.7) datadog-api-client-go/1.0.0-beta.16 (go go1.15.3; os darwin; arch amd64) - url: https://api.datadoghq.com/api/v1/dashboard/wsu-5g2-6p8 + - terraform-provider-datadog/dev (terraform 2.6.1; terraform-cli 0.15.3) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) + url: https://api.datadoghq.com/api/v1/dashboard/h4h-g2e-d2w 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":"wsu-5g2-6p8","title":"tf-TestAccDatadogDashboardTopList-local-1615587261","url":"/dashboard/wsu-5g2-6p8/tf-testaccdatadogdashboardtoplist-local-1615587261","created_at":"2021-03-12T22:14:24.860945+00:00","modified_at":"2021-03-12T22:14:24.860945+00:00","author_handle":"frog@datadoghq.com","widgets":[{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test Custom Link label"}],"title_size":"16","title":"Avg of system.core.user over account:prod by service,app","title_align":"right","time":{"live_span":"1w"},"requests":[{"q":"top(avg:system.core.user{account:prod} by {service,app}, 10, ''sum'', ''desc'')","conditional_formats":[{"palette":"white_on_red","hide_value":false,"value":15000,"comparator":">"}]}],"type":"toplist"},"id":1094958805014679}],"layout_type":"ordered"}' + body: '{"notify_list":[],"description":"Created using the Datadog provider in Terraform","author_name":null,"template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"h4h-g2e-d2w","title":"tf-TestAccDatadogDashboardTopList-local-1623095460","url":"/dashboard/h4h-g2e-d2w/tf-testaccdatadogdashboardtoplist-local-1623095460","created_at":"2021-06-07T19:51:25.317264+00:00","modified_at":"2021-06-07T19:51:25.317264+00:00","author_handle":"frog@datadoghq.com","widgets":[{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test Custom Link label"},{"override_label":"logs","is_hidden":true,"link":"https://app.datadoghq.com/dashboard/lists"}],"title_size":"16","title":"Avg of system.core.user over account:prod by service,app","title_align":"right","time":{"live_span":"1w"},"requests":[{"q":"top(avg:system.core.user{account:prod} by {service,app}, 10, ''sum'', ''desc'')","conditional_formats":[{"palette":"white_on_red","hide_value":false,"value":15000,"comparator":">"}]}],"type":"toplist"},"id":5898962078797621}],"layout_type":"ordered"}' headers: Cache-Control: - no-cache @@ -154,7 +154,7 @@ interactions: Content-Type: - application/json Date: - - Fri, 12 Mar 2021 22:14:29 GMT + - Mon, 07 Jun 2021 19:51:38 GMT Pragma: - no-cache Strict-Transport-Security: @@ -164,9 +164,9 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Debug: - - l4HFlaRP3QwYSqoGKhzbYfv7zgkK63HIRR7YkyVYZspq0lGjjTBwoK8V/alf+XYt + - L3ULR3HwCWYmEqCWGz2Yob3chcH4pjowBacBXkncP7o+/uPqKt9yGEYf/g1AJPzQ X-Dd-Version: - - "35.4088130" + - "35.4693673" X-Frame-Options: - SAMEORIGIN status: 200 OK @@ -181,11 +181,11 @@ interactions: Dd-Operation-Id: - DeleteDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 2.4.4; terraform-cli 0.14.7) datadog-api-client-go/1.0.0-beta.16 (go go1.15.3; os darwin; arch amd64) - url: https://api.datadoghq.com/api/v1/dashboard/wsu-5g2-6p8 + - terraform-provider-datadog/dev (terraform 2.6.1; terraform-cli 0.15.3) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) + url: https://api.datadoghq.com/api/v1/dashboard/h4h-g2e-d2w method: DELETE response: - body: '{"deleted_dashboard_id":"wsu-5g2-6p8"}' + body: '{"deleted_dashboard_id":"h4h-g2e-d2w"}' headers: Cache-Control: - no-cache @@ -196,7 +196,7 @@ interactions: Content-Type: - application/json Date: - - Fri, 12 Mar 2021 22:14:32 GMT + - Mon, 07 Jun 2021 19:51:53 GMT Pragma: - no-cache Strict-Transport-Security: @@ -206,9 +206,9 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Debug: - - l8RQo2maZqJf6GFThBbKNE6dvthz6njusVtau3dPXJWL2RLFoN81H+BLPB/1xgs1 + - gYZcaADwbKcv7Hm19HJx6WsLoKuOijDWAt2viPeCfWqUgyKY+9e1xZdmMJeXV3YV X-Dd-Version: - - "35.4088130" + - "35.4693673" X-Frame-Options: - SAMEORIGIN status: 200 OK @@ -223,11 +223,11 @@ interactions: Dd-Operation-Id: - GetDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 2.4.4; terraform-cli 0.14.7) datadog-api-client-go/1.0.0-beta.16 (go go1.15.3; os darwin; arch amd64) - url: https://api.datadoghq.com/api/v1/dashboard/wsu-5g2-6p8 + - terraform-provider-datadog/dev (terraform 2.6.1; terraform-cli 0.15.3) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) + url: https://api.datadoghq.com/api/v1/dashboard/h4h-g2e-d2w method: GET response: - body: '{"errors": ["Dashboard with ID wsu-5g2-6p8 not found"]}' + body: '{"errors": ["Dashboard with ID h4h-g2e-d2w not found"]}' headers: Cache-Control: - no-cache @@ -238,7 +238,7 @@ interactions: Content-Type: - application/json Date: - - Fri, 12 Mar 2021 22:14:32 GMT + - Mon, 07 Jun 2021 19:51:53 GMT Pragma: - no-cache Strict-Transport-Security: @@ -248,7 +248,7 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Version: - - "35.4088130" + - "35.4693673" X-Frame-Options: - SAMEORIGIN status: 404 Not Found diff --git a/datadog/tests/cassettes/TestAccDatadogDashboardTopListFormula.freeze b/datadog/tests/cassettes/TestAccDatadogDashboardTopListFormula.freeze index 23137d6c7..f7f2d0fe3 100644 --- a/datadog/tests/cassettes/TestAccDatadogDashboardTopListFormula.freeze +++ b/datadog/tests/cassettes/TestAccDatadogDashboardTopListFormula.freeze @@ -1 +1 @@ -2021-04-16T13:25:09.298892-04:00 \ No newline at end of file +2021-06-07T15:51:00.271443-04:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogDashboardTopListFormula.yaml b/datadog/tests/cassettes/TestAccDatadogDashboardTopListFormula.yaml index 3afb358c0..819619475 100644 --- a/datadog/tests/cassettes/TestAccDatadogDashboardTopListFormula.yaml +++ b/datadog/tests/cassettes/TestAccDatadogDashboardTopListFormula.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-TestAccDatadogDashboardTopListFormula-local-1618593909","widgets":[{"definition":{"requests":[{"formulas":[{"formula":"query1 + query2","limit":{"count":10,"order":"asc"}}],"queries":[{"aggregator":"sum","data_source":"metrics","name":"query1","query":"avg:system.cpu.system{*} by {datacenter}"},{"aggregator":"sum","data_source":"metrics","name":"query2","query":"avg:system.load.1{*} by {datacenter}"}],"response_format":"scalar"}],"type":"toplist"}},{"definition":{"requests":[{"formulas":[{"formula":"query1","limit":{"count":25,"order":"desc"}}],"queries":[{"compute":{"aggregation":"count"},"data_source":"rum","indexes":["*"],"name":"query1","search":{"query":"abc"}}],"response_format":"scalar"}],"type":"toplist"}}]} + {"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-TestAccDatadogDashboardTopListFormula-local-1623095460","widgets":[{"definition":{"requests":[{"formulas":[{"formula":"query1 + query2","limit":{"count":10,"order":"asc"}}],"queries":[{"aggregator":"sum","data_source":"metrics","name":"query1","query":"avg:system.cpu.system{*} by {datacenter}"},{"aggregator":"sum","data_source":"metrics","name":"query2","query":"avg:system.load.1{*} by {datacenter}"}],"response_format":"scalar"}],"type":"toplist"}},{"definition":{"requests":[{"formulas":[{"formula":"query1","limit":{"count":25,"order":"desc"}}],"queries":[{"compute":{"aggregation":"count"},"data_source":"rum","indexes":["*"],"name":"query1","search":{"query":"abc"}}],"response_format":"scalar"}],"type":"toplist"}}]} form: {} headers: Accept: @@ -13,11 +13,11 @@ interactions: Dd-Operation-Id: - CreateDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.19+dev (go go1.15.6; os darwin; arch amd64) + - terraform-provider-datadog/dev (terraform 2.6.1; terraform-cli 0.15.3) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) 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":"n2x-25q-def","title":"tf-TestAccDatadogDashboardTopListFormula-local-1618593909","url":"/dashboard/n2x-25q-def/tf-testaccdatadogdashboardtoplistformula-local-1618593909","created_at":"2021-04-16T17:25:10.178675+00:00","modified_at":"2021-04-16T17:25:10.178675+00:00","author_handle":"frog@datadoghq.com","widgets":[{"definition":{"requests":[{"formulas":[{"formula":"query1 + query2","limit":{"count":10,"order":"asc"}}],"response_format":"scalar","queries":[{"aggregator":"sum","data_source":"metrics","name":"query1","query":"avg:system.cpu.system{*} by {datacenter}"},{"aggregator":"sum","data_source":"metrics","name":"query2","query":"avg:system.load.1{*} by {datacenter}"}]}],"type":"toplist"},"id":7631037175834849},{"definition":{"requests":[{"formulas":[{"formula":"query1","limit":{"count":25,"order":"desc"}}],"response_format":"scalar","queries":[{"search":{"query":"abc"},"data_source":"rum","compute":{"aggregation":"count"},"name":"query1","indexes":["*"]}]}],"type":"toplist"},"id":6558674061820933}],"layout_type":"ordered"}' + body: '{"notify_list":[],"description":"Created using the Datadog provider in Terraform","author_name":null,"template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"vt8-eqz-w7s","title":"tf-TestAccDatadogDashboardTopListFormula-local-1623095460","url":"/dashboard/vt8-eqz-w7s/tf-testaccdatadogdashboardtoplistformula-local-1623095460","created_at":"2021-06-07T19:51:25.322590+00:00","modified_at":"2021-06-07T19:51:25.322590+00:00","author_handle":"frog@datadoghq.com","widgets":[{"definition":{"requests":[{"formulas":[{"formula":"query1 + query2","limit":{"count":10,"order":"asc"}}],"response_format":"scalar","queries":[{"aggregator":"sum","data_source":"metrics","name":"query1","query":"avg:system.cpu.system{*} by {datacenter}"},{"aggregator":"sum","data_source":"metrics","name":"query2","query":"avg:system.load.1{*} by {datacenter}"}]}],"type":"toplist"},"id":4801967116201792},{"definition":{"requests":[{"formulas":[{"formula":"query1","limit":{"count":25,"order":"desc"}}],"response_format":"scalar","queries":[{"search":{"query":"abc"},"data_source":"rum","compute":{"aggregation":"count"},"name":"query1","indexes":["*"]}]}],"type":"toplist"},"id":8489905572496181}],"layout_type":"ordered"}' headers: Cache-Control: - no-cache @@ -28,7 +28,7 @@ interactions: Content-Type: - application/json Date: - - Fri, 16 Apr 2021 17:25:14 GMT + - Mon, 07 Jun 2021 19:51:26 GMT Pragma: - no-cache Strict-Transport-Security: @@ -38,51 +38,9 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Debug: - - Wjq53IVIwnB4SiR238oOYgHFMq/ZYP0LQ/Dv8C2fFLBwTje/dWJHu6pI6vIOK1zG - X-Dd-Version: - - "35.4330587" - X-Frame-Options: - - SAMEORIGIN - status: 200 OK - code: 200 - duration: "" -- request: - body: "" - form: {} - headers: - Accept: - - application/json - Dd-Operation-Id: - - GetDashboard - User-Agent: - - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.19+dev (go go1.15.6; os darwin; arch amd64) - url: https://api.datadoghq.com/api/v1/dashboard/n2x-25q-def - 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":"n2x-25q-def","title":"tf-TestAccDatadogDashboardTopListFormula-local-1618593909","url":"/dashboard/n2x-25q-def/tf-testaccdatadogdashboardtoplistformula-local-1618593909","created_at":"2021-04-16T17:25:10.178675+00:00","modified_at":"2021-04-16T17:25:10.178675+00:00","author_handle":"frog@datadoghq.com","widgets":[{"definition":{"requests":[{"formulas":[{"formula":"query1 + query2","limit":{"count":10,"order":"asc"}}],"response_format":"scalar","queries":[{"aggregator":"sum","data_source":"metrics","name":"query1","query":"avg:system.cpu.system{*} by {datacenter}"},{"aggregator":"sum","data_source":"metrics","name":"query2","query":"avg:system.load.1{*} by {datacenter}"}]}],"type":"toplist"},"id":7631037175834849},{"definition":{"requests":[{"formulas":[{"formula":"query1","limit":{"count":25,"order":"desc"}}],"response_format":"scalar","queries":[{"search":{"query":"abc"},"data_source":"rum","compute":{"aggregation":"count"},"name":"query1","indexes":["*"]}]}],"type":"toplist"},"id":6558674061820933}],"layout_type":"ordered"}' - headers: - Cache-Control: - - no-cache - Connection: - - keep-alive - Content-Security-Policy: - - frame-ancestors 'self'; report-uri https://api.datadoghq.com/csp-report - Content-Type: - - application/json - Date: - - Fri, 16 Apr 2021 17:25:14 GMT - Pragma: - - no-cache - Strict-Transport-Security: - - max-age=15724800; - Vary: - - Accept-Encoding - X-Content-Type-Options: - - nosniff - X-Dd-Debug: - - 25u1gDlL724DHllbjFT4BhOLorBTilh+aah2uWAUEjFC/+rjczJdiyWrV/HwLwe/ + - 2328yjLSqI4XmR1pVqrPRR/SFcQsbafjEpPmZx7/3PfxUK1nJQQsX+wrMelyVyj+ X-Dd-Version: - - "35.4330587" + - "35.4693673" X-Frame-Options: - SAMEORIGIN status: 200 OK @@ -97,11 +55,11 @@ interactions: Dd-Operation-Id: - GetDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.19+dev (go go1.15.6; os darwin; arch amd64) - url: https://api.datadoghq.com/api/v1/dashboard/n2x-25q-def + - terraform-provider-datadog/dev (terraform 2.6.1; terraform-cli 0.15.3) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) + url: https://api.datadoghq.com/api/v1/dashboard/vt8-eqz-w7s 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":"n2x-25q-def","title":"tf-TestAccDatadogDashboardTopListFormula-local-1618593909","url":"/dashboard/n2x-25q-def/tf-testaccdatadogdashboardtoplistformula-local-1618593909","created_at":"2021-04-16T17:25:10.178675+00:00","modified_at":"2021-04-16T17:25:10.178675+00:00","author_handle":"frog@datadoghq.com","widgets":[{"definition":{"requests":[{"formulas":[{"formula":"query1 + query2","limit":{"count":10,"order":"asc"}}],"response_format":"scalar","queries":[{"aggregator":"sum","data_source":"metrics","name":"query1","query":"avg:system.cpu.system{*} by {datacenter}"},{"aggregator":"sum","data_source":"metrics","name":"query2","query":"avg:system.load.1{*} by {datacenter}"}]}],"type":"toplist"},"id":7631037175834849},{"definition":{"requests":[{"formulas":[{"formula":"query1","limit":{"count":25,"order":"desc"}}],"response_format":"scalar","queries":[{"search":{"query":"abc"},"data_source":"rum","compute":{"aggregation":"count"},"name":"query1","indexes":["*"]}]}],"type":"toplist"},"id":6558674061820933}],"layout_type":"ordered"}' + body: '{"notify_list":[],"description":"Created using the Datadog provider in Terraform","author_name":null,"template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"vt8-eqz-w7s","title":"tf-TestAccDatadogDashboardTopListFormula-local-1623095460","url":"/dashboard/vt8-eqz-w7s/tf-testaccdatadogdashboardtoplistformula-local-1623095460","created_at":"2021-06-07T19:51:25.322590+00:00","modified_at":"2021-06-07T19:51:25.322590+00:00","author_handle":"frog@datadoghq.com","widgets":[{"definition":{"requests":[{"formulas":[{"formula":"query1 + query2","limit":{"count":10,"order":"asc"}}],"response_format":"scalar","queries":[{"aggregator":"sum","data_source":"metrics","name":"query1","query":"avg:system.cpu.system{*} by {datacenter}"},{"aggregator":"sum","data_source":"metrics","name":"query2","query":"avg:system.load.1{*} by {datacenter}"}]}],"type":"toplist"},"id":4801967116201792},{"definition":{"requests":[{"formulas":[{"formula":"query1","limit":{"count":25,"order":"desc"}}],"response_format":"scalar","queries":[{"search":{"query":"abc"},"data_source":"rum","compute":{"aggregation":"count"},"name":"query1","indexes":["*"]}]}],"type":"toplist"},"id":8489905572496181}],"layout_type":"ordered"}' headers: Cache-Control: - no-cache @@ -112,7 +70,7 @@ interactions: Content-Type: - application/json Date: - - Fri, 16 Apr 2021 17:25:14 GMT + - Mon, 07 Jun 2021 19:51:26 GMT Pragma: - no-cache Strict-Transport-Security: @@ -122,9 +80,9 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Debug: - - twvpGlmuom5y6A0pjGtXzTf554cmwJgTcCZ71fK4H/RDi+v5ehBK0zQiRcTJQG5C + - tpRCH6w417YjBovRJ8VmtuXmNONVYiRp2c8d2AxjPdGBn8PCtgG4vAztrx3qUZAN X-Dd-Version: - - "35.4330587" + - "35.4693673" X-Frame-Options: - SAMEORIGIN status: 200 OK @@ -139,11 +97,11 @@ interactions: Dd-Operation-Id: - GetDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.19+dev (go go1.15.6; os darwin; arch amd64) - url: https://api.datadoghq.com/api/v1/dashboard/n2x-25q-def + - terraform-provider-datadog/dev (terraform 2.6.1; terraform-cli 0.15.3) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) + url: https://api.datadoghq.com/api/v1/dashboard/vt8-eqz-w7s 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":"n2x-25q-def","title":"tf-TestAccDatadogDashboardTopListFormula-local-1618593909","url":"/dashboard/n2x-25q-def/tf-testaccdatadogdashboardtoplistformula-local-1618593909","created_at":"2021-04-16T17:25:10.178675+00:00","modified_at":"2021-04-16T17:25:10.178675+00:00","author_handle":"frog@datadoghq.com","widgets":[{"definition":{"requests":[{"formulas":[{"formula":"query1 + query2","limit":{"count":10,"order":"asc"}}],"response_format":"scalar","queries":[{"aggregator":"sum","data_source":"metrics","name":"query1","query":"avg:system.cpu.system{*} by {datacenter}"},{"aggregator":"sum","data_source":"metrics","name":"query2","query":"avg:system.load.1{*} by {datacenter}"}]}],"type":"toplist"},"id":7631037175834849},{"definition":{"requests":[{"formulas":[{"formula":"query1","limit":{"count":25,"order":"desc"}}],"response_format":"scalar","queries":[{"search":{"query":"abc"},"data_source":"rum","compute":{"aggregation":"count"},"name":"query1","indexes":["*"]}]}],"type":"toplist"},"id":6558674061820933}],"layout_type":"ordered"}' + body: '{"notify_list":[],"description":"Created using the Datadog provider in Terraform","author_name":null,"template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"vt8-eqz-w7s","title":"tf-TestAccDatadogDashboardTopListFormula-local-1623095460","url":"/dashboard/vt8-eqz-w7s/tf-testaccdatadogdashboardtoplistformula-local-1623095460","created_at":"2021-06-07T19:51:25.322590+00:00","modified_at":"2021-06-07T19:51:25.322590+00:00","author_handle":"frog@datadoghq.com","widgets":[{"definition":{"requests":[{"formulas":[{"formula":"query1 + query2","limit":{"count":10,"order":"asc"}}],"response_format":"scalar","queries":[{"aggregator":"sum","data_source":"metrics","name":"query1","query":"avg:system.cpu.system{*} by {datacenter}"},{"aggregator":"sum","data_source":"metrics","name":"query2","query":"avg:system.load.1{*} by {datacenter}"}]}],"type":"toplist"},"id":4801967116201792},{"definition":{"requests":[{"formulas":[{"formula":"query1","limit":{"count":25,"order":"desc"}}],"response_format":"scalar","queries":[{"search":{"query":"abc"},"data_source":"rum","compute":{"aggregation":"count"},"name":"query1","indexes":["*"]}]}],"type":"toplist"},"id":8489905572496181}],"layout_type":"ordered"}' headers: Cache-Control: - no-cache @@ -154,7 +112,7 @@ interactions: Content-Type: - application/json Date: - - Fri, 16 Apr 2021 17:25:14 GMT + - Mon, 07 Jun 2021 19:51:29 GMT Pragma: - no-cache Strict-Transport-Security: @@ -164,9 +122,9 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Debug: - - B1nwy/pPNqX+q4pQT22cdp1QCexE35IF8qwSHy0Nf7IW0Y881qtn4tXN1lpmzaKc + - Wjq53IVIwnB4SiR238oOYgHFMq/ZYP0LQ/Dv8C2fFLBwTje/dWJHu6pI6vIOK1zG X-Dd-Version: - - "35.4330587" + - "35.4693673" X-Frame-Options: - SAMEORIGIN status: 200 OK @@ -181,11 +139,11 @@ interactions: Dd-Operation-Id: - GetDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.19+dev (go go1.15.6; os darwin; arch amd64) - url: https://api.datadoghq.com/api/v1/dashboard/n2x-25q-def + - terraform-provider-datadog/dev (terraform 2.6.1; terraform-cli 0.15.3) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) + url: https://api.datadoghq.com/api/v1/dashboard/vt8-eqz-w7s 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":"n2x-25q-def","title":"tf-TestAccDatadogDashboardTopListFormula-local-1618593909","url":"/dashboard/n2x-25q-def/tf-testaccdatadogdashboardtoplistformula-local-1618593909","created_at":"2021-04-16T17:25:10.178675+00:00","modified_at":"2021-04-16T17:25:10.178675+00:00","author_handle":"frog@datadoghq.com","widgets":[{"definition":{"requests":[{"formulas":[{"formula":"query1 + query2","limit":{"count":10,"order":"asc"}}],"response_format":"scalar","queries":[{"aggregator":"sum","data_source":"metrics","name":"query1","query":"avg:system.cpu.system{*} by {datacenter}"},{"aggregator":"sum","data_source":"metrics","name":"query2","query":"avg:system.load.1{*} by {datacenter}"}]}],"type":"toplist"},"id":7631037175834849},{"definition":{"requests":[{"formulas":[{"formula":"query1","limit":{"count":25,"order":"desc"}}],"response_format":"scalar","queries":[{"search":{"query":"abc"},"data_source":"rum","compute":{"aggregation":"count"},"name":"query1","indexes":["*"]}]}],"type":"toplist"},"id":6558674061820933}],"layout_type":"ordered"}' + body: '{"notify_list":[],"description":"Created using the Datadog provider in Terraform","author_name":null,"template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"vt8-eqz-w7s","title":"tf-TestAccDatadogDashboardTopListFormula-local-1623095460","url":"/dashboard/vt8-eqz-w7s/tf-testaccdatadogdashboardtoplistformula-local-1623095460","created_at":"2021-06-07T19:51:25.322590+00:00","modified_at":"2021-06-07T19:51:25.322590+00:00","author_handle":"frog@datadoghq.com","widgets":[{"definition":{"requests":[{"formulas":[{"formula":"query1 + query2","limit":{"count":10,"order":"asc"}}],"response_format":"scalar","queries":[{"aggregator":"sum","data_source":"metrics","name":"query1","query":"avg:system.cpu.system{*} by {datacenter}"},{"aggregator":"sum","data_source":"metrics","name":"query2","query":"avg:system.load.1{*} by {datacenter}"}]}],"type":"toplist"},"id":4801967116201792},{"definition":{"requests":[{"formulas":[{"formula":"query1","limit":{"count":25,"order":"desc"}}],"response_format":"scalar","queries":[{"search":{"query":"abc"},"data_source":"rum","compute":{"aggregation":"count"},"name":"query1","indexes":["*"]}]}],"type":"toplist"},"id":8489905572496181}],"layout_type":"ordered"}' headers: Cache-Control: - no-cache @@ -196,7 +154,7 @@ interactions: Content-Type: - application/json Date: - - Fri, 16 Apr 2021 17:25:15 GMT + - Mon, 07 Jun 2021 19:51:38 GMT Pragma: - no-cache Strict-Transport-Security: @@ -206,9 +164,9 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Debug: - - twvpGlmuom5y6A0pjGtXzTf554cmwJgTcCZ71fK4H/RDi+v5ehBK0zQiRcTJQG5C + - 5gfwVh/5HZ+AnGd/Di93w3NEWC6KMHT9KzmHEiRJmNdOjBtAsbOcgVFyqEChw71h X-Dd-Version: - - "35.4330587" + - "35.4693673" X-Frame-Options: - SAMEORIGIN status: 200 OK @@ -223,11 +181,11 @@ interactions: Dd-Operation-Id: - DeleteDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.19+dev (go go1.15.6; os darwin; arch amd64) - url: https://api.datadoghq.com/api/v1/dashboard/n2x-25q-def + - terraform-provider-datadog/dev (terraform 2.6.1; terraform-cli 0.15.3) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) + url: https://api.datadoghq.com/api/v1/dashboard/vt8-eqz-w7s method: DELETE response: - body: '{"deleted_dashboard_id":"n2x-25q-def"}' + body: '{"deleted_dashboard_id":"vt8-eqz-w7s"}' headers: Cache-Control: - no-cache @@ -238,7 +196,7 @@ interactions: Content-Type: - application/json Date: - - Fri, 16 Apr 2021 17:25:15 GMT + - Mon, 07 Jun 2021 19:51:54 GMT Pragma: - no-cache Strict-Transport-Security: @@ -248,9 +206,9 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Debug: - - HbtaOKlJ6OCrx9tMXO6ivMTrEM+g0c93HDp08trmOmgdHozC5J+vn10F0H4WPjCU + - dPySkcOzIZtKyMKDAAzuysY3gNGGj6RtYogGuSb76E8mPvoqzREyRp6lPYm91hQU X-Dd-Version: - - "35.4330587" + - "35.4693673" X-Frame-Options: - SAMEORIGIN status: 200 OK @@ -265,11 +223,11 @@ interactions: Dd-Operation-Id: - GetDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.19+dev (go go1.15.6; os darwin; arch amd64) - url: https://api.datadoghq.com/api/v1/dashboard/n2x-25q-def + - terraform-provider-datadog/dev (terraform 2.6.1; terraform-cli 0.15.3) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) + url: https://api.datadoghq.com/api/v1/dashboard/vt8-eqz-w7s method: GET response: - body: '{"errors": ["Dashboard with ID n2x-25q-def not found"]}' + body: '{"errors": ["Dashboard with ID vt8-eqz-w7s not found"]}' headers: Cache-Control: - no-cache @@ -280,7 +238,7 @@ interactions: Content-Type: - application/json Date: - - Fri, 16 Apr 2021 17:25:15 GMT + - Mon, 07 Jun 2021 19:51:54 GMT Pragma: - no-cache Strict-Transport-Security: @@ -290,7 +248,7 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Version: - - "35.4330587" + - "35.4693673" X-Frame-Options: - SAMEORIGIN status: 404 Not Found diff --git a/datadog/tests/cassettes/TestAccDatadogDashboardTopListFormula_import.freeze b/datadog/tests/cassettes/TestAccDatadogDashboardTopListFormula_import.freeze index d0398dd29..8a1c93c80 100644 --- a/datadog/tests/cassettes/TestAccDatadogDashboardTopListFormula_import.freeze +++ b/datadog/tests/cassettes/TestAccDatadogDashboardTopListFormula_import.freeze @@ -1 +1 @@ -2021-04-16T13:25:09.298847-04:00 \ No newline at end of file +2021-06-07T15:51:00.268519-04:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogDashboardTopListFormula_import.yaml b/datadog/tests/cassettes/TestAccDatadogDashboardTopListFormula_import.yaml index 04470f374..1c5d3e105 100644 --- a/datadog/tests/cassettes/TestAccDatadogDashboardTopListFormula_import.yaml +++ b/datadog/tests/cassettes/TestAccDatadogDashboardTopListFormula_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-TestAccDatadogDashboardTopListFormula_import-local-1618593909","widgets":[{"definition":{"requests":[{"formulas":[{"formula":"query1 + query2","limit":{"count":10,"order":"asc"}}],"queries":[{"aggregator":"sum","data_source":"metrics","name":"query1","query":"avg:system.cpu.system{*} by {datacenter}"},{"aggregator":"sum","data_source":"metrics","name":"query2","query":"avg:system.load.1{*} by {datacenter}"}],"response_format":"scalar"}],"type":"toplist"}},{"definition":{"requests":[{"formulas":[{"formula":"query1","limit":{"count":25,"order":"desc"}}],"queries":[{"compute":{"aggregation":"count"},"data_source":"rum","indexes":["*"],"name":"query1","search":{"query":"abc"}}],"response_format":"scalar"}],"type":"toplist"}}]} + {"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-TestAccDatadogDashboardTopListFormula_import-local-1623095460","widgets":[{"definition":{"requests":[{"formulas":[{"formula":"query1 + query2","limit":{"count":10,"order":"asc"}}],"queries":[{"aggregator":"sum","data_source":"metrics","name":"query1","query":"avg:system.cpu.system{*} by {datacenter}"},{"aggregator":"sum","data_source":"metrics","name":"query2","query":"avg:system.load.1{*} by {datacenter}"}],"response_format":"scalar"}],"type":"toplist"}},{"definition":{"requests":[{"formulas":[{"formula":"query1","limit":{"count":25,"order":"desc"}}],"queries":[{"compute":{"aggregation":"count"},"data_source":"rum","indexes":["*"],"name":"query1","search":{"query":"abc"}}],"response_format":"scalar"}],"type":"toplist"}}]} form: {} headers: Accept: @@ -13,11 +13,11 @@ interactions: Dd-Operation-Id: - CreateDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.19+dev (go go1.15.6; os darwin; arch amd64) + - terraform-provider-datadog/dev (terraform 2.6.1; terraform-cli 0.15.3) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) 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":"8m8-w4i-zck","title":"tf-TestAccDatadogDashboardTopListFormula_import-local-1618593909","url":"/dashboard/8m8-w4i-zck/tf-testaccdatadogdashboardtoplistformulaimport-local-1618593909","created_at":"2021-04-16T17:25:10.190731+00:00","modified_at":"2021-04-16T17:25:10.190731+00:00","author_handle":"frog@datadoghq.com","widgets":[{"definition":{"requests":[{"formulas":[{"formula":"query1 + query2","limit":{"count":10,"order":"asc"}}],"response_format":"scalar","queries":[{"aggregator":"sum","data_source":"metrics","name":"query1","query":"avg:system.cpu.system{*} by {datacenter}"},{"aggregator":"sum","data_source":"metrics","name":"query2","query":"avg:system.load.1{*} by {datacenter}"}]}],"type":"toplist"},"id":3925289752360287},{"definition":{"requests":[{"formulas":[{"formula":"query1","limit":{"count":25,"order":"desc"}}],"response_format":"scalar","queries":[{"search":{"query":"abc"},"data_source":"rum","compute":{"aggregation":"count"},"name":"query1","indexes":["*"]}]}],"type":"toplist"},"id":6057887070427033}],"layout_type":"ordered"}' + body: '{"notify_list":[],"description":"Created using the Datadog provider in Terraform","author_name":null,"template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"h5c-4ng-8je","title":"tf-TestAccDatadogDashboardTopListFormula_import-local-1623095460","url":"/dashboard/h5c-4ng-8je/tf-testaccdatadogdashboardtoplistformulaimport-local-1623095460","created_at":"2021-06-07T19:51:25.296224+00:00","modified_at":"2021-06-07T19:51:25.296224+00:00","author_handle":"frog@datadoghq.com","widgets":[{"definition":{"requests":[{"formulas":[{"formula":"query1 + query2","limit":{"count":10,"order":"asc"}}],"response_format":"scalar","queries":[{"aggregator":"sum","data_source":"metrics","name":"query1","query":"avg:system.cpu.system{*} by {datacenter}"},{"aggregator":"sum","data_source":"metrics","name":"query2","query":"avg:system.load.1{*} by {datacenter}"}]}],"type":"toplist"},"id":881841534970167},{"definition":{"requests":[{"formulas":[{"formula":"query1","limit":{"count":25,"order":"desc"}}],"response_format":"scalar","queries":[{"search":{"query":"abc"},"data_source":"rum","compute":{"aggregation":"count"},"name":"query1","indexes":["*"]}]}],"type":"toplist"},"id":2624982935751176}],"layout_type":"ordered"}' headers: Cache-Control: - no-cache @@ -28,7 +28,7 @@ interactions: Content-Type: - application/json Date: - - Fri, 16 Apr 2021 17:25:13 GMT + - Mon, 07 Jun 2021 19:51:26 GMT Pragma: - no-cache Strict-Transport-Security: @@ -38,9 +38,9 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Debug: - - HbtaOKlJ6OCrx9tMXO6ivMTrEM+g0c93HDp08trmOmgdHozC5J+vn10F0H4WPjCU + - Wjq53IVIwnB4SiR238oOYgHFMq/ZYP0LQ/Dv8C2fFLBwTje/dWJHu6pI6vIOK1zG X-Dd-Version: - - "35.4330587" + - "35.4693673" X-Frame-Options: - SAMEORIGIN status: 200 OK @@ -55,11 +55,11 @@ interactions: Dd-Operation-Id: - GetDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.19+dev (go go1.15.6; os darwin; arch amd64) - url: https://api.datadoghq.com/api/v1/dashboard/8m8-w4i-zck + - terraform-provider-datadog/dev (terraform 2.6.1; terraform-cli 0.15.3) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) + url: https://api.datadoghq.com/api/v1/dashboard/h5c-4ng-8je 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":"8m8-w4i-zck","title":"tf-TestAccDatadogDashboardTopListFormula_import-local-1618593909","url":"/dashboard/8m8-w4i-zck/tf-testaccdatadogdashboardtoplistformulaimport-local-1618593909","created_at":"2021-04-16T17:25:10.190731+00:00","modified_at":"2021-04-16T17:25:10.190731+00:00","author_handle":"frog@datadoghq.com","widgets":[{"definition":{"requests":[{"formulas":[{"formula":"query1 + query2","limit":{"count":10,"order":"asc"}}],"response_format":"scalar","queries":[{"aggregator":"sum","data_source":"metrics","name":"query1","query":"avg:system.cpu.system{*} by {datacenter}"},{"aggregator":"sum","data_source":"metrics","name":"query2","query":"avg:system.load.1{*} by {datacenter}"}]}],"type":"toplist"},"id":3925289752360287},{"definition":{"requests":[{"formulas":[{"formula":"query1","limit":{"count":25,"order":"desc"}}],"response_format":"scalar","queries":[{"search":{"query":"abc"},"data_source":"rum","compute":{"aggregation":"count"},"name":"query1","indexes":["*"]}]}],"type":"toplist"},"id":6057887070427033}],"layout_type":"ordered"}' + body: '{"notify_list":[],"description":"Created using the Datadog provider in Terraform","author_name":null,"template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"h5c-4ng-8je","title":"tf-TestAccDatadogDashboardTopListFormula_import-local-1623095460","url":"/dashboard/h5c-4ng-8je/tf-testaccdatadogdashboardtoplistformulaimport-local-1623095460","created_at":"2021-06-07T19:51:25.296224+00:00","modified_at":"2021-06-07T19:51:25.296224+00:00","author_handle":"frog@datadoghq.com","widgets":[{"definition":{"requests":[{"formulas":[{"formula":"query1 + query2","limit":{"count":10,"order":"asc"}}],"response_format":"scalar","queries":[{"aggregator":"sum","data_source":"metrics","name":"query1","query":"avg:system.cpu.system{*} by {datacenter}"},{"aggregator":"sum","data_source":"metrics","name":"query2","query":"avg:system.load.1{*} by {datacenter}"}]}],"type":"toplist"},"id":881841534970167},{"definition":{"requests":[{"formulas":[{"formula":"query1","limit":{"count":25,"order":"desc"}}],"response_format":"scalar","queries":[{"search":{"query":"abc"},"data_source":"rum","compute":{"aggregation":"count"},"name":"query1","indexes":["*"]}]}],"type":"toplist"},"id":2624982935751176}],"layout_type":"ordered"}' headers: Cache-Control: - no-cache @@ -70,7 +70,7 @@ interactions: Content-Type: - application/json Date: - - Fri, 16 Apr 2021 17:25:13 GMT + - Mon, 07 Jun 2021 19:51:26 GMT Pragma: - no-cache Strict-Transport-Security: @@ -80,9 +80,9 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Debug: - - LcgNasIYBRkNppmD6mCKE9J6iv0eEjosuuHR5V5zw2fWbR54i39C8dhdK8zDq/40 + - EFjE6I+AUQmTiNqZcuE1nqoFeAjWD0Xtzy3edDrinkwlU/Wzr/2Dbl5kWk3qLVaQ X-Dd-Version: - - "35.4330587" + - "35.4693673" X-Frame-Options: - SAMEORIGIN status: 200 OK @@ -97,11 +97,11 @@ interactions: Dd-Operation-Id: - GetDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.19+dev (go go1.15.6; os darwin; arch amd64) - url: https://api.datadoghq.com/api/v1/dashboard/8m8-w4i-zck + - terraform-provider-datadog/dev (terraform 2.6.1; terraform-cli 0.15.3) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) + url: https://api.datadoghq.com/api/v1/dashboard/h5c-4ng-8je 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":"8m8-w4i-zck","title":"tf-TestAccDatadogDashboardTopListFormula_import-local-1618593909","url":"/dashboard/8m8-w4i-zck/tf-testaccdatadogdashboardtoplistformulaimport-local-1618593909","created_at":"2021-04-16T17:25:10.190731+00:00","modified_at":"2021-04-16T17:25:10.190731+00:00","author_handle":"frog@datadoghq.com","widgets":[{"definition":{"requests":[{"formulas":[{"formula":"query1 + query2","limit":{"count":10,"order":"asc"}}],"response_format":"scalar","queries":[{"aggregator":"sum","data_source":"metrics","name":"query1","query":"avg:system.cpu.system{*} by {datacenter}"},{"aggregator":"sum","data_source":"metrics","name":"query2","query":"avg:system.load.1{*} by {datacenter}"}]}],"type":"toplist"},"id":3925289752360287},{"definition":{"requests":[{"formulas":[{"formula":"query1","limit":{"count":25,"order":"desc"}}],"response_format":"scalar","queries":[{"search":{"query":"abc"},"data_source":"rum","compute":{"aggregation":"count"},"name":"query1","indexes":["*"]}]}],"type":"toplist"},"id":6057887070427033}],"layout_type":"ordered"}' + body: '{"notify_list":[],"description":"Created using the Datadog provider in Terraform","author_name":null,"template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"h5c-4ng-8je","title":"tf-TestAccDatadogDashboardTopListFormula_import-local-1623095460","url":"/dashboard/h5c-4ng-8je/tf-testaccdatadogdashboardtoplistformulaimport-local-1623095460","created_at":"2021-06-07T19:51:25.296224+00:00","modified_at":"2021-06-07T19:51:25.296224+00:00","author_handle":"frog@datadoghq.com","widgets":[{"definition":{"requests":[{"formulas":[{"formula":"query1 + query2","limit":{"count":10,"order":"asc"}}],"response_format":"scalar","queries":[{"aggregator":"sum","data_source":"metrics","name":"query1","query":"avg:system.cpu.system{*} by {datacenter}"},{"aggregator":"sum","data_source":"metrics","name":"query2","query":"avg:system.load.1{*} by {datacenter}"}]}],"type":"toplist"},"id":881841534970167},{"definition":{"requests":[{"formulas":[{"formula":"query1","limit":{"count":25,"order":"desc"}}],"response_format":"scalar","queries":[{"search":{"query":"abc"},"data_source":"rum","compute":{"aggregation":"count"},"name":"query1","indexes":["*"]}]}],"type":"toplist"},"id":2624982935751176}],"layout_type":"ordered"}' headers: Cache-Control: - no-cache @@ -112,7 +112,7 @@ interactions: Content-Type: - application/json Date: - - Fri, 16 Apr 2021 17:25:14 GMT + - Mon, 07 Jun 2021 19:51:39 GMT Pragma: - no-cache Strict-Transport-Security: @@ -122,9 +122,9 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Debug: - - mNzaoDhdDKO7t4QSrAe5X7pHd0bJND187D+vRbwoluXouE2m1UaQQX0RGCvRpLVE + - LcgNasIYBRkNppmD6mCKE9J6iv0eEjosuuHR5V5zw2fWbR54i39C8dhdK8zDq/40 X-Dd-Version: - - "35.4330587" + - "35.4693673" X-Frame-Options: - SAMEORIGIN status: 200 OK @@ -139,11 +139,11 @@ interactions: Dd-Operation-Id: - GetDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.19+dev (go go1.15.6; os darwin; arch amd64) - url: https://api.datadoghq.com/api/v1/dashboard/8m8-w4i-zck + - terraform-provider-datadog/dev (terraform 2.6.1; terraform-cli 0.15.3) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) + url: https://api.datadoghq.com/api/v1/dashboard/h5c-4ng-8je 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":"8m8-w4i-zck","title":"tf-TestAccDatadogDashboardTopListFormula_import-local-1618593909","url":"/dashboard/8m8-w4i-zck/tf-testaccdatadogdashboardtoplistformulaimport-local-1618593909","created_at":"2021-04-16T17:25:10.190731+00:00","modified_at":"2021-04-16T17:25:10.190731+00:00","author_handle":"frog@datadoghq.com","widgets":[{"definition":{"requests":[{"formulas":[{"formula":"query1 + query2","limit":{"count":10,"order":"asc"}}],"response_format":"scalar","queries":[{"aggregator":"sum","data_source":"metrics","name":"query1","query":"avg:system.cpu.system{*} by {datacenter}"},{"aggregator":"sum","data_source":"metrics","name":"query2","query":"avg:system.load.1{*} by {datacenter}"}]}],"type":"toplist"},"id":3925289752360287},{"definition":{"requests":[{"formulas":[{"formula":"query1","limit":{"count":25,"order":"desc"}}],"response_format":"scalar","queries":[{"search":{"query":"abc"},"data_source":"rum","compute":{"aggregation":"count"},"name":"query1","indexes":["*"]}]}],"type":"toplist"},"id":6057887070427033}],"layout_type":"ordered"}' + body: '{"notify_list":[],"description":"Created using the Datadog provider in Terraform","author_name":null,"template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"h5c-4ng-8je","title":"tf-TestAccDatadogDashboardTopListFormula_import-local-1623095460","url":"/dashboard/h5c-4ng-8je/tf-testaccdatadogdashboardtoplistformulaimport-local-1623095460","created_at":"2021-06-07T19:51:25.296224+00:00","modified_at":"2021-06-07T19:51:25.296224+00:00","author_handle":"frog@datadoghq.com","widgets":[{"definition":{"requests":[{"formulas":[{"formula":"query1 + query2","limit":{"count":10,"order":"asc"}}],"response_format":"scalar","queries":[{"aggregator":"sum","data_source":"metrics","name":"query1","query":"avg:system.cpu.system{*} by {datacenter}"},{"aggregator":"sum","data_source":"metrics","name":"query2","query":"avg:system.load.1{*} by {datacenter}"}]}],"type":"toplist"},"id":881841534970167},{"definition":{"requests":[{"formulas":[{"formula":"query1","limit":{"count":25,"order":"desc"}}],"response_format":"scalar","queries":[{"search":{"query":"abc"},"data_source":"rum","compute":{"aggregation":"count"},"name":"query1","indexes":["*"]}]}],"type":"toplist"},"id":2624982935751176}],"layout_type":"ordered"}' headers: Cache-Control: - no-cache @@ -154,7 +154,7 @@ interactions: Content-Type: - application/json Date: - - Fri, 16 Apr 2021 17:25:14 GMT + - Mon, 07 Jun 2021 19:51:59 GMT Pragma: - no-cache Strict-Transport-Security: @@ -166,91 +166,7 @@ interactions: X-Dd-Debug: - bgHykj7A9bfZx0Y5ZO3swhhp5tGUSNJHqFWR868+qg087CYrDOd5hQslC+noiEtH X-Dd-Version: - - "35.4330587" - X-Frame-Options: - - SAMEORIGIN - status: 200 OK - code: 200 - duration: "" -- request: - body: "" - form: {} - headers: - Accept: - - application/json - Dd-Operation-Id: - - GetDashboard - User-Agent: - - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.19+dev (go go1.15.6; os darwin; arch amd64) - url: https://api.datadoghq.com/api/v1/dashboard/8m8-w4i-zck - 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":"8m8-w4i-zck","title":"tf-TestAccDatadogDashboardTopListFormula_import-local-1618593909","url":"/dashboard/8m8-w4i-zck/tf-testaccdatadogdashboardtoplistformulaimport-local-1618593909","created_at":"2021-04-16T17:25:10.190731+00:00","modified_at":"2021-04-16T17:25:10.190731+00:00","author_handle":"frog@datadoghq.com","widgets":[{"definition":{"requests":[{"formulas":[{"formula":"query1 + query2","limit":{"count":10,"order":"asc"}}],"response_format":"scalar","queries":[{"aggregator":"sum","data_source":"metrics","name":"query1","query":"avg:system.cpu.system{*} by {datacenter}"},{"aggregator":"sum","data_source":"metrics","name":"query2","query":"avg:system.load.1{*} by {datacenter}"}]}],"type":"toplist"},"id":3925289752360287},{"definition":{"requests":[{"formulas":[{"formula":"query1","limit":{"count":25,"order":"desc"}}],"response_format":"scalar","queries":[{"search":{"query":"abc"},"data_source":"rum","compute":{"aggregation":"count"},"name":"query1","indexes":["*"]}]}],"type":"toplist"},"id":6057887070427033}],"layout_type":"ordered"}' - headers: - Cache-Control: - - no-cache - Connection: - - keep-alive - Content-Security-Policy: - - frame-ancestors 'self'; report-uri https://api.datadoghq.com/csp-report - Content-Type: - - application/json - Date: - - Fri, 16 Apr 2021 17:25:14 GMT - Pragma: - - no-cache - Strict-Transport-Security: - - max-age=15724800; - Vary: - - Accept-Encoding - X-Content-Type-Options: - - nosniff - X-Dd-Debug: - - Um4CoU685QqAscnxhS5BD+goWu2yX1Jd4zCfGzSsEvPPIm1qURZaF8dlLl/OEY4I - X-Dd-Version: - - "35.4330587" - X-Frame-Options: - - SAMEORIGIN - status: 200 OK - code: 200 - duration: "" -- request: - body: "" - form: {} - headers: - Accept: - - application/json - Dd-Operation-Id: - - GetDashboard - User-Agent: - - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.19+dev (go go1.15.6; os darwin; arch amd64) - url: https://api.datadoghq.com/api/v1/dashboard/8m8-w4i-zck - 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":"8m8-w4i-zck","title":"tf-TestAccDatadogDashboardTopListFormula_import-local-1618593909","url":"/dashboard/8m8-w4i-zck/tf-testaccdatadogdashboardtoplistformulaimport-local-1618593909","created_at":"2021-04-16T17:25:10.190731+00:00","modified_at":"2021-04-16T17:25:10.190731+00:00","author_handle":"frog@datadoghq.com","widgets":[{"definition":{"requests":[{"formulas":[{"formula":"query1 + query2","limit":{"count":10,"order":"asc"}}],"response_format":"scalar","queries":[{"aggregator":"sum","data_source":"metrics","name":"query1","query":"avg:system.cpu.system{*} by {datacenter}"},{"aggregator":"sum","data_source":"metrics","name":"query2","query":"avg:system.load.1{*} by {datacenter}"}]}],"type":"toplist"},"id":3925289752360287},{"definition":{"requests":[{"formulas":[{"formula":"query1","limit":{"count":25,"order":"desc"}}],"response_format":"scalar","queries":[{"search":{"query":"abc"},"data_source":"rum","compute":{"aggregation":"count"},"name":"query1","indexes":["*"]}]}],"type":"toplist"},"id":6057887070427033}],"layout_type":"ordered"}' - headers: - Cache-Control: - - no-cache - Connection: - - keep-alive - Content-Security-Policy: - - frame-ancestors 'self'; report-uri https://api.datadoghq.com/csp-report - Content-Type: - - application/json - Date: - - Fri, 16 Apr 2021 17:25:15 GMT - Pragma: - - no-cache - Strict-Transport-Security: - - max-age=15724800; - Vary: - - Accept-Encoding - X-Content-Type-Options: - - nosniff - X-Dd-Debug: - - gYZcaADwbKcv7Hm19HJx6WsLoKuOijDWAt2viPeCfWqUgyKY+9e1xZdmMJeXV3YV - X-Dd-Version: - - "35.4330587" + - "35.4693673" X-Frame-Options: - SAMEORIGIN status: 200 OK @@ -265,11 +181,11 @@ interactions: Dd-Operation-Id: - DeleteDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.19+dev (go go1.15.6; os darwin; arch amd64) - url: https://api.datadoghq.com/api/v1/dashboard/8m8-w4i-zck + - terraform-provider-datadog/dev (terraform 2.6.1; terraform-cli 0.15.3) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) + url: https://api.datadoghq.com/api/v1/dashboard/h5c-4ng-8je method: DELETE response: - body: '{"deleted_dashboard_id":"8m8-w4i-zck"}' + body: '{"deleted_dashboard_id":"h5c-4ng-8je"}' headers: Cache-Control: - no-cache @@ -280,7 +196,7 @@ interactions: Content-Type: - application/json Date: - - Fri, 16 Apr 2021 17:25:15 GMT + - Mon, 07 Jun 2021 19:52:05 GMT Pragma: - no-cache Strict-Transport-Security: @@ -290,9 +206,9 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Debug: - - B1nwy/pPNqX+q4pQT22cdp1QCexE35IF8qwSHy0Nf7IW0Y881qtn4tXN1lpmzaKc + - l8RQo2maZqJf6GFThBbKNE6dvthz6njusVtau3dPXJWL2RLFoN81H+BLPB/1xgs1 X-Dd-Version: - - "35.4330587" + - "35.4693673" X-Frame-Options: - SAMEORIGIN status: 200 OK @@ -307,11 +223,11 @@ interactions: Dd-Operation-Id: - GetDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.19+dev (go go1.15.6; os darwin; arch amd64) - url: https://api.datadoghq.com/api/v1/dashboard/8m8-w4i-zck + - terraform-provider-datadog/dev (terraform 2.6.1; terraform-cli 0.15.3) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) + url: https://api.datadoghq.com/api/v1/dashboard/h5c-4ng-8je method: GET response: - body: '{"errors": ["Dashboard with ID 8m8-w4i-zck not found"]}' + body: '{"errors": ["Dashboard with ID h5c-4ng-8je not found"]}' headers: Cache-Control: - no-cache @@ -322,7 +238,7 @@ interactions: Content-Type: - application/json Date: - - Fri, 16 Apr 2021 17:25:15 GMT + - Mon, 07 Jun 2021 19:52:05 GMT Pragma: - no-cache Strict-Transport-Security: @@ -332,7 +248,7 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Version: - - "35.4330587" + - "35.4693673" X-Frame-Options: - SAMEORIGIN status: 404 Not Found diff --git a/datadog/tests/cassettes/TestAccDatadogDashboardTopList_import.freeze b/datadog/tests/cassettes/TestAccDatadogDashboardTopList_import.freeze index 64535b27e..dd236c432 100644 --- a/datadog/tests/cassettes/TestAccDatadogDashboardTopList_import.freeze +++ b/datadog/tests/cassettes/TestAccDatadogDashboardTopList_import.freeze @@ -1 +1 @@ -2021-03-12T17:14:21.670282-05:00 \ No newline at end of file +2021-06-07T15:51:00.270087-04:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccDatadogDashboardTopList_import.yaml b/datadog/tests/cassettes/TestAccDatadogDashboardTopList_import.yaml index 0e69cf4bd..3cfebf476 100644 --- a/datadog/tests/cassettes/TestAccDatadogDashboardTopList_import.yaml +++ b/datadog/tests/cassettes/TestAccDatadogDashboardTopList_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-TestAccDatadogDashboardTopList_import-local-1615587261","widgets":[{"definition":{"custom_links":[{"label":"Test Custom Link label","link":"https://app.datadoghq.com/dashboard/lists"}],"requests":[{"conditional_formats":[{"comparator":"\u003e","hide_value":false,"palette":"white_on_red","value":15000}],"q":"top(avg:system.core.user{account:prod} by {service,app}, 10, 'sum', 'desc')"}],"time":{"live_span":"1w"},"title":"Avg of system.core.user over account:prod by service,app","title_align":"right","title_size":"16","type":"toplist"}}]} + {"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-TestAccDatadogDashboardTopList_import-local-1623095460","widgets":[{"definition":{"custom_links":[{"label":"Test Custom Link label","link":"https://app.datadoghq.com/dashboard/lists"}],"requests":[{"conditional_formats":[{"comparator":"\u003e","hide_value":false,"palette":"white_on_red","value":15000}],"q":"top(avg:system.core.user{account:prod} by {service,app}, 10, 'sum', 'desc')"}],"time":{"live_span":"1w"},"title":"Avg of system.core.user over account:prod by service,app","title_align":"right","title_size":"16","type":"toplist"}}]} form: {} headers: Accept: @@ -13,11 +13,11 @@ interactions: Dd-Operation-Id: - CreateDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 2.4.4; terraform-cli 0.14.7) datadog-api-client-go/1.0.0-beta.16 (go go1.15.3; os darwin; arch amd64) + - terraform-provider-datadog/dev (terraform 2.6.1; terraform-cli 0.15.3) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) 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":"uuv-ibj-szj","title":"tf-TestAccDatadogDashboardTopList_import-local-1615587261","url":"/dashboard/uuv-ibj-szj/tf-testaccdatadogdashboardtoplistimport-local-1615587261","created_at":"2021-03-12T22:14:24.500805+00:00","modified_at":"2021-03-12T22:14:24.500805+00:00","author_handle":"frog@datadoghq.com","widgets":[{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test Custom Link label"}],"title_size":"16","title":"Avg of system.core.user over account:prod by service,app","title_align":"right","time":{"live_span":"1w"},"requests":[{"q":"top(avg:system.core.user{account:prod} by {service,app}, 10, ''sum'', ''desc'')","conditional_formats":[{"palette":"white_on_red","hide_value":false,"value":15000,"comparator":">"}]}],"type":"toplist"},"id":2957177201213649}],"layout_type":"ordered"}' + body: '{"notify_list":[],"description":"Created using the Datadog provider in Terraform","author_name":null,"template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"vmr-r56-i4k","title":"tf-TestAccDatadogDashboardTopList_import-local-1623095460","url":"/dashboard/vmr-r56-i4k/tf-testaccdatadogdashboardtoplistimport-local-1623095460","created_at":"2021-06-07T19:51:25.312853+00:00","modified_at":"2021-06-07T19:51:25.312853+00:00","author_handle":"frog@datadoghq.com","widgets":[{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test Custom Link label"}],"title_size":"16","title":"Avg of system.core.user over account:prod by service,app","title_align":"right","time":{"live_span":"1w"},"requests":[{"q":"top(avg:system.core.user{account:prod} by {service,app}, 10, ''sum'', ''desc'')","conditional_formats":[{"palette":"white_on_red","hide_value":false,"value":15000,"comparator":">"}]}],"type":"toplist"},"id":8609368833436790}],"layout_type":"ordered"}' headers: Cache-Control: - no-cache @@ -28,7 +28,7 @@ interactions: Content-Type: - application/json Date: - - Fri, 12 Mar 2021 22:14:27 GMT + - Mon, 07 Jun 2021 19:51:26 GMT Pragma: - no-cache Strict-Transport-Security: @@ -38,9 +38,9 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Debug: - - fIO2C4qGDheGHy4YbS+r3a3CXbh4cbRo7roILOimQyiHGjQdOat0cIpWCkupM1uX + - B1nwy/pPNqX+q4pQT22cdp1QCexE35IF8qwSHy0Nf7IW0Y881qtn4tXN1lpmzaKc X-Dd-Version: - - "35.4088130" + - "35.4693673" X-Frame-Options: - SAMEORIGIN status: 200 OK @@ -55,11 +55,11 @@ interactions: Dd-Operation-Id: - GetDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 2.4.4; terraform-cli 0.14.7) datadog-api-client-go/1.0.0-beta.16 (go go1.15.3; os darwin; arch amd64) - url: https://api.datadoghq.com/api/v1/dashboard/uuv-ibj-szj + - terraform-provider-datadog/dev (terraform 2.6.1; terraform-cli 0.15.3) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) + url: https://api.datadoghq.com/api/v1/dashboard/vmr-r56-i4k 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":"uuv-ibj-szj","title":"tf-TestAccDatadogDashboardTopList_import-local-1615587261","url":"/dashboard/uuv-ibj-szj/tf-testaccdatadogdashboardtoplistimport-local-1615587261","created_at":"2021-03-12T22:14:24.500805+00:00","modified_at":"2021-03-12T22:14:24.500805+00:00","author_handle":"frog@datadoghq.com","widgets":[{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test Custom Link label"}],"title_size":"16","title":"Avg of system.core.user over account:prod by service,app","title_align":"right","time":{"live_span":"1w"},"requests":[{"q":"top(avg:system.core.user{account:prod} by {service,app}, 10, ''sum'', ''desc'')","conditional_formats":[{"palette":"white_on_red","hide_value":false,"value":15000,"comparator":">"}]}],"type":"toplist"},"id":2957177201213649}],"layout_type":"ordered"}' + body: '{"notify_list":[],"description":"Created using the Datadog provider in Terraform","author_name":null,"template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"vmr-r56-i4k","title":"tf-TestAccDatadogDashboardTopList_import-local-1623095460","url":"/dashboard/vmr-r56-i4k/tf-testaccdatadogdashboardtoplistimport-local-1623095460","created_at":"2021-06-07T19:51:25.312853+00:00","modified_at":"2021-06-07T19:51:25.312853+00:00","author_handle":"frog@datadoghq.com","widgets":[{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test Custom Link label"}],"title_size":"16","title":"Avg of system.core.user over account:prod by service,app","title_align":"right","time":{"live_span":"1w"},"requests":[{"q":"top(avg:system.core.user{account:prod} by {service,app}, 10, ''sum'', ''desc'')","conditional_formats":[{"palette":"white_on_red","hide_value":false,"value":15000,"comparator":">"}]}],"type":"toplist"},"id":8609368833436790}],"layout_type":"ordered"}' headers: Cache-Control: - no-cache @@ -70,7 +70,7 @@ interactions: Content-Type: - application/json Date: - - Fri, 12 Mar 2021 22:14:27 GMT + - Mon, 07 Jun 2021 19:51:27 GMT Pragma: - no-cache Strict-Transport-Security: @@ -80,9 +80,9 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Debug: - - 25u1gDlL724DHllbjFT4BhOLorBTilh+aah2uWAUEjFC/+rjczJdiyWrV/HwLwe/ + - F5gm0Rce1/Abr9/0Fw8HAqWfiz0FdiH8er/AXnN6lOn3L6KyGgbsLCwgPlob1No8 X-Dd-Version: - - "35.4088130" + - "35.4693673" X-Frame-Options: - SAMEORIGIN status: 200 OK @@ -97,11 +97,11 @@ interactions: Dd-Operation-Id: - GetDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 2.4.4; terraform-cli 0.14.7) datadog-api-client-go/1.0.0-beta.16 (go go1.15.3; os darwin; arch amd64) - url: https://api.datadoghq.com/api/v1/dashboard/uuv-ibj-szj + - terraform-provider-datadog/dev (terraform 2.6.1; terraform-cli 0.15.3) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) + url: https://api.datadoghq.com/api/v1/dashboard/vmr-r56-i4k 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":"uuv-ibj-szj","title":"tf-TestAccDatadogDashboardTopList_import-local-1615587261","url":"/dashboard/uuv-ibj-szj/tf-testaccdatadogdashboardtoplistimport-local-1615587261","created_at":"2021-03-12T22:14:24.500805+00:00","modified_at":"2021-03-12T22:14:24.500805+00:00","author_handle":"frog@datadoghq.com","widgets":[{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test Custom Link label"}],"title_size":"16","title":"Avg of system.core.user over account:prod by service,app","title_align":"right","time":{"live_span":"1w"},"requests":[{"q":"top(avg:system.core.user{account:prod} by {service,app}, 10, ''sum'', ''desc'')","conditional_formats":[{"palette":"white_on_red","hide_value":false,"value":15000,"comparator":">"}]}],"type":"toplist"},"id":2957177201213649}],"layout_type":"ordered"}' + body: '{"notify_list":[],"description":"Created using the Datadog provider in Terraform","author_name":null,"template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"vmr-r56-i4k","title":"tf-TestAccDatadogDashboardTopList_import-local-1623095460","url":"/dashboard/vmr-r56-i4k/tf-testaccdatadogdashboardtoplistimport-local-1623095460","created_at":"2021-06-07T19:51:25.312853+00:00","modified_at":"2021-06-07T19:51:25.312853+00:00","author_handle":"frog@datadoghq.com","widgets":[{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test Custom Link label"}],"title_size":"16","title":"Avg of system.core.user over account:prod by service,app","title_align":"right","time":{"live_span":"1w"},"requests":[{"q":"top(avg:system.core.user{account:prod} by {service,app}, 10, ''sum'', ''desc'')","conditional_formats":[{"palette":"white_on_red","hide_value":false,"value":15000,"comparator":">"}]}],"type":"toplist"},"id":8609368833436790}],"layout_type":"ordered"}' headers: Cache-Control: - no-cache @@ -112,7 +112,7 @@ interactions: Content-Type: - application/json Date: - - Fri, 12 Mar 2021 22:14:29 GMT + - Mon, 07 Jun 2021 19:51:39 GMT Pragma: - no-cache Strict-Transport-Security: @@ -122,9 +122,9 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Debug: - - Um4CoU685QqAscnxhS5BD+goWu2yX1Jd4zCfGzSsEvPPIm1qURZaF8dlLl/OEY4I + - PhosSd3Ch1B6B0DXI71steKUi7XhPDttnPiIP1NdXTw0VJNWpoUnYyBmODS5ne3q X-Dd-Version: - - "35.4088130" + - "35.4693673" X-Frame-Options: - SAMEORIGIN status: 200 OK @@ -139,11 +139,11 @@ interactions: Dd-Operation-Id: - GetDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 2.4.4; terraform-cli ) datadog-api-client-go/1.0.0-beta.16 (go go1.15.3; os darwin; arch amd64) - url: https://api.datadoghq.com/api/v1/dashboard/uuv-ibj-szj + - terraform-provider-datadog/dev (terraform 2.6.1; terraform-cli 0.15.3) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) + url: https://api.datadoghq.com/api/v1/dashboard/vmr-r56-i4k 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":"uuv-ibj-szj","title":"tf-TestAccDatadogDashboardTopList_import-local-1615587261","url":"/dashboard/uuv-ibj-szj/tf-testaccdatadogdashboardtoplistimport-local-1615587261","created_at":"2021-03-12T22:14:24.500805+00:00","modified_at":"2021-03-12T22:14:24.500805+00:00","author_handle":"frog@datadoghq.com","widgets":[{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test Custom Link label"}],"title_size":"16","title":"Avg of system.core.user over account:prod by service,app","title_align":"right","time":{"live_span":"1w"},"requests":[{"q":"top(avg:system.core.user{account:prod} by {service,app}, 10, ''sum'', ''desc'')","conditional_formats":[{"palette":"white_on_red","hide_value":false,"value":15000,"comparator":">"}]}],"type":"toplist"},"id":2957177201213649}],"layout_type":"ordered"}' + body: '{"notify_list":[],"description":"Created using the Datadog provider in Terraform","author_name":null,"template_variable_presets":[],"template_variables":[],"is_read_only":true,"id":"vmr-r56-i4k","title":"tf-TestAccDatadogDashboardTopList_import-local-1623095460","url":"/dashboard/vmr-r56-i4k/tf-testaccdatadogdashboardtoplistimport-local-1623095460","created_at":"2021-06-07T19:51:25.312853+00:00","modified_at":"2021-06-07T19:51:25.312853+00:00","author_handle":"frog@datadoghq.com","widgets":[{"definition":{"custom_links":[{"link":"https://app.datadoghq.com/dashboard/lists","label":"Test Custom Link label"}],"title_size":"16","title":"Avg of system.core.user over account:prod by service,app","title_align":"right","time":{"live_span":"1w"},"requests":[{"q":"top(avg:system.core.user{account:prod} by {service,app}, 10, ''sum'', ''desc'')","conditional_formats":[{"palette":"white_on_red","hide_value":false,"value":15000,"comparator":">"}]}],"type":"toplist"},"id":8609368833436790}],"layout_type":"ordered"}' headers: Cache-Control: - no-cache @@ -154,7 +154,7 @@ interactions: Content-Type: - application/json Date: - - Fri, 12 Mar 2021 22:14:31 GMT + - Mon, 07 Jun 2021 19:51:59 GMT Pragma: - no-cache Strict-Transport-Security: @@ -164,9 +164,9 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Debug: - - LcgNasIYBRkNppmD6mCKE9J6iv0eEjosuuHR5V5zw2fWbR54i39C8dhdK8zDq/40 + - bgHykj7A9bfZx0Y5ZO3swhhp5tGUSNJHqFWR868+qg087CYrDOd5hQslC+noiEtH X-Dd-Version: - - "35.4088130" + - "35.4693673" X-Frame-Options: - SAMEORIGIN status: 200 OK @@ -181,11 +181,11 @@ interactions: Dd-Operation-Id: - DeleteDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 2.4.4; terraform-cli 0.14.7) datadog-api-client-go/1.0.0-beta.16 (go go1.15.3; os darwin; arch amd64) - url: https://api.datadoghq.com/api/v1/dashboard/uuv-ibj-szj + - terraform-provider-datadog/dev (terraform 2.6.1; terraform-cli 0.15.3) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) + url: https://api.datadoghq.com/api/v1/dashboard/vmr-r56-i4k method: DELETE response: - body: '{"deleted_dashboard_id":"uuv-ibj-szj"}' + body: '{"deleted_dashboard_id":"vmr-r56-i4k"}' headers: Cache-Control: - no-cache @@ -196,7 +196,7 @@ interactions: Content-Type: - application/json Date: - - Fri, 12 Mar 2021 22:14:32 GMT + - Mon, 07 Jun 2021 19:52:05 GMT Pragma: - no-cache Strict-Transport-Security: @@ -206,9 +206,9 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Debug: - - JpIJLwIH2nFlZOC+u71rq7aAOL43MLZN3MUsL+gpYHdZz5QLUOG8Jysf8kVK6tPU + - SY1h8ScsWq+kYmtbh63ltMLFAZsQjqfrgvdfAoRX+9TzT1sgMBRYaFRwfWWRRe9a X-Dd-Version: - - "35.4088130" + - "35.4693673" X-Frame-Options: - SAMEORIGIN status: 200 OK @@ -223,11 +223,11 @@ interactions: Dd-Operation-Id: - GetDashboard User-Agent: - - terraform-provider-datadog/dev (terraform 2.4.4; terraform-cli 0.14.7) datadog-api-client-go/1.0.0-beta.16 (go go1.15.3; os darwin; arch amd64) - url: https://api.datadoghq.com/api/v1/dashboard/uuv-ibj-szj + - terraform-provider-datadog/dev (terraform 2.6.1; terraform-cli 0.15.3) datadog-api-client-go/1.0.0-beta.22 (go go1.16.3; os darwin; arch amd64) + url: https://api.datadoghq.com/api/v1/dashboard/vmr-r56-i4k method: GET response: - body: '{"errors": ["Dashboard with ID uuv-ibj-szj not found"]}' + body: '{"errors": ["Dashboard with ID vmr-r56-i4k not found"]}' headers: Cache-Control: - no-cache @@ -238,7 +238,7 @@ interactions: Content-Type: - application/json Date: - - Fri, 12 Mar 2021 22:14:33 GMT + - Mon, 07 Jun 2021 19:52:05 GMT Pragma: - no-cache Strict-Transport-Security: @@ -248,7 +248,7 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Version: - - "35.4088130" + - "35.4693673" X-Frame-Options: - SAMEORIGIN status: 404 Not Found From 91e01c7c815a689c7f2745bd85ee897537cfe952 Mon Sep 17 00:00:00 2001 From: qin cheng chen Date: Tue, 8 Jun 2021 09:51:19 -0400 Subject: [PATCH 19/22] Update datadog/resource_datadog_dashboard.go Co-authored-by: skarimo <40482491+skarimo@users.noreply.github.com> --- datadog/resource_datadog_dashboard.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/datadog/resource_datadog_dashboard.go b/datadog/resource_datadog_dashboard.go index 4feba2462..2da6ca2fd 100644 --- a/datadog/resource_datadog_dashboard.go +++ b/datadog/resource_datadog_dashboard.go @@ -5961,7 +5961,7 @@ func getWidgetCustomLinkSchema() map[string]*schema.Schema { Optional: true, }, "is_hidden": { - Description: "The flag for toggling context menu link visibility", + Description: "The flag for toggling context menu link visibility.", Type: schema.TypeBool, Optional: true, }, From 670dee822e02f202013a3aaac5ec2f9cd852e109 Mon Sep 17 00:00:00 2001 From: qin cheng chen Date: Tue, 8 Jun 2021 09:51:53 -0400 Subject: [PATCH 20/22] Update datadog/resource_datadog_dashboard.go Co-authored-by: skarimo <40482491+skarimo@users.noreply.github.com> --- datadog/resource_datadog_dashboard.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/datadog/resource_datadog_dashboard.go b/datadog/resource_datadog_dashboard.go index 2da6ca2fd..bdf4d80f8 100644 --- a/datadog/resource_datadog_dashboard.go +++ b/datadog/resource_datadog_dashboard.go @@ -5966,7 +5966,7 @@ func getWidgetCustomLinkSchema() map[string]*schema.Schema { Optional: true, }, "override_label": { - Description: "The label id that refers to a context menu link item", + Description: "The label id that refers to a context menu link item.", Type: schema.TypeString, Optional: true, }, From 814c53a9260e886c69dc8d2de39c2286f1b5d426 Mon Sep 17 00:00:00 2001 From: Qin Cheng Chen Date: Tue, 8 Jun 2021 09:56:33 -0400 Subject: [PATCH 21/22] update make docs --- datadog/resource_datadog_dashboard.go | 4 +- docs/resources/dashboard.md | 80 +++++++++++++-------------- 2 files changed, 42 insertions(+), 42 deletions(-) diff --git a/datadog/resource_datadog_dashboard.go b/datadog/resource_datadog_dashboard.go index bdf4d80f8..b103456b3 100644 --- a/datadog/resource_datadog_dashboard.go +++ b/datadog/resource_datadog_dashboard.go @@ -5966,7 +5966,7 @@ func getWidgetCustomLinkSchema() map[string]*schema.Schema { Optional: true, }, "override_label": { - Description: "The label id that refers to a context menu link item.", + Description: "The label id that refers to a context menu link item. When override_label is provided, the client request will omit the label field", Type: schema.TypeString, Optional: true, }, @@ -5980,7 +5980,7 @@ func buildDatadogWidgetCustomLinks(terraformWidgetCustomLinks *[]interface{}) *[ if v, ok := terraformCustomLink["override_label"].(string); ok && len(v) > 0 { datadogWidgetCustomLink.SetOverrideLabel(v) } - // if override_label is provided, it would context menu override, thus omit label field + // if override_label is provided, the label field will be omitted. if v, ok := terraformCustomLink["label"].(string); ok && len(v) > 0 && !datadogWidgetCustomLink.HasOverrideLabel() { datadogWidgetCustomLink.SetLabel(v) } diff --git a/docs/resources/dashboard.md b/docs/resources/dashboard.md index cb3bf337f..854b136b4 100644 --- a/docs/resources/dashboard.md +++ b/docs/resources/dashboard.md @@ -771,10 +771,10 @@ Optional: Optional: -- **is_hidden** (Boolean) The flag for toggling context menu link visibility +- **is_hidden** (Boolean) The flag for toggling context menu link visibility. - **label** (String) The label for the custom link URL. - **link** (String) The URL of the custom link. -- **override_label** (String) The label id that refers to a context menu link item +- **override_label** (String) The label id that refers to a context menu link item. When override_label is provided, the client request will omit the label field @@ -1469,10 +1469,10 @@ Required: Optional: -- **is_hidden** (Boolean) The flag for toggling context menu link visibility +- **is_hidden** (Boolean) The flag for toggling context menu link visibility. - **label** (String) The label for the custom link URL. - **link** (String) The URL of the custom link. -- **override_label** (String) The label id that refers to a context menu link item +- **override_label** (String) The label id that refers to a context menu link item. When override_label is provided, the client request will omit the label field @@ -1853,10 +1853,10 @@ Optional: Optional: -- **is_hidden** (Boolean) The flag for toggling context menu link visibility +- **is_hidden** (Boolean) The flag for toggling context menu link visibility. - **label** (String) The label for the custom link URL. - **link** (String) The URL of the custom link. -- **override_label** (String) The label id that refers to a context menu link item +- **override_label** (String) The label id that refers to a context menu link item. When override_label is provided, the client request will omit the label field @@ -2551,10 +2551,10 @@ Required: Optional: -- **is_hidden** (Boolean) The flag for toggling context menu link visibility +- **is_hidden** (Boolean) The flag for toggling context menu link visibility. - **label** (String) The label for the custom link URL. - **link** (String) The URL of the custom link. -- **override_label** (String) The label id that refers to a context menu link item +- **override_label** (String) The label id that refers to a context menu link item. When override_label is provided, the client request will omit the label field @@ -2856,10 +2856,10 @@ Optional: Optional: -- **is_hidden** (Boolean) The flag for toggling context menu link visibility +- **is_hidden** (Boolean) The flag for toggling context menu link visibility. - **label** (String) The label for the custom link URL. - **link** (String) The URL of the custom link. -- **override_label** (String) The label id that refers to a context menu link item +- **override_label** (String) The label id that refers to a context menu link item. When override_label is provided, the client request will omit the label field @@ -3201,10 +3201,10 @@ Optional: Optional: -- **is_hidden** (Boolean) The flag for toggling context menu link visibility +- **is_hidden** (Boolean) The flag for toggling context menu link visibility. - **label** (String) The label for the custom link URL. - **link** (String) The URL of the custom link. -- **override_label** (String) The label id that refers to a context menu link item +- **override_label** (String) The label id that refers to a context menu link item. When override_label is provided, the client request will omit the label field @@ -3904,10 +3904,10 @@ Optional: Optional: -- **is_hidden** (Boolean) The flag for toggling context menu link visibility +- **is_hidden** (Boolean) The flag for toggling context menu link visibility. - **label** (String) The label for the custom link URL. - **link** (String) The URL of the custom link. -- **override_label** (String) The label id that refers to a context menu link item +- **override_label** (String) The label id that refers to a context menu link item. When override_label is provided, the client request will omit the label field @@ -4272,10 +4272,10 @@ Optional: Optional: -- **is_hidden** (Boolean) The flag for toggling context menu link visibility +- **is_hidden** (Boolean) The flag for toggling context menu link visibility. - **label** (String) The label for the custom link URL. - **link** (String) The URL of the custom link. -- **override_label** (String) The label id that refers to a context menu link item +- **override_label** (String) The label id that refers to a context menu link item. When override_label is provided, the client request will omit the label field @@ -4733,10 +4733,10 @@ Optional: Optional: -- **is_hidden** (Boolean) The flag for toggling context menu link visibility +- **is_hidden** (Boolean) The flag for toggling context menu link visibility. - **label** (String) The label for the custom link URL. - **link** (String) The URL of the custom link. -- **override_label** (String) The label id that refers to a context menu link item +- **override_label** (String) The label id that refers to a context menu link item. When override_label is provided, the client request will omit the label field @@ -5380,10 +5380,10 @@ Optional: Optional: -- **is_hidden** (Boolean) The flag for toggling context menu link visibility +- **is_hidden** (Boolean) The flag for toggling context menu link visibility. - **label** (String) The label for the custom link URL. - **link** (String) The URL of the custom link. -- **override_label** (String) The label id that refers to a context menu link item +- **override_label** (String) The label id that refers to a context menu link item. When override_label is provided, the client request will omit the label field @@ -5412,10 +5412,10 @@ Optional: Optional: -- **is_hidden** (Boolean) The flag for toggling context menu link visibility +- **is_hidden** (Boolean) The flag for toggling context menu link visibility. - **label** (String) The label for the custom link URL. - **link** (String) The URL of the custom link. -- **override_label** (String) The label id that refers to a context menu link item +- **override_label** (String) The label id that refers to a context menu link item. When override_label is provided, the client request will omit the label field @@ -5989,10 +5989,10 @@ Optional: Optional: -- **is_hidden** (Boolean) The flag for toggling context menu link visibility +- **is_hidden** (Boolean) The flag for toggling context menu link visibility. - **label** (String) The label for the custom link URL. - **link** (String) The URL of the custom link. -- **override_label** (String) The label id that refers to a context menu link item +- **override_label** (String) The label id that refers to a context menu link item. When override_label is provided, the client request will omit the label field @@ -6501,10 +6501,10 @@ Optional: Optional: -- **is_hidden** (Boolean) The flag for toggling context menu link visibility +- **is_hidden** (Boolean) The flag for toggling context menu link visibility. - **label** (String) The label for the custom link URL. - **link** (String) The URL of the custom link. -- **override_label** (String) The label id that refers to a context menu link item +- **override_label** (String) The label id that refers to a context menu link item. When override_label is provided, the client request will omit the label field @@ -6846,10 +6846,10 @@ Optional: Optional: -- **is_hidden** (Boolean) The flag for toggling context menu link visibility +- **is_hidden** (Boolean) The flag for toggling context menu link visibility. - **label** (String) The label for the custom link URL. - **link** (String) The URL of the custom link. -- **override_label** (String) The label id that refers to a context menu link item +- **override_label** (String) The label id that refers to a context menu link item. When override_label is provided, the client request will omit the label field @@ -7549,10 +7549,10 @@ Optional: Optional: -- **is_hidden** (Boolean) The flag for toggling context menu link visibility +- **is_hidden** (Boolean) The flag for toggling context menu link visibility. - **label** (String) The label for the custom link URL. - **link** (String) The URL of the custom link. -- **override_label** (String) The label id that refers to a context menu link item +- **override_label** (String) The label id that refers to a context menu link item. When override_label is provided, the client request will omit the label field @@ -7917,10 +7917,10 @@ Optional: Optional: -- **is_hidden** (Boolean) The flag for toggling context menu link visibility +- **is_hidden** (Boolean) The flag for toggling context menu link visibility. - **label** (String) The label for the custom link URL. - **link** (String) The URL of the custom link. -- **override_label** (String) The label id that refers to a context menu link item +- **override_label** (String) The label id that refers to a context menu link item. When override_label is provided, the client request will omit the label field @@ -8378,10 +8378,10 @@ Optional: Optional: -- **is_hidden** (Boolean) The flag for toggling context menu link visibility +- **is_hidden** (Boolean) The flag for toggling context menu link visibility. - **label** (String) The label for the custom link URL. - **link** (String) The URL of the custom link. -- **override_label** (String) The label id that refers to a context menu link item +- **override_label** (String) The label id that refers to a context menu link item. When override_label is provided, the client request will omit the label field @@ -9025,10 +9025,10 @@ Optional: Optional: -- **is_hidden** (Boolean) The flag for toggling context menu link visibility +- **is_hidden** (Boolean) The flag for toggling context menu link visibility. - **label** (String) The label for the custom link URL. - **link** (String) The URL of the custom link. -- **override_label** (String) The label id that refers to a context menu link item +- **override_label** (String) The label id that refers to a context menu link item. When override_label is provided, the client request will omit the label field @@ -9057,10 +9057,10 @@ Optional: Optional: -- **is_hidden** (Boolean) The flag for toggling context menu link visibility +- **is_hidden** (Boolean) The flag for toggling context menu link visibility. - **label** (String) The label for the custom link URL. - **link** (String) The URL of the custom link. -- **override_label** (String) The label id that refers to a context menu link item +- **override_label** (String) The label id that refers to a context menu link item. When override_label is provided, the client request will omit the label field @@ -9634,10 +9634,10 @@ Optional: Optional: -- **is_hidden** (Boolean) The flag for toggling context menu link visibility +- **is_hidden** (Boolean) The flag for toggling context menu link visibility. - **label** (String) The label for the custom link URL. - **link** (String) The URL of the custom link. -- **override_label** (String) The label id that refers to a context menu link item +- **override_label** (String) The label id that refers to a context menu link item. When override_label is provided, the client request will omit the label field From 5edf6480dcbd144a8b5339d800f07343d2affe4e Mon Sep 17 00:00:00 2001 From: Qin Cheng Chen Date: Tue, 8 Jun 2021 10:01:03 -0400 Subject: [PATCH 22/22] add period --- datadog/resource_datadog_dashboard.go | 2 +- docs/resources/dashboard.md | 40 +++++++++++++-------------- 2 files changed, 21 insertions(+), 21 deletions(-) diff --git a/datadog/resource_datadog_dashboard.go b/datadog/resource_datadog_dashboard.go index b103456b3..96691b65d 100644 --- a/datadog/resource_datadog_dashboard.go +++ b/datadog/resource_datadog_dashboard.go @@ -5966,7 +5966,7 @@ func getWidgetCustomLinkSchema() map[string]*schema.Schema { Optional: true, }, "override_label": { - Description: "The label id that refers to a context menu link item. When override_label is provided, the client request will omit the label field", + Description: "The label id that refers to a context menu link item. When override_label is provided, the client request will omit the label field.", Type: schema.TypeString, Optional: true, }, diff --git a/docs/resources/dashboard.md b/docs/resources/dashboard.md index 854b136b4..10bd1c371 100644 --- a/docs/resources/dashboard.md +++ b/docs/resources/dashboard.md @@ -774,7 +774,7 @@ Optional: - **is_hidden** (Boolean) The flag for toggling context menu link visibility. - **label** (String) The label for the custom link URL. - **link** (String) The URL of the custom link. -- **override_label** (String) The label id that refers to a context menu link item. When override_label is provided, the client request will omit the label field +- **override_label** (String) The label id that refers to a context menu link item. When override_label is provided, the client request will omit the label field. @@ -1472,7 +1472,7 @@ Optional: - **is_hidden** (Boolean) The flag for toggling context menu link visibility. - **label** (String) The label for the custom link URL. - **link** (String) The URL of the custom link. -- **override_label** (String) The label id that refers to a context menu link item. When override_label is provided, the client request will omit the label field +- **override_label** (String) The label id that refers to a context menu link item. When override_label is provided, the client request will omit the label field. @@ -1856,7 +1856,7 @@ Optional: - **is_hidden** (Boolean) The flag for toggling context menu link visibility. - **label** (String) The label for the custom link URL. - **link** (String) The URL of the custom link. -- **override_label** (String) The label id that refers to a context menu link item. When override_label is provided, the client request will omit the label field +- **override_label** (String) The label id that refers to a context menu link item. When override_label is provided, the client request will omit the label field. @@ -2554,7 +2554,7 @@ Optional: - **is_hidden** (Boolean) The flag for toggling context menu link visibility. - **label** (String) The label for the custom link URL. - **link** (String) The URL of the custom link. -- **override_label** (String) The label id that refers to a context menu link item. When override_label is provided, the client request will omit the label field +- **override_label** (String) The label id that refers to a context menu link item. When override_label is provided, the client request will omit the label field. @@ -2859,7 +2859,7 @@ Optional: - **is_hidden** (Boolean) The flag for toggling context menu link visibility. - **label** (String) The label for the custom link URL. - **link** (String) The URL of the custom link. -- **override_label** (String) The label id that refers to a context menu link item. When override_label is provided, the client request will omit the label field +- **override_label** (String) The label id that refers to a context menu link item. When override_label is provided, the client request will omit the label field. @@ -3204,7 +3204,7 @@ Optional: - **is_hidden** (Boolean) The flag for toggling context menu link visibility. - **label** (String) The label for the custom link URL. - **link** (String) The URL of the custom link. -- **override_label** (String) The label id that refers to a context menu link item. When override_label is provided, the client request will omit the label field +- **override_label** (String) The label id that refers to a context menu link item. When override_label is provided, the client request will omit the label field. @@ -3907,7 +3907,7 @@ Optional: - **is_hidden** (Boolean) The flag for toggling context menu link visibility. - **label** (String) The label for the custom link URL. - **link** (String) The URL of the custom link. -- **override_label** (String) The label id that refers to a context menu link item. When override_label is provided, the client request will omit the label field +- **override_label** (String) The label id that refers to a context menu link item. When override_label is provided, the client request will omit the label field. @@ -4275,7 +4275,7 @@ Optional: - **is_hidden** (Boolean) The flag for toggling context menu link visibility. - **label** (String) The label for the custom link URL. - **link** (String) The URL of the custom link. -- **override_label** (String) The label id that refers to a context menu link item. When override_label is provided, the client request will omit the label field +- **override_label** (String) The label id that refers to a context menu link item. When override_label is provided, the client request will omit the label field. @@ -4736,7 +4736,7 @@ Optional: - **is_hidden** (Boolean) The flag for toggling context menu link visibility. - **label** (String) The label for the custom link URL. - **link** (String) The URL of the custom link. -- **override_label** (String) The label id that refers to a context menu link item. When override_label is provided, the client request will omit the label field +- **override_label** (String) The label id that refers to a context menu link item. When override_label is provided, the client request will omit the label field. @@ -5383,7 +5383,7 @@ Optional: - **is_hidden** (Boolean) The flag for toggling context menu link visibility. - **label** (String) The label for the custom link URL. - **link** (String) The URL of the custom link. -- **override_label** (String) The label id that refers to a context menu link item. When override_label is provided, the client request will omit the label field +- **override_label** (String) The label id that refers to a context menu link item. When override_label is provided, the client request will omit the label field. @@ -5415,7 +5415,7 @@ Optional: - **is_hidden** (Boolean) The flag for toggling context menu link visibility. - **label** (String) The label for the custom link URL. - **link** (String) The URL of the custom link. -- **override_label** (String) The label id that refers to a context menu link item. When override_label is provided, the client request will omit the label field +- **override_label** (String) The label id that refers to a context menu link item. When override_label is provided, the client request will omit the label field. @@ -5992,7 +5992,7 @@ Optional: - **is_hidden** (Boolean) The flag for toggling context menu link visibility. - **label** (String) The label for the custom link URL. - **link** (String) The URL of the custom link. -- **override_label** (String) The label id that refers to a context menu link item. When override_label is provided, the client request will omit the label field +- **override_label** (String) The label id that refers to a context menu link item. When override_label is provided, the client request will omit the label field. @@ -6504,7 +6504,7 @@ Optional: - **is_hidden** (Boolean) The flag for toggling context menu link visibility. - **label** (String) The label for the custom link URL. - **link** (String) The URL of the custom link. -- **override_label** (String) The label id that refers to a context menu link item. When override_label is provided, the client request will omit the label field +- **override_label** (String) The label id that refers to a context menu link item. When override_label is provided, the client request will omit the label field. @@ -6849,7 +6849,7 @@ Optional: - **is_hidden** (Boolean) The flag for toggling context menu link visibility. - **label** (String) The label for the custom link URL. - **link** (String) The URL of the custom link. -- **override_label** (String) The label id that refers to a context menu link item. When override_label is provided, the client request will omit the label field +- **override_label** (String) The label id that refers to a context menu link item. When override_label is provided, the client request will omit the label field. @@ -7552,7 +7552,7 @@ Optional: - **is_hidden** (Boolean) The flag for toggling context menu link visibility. - **label** (String) The label for the custom link URL. - **link** (String) The URL of the custom link. -- **override_label** (String) The label id that refers to a context menu link item. When override_label is provided, the client request will omit the label field +- **override_label** (String) The label id that refers to a context menu link item. When override_label is provided, the client request will omit the label field. @@ -7920,7 +7920,7 @@ Optional: - **is_hidden** (Boolean) The flag for toggling context menu link visibility. - **label** (String) The label for the custom link URL. - **link** (String) The URL of the custom link. -- **override_label** (String) The label id that refers to a context menu link item. When override_label is provided, the client request will omit the label field +- **override_label** (String) The label id that refers to a context menu link item. When override_label is provided, the client request will omit the label field. @@ -8381,7 +8381,7 @@ Optional: - **is_hidden** (Boolean) The flag for toggling context menu link visibility. - **label** (String) The label for the custom link URL. - **link** (String) The URL of the custom link. -- **override_label** (String) The label id that refers to a context menu link item. When override_label is provided, the client request will omit the label field +- **override_label** (String) The label id that refers to a context menu link item. When override_label is provided, the client request will omit the label field. @@ -9028,7 +9028,7 @@ Optional: - **is_hidden** (Boolean) The flag for toggling context menu link visibility. - **label** (String) The label for the custom link URL. - **link** (String) The URL of the custom link. -- **override_label** (String) The label id that refers to a context menu link item. When override_label is provided, the client request will omit the label field +- **override_label** (String) The label id that refers to a context menu link item. When override_label is provided, the client request will omit the label field. @@ -9060,7 +9060,7 @@ Optional: - **is_hidden** (Boolean) The flag for toggling context menu link visibility. - **label** (String) The label for the custom link URL. - **link** (String) The URL of the custom link. -- **override_label** (String) The label id that refers to a context menu link item. When override_label is provided, the client request will omit the label field +- **override_label** (String) The label id that refers to a context menu link item. When override_label is provided, the client request will omit the label field. @@ -9637,7 +9637,7 @@ Optional: - **is_hidden** (Boolean) The flag for toggling context menu link visibility. - **label** (String) The label for the custom link URL. - **link** (String) The URL of the custom link. -- **override_label** (String) The label id that refers to a context menu link item. When override_label is provided, the client request will omit the label field +- **override_label** (String) The label id that refers to a context menu link item. When override_label is provided, the client request will omit the label field.