cloudmaniac / terraform-aws-static-website

Terraform Module to provision an AWS static website using Route53, S3, and CloudFront.
https://registry.terraform.io/modules/cloudmaniac/static-website/aws/
MIT License
48 stars 38 forks source link

Optional support for Lambdas #5

Closed msb closed 2 years ago

msb commented 3 years ago

I understand from the TODO list that you intend to re-introduce the Lambda@Edge index rewriting function at some point. However, in the meantime (for back compatibility), it would be useful to allow an optional association with a Lambda defined externally to the module. To this end, I've added an optional module variable to allow you to do this.