class_docstr: CLI Terraform Generate, Rules Engine
class_docstr_tok: ["CLI","Terraform","Generate",",","Rules","Engine"]
docstr: CLI Terraform Generate, Rules Engine - Setup
docstr_tok: ["CLI","Terraform","Generate",",","Rules","Engine","-","Setup"]
code: def setup(self):
      """CLI Terraform Generate, Rules Engine - Setup"""
      self.config = {
          "global": {
              "account": {
                  "aws_account_id": "123456789012",
                  "prefix": "unit-test",
                  "region": "us-east-1",
              },
              "infrastructure": {
                  "monitoring": {"sns_topic_name": "test_topic"},
                  "rule_staging": {"enabled": False},
              },
          },
          "threat_intel": {
              "dynamodb_table_name": "test_table",
              "enabled": False,
          },
          "lambda": {
              "rules_engine_config": {
                  "log_level": "info",
                  "log_retention_days": 14,
                  "memory": 128,
                  "metric_alarms": {
                      "errors": {
                          "enabled": True,
                          "evaluation_periods": 1,
                          "period_secs": 120,
                          "threshold": 0,
                      },
                      "throttles": {
                          "enabled": True,
                          "evaluation_periods": 1,
                          "period_secs": 120,
                          "threshold": 0,
                      },
                  },
                  "timeout": 60,
                  "vpc_config": {
                      "security_group_ids": [],
                      "subnet_ids": [],
                  },
              }
          },
      }
  
imports: from nose.tools import assert_equal
  from streamalert_cli.terraform import rules_engine
label_desc: Use image node_id 1 for calling the TestTerraformGenerateRuleEngine obj's underlying member method code with example usage: obj.setup() without return types