Our great sponsors
-
terraform
Terraform enables you to safely and predictably create, change, and improve infrastructure. It is a source-available tool that codifies APIs into declarative configuration files that can be shared amongst team members, treated as code, edited, reviewed, and versioned.
-
InfluxDB
Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
I am attempting to create a tool for terraform users, that may have some value to the community. As part of the process, I will need to parse `variable.tf` files in my golang program. Sadly, the hcl2 API is a bit too complex for me at the moment. Additionally, I want to maintain maximum compatibility to with the terraform tool.
I looked myself, but I am unable to find it. I am hoping someone can point me to the go code in their GitHub where terrafrom defines the `struct` for the variable and related items.