Settings

Theme

Show HN: Pug, a TUI for Terraform

github.com

5 points by leg100 a year ago · 0 comments · 1 min read

Reader

Pug is a full screen terminal user interface for terraform.

I wanted a tool that could scale terraform without leaving the terminal. There are plenty of SaaS products (terraform cloud, etc), and yes there is terragrunt but its interface is sorely lacking. I want logs to be organized and easily accessible. I also wanted to view and manage state resources at scale without endlessly rattling out `terraform state ...` commands.

Pug provides all this in one small binary. You can fire off 1000s of terraform plans and applies and see their output in real-time. All the common terraform commands are supported. State is automatically refreshed following changes. You can swap out terraform for opentofu or terragrunt.

In future Pug could be taken beyond a single-user, single-machine app. Processes could be launched on kubernetes, teams could share and approve plans, pull requests managed automatically, real-time updates relayed from other users etc. The end-to-end infrastructure deployment workflow would be possible without leaving the terminal.

https://github.com/leg100/pug

No comments yet.

Keyboard Shortcuts

j
Next item
k
Previous item
o / Enter
Open selected item
?
Show this help
Esc
Close modal / clear selection