apptension / saas-boilerplate

SaaS Boilerplate - Open Source and free SaaS stack that lets you build SaaS products faster in React, Django and AWS. Focus on essential business logic instead of coding repeatable features!
https://apptension.com/saas-boilerplate
MIT License
2.2k stars 259 forks source link

Remove codecommit from the stack as this service is deprecated for the new AWS accounts #611

Closed mkleszcz closed 3 weeks ago

mkleszcz commented 2 months ago

Describe the bug

Info from AWS: https://repost.aws/questions/QUshILm0xbTjWJZSD8afYVgA/codecommit-cannot-create-a-repository

Codecommit service is deprecated for the new AWS accounts. We need to change the way we are triggering CI/CD pipeline.

Steps to reproduce

  1. Create new AWS account
  2. Try to deploy CI/CD stack to the AWS

System Info

.

Logs

No response

Validations

stefaluc commented 1 month ago

@mkleszcz Do you have a recommended workaround for this issue? I have just run into this when running pnpm saas infra deploy:

CreateRepository request is not allowed because there is no existing repository in this AWS account or AWS Organization (Service: AWSCodeCommit; Status Code: 400; Error Code: OperationNotAllowedException; Request ID: 3cbb3638-14f3-49c1-b9cd-5153d50e1e58;
Proxy: null)
stefaluc commented 1 month ago

@mkleszcz Do you have a recommended workaround for this issue? I have just run into this when running pnpm saas infra deploy:

CreateRepository request is not allowed because there is no existing repository in this AWS account or AWS Organization (Service: AWSCodeCommit; Status Code: 400; Error Code: OperationNotAllowedException; Request ID: 3cbb3638-14f3-49c1-b9cd-5153d50e1e58;
Proxy: null)

If anyone is curious, I bypassed this issue by submitting a support request to AWS asking for access to CodeCommit. There may have been a quicker way to do this, but I submitted a support case, which was then forwarded to the AWS service team.

I needed to provide the following info:

This took some time and back-and-forth (~8 days), but eventually, they added me to the whitelist. Someone more persistent may get this done quicker.