Questions tagged [aws-pipeline]

44 questions
1
vote
0 answers

How to passing parameter to aws glue workflow using lambda

I am trying to pass parameter to aws glue workflow using parameter from lambda trigger across all glue jobs in workflow. How to pass parameter to glue workflow using lambda I am able to pass parameter to glue jobs using lambda function but i wanted…
1
vote
1 answer

CLIENT_ERROR: authorization failed for primary source and source version

I opened a free AWS account to learn and created an Administrator user group and user in IAM for myself. I am following a tutorial "Automating your API testing with AWS CodeBuild, AWS CodePipeline, and Postman." I am getting the error CLIENT_ERROR:…
Venus
  • 173
  • 2
  • 11
1
vote
0 answers

Using the AWS CDK to deploy bucket, build frontend, then move files to bucket in a Code Pipeline

I'm using the AWS CDK to deploy code and infrastructure from a monorepo that includes both my front and backend logic (along with the actual CDK constructs). I'm using the CDK Pipelines library to kick off a build on every commit to my main git…
jhummel
  • 1,724
  • 14
  • 20
1
vote
3 answers

I am trying to create AWS Sagemaker Pipeline. ClientError: An error occurred (ValidationException) when calling the CreatePipeline operation:

I am trying to create AWS Sagemaker Pipeline. I created this pipeline 2 months back and it was running then. But now I am getting following error on running pipeline.upsert(role_arn=role) ClientError: An error occurred (ValidationException) when…
1
vote
0 answers

Querying the queried result of array using AWS

I have a situation where : In the first step I need to write a MySQL query from appsync, which returns an array of objects (of say n objects) In the second step, I need to query for every object in query 1's output, which in turn returns an array…
0
votes
0 answers

AWS CodeCommit Not showing option Merge

I am using AWS code commit, I raised a Pull Request with "Approval rules" with 1 approver needed. But even after I got approval "Merge" option was not visible on the page. Wonder why? I see "0 of 1 rules satisfied" even after approvals. I tried with…
ashok449
  • 43
  • 1
  • 13
0
votes
1 answer

Module level directives cause errors when bundled, 'use client' was ignored causing JavaScript heap out of memory

I had this error in my pipeline aws: Module level directives cause errors when bundled, 'use client' was ignored causing JavaScript heap out of memory I want a solution for this problem considering that i am using vite.js on my react.js app.
0
votes
0 answers

CICD code deploy success in AWS after tests fails at git action Laravel

this is my yml file below. However code still deploying success on AWS even if my unit test fails on git actions. Please help! I don't understand what triggering the deployment. What should I do? This is the deploy.yml inside git->workflow name:…
0
votes
0 answers

Setup Redis on AWS CodeBuild

I am setting a CI/CD using AWS CodeBuild. But I got a problem that can't start the redis system. [Container] 2023/06/27 09:16:34 Running command sudo systemctl start redis6 System has not been booted with systemd as init system (PID 1). Can't…
0
votes
0 answers

Provide local maven dependency to AWS CodeDeploy

I develop/maintain a utility project that is installed to my local maven repo, which allows my SaaS project to build. I've integrated the SaaS project into an AWS Pipeline, however it fails on CodeBuild phase because the local utility dependency…
Half_Duplex
  • 5,102
  • 5
  • 42
  • 58
0
votes
0 answers

Inject SpringBoot app version into buildspec.yml for AWS CodeBuild

I am using SpringBoot, gitflow-maven plugin, AWS CodeBuild and Github connector to deploy on changes to master branch. Currently, each release branch requires manual setting of the artifacts:files to match the versioned jar name. Can this be…
Half_Duplex
  • 5,102
  • 5
  • 42
  • 58
0
votes
0 answers

AWS CloudWatch Events - AWS Pipeline

i have a git repository on AWS CodeCommit, i have prepared a pipeline that gets triggered on every push to the repo. Now I would like that the pipeline is only runned if a string decided by me is present in the commit message. I've done several…
Frato
  • 25
  • 5
0
votes
0 answers

Not able to deploy code to ec2 instance using aws code deploy

I'm trying to deploy my code to ec2 instance using aws codedeploy and github, but the logs on my ec2 instance at: /var/log/aws/codedeploy-agent/codedeploy-agent.log says : The CodeDeploy agent did not find an AppSpec file within the unpacked…
0
votes
0 answers

How to run python backend testcases (using rest API) using AWS pipeline. Tests run successfully in my local machine

I am trying to run my testsuite with a testcase which has a post request using aws pipeline. During build execution it fails with Timeout. It says "Max retries exceeded with url" We do VPC configuration to run front end web testcases using…
S_G
  • 67
  • 6
0
votes
0 answers

Deploy layer through the cdk, "Cannot find module", but works when upload through aws console

When I upload lambda layer through console, the module is found when the lambda runs, but when I deploy the same layer through the cdk, it's not found. lambda > Runtime.NODEJS_16_X layer > node-fetch@2.6.7 Through the cdk: { …
Seb
  • 133
  • 1
  • 12