- Newest
- Most votes
- Most comments
Hello.
Why not check the details of the error by looking for the AWS resource creation event where the error occurred in the CloudTrail event history?
https://docs.aws.amazon.com/awscloudtrail/latest/userguide/view-cloudtrail-events-console.html
Also, are there any other error messages output in the CloudFormation event?
The issue you're experiencing with the CloudFormation template deployment failing in your AWS account, while it works in your friend's account with the same permissions, could be due to several factors:
-
Resource Limits: You might have reached the maximum number of certain resources in your account. For example, there could be limits on the number of IAM roles, SQS queues, or other resources that the template is trying to create.
-
Existing Resources: The template might be attempting to create resources with names that already exist in your account. This is particularly relevant for global resources like S3 buckets that must have unique names across all AWS accounts.
-
Regional Differences: If you and your friend are deploying in different AWS regions, there might be region-specific issues or limitations.
-
Account-Specific Settings: Your account might have certain settings or restrictions that are preventing the creation of specific resources.
-
Service Quotas: There could be service quotas in your account that are preventing the creation of certain resources.
To troubleshoot this issue:
- Check the CloudWatch Logs for more detailed error messages.
- Verify that you don't have existing resources with the same names as those being created by the template.
- Ensure that you haven't reached any service quotas or limits in your account.
- Try deploying the template in a different region to see if it's a region-specific issue.
- Double-check your IAM permissions to ensure you have all necessary permissions, including those for CloudFormation, SQS, and any other services used in the template.
If the issue persists, you may need to contact AWS support for further assistance, as there might be account-specific factors that are not immediately apparent.
Sources
Troubleshooting AWS CloudFormation StackSets - AWS CloudFormation
How CloudFormation works - AWS CloudFormation
answered 2 years ago

Honestly there isn't anything more useful in the CloudTrail history. I am completely stumped. I was going to try and open a AWS Support ticket just to see if by chance they could dig around and see anything.