Cannot create first repository in CodeCommit

0

I'm trying to create my first ever CodeCommit repository, but I keep getting this error:

"CreateRepository request is not allowed because there is no existing repository in this AWS account or AWS Organization"

I tried this action with a administrator-level account & with the root user. Both resulted in the same error. I also tried with the CLI, a slightly different message but it had the same meaning.

I'm just trying to create a repository and I'm not sure what other action should be followed beforehand, also there isn't anything online or in the docs about this.

Screenshot of the error

Yugi
已提問 3 個月前檢視次數 2229 次
5 個答案
1

Beginning on July 25th, 2024, AWS CodeCommit ceased onboarding new customers. Going forward, only customers who have an existing repository in AWS CodeCommit will be able to create additional repositories.

This change should not impact your current workloads utilizing AWS CodeCommit. If this is impacting your current workloads, please let us know. If you would like to use AWS CodeCommit in a new AWS account that is part of your AWS Organization, please let us know so that we can evaluate the request for allowlisting the new account. If you would like to use an alternative to AWS CodeCommit given this news, we recommend using GitLab, GitHub, or another third party source provider of your choice. We have written a blog which describes how to migrate your repository to one of these other solutions.

AWS continues to invest in security, availability, and performance improvements for AWS CodeCommit. You can rely on AWS Support to continue assisting you with any questions you may have about AWS CodeCommit. However, we do not plan to introduce new features to AWS CodeCommit, except for security and availability updates.

If you wish to proceed with an allowlist request, please provide justification to use the service, and confirm that your organization has been a CodeCommit customer prior to July 25th, 2024 via a support case.

AWS
已回答 2 個月前
0

Hello,

This error is quite unusual. Code Commit typically allows creating the first repository in an account or organization.

Let's Go through:

1.IAM Permissions:

  • Ensure your user or role has the necessary permissions. The CodeCommitFullAccess policy is often used, but you can also create a custom policy with specific actions like codecommit:CreateRepository.
  • Verify that the user or role has the correct permissions attached.

AWS Account or Organization Restrictions:

  • AWS Organizations: If you're in an AWS Organization, there might be service control policies (SCPs) restricting CodeCommit usage. Check with your organization's administrator.
  • Account Status: Ensure your AWS account is in an active status and not under any limitations.

Region-Specific Issues:

  • CodeCommit availability might vary across regions. Check if the region you're trying to create the repository in supports CodeCommit.

Temporary Service Disruption:

  • It's unlikely, but there could be a temporary issue with the CodeCommit service. Check the AWS Service Health Dashboard for any reported issues.
profile picture
專家
已回答 3 個月前
  • Greetings, apparently CodeCommit has ceased onboarding new customers starting yesterday, 25th of July 2024, which is a bit weird specially that I only got to know about it after I opened a case with AWS, I'm yet to find an article that states these actions.

  • Yugi, thanks for this info.

0

CodeCommit END OF LIFE, use GitHub.

profile picture
專家
已回答 2 個月前
0

AWS Codecommit is dead, not allow create new repositories on "new" customers. Only works on account that currently use codecommit.

https://repost.aws/questions/QUshILm0xbTjWJZSD8afYVgA/codecommit-cannot-create-a-repository#ANa5lXt9nwSiGyN8fGlmOA-Q

已回答 3 個月前
0

Please review this official guidance on CodeCommit's availability and alternative options: https://repost.aws/selections/KPRqbk9RhNRi29VlzbJNnH5g/why-am-i-unable-to-create-a-repository-in-codecommit

profile pictureAWS
專家
已回答 2 個月前

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南