serverless / serverless/serverless

Possible to have a command that just creates the new cloudformation, not the zip of lambdas ?

Open
#6,336 0 comments 3 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

cat/packaging enhancement needs feedback
Dominant language
JavaScript
Stars
46.9k
Forks
5.7k
Avg merge
10h 7m
Merged PRs (30d)
57

Description

#6268 Description

In our use case, the code between our different stages is identical. The only difference is the cloud formation stacks, and env variables (which our managed outside of serverless by our own tool).

Currently, when you run sls package, it will both create the new CF templates, but also prepare your lambdas for deployment again. We're looking to skip this second step.

Proposal:

Either create a new command that runs just these steps, or allow a flag to be passed into the package command

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the existing sls package command and its packaging flow. Determine where CloudFormation templates and Lambda archives are generated, then verify that the proposed command or flag produces the templates without preparing Lambda zip files.

Written by the indexing model from the issue text.

Assessment

Tech stack
aws
Domain
cloud, infrastructure
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.