aws-samples / aws-cudos-framework-deployment

Command Line Interface tool for Cloud Intelligence Dashboards deployment
https://catalog.workshops.aws/awscid
MIT No Attribution
376 stars 140 forks source link

Error "CRITICAL - Database data_collection not found in Athena catalog AwsDataCatalog" #780

Closed bwahn closed 1 week ago

bwahn commented 2 months ago

Following CID Framework (https://catalog.workshops.aws/awscid/en-US/dashboards/advanced/cost-anomaly/deployment), I'm trying to deploy Cost Anomaly Dashboard using cid-tools.

# deployed to data_collection.
#
$ cid-cmd deploy --dashboard-id aws-cost-anomalies --athena-database data_collection 

CLOUD INTELLIGENCE DASHBOARDS (CID) CLI 0.2.47 Beta

Loading plugins...
    Core loaded

Checking AWS environment...
    profile name: default
    accountId: xxxxxxxxxxxxxxx
    AWS userId: AWSReservedSSO_AdministratorAccess_xxxxxx/xxxxx@xxxxxxxx.xxx
    Region: us-east-1

Discovering deployed dashboards...  [------------------------------------]    0%  None

Required datasets:
 - ca_summary_view

Looking by DataSetId defined in template...complete

There are still 1 datasets missing: ca_summary_view
Creating dataset: ca_summary_view
CRITICAL - Database data_collection not found in Athena catalog AwsDataCatalog

$ 

I've deployed "Data Collection Lab" using a different database name "data_collection".

Are there any options to deploy anomaly dashboard?

Best

iakov-aws commented 1 week ago

athena-database parameter must be adjusted in this case. Please let us know if still an issue