Skip to content

Lambda

Duplo cli subcommand to manage lambdas.

Usage

using the duploctl command line tool, you can manage lambdas with actions:

duploctl lambda <action>

Actions

list

List all lambdas in the current subscription.

duploctl lambda list

find

Find a lambda by name.

duploctl lambda find <lambda-name>

create

Create a new lambda.

duploctl lambda create -f <lambda-file>

update

Update a lambda from a state in a file.

duploctl lambda update -f <lambda-file>

delete

Delete a lambda.

duploctl lambda delete <lambda-name>

update_image

Update the image of a lambda.

duploctl lambda update_image <lambda-name> <image-name>

update_s3

Update a lambda using a zip file from an S3 bucket.

duploctl lambda update_s3 <lambda-name> <s3-bucket> <s3-key>