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

How to give ElasticBeanstalk access to AWS CodeCommit

I am deploying a Flask application to ElasticBeanstalk. One of the dependencies of this application is a package that should be installed from a CodeCommit git repository. Locally, I have successfully set up SSH to connect to the CodeCommit repo to…
2
votes
1 answer

Access AWS CodeCommit from TeamCity

I cannot figure out how to add AWS CodeCommit git repository to TeamCity on Windows. I tried both SSH and HTTP based integration and it doesn't work either way (I get 403 errors). HTTP is a more viable option but since AWS instruction is suggesting…
Ali B
  • 626
  • 7
  • 20
1
vote
0 answers

Is it possible in AWS CodeCommit to put restriction on child branches?

AWS Code-commit For example : There is a repo named as : repo1 There are 4 branches named as : master - backup - testing - development Scenario is : Restrict the dev user, that he should not create a child branch from any other branch like testing,…
1
vote
0 answers

Creating a git proxy

I am creating a proxy server to tunnel clients git requests to whatever VCS we are using in the backend (reason being we need to perform authentication and authorisation stuff). The proxy is built using Golang. I am facing a weird issue wherein I am…
Praveen Kamath
  • 959
  • 2
  • 10
  • 18
1
vote
0 answers

go get git-codecommit not works in golang

I'm tried to access the codecommit packages in my project, But getting given below issue. I tired using this but no use, I don't know how can we resolve it. Thanks in advance go: module git-codecommit.region/repos/util_service.git: git ls-remote -q…
Udayakumar
  • 145
  • 1
  • 1
  • 11
1
vote
1 answer

Detect who triggered CodePipeline?

I have a basic CodePipeline with 2 stages, a CodeCommit source and a CodeDeploy with some scripts running before and after the deployment. I would like to know if it's doable to detect whether a human triggered the pipeline using the AWS…
1
vote
1 answer

AWS CLI Filter codecommit repositories by date of modification

I'm trying to do a query that only return to me the repos that was modified in the last one year. So I'm trying the following command: aws codecommit list-repositories --query 'repositories[?lastModifiedDate>=`'"$(date --date='1 month ago'…
StuardBr
  • 11
  • 1
1
vote
0 answers

AWS SAM Pipeline CLI deployment fails repeatedly

I am following an official AWS skill Builder tutorial entitled "Automating the Deployment Pipeline". I am able to initialize my serverless project with a "hello world" template, but when I attempt to initialize my code pipeline, I get through all of…
1
vote
0 answers

AWS CodeCommit Markdown Table of Contents

How do you make a Table of Contents (ToC) in a Markdown file in AWS CodeCommit? Working in VS Code, I've tried to create a ToC in this form: # Table of Contents 1. [Section](#section-one) 2. [Section2](#section-two) 3.…
Astrophe
  • 568
  • 1
  • 7
  • 25
1
vote
0 answers

Cloudwatch event rule to match branch pattern name

I'm trying to trigger a CodePipeline Build when someone makes a commit to an AWS Codecommit branch. This works if I target the master branch with a pattern like this: { "detail": { "referenceName": ["master"], "referenceType": ["branch"] …
1
vote
1 answer

Error 403 when cloning an AWS CodeCommit repository from EC2 instance

I'm trying to do exactly the same thing as this document I've found here : https://blog.0x427567.com/how-to-clone-aws-codecommit-repository-from-ec2-instance-99e4abfda1a1 I have created a new CodeCommit repository (empty) and I'm trying to clone it…
JeremP
  • 47
  • 1
  • 13
1
vote
0 answers

The merge cannot be completed because the divergence between the branches is too great. If you want to merge these branches, use a Git client

Alright, I'm using CodeCommit for my Remote-VCS and I'm seeing the error when trying to merge beta into stage. I have tried merging them locally, but the issue remains intact. REASON OF THE ISSUE: I haven't been pushed my changes to stage for a long…
1
vote
0 answers

AWS codecommit vulnerability scanning

i am wondering if automatic "code scanning" is available in AWS's codecommit or not, for any vulnerabilities or errors.(sensitive data like username, password, access-key, etc.) basically it will analyze repository's code after each check-in to find…
1
vote
1 answer

Error 403 when trying to push with AWS code commit

I just finished setting up code commit, but when I try to push my code I'm getting this error: Username for 'https://git-codecommit.ap-northeast-1.amazonaws.com': rabbitsnap Password for…
CarrotSnip
  • 11
  • 3
1
vote
1 answer

How to provide custom backend code in AWS so that a Lambda function can import it

Imagine a basic Lambda Function like this: #!/usr/bin/env python # -*- coding: utf-8 -*- """This is an example Lambda Function which imports MyFancyClass from the backend. """ from typing import Any, Dict from project_name.module import…