An open API service indexing awesome lists of open source software.

https://github.com/mozamimy/elasticache-tag-watcher

This AWS Lambda function publishes an SNS message when it founds some ElastiCache nodes which have no specified tag by TAG environment variable.
https://github.com/mozamimy/elasticache-tag-watcher

aws-lambda elasticache serverless

Last synced: about 1 year ago
JSON representation

This AWS Lambda function publishes an SNS message when it founds some ElastiCache nodes which have no specified tag by TAG environment variable.

Awesome Lists containing this project

README

          

# elasticache-tag-watcher

## About

This AWS Lambda function publishes an SNS message when it founds some ElastiCache nodes which have no specified tag by TAG environment variable.

This function is designed to be used with other Lambda function like lambda-slack-notifier (https://github.com/mozamimy/lambda-slack-notifier) through an SNS topic you like. Also, you can invoke this periodically with CloudWatch Events.

## Run locally with SAM CLI

```
bundle install --path vendor/bundle
echo '{}' | ec sam local invoke -t template.example.yml ElastiCacheTagWatcher
```

## Build a package for release

```
zip -r pkg/elasticache-tag-watcher.zip ./
```

## License

MIT