Skip to content

Generates HTML output from a Terraform state file

Notifications You must be signed in to change notification settings

nwright-nz/tfdoc

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

TFDOC - Quick HTML output of Terraform state file

This is a tool to quickly get the HTML output of the terraform state.

Usage

Build:
go build -o tfdoc main.go

./tfdoc --help                                                                         
Usage of ./tfdoc:
  -name string
        Name of the report (default "Terraform Output")
  -out string
        Path and name of the html file to create (e.g /tmp/myoutput.html) (default "tfdoc.html")
  -tfstate string
        Terraform state file location

For example :

tfdoc --name "My Infrastructure Plan" --out "/tmp/myplan.html" --tfstate "./terraform.tfstate"

Example output: Screenshot

TODO

Clean up the html writing and the type check logic

About

Generates HTML output from a Terraform state file

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages