This is a work-in-progress! It still needs to be "productionalized" by making it into a proper commandline utility.
This is a utility for generating documentation regarding Terraform variables.
- The only thing worse than no documentation is stale/incorrect documentation.
- A part of defining Terraform variables is self-documentatin; you set variable types, descriptions, and defaults as code.
- While you could just read the code, it's good practice to include a
README.md
for any Terraform module. - This is now a problem if you like to make purdy, stylized
README
s; there's no easy/quick way to transform your variable definitions to documentation.
Until now...
Create a README.md.j2
jinja2 template. Your variables will be available under
the variables
variable. Stylize to your hearts content.
- make this a proper commandline tool with args and configuration
- setup pip package
- distribute