diff --git a/terraform/README.md b/terraform/README.md index c4b939456..a02cb7b0b 100644 --- a/terraform/README.md +++ b/terraform/README.md @@ -166,8 +166,8 @@ No resources. | [enable\_cdn\_frontdoor](#input\_enable\_cdn\_frontdoor) | Enable Azure CDN FrontDoor. This will use the Container Apps endpoint as the origin. | `bool` | n/a | yes | | [enable\_container\_registry](#input\_enable\_container\_registry) | Set to true to create a container registry | `bool` | n/a | yes | | [enable\_dns\_zone](#input\_enable\_dns\_zone) | Conditionally create a DNS zone | `bool` | n/a | yes | -| [enable\_event\_hub](#input\_enable\_event\_hub) | Send Azure Container App logs to an Event Hub sink | `bool` | n/a | yes | -| [enable\_logstash\_consumer](#input\_enable\_logstash\_consumer) | Create an Event Hub consumer group for Logstash | `bool` | n/a | yes | +| [enable\_event\_hub](#input\_enable\_event\_hub) | Send Azure Container App logs to an Event Hub sink | `bool` | `false` | no | +| [enable\_logstash\_consumer](#input\_enable\_logstash\_consumer) | Create an Event Hub consumer group for Logstash | `bool` | `false` | no | | [enable\_monitoring](#input\_enable\_monitoring) | Create an App Insights instance and notification group for the Container App | `bool` | n/a | yes | | [environment](#input\_environment) | Environment name. Will be used along with `project_name` as a prefix for all resources. | `string` | n/a | yes | | [eventhub\_export\_log\_analytics\_table\_names](#input\_eventhub\_export\_log\_analytics\_table\_names) | List of Log Analytics table names that you want to export to Event Hub | `list(string)` | `[]` | no | diff --git a/terraform/variables.tf b/terraform/variables.tf index e26412e59..37aa1bb29 100644 --- a/terraform/variables.tf +++ b/terraform/variables.tf @@ -183,11 +183,13 @@ variable "existing_network_watcher_resource_group_name" { variable "enable_event_hub" { description = "Send Azure Container App logs to an Event Hub sink" type = bool + default = false } variable "enable_logstash_consumer" { description = "Create an Event Hub consumer group for Logstash" type = bool + default = false } variable "eventhub_export_log_analytics_table_names" {