TAO 仪表板部署失败(table `ta_organizational_view_reports` doesn't exist)

0

【以下的问题经过翻译处理】 我正在尝试按照[TAO DASHBOARD DEPLOYMENT-选项3: CloudFormation Deployment](https://wellarchitectedlabs.com/cost/200_labs/200_cloud_intelligence/trusted-advisor-dashboards/dashboards/3_deployment/#option-3-cloudformation-deployment)中的步骤创建TAO Dashboard。

我正在使用 Terraform 执行 CloudFormation 模板中遇到以下错误:

"The following resource(s) failed to create: [taoQuickSightDataSet]. Rollback requested by user." "Resource handler returned message: "SYNTAX_ERROR: line 3:6: Table awsdatacatalog.athenacurcfn_billing_cur_report_definition.ta_organizational_view_reports does not exist [Execution ID:..."

DB “athenacurcfn_billing_cur_report_definition” 已经存在(在部署CID和CUDOS仪表板时,它是在一段时间前创建的)。

表 “ta_organizational_view_reports” 不存在。但是,实验手册说:

  1. Update your Athena Database Name with the name of the CUR Athena Database where you want to deploy table for TA reports. Leave default if you are not sure which database name provide

我理解 CloudFormation 模板会创建该表([tao.cfn.yml](https://aws-well-architected-labs.s3.us-west-2.amazonaws.com/Cost/Labs/200-cloud-intelligence-dashboards/tao.cfn.yml))。

我的理解是错误的吗?

profile picture
專家
已提問 5 個月前檢視次數 38 次
1 個回答
0

【以下的回答经过翻译处理】 问题实际上存在于模板本身。我一直在使用以下模板:

https://aws-well-architected-labs.s3.us-west-2.amazonaws.com/Cost/Labs/200-cloud-intelligence-dashboards/tao.cfn.yml

如实验所示:

https://wellarchitectedlabs.com/cost/200_labs/200_cloud_intelligence/trusted-advisor-dashboards/dashboards/3_deployment/#option-3-cloudformation-deployment

之后,我使用了位于GitHub存储库中的模板:

https://github.com/aws-samples/aws-cudos-framework-deployment/ 具体而言,是版本0.2.3

这个模板和其他模板完全相同,但它更改了表名:

旧: Name: ta_organizational_view_reports。 新: Name: !Join [ '', [ !FindInMap [ "Definitions", "taoAthenaTable", "Value" ] , !Ref taoSuffix ] ]

使用这个模板之后,TAO仪表板成功部署。

profile picture
專家
已回答 5 個月前

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南