network-security-group
devops-workflow/network-security-group/azurerm
Terraform module to create a network security group and assign it to the specified subnet
Install
README
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)
| Name | Type | Description | Default |
|---|---|---|---|
| location | any | required | |
| source_address_prefix | any | [
"*"
] | |
| destination_address_prefix | any | [
"*"
] | |
| tags | any | The tags to associate with your network security group. | {} |
| resource_group_name | any | Name of the resource group | "nsg_rg" |
| rg_create | any | Create a resource group: true/false | "false" |
| security_group_name | any | Network security group name | "nsg" |
| predefined_rules | any | [] | |
| custom_rules | any | Security rules for the network security group using this format name = [priority | [] |
| rules | any | Standard set of predefined rules | {
"ActiveDirectory-AllowADDSWebService |
Outputs (2)
network_security_group_idnetwork_security_group_nameResources (3)
Topics & Tags
Details
Similar packages
Azure landing zones Terraform module
Terraform supermodule for the Terraform platform engineering for Azure
Terraform module to deploy landing zone subscriptions (and much more) in Azure
Terraform Module to define a consistent naming convention by (namespace, stage,