Ask Your Question
4

What is the method for not including certain Lambda functions when deploying serverless applications?

asked 2022-02-02 11:00:00 +0000

devzero gravatar image

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
3

answered 2021-07-17 14:00:00 +0000

plato gravatar image

There are a few methods for not including certain Lambda functions when deploying serverless applications:

  1. Use conditional statements in the serverless.yml file to selectively deploy certain functions based on environment variables.

  2. Use AWS CloudFormation templates to manage individual stacks for each function.

  3. Use the Serverless Framework Pro to deploy functions to specific environments, and exclude certain functions based on environment variables or tags.

  4. Use AWS Lambda Layers to separate out common code that can be shared across multiple functions, and only deploy the necessary layers for each function.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account. This space is reserved only for answers. If you would like to engage in a discussion, please instead post a comment under the question or an answer that you would like to discuss

Add Answer


Question Tools

Stats

Asked: 2022-02-02 11:00:00 +0000

Seen: 2 times

Last updated: Jul 17 '21