class_docstr: Test the Terraform generation for the alert processor
docstr: CLI - Terraform Generate Alert Processor - Minimal Options
docstr_tok: ["CLI","-","Terraform","Generate","Alert","Processor","-","Minimal","Options"]
code: def test_generate_minimal_options(self):
      """CLI - Terraform Generate Alert Processor - Minimal Options"""
      # Remove extra Lambda options
      for key in [
          "log_level",
          "log_retention_days",
          "metric_alarms",
          "vpc_config",
      ]:
          del self.alert_proc_config[key]
  
      # Remove all outputs from the config
      self.config["outputs"] = {}
  
      result = alert_processor.generate_alert_processor(
          config=self.config
      )
  
      expected = {
          "module": {
              "alert_processor_iam": {
                  "account_id": "12345678910",
                  "kms_key_arn": "${aws_kms_key.streamalert_secrets.arn}",
                  "output_lambda_functions": [],
                  "output_s3_buckets": [],
                  "output_sns_topics": [],
                  "output_sqs_queues": [],
                  "prefix": "unit-test",
                  "region": "us-west-1",
                  "role_id": "${module.alert_processor_lambda.role_id}",
                  "source": "./modules/tf_alert_processor_iam",
                  "sse_kms_key_arn": "${aws_kms_key.server_side_encryption.arn}",
              },
              "alert_processor_lambda": {
                  "description": "Unit-Test Streamalert Alert Processor",
                  "environment_variables": {
                      "ALERTS_TABLE": "unit-test_streamalert_alerts",
                      "STREAMALERT_PREFIX": "unit-test",
                      "AWS_ACCOUNT_ID": "12345678910",
                      "ENABLE_METRICS": "0",
                      "LOGGER_LEVEL": "info",
                  },
                  "tags": {},
                  "function_name": "unit-test_streamalert_alert_processor",
                  "handler": "streamalert.alert_processor.main.handler",
                  "memory_size_mb": 128,
                  "source": "./modules/tf_lambda",
                  "timeout_sec": 60,
              },
          }
      }
      assert_equal(expected, result)
  
file_path: streamalert/tests/unit/streamalert_cli/terraform/test_alert_processor.py
imports: import unittest
  from nose.tools import assert_equal
  from streamalert_cli.config import CLIConfig
  from streamalert_cli.terraform import alert_processor
label_desc: Use image node_id 3 for calling the TestAlertProcessor obj's underlying member method code with example usage: obj.test_generate_minimal_options() without return types