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

How do I ensure a Lambda function waits for call to an async function with await?

I'm trying to write a lambda function which accepts an image file via web form, and writes it as a new commit to a repository using code commit. For some reason, my lambda function seems to be exiting before the call to createCommit, even though I'm…
Max Crane
  • 137
  • 1
  • 3
  • 7
2
votes
2 answers

boto3 codecommit create_commit issues

When trying to create a commit using boto3's codecommit client, somehow I got AttributeError on create_commit, but other commands works as expected. Here is the code I'm using: client = boto3.client( 'codecommit', …
Hayk Davtyan
  • 797
  • 6
  • 7
2
votes
0 answers

AWS CodeCommit code review tool with visual studio

I would like recommendations integrating code reviews into our development process. We use AWS CodeCommit integrated with visual studio. There doesn't seem to be any way to leverage CodeCommit pull requests through visual studio. Any recommendations…
2
votes
0 answers

How can i send a email notification to a person who triggered the pipeline?

Usecase I am having a cross-account codepipeline where my codecommit in one account and my pipeline is in another account. My codecommit is source for the pipeline means any commit in that will trigger the pipeline. Codecommit is shared among 50…
Private
  • 1,661
  • 1
  • 20
  • 51
2
votes
1 answer

AWS Codepipeline based on Conditional trigger

I have a repo which has 2 or more directories. Each directory will be built and deployed as individual service in ECS and also 2 AWS Code pipelines are built based on this repo. So when there is a change only in a particular directory then only that…
2
votes
0 answers

Codepipeline checkout a codecommit repo in another account

I am trying to checkout the Codecommit repo in account A from a Codepipeline in account B. I have created the role in A for the codepipeline to assume from account B. Once I run the pipeline, I get Invalid action configuration The AWS…
sash
  • 1,124
  • 2
  • 15
  • 32
2
votes
2 answers

Create Resource in Bulk from Single CloudFormation Template with CodePipeline

I have to create multiple IAM users from a single cloudformation stack at once. Since, Cloudformation doesn't support Loop. I have Created a Code Pipeline which deploys cloudformation template stored in AWS CodeCommit. Can I use Parameter Override…
2
votes
4 answers

Connect SourceTree to AWS CodeCommit on Windows

I'm using Atlassian's SourceTree to work with git on Windows 10, and choose AWS CodeCommit as the remote hosting server. I followed this and couldn't find the issue. Following is the error has given git -c diff.mnemonicprefix=false -c…
2
votes
2 answers

How to set CodeCommit repo branch name in CodeBuild project, during CI

CodeCommit repo is used as source for CodeBuild project, but I wanted a specific branch(eg: test) to be build on, rather than a default branch(eg: dev). I tried setting up build commands as following but still takes default branch: version:…
2
votes
3 answers

Find which resource triggered CodePipeline when multiple resources from CodeCommit

I'm using AWS and created a CodePipeline using multiple resources (CodeCommit). I properly getting events like this: {'CodePipeline.job': {'id': '... In this event I can find the latest commit for each CodeCommit resource but I did not find how I…
user3611522
  • 81
  • 1
  • 11
2
votes
2 answers

How to deploy multiple Lambda's in CFN Template through Codepipeline?

Usecase I have a cloudformation Stack with more then 15 Lambdas in it. I can able to deploy the stack through Codepipeline which consists of two stages CodeCommit and CodeDeploy. In this approach all my lambda code is in cloudformation…
2
votes
1 answer

How does CodeCommit discriminate between identical repos in different accounts?

I ran into a weird deployment situation involving codecommit under cloudformation. AWS CodeCommit allows me to create the same repository name in the same region in two separate AWS accounts. Both Repositories are given the SSH same endpoint…
Andrew Edvalson
  • 7,658
  • 5
  • 26
  • 24
2
votes
1 answer

Failing to push change from AWS CodeBuild to AWS CodeCommit

I have configured a CodePipeline to build and deploy a NPM project. The pipeline doenloads the source from CodeCommit and builds it using CodeBuild. Two different stages. However as a post version step, I want to increment the version (npm version…
2
votes
1 answer

Can CodeCommit and CodePipeline/CodeBuild handle a full CI workflow?

I am wondering if it's possible to move from Jenkins to CodeBuild, and from Gitlab/Github to CodeCommit and keep a standard CI workflow. I mean, push on a new branch on CodeCommit -> CodePipeline get triggered -> Clone the branch that triggered the…
Ludo
  • 5,060
  • 15
  • 53
  • 85
2
votes
2 answers

Aws codecommit branch access

Good afternoon, Im searching for hours and didnt find anything, its possible to disable some users to push on master in AWS Codecommit? Best regards, Fellipe M.