Custom source paths

Define resources in a more verbose format to configure custom Lambda source directories. Custom source paths are completely opt-in on a Lambda by Lambda basis; this is trading off default conventions for flexibility at the price of slightly more app.arc verbosity.

Use cases

  • Migrate existing repos to serverless tech
  • Use frontend frameworks that have their own folder requirements
  • Better enable local code transpilation by pointing to generated ./dist directories


# simple
get /foo

# verbose
  method get
  src whatever/dir/you/want

# simple

# verbose
  src foo

# simple
a-schedule rate(1 day)

# verbose
  rate 1 day
  src something