@@ -31,7 +31,7 @@ func TestAccIBMPISPPPlacementGroupBasic(t *testing.T) {
3131 CheckDestroy : testAccCheckIBMPISPPPlacementGroupDestroy ,
3232 Steps : []resource.TestStep {
3333 {
34- Config : testAccCheckIBMPICreateSAPInstanceWithSPP (name , policy , "tinytest-1x4" ),
34+ Config : testAccCheckIBMPICreateSAPInstanceWithSPP (name , policy ),
3535 ExpectError : regexp .MustCompile ("\" pi_shared_processor_pool\" : conflicts with pi_sap_profile_id" ),
3636 },
3737 {
@@ -583,7 +583,7 @@ func testAccCheckIBMPICreateInstanceWithSPP(name string, policy string) string {
583583 }` , acc .Pi_cloud_instance_id , name , policy , acc .Pi_image , acc .Pi_network_name )
584584}
585585
586- func testAccCheckIBMPICreateSAPInstanceWithSPP (name string , policy string , sapProfile string ) string {
586+ func testAccCheckIBMPICreateSAPInstanceWithSPP (name string , policy string ) string {
587587 return fmt .Sprintf (`
588588 resource "ibm_pi_shared_processor_pool" "spp_pool" {
589589 pi_cloud_instance_id = "%[1]s"
@@ -654,5 +654,5 @@ func testAccCheckIBMPICreateSAPInstanceWithSPP(name string, policy string, sapPr
654654 }
655655 pi_health_status = "OK"
656656 pi_shared_processor_pool = ibm_pi_shared_processor_pool.spp_pool_2.pi_shared_processor_pool_name
657- }` , acc .Pi_cloud_instance_id , name , policy , acc .Pi_image , acc .Pi_network_name , acc .Pi_sap_image , sapProfile )
657+ }` , acc .Pi_cloud_instance_id , name , policy , acc .Pi_image , acc .Pi_network_name , acc .Pi_sap_image , acc . PiSAPProfileID )
658658}
0 commit comments