> For the complete documentation index, see [llms.txt](https://cires.gitbook.io/zarr/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://cires.gitbook.io/zarr/cloud/lambda/indexing-lambda.md).

# Indexing Lambda

First, build the echofish-aws-indexing-lambda and check build status in mggdev aws console. When build succeeds it will update image in echofish aws console. Copy the latest image id to the "IndexingLambdaImageTag" for the echofish-stack.yaml parameter in echofish-aws-cloudformation project. You can then do a 'mvn clean install' to build the project, and then do a ./deploy-sync.sh and ./stack-create.sh to create the new stack.

To prompt the indexing lambda via SNS message sent something like:

```
aws --profile "echofish" sns publish --topic-arn "arn:aws:sns:us-west-2:118234403147:rudy-dev-echofish-trigger-index" --message '{"foo6": "bar6"}'
```
