AWS AccessDenied although the IAM policy allows it: permissions boundary and explicit deny
A new DynamoDB table returned AccessDeniedException even though the role's policy allowed dynamodb:PutItem on it. The role carried a permissions boundary scoped to old table names. How we read the error reason, traced the evaluation chain and fixed it.