@@ -201,14 +201,11 @@ func TestFullyConfigurable(t *testing.T) {
201201 require .True (t , present , checkVariable + " environment variable not set" )
202202 require .NotEqual (t , "" , val , checkVariable + " environment variable is empty" )
203203
204- // Programmatically determine region to use based on availability
205- region , _ := testhelper .GetBestVpcRegion (val , "../common-dev-assets/common-go-assets/cloudinfo-region-vpc-gen2-prefs.yaml" , "eu-de" )
206-
207204 prefix := "vpc-da"
208205
209206 options := testschematic .TestSchematicOptionsDefault (& testschematic.TestSchematicOptions {
210207 Testing : t ,
211- Region : region ,
208+ Region : "eu-de" ,
212209 Prefix : prefix ,
213210 TarIncludePatterns : []string {
214211 "*.tf" ,
@@ -248,6 +245,7 @@ func TestFullyConfigurableWithFlowLogs(t *testing.T) {
248245
249246 options := testschematic .TestSchematicOptionsDefault (& testschematic.TestSchematicOptions {
250247 Testing : t ,
248+ Region : "eu-de" , // Hardcoding region to avoid jp-osa, as jp-osa does not support COS association with HPCS.
251249 Prefix : prefix ,
252250 TarIncludePatterns : []string {
253251 "*.tf" ,
@@ -288,14 +286,11 @@ func TestRunUpgradeFullyConfigurable(t *testing.T) {
288286 require .True (t , present , checkVariable + " environment variable not set" )
289287 require .NotEqual (t , "" , val , checkVariable + " environment variable is empty" )
290288
291- // Programmatically determine region to use based on availability
292- region , _ := testhelper .GetBestVpcRegion (val , "../common-dev-assets/common-go-assets/cloudinfo-region-vpc-gen2-prefs.yaml" , "eu-de" )
293-
294289 prefix := "vpc-upg"
295290
296291 options := testschematic .TestSchematicOptionsDefault (& testschematic.TestSchematicOptions {
297292 Testing : t ,
298- Region : region ,
293+ Region : "eu-de" , // Hardcoding region to avoid jp-osa, as jp-osa does not support COS association with HPCS.
299294 Prefix : prefix ,
300295 TarIncludePatterns : []string {
301296 "*.tf" ,
0 commit comments