Skip to main content

Terraform Test Framework

Project description

Terraform Test Framework

Terraform Test Framework

Unified Test Framework to test Terraform codes and Terraform-provisioned infrastructures.

The new version, v0.2.0 (Freedom) is now available.

GitHub last commit GitHub license GitHub stars GitHub forks GitHub issues


Documentation: https://tf2project.io

Source Code: https://github.com/tf2project/tf2project

Changelog: https://tf2project.io/changelog.html


TF2 is a unified test framework to test Terraform codes and Terraform-provisioned infrastructures. With TF2, you can implement PaC(Policy as Code), Compliance tests and e2e(End to End) tests just in a unified framework.

Requirements

The TF2 core doesn't have any external or third-party requirements, and we will keep this approach as the main development policy to reduce the attack surface. This policy is created because you run the TF2 in your critical environments, CI/CD systems, and cloud/on-premises infrastructures, and we want to keep you completely secure. The TF2 core is just using standard and official Python libraries.

Installation

On production environment:

pip install tf2project

On development environment:

export ENV=development
pip install git+https://github.com/tf2project/tf2project

Docker Image

You can also use our official Docker image to run the framework. The image tf2project/tf2project consists of the latest version of Terraform and the TF2 framework itself.

It's a ready-to-go image to integrate the TF2 within CI/CD pipelines.

docker run tf2project/tf2project:latest

License

This project is licensed under the terms of the Apache 2.0 license.

Copyright © 2022 Saeid Bostandoust

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

tf2project-0.2.0.tar.gz (12.6 kB view details)

Uploaded Source

Built Distribution

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

tf2project-0.2.0-py3-none-any.whl (14.4 kB view details)

Uploaded Python 3

File details

Details for the file tf2project-0.2.0.tar.gz.

File metadata

  • Download URL: tf2project-0.2.0.tar.gz
  • Upload date:
  • Size: 12.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.10.6

File hashes

Hashes for tf2project-0.2.0.tar.gz
Algorithm Hash digest
SHA256 56eba3fa60228b778e3c64905bbe4d013471dc70e73a7aa0c88c1f232e19a4f8
MD5 6342494c2d90c569aae79e08ad2c80e0
BLAKE2b-256 19f114065bb58a20559daf2467f87b81560f38f04650047d00f9d9b27cb38416

See more details on using hashes here.

File details

Details for the file tf2project-0.2.0-py3-none-any.whl.

File metadata

  • Download URL: tf2project-0.2.0-py3-none-any.whl
  • Upload date:
  • Size: 14.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.10.6

File hashes

Hashes for tf2project-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 ab1f21f206f7c68df4122b00efddc48c5a51f351c79e0c9521a5766d5a5ff386
MD5 eb3e0a95047a19be11a4b31f7c3132f1
BLAKE2b-256 a4251a6dfbf75af791d85a1fb9be55562de320497407ff651a1f06a160420d16

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