Skip to content

Commit c73e1d2

Browse files
committed
Added new variables
1 parent 789482b commit c73e1d2

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

README.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@ provider "aws" {
3838
module "aws_static_website" {
3939
source = "cloudmaniac/static-website/aws"
4040
41+
domains-zone-root = "example.com"
4142
website-domain-main = "example.com"
4243
website-domain-redirect = "www.example.com"
4344
}
@@ -53,12 +54,13 @@ For that reason, the module includes an aliased provider definition to create su
5354

5455
| Name | Description | Type | Default | Required |
5556
|------|-------------|:----:|:-------:|:--------:|
57+
| domains-zone-root | Root zone under which the domain should be registered in Route 53 | string | - | yes |
5658
| website-domain-main | Domain for the website (e.g., `example.com`) | string | - | yes |
5759
| website-domain-redirect | Alternate subdomain to redirect to the main website (e.g., `www.example.com`) | string | - | yes |
5860
| support-spa | Determine if website is SPA (Single-Page Application) to direct 404 response to index.html | bool | `false` | no |
59-
| website-additional-domains | Additional domains | list(string) | [] | no |
61+
| website-additional-domains | Main website additional domains (e.g., `noredir.example.com`) that don't need redirection | list(string) | [] | no |
6062
| cloudfront_lambda_function_arn | ARN of optional AWS Lambda Function that can be associated with the CloudFront distribution to provide custom behaviour | string | - | no |
61-
| cloudfront_lambda_function_event_type | The type of event that triggers the above Lambda Function ([https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/cloudfront_distribution#lambda_function_association](documentation)) | string | `origin-request` | no |
63+
| cloudfront_lambda_function_event_type | The type of event that triggers the above Lambda Function ([documentation](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/cloudfront_distribution#lambda_function_association)) | string | `origin-request` | no |
6264

6365
## Outputs
6466

0 commit comments

Comments
 (0)