1,539 questions
- Bountied 0
- Unanswered
- Frequent
- Score
- Trending
- Week
- Month
- Unanswered (my tags)
0
votes
0
answers
43
views
AWS ElasticBeanStalk
I'm trying to deploy a Java app with Elasticbeanstalk and CodePipeline. The elasticbeanstalk works well but when I try to deploy using a pipeline shows the next error:
Deployment completed, but with ...
0
votes
0
answers
52
views
CODEBUILD_SRC_DIR in AWS CodeBuild points to unexpected path — how is it constructed?
I'm using AWS CodeBuild to build a project hosted in AWS CodeCommit.
My build environment uses the amazonlinux-x86_64-standard:5.0 image.
In my build project settings:
Source: AWS CodeCommit
...
0
votes
1
answer
89
views
How to trigger AWS CodePipeline from GitHub push event with custom environment variables?
I recently automated the deployment of a web application hosted on a VPS (Virtual Private Server) by integrating GitHub Actions and AWS CodeBuild.
Code Repository: GitHub
Build & Test: AWS ...
1
vote
2
answers
860
views
AWS Deploy Error "The provided role does not have the elasticbeanstalk:CreateApplicationVersion permission"
I am new to AWS. I tried to create a simple pipeline used to build a small NodeJS app to be deployed in AWS Elastic BeanStalk. The CodePipeLine however, is failing at Deploy stage with the following ...
0
votes
0
answers
36
views
In AWS CodeDeploy the scripts cannot find the source files
I have a AWS CodePipeline that is triggered by S3. I upload a zip file to S3 that contains a war file, appspec.yml and a folder for the scripts. My appspec.yml looks something like this:
version: 0.0
...
0
votes
0
answers
38
views
Creating cdk pipeline but it deletes itself
I am new to cdk and trying to create a simple pipeline from udemy course and at first its fine I even saw that the pipeline was being created and when it was almost complete i got a pipeline not found
...
1
vote
1
answer
99
views
How can I fetch a commit message in AWS CodePipeline/CodeBuild to implement a `[skip ci]` command?
I'm using an AWS CodePipeline with GitHub Connections as the source action to deploy a Python app to an AWS Elastic BeanStalk. I’d like to emulate GitHub Actions' [skip ci] feature by detecting a ...
2
votes
1
answer
229
views
CI/CD pipeline design: Single vs. Separate pipelines for test/prod environments
I'm seeking wisdom on CI/CD pipeline design.
I primarily work in infrastructure and am currently tasked with designing and building a CI/CD pipeline for the first time. While I've used Git personally, ...
0
votes
0
answers
40
views
AWS CDK Codepipeline deploy certain Stacks within cdk Stage
I have an existing aws account with infrastructure that has already been deployed via CDK with a codepipeline. The codepipeline is specifying which stacks to deploy via the addStage function of ...
0
votes
0
answers
66
views
How can I obtain secondary sources in codebuild project that is part of a codepipeline
I have a CodeBuild project setup via Terraform, and I've specified secondary sources like
secondary_sources {
git_clone_depth = 0
location = "https://github.com/...repo-a...&...
0
votes
0
answers
94
views
Why is my NX synth command failing with EBADF: bad file descriptor, write?
I’m running npx nx synth demo-tenant-workload-infra-assets inside a build container, but it's failing with the following error:
npm ERR! code EBADF
npm ERR! syscall write
npm ERR! errno -9
npm ERR! ...
1
vote
1
answer
517
views
AWS CodePipeline not able to retrieve Bitbucket repository: No Branch [main] found for FullRepositoryName
I am trying to configure an AWS CodePipeline that retrieves code from a Bitbucket repository and then executes a script. So far manipulating the repository in AWS CodePipeline has proven to be ...
0
votes
1
answer
75
views
Why does my AWS CodeBuild project fail to create a CloudFormation stack with the error "Template file not found"?
I am working on automating the deployment of a static website using AWS CodePipeline and CodeBuild, along with CloudFormation. However, I am encountering some issues in my buildspec.yml configuration.
...
0
votes
1
answer
161
views
"AWS CodeBuild Error: 'Unable to initialize cache download: no paths specified to be cached' in Buildspec.yml"
I am encountering an issue during the PRE_BUILD phase in AWS CodeBuild. My buildspec script attempts to connect to a MySQL database to verify connectivity, but the connection fails with the following ...
-2
votes
1
answer
84
views
When using terraform to deploy codepipeline I get a deployment error [closed]
Below are my codebuild and codepipeline resource blocks
resource "aws_codebuild_project" "xxxx_build" {
name = "xxxx-project"
service_role = aws_iam_role....