| Name | Version |
|---|---|
| terraform | >= 1.9 |
| aws | >= 5.60 |
| Name | Version |
|---|---|
| aws | >= 5.60 |
| aws.dist | >= 5.60 |
| aws.dns | >= 5.60 |
| Name | Source | Version |
|---|---|---|
| distribution_bucket | flagscript/flagscript-s3-bucket/aws | 3.1.0 |
| Name | Description | Type | Default | Required |
|---|---|---|---|---|
| default_root_object | Object that you want CloudFront to return (for example, index.html) when an end user requests the root URL. | string |
"index.html" |
no |
| deploy_test_index | Whether or not to create a test index.html file. | bool |
false |
no |
| domain | The domain of the headless website. | string |
n/a | yes |
| github_deployment_target | The branch or environment to deploy to. The '*' charachter may be used wildcard. | string |
"main" |
no |
| github_deployment_type | Whether github actions should deploy on branch or environment. All may be used for a global wildcard. | string |
"branch" |
no |
| github_repository | The github repository to push the website. | string |
"" |
no |
| hosted_zone_name | Name of the hosted zone to hold the route 53 records. | string |
n/a | yes |
| use_github_actions | Whether or not to setup github actions deployment. | bool |
false |
no |
| Name | Description |
|---|---|
| distribution_arn | ARN for the distribution. |
| distribution_id | Identifier for the distribution. |