These options are supported by all CLI commands unless stated otherwise.
-y option to answer yes to all questions.
--profile <profile> option to choose which AWS profile to use.
--help option to display help. Command specific helps include also the minimum IAM permissions needed to run the command.
Display Takomo Version
--version option to print version information.
--env-file <path-to-environment-variables-file> to load environment variables from a file. The loaded variables override existing variables with the same name. This option can be used multiple times.
The environment variables must be defined in a format accepted by dotenv, like so:
Load AWS SDK Config
Use --load-aws-sdk-config to prefer loading credentials from configuration file over the credentials file. Passing this option will enable loading the profile from ~/.aws/config file.
Log Confidential Information
By default, environment variables and confidential parameter values are concealed from logs. Override this default by passing
--log <level> option to choose the logging level.
Supported values are:
- info (default)
--dir <directory> or
-d <directory> option to define the directory from where Takomo loads configuration.
--stats option to print statistics information of the executed command.
--var option to provide variables that can be used in Handlebars templates. This option can be used multiple times.
Pass a single variable and store it to a variable with the given name.
Variables can be read from files and assigned to a variable. Contents of .yml and .json files are deserialized, and contents for other types of files are read to a string as is.
The variable name can be omitted for .yml and .json files as long as the file content can be deserialized to an object. The deserialized object is then stored to the top-level of variables.
Variables are merged recursively.
Variable from files are loaded first in the order they are defined, and then other variables also in the definition order.