Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug]: CodeCommit is not accessible to new customers #1142

Open
tphokas opened this issue Oct 9, 2024 · 0 comments
Open

[Bug]: CodeCommit is not accessible to new customers #1142

tphokas opened this issue Oct 9, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@tphokas
Copy link

tphokas commented Oct 9, 2024

Installation method

Own AWS account

What happened?

Automation module fails to prepare environment for both flux and argo for accounts that don't have CodeCommit repo due to recent CodeCommit deprecation.

https://aws.amazon.com/blogs/devops/how-to-migrate-your-aws-codecommit-repository-to-another-git-provider/

~/environment $ prepare-environment automation/gitops/flux
Refreshing copy of workshop repository from GitHub...

Resetting the environment...
Tip: Read the rest of the lab introduction while you wait!
Waiting for application to become ready...
Cleaning up previous lab infrastructure...
Creating infrastructure for next lab...
╷
│ Error: creating CodeCommit Repository (eks-workshop-gitops): operation error CodeCommit: CreateRepository, https response error StatusCode: 400, RequestID: de2abb05-0b45-4adf-9782-081f5b9b94f8, OperationNotAllowedException: CreateRepository request is not allowed because there is no existing repository in this AWS account or AWS Organization
│ 
│   with module.lab.aws_codecommit_repository.gitops,
│   on lab/main.tf line 1, in resource "aws_codecommit_repository" "gitops":
│    1: resource "aws_codecommit_repository" "gitops" {
│ 
╵
╷
│ Error: creating CodeCommit Repository (eks-workshop-retail-store-sample): operation error CodeCommit: CreateRepository, https response error StatusCode: 400, RequestID: ffe3181d-9a9a-4300-8efa-bc4804035ad5, OperationNotAllowedException: CreateRepository request is not allowed because there is no existing repository in this AWS account or AWS Organization
│ 
│   with module.lab.aws_codecommit_repository.codecommit_retail_store_sample,
│   on lab/main.tf line 96, in resource "aws_codecommit_repository" "codecommit_retail_store_sample":
│   96: resource "aws_codecommit_repository" "codecommit_retail_store_sample" {
│ 
╵
An error occurred, please contact your workshop proctor or raise an issue at https://github.com/aws-samples/eks-workshop-v2/issues
The full log can be found here: /eks-workshop/logs/action-1728471547.log

What did you expect to happen?

N/A

How can we reproduce it?

Run prepare-environment automation/gitops/argocd on a new AWS account

Anything else we need to know?

No response

EKS version

N/A

@tphokas tphokas added the bug Something isn't working label Oct 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
Status: No status
Development

No branches or pull requests

1 participant