AWS Playground not supporting to create Repositories on CodeCommit

As per AWS, I should be able to perform basic operations of CodeCommit on AWS, But I am getting below error when I tried to create a repository on CodeCommit:

User: arn:aws:iam::975050082420:user/kk_labs_user_705580 is not authorized to perform: codecommit:CreateRepository on resource: arn:aws:codecommit:us-east-1:975050082420:Example with an explicit deny in a service control policy: arn:aws:organizations::598274344262:policy/o-ptvbaba0eu/service_control_policy/p-q3jk9ahy

Moreover, I can’t view the repositories as well:

AccessDeniedException

User: arn:aws:iam::975050082420:user/kk_labs_user_705580 is not authorized to perform: codecommit:ListRepositories with an explicit deny in a service control policy: arn:aws:organizations::598274344262:policy/o-ptvbaba0eu/service_control_policy/p-q3jk9ahy

As per AWS, I should be able to to basic operations of CodeCommit on AWS, But I am getting below error when I tried to create a repository on CodeCommit:

User: arn:aws:iam::975050082420:user/kk_labs_user_705580 is not authorized to perform: codecommit:CreateRepository on resource: arn:aws:codecommit:us-east-1:975050082420:Example with an explicit deny in a service control policy: arn:aws:organizations::598274344262:policy/o-ptvbaba0eu/service_control_policy/p-q3jk9ahy

Moreover, I can’t view the repositories as well:

AccessDeniedException

User: arn:aws:iam::975050082420:user/kk_labs_user_705580 is not authorized to perform: codecommit:ListRepositories with an explicit deny in a service control policy: arn:aws:organizations::598274344262:policy/o-ptvbaba0eu/service_control_policy/p-q3jk9ahy

To the best of my knowledge, we pulled support for CodeCommit some months back. Background is:

  • Some months back, AWS pulled support for the service and deprecated it.
  • We pulled support for it on our playground service.
  • AWS did, in fact, reverse itself recently.

We do still list it as allowed on the launch page, which I’m pretty sure is an error. For now, you may assume we do not support the service.