network-security-group

devops-workflow/network-security-group/azurerm

Terraform Module HCL AZURERM

Terraform module to create a network security group and assign it to the specified subnet

Install
module "network-security-group" {
source = "devops-workflow/network-security-group/azurerm"
version = "1.1.2"
}
plain text: /constructs/tfmod-devops-workflow-network-security-group-azurerm/install.txt
⭐ Source on GitHub 📦 Registry page
README

terraform-azurerm-network-security-group ![Build Status](https://travis-ci.org/Azure/terraform-azurerm-network-security-group) Create a network security group This Terraform module deploys a Network Security Group (NSG) in Azure and optionally attach it to the specified vnets. This module is a complement to the Azure Network module. Use the network_security_group_id from the output of this module to apply it to a subnet in the Azure Network module. NOTE: We are working on adding the support for applying a NSG to a network interface directly as a future enhancement. This module includes a a set of pre-defined rules for commonly used protocols (for example HTTP or ActiveDirectory) that can be used directly in their corresponding modules or as independent rules. Usage with the generic module

Inputs (10)
NameTypeDescriptionDefault
locationany required
source_address_prefixany[ "*" ]
destination_address_prefixany[ "*" ]
tagsanyThe tags to associate with your network security group.{}
resource_group_nameanyName of the resource group"nsg_rg"
rg_createanyCreate a resource group: true/false"false"
security_group_nameanyNetwork security group name"nsg"
predefined_rulesany[]
custom_rulesanySecurity rules for the network security group using this format name = [priority[]
rulesanyStandard set of predefined rules{ "ActiveDirectory-AllowADDSWebService
Outputs (2)
network_security_group_id
network_security_group_name
Resources (3)
azurerm_network_security_groupazurerm_network_security_ruleazurerm_resource_group
Details
FrameworkTerraform Module
LanguageHCL
Version1.1.2
Cloud AZURERM
★ Stars0
Forks2
Total downloads5.7k
Inputs10
Outputs2
Resources3
Submodules36
LicenseMIT
Namespacedevops-workflow
Updated