network-security-group
Azure/network-security-group/azurerm
Terraform module to create a network security group and assign it to the specified subnet
terraform-azurerm-network-security-group Notice on Upgrade to V4.x We've added a CI pipeline for this module to speed up our code review and to enforce a high code quality standard, if you want to contribute by submitting a pull request, please read Pre-Commit & Pr-Check & Test section, or your pull request might be rejected by CI pipeline. A pull request will be reviewed when it has passed Pre Pull Request Check in the pipeline, and will be merged when it has passed the acceptance tests. Once the CI pipeline failed, please read the pipeline's output, thanks for your cooperation. V4.0.0 is a major version upgrade. Extreme caution must be taken during the upgrade to avoid resource replacement and downtime by accident. Running terraform plan first to inspect the plan is strongly advised. Ter
| Name | Type | Description | Default |
|---|---|---|---|
| resource_group_name | string | Name of the resource group | required |
| destination_address_prefixes | list(string) | Destination address prefix to be applied to all predefined rules. Example ["10.0 | null |
| security_group_name | string | Network security group name | "nsg" |
| source_address_prefix | list(string) | Source address prefix to be applied to all predefined rules. list(string) only a | [
"*"
] |
| source_address_prefixes | list(string) | Destination address prefix to be applied to all predefined rules. Example ["10.0 | null |
| tags | map(string) | The tags to associate with your network security group. | {} |
| destination_address_prefix | list(string) | Destination address prefix to be applied to all predefined rules. list(string) o | [
"*"
] |
| predefined_rules | any | Predefined rules | [] |
| rules | map(any) | Standard set of predefined rules | {
"ActiveDirectory-AllowADDSWebService |
| use_for_each | bool | Choose wheter to use 'for_each' as iteration technic to generate the rules, defa | false |
| custom_rules | any | Security rules for the network security group using this format name = [name, pr | [] |
| location | string | Location (Azure Region) for the network security group. | "" |
network_security_group_name — The name of newly created network security groupnetwork_security_group_id — The id of newly created network security group