diff --git a/azurerm/resource_arm_app_service_virtual_network_connection_test.go b/azurerm/resource_arm_app_service_virtual_network_connection_test.go index fd084b92e8370..643331f3f1429 100644 --- a/azurerm/resource_arm_app_service_virtual_network_connection_test.go +++ b/azurerm/resource_arm_app_service_virtual_network_connection_test.go @@ -24,7 +24,6 @@ func TestAccAzureRMAppServiceVirtualNetworkConnection_basic(t *testing.T) { testCheckAzureRMAppServiceExists(resourceName), resource.TestCheckResourceAttrSet(resourceName, "name"), resource.TestCheckResourceAttrSet(resourceName, "id"), - resource.TestCheckResourceAttrSet(resourceName, "type"), resource.TestCheckResourceAttrSet(resourceName, "certificate_blob"), resource.TestCheckResourceAttrSet(resourceName, "certificate_thumbprint"), ), diff --git a/website/docs/r/app_service_virtual_network_connection.html.markdown b/website/docs/r/app_service_virtual_network_connection.html.markdown index 0b754035c07cb..640548db1a9e1 100644 --- a/website/docs/r/app_service_virtual_network_connection.html.markdown +++ b/website/docs/r/app_service_virtual_network_connection.html.markdown @@ -86,6 +86,11 @@ resource "azurerm_app_service_virtual_network_connection" "example" { app_service_name = "${azurerm_app_service.example.name}" resource_group_name = "${azurerm_resource_group.example.name}" virtual_network_id = "${azurerm_virtual_network.example.id}" + + depends_on = [ + azurerm_virtual_network_gateway.example, + azurerm_app_service.example + ] } ```