back
terraform {
required_providers {
fortios = ">= 1.11.0"
}
}
top
module "fortios_log_customfield" {
source = "./modules/fortios/r/fortios_log_customfield"
# fosid - (optional) is a type of string
fosid = null
# name - (required) is a type of string
name = null
# value - (required) is a type of string
value = null
}
top
variable "fosid" {
description = "(optional)"
type = string
default = null
}
variable "name" {
description = "(required)"
type = string
}
variable "value" {
description = "(required)"
type = string
}
top
resource "fortios_log_customfield" "this" {
# fosid - (optional) is a type of string
fosid = var.fosid
# name - (required) is a type of string
name = var.name
# value - (required) is a type of string
value = var.value
}
top
output "fosid" {
description = "returns a string"
value = fortios_log_customfield.this.fosid
}
output "id" {
description = "returns a string"
value = fortios_log_customfield.this.id
}
output "this" {
value = fortios_log_customfield.this
}
top