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.
Configuring a Network-group Object using YAML:
---
existing:
fmc:
domains:
- name: Global
objects:
networks:
- name: any-ipv4
---
fmc:
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.0.1"
yaml_files = ["fmc.yaml", "existing.yaml"]
}
Name | Version |
---|---|
terraform | >=1.5.7 |
fmc | 2.0.0-beta1 |
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. |
Name | Version |
---|---|
fmc | 2.0.0-beta1 |
local | >=2.3.0 |
utils | >=0.2.5 |
No modules.