configValidationMode not work

When I add to my *.yaml config file

...
configValidationMode: error
...

I expected that when *.env file is missing some variable the command like

sls deploy

command will not be executed with some logs like

Hey, you are missing some variable!

my env:

Framework Core: 2.11.1 (local)
Plugin: 4.1.2
SDK: 2.3.2
Components: 3.3.1

my conf *.yaml for example:

service: cognitotriggers

plugins:
  - serverless-webpack
  - serverless-plugin-aws-alerts

provider:
  name: aws
  endpointType: REGIONAL
  runtime: nodejs12.x
  region: us-east-2
  stage: ${opt:stage, 'dev'}
  environment:
    USER_POOL_ID: ${env:USER_POOL_ID}
  iamRoleStatements:
    - Effect: Allow
      Action:
        - s3:ListBucket
        - s3:GetObject
      Resource:
        - "arn:aws:s3:::some-s3-bucket

functions:
  presignup:
    handler: presignup.handler
    timeout: 10
    events:
      - cognitoUserPool:
          pool: ${self:custom.userPoolName}
          trigger: PreSignUp
          existing: true
  preauth:
    handler: preauth.handler
    timeout: 10
    events:
      - cognitoUserPool:
          pool: ${self:custom.userPoolName}
          trigger: PreAuthentication
          existing: true
  cognitoCustomMessage:
    handler: cognitocustommessage.handler
    timeout: 5
    events:
      - cognitoUserPool:
          pool: ${self:custom.userPoolName}
          trigger: CustomMessage
          existing: true
    environment:
      REDIRECT_URL: ${env:REDIRECT_URL}
      CONFIRM_URL: ${env:CONFIRM_URL}

configValidationMode: error

custom:
  accountId: "${env:AWS_ACCOUNT_ID}"
  userPoolName: "${env:userPoolName}"
  webpack: ${file(../../serverless/globals.yml):webpack}
  alerts: ${file(../../serverless/globals.yml):alerts}