Questions tagged [amazon-codepipeline]

10 questions
8
votes
6 answers

Temporarily disable aws CodePipeline?

I set up an AWS Codepipeline, which sources from Github, build by CodeBuild, and then deploy to ec2 instance via CodeDeploy. This ec2 instance is the development environment. Since my team decided we won't be using this server/code for while, we…
Yuki Inoue
  • 231
  • 2
  • 6
3
votes
1 answer

AWS CodePipeline - how to deploy dozens of CloudFormation / Stackset / Lambda resources without manually creating a pipeline action per file

What's the best way to deploy dozens of resources such as CloudFormation templates, Stack Sets, and Lambda functions using Code Pipeline? In AWS I have a multi-account architecture running an AWS Organization. I want a pipeline running in a single…
Tim
  • 31,888
  • 7
  • 52
  • 78
1
vote
2 answers

Cross Account Lambda Call never succeeds

I have a central Tooling Account that contains the deployment pipeline and another account ("stage") where the application is deployed to. One of the steps in the pipeline is migrating the database with a lambda function in the staging account. The…
1
vote
0 answers

Creating a custom CloudWatch Event to monitor every new commit for GitHub repository instead of CodeCommit repo state change

Could you please assist me in understanding if it is possible to create a custom CloudWatch Event to monitor every new commit for GitHub repositories instead of CodeCommit repo state changes? It has always seemed to me that cloudwatch events are…
1
vote
0 answers

I am getting "During an aborted deployment, some instances may have deployed the new application version" error while deploying my app

I am getting Action execution failed Deployment completed, but with errors: During an aborted deployment, some instances may have deployed the new application version. To ensure all instances are running the same version, re-deploy the appropriate…
1
vote
0 answers

Why is Code Deploy not running in new instances generated from an Auto Scale Group?

I've setup a Code Pipeline where code is being successfully pulled from Github after every commit and then a Build phase runs specs and then a Deploy phase creates a Deployment pointing to amy Application's Deployment Group and the code is…
1
vote
0 answers

Using the "draft" feature of a GitHub PR to stop AWS CodeBuild from building on a PR change

I've set up a CD pipeline from Github to ECS for a non-profit I'm working for. The AWS CodeBuild starts every time a PR is opened, changed, or merged. Sometimes, however, PRs are opened but marked as drafts. In such cases, it's unnecessary to start…
1
vote
1 answer

Flask app on ECS that pull images from s3 bucket

I have a flask app that I want to pull images to display from an s3 bucket. How do I implement the credentials parts? what I mean is: Do I use boto3 with aws credentials to pull the images from the bucket? Can I use boto3 without the aws credentials…
0
votes
0 answers

AWS pipelines Trigger stages dynamically based on previous stage output variables

I wrote a stage in AWS code pipelines that will output variables. I want to use those variables to create "n" number of stages that run parallel using those variables. Please suggest if you know of any scenario.
0
votes
1 answer

Access Azure Resources from Azure Pipeline Tasks without principal

I have an MSDN subscription from my company with some monthly credit. My company also uses AzureAD and its services for user management in our company. For that reason I cannot create a principal on my own to access the resources I created in this…