0.0.51 • Published 1 year ago

rise-functions v0.0.51

Weekly downloads
-
License
ISC
Repository
-
Last release
1 year ago

Rise Functions

Rise Functions is a CLI which takes a rise.mjs file, and deploys AWS Lambda functions into your AWS account. All lambda functions are located in a /functions folder. The goal of rise functions is to make building AWS Lambda functions as simple and straight forward as possible.

Install

npm i -g rise-functions

Usage

Deploy

rise-functions deploy

Project Structure

A project as the following structure:

/functions
    myFunctionA.mjs
    myFunctionB.mjs
    myFunctionC.mjs
rise.mjs

If your function requires multiple files, or node_modules, functions can also be defined inside folders.

/functions
    /myFunctionA
        util.mjs
        index.mjs
    /myFunctionB
        /node_modules
        util.mjs
        index.mjs
rise.mjs

What is the rise.mjs file for?

The rise.mjs file is for configuring your project. Here is an example:

export default {
    name: 'nameOfMyProject',
    // optional
    domain: {
        name: 'mydomain.com',
        path: '/serviceA',
        stage: 'dev'
    }
}

The only required parameter is the name. This will be used to name:

  • the s3 bucket where your code will be uploaded
  • lambda functions
  • iam roles

What CLI flags are available?

You can set the region of your deployment like so:

rise-functions deploy --region=us-east-2
0.0.51

1 year ago

0.0.50

1 year ago

0.0.49

1 year ago

0.0.46

2 years ago

0.0.47

2 years ago

0.0.48

2 years ago

0.0.40

2 years ago

0.0.41

2 years ago

0.0.42

2 years ago

0.0.43

2 years ago

0.0.44

2 years ago

0.0.39

2 years ago

0.0.38

2 years ago

0.0.20

2 years ago

0.0.21

2 years ago

0.0.22

2 years ago

0.0.23

2 years ago

0.0.24

2 years ago

0.0.25

2 years ago

0.0.37

2 years ago

0.0.15

2 years ago

0.0.16

2 years ago

0.0.17

2 years ago

0.0.18

2 years ago

0.0.19

2 years ago

0.0.30

2 years ago

0.0.31

2 years ago

0.0.33

2 years ago

0.0.34

2 years ago

0.0.35

2 years ago

0.0.13

2 years ago

0.0.36

2 years ago

0.0.14

2 years ago

0.0.26

2 years ago

0.0.27

2 years ago

0.0.28

2 years ago

0.0.29

2 years ago

0.0.10

3 years ago

0.0.11

3 years ago

0.0.12

3 years ago

0.0.9

3 years ago

0.0.8

3 years ago

0.0.7

3 years ago

0.0.6

3 years ago

0.0.5

3 years ago

0.0.4

3 years ago

0.0.3

3 years ago

0.0.2

3 years ago

0.0.1

3 years ago