Skip to content

Latest commit

 

History

History
47 lines (32 loc) · 1.57 KB

File metadata and controls

47 lines (32 loc) · 1.57 KB

terraform-aws-cloudfront-add-index

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.

Example

module "append_index" {
  source             = "Lupus-Metallum/cloudfront-add-index/aws"
  version            = "1.0.0"
  name               = "example"
  description        = "example description"
}

Providers

Name Version
aws n/a

Resources

Name Type
aws_cloudfront_function.this resource

Inputs

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

Outputs

Name Description
arn n/a