AWS and CloudFormation
- Confirm the intended AWS account and Region. With an authorized profile,
aws sts get-caller-identity --profile "$AWS_PROFILE"reports the caller identity; review it privately. - Open the connection stack’s Events view and find the earliest relevant failure. Later rollback messages often describe cleanup rather than the original cause.
- For
AccessDenied, record the action, resource and policy layer privately. Identity policy, trust policy, permissions boundary, organization policy and resource policy can each restrict access. Adding an allow does not override an explicit deny. - Check the selected service and Region are enabled/available and quotas permit the requested configuration. Do not activate billing features, new Regions or increase paid commitments without approval.
- Ask the account administrator to review the smallest needed change. The customer launches the IAM connection stack and approves its policies. Do not recreate a failed stack or delete it blindly.