hclparser v0.1.1 HCLParser View Source

Provides access to HCLParser parse method.

Link to this section Summary

Functions

Parses a terraform file, and returns a map structure representing it.

Link to this section Functions

Parses a terraform file, and returns a map structure representing it.

Parameters

  • content: String that represents the content of the terraform file.

Examples

iex> content = 'provider "google" {}' |>  HCLParser.parse
{:ok, %{provider: %{"google" => {}}}}