Config Reference

Name Description Default
all.concurrency How many processes to run in parallel for each batch for the terraspace all commands. 5
all.exit_on_fail.down Whether or not to exit if one of the down commands fails. Note: Other commands like show, validate, etc are also configurable and default to false. For all down , TS_EXIT_ON_FAIL=0 will also tell Terraspace to continue on failures. true
all.exit_on_fail.up Whether or not to exit if one of the up commands fails. true
all.ignore_stacks Stacks to ignore and not to be considered as part of the dependency graph. []
auto_create_backend Enable auto-creation of backend true
build.cache_dir The relative dir for the module or stack cache. IE: .terraspace-cache/us-west-2/dev/stacks/demo :CACHE_ROOT/:REGION/:ENV/:BUILD_DIR
build.cache_root The root of the cache build dir. IE: .terraspace-cache /full/path/to/.terraspace-cache
build.clean_cache Whether to clean the cache at the beginning of the build process. Can be useful to turn off if using TFC VCS-Driven workflow. true
bundle This should be a Hash. It configures terraspace bundle settings. Options are passed straight through, allowing you to configure anything with the bundle command. See terrafile config level options for the options. {logger: Terraspace.logger}
cloud.auto_sync Enables auto-syncing of config/cloud settings to TFC/TFE. Useful to disable if you do not have permission to manage workspaces. true
cloud.working_dir_prefix Add additional prefix to add the relative root that is set on TFC nil
cloud.hostname Hostname used for TFE Terraform token used for authenticated API calls. See: Terraform Login nil
cloud.vars.overwrite Whether or not to overwrite non-sensitive variables. true
cloud.vars.overwrite_sensitive Whether or not to overwrite sensitive variables. true
cloud.vars.show_message Normally, only “Creating” variable messages are shown. Can be set to: all, update, create, none create
cloud.workspace.attrs Custom workspace attributes to set as part of the sync to TFC. Can be useful for vcs-repo. See TFC API Workspace Docs {}
terraform.plugin_cache.dir Sets TF_PLUGIN_CACHE_DIR. /tmp/terraspace/plugin_cache
terraform.plugin_cache.enabled Whether or not to enable a common cache folder to download plugins.  
hooks.on_boot Hook to run on boot. This hook runs very early. You can use it configure things like ENV vars dynamically. This should be a Ruby block of code. nil
init.mode Can be: auto, never, always. auto means init will only be called when .terraform doesnt exist yet. You can also override this with a env var. IE: TS_INIT_MODE=always auto
log.root The root folder where logs are written to. log
logger Logger instance to use. Logger.new($stdout)
logger.formatter Logger Formatter to use. See Formatter for interface. Terraspace::Logger::Formatter
logger.level Logger level info
test_framework Test framework to use rspec

Here’s also the config/app.rb source where these config options are defined.