docstr: CLI handler for deploying new versions of Lambda functions
  
  Args:
      options (argparse.Namespace): Parsed argparse namespace from the CLI
      config (CLIConfig): Loaded StreamAlert config
  
  Returns:
      bool: False if errors occurred, True otherwise
docstr_tok: ["CLI","handler","for","deploying","new","versions","of","Lambda","functions","Args",":","options","(","argparse.Namespace",")",":","Parsed","argparse","namespace","from","the","CLI","config","(","CLIConfig",")",":","Loaded","StreamAlert","config","Returns",":","bool",":","False","if","errors","occurred",",","True","otherwise"]
code: def handler(cls, options, config):
      """CLI handler for deploying new versions of Lambda functions
  
      Args:
          options (argparse.Namespace): Parsed argparse namespace from the CLI
          config (CLIConfig): Loaded StreamAlert config
  
      Returns:
          bool: False if errors occurred, True otherwise
      """
      # Make sure the Terraform code is up to date
      if not terraform_generate_handler(config=config):
          return False
  
      if not deploy(config, options.functions, options.clusters):
          return False
  
      # Update the rule table now if the rules engine is being deployed
      if "rule" in set(options.functions):
          _update_rule_table(options, config)
  
      return True
  
file_path: streamalert/streamalert_cli/manage_lambda/deploy.py
imports: from streamalert.shared import rule_table
  from streamalert.shared.logger import get_logger
  from streamalert_cli.terraform.generate import terraform_generate_handler
  from streamalert_cli.terraform.helpers import terraform_runner
  from streamalert_cli.utils import add_default_lambda_args, CLICommand, MutuallyExclusiveStagingAction, set_parser_epilog
label_desc: Use image node_id 2 for calling the DeployCommand obj's underlying member method code with example usage: obj.handler(cls, options, config) and returns: True, False, False