Fortinet black logo

Administration Guide

Configuration data sources

Configuration data sources

Use the fortiflexvm_configs_list data source to get a list of FortiFlex configurations for a program.

Example usage

The following is an example usage of fortiflexvm_configs_list:

data "fortiflexvm_configs_list" "example" {
    program_serial_number = "ELAVMS000000XXXX"
}

output "my_configs_list"{
    value = data.fortiflexvm_configs_list.example
}

Argument reference

The following argument is required:

Argument

Type

Description

account_id

Number (Optional)

The account ID.

program_serial_number

String (Required)

The unique serial number of the FortiFlex program.

Attribute reference

The following attributes are exported:

Attribute

Type

Description

configs

List of objects

The list of FortiFlex configurations for a program. See Block list for more information.

id

String

An ID for the resource. Its value is variable program_serial_number.

Block list

The configs block contains configuration arguments. See Configuration resources for more information.

The configs.fad_vm block contains:

Argument

Type

Description

cpu_size

String

The number of CPUs. This value can be "1", "2", "4", "8", "16", or "32".

service_pkg

String

The service package can be "FDVSTD" (Standard), "FDVADV" (Advanced), or "FDVFC247" (FortiCare Premium).

The configs.faz_vm block contains:

Attribute

Type

Description

adom_num

Number

The number of ADOMs between 0 and 1200.

daily_storage

Number

The daily storage between 5 and 8300 GB.

support_services

String

The "FAZFC247" (FortiCare Premium) support service.

The configs.fc_ems_cloud block contains:

Argument

Type

Description

ztna_num

Number

The number of ZTNA/VPN endpoints. The value can be between 0 and 25000, and should be divisible by 25.

ztna_fgf_num

Number

The number of ZTNA/VPN + FortiGuard Forensics endpoints. The value can be between 0 and 25000, and should be divisible by 25.

epp_ztna_num

Number

The number of EPP/ATP + ZTNA/VPN endpoints. The value can be between 0 and 25000, and should be divisible by 25.

epp_ztna_fgf_num

Number

The number of EPP/ATP + ZTNA/VPN + FortiGuard Forensics endpoints. The value can be between 0 and 25000, and should be divisible by 25.

chromebook

Number

The number of Chromebook endpoints. The value can be between 0 and 25000, and should be divisible by 25.

addons

List of strings

The default value is an empty list but can be "BPS" (FortiCare Best Practice).

The configs.fc_ems_op block contains:

Argument

Type

Description

ztna_num

Number

The number of ZTNA/VPN endpoints. The value can be between 0 and 25000, and should be divisible by 25.

epp_ztna_num

Number

The number of EPP/ATP + ZTNA/VPN endpoints. The value can be between 0 and 25000, and should be divisible by 25.

chromebook

Number

The number of Chromebook endpoints. The value can be between 0 and 25000, and should be divisible by 25.

support_service

String

The value can be "FCTFC247" (FortiCare Premium).

addons

List of strings

The default value is an empty list but can be "BPS" (FortiCare Best Practice).

The configs.fgt_hw block contains:

Argument

Type

Description

device_model

String

The device model. See fortiflex_configs_list for a list of available models.

service_pkg

String

The service package can be either "FHWFC247" (FortiCare Premium), "FGHWFCEL" (FortiCare Elite), "FGHWATP" (ATP), "FGHWUTP" (UTP), or "FGHWENT" (Enterprise).
addons

List of strings

See fortiflex_configs_list for a list of available add ons.

The configs.fgt_vm_bundle block contains:

Argument

Type

Description

cloud_services

List of strings

The list of Cloud Services. The default value is an empty list. The list can be a combination of "FGTFAMS" (FortiGate Cloud Management), "FGTSWNM" (SD-WAN Underlay), "FGTSOCA" (SOCaaS), "FGTFAZC" (FortiAnalyzer Cloud), "FGTSWOS" (Cloud-base Overlay-as-a-Service), or "FGTFSPA" (SD-WAN Connector for FortiSASE).

cpu_size

String

The number of CPUs. This value can be between 1 and 96.

fortiguard_services

List of strings

The list of FortiGuard Services. The default value is an empty list. The list can be a combination of "FGTAVDB" (Advanced Malware Protection), "FGTFAIS" (AI-Based In-line Sandbox), "FGTISSS" (FortiGuard OT Security Service), "FGTDLDB" (FortiGuard DLP), "FGTFGSA" (FortiGuard Attack Surface Security Service), or "FGTFCSS" (FortiConverter Service).

service_pkg

String

The service package can be either "FC" (FortiCare), "UTP", "ENT" (Enterprise), or "ATP".

support_service

List of strings

The Support service. The default value is "NONE" but can be "FGTFCELU" (FC Elite Upgrade).

vdom_num

Number

The number of VDOMs between 0 and 500.

The configs.fgt_vm_lcs block contains:

Argument

Type

Description

cloud_services

List of strings

The cloud services this FortiGate Virtual Machine supports. It should be a combination of:

  • "FAMS": FortiGate Cloud

  • "SWNM": SD-WAN Cloud

  • "AFAC": FortiAnalyzer Cloud with SOCaaS

  • "FAZC": FortiAnalyzer Cloud

cpu_size

String

The number of CPUs between 1 and 96.
fortiguard_services

List of strings

The FortiGuard services this FortiGate Virtual Machine supports. It should be a combination of:

  • "IPS": Intrusion Prevention

  • "AVDB": Advanced Malware

  • "FURLDNS": Web, DNS, & Video Filtering

  • "FGSA": Security Rating

  • "DLDB":DLP

  • "FAIS": AI-Based InLine Sandbox

support_service

String

The type of support service; either "FC247" (FortiCare 24x7) or "ASET" (FortiCare Elite).

vdom_num

Number

The number of VDOMs between 0 and 500.

The configs.fmg_vm block contains:

Argument

Type

Description

adom_num

Number

The number of ADOMs between 0 and 100000.

managed_dev

Number

The number of managed devices between 1 and 100000.

The configs.fpc_vm block contains:

Attribute

Type

Description

managed_dev

Number

The number of managed devices between 0 and 100000.

The configs.fwb_vm block contains:

Attribute

Type

Description

cpu_size

String

The number of CPUs. The value can be "1", "2", "4", "8", or "16".

service_pkg

String

The service package; either "FWBSTD" (Standard) or "FWBADV" (Advanced).

The configs.fwbc_private block contains:

Argument

Type

Description

average_throughput

Number

The average throughput. See fortiflex_configs_list for a list of available options.

web_applications

Number

The number of web applications between 0 and 2000.

The configs.fwbc_public block contains:

Argument

Type

Description

average_throughput

Number

The average throughput. See fortiflex_configs_list for a list of available options.

web_applications

Number

The number of web applications between 0 and 2000.

Configuration data sources

Use the fortiflexvm_configs_list data source to get a list of FortiFlex configurations for a program.

Example usage

The following is an example usage of fortiflexvm_configs_list:

data "fortiflexvm_configs_list" "example" {
    program_serial_number = "ELAVMS000000XXXX"
}

output "my_configs_list"{
    value = data.fortiflexvm_configs_list.example
}

Argument reference

The following argument is required:

Argument

Type

Description

account_id

Number (Optional)

The account ID.

program_serial_number

String (Required)

The unique serial number of the FortiFlex program.

Attribute reference

The following attributes are exported:

Attribute

Type

Description

configs

List of objects

The list of FortiFlex configurations for a program. See Block list for more information.

id

String

An ID for the resource. Its value is variable program_serial_number.

Block list

The configs block contains configuration arguments. See Configuration resources for more information.

The configs.fad_vm block contains:

Argument

Type

Description

cpu_size

String

The number of CPUs. This value can be "1", "2", "4", "8", "16", or "32".

service_pkg

String

The service package can be "FDVSTD" (Standard), "FDVADV" (Advanced), or "FDVFC247" (FortiCare Premium).

The configs.faz_vm block contains:

Attribute

Type

Description

adom_num

Number

The number of ADOMs between 0 and 1200.

daily_storage

Number

The daily storage between 5 and 8300 GB.

support_services

String

The "FAZFC247" (FortiCare Premium) support service.

The configs.fc_ems_cloud block contains:

Argument

Type

Description

ztna_num

Number

The number of ZTNA/VPN endpoints. The value can be between 0 and 25000, and should be divisible by 25.

ztna_fgf_num

Number

The number of ZTNA/VPN + FortiGuard Forensics endpoints. The value can be between 0 and 25000, and should be divisible by 25.

epp_ztna_num

Number

The number of EPP/ATP + ZTNA/VPN endpoints. The value can be between 0 and 25000, and should be divisible by 25.

epp_ztna_fgf_num

Number

The number of EPP/ATP + ZTNA/VPN + FortiGuard Forensics endpoints. The value can be between 0 and 25000, and should be divisible by 25.

chromebook

Number

The number of Chromebook endpoints. The value can be between 0 and 25000, and should be divisible by 25.

addons

List of strings

The default value is an empty list but can be "BPS" (FortiCare Best Practice).

The configs.fc_ems_op block contains:

Argument

Type

Description

ztna_num

Number

The number of ZTNA/VPN endpoints. The value can be between 0 and 25000, and should be divisible by 25.

epp_ztna_num

Number

The number of EPP/ATP + ZTNA/VPN endpoints. The value can be between 0 and 25000, and should be divisible by 25.

chromebook

Number

The number of Chromebook endpoints. The value can be between 0 and 25000, and should be divisible by 25.

support_service

String

The value can be "FCTFC247" (FortiCare Premium).

addons

List of strings

The default value is an empty list but can be "BPS" (FortiCare Best Practice).

The configs.fgt_hw block contains:

Argument

Type

Description

device_model

String

The device model. See fortiflex_configs_list for a list of available models.

service_pkg

String

The service package can be either "FHWFC247" (FortiCare Premium), "FGHWFCEL" (FortiCare Elite), "FGHWATP" (ATP), "FGHWUTP" (UTP), or "FGHWENT" (Enterprise).
addons

List of strings

See fortiflex_configs_list for a list of available add ons.

The configs.fgt_vm_bundle block contains:

Argument

Type

Description

cloud_services

List of strings

The list of Cloud Services. The default value is an empty list. The list can be a combination of "FGTFAMS" (FortiGate Cloud Management), "FGTSWNM" (SD-WAN Underlay), "FGTSOCA" (SOCaaS), "FGTFAZC" (FortiAnalyzer Cloud), "FGTSWOS" (Cloud-base Overlay-as-a-Service), or "FGTFSPA" (SD-WAN Connector for FortiSASE).

cpu_size

String

The number of CPUs. This value can be between 1 and 96.

fortiguard_services

List of strings

The list of FortiGuard Services. The default value is an empty list. The list can be a combination of "FGTAVDB" (Advanced Malware Protection), "FGTFAIS" (AI-Based In-line Sandbox), "FGTISSS" (FortiGuard OT Security Service), "FGTDLDB" (FortiGuard DLP), "FGTFGSA" (FortiGuard Attack Surface Security Service), or "FGTFCSS" (FortiConverter Service).

service_pkg

String

The service package can be either "FC" (FortiCare), "UTP", "ENT" (Enterprise), or "ATP".

support_service

List of strings

The Support service. The default value is "NONE" but can be "FGTFCELU" (FC Elite Upgrade).

vdom_num

Number

The number of VDOMs between 0 and 500.

The configs.fgt_vm_lcs block contains:

Argument

Type

Description

cloud_services

List of strings

The cloud services this FortiGate Virtual Machine supports. It should be a combination of:

  • "FAMS": FortiGate Cloud

  • "SWNM": SD-WAN Cloud

  • "AFAC": FortiAnalyzer Cloud with SOCaaS

  • "FAZC": FortiAnalyzer Cloud

cpu_size

String

The number of CPUs between 1 and 96.
fortiguard_services

List of strings

The FortiGuard services this FortiGate Virtual Machine supports. It should be a combination of:

  • "IPS": Intrusion Prevention

  • "AVDB": Advanced Malware

  • "FURLDNS": Web, DNS, & Video Filtering

  • "FGSA": Security Rating

  • "DLDB":DLP

  • "FAIS": AI-Based InLine Sandbox

support_service

String

The type of support service; either "FC247" (FortiCare 24x7) or "ASET" (FortiCare Elite).

vdom_num

Number

The number of VDOMs between 0 and 500.

The configs.fmg_vm block contains:

Argument

Type

Description

adom_num

Number

The number of ADOMs between 0 and 100000.

managed_dev

Number

The number of managed devices between 1 and 100000.

The configs.fpc_vm block contains:

Attribute

Type

Description

managed_dev

Number

The number of managed devices between 0 and 100000.

The configs.fwb_vm block contains:

Attribute

Type

Description

cpu_size

String

The number of CPUs. The value can be "1", "2", "4", "8", or "16".

service_pkg

String

The service package; either "FWBSTD" (Standard) or "FWBADV" (Advanced).

The configs.fwbc_private block contains:

Argument

Type

Description

average_throughput

Number

The average throughput. See fortiflex_configs_list for a list of available options.

web_applications

Number

The number of web applications between 0 and 2000.

The configs.fwbc_public block contains:

Argument

Type

Description

average_throughput

Number

The average throughput. See fortiflex_configs_list for a list of available options.

web_applications

Number

The number of web applications between 0 and 2000.