Skip to content

Commit

Permalink
Revert "Add EnablePrivatePathForGoogleCloudServices to ForceSendFields (
Browse files Browse the repository at this point in the history
  • Loading branch information
trodge authored and ericayyliu committed Jul 26, 2023
1 parent 680b738 commit 9bbc3ad
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 10 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1262,7 +1262,7 @@ func expandIpConfiguration(configured []interface{}) *sqladmin.IpConfiguration {
AllocatedIpRange: _ipConfiguration["allocated_ip_range"].(string),
AuthorizedNetworks: expandAuthorizedNetworks(_ipConfiguration["authorized_networks"].(*schema.Set).List()),
EnablePrivatePathForGoogleCloudServices: _ipConfiguration["enable_private_path_for_google_cloud_services"].(bool),
ForceSendFields: []string{"Ipv4Enabled", "RequireSsl", "EnablePrivatePathForGoogleCloudServices"},
ForceSendFields: []string{"Ipv4Enabled", "RequireSsl"},
}
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -800,15 +800,6 @@ func TestAccSqlDatabaseInstance_withPrivateNetwork_withoutAllocatedIpRange(t *te
ImportStateVerify: true,
ImportStateVerifyIgnore: []string{"deletion_protection"},
},
{
Config: testAccSqlDatabaseInstance_withPrivateNetwork_withoutAllocatedIpRange(databaseName, networkName, addressName, true, false),
},
{
ResourceName: "google_sql_database_instance.instance",
ImportState: true,
ImportStateVerify: true,
ImportStateVerifyIgnore: []string{"deletion_protection"},
},
},
})
}
Expand Down

0 comments on commit 9bbc3ad

Please sign in to comment.