Skip to content
This repository was archived by the owner on Nov 27, 2023. It is now read-only.

Commit 2484dfa

Browse files
committed
clearer error message and fix typo
Signed-off-by: Nicolas De Loof <[email protected]>
1 parent 74107bf commit 2484dfa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ecs/sdk.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -173,7 +173,7 @@ func (s sdk) GetDefaultVPC(ctx context.Context) (string, error) {
173173
return "", err
174174
}
175175
if len(vpcs.Vpcs) == 0 {
176-
return "", fmt.Errorf("account has not default VPC")
176+
return "", fmt.Errorf("account has no default VPC. Set VPC to deploy to using 'x-aws-vpc'")
177177
}
178178
return *vpcs.Vpcs[0].VpcId, nil
179179
}

0 commit comments

Comments
 (0)