@@ -178,7 +178,7 @@ func TestAccODBCloudAutonomousVmCluster_disappears(t *testing.T) {
178178 CheckDestroy : autonomousVMClusterResourceTestEntity .testAccCheckCloudAutonomousVmClusterDestroy (ctx ),
179179 Steps : []resource.TestStep {
180180 {
181- Config : autonomousVMClusterResourceTestEntity .avmcBasic_hardCoded (),
181+ Config : autonomousVMClusterResourceTestEntity .avmcBasic (),
182182 Check : resource .ComposeAggregateTestCheckFunc (
183183 autonomousVMClusterResourceTestEntity .checkCloudAutonomousVmClusterExists (ctx , resourceName , & cloudautonomousvmcluster ),
184184 acctest .CheckFrameworkResourceDisappears (ctx , acctest .Provider , tfodb .ResourceCloudAutonomousVMCluster , resourceName ),
@@ -493,41 +493,3 @@ func (autonomousVMClusterResourceTest) odbNetwork(odbNetDisplayName string) stri
493493` , odbNetDisplayName )
494494
495495}
496-
497- func (autonomousVMClusterResourceTest ) avmcBasic_hardCoded () string {
498-
499- avmcDisplayName := sdkacctest .RandomWithPrefix (autonomousVMClusterDSTestEntity .autonomousVmClusterDisplayNamePrefix )
500-
501- exaInfraRes := "exa_ji5quxxzn9"
502- odbNetRes := "odbnet_x37lc7bf7a"
503-
504- res := fmt .Sprintf (`
505-
506-
507- resource "aws_odb_cloud_autonomous_vm_cluster" "test" {
508- cloud_exadata_infrastructure_id = %[1]q
509- odb_network_id = %[2]q
510- display_name = %[3]q
511- autonomous_data_storage_size_in_tbs = 5
512- memory_per_oracle_compute_unit_in_gbs = 2
513- total_container_databases = 1
514- cpu_core_count_per_node = 40
515- license_model = "LICENSE_INCLUDED"
516- db_servers = [ "dbs_7ecm4wbjxy","dbs_uy5wmaqk6s"]
517- scan_listener_port_tls = 8561
518- scan_listener_port_non_tls = 1024
519- maintenance_window = {
520- preference = "NO_PREFERENCE"
521- days_of_week = []
522- hours_of_day = []
523- months = []
524- weeks_of_month =[]
525- lead_time_in_weeks = 0
526- }
527-
528- }
529-
530- ` , exaInfraRes , odbNetRes , avmcDisplayName )
531-
532- return res
533- }
0 commit comments