Skip to content

armgit / macro

Public Imported from GitHub
0

Macro is a unified workspace for teams: email, chat, docs, tasks, agents, calls, and CRM — @-linked together with shared AI memory.

649 B
Raw Blame

Sha Cleanup Trigger

Lambda to trigger the "Sha Cleanup Worker" ECS task

Prerequisites

  • Install and setup Rust ecosystem on your machine.
  • Cargo lambda

Commands

make build - Builds lambda for release

Running

To start the lambda you can run cargo lambda watch If you wish to run in local mode (does not call AWS resources) you can use --features local.

To invoke the lambda you run the following:

cargo lambda invoke --data-ascii "{\"id\": \"abc\", \"detail-type\":\"abcd\", \"detail\": {}, \"source\": \"source\"}"

Testing

cargo test to run tests