# Directory Structure

The directory where Takomo configuration files are placed is called project directory and looks like this:

├─ stacks
├─ templates
├─ helpers
├- partials
├- resolvers
├- hooks
├- deployment
└- organization

At minimum, the project directory needs to contain two subdirectories: stacks where configuration files for CloudFormation stacks go, and the templates, where template files for the stacks are located.

Takomo supports using Handlebars templating with configuration and CloudFormation template files. You can provide custom Handlebars helper functions and partial files by placing JavaScript files in helpers and partials directories.

Parameter values for CloudFormation stacks can be resolved at deployment time using parameter resolvers. Custom parameter resolvers can be provided by placing JavaScript files into resolvers subdirectory.

It is possible to instruct Takomo to execute certain actions before and after deployments. These actions are called hooks, and just like with the parameter resolvers, custom hooks can be provided by placing JavaScript files into hooks directory.

Finally, the two remaining directories, deployment and organization, are meant to provide configuration for larger deployments and AWS organizations, respectively.

Last Updated: 6/26/2020, 8:25:21 PM