diff --git a/builtin/providers/aws/resource_aws_route_table_test.go b/builtin/providers/aws/resource_aws_route_table_test.go index f43e22bde..17fd4087e 100644 --- a/builtin/providers/aws/resource_aws_route_table_test.go +++ b/builtin/providers/aws/resource_aws_route_table_test.go @@ -219,7 +219,7 @@ func TestAccAWSRouteTable_vpcPeering(t *testing.T) { var v ec2.RouteTable acctId := os.Getenv("TF_ACC_ID") - if acctId == "" { + if acctId == "" && os.Getenv(resource.TestEnvVar) != "" { t.Fatal("Error: Test TestAccAWSRouteTable_vpcPeering requires an Account ID in TF_ACC_ID ") }