parameters: (
      directory: str = "terraform",
  )
return_statement: return {k: out[k]["value"] for k in out}
docstring: Converts from the super verbose JSON output to a more natural string -> string map.
docstring_summary: Converts from the super verbose JSON output to a more natural string -> string map.
docstring_tokens: Converts from the super verbose JSON output to a more natural string - > string map .
function: def get_terraform_outputs(
      directory: str = "terraform",
  ) -> t.Dict[str, str]:
      """
      Converts from the super verbose JSON output to a more natural string -> string map.
      """
      cmd = ["terraform"]
      cmd.extend(["output", "-json"])
      out = json.loads(subprocess.check_output(cmd, cwd=directory))
      return {k: out[k]["value"] for k in out}
function_tokens: def get_terraform_outputs ( directory : str = "terraform" , ) -> t . Dict [ str , str ] : cmd = [ "terraform" ] cmd . extend ( [ "output" , "-json" ] ) out = json . loads ( subprocess . check_output ( cmd , cwd = directory ) ) return { k : out [ k ] [ "value" ] for k in out }