diff --git a/README.md b/README.md index 220507d..9edbe99 100644 --- a/README.md +++ b/README.md @@ -26,7 +26,7 @@ No requirements. | Name | Description | Type | Default | Required | |------|-------------|------|---------|:--------:| -| [connection\_configuration](#input\_connection\_configuration) | (Required) A connection\_configuration block as defined below. | `object({})` | n/a | yes | +| [connection\_configuration](#input\_connection\_configuration) | (Required) A connection\_configuration block as defined below. |
object({
name = string
vpn_client_address_pool = object({
address_prefixes = list(string)
})
route = optional(object({
associated_route_table_id = string
inbound_route_map_id = string
outbound_route_map_id = string
propagated_route_table = optional(object({
ids = list(string)
labels = optional(list(string))
}))
}))
internet_security_enabled = optional(bool)
})
| n/a | yes | | [deploy\_resource\_group](#input\_deploy\_resource\_group) | (Optional) Specifies whether to deploy the resource group or not. Defaults to true. | `bool` | `true` | no | | [dns\_servers](#input\_dns\_servers) | (Optional) A list of IP Addresses of DNS Servers for the Point-to-Site VPN Gateway. | `list(string)` | `null` | no | | [location](#input\_location) | (Required) Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created. | `string` | n/a | yes | diff --git a/variables.tf b/variables.tf index 8712ad3..6d84625 100644 --- a/variables.tf +++ b/variables.tf @@ -20,7 +20,22 @@ variable "location" { } variable "connection_configuration" { - type = object({}) + type = object({ + name = string + vpn_client_address_pool = object({ + address_prefixes = list(string) + }) + route = optional(object({ + associated_route_table_id = string + inbound_route_map_id = string + outbound_route_map_id = string + propagated_route_table = optional(object({ + ids = list(string) + labels = optional(list(string)) + })) + })) + internet_security_enabled = optional(bool) + }) description = "(Required) A connection_configuration block as defined below." }