You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* Creates a CloudFront endpoint to serve the Publii S3 bucket
* Creates logging buckets for CloudFront
* Adds a default WAF resource for CloudFront
* Adds read permission to the frontend S3 bucket for CloudFront
|[template_file.cloudfront_frontend_logging_bucket_enforce_tls_statement](https://registry.terraform.io/providers/hashicorp/template/latest/docs/data-sources/file)| data source |
63
+
|[template_file.cloudfront_frontend_logging_bucket_policy](https://registry.terraform.io/providers/hashicorp/template/latest/docs/data-sources/file)| data source |
64
+
|[template_file.cloudfront_frontend_logging_logging_bucket_enforce_tls_statement](https://registry.terraform.io/providers/hashicorp/template/latest/docs/data-sources/file)| data source |
65
+
|[template_file.cloudfront_frontend_logging_logging_bucket_policy](https://registry.terraform.io/providers/hashicorp/template/latest/docs/data-sources/file)| data source |
66
+
|[template_file.frontend_bucket_cloudfront_read](https://registry.terraform.io/providers/hashicorp/template/latest/docs/data-sources/file)| data source |
46
67
|[template_file.frontend_bucket_enforce_tls_statement](https://registry.terraform.io/providers/hashicorp/template/latest/docs/data-sources/file)| data source |
47
68
|[template_file.frontend_bucket_policy](https://registry.terraform.io/providers/hashicorp/template/latest/docs/data-sources/file)| data source |
48
69
|[template_file.frontend_logging_bucket_enforce_tls_statement](https://registry.terraform.io/providers/hashicorp/template/latest/docs/data-sources/file)| data source |
@@ -53,6 +74,9 @@ Terraform module to host a static site generated by Publii
53
74
54
75
| Name | Description | Type | Default | Required |
| <aname="input_cloudfront_enable_ipv6"></a> [cloudfront\_enable\_ipv6](#input\_cloudfront\_enable\_ipv6)| Enable IPv6 on CloudFront |`bool`|`true`| no |
78
+
| <aname="input_cloudfront_tls_certificate_arn"></a> [cloudfront\_tls\_certificate\_arn](#input\_cloudfront\_tls\_certificate\_arn)| CloudFront TLS certificate ARN (must be created in us-east-1 region) |`string`| n/a | yes |
79
+
| <aname="input_s3_bucket_acl"></a> [s3\_bucket\_acl](#input\_s3\_bucket\_acl)| S3 bucket ACL |`string`|`"private"`| no |
56
80
| <aname="input_site_url"></a> [site\_url](#input\_site\_url)| The desired site URL |`string`| n/a | yes |
0 commit comments