Skip to content

Commit 20115a8

Browse files
authored
* release 4.3.6 * add generic error message for athena parameters
1 parent 82b30ce commit 20115a8

File tree

17 files changed

+36
-4
lines changed

17 files changed

+36
-4
lines changed

cfn-templates/cid-cfn.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# https://github.com/aws-samples/aws-cudos-framework-deployment/blob/main/cfn-templates/cid-cfn.yml
22
AWSTemplateFormatVersion: '2010-09-09'
3-
Description: Deployment of Cloud Intelligence Dashboards v4.3.5 - AWS Solution SO9011
3+
Description: Deployment of Cloud Intelligence Dashboards v4.3.6 - AWS Solution SO9011
44
Metadata:
55
AWS::CloudFormation::Interface:
66
ParameterGroups:
@@ -2075,7 +2075,7 @@ Resources:
20752075
SourceBucket: !Ref ReferenceAssetsBucket
20762076
DestinationBucket: !Ref LocalAssetsBucket
20772077
Keys:
2078-
- 'cid-resource-lambda-layer/cid-4.3.5.zip' #replace version here if needed
2078+
- 'cid-resource-lambda-layer/cid-4.3.6.zip' #replace version here if needed
20792079

20802080
CidResourceLambdaLayer:
20812081
Type: AWS::Lambda::LayerVersion
@@ -2090,7 +2090,7 @@ Resources:
20902090
- LambdaLayerBucketPrefixIsManaged
20912091
- !FindInMap [RegionMap, !Ref 'AWS::Region', BucketName]
20922092
- !Sub '${LambdaLayerBucketPrefix}-${AWS::Region}' # Region added for backward compatibility
2093-
S3Key: 'cid-resource-lambda-layer/cid-4.3.5.zip' #replace version here if needed
2093+
S3Key: 'cid-resource-lambda-layer/cid-4.3.6.zip' #replace version here if needed
20942094
CompatibleRuntimes:
20952095
- python3.10
20962096
- python3.11

cid/_version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
__version__ = '4.3.5'
1+
__version__ = '4.3.6'
22

dashboards/aws-budgets/aws-budgets.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2125,6 +2125,7 @@ views:
21252125
data_collection_database_name:
21262126
type: athena
21272127
query: SELECT DISTINCT table_schema FROM information_schema.columns WHERE table_name = 'budgets_data'
2128+
error: "This means that prerequisites for the dashboard are not found. Please make sure you have the needed table: Data Collection installed, needed module is configured and Step Function runs correctly."
21282129
default: optimization_data
21292130
description: "Enter the name of the data collection database"
21302131
global: True

dashboards/aws-feeds/aws-feeds.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2997,6 +2997,7 @@ datasets:
29972997
data_collection_database_name:
29982998
type: athena
29992999
query: SELECT DISTINCT table_schema FROM information_schema.columns WHERE table_name = 'aws_feeds_youtube'
3000+
error: "This means that prerequisites for the dashboard are not found. Please make sure you have the needed table: Data Collection installed, needed module is configured and Step Function runs correctly."
30003001
default: optimization_data
30013002
description: "Enter the name of the data collection database"
30023003
global: True
@@ -3056,6 +3057,7 @@ datasets:
30563057
data_collection_database_name:
30573058
type: athena
30583059
query: SELECT DISTINCT table_schema FROM information_schema.columns WHERE table_name = 'aws_feeds_youtube'
3060+
error: "This means that prerequisites for the dashboard are not found. Please make sure you have the needed table: Data Collection installed, needed module is configured and Step Function runs correctly."
30593061
default: optimization_data
30603062
description: "Enter the name of the data collection database"
30613063
global: True
@@ -3121,6 +3123,7 @@ datasets:
31213123
data_collection_database_name:
31223124
type: athena
31233125
query: SELECT DISTINCT table_schema FROM information_schema.columns WHERE table_name = 'aws_feeds_youtube'
3126+
error: "This means that prerequisites for the dashboard are not found. Please make sure you have the needed table: Data Collection installed, needed module is configured and Step Function runs correctly."
31243127
default: optimization_data
31253128
description: "Enter the name of the data collection database"
31263129
global: True
@@ -3244,6 +3247,7 @@ views:
32443247
data_collection_database_name:
32453248
type: athena
32463249
query: SELECT DISTINCT table_schema FROM information_schema.columns WHERE table_name = 'aws_feeds_youtube'
3250+
error: "This means that prerequisites for the dashboard are not found. Please make sure you have the needed table: Data Collection installed, needed module is configured and Step Function runs correctly."
32473251
default: optimization_data
32483252
description: "Enter the name of the data collection database"
32493253
global: True

dashboards/cora/cora.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6964,6 +6964,7 @@ datasets:
69646964
account_map_database_name:
69656965
type: athena
69666966
query: SELECT DISTINCT table_schema FROM information_schema.columns WHERE table_name = 'account_map'
6967+
error: "This means that prerequisites for the dashboard are not found. Please make sure you have the needed table: Data Collection installed, needed module is configured and Step Function runs correctly."
69676968
error: You need to install Foundational Dashboards that provide account_map view.
69686969
default: cid_cur
69696970
description: Database of account_map table (from foundational dashboards)
@@ -7009,6 +7010,7 @@ views:
70097010
data_exports_database_name:
70107011
type: athena
70117012
query: SELECT DISTINCT table_schema FROM information_schema.columns WHERE table_name = 'coh'
7013+
error: "This means that prerequisites for the dashboard are not found. Please make sure you have the needed table: Data Collection installed, needed module is configured and Step Function runs correctly."
70127014
default: cid_data_export
70137015
description: Database of cid data exports
70147016
global: True

dashboards/cost-anomalies/cost-anomalies.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1685,6 +1685,7 @@ views:
16851685
data_collection_database_name:
16861686
type: athena
16871687
query: SELECT DISTINCT table_schema FROM information_schema.columns WHERE table_name = 'cost_anomaly_data'
1688+
error: "This means that prerequisites for the dashboard are not found. Please make sure you have the needed table: Data Collection installed, needed module is configured and Step Function runs correctly."
16881689
default: optimization_data
16891690
description: "Enter the name of the data collection database"
16901691
global: True

dashboards/data-collection-monitor/data-collection-monitor.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1989,6 +1989,7 @@ views:
19891989
data_collection_database_name:
19901990
type: athena
19911991
query: SELECT DISTINCT table_schema FROM information_schema.columns WHERE table_name = 'dc_execution_log'
1992+
error: "This means that prerequisites for the dashboard are not found. Please make sure you have the needed table: Data Collection installed, needed module is configured and Step Function runs correctly."
19921993
default: optimization_data
19931994
description: "Enter the name of the data collection database"
19941995
global: True

dashboards/euc/euc-dashboard.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22373,6 +22373,7 @@ views:
2237322373
data_collection_database_name:
2237422374
type: athena
2237522375
query: SELECT DISTINCT table_schema FROM information_schema.columns WHERE table_name = 'inventory_workspaces_data'
22376+
error: "This means that prerequisites for the dashboard are not found. Please make sure you have the needed table: Data Collection installed, needed module is configured and Step Function runs correctly."
2237622377
default: optimization_data
2237722378
description: "Enter the name of the data collection database"
2237822379
global: True

dashboards/extended-support-cost-projection/extended-support-cost-projection.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5439,6 +5439,7 @@ views:
54395439
data_collection_database_name:
54405440
type: athena
54415441
query: SELECT DISTINCT table_schema FROM information_schema.columns WHERE table_name = 'inventory_eks_data'
5442+
error: "This means that prerequisites for the dashboard are not found. Please make sure you have the needed table: Data Collection installed, needed module is configured and Step Function runs correctly."
54425443
default: optimization_data
54435444
description: "Enter the name of the data collection database"
54445445
global: True
@@ -5708,6 +5709,7 @@ views:
57085709
data_collection_database_name:
57095710
type: athena
57105711
query: SELECT DISTINCT table_schema FROM information_schema.columns WHERE table_name = 'inventory_rds_db_instances_data'
5712+
error: "This means that prerequisites for the dashboard are not found. Please make sure you have the needed table: Data Collection installed, needed module is configured and Step Function runs correctly."
57115713
default: optimization_data
57125714
description: "Enter the name of the data collection database"
57135715
global: True
@@ -5911,6 +5913,7 @@ views:
59115913
data_collection_database_name:
59125914
type: athena
59135915
query: SELECT DISTINCT table_schema FROM information_schema.columns WHERE table_name = 'inventory_opensearch_domains_data'
5916+
error: "This means that prerequisites for the dashboard are not found. Please make sure you have the needed table: Data Collection installed, needed module is configured and Step Function runs correctly."
59145917
default: optimization_data
59155918
description: "Enter the name of the data collection database"
59165919
global: True

dashboards/focus/focus.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5030,6 +5030,7 @@ views:
50305030
data_exports_database_name:
50315031
type: athena
50325032
query: SELECT DISTINCT table_schema FROM information_schema.columns WHERE table_name = 'focus'
5033+
error: "This means that prerequisites for the dashboard are not found. Please make sure you have the needed table: Data Collection installed, needed module is configured and Step Function runs correctly."
50335034
default: cid_data_export
50345035
description: "Enter the name of the database"
50355036
global: True

0 commit comments

Comments
 (0)