From 2484dfa5b5258705d29bfe5be49304b19ba9abdd Mon Sep 17 00:00:00 2001 From: Nicolas De Loof Date: Thu, 4 Feb 2021 08:02:22 +0100 Subject: [PATCH] clearer error message and fix typo Signed-off-by: Nicolas De Loof --- ecs/sdk.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ecs/sdk.go b/ecs/sdk.go index 71d6c62f..34ba88be 100644 --- a/ecs/sdk.go +++ b/ecs/sdk.go @@ -173,7 +173,7 @@ func (s sdk) GetDefaultVPC(ctx context.Context) (string, error) { return "", err } if len(vpcs.Vpcs) == 0 { - return "", fmt.Errorf("account has not default VPC") + return "", fmt.Errorf("account has no default VPC. Set VPC to deploy to using 'x-aws-vpc'") } return *vpcs.Vpcs[0].VpcId, nil }