Terraform azure Function App with Enable network injection

Viewed 190

I need help with this issue,

I need to configurate in terraform this option:

enter image description here

but I don't know how I can do it

1 Answers

The resource app_service_virtual_network_swift_connection can be used to configure the network injection:

resource "azurerm_app_service_virtual_network_swift_connection" "example" {
  app_service_id = azurerm_app_service.example.id
  subnet_id      = azurerm_subnet.example.id
}
Related