code: def generate_tf_outputs(cluster_dict, module_name, outputs):
      """Add the outputs to the Terraform cluster dict.
  
      Args:
          cluster_dict (defaultdict): The dict containing all Terraform config for
              a given cluster.
          module_name (str): The name of the terraform module for which outputs should be configured.
              This is typically formatted like: module-name_cluster-name.
          outputs (list): Names of outputs that should be included
      """
      for output_var in sorted(outputs):
          cluster_dict["output"][
              "{}_{}".format(module_name, output_var)
          ] = {
              "value": "${{module.{}.{}}}".format(
                  module_name, output_var
              )
          }
  
file_path: streamalert/streamalert_cli/terraform/common.py
imports: from collections import defaultdict
label_desc: Use image node_id 6 for calling a global function with example usage: generate_tf_outputs(cluster_dict, module_name, outputs) without return types