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 个月前32 查看次数
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 个月前

您未登录。 登录 发布回答。

一个好的回答可以清楚地解答问题和提供建设性反馈,并能促进提问者的职业发展。

回答问题的准则