Multiple examples for the different deployment methods in Microsoft Azure can be found in the examples directory. These examples are based on the same architectures used for the ARM templates more information can be found here
Each example is validated by GitHub Actions (init → fmt → validate → plan on every push/PR; full apply → FortiGate checks → destroy on manual dispatch). Authentication uses Azure OIDC — see .github/workflows/OIDC-SETUP.md.
| Workflow | Status |
|---|---|
| Single | |
| Active-Passive ELB/ILB | |
| Active-Passive SDN | |
| Active-Active ELB/ILB | |
| Azure Virtual WAN | |
| TruffleHog (secret scan) | |
| Trivy (IaC scan) |
Before deploying the example, users should review the examples/terraform.tfvars.txt file to ensure all required values are provided and to adjust any settings to fit their specific project needs.
-
Navigate to the example folder (e.g.,
examples/azurevirtualwan). -
Review the variables in the file and provide all the required values in it.
-
Rename the file
terraform.tfvars.txttoterraform.tfvars. -
Run the following commands:
terraform init terraform plan terraform apply
Fortinet-provided scripts in this and other GitHub projects do not fall under the regular Fortinet technical support scope and are not supported by FortiCare Support Services. For direct issues, please refer to the Issues tab of this GitHub project.
License © Fortinet Technologies. All rights reserved.