Skip to content

Commit

Permalink
[terraform][query table widget] Update description for sub-string field
Browse files Browse the repository at this point in the history
  • Loading branch information
hyungl committed Oct 3, 2024
1 parent 1cf2f3b commit 77cf686
Show file tree
Hide file tree
Showing 7 changed files with 44 additions and 44 deletions.
2 changes: 1 addition & 1 deletion datadog/resource_datadog_dashboard.go
Original file line number Diff line number Diff line change
Expand Up @@ -4827,7 +4827,7 @@ func getTableWidgetTextFormatReplaceSchema() map[string]*schema.Schema {
Required: true,
},
"substring": {
Description: "Text that will be replaced.",
Description: "Text that will be replaced. Must be used with type `substring`.",
Type: schema.TypeString,
Optional: true,
},
Expand Down
Original file line number Diff line number Diff line change
@@ -1 +1 @@
2024-09-26T13:30:05.203831-04:00
2024-10-03T10:24:53.730398-04:00
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ interactions:
remote_addr: ""
request_uri: ""
body: |
{"description":"Created using the Datadog provider in Terraform","id":"","layout_type":"ordered","notify_list":[],"tags":[],"template_variable_presets":[],"template_variables":[],"title":"tf-TestAccDatadogDashboardQueryTableWithTextFormats-local-1727371805","widgets":[{"definition":{"has_search_bar":"auto","requests":[{"aggregator":"max","alias":"cpu user","cell_display_mode":["number"],"limit":25,"order":"desc","q":"avg:system.cpu.user{account:prod} by {service, team}","text_formats":[[{"match":{"type":"is","value":"test"},"palette":"black_on_light_yellow","replace":{"type":"all","with":"test"}},{"match":{"type":"is","value":"versus"}}],[{"custom_bg_color":"#632CA6","match":{"type":"is","value":"apple"},"palette":"custom_bg"},{"custom_fg_color":"#632CA6","match":{"type":"is","value":"orange"},"palette":"custom_text"}]]}],"time":{"live_span":"1d"},"title":"this is hyung","title_align":"right","title_size":"16","type":"query_table"}}]}
{"description":"Created using the Datadog provider in Terraform","id":"","layout_type":"ordered","notify_list":[],"tags":[],"template_variable_presets":[],"template_variables":[],"title":"tf-TestAccDatadogDashboardQueryTableWithTextFormats-local-1727965493","widgets":[{"definition":{"has_search_bar":"auto","requests":[{"aggregator":"max","alias":"cpu user","cell_display_mode":["number"],"limit":25,"order":"desc","q":"avg:system.cpu.user{account:prod} by {service, team}","text_formats":[[{"match":{"type":"is","value":"test"},"palette":"black_on_light_yellow","replace":{"type":"all","with":"test"}},{"match":{"type":"is","value":"versus"}}],[{"custom_bg_color":"#632CA6","match":{"type":"is","value":"apple"},"palette":"custom_bg"},{"custom_fg_color":"#632CA6","match":{"type":"is","value":"orange"},"palette":"custom_text"}]]}],"time":{"live_span":"1d"},"title":"this is hyung","title_align":"right","title_size":"16","type":"query_table"}}]}
form: {}
headers:
Accept:
Expand All @@ -32,13 +32,13 @@ interactions:
content_length: -1
uncompressed: true
body: |
{"id":"75s-s5m-uat","title":"tf-TestAccDatadogDashboardQueryTableWithTextFormats-local-1727371805","description":"Created using the Datadog provider in Terraform","author_handle":"[email protected]","author_name":null,"layout_type":"ordered","url":"/dashboard/75s-s5m-uat/tf-testaccdatadogdashboardquerytablewithtextformats-local-1727371805","is_read_only":false,"template_variables":[],"widgets":[{"definition":{"has_search_bar":"auto","requests":[{"aggregator":"max","alias":"cpu user","cell_display_mode":["number"],"limit":25,"order":"desc","q":"avg:system.cpu.user{account:prod} by {service, team}","text_formats":[[{"match":{"type":"is","value":"test"},"palette":"black_on_light_yellow","replace":{"type":"all","with":"test"}},{"match":{"type":"is","value":"versus"}}],[{"custom_bg_color":"#632CA6","match":{"type":"is","value":"apple"},"palette":"custom_bg"},{"custom_fg_color":"#632CA6","match":{"type":"is","value":"orange"},"palette":"custom_text"}]]}],"time":{"live_span":"1d"},"title":"this is hyung","title_align":"right","title_size":"16","type":"query_table"},"id":2381522262780434}],"notify_list":[],"created_at":"2024-09-26T17:30:07.742946+00:00","modified_at":"2024-09-26T17:30:07.742946+00:00","template_variable_presets":[],"tags":[]}
{"id":"9r6-ipc-jz3","title":"tf-TestAccDatadogDashboardQueryTableWithTextFormats-local-1727965493","description":"Created using the Datadog provider in Terraform","author_handle":"[email protected]","author_name":null,"layout_type":"ordered","url":"/dashboard/9r6-ipc-jz3/tf-testaccdatadogdashboardquerytablewithtextformats-local-1727965493","is_read_only":false,"template_variables":[],"widgets":[{"definition":{"has_search_bar":"auto","requests":[{"aggregator":"max","alias":"cpu user","cell_display_mode":["number"],"limit":25,"order":"desc","q":"avg:system.cpu.user{account:prod} by {service, team}","text_formats":[[{"match":{"type":"is","value":"test"},"palette":"black_on_light_yellow","replace":{"type":"all","with":"test"}},{"match":{"type":"is","value":"versus"}}],[{"custom_bg_color":"#632CA6","match":{"type":"is","value":"apple"},"palette":"custom_bg"},{"custom_fg_color":"#632CA6","match":{"type":"is","value":"orange"},"palette":"custom_text"}]]}],"time":{"live_span":"1d"},"title":"this is hyung","title_align":"right","title_size":"16","type":"query_table"},"id":3745615959553530}],"notify_list":[],"created_at":"2024-10-03T14:24:56.762159+00:00","modified_at":"2024-10-03T14:24:56.762159+00:00","template_variable_presets":[],"tags":[]}
headers:
Content-Type:
- application/json
status: 200 OK
code: 200
duration: 423.314542ms
duration: 263.838584ms
- id: 1
request:
proto: HTTP/1.1
Expand All @@ -55,7 +55,7 @@ interactions:
headers:
Accept:
- application/json
url: https://api.datadoghq.com/api/v1/dashboard/75s-s5m-uat
url: https://api.datadoghq.com/api/v1/dashboard/9r6-ipc-jz3
method: GET
response:
proto: HTTP/1.1
Expand All @@ -67,13 +67,13 @@ interactions:
content_length: -1
uncompressed: true
body: |
{"id":"75s-s5m-uat","title":"tf-TestAccDatadogDashboardQueryTableWithTextFormats-local-1727371805","description":"Created using the Datadog provider in Terraform","author_handle":"[email protected]","author_name":null,"layout_type":"ordered","url":"/dashboard/75s-s5m-uat/tf-testaccdatadogdashboardquerytablewithtextformats-local-1727371805","is_read_only":false,"template_variables":[],"widgets":[{"definition":{"has_search_bar":"auto","requests":[{"aggregator":"max","alias":"cpu user","cell_display_mode":["number"],"limit":25,"order":"desc","q":"avg:system.cpu.user{account:prod} by {service, team}","text_formats":[[{"match":{"type":"is","value":"test"},"palette":"black_on_light_yellow","replace":{"type":"all","with":"test"}},{"match":{"type":"is","value":"versus"}}],[{"custom_bg_color":"#632CA6","match":{"type":"is","value":"apple"},"palette":"custom_bg"},{"custom_fg_color":"#632CA6","match":{"type":"is","value":"orange"},"palette":"custom_text"}]]}],"time":{"live_span":"1d"},"title":"this is hyung","title_align":"right","title_size":"16","type":"query_table"},"id":2381522262780434}],"notify_list":[],"created_at":"2024-09-26T17:30:07.742946+00:00","modified_at":"2024-09-26T17:30:07.742946+00:00","template_variable_presets":[],"tags":[]}
{"id":"9r6-ipc-jz3","title":"tf-TestAccDatadogDashboardQueryTableWithTextFormats-local-1727965493","description":"Created using the Datadog provider in Terraform","author_handle":"[email protected]","author_name":null,"layout_type":"ordered","url":"/dashboard/9r6-ipc-jz3/tf-testaccdatadogdashboardquerytablewithtextformats-local-1727965493","is_read_only":false,"template_variables":[],"widgets":[{"definition":{"has_search_bar":"auto","requests":[{"aggregator":"max","alias":"cpu user","cell_display_mode":["number"],"limit":25,"order":"desc","q":"avg:system.cpu.user{account:prod} by {service, team}","text_formats":[[{"match":{"type":"is","value":"test"},"palette":"black_on_light_yellow","replace":{"type":"all","with":"test"}},{"match":{"type":"is","value":"versus"}}],[{"custom_bg_color":"#632CA6","match":{"type":"is","value":"apple"},"palette":"custom_bg"},{"custom_fg_color":"#632CA6","match":{"type":"is","value":"orange"},"palette":"custom_text"}]]}],"time":{"live_span":"1d"},"title":"this is hyung","title_align":"right","title_size":"16","type":"query_table"},"id":3745615959553530}],"notify_list":[],"created_at":"2024-10-03T14:24:56.762159+00:00","modified_at":"2024-10-03T14:24:56.762159+00:00","template_variable_presets":[],"tags":[]}
headers:
Content-Type:
- application/json
status: 200 OK
code: 200
duration: 164.432833ms
duration: 98.213666ms
- id: 2
request:
proto: HTTP/1.1
Expand All @@ -90,7 +90,7 @@ interactions:
headers:
Accept:
- application/json
url: https://api.datadoghq.com/api/v1/dashboard/75s-s5m-uat
url: https://api.datadoghq.com/api/v1/dashboard/9r6-ipc-jz3
method: GET
response:
proto: HTTP/1.1
Expand All @@ -102,13 +102,13 @@ interactions:
content_length: -1
uncompressed: true
body: |
{"id":"75s-s5m-uat","title":"tf-TestAccDatadogDashboardQueryTableWithTextFormats-local-1727371805","description":"Created using the Datadog provider in Terraform","author_handle":"[email protected]","author_name":null,"layout_type":"ordered","url":"/dashboard/75s-s5m-uat/tf-testaccdatadogdashboardquerytablewithtextformats-local-1727371805","is_read_only":false,"template_variables":[],"widgets":[{"definition":{"has_search_bar":"auto","requests":[{"aggregator":"max","alias":"cpu user","cell_display_mode":["number"],"limit":25,"order":"desc","q":"avg:system.cpu.user{account:prod} by {service, team}","text_formats":[[{"match":{"type":"is","value":"test"},"palette":"black_on_light_yellow","replace":{"type":"all","with":"test"}},{"match":{"type":"is","value":"versus"}}],[{"custom_bg_color":"#632CA6","match":{"type":"is","value":"apple"},"palette":"custom_bg"},{"custom_fg_color":"#632CA6","match":{"type":"is","value":"orange"},"palette":"custom_text"}]]}],"time":{"live_span":"1d"},"title":"this is hyung","title_align":"right","title_size":"16","type":"query_table"},"id":2381522262780434}],"notify_list":[],"created_at":"2024-09-26T17:30:07.742946+00:00","modified_at":"2024-09-26T17:30:07.742946+00:00","template_variable_presets":[],"tags":[]}
{"id":"9r6-ipc-jz3","title":"tf-TestAccDatadogDashboardQueryTableWithTextFormats-local-1727965493","description":"Created using the Datadog provider in Terraform","author_handle":"[email protected]","author_name":null,"layout_type":"ordered","url":"/dashboard/9r6-ipc-jz3/tf-testaccdatadogdashboardquerytablewithtextformats-local-1727965493","is_read_only":false,"template_variables":[],"widgets":[{"definition":{"has_search_bar":"auto","requests":[{"aggregator":"max","alias":"cpu user","cell_display_mode":["number"],"limit":25,"order":"desc","q":"avg:system.cpu.user{account:prod} by {service, team}","text_formats":[[{"match":{"type":"is","value":"test"},"palette":"black_on_light_yellow","replace":{"type":"all","with":"test"}},{"match":{"type":"is","value":"versus"}}],[{"custom_bg_color":"#632CA6","match":{"type":"is","value":"apple"},"palette":"custom_bg"},{"custom_fg_color":"#632CA6","match":{"type":"is","value":"orange"},"palette":"custom_text"}]]}],"time":{"live_span":"1d"},"title":"this is hyung","title_align":"right","title_size":"16","type":"query_table"},"id":3745615959553530}],"notify_list":[],"created_at":"2024-10-03T14:24:56.762159+00:00","modified_at":"2024-10-03T14:24:56.762159+00:00","template_variable_presets":[],"tags":[]}
headers:
Content-Type:
- application/json
status: 200 OK
code: 200
duration: 116.99675ms
duration: 81.12275ms
- id: 3
request:
proto: HTTP/1.1
Expand All @@ -125,7 +125,7 @@ interactions:
headers:
Accept:
- application/json
url: https://api.datadoghq.com/api/v1/dashboard/75s-s5m-uat
url: https://api.datadoghq.com/api/v1/dashboard/9r6-ipc-jz3
method: GET
response:
proto: HTTP/1.1
Expand All @@ -137,13 +137,13 @@ interactions:
content_length: -1
uncompressed: true
body: |
{"id":"75s-s5m-uat","title":"tf-TestAccDatadogDashboardQueryTableWithTextFormats-local-1727371805","description":"Created using the Datadog provider in Terraform","author_handle":"[email protected]","author_name":null,"layout_type":"ordered","url":"/dashboard/75s-s5m-uat/tf-testaccdatadogdashboardquerytablewithtextformats-local-1727371805","is_read_only":false,"template_variables":[],"widgets":[{"definition":{"has_search_bar":"auto","requests":[{"aggregator":"max","alias":"cpu user","cell_display_mode":["number"],"limit":25,"order":"desc","q":"avg:system.cpu.user{account:prod} by {service, team}","text_formats":[[{"match":{"type":"is","value":"test"},"palette":"black_on_light_yellow","replace":{"type":"all","with":"test"}},{"match":{"type":"is","value":"versus"}}],[{"custom_bg_color":"#632CA6","match":{"type":"is","value":"apple"},"palette":"custom_bg"},{"custom_fg_color":"#632CA6","match":{"type":"is","value":"orange"},"palette":"custom_text"}]]}],"time":{"live_span":"1d"},"title":"this is hyung","title_align":"right","title_size":"16","type":"query_table"},"id":2381522262780434}],"notify_list":[],"created_at":"2024-09-26T17:30:07.742946+00:00","modified_at":"2024-09-26T17:30:07.742946+00:00","template_variable_presets":[],"tags":[]}
{"id":"9r6-ipc-jz3","title":"tf-TestAccDatadogDashboardQueryTableWithTextFormats-local-1727965493","description":"Created using the Datadog provider in Terraform","author_handle":"[email protected]","author_name":null,"layout_type":"ordered","url":"/dashboard/9r6-ipc-jz3/tf-testaccdatadogdashboardquerytablewithtextformats-local-1727965493","is_read_only":false,"template_variables":[],"widgets":[{"definition":{"has_search_bar":"auto","requests":[{"aggregator":"max","alias":"cpu user","cell_display_mode":["number"],"limit":25,"order":"desc","q":"avg:system.cpu.user{account:prod} by {service, team}","text_formats":[[{"match":{"type":"is","value":"test"},"palette":"black_on_light_yellow","replace":{"type":"all","with":"test"}},{"match":{"type":"is","value":"versus"}}],[{"custom_bg_color":"#632CA6","match":{"type":"is","value":"apple"},"palette":"custom_bg"},{"custom_fg_color":"#632CA6","match":{"type":"is","value":"orange"},"palette":"custom_text"}]]}],"time":{"live_span":"1d"},"title":"this is hyung","title_align":"right","title_size":"16","type":"query_table"},"id":3745615959553530}],"notify_list":[],"created_at":"2024-10-03T14:24:56.762159+00:00","modified_at":"2024-10-03T14:24:56.762159+00:00","template_variable_presets":[],"tags":[]}
headers:
Content-Type:
- application/json
status: 200 OK
code: 200
duration: 110.517625ms
duration: 85.740333ms
- id: 4
request:
proto: HTTP/1.1
Expand All @@ -160,7 +160,7 @@ interactions:
headers:
Accept:
- application/json
url: https://api.datadoghq.com/api/v1/dashboard/75s-s5m-uat
url: https://api.datadoghq.com/api/v1/dashboard/9r6-ipc-jz3
method: DELETE
response:
proto: HTTP/1.1
Expand All @@ -172,13 +172,13 @@ interactions:
content_length: -1
uncompressed: true
body: |
{"deleted_dashboard_id":"75s-s5m-uat"}
{"deleted_dashboard_id":"9r6-ipc-jz3"}
headers:
Content-Type:
- application/json
status: 200 OK
code: 200
duration: 159.869166ms
duration: 144.309541ms
- id: 5
request:
proto: HTTP/1.1
Expand All @@ -195,7 +195,7 @@ interactions:
headers:
Accept:
- application/json
url: https://api.datadoghq.com/api/v1/dashboard/75s-s5m-uat
url: https://api.datadoghq.com/api/v1/dashboard/9r6-ipc-jz3
method: GET
response:
proto: HTTP/1.1
Expand All @@ -206,10 +206,10 @@ interactions:
trailer: {}
content_length: -1
uncompressed: true
body: '{"errors":["Dashboard with ID 75s-s5m-uat not found"]}'
body: '{"errors":["Dashboard with ID 9r6-ipc-jz3 not found"]}'
headers:
Content-Type:
- application/json
status: 404 Not Found
code: 404
duration: 100.581833ms
duration: 70.260458ms
Original file line number Diff line number Diff line change
@@ -1 +1 @@
2024-09-26T13:30:05.203725-04:00
2024-10-03T10:24:53.730387-04:00
Loading

0 comments on commit 77cf686

Please sign in to comment.