From 3a56535382f83c954b2bc85077f54b5cf78874db Mon Sep 17 00:00:00 2001 From: "alexander.miehe" Date: Fri, 22 Dec 2023 13:15:24 +0100 Subject: [PATCH] PLT-0 - Allow to set default root object --- README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/README.md b/README.md index 4df5249..0ae2bc0 100644 --- a/README.md +++ b/README.md @@ -44,6 +44,7 @@ This module will create cdn endpoint with alias and SSL-certificate and optional | [r53\_zone\_id](#input\_r53\_zone\_id) | Route53 zone ID to be used for hostname and certificate validation | `string` | n/a | yes | | [cdn\_logging](#input\_cdn\_logging) | Prefix in s3 bucket for cdn logs | `string` | `""` | no | | [cf\_functions](#input\_cf\_functions) | The Cloud Front function configuration
{type = object{}} ie. {"viewer-request" = object{}}
*type:*
Allowed cf event types are viewer-request and viewer-response
*name:*
Name of the function
*comment:*
Description of the function
*code:*
Source code of the function
*assign:*
true for associating the function with the cf distribution,
false to remove the association. (to remove the cf function firstly set it
to false to dissociate from the cf distribution) |
map(object({
name = string
comment = string
code = string
assign = bool
}))
| `{}` | no | +| [default\_root\_object](#input\_default\_root\_object) | The object that you want CloudFront to return (for example, index.html) when an end user requests the root URL. | `string` | `null` | no | | [override\_s3\_origin\_policy](#input\_override\_s3\_origin\_policy) | Overrides the S3-bucket policy to set OAI | `bool` | `false` | no | | [s3\_logging\_hostname](#input\_s3\_logging\_hostname) | Hostname of S3-bucket to be used for logging | `string` | `""` | no | | [s3\_origin\_hostname](#input\_s3\_origin\_hostname) | Hostname of S3-bucket to be used as origin | `string` | `""` | no |