A quick Lambda@edge function to allow CloudFront static sites to accept URL's without a filename such as https://example.com/test and append /index.html
to allow CloudFront to locate the correct S3 object.
module "append_index" {
source = "Lupus-Metallum/cloudfront-add-index/aws"
version = "1.0.0"
name = "example"
description = "example description"
}
Name | Version |
---|---|
aws | n/a |
Name | Type |
---|---|
aws_cloudfront_function.this | resource |
Name | Description | Type | Default | Required |
---|---|---|---|---|
name | Name to use for resource names created by this module | string |
n/a | yes |
description | Description to use for resource description created by this module | string |
"Adds index.html or /index.html if needed to request URLs" |
no |
Name | Description |
---|---|
arn | n/a |