Have any questions about this process?
Get in touch today to talk to our experts about your migration from AWS CodeCommit.
Note: You'll need to run this script in each AWS account you’d like to scan. It will not cross the account boundary and run across an AWS Organisation.
aws account list-regions --output text | grep ENABLED | cut -f2 | while read x ; do aws codecommit list-repositories --region $x --output text | grep REPOSITORIES | cut -f 3 | while read y ; do aws codecommit get-repository --repository-name $y --region $x --output text | sed -E 's/\s+/,/g' ; done ; done