- install terraform
- copy
gen_module.tf
to your folder - run
terraform init
there - run
terraform apply -auto-approve
there - make some changes
- install
terraform-docs
likebrew install terraform-docs
- generate README.md file for fun
terraform-docs markdown table --output-file README.md --output-mode inject /path/to/module
Have fun!