pip install virtualenvwrapper
mkvirtualenv tfe2tfvars
workon tfe2tfvars
pip install -r requirements.txt
The following command will generate a terraform.auto.tfvars
file in the current directory populated with the values taken from the Terraform workspace variables:
./tfe2tfvars.py -t tfe_hostname -o tfe_org -w workspace