Files and Templates

Files and templates used for deploying and configuring infrastructure.

Templates are a core component of Forge, allowing you to define, deploy, and configure infrastructure using both Terraform and Ansible. They provide a standardized way to create and manage infrastructure resources, ensuring consistency and reliability across different environments.

Template Types

There are three types of files and templates used in Forge:

TypeDescription
InfrastructureTerraform template for deploying infrastructure.
ConfigurationAnsible template for configuring infrastructure.
FileFiles used during the configuration stages.

Template Varibles

Forge has custom template variables built-in to the template editor, allowing you to easily reuse templates across different environments.

Note

More information about variable types can be found in each of the specific template sections.

To define these variables within any of the files or templates, simply use the syntax $$variableName$$.