Skip to main content

A Python client for the Terraform Enterprise API

Project description


Python unittest Code Coverage

A Python Client for the Terraform Enterprise API.

Using terrasnek

For more details on using each endpoint, checkout the test directory.

from terrasnek.api import TFE
import os

TFE_TOKEN = os.getenv("TFE_TOKEN", None)

if __name__ == "__main__":
    api = TFE(TFE_TOKEN)

Contributing to terrasnek

Currently the following endpoints are supported:

Contributing to terrasnek

Linting the Code

make lint

Building Test Data

cd test/testdata/terraform/
tar -zcvf terrasnek_unittest_config_version.tar.gz src/*

Running the Tests with Coverage Info

source test/secrets/
make coverage

Project details

Download files

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

Files for terrasnek-dahlke, version 0.0.1
Filename, size File type Python version Upload date Hashes
Filename, size terrasnek_dahlke-0.0.1-py3-none-any.whl (45.3 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size terrasnek-dahlke-0.0.1.tar.gz (20.2 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page