diff --git a/terraform/README.md b/terraform/README.md index 5668f548..1d579ad0 100644 --- a/terraform/README.md +++ b/terraform/README.md @@ -90,7 +90,7 @@ internal_prefix = "10.0.3.0/24" | Name | Version | |------|---------| -| terraform | >= 1.6.0 | +| terraform | 1.6.4 | | azurerm | 3.81.0 | | http | 3.4.0 | | random | 3.5.1 | diff --git a/terraform/subnet.tf b/terraform/subnet.tf index e6eb74fd..2d3f20d2 100644 --- a/terraform/subnet.tf +++ b/terraform/subnet.tf @@ -25,6 +25,7 @@ resource "azurerm_network_security_group" "private_nsg" { destination_address_prefix = "*" } } + resource "azurerm_subnet_network_security_group_association" "external_subnet_association" { subnet_id = azurerm_subnet.external_subnet.id network_security_group_id = azurerm_network_security_group.private_nsg.id