Skip to main content

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

Metadata

Release files for tf2project 0.2.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for tf2project 0.2.0
File Size Uploaded Provenance Actions
tf2project-0.2.0.tar.gz 12.6 kB Without provenance Details for tf2project-0.2.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for tf2project 0.2.0
File Interpreter ABI Platform Actions
tf2project-0.2.0-py3-none-any.whl Python 3 none any Details for tf2project-0.2.0-py3-none-any.whl

Total release size: 27.0 kB

Release files / tf2project-0.2.0.tar.gz

Download URL tf2project-0.2.0.tar.gz
Size 12.6 kB
Tags Source
SHA-256 checksum
How to use checksums
56eba3fa60228b778e3c64905bbe4d013471dc70e73a7aa0c88c1f232e19a4f8
BLAKE2b-256 checksum
How to use checksums
19f114065bb58a20559daf2467f87b81560f38f04650047d00f9d9b27cb38416
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.10.6

Release files / tf2project-0.2.0-py3-none-any.whl

Download URL tf2project-0.2.0-py3-none-any.whl
Size 14.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
ab1f21f206f7c68df4122b00efddc48c5a51f351c79e0c9521a5766d5a5ff386
BLAKE2b-256 checksum
How to use checksums
a4251a6dfbf75af791d85a1fb9be55562de320497407ff651a1f06a160420d16
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.10.6

Security for tf2project 0.2.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.2.0 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page