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

AWS Code Commit Simple Notification Service: is there a way to get better formatted notification email? Or attach SES to Code Commit?

At the moment our team is getting AWS SNS messages regarding pull requests, branch changes etc as JSON embedded in an email, which means, without line-breaks, etc, a JSON structure wrapped to the width of the mail message. That's OK, but makes it…
Cerulean
  • 5,543
  • 9
  • 59
  • 111
7
votes
2 answers

git multiple credential helper

I have multiple remotes in my local git clone. Both of the remotes are using https to connect to git and need different credentials. I am using codecommit and hence the codecommit credential-helper for credentials. Is there a way I can use separate…
7
votes
1 answer

Amazon CodeCommit credential helper - command not found

I have a CodeCommit repo that I'm trying to connect to from the command line of Windows 7. My intention is to use the aws configure / aws credential helper method as I prefer this, in this context, to a username / password. When attempting any git…
7
votes
3 answers

AWS CodeDeploy is not able to deploy lambda function

I have a simple AWS CodePipeline with few steps. AWS CodeCommit (provide output "SourceCode") AWS CodeBuild (input "SourceCode", npm install, npm run-scripts build, output "FinalCode") AWS CodeDeploy (input "FinalCode", deploy to Lambda…
7
votes
3 answers

clone AWS codecommit repo via HTTP

I have set 2 repositories in AWS Codecommit and using before SourceTree from Windows, setting up access via HTTP protocol was and everything was working fine. Right not I am migrating the development of a project on a machine where I do have…
6
votes
9 answers

AWS Codecommit - fatal: unable to access : The requested URL returned error: 403

I was able to pull and/or push updated from my AWS CodeCommit repository until I reinstalled aws-cli. I tried all the suggested solutions I could find but nothing seems to work. I am working on Ubuntu 21.10 and installed: $ aws --v aws-cli/1.19.1…
6
votes
1 answer

Get a private repository from AWS codecommit using HTTPS GRC

I'm trying to import a module located in AWS codecommit. To clone the repository I'm using HTTPS GRC (Git Remote Codecommit) method, which uses Google Suite credentials to access AWS console. The command I use to clone the repository is: git clone…
Ortzi
  • 363
  • 1
  • 6
  • 17
6
votes
1 answer

AWS CodeCommit With Multi-factor Authentication. Keep getting fatal: unable to access .. The requested URL returned error: 403

What's the Problem? My IAM User has two policies: AdministratorAccess and ForceMultiFactorAuthentication. When ForceMultiFactorAuthentication policy is attached, from the Windows command-line, I get 403 errors when trying to do anything to the…
Jarad
  • 17,409
  • 19
  • 95
  • 154
6
votes
1 answer

Is there any way to search for code inside CodeCommit repositories?

I do have access to dozens of repos in the AWS Console but when trying to find "inspiration" by looking at specific pieces of code, say, "I know there's somewhere a way to configure sls to create an API Gateway..." kinda moment, it'd be nice to…
onicofago
  • 302
  • 5
  • 12
6
votes
3 answers

How to invoke a pipeline based on another pipeline success using AWS CodeCommit, CodeBuild, CodePipeline

The desired behavior is as follows: Push code change Run unit tests for each Serverless component Provided all tests are successful, deploy the components into Staging environment and mark build as successful Listen to this change and run…
6
votes
1 answer

Can CodePipeline Use a Specific Commit

My team has been running into issues with our CodePipeline where features were pushed out into production when they shouldn't have been due to our Docker image patching. A little background on our architecture: Our pipeline has two sources, one for…
rhlin888
  • 185
  • 2
  • 10
6
votes
3 answers

How to make CodePipeline watch a sepecific folder of CodeCommit?

I have set a pipeline that watchs a codeCommit repository with a given branch and it works perfectly. I want to restrict my pipeline to watch only a folder on my repo. Imagine my repo contains two folders : fold1 and fold2. As per now, any commit on…
Rams
  • 63
  • 3
6
votes
3 answers

AWS CodeBuild and CodeCommit repo as npm dependency

We have 2 reports Repo 1 Repo 2 Inside Repo 1 > package.json there is a dependency "dependencies": { "repo-2": "git+https://git-codecommit.us-east-1.amazonaws.com/v1/repos/repo-2/" } Then, inside CodeBuild for "repo-1", we have the following…
Andrej Kaurin
  • 11,592
  • 13
  • 46
  • 54
6
votes
0 answers

How to link CodeBuild with CodeCommit repo in different account?

I'm trying to set up CodeBuild with a CodeCommit source that lives in another AWS account. I believe this can be done using AssumeRole but I've had no luck. Can anyone help provide an example of how to make CodeBuild assume a role specified in…
6
votes
3 answers

"bash: aws: command not found" on Windows 7 in Git Bash

I'm trying to use AWS CLI to access CodeCommit. And it's sort of working. I am able to use the aws command in the Windows command prompt. However, when I try to access it using the Git Bash shell, it says "bash: aws: command not…
David
  • 1,620
  • 3
  • 20
  • 39
1 2
3
37 38