Skip to contents

test a lambda locally

Usage

test_lambda(tag, payload)

Arguments

tag

The tag of an existing local image tagged with ECR repo (see `build_lambda`)

payload

Named list. Arguments to lambda function.

Examples

if (FALSE) { # \dontrun{
  payload <- list(number = 2)
  tag <- "449283523352.dkr.ecr.us-east-1.amazonaws.com/myrepo51:latest"
  test_lambda(tag, payload)
} # }