aws / aws/aws-cdk

[cli] Provide way to skip bundling for lambda-nodejs

Open
#11,187 4 comments 16 reactions 0 assignees View on GitHub
@aws-cdk/aws-lambda-nodejs effort/medium feature-request p2
Dominant language
TypeScript
Stars
12.9k
Forks
4.6k
Avg merge
1d 19h
Merged PRs (30d)
74

Description

### Use Case

aws-lambda-nodejs uses parcel for bundling a function's code. Anytime we need to run `diff` or `deploy` command whether we made changes or not, parcel will do a build for all functions registered. If you're just making changes to other infra in the stack, this gets annoying.

### Proposed Solution

Provide a cli flag to the diff and deploy commands that allows skipping the bundle step.

* [x] :wave: I may be able to implement this feature request
* [ ] :warning: This feature might incur a breaking change

---

This is a :rocket: Feature Request

Contributor guide

Open the contributing guide

Research direction

Start with the CLI handling for the diff and deploy commands and the aws-lambda-nodejs Parcel bundling path. The change is done when both commands provide a way to skip bundling while preserving their existing behavior by default; the issue does not name specific files or tests to run.

Written by the indexing model from the issue text.

Assessment

Tech stack
aws, node.js, typescript
Domain
build-system, cli, cloud
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.