https://github.com/riboseinc/terraform-aws-lambda-redirect-http-index
Lambda@Edge function that redirects HTTP path to index.html
https://github.com/riboseinc/terraform-aws-lambda-redirect-http-index
Last synced: about 2 months ago
JSON representation
Lambda@Edge function that redirects HTTP path to index.html
- Host: GitHub
- URL: https://github.com/riboseinc/terraform-aws-lambda-redirect-http-index
- Owner: riboseinc
- Created: 2021-03-04T03:59:30.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2022-01-03T08:16:30.000Z (over 3 years ago)
- Last Synced: 2025-04-11T03:48:56.021Z (about 2 months ago)
- Language: JavaScript
- Size: 20.5 KB
- Stars: 0
- Watchers: 4
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# terraform-aws-lambda-redirect-http-index
Lambda@Edge function that redirects HTTP path to index.html### Production Setup
To support [zero](https://github.com/riboseinc/terraform-aws-s3-cloudfront-website/issues/30) downtime deployment,
required env as bellow
- `BUCKET_NAME` (optional): bucket name to set CSV Config File
- `BUCKET_CONFIG_KEY` (optional): csv config bucket object, sample as bellow
```csv
lastUpdatedTimestamp,rootDir
1615877411,dir1
1615875912,dir2
```