Skip to content

Commit

Permalink
postgresql vnet rule - default IgnoreMissingVnetServiceEndpoint to …
Browse files Browse the repository at this point in the history
…false, remove from read.
  • Loading branch information
ac-astuartkregor committed Aug 30, 2018
1 parent e32e5c5 commit caf3cdb
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions azurerm/resource_arm_postgresql_virtual_network_rule.go
Original file line number Diff line number Diff line change
Expand Up @@ -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),
},
}

Expand Down Expand Up @@ -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
Expand Down

0 comments on commit caf3cdb

Please sign in to comment.