A command line utility for interfacing with Terraform Cloud. Uses tfe-go under the hood.

Available Commands
Create a workspace:
tfc-cli workspaces create -workspace foo
Create a workspace variable:
tfc-cli workspaces variables create -workspace foo -key bar -value baz -category terraform
Update a workspace variable value:
tfc-cli workspaces variables update value -workspace foo -key bar -value quux
Make a workspace variable sensitive:
tfc-cli workspaces variables update sensitive -workspace foo -key bar -sensitive=true
Note the -sensitive=<bool>
syntax. This is required.
Delete a workspace variable:
tfc-cli workspaces variables delete -workspace foo -key bar
Get current state output variable value:
tfc-cli stateversions current getoutput -workspace foo -name bar