Azure/terraform-azurerm-network-security-group

Attaching NSG to specified vnets?

assareh opened this issue · 1 comments

The documentation states "This Terraform module deploys a Network Security Group (NSG) in Azure and optionally attach it to the specified vnets."

I do not see a way to specify a vnet. This functionality doesn't seem to be implemented in the module.

@assareh, Thanks for opening this issue.
The module has predefined rules for azurerm_network_security_group. Please take a look at the examples in package: https://github.com/Azure/terraform-azurerm-network-security-group/tree/master/modules