@@ -34,6 +34,7 @@ func TestAccOracleDatabaseAutonomousDatabase_oracledatabaseAutonomousDatabaseBas
3434 t .Parallel ()
3535
3636 context := map [string ]interface {}{
37+ "database_name" : fmt .Sprintf ("tftestdatabase%s" , acctest .RandString (t , 10 )),
3738 "deletion_protection" : false ,
3839 "project" : "oci-terraform-testing" ,
3940 "random_suffix" : acctest .RandString (t , 10 ),
@@ -63,7 +64,7 @@ resource "google_oracle_database_autonomous_database" "myADB"{
6364 autonomous_database_id = "tf-test-my-instance%{random_suffix}"
6465 location = "us-east4"
6566 project = "%{project}"
66- database = "testdb "
67+ database = "%{database_name} "
6768 admin_password = "123Abpassword"
6869 network = data.google_compute_network.default.id
6970 cidr = "10.5.0.0/24"
@@ -88,6 +89,7 @@ func TestAccOracleDatabaseAutonomousDatabase_oracledatabaseAutonomousDatabaseFul
8889 t .Parallel ()
8990
9091 context := map [string ]interface {}{
92+ "database_name" : fmt .Sprintf ("tftestdatabase%s" , acctest .RandString (t , 10 )),
9193 "deletion_protection" : false ,
9294 "project" : "oci-terraform-testing" ,
9395 "random_suffix" : acctest .RandString (t , 10 ),
@@ -118,7 +120,7 @@ resource "google_oracle_database_autonomous_database" "myADB"{
118120 location = "us-east4"
119121 project = "%{project}"
120122 display_name = "autonomousDatabase displayname"
121- database = "testdatabase "
123+ database = "%{database_name} "
122124 admin_password = "123Abpassword"
123125 network = data.google_compute_network.default.id
124126 cidr = "10.5.0.0/24"
0 commit comments