Skip to content

Commit

Permalink
Update resource_alloydb_instance_test.go
Browse files Browse the repository at this point in the history
  • Loading branch information
vmiglani authored Feb 27, 2025
1 parent f80ae7f commit b89ff42
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -831,10 +831,10 @@ data "google_project" "project" {}
func TestAccAlloydbInstance_createInstanceWithPscInterfaceConfigs(t *testing.T) {
t.Parallel()

random_suffix := acctest.RandString(t, 10)
networkName := acctest.BootstrapSharedTestNetwork(t, "tf-test-alloydb-network")
subnetworkName := acctest.BootstrapSubnet(t, "tf-test-alloydb-subnetwork", networkName)


random_suffix := acctest.RandString(t, 10)
context := map[string]interface{}{
"random_suffix": random_suffix,
"networkAttachmentName": acctest.BootstrapNetworkAttachment(t, "tf-test-alloydb-na", subnetworkName),
Expand Down Expand Up @@ -884,11 +884,11 @@ data "google_project" "project" {}

func TestAccAlloydbInstance_updateInstanceWithPscInterfaceConfigs(t *testing.T) {
t.Parallel()

random_suffix := acctest.RandString(t, 10)

networkName := acctest.BootstrapSharedTestNetwork(t, "tf-test-alloydb-network")
subnetworkName := acctest.BootstrapSubnet(t, "tf-test-alloydb-subnetwork", networkName)

random_suffix := acctest.RandString(t, 10)
context := map[string]interface{}{
"random_suffix": random_suffix,
"networkAttachmentName": acctest.BootstrapNetworkAttachment(t, "tf-test-alloydb-na", subnetworkName),
Expand Down

0 comments on commit b89ff42

Please sign in to comment.