diff --git a/README.md b/README.md index af118ce..366a02a 100644 --- a/README.md +++ b/README.md @@ -126,7 +126,7 @@ No modules. | network\_security\_group\_name | The Network Security Group name to associate with the subnets. | `string` | `null` | no | | network\_security\_group\_rg | The Network Security Group RG to associate with the subnet. Default is the same RG than the subnet. | `string` | `null` | no | | private\_endpoint\_network\_policies | Enable or disable network policies for the private endpoint on the subnet. Possible values are `Disabled`, `Enabled`, `NetworkSecurityGroupEnabled` and `RouteTableEnabled`. | `string` | `null` | no | -| private\_link\_endpoint\_enabled | Enable or disable network policies for the Private Endpoint on the subnet. | `bool` | `null` | no | +| private\_link\_endpoint\_enabled | Enable or disable network policies for the Private Endpoint on the subnet. | `bool` | `true` | no | | private\_link\_service\_enabled | Enable or disable network policies for the Private Link Service on the subnet. | `bool` | `null` | no | | resource\_group\_name | Resource group name. | `string` | n/a | yes | | route\_table\_name | The Route Table name to associate with the subnet. | `string` | `null` | no | diff --git a/variables-subnet.tf b/variables-subnet.tf index 65bb1f7..4197fa6 100644 --- a/variables-subnet.tf +++ b/variables-subnet.tf @@ -47,7 +47,7 @@ variable "service_endpoint_policy_ids" { variable "private_link_endpoint_enabled" { description = "Enable or disable network policies for the Private Endpoint on the subnet." type = bool - default = null + default = true } variable "private_endpoint_network_policies" {