# \#cicd

**URL:** https://forum.serverless.com/tag/cicd/19.md

[Latest](https://forum.serverless.com/latest.md) · [Categories](https://forum.serverless.com/categories.md) · [Tags](https://forum.serverless.com/tags.md)

---

## [Error on Deploy: Request Entity Too Large](https://forum.serverless.com/t/error-on-deploy-request-entity-too-large/20077)

<div class="topic-metadata">

**Author:** [@tenlisboa](https://forum.serverless.com/u/tenlisboa)\
**Replies:** 1\
**Last updated:** [January 13, 2025, 4:33pm UTC](https://forum.serverless.com/t/error-on-deploy-request-entity-too-large/20077 "2025-01-13T16:33:17Z")

</div>

Hi, I am trying to deploy a Sls NodeJS application with this context: Serverless Version: 3.38.0 NodeJS Version: 18.20.0 From the previous successful deploy to the one with this error Request Entity Too Large just cha…

---

## [Serverless package dont include node\_modules when private library is on package.json](https://forum.serverless.com/t/serverless-package-dont-include-node-modules-when-private-library-is-on-package-json/20395)

<div class="topic-metadata">

**Author:** [@jpmevi](https://forum.serverless.com/u/jpmevi)\
**Replies:** 0\
**Last updated:** [August 2, 2024, 2:50pm UTC](https://forum.serverless.com/t/serverless-package-dont-include-node-modules-when-private-library-is-on-package-json/20395 "2024-08-02T14:50:01Z")

</div>

Hello, can someone help me, I’m trying to do a serverless deploy with serverless 4 and the deploy is correct but when running my lambda it throws an error due to error module not found from the http-errors library but th…

---

## [IAM Role not created, Role Used has resourceTag Limitation](https://forum.serverless.com/t/iam-role-not-created-role-used-has-resourcetag-limitation/20256)

<div class="topic-metadata">

**Author:** [@gw-bcharboneau](https://forum.serverless.com/u/gw-bcharboneau)\
**Replies:** 0\
**Last updated:** [June 6, 2024, 7:41pm UTC](https://forum.serverless.com/t/iam-role-not-created-role-used-has-resourcetag-limitation/20256 "2024-06-06T19:41:39Z")

</div>

We are trying to create an IAM Role with Serverless Framework but the Role used by our CICD Process uses a Role With AdministratorAccess Policy and a Permissions boiundary that restricts iam:\*. however it allows a few ia…

---

## [Serverless deploy failing when run from CircleCI](https://forum.serverless.com/t/serverless-deploy-failing-when-run-from-circleci/20184)

<div class="topic-metadata">

**Author:** [@atharrison](https://forum.serverless.com/u/atharrison)\
**Replies:** 15\
**Last updated:** [May 23, 2024, 12:45am UTC](https://forum.serverless.com/t/serverless-deploy-failing-when-run-from-circleci/20184 "2024-05-23T00:45:17Z")

</div>

We use CircleCI to deploy to AWS, and suddenly today our deploy pipeline has started failing. The deploy step is configured as: deploy-prod: executor: serverless-framework/default steps: - attach\_worksp…

---

## [Monitoring Blue/Green deployment in CICD](https://forum.serverless.com/t/monitoring-blue-green-deployment-in-cicd/19650)

<div class="topic-metadata">

**Author:** [@Patchoulin](https://forum.serverless.com/u/Patchoulin)\
**Replies:** 2\
**Last updated:** [November 30, 2023, 4:02pm UTC](https://forum.serverless.com/t/monitoring-blue-green-deployment-in-cicd/19650 "2023-11-30T16:02:15Z")

</div>

Hi, I use the plugin serverless-plugin-canary-deployments to perform Blue/Green deployments of lambda functions using Code Deploy. The Cloud Formation stack doesn’t wait the result of Blue/Green deployment to go into U…

---

## [Compatibility of Serverless Framework for Google Cloud](https://forum.serverless.com/t/compatibility-of-serverless-framework-for-google-cloud/19663)

<div class="topic-metadata">

**Author:** [@VinayakTekadeSearce](https://forum.serverless.com/u/VinayakTekadeSearce)\
**Replies:** 0\
**Last updated:** [November 7, 2023, 7:09am UTC](https://forum.serverless.com/t/compatibility-of-serverless-framework-for-google-cloud/19663 "2023-11-07T07:09:10Z")

</div>

Hi Team, We are trying to work with the serverless framework on Google Cloud. The documentation says that the serverless framework is experimental for Cloud functions. We tried to explore further in the documentation bu…

---

## [Serverless-plugin-canary-deployments with ALB event](https://forum.serverless.com/t/serverless-plugin-canary-deployments-with-alb-event/19657)

<div class="topic-metadata">

**Author:** [@Patchoulin](https://forum.serverless.com/u/Patchoulin)\
**Replies:** 0\
**Last updated:** [November 6, 2023, 2:59pm UTC](https://forum.serverless.com/t/serverless-plugin-canary-deployments-with-alb-event/19657 "2023-11-06T14:59:36Z")

</div>

Hi, I need to use serverless-plugin-canary-deployments with ALB event. According to my tests, the plugin has no support of ALB events (the target group point to $LATEST version instead of the Alias). Did someone succe…

---

## [Invalid ARN error: Api Gateway WebACLAssociation](https://forum.serverless.com/t/invalid-arn-error-api-gateway-webaclassociation/19606)

<div class="topic-metadata">

**Author:** [@leonbeckert](https://forum.serverless.com/u/leonbeckert)\
**Replies:** 0\
**Last updated:** [October 22, 2023, 5:52pm UTC](https://forum.serverless.com/t/invalid-arn-error-api-gateway-webaclassociation/19606 "2023-10-22T17:52:18Z")

</div>

I am trying to connect a WafWebACL to my standard Serverless Framework API Gateway but no matter what I do, I can’t get it to work. This is my setup: ApiGatewayRestApi: Type: 'AWS::ApiGateway::RestApi' …

---

## [2.72.4 serverless-state issue](https://forum.serverless.com/t/2-72-4-serverless-state-issue/19437)

<div class="topic-metadata">

**Author:** [@beyondcxl](https://forum.serverless.com/u/beyondcxl)\
**Replies:** 1\
**Last updated:** [August 26, 2023, 1:40am UTC](https://forum.serverless.com/t/2-72-4-serverless-state-issue/19437 "2023-08-26T01:40:58Z")

</div>

I have an older project on serverless v 2.4.0 that needed to redeploy an aws lambda function. The error that popped up: An error occurred: CustomDashresourceDashexistingDashs3LambdaFunction - Resource handler returned …

---

## [CI + Github - "No serverless.yml found in selected repository"](https://forum.serverless.com/t/ci-github-no-serverless-yml-found-in-selected-repository/18907)

<div class="topic-metadata">

**Author:** [@CrocoNiall](https://forum.serverless.com/u/CrocoNiall)\
**Replies:** 0\
**Last updated:** [May 30, 2023, 1:08pm UTC](https://forum.serverless.com/t/ci-github-no-serverless-yml-found-in-selected-repository/18907 "2023-05-30T13:08:54Z")

</div>

I can connect my GitHub org to app.serverless.com and see repositories with no issue. But… every time I click a repository to connect from the dropdown I get a red error message saying “No serverless.yml found in select…

---

## [State file management best practices](https://forum.serverless.com/t/state-file-management-best-practices/14900)

<div class="topic-metadata">

**Author:** [@dawolf](https://forum.serverless.com/u/dawolf)\
**Replies:** 3\
**Last updated:** [April 30, 2023, 2:50pm UTC](https://forum.serverless.com/t/state-file-management-best-practices/14900 "2023-04-30T14:50:53Z")

</div>

I have checked the documentation but I did not find how the state file (serverless-state.json) should be treated in a shared environment. In my team every member can deploy to a playground environment from its machine; …

---

## [Lambda S3 problem - Fn::GetAtt](https://forum.serverless.com/t/lambda-s3-problem-fn-getatt/17299)

<div class="topic-metadata">

**Author:** [@sanroll](https://forum.serverless.com/u/sanroll)\
**Replies:** 2\
**Last updated:** [March 10, 2023, 11:46am UTC](https://forum.serverless.com/t/lambda-s3-problem-fn-getatt/17299 "2023-03-10T11:46:02Z")

</div>

Hi guys, i have some prooblems creating one lambda. This lambda have a event to notification when some file are created inside of the bucket. The problem is when try to creat the policy using Fn::GetAtt, all the time g…

---

## [Github Actions with Python3.9 and the Serverless Framework error on package/deploy](https://forum.serverless.com/t/github-actions-with-python3-9-and-the-serverless-framework-error-on-package-deploy/17783)

<div class="topic-metadata">

**Author:** [@ronifintech1](https://forum.serverless.com/u/ronifintech1)\
**Replies:** 4\
**Last updated:** [December 12, 2022, 2:04pm UTC](https://forum.serverless.com/t/github-actions-with-python3-9-and-the-serverless-framework-error-on-package-deploy/17783 "2022-12-12T14:04:26Z")

</div>

Run serverless/github-action@v3.1 with: args: -c "cd ./serverless && serverless package --stage dev" entrypoint: /bin/sh env: NODE\_VERSION: 16.x pythonLocation: /opt/hostedtoolcache/Python/3.9.14/x64 …

---

## [Error: spawn serverless ENOENT](https://forum.serverless.com/t/error-spawn-serverless-enoent/17816)

<div class="topic-metadata">

**Author:** [@Suraj](https://forum.serverless.com/u/Suraj)\
**Replies:** 1\
**Last updated:** [November 8, 2022, 6:44pm UTC](https://forum.serverless.com/t/error-spawn-serverless-enoent/17816 "2022-11-08T18:44:43Z")

</div>

serverless deploy throws spawn serverless ENOENT Getting the below error when trying to deploy client-service, although before that all services are getting deployed. Error: spawn serverless ENOENT Using the below ve…

---

## [How to configure different stages in ApiGateway](https://forum.serverless.com/t/how-to-configure-different-stages-in-apigateway/17566)

<div class="topic-metadata">

**Author:** [@leeboy](https://forum.serverless.com/u/leeboy)\
**Replies:** 0\
**Last updated:** [August 30, 2022, 4:21pm UTC](https://forum.serverless.com/t/how-to-configure-different-stages-in-apigateway/17566 "2022-08-30T16:21:15Z")

</div>

Hi, I have not find anything here, but my situation is as follows. I would like to have different API Versions or Stages, something like: https://XXXXX.execute-api.eu-west-1.amazonaws.com/v1 and https://XXXXX.execute-ap…

---

## [How is sls.lib.webpack.isLocal defined while build?](https://forum.serverless.com/t/how-is-sls-lib-webpack-islocal-defined-while-build/17533)

<div class="topic-metadata">

**Author:** [@qUB3r-001](https://forum.serverless.com/u/qUB3r-001)\
**Replies:** 0\
**Last updated:** [August 22, 2022, 6:50pm UTC](https://forum.serverless.com/t/how-is-sls-lib-webpack-islocal-defined-while-build/17533 "2022-08-22T18:50:48Z")

</div>

Trying to setup webpack serverless plugin for building lambda functions. When reading about and viewing various webpack.config.js, the mode setting is defined as: { ... mode: slsw.lib.webpack.isLocal ? "development"…

---

## [An error occurred (AccessDeniedException) when calling the UpdateFunctionCode operation](https://forum.serverless.com/t/an-error-occurred-accessdeniedexception-when-calling-the-updatefunctioncode-operation/17187)

<div class="topic-metadata">

**Author:** [@bindu29](https://forum.serverless.com/u/bindu29)\
**Replies:** 0\
**Last updated:** [May 17, 2022, 11:33am UTC](https://forum.serverless.com/t/an-error-occurred-accessdeniedexception-when-calling-the-updatefunctioncode-operation/17187 "2022-05-17T11:33:17Z")

</div>

Hi everyone! I am getting below error while deploying a jar file to the lambda function through s3 bucket using jenkins pipeline An error occurred (AccessDeniedException) when calling the UpdateFunctionCode operation: …

---

## [Monorepo Base Directory](https://forum.serverless.com/t/monorepo-base-directory/17155)

<div class="topic-metadata">

**Author:** [@sandeepzgk](https://forum.serverless.com/u/sandeepzgk)\
**Replies:** 0\
**Last updated:** [May 13, 2022, 2:15am UTC](https://forum.serverless.com/t/monorepo-base-directory/17155 "2022-05-13T02:15:50Z")

</div>

The documentation CI/CD for monorepos states that we are able to choose base directory for monorepo. Unfortunately for my account it does not allow me to select the folder on the website. It does not provide me this opti…

---

## [Zip size is much larger on cdci than locally](https://forum.serverless.com/t/zip-size-is-much-larger-on-cdci-than-locally/13158)

<div class="topic-metadata">

**Author:** [@patrikelfstrom](https://forum.serverless.com/u/patrikelfstrom)\
**Replies:** 5\
**Last updated:** [April 8, 2022, 3:05pm UTC](https://forum.serverless.com/t/zip-size-is-much-larger-on-cdci-than-locally/13158 "2022-04-08T15:05:17Z")

</div>

I have an issue where the size of the zipped lambdas are much larger on the cdci (GitLab CE 11.8.0) than when running the package script locally. The lambdas are written in typescript and I use serverless-webpack to dec…

---

## [Deploy Python AWS Lambda Function with Gitlab CI/CD](https://forum.serverless.com/t/deploy-python-aws-lambda-function-with-gitlab-ci-cd/16603)

<div class="topic-metadata">

**Author:** [@Tdsone](https://forum.serverless.com/u/Tdsone)\
**Replies:** 4\
**Last updated:** [February 10, 2022, 2:57pm UTC](https://forum.serverless.com/t/deploy-python-aws-lambda-function-with-gitlab-ci-cd/16603 "2022-02-10T14:57:06Z")

</div>

Hi there, I’m struggling to deploy a AWS Lambda function (Python) using the GitLab CI/CD: Context serverless.yml provider: name: aws runtime: python3.9 custom: pythonRequirements: dockerizePip: true \[...\] …

---

## [Moving lambdas between stacks being deployed by CodeFresh.](https://forum.serverless.com/t/moving-lambdas-between-stacks-being-deployed-by-codefresh/16551)

<div class="topic-metadata">

**Author:** [@darek-gc](https://forum.serverless.com/u/darek-gc)\
**Replies:** 0\
**Last updated:** [January 15, 2022, 8:42am UTC](https://forum.serverless.com/t/moving-lambdas-between-stacks-being-deployed-by-codefresh/16551 "2022-01-15T08:42:21Z")

</div>

We have two steps in the deploy stage: “Stack A” and “Stack B”. Currently “Stack A” deploys lambda together with API Gateway “/complete” path. We need to move the lambda to “Stack B”. So we removed it from serverless.ym…

---

## [Deploy to a qa stage](https://forum.serverless.com/t/deploy-to-a-qa-stage/16191)

<div class="topic-metadata">

**Author:** [@samir.tarverdiyev](https://forum.serverless.com/u/samir.tarverdiyev)\
**Replies:** 0\
**Last updated:** [November 3, 2021, 4:20pm UTC](https://forum.serverless.com/t/deploy-to-a-qa-stage/16191 "2021-11-03T16:20:55Z")

</div>

Hi! I use serverless to deploy my app to lambda, I have got 3 stages, dev/qa/prod. Also I use a parameter store for environments. I use github actions to automate CD. I have got a problem, when we have got several PRs, …

---

## [Best practice question: Serverless AWS Application for multiple developers](https://forum.serverless.com/t/best-practice-question-serverless-aws-application-for-multiple-developers/16153)

<div class="topic-metadata">

**Author:** [@amcleod83](https://forum.serverless.com/u/amcleod83)\
**Replies:** 0\
**Last updated:** [October 28, 2021, 10:26am UTC](https://forum.serverless.com/t/best-practice-question-serverless-aws-application-for-multiple-developers/16153 "2021-10-28T10:26:18Z")

</div>

tldr; Is there commonly used collaborative working solution to working with Serverless for AWS? I would like to set up an environment/application using serverless that can be worked on simultaneously by multiple develop…

---

## [ECR image with different commands possible?](https://forum.serverless.com/t/ecr-image-with-different-commands-possible/15859)

<div class="topic-metadata">

**Author:** [@natetheeagle](https://forum.serverless.com/u/natetheeagle)\
**Replies:** 0\
**Last updated:** [August 31, 2021, 3:12pm UTC](https://forum.serverless.com/t/ecr-image-with-different-commands-possible/15859 "2021-08-31T15:12:18Z")

</div>

Serverless: Running ... Serverless: Packaging service... Serverless: Excluding development dependencies... Serverless: Excluding development dependencies... Serverless: Excluding development dependencies... Serverless: E…

---

## [Cross stack refernces when running integartion tests in CI pipeline](https://forum.serverless.com/t/cross-stack-refernces-when-running-integartion-tests-in-ci-pipeline/15358)

<div class="topic-metadata">

**Author:** [@yo1la](https://forum.serverless.com/u/yo1la)\
**Replies:** 0\
**Last updated:** [June 21, 2021, 11:50am UTC](https://forum.serverless.com/t/cross-stack-refernces-when-running-integartion-tests-in-ci-pipeline/15358 "2021-06-21T11:50:21Z")

</div>

Hi I have a project that consists of two serverless stacks. My intention is to run my integration and e2e tests, for each stack separately, as part of a CI pipeline and against real AWS resources. To accomplish this, …

---

## [How to use dynamodb-local with Serverless CI/CD](https://forum.serverless.com/t/how-to-use-dynamodb-local-with-serverless-ci-cd/15201)

<div class="topic-metadata">

**Author:** [@5hintaro](https://forum.serverless.com/u/5hintaro)\
**Replies:** 1\
**Last updated:** [June 2, 2021, 8:18am UTC](https://forum.serverless.com/t/how-to-use-dynamodb-local-with-serverless-ci-cd/15201 "2021-06-02T08:18:31Z")

</div>

I am using Serverless CI/CD and trying to automate the tests by putting the commands to be executed in package.json. However, I don’t know how to use Serverless CI/CD when I need to start a local server like dynamodb-loc…

---

## [Workflow for multiple developers using the same repository and serverless.yml template](https://forum.serverless.com/t/workflow-for-multiple-developers-using-the-same-repository-and-serverless-yml-template/14898)

<div class="topic-metadata">

**Author:** [@doulighan](https://forum.serverless.com/u/doulighan)\
**Replies:** 0\
**Last updated:** [May 1, 2021, 7:59pm UTC](https://forum.serverless.com/t/workflow-for-multiple-developers-using-the-same-repository-and-serverless-yml-template/14898 "2021-05-01T19:59:34Z")

</div>

Hello! I’ve been using sls for aws for a while now and I love it, but I’ve always been working alone. I’m going to have another developer join, but I’m wondering how best to manage things to make sure the development pr…

---

## [Tests when using GitHub Actions for CI/CD](https://forum.serverless.com/t/tests-when-using-github-actions-for-ci-cd/12024)

<div class="topic-metadata">

**Author:** [@clarkritchie](https://forum.serverless.com/u/clarkritchie)\
**Replies:** 2\
**Last updated:** [April 14, 2021, 8:59pm UTC](https://forum.serverless.com/t/tests-when-using-github-actions-for-ci-cd/12024 "2021-04-14T20:59:33Z")

</div>

I have a small Serverless project that is a mix of Go and Python lambdas. I want to configure it for CI/CD using GitHub Actions. sls test works great on localhost, but when I run that in my GitHub Action I get: Server…

---

## [Deploying a monorepo via serverless CI/CD service with yarn workspaces](https://forum.serverless.com/t/deploying-a-monorepo-via-serverless-ci-cd-service-with-yarn-workspaces/12507)

<div class="topic-metadata">

**Author:** [@danb235](https://forum.serverless.com/u/danb235)\
**Replies:** 3\
**Last updated:** [January 15, 2021, 12:42am UTC](https://forum.serverless.com/t/deploying-a-monorepo-via-serverless-ci-cd-service-with-yarn-workspaces/12507 "2021-01-15T00:42:28Z")

</div>

I have a monorepo with 2 nodejs services and a shared resource configured via yarn workspaces: /services/service1 /services/service2 /packages/shared Locally, when I run yarn, I’m able to import packages from /package…

---

## [CI/CD pipeline with private github package?](https://forum.serverless.com/t/ci-cd-pipeline-with-private-github-package/11738)

<div class="topic-metadata">

**Author:** [@Denjul](https://forum.serverless.com/u/Denjul)\
**Replies:** 2\
**Last updated:** [January 12, 2021, 11:19pm UTC](https://forum.serverless.com/t/ci-cd-pipeline-with-private-github-package/11738 "2021-01-12T23:19:51Z")

</div>

Hi! At the moment I use codebuild for my CI/CD pipeline and want to change it to serverless framework if it is possible. But running into a problem with my private github package. I want a secure way to put my token to…

[Next page](https://forum.serverless.com/tag/cicd/19.md?match_all_tags=true&page=1&tags%5B%5D=cicd)
