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:
| Type | Description |
|---|---|
| Infrastructure | Terraform template for deploying infrastructure. |
| Configuration | Ansible template for configuring infrastructure. |
| File | Files 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$$.