You can develop a workflow task in AWS Lambda or Elastic Container Service (ECS). AWS ECS requires Docker. For a list of tasks to use go to our Cumulus Tasks page.
The following steps are to help you along as you write a new Lambda that integrates with a Cumulus workflow. This will aid you with the understanding of the Cumulus Message Adapter (CMA) process.
Define New Lambda in Terraform
Add Task in JSON Object
For details on how to set up a workflow via CMA go to the CMA Tasks: Message Flow.
You will need to assign input and output for the new task and follow the CMA contract here. This contract defines how libraries should call the cumulus-message-adapter to integrate a task into an existing Cumulus Workflow.
Verify New Task
Check the updated workflow in AWS and in Cumulus.