Skip to main content

No project description provided

Project description

tfanalyse

tfanalyse is a lightweight command-line utility to summarise the contents of a Terraform plan. It allows you to quickly see what resources are being created, updated, or destroyed, and what changes are being made to them.

Installation

You can install this tool using pip:

pip install tfanalyse

You can also install it from source:

git clone git@github.com:twaslowski/tfanalyse.git
pip install ./tfanalyse/   # global installation
poetry install  # local installation

Usage

To use the tool, simply run it with the path to the Terraform plan file as an argument:

terraform plan -out=plan.tfplan
tfanalyse summarise plan.tfplan

This will output a summary of the plan, showing the resources that are being created, updated, or destroyed. You can list only the resources that would be destroyed by adding the --destroy-only flag.

Development

This is a very minimal tool for now. I will develop it to be useful for me, and I hope that others may find it useful too. If you would like to develop it further, feel free to fork the repository and submit a pull request.

You can set up the local development environment using Poetry: Simply run poetry install.

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

tfanalyse-0.1.0.tar.gz (3.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

tfanalyse-0.1.0-py3-none-any.whl (4.7 kB view details)

Uploaded Python 3

File details

Details for the file tfanalyse-0.1.0.tar.gz.

File metadata

  • Download URL: tfanalyse-0.1.0.tar.gz
  • Upload date:
  • Size: 3.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.3 CPython/3.10.14 Linux/6.5.0-1023-azure

File hashes

Hashes for tfanalyse-0.1.0.tar.gz
Algorithm Hash digest
SHA256 c298f92c9e11b11e4179f3472b8b00ea9d47b00d6a933c3ff72920ea7dd93a78
MD5 59c9b4ea4158a8d2430838a88f937913
BLAKE2b-256 f8a5a7008fee7a1d14cc78f612a573e19484a110a5778b93c9d2124d19f7b2df

See more details on using hashes here.

File details

Details for the file tfanalyse-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: tfanalyse-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 4.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.3 CPython/3.10.14 Linux/6.5.0-1023-azure

File hashes

Hashes for tfanalyse-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 7cb34be2150053b50482ae50492f84c8297e754db61d10ba4023ab0dd261b68f
MD5 4fea00aecf99a567a6d431bb191b1c29
BLAKE2b-256 851e36919e266168add64f2b77ffd96312c39a4000b942b205da8b101f12969f

See more details on using hashes here.

Supported by

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