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
3
votes
1 answer

How to allow AWS CodeCommit to trigger pipeline from EVERY branch?

Currently the way how AWS CodeStar setted up a default python project was to have a pipeline defined with initial source stage as follows; The branch name here is master, so the pipeline triggers whenever a new change is merged into master branch.…
3
votes
1 answer

How to link to specific line number on AWS CodeCommit

I know you can link to a specific line number on GitHub using the syntax #L55 where 55 is the line number. How do you link to a specific line number in AWS CodeCommit? Thanks.
Josh Unger
  • 6,717
  • 6
  • 33
  • 55
3
votes
2 answers

go get a private repo from codecommit

I'm new to golang, we are trying to create a package in go and use across all the services we wanted to use. I tried to create a repo in github and tried to do go get; I didn't get any issue. Now I wanted to create the same package in codecommit of…
Sreenath
  • 480
  • 2
  • 6
  • 17
3
votes
1 answer

AWS: Can't clone repo Codecommit, The requested URL returned error: 403

I have two account AWS: DEV and PRD. I need to setup CodeCommit on PRD account. I test on DEV first. It worked well. Both DEV and PRD are setup CodeCommit on EU(Ireland) region. Then I clone all policy from DEV to PRD account. When I tried to clone…
3
votes
0 answers

AWSLambdaException: Your access has been denied by Amazon S3, please make sure your request credentials have permission to GetObject for bucket

I"m trying to deploy my lambda function using jenkins, code commit and Amazon S3. While uploading my lambda function on post-commit hook i am getting following error, com.amazonaws.services.lambda.model.AWSLambdaException: Your access has been…
ABCD
  • 730
  • 1
  • 13
  • 31
3
votes
1 answer

prevent entry in Password KeyChain

While performing any operation using Git on my MAC, I see an entry in Password KeyChain. Problem is, I am working with AWS CodeCommit and it does not like entry in Password Keychain so I have to manually go and delete…
Asdfg
  • 11,362
  • 24
  • 98
  • 175
3
votes
1 answer

Access different AWS account CodeCommit repositories from one computer

I am in the process of migrating between two AWS accounts. I want to temporarily access codecommit repositories on both accounts from my Mac. I have generated HTTPS Git credentials for a user on both accounts. When I initially accessed the old…
Swordfish
  • 1,127
  • 24
  • 46
3
votes
2 answers

Eclipse: Trying to clone CodeCommit repo and getting following error: "...git-upload-pack not permitted on..."

I'm setting up Eclipse to use the AWS toolkit. I've got it installed and it displays all the CodeCommit repositories in the AWS Explorer. When I go to clone any repo an error like this appears: org.eclipse.jgit.api.errors.TransportException:…
Dev
  • 31
  • 1
  • 4
3
votes
1 answer

AWS: IAM Policy for CodePipeline?

No matter how open an IAM policy I give to my CodePipeline role, my CodeBuild step always fails with Access Denied in the DOWNLOAD_SOURCE phase. The build works fine when I run manually from CodeBuild. I have literally granted this policy to the…
3
votes
2 answers

AWS CodeBuild default environment variables.

I created a Pipeline that takes the code from a CodeCommit repository, builds it via CodeBuild and pushes the code to an S3 bucket. For my Codebuild I'm using an AWS managed image. aws/codebuild/nodejs:7.0.0 If I start my build manually via the…
3
votes
3 answers

Git clone works in AWS CodeCommit but pushing fails with 403

I can clone my CodeCommit repository successfully, but when I try to push to it, I get 403. Fetching and pulling works, however. It's as if I have read-only access. I have setup my .gitconfig to use AWS CLI for credential manager: [credential] …
sashoalm
  • 75,001
  • 122
  • 434
  • 781
3
votes
2 answers

GitLab as mirror for CodeCommit

For my use case I need to use CodeCommit repositories. But I would also like to use GitLab GUI and features. If I install GitLab on my server, is there a way to either connect it to CodeCommit repos directly (I just need to browse commits there) or…
Tomage
  • 187
  • 1
  • 12
3
votes
2 answers

Trying to have a backup of Codecommit repos in S3 bucket of another AWS account

I am currently working on a task which should take a backup of all AWS Codecommit repositories (around 60 repositories at the moment) and place them in an S3 bucket located in another AWS account. I have googled it to find out the possibilities…
prudhvi
  • 1,141
  • 6
  • 23
  • 46
3
votes
1 answer

AWS Pull latest code from codecommit on EC2 Instance startup

There seem to be lot of discussion around this topic however nothing precisely for my situation and hasn't resolved it for me so far. I have my code placed in aws codecommit. I have created an AMI for one of my running Ubuntu instance in AWS and…
MWM
  • 43
  • 1
  • 4
3
votes
3 answers

Is there a way to get the raw url of a file in AWS CodeCommit?

In github, you can click the Raw button and you can get the file's url. Does CodeCommit have that feature?
Adrian M
  • 7,047
  • 7
  • 24
  • 26