From f3062a83d2050ef4d695312c36408703525730f9 Mon Sep 17 00:00:00 2001 From: Matthew Wong Date: Wed, 3 Feb 2021 12:54:32 -0800 Subject: [PATCH] Warn instead of erroring if --gce-zone is not passed to e2e.test when --provider=aws --- test/e2e/framework/providers/aws/aws.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/e2e/framework/providers/aws/aws.go b/test/e2e/framework/providers/aws/aws.go index dd34f84fbfa..e5291115c3d 100644 --- a/test/e2e/framework/providers/aws/aws.go +++ b/test/e2e/framework/providers/aws/aws.go @@ -38,7 +38,7 @@ func init() { func newProvider() (framework.ProviderInterface, error) { if framework.TestContext.CloudConfig.Zone == "" { - return nil, fmt.Errorf("gce-zone must be specified for AWS") + framework.Logf("Warning: gce-zone not specified! Some tests that use the AWS SDK may select the wrong region and fail.") } return &Provider{}, nil }