class_docstr: Test class for the Terraform Cluster Generating
class_docstr_tok: ["Test","class","for","the","Terraform","Cluster","Generating"]
docstr: CLI - Terraform Generate Global Lambda Settings, Invalid Config
docstr_tok: ["CLI","-","Terraform","Generate","Global","Lambda","Settings",",","Invalid","Config"]
code: def test_generate_required_lambda_invalid_config(self):
      "CLI - Terraform Generate Global Lambda Settings, Invalid Config"
  
      assert_raises(
          ConfigError,
          generate.generate_global_lambda_settings,
          config=self.config,
          conf_name="athena_partition_refresh_config",
          generate_func="test_func",
          tf_tmp_file_name="test_tf_tmp_file_path",
      )
  
imports: from mock import ANY, Mock, patch
  from nose.tools import assert_equal, assert_dict_equal, assert_false, assert_raises, assert_true
  from streamalert.shared.exceptions import ConfigError
  from streamalert_cli.config import CLIConfig
  from streamalert_cli.terraform import common, cloudtrail, cloudwatch_destinations, cloudwatch_events, flow_logs, generate
label_desc: Use image node_id 24 for calling the TestTerraformGenerate obj's underlying member method code with example usage: obj.test_generate_required_lambda_invalid_config() without return types