A CLI to the Terraform Cloud API
Project description
TF Cloud CLI
A simple CLI for interacting with the Terraform Cloud API.
Currently only supports listing organizations, workspaces and updating the run mode for workspaces
Install
pip install tf-cloud-cli
Token Setup
Get an API token from the Terraform cloud app.
Token can either be set in an environment variable called TF_TOKEN or in a file named .credentials.conf
Usage
tf_cloud_cli --help <aws:sensurance>
Usage: tf_cloud_cli [OPTIONS] COMMAND [ARGS]...
Options:
--help Show this message and exit.
Commands:
list-organizations
organization
List Organizations
tf_cloud_cli list-organizations
List Workspaces
tf_cloud_cli organization -o MyOrganization list-workspaces
Show workspace details
tf_cloud_cli organization -o MyOrganization workspace -w my-workspace show
Set local execution for workspace
tf_cloud_cli organization -o MyOrganization workspace -w my-workspace set-local-execution
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file tf_cloud_cli-0.0.2.tar.gz.
File metadata
- Download URL: tf_cloud_cli-0.0.2.tar.gz
- Upload date:
- Size: 3.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/45.2.0 requests-toolbelt/0.9.1 tqdm/4.43.0 CPython/3.7.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
45e4ab9bab36d6003f2b8871233c7a075cd17c70eac3f58c1b99a9d852350f87
|
|
| MD5 |
910194589b1b093af23ca867be178b95
|
|
| BLAKE2b-256 |
184160d77de329cc0b3bb2f29de7e98a36a82fc35b4d38a2ab393941dd5a633e
|
File details
Details for the file tf_cloud_cli-0.0.2-py3-none-any.whl.
File metadata
- Download URL: tf_cloud_cli-0.0.2-py3-none-any.whl
- Upload date:
- Size: 4.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/45.2.0 requests-toolbelt/0.9.1 tqdm/4.43.0 CPython/3.7.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
186492439ddf2ddea8f15807529044d2acca448d9ee97829b8a850e3ae72fd3a
|
|
| MD5 |
45e3f0964e0d0b5929b18bbf550c2553
|
|
| BLAKE2b-256 |
f0f55f0942fcc44d960aeb90e2ac7226347eaf62a6388038aba38208dac633e6
|