Skip to content

Terraform tfstate file parser library for Python 3

License

Notifications You must be signed in to change notification settings

rodynnz/python-tfstate

 
 

Repository files navigation

python-tfstate 0.6.0

python-tfstate is a Python 3 library to work with Terraform state files (tfstate)

The first aim of this project is to identify every piece of data from a tfstate file.

Python version support

python-tfstate is only being developed for Python 3.4-3.5. Ports for other Python 3 versions will be surely available when the library is more mature.

Backporting to Python 2 is at least now out of the question.

Supported versions:

  • Python 3.4
  • Python 3.5
  • Python 3.6
  • Python 3.7

### Untested versions:

  • Python 3.3

Unsupported versions:

  • Python 2.x

Installing

From GitHub

  1. Download the latest code from GitHub (https://github.com/rodynnz/python-tfstate).

  2. Open a terminal or similar an go to the root directory of the project.

  3. Type this magic and strange words (you may need to be root or Administrator):

    pip install .

From pip

pip install terraform_tfstate

Testing

  1. pip install -r requirements/tests.txt

  2. py.test -v unit_tests

Using python-tfstate

The best way to learn how to use this library is to check the documentation available here (coming soon).

License

This project is licensed under the GNU Lesser Public General License 3 (LGPLv3).

You can read the full license available in the LICENSE file.

About

Terraform tfstate file parser library for Python 3

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Python 100.0%