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))。

我的理解是错误的吗?

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달 전

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인

관련 콘텐츠