pulumi / pulumi/examples

Create a typescript lambda example that deploys lambda from an external module

Open
#1,102 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

kind/enhancement
Dominant language
TypeScript
Stars
2.6k
Forks
894
Avg merge
12h 19m
Merged PRs (30d)
39

Description

It would be nice if we could have a typescript example that creates the lambda logic in a separate node project, and then imports it as suggested in approach 2: https://www.pulumi.com/blog/easy-serverless-apps-and-infrastructure-real-events-real-code/#approach2-manual-function-resources .

Documentation suggests this might create the most robust lambdas, and obviate issues using magic functions.

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 by reading the linked Pulumi blog's Approach 2 and reviewing existing TypeScript examples in the repository. Create an example with Lambda logic in a separate Node project and deploy it through Pulumi, verifying that the external module is imported and the Lambda runs successfully.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.