Terraform access Error issues

When i was trying to deploy the three tier architecture using terraform labs the following error was displayed
reading managed policies for IAM role allow_ec2_access_ecr, error: AccessDenied: User: arn:aws:iam::058264522852:user/kk_labs_user_119870 is not authorized to perform: iam:ListAttachedRolePolicies on resource: role allow_ec2_access_ecr with an explicit deny in an identity-based policy