Skip to content

Commit c88a239

Browse files
committed
Nitpicking changes
1 parent 4ec6950 commit c88a239

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

mmv1/third_party/terraform/services/sql/resource_sql_database_instance_test.go.tmpl

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1738,7 +1738,6 @@ func TestAccSqlDatabaseInstance_crossProjectClone(t *testing.T) {
17381738
acctest.VcrTest(t, resource.TestCase{
17391739
PreCheck: func() { acctest.AccTestPreCheck(t) },
17401740
ProtoV5ProviderFactories: acctest.ProtoV5ProviderFactories(t),
1741-
CheckDestroy: testAccSqlDatabaseInstanceDestroyProducer(t, cloneDestinationProject),
17421741
Steps: []resource.TestStep{
17431742
{
17441743
Config: testAccSqlDatabaseInstance_crossProjectClone(context),
@@ -8309,7 +8308,7 @@ func testAccSqlDatabaseInstance_crossProjectClone(context map[string]interface{}
83098308
project_id = "%{cloneDestinationProject}"
83108309
}
83118310
resource "google_sql_database_instance" "instance" {
8312-
name = "clone-cpc-testing-via-acc-tests"
8311+
name = "tf-cpc-test-%{random_suffix}"
83138312
database_version = "POSTGRES_11"
83148313
region = "us-central1"
83158314
project = "${data.google_project.destination_project.project_id}"
@@ -8327,10 +8326,8 @@ func testAccSqlDatabaseInstance_crossProjectClone(context map[string]interface{}
83278326
}
83288327
83298328
clone {
8330-
//source_project = data.google_project.sourceProject
8331-
source_project = "sdeekshaa-playground"
8329+
source_project = "${data.google_project.source_project.project_id}"
83328330
source_instance_name = data.google_sql_backup_run.backup.instance
8333-
//source_instance_name = resource.google_sql_database_instance.source_instance.name
83348331
}
83358332
83368333
deletion_protection = false

0 commit comments

Comments
 (0)