terraform-aws-hugo-s3-cloudfront
terraform-aws-hugo-s3-cloudfront copied to clipboard
Terraform module to create S3 bucket and CloudFront distribution for hosting a Hugo site
Hi @fillup 👋 https://github.com/fillup/terraform-aws-hugo-s3-cloudfront/blob/e03a13c5804075269ad4a90e05d59b8c35f28a3e/vars.tf#L110-L114 These lines state that `origin_path` should have a leading slash, but I think the README (which says it shouldn't) is actually correct. Including a leading slash...
Maybe this was not supposed to be used like this, but I have struggled to make it work outside `us-east-1`. I normally use `eu-west-2` for my buckets, but with that...
``` [hendry@t480s talks]$ terraform init Initializing modules... Downloading github.com/fillup/terraform-hugo-s3-cloudfront for hugosite... - hugosite in .terraform/modules/hugosite Initializing the backend... Initializing provider plugins... - Checking for available provider plugins... - Downloading plugin...