If the containers section is inputed as an object instead of an array the error should be caught (line 130 is probably already doing this) and probably returned before checking the containers section on line 139 Or else an unhelp error message like this is returned:
$> handel check
info: Executing Check phase in environment 'dev'
error: Error occurred during check: Cannot read property 'filter' of undefined
If the containers section is inputed as an object instead of an array the error should be caught (line 130 is probably already doing this) and probably returned before checking the containers section on line 139 Or else an unhelp error message like this is returned:
https://github.com/byu-oit/handel/blob/ececbcfd67ef743fc176f55c91e7640d8444e302/handel/src/services/ecs-fargate/index.ts#L130-L141