Support for exposing default_outbound_access_enabled in subnet creation
### Is there an existing issue for this?
- [x] I have searched the existing issues
### Description
Currently the setting default_outbound_access_enabled is not exposed via the hubnetworking module, so this value cannot be changed. It is supported in the underlying module that this one uses.
It would be great if this could be exposed so this value can be toggled, rather than having to assign ILIP to management interfaces and/or using NAT gateways.
### New or Affected Resource(s)/Data Source(s)
subnets
### Potential Terraform Configuration
```hcl
subnets = {
fwmgmt = {
name = "snet-connectivity-fwmgmt-prd-uks"
address_prefixes = [local.uksouth_fwmgmt_subnet]
network_security_group = {
id = azurerm_network_security_group.uks["fwmgmt"].id
}
default_outbound_access_enabled = false
}
}
```
### References
https://registry.terraform.io/modules/Azure/avm-res-network-virtualnetwork/azurerm/latest/submodules/subnet
关闭于 2025-03-21 3 条评论