- Newest
- Most votes
- Most comments
The error you're encountering when trying to create the data collection lab using Terraform is likely related to a CloudFormation stack deployment issue. Based on the information provided, there are a few potential causes and solutions to consider:
-
QuickSight Availability: Ensure that QuickSight is available and supported in the region where you're trying to create the resource. The "Unrecognized resource types" error can occur when attempting to create a resource in a region where it's not supported.
-
Template Version: Make sure you're using the latest released template for deployment. You can try using the template from the following S3 bucket: https://aws-managed-cost-intelligence-dashboards.s3.amazonaws.com/cfn/cid-cfn.yml
-
Permissions: Verify that you have the necessary permissions in both the management account and the data collection account. In the management account, you need access to AWS CloudFormation, AWS Cost & Usage Reports, AWS IAM, AWS Lambda, and Amazon S3. In the data collection account, you should have permissions for Amazon Athena, AWS CloudFormation, AWS Directory Service, Amazon EventBridge, AWS Glue, AWS IAM, AWS Lambda, Amazon QuickSight, and Amazon S3.
-
S3 Bucket Access: Ensure that your IAM role has the required permissions to access the AWS-managed S3 bucket containing the necessary resources for deployment.
-
Deployment Order: Make sure you're deploying the stacks in the correct order. The management account stack should be deployed before the data collection account stack.
-
Parameter Values: Double-check that all required parameters are correctly specified in your Terraform configuration, including the ManagementAccountID and RegionsInScope.
If the issue persists after addressing these points, you may need to delete the stack and redeploy from the beginning. Additionally, consider using the -parallelism=1 option with Terraform to avoid potential concurrent modification issues when creating IAM roles.
Sources
Cloud intelligence dashboard not deploying from cloud formation. Unrecognized resource types: [AWS::QuickSight::DataSource] | AWS re:Post
Cost Intelligence Dashboard (CID) deployment error - access to the AWS-managed s3 bucket that has the required Lambda layer is being denied | AWS re:Post
Create IAM role causes ConcurrentModification error | AWS re:Post
answered 2 years ago
