@@ -89,7 +89,7 @@ func TestInstancesInSchematics(t *testing.T) {
8989
9090 options .TerraformVars = []testschematic.TestSchematicTerraformVar {
9191 {Name : "ibmcloud_api_key" , Value : options .RequiredEnvironmentVars ["TF_VAR_ibmcloud_api_key" ], DataType : "string" , Secure : true },
92- {Name : "resource_group_name" , Value : options . Prefix , DataType : "string" },
92+ {Name : "resource_group_name" , Value : resourceGroup , DataType : "string" },
9393 {Name : "existing_kms_instance_crn" , Value : permanentResources ["hpcs_south_crn" ], DataType : "string" },
9494 {Name : "cos_region" , Value : region , DataType : "string" },
9595 {Name : "cos_instance_tags" , Value : options .Tags , DataType : "list(string)" },
@@ -123,7 +123,7 @@ func TestRunUpgradeSolutionInstances(t *testing.T) {
123123
124124 options .TerraformVars = map [string ]interface {}{
125125 "prefix" : options .Prefix ,
126- "resource_group_name" : options . Prefix ,
126+ "resource_group_name" : resourceGroup ,
127127 "cos_instance_access_tags" : permanentResources ["accessTags" ],
128128 "existing_kms_instance_crn" : permanentResources ["hpcs_south_crn" ],
129129 "kms_endpoint_type" : "public" ,
@@ -313,7 +313,6 @@ func TestRunExistingResourcesInstancesSchematics(t *testing.T) {
313313 {Name : "region" , Value : region , DataType : "string" },
314314 {Name : "cos_region" , Value : region , DataType : "string" },
315315 {Name : "resource_group_name" , Value : terraform .Output (t , existingTerraformOptions , "resource_group_name" ), DataType : "string" },
316- {Name : "use_existing_resource_group" , Value : true , DataType : "bool" },
317316 {Name : "existing_cloud_logs_data_bucket_crn" , Value : terraform .Output (t , existingTerraformOptions , "data_bucket_crn" ), DataType : "string" },
318317 {Name : "existing_at_cos_target_bucket_name" , Value : terraform .Output (t , existingTerraformOptions , "bucket_name_at" ), DataType : "string" },
319318 {Name : "existing_at_cos_target_bucket_endpoint" , Value : terraform .Output (t , existingTerraformOptions , "bucket_endpoint_at" ), DataType : "string" },
@@ -357,7 +356,6 @@ func TestRunExistingResourcesInstancesSchematics(t *testing.T) {
357356 {Name : "cos_region" , Value : region , DataType : "string" },
358357 {Name : "prefix" , Value : options2 .Prefix , DataType : "string" },
359358 {Name : "resource_group_name" , Value : terraform .Output (t , existingTerraformOptions , "resource_group_name" ), DataType : "string" },
360- {Name : "use_existing_resource_group" , Value : true , DataType : "bool" },
361359 {Name : "kms_endpoint_type" , Value : "private" , DataType : "string" },
362360 {Name : "existing_cos_instance_crn" , Value : terraform .Output (t , existingTerraformOptions , "cos_crn" ), DataType : "string" },
363361 {Name : "management_endpoint_type_for_bucket" , Value : "private" , DataType : "string" },
0 commit comments