Skip to content

Terraform module creates Azure Subnet network security group association

License

Notifications You must be signed in to change notification settings

sironite/terraform-azurerm-subnet_network_security_group_association

Repository files navigation

Azure subnet network security group association

Changelog Notice Apache V2 License TF Registry

Usage - Module

module "subnet_network_security_group_association" {
  source  = "sironite/subnet_network_security_group_association/azurerm"
  version = "x.x.x"


  network_security_group_id = var.network_security_group_id
  subnet_id                 = var.subnet_id
}

Providers

Name Version
azurerm n/a

Modules

No modules.

Resources

Name Type
azurerm_subnet_network_security_group_association.this resource

Inputs

Name Description Type Required
network_security_group_id The ID of the Network Security Group which should be associated with the Subnet. Changing this forces a new resource to be created. string yes
subnet_id The ID of the Subnet. Changing this forces a new resource to be created. string yes

Outputs

Name Description
azurerm_subnet_network_security_group_association_id The ID of the Subnet.

Related documentation