This repository is for replicating codecommit repositories across regions on the same account
Running this repository may cost you to provision AWS resources
- Nodejs 14.x
- AWS Account and Locally configured AWS credential
Install project dependencies
$ npm i -g aws-cdk
$ npm i
$ cdk bootstrap
$ vim lib/interfaces/config.ts
In order to check out your Account run below,
$ aws sts get-caller-identity --query "Account" --out text
012345678901
Set Region variable where your source repository is placed.
YOU SHOULD DEPLOY THIS CDK PROJECT ON THE SOURCE REGION use profile or something
$ cdk deploy "*" --require-approval never
Done!
Commit & push some code to source-repository and visit CodeBuild Project console to check out build progress.
destroy provisioned cloud resources
$ cdk destroy "*"