error_document
(and thus origin_path
) shouldn't start with a slash
#17
Labels
bug
Something isn't working
Hi @fillup 👋
terraform-aws-hugo-s3-cloudfront/vars.tf
Lines 110 to 114 in e03a13c
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 seems to break theerror_document
feature in S3. For example "public/index.html" works as an error document path, but "/public/index.html" doesn't work, and theorigin_path
is used in assembling the final error document path.However, changing that expectation for
origin_path
might require updates to other code in this module.The text was updated successfully, but these errors were encountered: