Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/cloudandthings/terraform-aws-redis-layer
https://github.com/cloudandthings/terraform-aws-redis-layer
Last synced: 7 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/cloudandthings/terraform-aws-redis-layer
- Owner: cloudandthings
- License: apache-2.0
- Created: 2023-05-25T12:11:22.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2023-05-25T18:47:35.000Z (over 1 year ago)
- Last Synced: 2024-11-09T02:52:31.903Z (2 months ago)
- Language: HCL
- Size: 1.04 MB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# terraform-aws-redis-layer
A Lambda layer built using [yumda](https://github.com/lambci/yumda). The package is committed
The layer.zip was created:
```
mkdir layer
docker run --rm -v "$PWD"/layer:/lambda/opt lambci/yumda:2 yum install -y redis
cd layer
zip -yr ../layer.zip .
```## Using `redis-cli`
```python
import json
import osdef lambda_handler(event, context):
print(os.system('/opt/bin/redis-cli --help'))
return {
'statusCode': 200,
}
```