From 8f5fba2d182e492922ee0dcb554cad2a47e0a406 Mon Sep 17 00:00:00 2001 From: Iakov GAN <82834333+iakov-aws@users.noreply.github.com> Date: Mon, 9 Dec 2024 15:23:12 -0800 Subject: [PATCH] Update cost-anomalies.yaml (#1057) --- dashboards/cost-anomalies/cost-anomalies.yaml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/dashboards/cost-anomalies/cost-anomalies.yaml b/dashboards/cost-anomalies/cost-anomalies.yaml index 59a3ef15..92ce6be1 100644 --- a/dashboards/cost-anomalies/cost-anomalies.yaml +++ b/dashboards/cost-anomalies/cost-anomalies.yaml @@ -1679,10 +1679,12 @@ views: FROM "${data_collection_database_name}"."cost_anomaly_data" WHERE ("date_parse"("concat"("year", "month", "day"), '%Y%m%d') >= (current_timestamp - INTERVAL '3' MONTH)) + schedules: + - default parameters: data_collection_database_name: type: athena query: SELECT DISTINCT table_schema FROM information_schema.columns WHERE table_name = 'cost_anomaly_data' default: optimization_data description: "Enter the name of the data collection database" - global: True \ No newline at end of file + global: True