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

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.

program_serial_number

String

The unique serial number of the FortiFlex program.

Block list

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

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.fgt_vm_bundle block contains:

Attribute

Type

Description

cpu_size

String

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

service_pkg

String

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

vdom_num

Number

The number of VDOMs between 0 and 500.

The configs.fgt_vm_lcs block contains:

Attribute

Type

Description

cloud_services

List of strings

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

  • "FAMS": FortiGate Cloud

  • "SWNM": SD-WAN Cloud

  • "FMGC": FortiManager Cloud

  • "AFAC": FortiAnalyzer Cloud with SOCaaS

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 is a combination of:

  • "IPS": Intrusion Prevention

  • "AVDB": Advanced Malware

  • "FURL": Web & Video Filtering

  • "IOTH": IOT Detection

  • "FGSA": Security Rating

  • "ISSS": Industrial Security

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:

Attribute

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).

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

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.

program_serial_number

String

The unique serial number of the FortiFlex program.

Block list

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

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.fgt_vm_bundle block contains:

Attribute

Type

Description

cpu_size

String

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

service_pkg

String

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

vdom_num

Number

The number of VDOMs between 0 and 500.

The configs.fgt_vm_lcs block contains:

Attribute

Type

Description

cloud_services

List of strings

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

  • "FAMS": FortiGate Cloud

  • "SWNM": SD-WAN Cloud

  • "FMGC": FortiManager Cloud

  • "AFAC": FortiAnalyzer Cloud with SOCaaS

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 is a combination of:

  • "IPS": Intrusion Prevention

  • "AVDB": Advanced Malware

  • "FURL": Web & Video Filtering

  • "IOTH": IOT Detection

  • "FGSA": Security Rating

  • "ISSS": Industrial Security

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:

Attribute

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).