This is the first release for parsing HCL variable file and convert it into fancy Markdown table.
Available to convert input --file
like this
variable "aws_zone" {
type = "string"
default = "us-east-1"
description = "The AWS region in which all resources will be created."
}
variable "vpc_id" {
type = string
default = "0a6ce9323d11855e7"
description = "The id of the specific VPC to retrieve. "
}
and will receive in stdout a fancy table
NAME | TYPE | DEFAULT | DESCRIPTION |
---|---|---|---|
aws_region | string | us-east-1 | The AWS region in which all resources will be created. |
vpc_id | string | vpc-0a6ce9323d11855e7 | The id of the specific VPC to retrieve. |