# Serverless Framework

**URL:** https://forum.serverless.com/c/serverless-framework/5.md?page=2

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

**Page:** 3

---

## [EMFILE: too many open file while deploy](https://forum.serverless.com/t/emfile-too-many-open-file-while-deploy/19624)

<div class="topic-metadata">

**Author:** [@VPpexis](https://forum.serverless.com/u/VPpexis)\
**Replies:** 2\
**Last updated:** [April 29, 2025, 8:26am UTC](https://forum.serverless.com/t/emfile-too-many-open-file-while-deploy/19624 "2025-04-29T08:26:28Z")

</div>

I am trying to learn serverless framework. I’ve encountered an problem during my practice on using serverless-s3-sync. When i tried installing the package and deploying it, I’ve encountered an error: × Stack lesson2-dev…

---

## [ServerlessError: ServerlessError: unable to get local issuer certificate](https://forum.serverless.com/t/serverlesserror-serverlesserror-unable-to-get-local-issuer-certificate/3315)

<div class="topic-metadata">

**Author:** [@pmclean1964](https://forum.serverless.com/u/pmclean1964)\
**Replies:** 7\
**Last updated:** [May 13, 2021, 6:32pm UTC](https://forum.serverless.com/t/serverlesserror-serverlesserror-unable-to-get-local-issuer-certificate/3315 "2021-05-13T18:32:56Z")

</div>

Hi all! New to the Forum and to Serverless. I’m trying to do the quickstart and I’ve followed the directions. When I execute serverless deploy -v I get: Error -------------------------------------------------- Serverl…

---

## [How to load env from custom plugin?](https://forum.serverless.com/t/how-to-load-env-from-custom-plugin/21152)

<div class="topic-metadata">

**Author:** [@zgid123](https://forum.serverless.com/u/zgid123)\
**Replies:** 0\
**Last updated:** [April 28, 2025, 3:48am UTC](https://forum.serverless.com/t/how-to-load-env-from-custom-plugin/21152 "2025-04-28T03:48:02Z")

</div>

Hi, I have two Environment.yml files. Inside that, we have environment: ABC: "${env:ABC}" When I use provider: environment: ${file(./Environment.yml):environment} The env from yml will be loaded with the value. …

---

## [API gateway CORS error if I pass cors in provider level](https://forum.serverless.com/t/api-gateway-cors-error-if-i-pass-cors-in-provider-level/20980)

<div class="topic-metadata">

**Author:** [@zil31](https://forum.serverless.com/u/zil31)\
**Replies:** 1\
**Last updated:** [April 23, 2025, 8:59pm UTC](https://forum.serverless.com/t/api-gateway-cors-error-if-i-pass-cors-in-provider-level/20980 "2025-04-23T20:59:02Z")

</div>

Hello, I am using serverless + API gateway and facing cors error if I pass custom headers. I am adding cors configuration on the function level, and then it’s working fine, but at the provider level it’s not doing anyt…

---

## [Serverless framework custom Lambda function](https://forum.serverless.com/t/serverless-framework-custom-lambda-function/20929)

<div class="topic-metadata">

**Author:** [@Arun](https://forum.serverless.com/u/Arun)\
**Replies:** 1\
**Last updated:** [April 23, 2025, 8:57pm UTC](https://forum.serverless.com/t/serverless-framework-custom-lambda-function/20929 "2025-04-23T20:57:58Z")

</div>

Currently, I am using aws code sign to sign the code before pushing, so that genuine code will be running on Lambda funcions. I am using this plugin “@ioiotv/serverless-aws-signer” for all my serverless.yml file and it …

---

## [How to deploy Lambda functions to existing S3 buckets](https://forum.serverless.com/t/how-to-deploy-lambda-functions-to-existing-s3-buckets/18293)

<div class="topic-metadata">

**Author:** [@sfxpt](https://forum.serverless.com/u/sfxpt)\
**Replies:** 3\
**Last updated:** [April 15, 2025, 11:48am UTC](https://forum.serverless.com/t/how-to-deploy-lambda-functions-to-existing-s3-buckets/18293 "2025-04-15T11:48:18Z")

</div>

Following up on Delete S3 buckets after deployment I’ve precreated a common bucket and want to configure all my serverless.yml deployments to use that one rather than creating new ones all the time. However, unlike I…

---

## [Aurora Serverless v1 to v2 Upgrade](https://forum.serverless.com/t/aurora-serverless-v1-to-v2-upgrade/21114)

<div class="topic-metadata">

**Author:** [@TreeMan360](https://forum.serverless.com/u/TreeMan360)\
**Replies:** 1\
**Last updated:** [April 13, 2025, 8:29am UTC](https://forum.serverless.com/t/aurora-serverless-v1-to-v2-upgrade/21114 "2025-04-13T08:29:21Z")

</div>

Hi, I need to upgrade from serverless aurora v1 to v2, also of note is that we exclusively use the Data API to access the database and we only access the database using a secrets ARN - there is no username or password. …

---

## [Unable to deploy using serverless framework](https://forum.serverless.com/t/unable-to-deploy-using-serverless-framework/21010)

<div class="topic-metadata">

**Author:** [@Saatwik-Mehta](https://forum.serverless.com/u/Saatwik-Mehta)\
**Replies:** 2\
**Last updated:** [April 5, 2025, 8:53pm UTC](https://forum.serverless.com/t/unable-to-deploy-using-serverless-framework/21010 "2025-04-05T20:53:16Z")

</div>

Here is the problem - First of all what is this instance limit? , is it possible to reduce it? Secondly, I have created a serverless access key and provider in the serverless framework dashboard which is an AWS role, …

---

## [CLI synchronous invocation - Lamda invoked repeatedly](https://forum.serverless.com/t/cli-synchronous-invocation-lamda-invoked-repeatedly/20955)

<div class="topic-metadata">

**Author:** [@markoleavy](https://forum.serverless.com/u/markoleavy)\
**Replies:** 2\
**Last updated:** [April 5, 2025, 8:43pm UTC](https://forum.serverless.com/t/cli-synchronous-invocation-lamda-invoked-repeatedly/20955 "2025-04-05T20:43:14Z")

</div>

Hello, I’ve been facing this issue: when synchronously invoking a lambda function from the Serverless CLI, if the function takes more than 285 seconds (unusual value for a default timeout…), the function is invoked agai…

---

## [File path variable not getting resolved](https://forum.serverless.com/t/file-path-variable-not-getting-resolved/21110)

<div class="topic-metadata">

**Author:** [@maneprajakta](https://forum.serverless.com/u/maneprajakta)\
**Replies:** 0\
**Last updated:** [April 3, 2025, 4:13pm UTC](https://forum.serverless.com/t/file-path-variable-not-getting-resolved/21110 "2025-04-03T16:13:54Z")

</div>

when i use conditional way to set file path it throws error config\_serverless\_path: cs: ${file(.cloudos/pimdbmig-cloned/service\_config/${param:security\_zone, 'dev'}/${param:stack\_name, 'dv'}/${opt:region, 'us-west-2…

---

## [Can't invoke java17 function locally](https://forum.serverless.com/t/cant-invoke-java17-function-locally/21103)

<div class="topic-metadata">

**Author:** [@dacanalr](https://forum.serverless.com/u/dacanalr)\
**Replies:** 0\
**Last updated:** [March 31, 2025, 4:29pm UTC](https://forum.serverless.com/t/cant-invoke-java17-function-locally/21103 "2025-03-31T16:29:09Z")

</div>

Hi, I’m trying to call my AWS java17 lambda function locally: npx sls invoke local -f myfunc-name -s stg -d '2025-03-31' --docker but I got this error: docker: Error response from daemon: Invalid container name (sls-d…

---

## [The "serverless-domain-manager" basePath fails for custom domains](https://forum.serverless.com/t/the-serverless-domain-manager-basepath-fails-for-custom-domains/21091)

<div class="topic-metadata">

**Author:** [@punkbit](https://forum.serverless.com/u/punkbit)\
**Replies:** 1\
**Last updated:** [March 28, 2025, 1:19am UTC](https://forum.serverless.com/t/the-serverless-domain-manager-basepath-fails-for-custom-domains/21091 "2025-03-28T01:19:45Z")

</div>

I’ve started by making the basePath ‘’ (none). A simple curl to custom domain endpoint would return a response. For example const serverless = require("serverless-http"); const express = require("express"); const app = …

---

## [Do I need a subscription to get a license key?](https://forum.serverless.com/t/do-i-need-a-subscription-to-get-a-license-key/21078)

<div class="topic-metadata">

**Author:** [@mistletoe](https://forum.serverless.com/u/mistletoe)\
**Replies:** 3\
**Last updated:** [March 26, 2025, 11:28am UTC](https://forum.serverless.com/t/do-i-need-a-subscription-to-get-a-license-key/21078 "2025-03-26T11:28:44Z")

</div>

Do I need a subscription to get a license key? I’m thinking of starting for free, but when I try to get a license key from Serverless I’m asked for a subscription. I want to start using it for free first. Is a subscr…

---

## [Using lambda env vars encryption in transit feature](https://forum.serverless.com/t/using-lambda-env-vars-encryption-in-transit-feature/21073)

<div class="topic-metadata">

**Author:** [@yardensade](https://forum.serverless.com/u/yardensade)\
**Replies:** 0\
**Last updated:** [March 22, 2025, 9:49am UTC](https://forum.serverless.com/t/using-lambda-env-vars-encryption-in-transit-feature/21073 "2025-03-22T09:49:22Z")

</div>

AWS offers in the lambda configuration (aws console) option to encrypt the environment variables. Encryption in transit → Enable helpers for encryption in transit I can’t find any reference for this in serverless frame…

---

## [Showing the stack trace in .ts lines instead of .js](https://forum.serverless.com/t/showing-the-stack-trace-in-ts-lines-instead-of-js/21063)

<div class="topic-metadata">

**Author:** [@myst](https://forum.serverless.com/u/myst)\
**Replies:** 0\
**Last updated:** [March 18, 2025, 11:08pm UTC](https://forum.serverless.com/t/showing-the-stack-trace-in-ts-lines-instead-of-js/21063 "2025-03-18T23:08:12Z")

</div>

Hi ! When running serverless in dev mode, when an error occurs the stack trace points to .js lines, while i’m using ts, making it difficult to point to the error source. How can I switch the stack trace to .ts files ? T…

---

## [Development Dependencies not Excluded](https://forum.serverless.com/t/development-dependencies-not-excluded/20779)

<div class="topic-metadata">

**Author:** [@justinshea](https://forum.serverless.com/u/justinshea)\
**Replies:** 3\
**Last updated:** [March 13, 2025, 4:07pm UTC](https://forum.serverless.com/t/development-dependencies-not-excluded/20779 "2025-03-13T16:07:21Z")

</div>

Hi All, New to the board and I am also a bit of a novice with serverless, especially v4. Apologies in advance for any breaches in etiquette. :grinning: I am using: Serverless ϟ Framework 4.4.11 NPM 10.8.2 Node 20.1…

---

## [New State Bucket defaults to us-east-1](https://forum.serverless.com/t/new-state-bucket-defaults-to-us-east-1/20766)

<div class="topic-metadata">

**Author:** [@chrisdenton-ct](https://forum.serverless.com/u/chrisdenton-ct)\
**Replies:** 1\
**Last updated:** [March 13, 2025, 3:20pm UTC](https://forum.serverless.com/t/new-state-bucket-defaults-to-us-east-1/20766 "2025-03-13T15:20:28Z")

</div>

I’ve just updated one of my repositories from serverless 4.4.7 to 4.4.9. I was getting permissions errors during the first deployment as it was trying to do things in us-east-1, which is an AWS region we don’t use, and …

---

## [Packaging pino throws an error at runtime](https://forum.serverless.com/t/packaging-pino-throws-an-error-at-runtime/20923)

<div class="topic-metadata">

**Author:** [@codan84](https://forum.serverless.com/u/codan84)\
**Replies:** 3\
**Last updated:** [March 12, 2025, 10:51pm UTC](https://forum.serverless.com/t/packaging-pino-throws-an-error-at-runtime/20923 "2025-03-12T22:51:31Z")

</div>

When these following conditions happen: using pino for logging type=module in package.json using TS with a target resulting in ESM code running serverless package will package pino code that uses dynamic require for n…

---

## [DevDependencies were included in serverless v4](https://forum.serverless.com/t/devdependencies-were-included-in-serverless-v4/21014)

<div class="topic-metadata">

**Author:** [@coolloic](https://forum.serverless.com/u/coolloic)\
**Replies:** 0\
**Last updated:** [February 24, 2025, 7:35am UTC](https://forum.serverless.com/t/devdependencies-were-included-in-serverless-v4/21014 "2025-02-24T07:35:43Z")

</div>

I still got the package size issue because the dev dependencies were included. I’m currently using the default build. I got the serverless-python-requirements plugin in the same serverless.yml to slim the Python ML lam…

---

## [Servless v4 with serverless-offline problem](https://forum.serverless.com/t/servless-v4-with-serverless-offline-problem/20775)

<div class="topic-metadata">

**Author:** [@pmmakela](https://forum.serverless.com/u/pmmakela)\
**Replies:** 3\
**Last updated:** [February 19, 2025, 4:37am UTC](https://forum.serverless.com/t/servless-v4-with-serverless-offline-problem/20775 "2025-02-19T04:37:08Z")

</div>

Hi! Started to migrate customer serverless v3 projects / functions to serverless v4. No problems until tried to start up it locally. The functions are running in docker container and SERVERLESS\_ACCESS\_KEY and SERVERLESS\_…

---

## [Serverless container yaml not extracting ssm variables](https://forum.serverless.com/t/serverless-container-yaml-not-extracting-ssm-variables/20994)

<div class="topic-metadata">

**Author:** [@jtryearlybird](https://forum.serverless.com/u/jtryearlybird)\
**Replies:** 1\
**Last updated:** [February 19, 2025, 4:31am UTC](https://forum.serverless.com/t/serverless-container-yaml-not-extracting-ssm-variables/20994 "2025-02-19T04:31:05Z")

</div>

I am trying to get secret from secret manager. The current documentation for env vars for the serverless container config shows to do the following which doesn’t make sense. DATABASE\_ARN: ${env:DATABASE\_ARN} # Example, …

---

## [\`httpApi\` JWT Authorizer based on Docs cannot be found when specified](https://forum.serverless.com/t/httpapi-jwt-authorizer-based-on-docs-cannot-be-found-when-specified/20134)

<div class="topic-metadata">

**Author:** [@flecher0](https://forum.serverless.com/u/flecher0)\
**Replies:** 2\
**Last updated:** [February 17, 2025, 3:13pm UTC](https://forum.serverless.com/t/httpapi-jwt-authorizer-based-on-docs-cannot-be-found-when-specified/20134 "2025-02-17T15:13:16Z")

</div>

Issue description As I am adding a JWT authorizer, which is supposed to send requests to the Auth0 authorization server, to each endpoint’s Lambda function based on the deployment stage, I am receiving the error below wh…

---

## [V4.5.1 erroring on script that previously worked](https://forum.serverless.com/t/v4-5-1-erroring-on-script-that-previously-worked/20953)

<div class="topic-metadata">

**Author:** [@gail-fd](https://forum.serverless.com/u/gail-fd)\
**Replies:** 5\
**Last updated:** [February 10, 2025, 9:55pm UTC](https://forum.serverless.com/t/v4-5-1-erroring-on-script-that-previously-worked/20953 "2025-02-10T21:55:20Z")

</div>

HI everyone, New here, but this is a bit of a “pretty sure the release isnt working as expected” situation. I saw there was a new release about 5 hours ago, and now I am getting this error when deploying the exact same…

---

## [The bucket does not allow ACLs](https://forum.serverless.com/t/the-bucket-does-not-allow-acls/20788)

<div class="topic-metadata">

**Author:** [@sebamancini](https://forum.serverless.com/u/sebamancini)\
**Replies:** 1\
**Last updated:** [January 30, 2025, 4:24pm UTC](https://forum.serverless.com/t/the-bucket-does-not-allow-acls/20788 "2025-01-30T16:24:28Z")

</div>

Hi, I am setting a lambda function that creates an image and puts it on a bucket. I am facing this issue: \[ERROR\] ClientError: An error occurred (AccessControlListNotSupported) when calling the PutObject operation: The…

---

## [Deploing from CI. Issue](https://forum.serverless.com/t/deploing-from-ci-issue/20426)

<div class="topic-metadata">

**Author:** [@oleh-polytskyi](https://forum.serverless.com/u/oleh-polytskyi)\
**Replies:** 1\
**Last updated:** [January 30, 2025, 4:23pm UTC](https://forum.serverless.com/t/deploing-from-ci-issue/20426 "2025-01-30T16:23:52Z")

</div>

After updating to the v4 have a problem with delpoing from CI. CI build has node 16. How I can update the node version? run time python 3.11

---

## [Starting a new project with \`serverless\` command is not working](https://forum.serverless.com/t/starting-a-new-project-with-serverless-command-is-not-working/20941)

<div class="topic-metadata">

**Author:** [@Saatwik-Mehta](https://forum.serverless.com/u/Saatwik-Mehta)\
**Replies:** 14\
**Last updated:** [January 29, 2025, 4:14pm UTC](https://forum.serverless.com/t/starting-a-new-project-with-serverless-command-is-not-working/20941 "2025-01-29T16:14:03Z")

</div>

After the upgrade to V4, I am able to successfully login using the sls login in CLI. But issue comes when I run the command serverless and opt for a template. It downloads the template but unable to authenticate. I have …

---

## [How to access the output of a CF stack as variables in the serverless.yml file?](https://forum.serverless.com/t/how-to-access-the-output-of-a-cf-stack-as-variables-in-the-serverless-yml-file/11310)

<div class="topic-metadata">

**Author:** [@gomesp](https://forum.serverless.com/u/gomesp)\
**Replies:** 2\
**Last updated:** [January 27, 2025, 8:55pm UTC](https://forum.serverless.com/t/how-to-access-the-output-of-a-cf-stack-as-variables-in-the-serverless-yml-file/11310 "2025-01-27T20:55:25Z")

</div>

Question What is the correct way to get the output of a cloudformation stack in a serverless.yml file without hardcoding the stack name? Steps I have a serverless.yml file where I import a cloudformation template to cr…

---

## [Google Cloud function v2](https://forum.serverless.com/t/google-cloud-function-v2/20567)

<div class="topic-metadata">

**Author:** [@sidiki](https://forum.serverless.com/u/sidiki)\
**Replies:** 4\
**Last updated:** [January 27, 2025, 8:51pm UTC](https://forum.serverless.com/t/google-cloud-function-v2/20567 "2025-01-27T20:51:25Z")

</div>

Hi team, Hope you are doing gr8. Is it possible to deploy a google cloud function v2 with serverless ? If no is it in the roadmap ? Thanks in advance for your response Best regards

---

## [Serverless print --format json](https://forum.serverless.com/t/serverless-print-format-json/20927)

<div class="topic-metadata">

**Author:** [@Mule52](https://forum.serverless.com/u/Mule52)\
**Replies:** 0\
**Last updated:** [January 24, 2025, 12:58am UTC](https://forum.serverless.com/t/serverless-print-format-json/20927 "2025-01-24T00:58:43Z")

</div>

As of the last few hours, when I run serverless print in my project, the result is data that starts with a formatted table in text. I am expecting a different formation. This seems to have changed without me knowing. Fo…

---

## [Serverless 3 & 4 together](https://forum.serverless.com/t/serverless-3-4-together/20424)

<div class="topic-metadata">

**Author:** [@TomC](https://forum.serverless.com/u/TomC)\
**Replies:** 2\
**Last updated:** [January 22, 2025, 8:37am UTC](https://forum.serverless.com/t/serverless-3-4-together/20424 "2025-01-22T08:37:16Z")

</div>

I’m sure I can’t be the only one who has a lot of Sls v3 projects, that we don’t want to upgrade to v4 right now. If I install Sls v4 ( Setting Up Serverless Framework With AWS - Setting Up Serverless Framework With AWS …

[Previous page](https://forum.serverless.com/c/serverless-framework/5.md?page=1)

[Next page](https://forum.serverless.com/c/serverless-framework/5.md?page=3)
