A Terraform module to configure Cisco FMC.
This module supports an inventory driven approach, where a complete FMC configuration or parts of it are either modeled in one or more YAML files or natively using Terraform variables.
The default number of supported Access Rules and Manual Nat Rules is 100. To change it, please visit: templates
Configuring a Network-group Object using YAML:
---
existing:
fmc:
domains:
- name: Global
objects:
networks:
- name: any-ipv4
---
fmc:
name: MyFMC1
domains:
- name: Global
objects:
hosts:
- name: MyHost1
ip: 10.10.10.10
- name: MyHost2
ip: 20.20.20.20
network_groups:
- name: MyNetworkGroup1
objects:
- MyHost1
- any-ipv4
- name: MyNetworkGroup2
objects:
- MyNetworkGroup1
- MyHost2
module "fmc" {
source = "netascode/nac-fmc/fmc"
version = ">= 0.1.0"
yaml_files = ["fmc.yaml", "existing.yaml"]
}
Name | Version |
---|---|
terraform | >= 1.3.0 |
fmc | >= 1.4.8 |
local | >= 2.3.0 |
utils | >= 0.2.5 |
Name | Description | Type | Default | Required |
---|---|---|---|---|
manage_deployment | Enables support for FTD deployments | bool |
true |
no |
model | As an alternative to YAML files, a native Terraform data structure can be provided as well. | map(any) |
{} |
no |
write_default_values_file | Write all default values to a YAML file. Value is a path pointing to the file to be created. | string |
"" |
no |
yaml_directories | List of paths to YAML directories. | list(string) |
[ |
no |
yaml_files | List of paths to YAML files. | list(string) |
[] |
no |
Name | Description |
---|---|
default_values | All default values. |
model | Full model. |
No modules.