Scraping Terraform Documents
I had the chance to work with Terraform at my last job. Being a well-crafted software, its documentation is quite detailed, if not well-structured. One of the pain I had was trying to find the name of the block I needed. As searching a keyword using "Ctrl-F" often leads to unwanted results.
Another pain is that it is only available as HTML online format, it would be better if a PDF version is available as well. So let's create one.
It takes some web crawling work and using library to generate PDFs. After about 2 hours of coding and testing (spent quite some time fixing latex), I present you all the Terraform PDF documents: terraform-doc-pdf.