Interview Prep/AWS/IAM and Access Errors

Console says `You don't have permission to view this` for CloudWatch Logs but CLI works.

IntermediateTroubleshootingIAM and Access Errors
Answer

Likely causes → Console needs extra read permissions such as logs:DescribeLogGroups.

Diagnose →

aws iam simulate-principal-policy --policy-source-arn <arn> --action-names logs:DescribeLogGroups logs:GetLogEvents

Fix →

  1. Add console-required describe actions
  2. Use the AWS managed CloudWatchLogsReadOnlyAccess

Prevent → Test console flows for each new role.

aws All AWS questions Roadmap: AWS core services

More on IAM and Access Errors