diff --git a/README.md b/README.md index c002d96..af118ce 100644 --- a/README.md +++ b/README.md @@ -47,17 +47,17 @@ module "route_table" { resource_group_name = module.rg.name } -module "network_security_group" { - source = "claranet/nsg/azurerm" - version = "x.x.x" - - client_name = var.client_name - environment = var.environment - location = module.azure_region.location - location_short = module.azure_region.location_short - stack = var.stack - resource_group_name = module.rg.name -} +# module "network_security_group" { +# source = "claranet/nsg/azurerm" +# version = "x.x.x" + +# client_name = var.client_name +# environment = var.environment +# location = module.azure_region.location +# location_short = module.azure_region.location_short +# stack = var.stack +# resource_group_name = module.rg.name +# } module "subnet" { source = "claranet/subnet/azurerm" @@ -83,7 +83,7 @@ module "subnet" { route_table_name = module.route_table.name - network_security_group_name = module.network_security_group.name + # network_security_group_name = module.network_security_group.name service_endpoints = ["Microsoft.Storage", "Microsoft.KeyVault", "Microsoft.ServiceBus", "Microsoft.Web"] } @@ -125,7 +125,7 @@ No modules. | name\_suffix | Optional suffix for the generated name. | `string` | `""` | no | | 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\_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\_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 | diff --git a/examples/main/modules.tf b/examples/main/modules.tf index adc5898..ae81143 100644 --- a/examples/main/modules.tf +++ b/examples/main/modules.tf @@ -10,17 +10,17 @@ module "route_table" { resource_group_name = module.rg.name } -module "network_security_group" { - source = "claranet/nsg/azurerm" - version = "x.x.x" - - client_name = var.client_name - environment = var.environment - location = module.azure_region.location - location_short = module.azure_region.location_short - stack = var.stack - resource_group_name = module.rg.name -} +# module "network_security_group" { +# source = "claranet/nsg/azurerm" +# version = "x.x.x" + +# client_name = var.client_name +# environment = var.environment +# location = module.azure_region.location +# location_short = module.azure_region.location_short +# stack = var.stack +# resource_group_name = module.rg.name +# } module "subnet" { source = "claranet/subnet/azurerm" @@ -46,7 +46,7 @@ module "subnet" { route_table_name = module.route_table.name - network_security_group_name = module.network_security_group.name + # network_security_group_name = module.network_security_group.name service_endpoints = ["Microsoft.Storage", "Microsoft.KeyVault", "Microsoft.ServiceBus", "Microsoft.Web"] } diff --git a/outputs.tf b/outputs.tf index 98a2a0a..07ecdc1 100644 --- a/outputs.tf +++ b/outputs.tf @@ -43,7 +43,6 @@ output "nsg_association_id" { output "rt_association" { description = "Subnet route table association resource object." value = one(azurerm_subnet_route_table_association.main[*]) - } output "rt_association_id" { diff --git a/variables-subnet.tf b/variables-subnet.tf index 35bf06d..65bb1f7 100644 --- a/variables-subnet.tf +++ b/variables-subnet.tf @@ -51,7 +51,7 @@ variable "private_link_endpoint_enabled" { } variable "private_endpoint_network_policies" { - description = "Enable or Disable network policies for the private endpoint on the subnet. Possible values are `Disabled`, `Enabled`, `NetworkSecurityGroupEnabled` and `RouteTableEnabled`." + description = "Enable or disable network policies for the private endpoint on the subnet. Possible values are `Disabled`, `Enabled`, `NetworkSecurityGroupEnabled` and `RouteTableEnabled`." type = string default = null }