Skip to main content

parse_hcl

Function parse_hcl 

Source
pub fn parse_hcl(text: &str) -> Vec<ExtractedPair>
Expand description

Parse Terraform / HCL variable "<name>" { default = "<value>" } blocks, flat .tfvars assignments, and simple locals { x = "v" } assignment shapes into (context, value) pairs.