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
2 answers

Copy CSV files from a public Git subdirectory to an S3 Bucket

I see that there are multiple methods to do so, but I was not able to do it using AWS Lambda (I may be missing something there) Any recommendations on the method and preferable a link related to the implementation steps would be useful. The public…
2
votes
1 answer

Where do I configure my AWS "Code Commit" credentials in PyCharm? [Elastic Beanstalk code pipeline]

I'm in the process of deploying/pushing (GitHub) a Python/Django application with Amazon RDS PostgreSQL db to AWS Elastic Beanstalk via Code Commit from PyCharm. I uploaded my server certificate (having SSL issues, most can disregard the…
2
votes
2 answers

AWS CodePipeline to only deploy files that have changed since previous deploy and not simply replace application

TLDR; How do I only push to CodeDeploy the changes that have been made from CodeCommit? I built a simple CI/CD Pipeline with CodePipeline in which I commit to CodeCommit and then it deploys the code using CodePipeline to my Elastic Beanstalk…
2
votes
4 answers

Terraform: Using versioned modules stored in AWS CodeCommit

Currently have a repository for terraform modules stored in AWS CodeCommit. Between Dev and Prod we want to use the same repository for the modules but be able to have Dev and Prod use different versions. I've attached tags to particular commits in…
Pydam
  • 129
  • 12
2
votes
1 answer

aws codecommit pr approval got overwritten

I nnoticed that aws codecommit behave in a "weird" way I create a PR off a branch Team members approved the PR I push some code into that branch Approval count resets back to 0 Is there a setting to prevent the approval count from resetting back…
dtmj
  • 21
  • 1
2
votes
1 answer

How to use AWS Codecommit repo as npm dependency

this is my buildspec file: version: 0.2 env: git-credential-helper: yes phases: install: runtime-versions: nodejs: 10 commands: - npm install build: commands: - npm run build post_build: commands: -…
2
votes
2 answers

How to use GitHub Desktop with AWS CodeCommit and AWS SSO profile?

I have enabled SSO for my organization and created a user. The user has admin rights to a sub account and is able to clone a repo via terminal. The problem is when I am trying to use GitHub Desktop to clone (or do anything) it asks for a username…
2
votes
2 answers

How would you fork an AWS CodeCommit repo to another CodeCommit repo?

In github there is a fork button to fork a repo into a new repo you control. According to are git forks actually git clones? a github fork is a clone on the server side. If you read the git-scm documentation it specifically says to click the fork…
Jeremy
  • 625
  • 8
  • 12
2
votes
1 answer

How to clone a repository in go?

I am having some issues cloning my go repository to my local machine. I am running Ubuntu 18 and did a complete reinstall following these commands: dpkg -l|grep golang # if you see any, run following cmd to remove sudo apt-get purge…
palle1
  • 31
  • 1
  • 3
2
votes
1 answer

Connection from VSCode Remote-Container to AWS CodeCommit repository fails due to default settings

I'm using amazon linux 2 as the OS image. I want to connect to my AWS CodeCommit repository using HTTPS protocol with my default credentials. Connection from a container on VSCode Remote-Containers to AWS CodeCommit repository fails due to default…
kyane
  • 348
  • 1
  • 11
2
votes
0 answers

How to FORK a repository inside aws codecommit using javascript from lambda?

I'm doing a implementation, and I need to fork a git repository into a codecommit repository using lambda and javascript. Create or update a file in the repository I can do. What I need to know to fork a github repository (or a codecommit…
2
votes
1 answer

AWS CodeBuild unable to use CD command

I have a very simple Hello World Java Project in CodeCommmit, with following structure This is a sample template for sam-app - Below is a brief explanation of what we have generated for you: ├── README.md <-- This…
Lav
  • 1,283
  • 5
  • 21
  • 48
2
votes
1 answer

How to create an AWS codecommit repo using Cloudformation from code in an S3 bucket

Within AWS Cloudformation, I have a template file in YAML in which I am trying to create a new stack that builds a new Codecommit repo with code that is pulled from a zipped up folder in an S3 bucket. Looking through the official AWS documentation,…
2
votes
2 answers

Importing a source code repository from AWS Code Commit into Github

We are using AWS Code Commit for source code and considering moving to Github in the near future. What is the easiest way to accomplish this ? I have seen a lot of articles about importing a Github project into AWS Code commit but not the other way…
Suman
  • 31
  • 1
2
votes
1 answer

Slow connection speed when pushing repository to CloudCommit

I am working in Germany and would like to work on a repository with some guys in the US. The problem is when we push our changes to our self-hosted gitlab server, the connection is fine but, you can guess it, when they trying to download these…