Skip to main content

Terraform Textual User Interface

Project description

TFTUI - The Terraform textual UI

PyPI version GitHub PyPI - Downloads

TFTUI is a powerful textual UI that empowers users to effortlessly view and interact with their Terraform state.

With its latest version you can easily visualize the complete state tree, gaining deeper insights into your infrastructure's current configuration. Additionally, the ability to search the tree and inspect individual resource states allows you to focus on specific details for better analysis and management. It's also possible to select specific resources and perform actions such as tainting, untainting and deleting them. Finally, you are now able to create and apply plans directly from the UI.

Key Features

  • Comprehensive display of the entire Terraform state tree
  • Effortlessly view and navigate through a single resource state
  • Search the state tree and resource definitions
  • Create plans, present them in full colors and apply them directly from the TUI
  • Single/multiple resource selection
  • Operate on resources: taint, untaint, delete, destroy
  • Support for Terraform wrappers (e.g. terragrunt)

Changelog (latest versions)

Version 0.12

  • Enabled targeting specific resources for plan creation
  • Introducing cli argument: tfvars file
  • Added destroy functionality
  • Added a help screen
  • Added dynamic value for "targets" checkbox (checkbox is marked when resources are selected)
  • Added a short summary of the suggested plan before applying it
  • Added a redacted error tracker on unhandeled exceptions (only when usage reporting is enabled)
  • Fixed: search through full module names

Version 0.11

  • Added support for creating plans (in vivid colors!) and applying them
  • Changed the confirmation dialog to a modal screen
  • Added coloring to tainted resources considering some terminals can't display strikethrough correctly
  • Improved loading screen mechanism

Version 0.10

  • Perform actions on a single highlighted resource without pre-selecting it
  • User interface overhaul: added logo, fixed coloring and loading indicator
  • Added resource selection via the space key and tree traversal via the arrow keys
  • Added a lightmode command-line argument
  • Added a debug log command-line argument
  • Copy to clipboard now copies the resource name in the tree view
  • Fixed a bug in the remove resource functionality
  • Fixed a bug in the parsing mechanism (colons, dots)
  • Refactor: globals

Demo

Installation

Tool Install Upgrade Run
Homebrew brew install idoavrah/homebrew/tftui brew upgrade tftui cd /path/to/terraform/project && tftui
PIP pip install tftui pip install --upgrade tftui cd /path/to/terraform/project && tftui
PIPX pipx install tftui pipx upgrade tftui cd /path/to/terraform/project && tftui

Usage Tracking

  • TFTUI utilizes PostHog to track usage of the application.
  • This is done to help us understand how the tool is being used and to improve it.
  • No personal data is being sent to the tracking service. Returning users are being uniquely identified by a generated fingerprint.
  • You can opt-out of usage tracking completely by setting the -d flag when running the tool.

Star History

Star History Chart

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

tftui-0.12.2.tar.gz (29.0 kB view details)

Uploaded Source

Built Distribution

tftui-0.12.2-py3-none-any.whl (29.1 kB view details)

Uploaded Python 3

File details

Details for the file tftui-0.12.2.tar.gz.

File metadata

  • Download URL: tftui-0.12.2.tar.gz
  • Upload date:
  • Size: 29.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/4.0.2 CPython/3.11.7

File hashes

Hashes for tftui-0.12.2.tar.gz
Algorithm Hash digest
SHA256 22e5e0d124477186bb58aa33188028e35eae768cf8e06761157a34077981df14
MD5 dae4a42a8b39e0c36b6150857eab6ec7
BLAKE2b-256 ce39180a01c76a84d6a795879a110619dec4c1cabd4b3b5f0ca81af8444e524a

See more details on using hashes here.

File details

Details for the file tftui-0.12.2-py3-none-any.whl.

File metadata

  • Download URL: tftui-0.12.2-py3-none-any.whl
  • Upload date:
  • Size: 29.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/4.0.2 CPython/3.11.7

File hashes

Hashes for tftui-0.12.2-py3-none-any.whl
Algorithm Hash digest
SHA256 f3dd55e8bd930562fa4fa1f16b04c03334c1e76980848925bd0d2c894f638bf0
MD5 6b2457b25d6d2d07133472d3b63d5694
BLAKE2b-256 1730eb424f90605e660634d863c17b97935ed6a0e7179d23fde7237288847fad

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page