Terraform modules for deploying Fortinet VM products (e.g. FortiGate VM) on GCP.
Folder modules contains reusable modules for GCP configurations (Subfolder gcp) and Fortinet VM products (Other subfolders).
Folder examples contains examples for certain structures of security solutions. Please Note: Templates under folder examples are examples which the name or content may change. When you reference an example as a module, it is not recommended to update its version after it is deployed.
Please click the following links for visual diagrams, requirements, example deployment scripts, and additional information.
-
Autoscale FortiGate with Load Balancer Sandwich uses FortiGates as a firewall between your VPCs and the Internet. It offers a dynamically scalable FortiGate Group that efficiently manages the traffic flowing in and out of your VPCs.
-
Utilize Autoscale FortiGate as a central hub to connect up to eight existing VPCs. FortiGates connect your VPCs and manage traffic between VPCs.
-
This module can be used to deploy any Fortinet VM: FortiGate / FortiManager / FortiAnalyzer / FortiAIOPS / FortiGuest ...
-
Single FortiGate (Deprecated, please use generic_vm_standalone):
You can use this module to quickly deploy one single FortiGate.
This module can also be used to create FortiManager and FortiAnalyzer if you change the
image_typeorimage_sourceto the target value.
Use it as a Terraform project (Examples only)
- Clone the module to your environment.
- Navigate to the example folder (e.g., "examples/autoscale_fgt_lb_sandwich").
- Edit the file "terraform.tfvars.template" and rename it to "terraform.tfvars".
- Execute the commands
terraform initandterraform apply.
Use it as a module (Examples and Modules)
- Create a new folder and add a file named "main.tf" within this folder.
- In "main.tf", specify the source to the target example, for instance:
"fortinetdev/cloud-modules/google//examples/autoscale_fgt_lb_sandwich". Provide your own values for necessary parameters of the module. There is a file namedterraform.tfvars.templateon each example, which could be a reference.
module "your_module_name" {
source = "fortinetdev/cloud-modules/google//examples/<example_name>"
<Specify module variables>
}
- Execute the commands
terraform initandterraform apply.
If there is a missing feature or a bug -- open an issue
License © Fortinet Technologies. All rights reserved.