Built-In Helpers

Here’s a list of Terraspace built-in helpers.

Name Description
depends_on Explicitly configure a dependency. More info: Dependencies Tfvars Docs
expansion Useful for config/terraform/backend.tf to configure things like backend, key, etc. More info: Backend Docs
output Use to wire stack outputs to inputs. Terraspace infers the dependency. More info: Dependencies Tfvars Docs

This list is not exhaustive. To help find all the helper methods, you can start at this erb/helpers.rb source file. Also, the Terraspace DSL has it’s own set of methods. Here’s the dsl/syntax/mod.rb source.