Questions tagged [aws-codecommit]

AWS CodeCommit is a fully-managed source control service that makes it easy for companies to host secure and highly scalable private Git repositories.

AWS CodeCommit is a fully-managed source control service that makes it easy for companies to host secure and highly scalable private Git repositories. CodeCommit eliminates the need to operate your own source control system or worry about scaling its infrastructure. You can use CodeCommit to securely store anything from source code to binaries, and it works seamlessly with your existing Git tools.

569 questions
6
votes
2 answers

Is there a way to include the git message in AWS CodeCommit Push Trigger Notifications?

I have a codecommit repo. I have a push trigger setup with a "Send to" = "Amazon SNS". At SNS, I have some email subscribers hooked up to the notification event. As a result, the project developers receive an email each time any developer executes…
Brian Webster
  • 30,033
  • 48
  • 152
  • 225
6
votes
3 answers

How to config AWS CodeCommit config file for an specific repo

Im having the following issue. As part of my job, I handle multiple AWS Accounts, each of which have a separate AWS CodeCommit repos and account-specific IAM Users (which result on different User IDs) I want to find a way that I can config my ssh…
Pablo Adoue
  • 106
  • 1
  • 8
6
votes
4 answers

AWS CodeCommit HTTPS access without setting up credential helper

We are transitioning from GitHub to AWS CodeCommit to have a tightly integrated environment. One need is to access one repository through HTTPS. This repo is accessed ny Spring Cloud Config Server product that uses jgit to read the repo and clone…
5
votes
1 answer

Git submodule codecommit

I have two repositories in AWS Codecommit and I want to add the one repo as submodule into the other repositories. The two repos are located in a role, not in the root account .gitmodules (File in Repo1) [submodule "submodule"] path = sub/module url…
Kev
  • 577
  • 1
  • 10
  • 29
5
votes
7 answers

The requested URL returned error: 403, AWS Server less: Amplify app to CodeCommit

Trying to host a web application (html) using server-less approach on AWS Amplify connecting to the AWS CodeCommit repository(where the html code version history is maintained). Save and Deploy app on Amplify is failing in 'Build' step and is…
5
votes
1 answer

aws codecommit - is there a way to get all files under a folder including its subfolders

Suppose I have a CodeCommit repo on AWS like this: repo -folder1 --file1 --folder2 ---file2 ---folder3 ----file3 aws codecommit get-folder --folder-path "folder1" only returns "file1" and "folder2" Is there a way to get "file1" and…
lznt
  • 2,330
  • 2
  • 22
  • 27
5
votes
3 answers

How to delete files in S3 using CodePipeline

I have created a CodePipeline that takes input(files) from CodeCommit repository and deploys files to S3 bucket. When I delete files in CodeCommit repository, pipeline doesn't delete the file in the corresponding S3 bucket. In short, I want my S3…
5
votes
0 answers

AWS Code Build throwing error "CLIENT_ERROR: reference delta not found for primary source and source version "

I'm working with aws codebuild and it was working fine , i have just one branch master and build is taking code from that master branch of code-commit repo, but suddenly build is failing with error "CLIENT_ERROR: reference delta not found for…
5
votes
1 answer

Uploading a folder to AWS CodeCommit repository

Can we upload a folder containing various code files from our local system to AWS CodeCommit.? If yes, then what are the steps to follow.?
Jeet Thakar
  • 51
  • 1
  • 2
5
votes
3 answers

403 Error while using AWS CodeCommit after being asked Username & Password (MacOS)

I've been using AWS CodeCommit for a while but currently having the following issue, have no idea what was the reason why it appeared: After trying to run any git command, I get a dialog box, as I have removed git-credential-osxkeychain from the…
Andrew
  • 391
  • 5
  • 8
  • 19
5
votes
1 answer

CodeCommit error Elastic Beanstalk (AWS)

After running pip install --upgrade awsebcli I get the following error when trying to do eb deploy Could not push code to the CodeCommit repository: ERROR: CommandError - An error occurred while handling git command. Error code: 128 Error:…
5
votes
1 answer

Bad configuration option: \240\240user when setting up Amazon CodeCommit

When cloning a repo, I get this error message /c/Users/username/.ssh/config: line 2: Bad configuration option: \240\240user /c/Users/username/.ssh/config: line 3: Bad configuration option: \240\240identityfile
Jonathan Allen
  • 68,373
  • 70
  • 259
  • 447
5
votes
4 answers

How do I install Git using AWS Lambda?

I have code in Code commit repository, I am writing a lambda function to build the code for every check-in (event) to the code commit repo. I am not able to install git and hence cloning the repository is not happening. How do I go about it.
5
votes
4 answers

Failed to connect SourceTree to AWS CodeCommit

I'm using Atlassian's SourceTree to work with git on Mac OS, and choose AWS CodeCommit as the remote hosting server. Following these steps for HTTPs connection between AWS and my local repo, here's how my git config --global --edit looks…
4
votes
2 answers

I cant push using aws codecommit. my changes dont show up

i get the following error when i git pull from an aws repo using codecommit: git fetch fatal: Failed to write item to store. [0x6c6] fatal: The array bounds are invalid git commit works but after a git push my changes dont persist on the remote repo
b bundi
  • 74
  • 1
  • 7