- Newest
- Most votes
- Most comments
When deploying the Cloud Intelligence Dashboards (CID) and encountering a failure with the CidAthenaDataSource creation, the error suggests there's an issue with the Athena output bucket. The error message indicates that the system is unable to verify or create the output bucket "cid-sparkle-athena-results-980055403207".
This typically happens during the deployment process when using the CID-CMD tool to set up the necessary QuickSight and Athena resources. The tool is trying to configure Athena to use a specific S3 bucket for query results, but is encountering permission issues.
Here are some troubleshooting steps you can try:
-
Ensure the user or role you're using for deployment has sufficient permissions to create and access S3 buckets, particularly for the Athena service.
-
Check if the bucket name "cid-sparkle-athena-results-980055403207" already exists but is not accessible to your current user/role, or if there are restrictions preventing its creation.
-
Verify that you have the necessary Athena permissions in your IAM policy to create workgroups and output locations.
-
If you're using the CID-CMD tool, make sure you're following all the prompts correctly, especially when selecting the datasource (choosing either an existing "CID-CMD-Athena" datasource if you've installed other CID/CUDOS dashboards before, or creating a new one).
-
When prompted by the tool to confirm IAM policy updates, make sure to select "yes" if it shows updated IAM policy JSON code.
You might need to check your IAM permissions and S3 bucket policies to ensure the deployment process has all the necessary access rights to create and configure the required resources.
Sources
Deployment: Dashboard account - Cloud Intelligence Dashboards on AWS
Cost Anomaly Dashboard - Cloud Intelligence Dashboards on AWS
i'm using this clouformation stack https://github.com/aws-solutions-library-samples/cloud-intelligence-dashboards-framework/blob/main/cfn-templates/cid-cfn.yml
answered 10 months ago
Thx Shajam, each time i rollback CF stack and delete it. Btw the error: "Connection test failed: Could not get query execution ID: Unable to verify/create output bucket cid-sparkle-athena-results-980055403207" don't seem a duplicate name/resource, seem a permission issue. Do you agree?
answered 10 months ago
Based on the error you're encountering with CID stack creation, this is an Athena output bucket permissions issue. The error "Unable to verify/create output bucket cid-sparkle-athena-results-980055403207" indicates that the IAM role being used doesn't have the necessary permissions to access or create the S3 bucket for Athena query results.
Let me explain in detail. When running Athena queries (which CID stack creation does during connection testing), Athena needs to store query results in an S3 bucket. The execution role lacks permissions to verify or create the output bucket cid-sparkle-athena-results-980055403207.
The execution role needs the following S3 permissions for the Athena results bucket:
s3:GetBucketLocation s3:GetObject s3:ListBucket s3:PutObject
answered 10 months ago
Have you tried to deploy the solution multiple times? If so, did it initially fail and then you retried? If that's the situation, please make the original resources are deleted as subsequent deployments will create resources with same name and could fail.
Relevant content
asked 2 years ago
asked 3 years ago
- AWS OFFICIALUpdated 11 days ago
