lazygit but for Terraform :D
Download platform archives and checksums from GitHub Releases.
go install github.com/ushiradineth/lazytf/cmd/lazytf@latestbrew tap ushiradineth/homebrew https://github.com/ushiradineth/homebrew
brew install --cask lazytfRun without installing:
nix run github:ushiradineth/lazytfBuild from source:
nix build github:ushiradineth/lazytfConfig is stored in YAML and supports a schema hint for editors.
Path resolution order:
LAZYTF_CONFIG$XDG_CONFIG_HOME/lazytf/config.yaml~/.config/lazytf/config.yaml/etc/lazytf/config.yaml
Example:
version: 1
theme:
name: default
terraform:
default_flags:
- -compact-warnings
timeout: 10m
history:
enabled: true
level: standardNixOS module usage:
{
inputs.lazytf.url = "github:ushiradineth/lazytf";
outputs = { self, nixpkgs, lazytf, ... }: {
nixosConfigurations.host = nixpkgs.lib.nixosSystem {
modules = [
lazytf.nixosModules.default
({ pkgs, ... }: {
nixpkgs.overlays = [ lazytf.overlays.default ];
programs.lazytf.enable = true;
programs.lazytf.settings.theme.name = "default";
})
];
};
};
}Home Manager module usage:
{
inputs.lazytf.url = "github:ushiradineth/lazytf";
outputs = { home-manager, lazytf, ... }: {
homeConfigurations.user = home-manager.lib.homeManagerConfiguration {
modules = [
lazytf.homeManagerModules.default
({ pkgs, ... }: {
nixpkgs.overlays = [ lazytf.overlays.default ];
programs.lazytf.enable = true;
programs.lazytf.settings.theme.name = "default";
})
];
};
};
}- Go 1.25.7 or later
- just
- Install direnv
direnv alloworjust shell
just deps-tooling
# Install dependencies
just deps
# Run the application
just run # or `just dev` for live reloadRun just without arguments to see all available commands:
- Fork the repository
- Create a feature branch
- Make your changes
- Run
just check-allto ensure quality - Submit a pull request
Always run the quality checks:
just check-alljust ci
- Built with Bubble Tea by Charm.
- UI components from Bubbles.
- Terminal styling from Lipgloss.
- Inspired by Terraform Cloud and lazygit.