Configuration

In togomak, everything is defined as a "runnable" using an HCL block. A standard HCL block looks like this

block_type "id" {
  arg1 = value1
  arg2 = {
    key = "value"
  }
 
  sub_block {
    id = "value"
  }
}

For a detailed understanding of togomak HCL syntax, we recommend 🔗 Terraform's Guide to HCL Syntax (opens in a new tab)

Multiple blocks can be placed in different files under the same directory, or could be imported. Here are the supported togomak blocks:

togomak also exports certain global variables and functions: