From caf3cdb9986dfa290704f922554513935e53ac67 Mon Sep 17 00:00:00 2001 From: Alexander Stuart-Kregor Date: Thu, 30 Aug 2018 15:05:09 +0100 Subject: [PATCH] postgresql vnet rule - default `IgnoreMissingVnetServiceEndpoint` to false, remove from read. --- azurerm/resource_arm_postgresql_virtual_network_rule.go | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/azurerm/resource_arm_postgresql_virtual_network_rule.go b/azurerm/resource_arm_postgresql_virtual_network_rule.go index 85e0db8cacb5..5e632987c573 100644 --- a/azurerm/resource_arm_postgresql_virtual_network_rule.go +++ b/azurerm/resource_arm_postgresql_virtual_network_rule.go @@ -64,7 +64,7 @@ func resourceArmPostgreSQLVirtualNetworkRuleCreateUpdate(d *schema.ResourceData, parameters := postgresql.VirtualNetworkRule{ VirtualNetworkRuleProperties: &postgresql.VirtualNetworkRuleProperties{ VirtualNetworkSubnetID: utils.String(virtualNetworkSubnetId), - IgnoreMissingVnetServiceEndpoint: utils.Bool(true), + IgnoreMissingVnetServiceEndpoint: utils.Bool(false), }, } @@ -128,7 +128,6 @@ func resourceArmPostgreSQLVirtualNetworkRuleRead(d *schema.ResourceData, meta in if props := resp.VirtualNetworkRuleProperties; props != nil { d.Set("subnet_id", props.VirtualNetworkSubnetID) - d.Set("ignore_missing_vnet_service_endpoint", props.IgnoreMissingVnetServiceEndpoint) } return nil