cts-agpu

fortinetdev/cts-agpu/fortimanager

Terraform Module HCL FORTIMANAGER
Install
module "cts-agpu" {
source = "fortinetdev/cts-agpu/fortimanager"
version = "1.1.1"
}
plain text: /constructs/tfmod-fortinetdev-cts-agpu-fortimanager/install.txt
⭐ Source on GitHub 📦 Registry page
README

Fortinet FortiManager Address, Group and Package Update (AGPU) module for Consul Terraform Sync (CTS) This Terraform module connects to FortiManager and creates Firewall addresses for each Consul service and updates address groups based on service names. Each address group will include all firewall addresses with the service names in variable addrgrp_name_map. Using the module in automation with Consul Terraform Sync will dynamically add or remove service instances from the address group based on Consul service discovery. This way FortiManager will be configured with the dynamically learned services IP addresses and push them to the managed FortiOS/FortiGate devices, thus allowing FortiOS/FortiGate to implement Firewall policies based on dynamically learned service information. Using this

Inputs (9)
NameTypeDescriptionDefault
addrgrp_name_mapmap(list(string))Map of Firewall Address Group name to services required
servicesmap( object({ id Consul services monitored by Consul-Terraform-Sync required
addrname_sufixstring(Optional)Sufix added to each address name""
net_maskstring(Optional)Net mask for firewall address"255.255.255.255"
packagestringPackage name for target device"default"
scopetypestring(Optional)The scope of application of the resource"inherit"
adomstringADOM name"root"
addrname_prefixstring(Optional)Prefix added to each address name""
install_packagestringFlag of whether install package to device automatically"No"
Resources (3)
fortimanager_object_firewall_addressfortimanager_object_firewall_addrgrpfortimanager_securityconsole_install_package
Details
FrameworkTerraform Module
LanguageHCL
Version1.1.1
Cloud FORTIMANAGER
★ Stars1
Forks1
Total downloads618
Inputs9
Resources3
LicenseApache-2.0
Namespacefortinetdev
Updated