terraform

strong-opx terraform

Execute Terraform command for specified environment

usage: strong-opx terraform [-h] [--project PROJECT] [--env ENVIRONMENT] [-v {0,1,2,3}] [--traceback] command

positional arguments

command

Terraform command to execute. e.g. init, plan

options

-h, --help

show this help message and exit

--project <project>

Select project by its name. If missing, strong-opx will attempt to auto-select project based on current working directory and its parents and looking for presence of configured project

--env <environment>

Environment name. If project has only one environment that will be auto selected

-v {0,1,2,3}, --verbosity {0,1,2,3}

Verbosity level; 0=minimal output, 1=normal output, 2=verbose output, 3=very verbose output.

--traceback

Raise instead of handling known exceptions

Note

This command is a thin wrapper around terraform. To pass additional arguments to terraform you can use the -- separator. All arguments after -- will be passed as it is to terraform.