From bd27301269e99452701b943f1f160e9e2e86a56e Mon Sep 17 00:00:00 2001 From: Thierry Lei Date: Tue, 19 Nov 2024 14:56:21 +0100 Subject: [PATCH] fix(AZ-1481): fix `private_endpoint_network_policies` parameter --- README.md | 2 +- variables-subnet.tf | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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" {