terraform {
required_providers {
fortios = ">= 1.11.0"
}
}module "fortios_firewallservice_customlist" {
source = "./modules/fortios/d/fortios_firewallservice_customlist"
# filter - (optional) is a type of string
filter = null
}variable "filter" {
description = "(optional)"
type = string
default = null
}data "fortios_firewallservice_customlist" "this" {
# filter - (optional) is a type of string
filter = var.filter
}output "id" {
description = "returns a string"
value = data.fortios_firewallservice_customlist.this.id
}
output "namelist" {
description = "returns a list of string"
value = data.fortios_firewallservice_customlist.this.namelist
}
output "this" {
value = fortios_firewallservice_customlist.this
}