Help Terraform.io control utility.
TFIO_ORG = "[your organization]";
TFIO_TEAM_ID = "[your team Id]";
TFIO_T_TOKEN = "[your team Token]";
TFIO_O_TOKEN = "[your organization Token]";
wget https://raw.githubusercontent.com/ivanfarkas2/ceres-terraformio-utility/master/install.sh
chmod 755 install.sh
./install.sh
TerraformIoUtility help
wcl - Clone Workspace
cpv - Copy Variables
crv - Create Variable
wcr - Create Workspace
t - Get Team
ts - Get Teams
ws - Get Workspaces
l - List Variables
w - Show Workspace
wi - Show Workspace Id
help <name> - For help with one of the above commands
'wcl' - Clone Workspace
Clone Workspace.
Expected usage: TerraformIoUtility wcl <options>
<options> available:
--swn, --sourceworkspacename=VALUE
Source Workspace Name.
--dwn, --destinationworkspacename=VALUE
Destination Workspace Name.
'cpv' - Copy Variables
Copy Variables.
Expected usage: TerraformIoUtility cpv <options>
<options> available:
--swn, --sourceworkspacename=VALUE
Source Workspace Name.
--twn, --targetworkspacename=VALUE
Target Workspace Name.
Optional:
-x, --excludevariables=VALUE
Exclude Variables.
-i, --includevariables=VALUE
Include Variables.
'crv' - Create Variable
Create Variable.
Expected usage: TerraformIoUtility crv <options>
<options> available:
--twn, --targetworkspacename=VALUE
Target Workspace Name.
--vf, --variablefile=VALUE
Variable File.
'wcr' - Create Workspace
Create Workspace.
Expected usage: TerraformIoUtility wcr <options>
<options> available:
--wf, --workspacefile=VALUE
Workspace File.
't' - Get Team
Get Team.
Expected usage: TerraformIoUtility t <options>
<options> available:
--ti, --teamid=VALUE Team Id.
'ts' - Get Teams
Get Teams.
Expected usage: TerraformIoUtility ts
'ws' - Get Workspaces
Get Workspaces.
Expected usage: TerraformIoUtility ws
'l' - List Variables
List Variables.
Expected usage: TerraformIoUtility l <options>
<options> available:
--wn, --workspacename=VALUE
Workspace Name.
'w' - Show Workspace
Show Workspace.
Expected usage: TerraformIoUtility w <options>
<options> available:
--wn, --workspacename=VALUE
Workspace Name.
'wi' - Show Workspace Id
Show Workspace Id.
Expected usage: TerraformIoUtility wi <options>
<options> available:
--wn, --workspacename=VALUE
Workspace Name.