Terraform Cloud API. One CLI.

Terraform Cloud in your terminal

Manage workspaces, trigger runs, inspect state, and configure variables—all from the command line.

$ brew install richclement/tap/tfccli
tfccli
$ tfccli workspace list
NAME STATUS LAST RUN
production applied 2h ago
staging applied 4h ago
 
$ tfccli run create --workspace production
Run RUN-abc123 queued. Watching...

Install

Homebrew tap, binary download, or build from source.

Homebrew Recommended

brew install richclement/tap/tfccli

Go Install

go install github.com/richclement/tfccli/cmd/tfccli@latest

Binary Download

curl -sSL https://github.com/richclement/tfccli/releases/latest/download/tfccli_$(uname -s)_$(uname -m).tar.gz | tar xz