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
Copy file name to clipboardExpand all lines: README.md
+5-2Lines changed: 5 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -519,6 +519,7 @@ Available targets:
519
519
| <aname="input_descriptor_formats"></a> [descriptor\_formats](#input\_descriptor\_formats)| Describe additional descriptors to be output in the `descriptors` output map.<br>Map of maps. Keys are names of descriptors. Values are maps of the form<br>`{<br> format = string<br> labels = list(string)<br>}`<br>(Type is `any` so the map values can later be enhanced to provide additional options.)<br>`format` is a Terraform format string to be passed to the `format()` function.<br>`labels` is a list of labels, in order, to pass to `format()` function.<br>Label values will be normalized before being passed to `format()` so they will be<br>identical to how they appear in `id`.<br>Default is `{}` (`descriptors` output will be empty). |`any`|`{}`| no |
520
520
| <aname="input_distribution_enabled"></a> [distribution\_enabled](#input\_distribution\_enabled)| Set to `false` to create the distribution but still prevent CloudFront from serving requests. |`bool`|`true`| no |
521
521
| <aname="input_dns_alias_enabled"></a> [dns\_alias\_enabled](#input\_dns\_alias\_enabled)| Create a DNS alias for the CDN. Requires `parent_zone_id` or `parent_zone_name`|`bool`|`false`| no |
522
+
| <aname="input_dns_allow_overwrite"></a> [dns\_allow\_overwrite](#input\_dns\_allow\_overwrite)| Allow creation of DNS records in Terraform to overwrite an existing record, if any. This does not affect the ability to update the record in Terraform and does not prevent other resources within Terraform or manual Route 53 changes outside Terraform from overwriting this record. false by default. This configuration is not recommended for most environments |`bool`|`false`| no |
522
523
| <aname="input_enabled"></a> [enabled](#input\_enabled)| Set to false to prevent the module from creating any resources |`bool`|`null`| no |
523
524
| <aname="input_encryption_enabled"></a> [encryption\_enabled](#input\_encryption\_enabled)| When set to 'true' the resource will have aes256 encryption enabled by default |`bool`|`true`| no |
524
525
| <aname="input_environment"></a> [environment](#input\_environment)| ID element. Usually used for region e.g. 'uw2', 'us-west-2', OR role 'prod', 'staging', 'dev', 'UAT' |`string`|`null`| no |
@@ -755,8 +756,8 @@ Check out [our other projects][github], [follow us on twitter][twitter], [apply
Copy file name to clipboardExpand all lines: docs/terraform.md
+1Lines changed: 1 addition & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -87,6 +87,7 @@
87
87
| <aname="input_descriptor_formats"></a> [descriptor\_formats](#input\_descriptor\_formats)| Describe additional descriptors to be output in the `descriptors` output map.<br>Map of maps. Keys are names of descriptors. Values are maps of the form<br>`{<br> format = string<br> labels = list(string)<br>}`<br>(Type is `any` so the map values can later be enhanced to provide additional options.)<br>`format` is a Terraform format string to be passed to the `format()` function.<br>`labels` is a list of labels, in order, to pass to `format()` function.<br>Label values will be normalized before being passed to `format()` so they will be<br>identical to how they appear in `id`.<br>Default is `{}` (`descriptors` output will be empty). |`any`|`{}`| no |
88
88
| <aname="input_distribution_enabled"></a> [distribution\_enabled](#input\_distribution\_enabled)| Set to `false` to create the distribution but still prevent CloudFront from serving requests. |`bool`|`true`| no |
89
89
| <aname="input_dns_alias_enabled"></a> [dns\_alias\_enabled](#input\_dns\_alias\_enabled)| Create a DNS alias for the CDN. Requires `parent_zone_id` or `parent_zone_name`|`bool`|`false`| no |
90
+
| <aname="input_dns_allow_overwrite"></a> [dns\_allow\_overwrite](#input\_dns\_allow\_overwrite)| Allow creation of DNS records in Terraform to overwrite an existing record, if any. This does not affect the ability to update the record in Terraform and does not prevent other resources within Terraform or manual Route 53 changes outside Terraform from overwriting this record. false by default. This configuration is not recommended for most environments |`bool`|`false`| no |
90
91
| <aname="input_enabled"></a> [enabled](#input\_enabled)| Set to false to prevent the module from creating any resources |`bool`|`null`| no |
91
92
| <aname="input_encryption_enabled"></a> [encryption\_enabled](#input\_encryption\_enabled)| When set to 'true' the resource will have aes256 encryption enabled by default |`bool`|`true`| no |
92
93
| <aname="input_environment"></a> [environment](#input\_environment)| ID element. Usually used for region e.g. 'uw2', 'us-west-2', OR role 'prod', 'staging', 'dev', 'UAT' |`string`|`null`| no |
description="Create a DNS alias for the CDN. Requires `parent_zone_id` or `parent_zone_name`"
288
288
}
289
289
290
+
variable"dns_allow_overwrite" {
291
+
type=bool
292
+
default=false
293
+
description="Allow creation of DNS records in Terraform to overwrite an existing record, if any. This does not affect the ability to update the record in Terraform and does not prevent other resources within Terraform or manual Route 53 changes outside Terraform from overwriting this record. false by default. This configuration is not recommended for most environments"
0 commit comments