Skip to content

Latest commit

 

History

History
96 lines (73 loc) · 1.44 KB

File metadata and controls

96 lines (73 loc) · 1.44 KB

fortios_log_customfield

back

Index

Terraform

terraform {
  required_providers {
    fortios = ">= 1.11.0"
  }
}

top

Example Usage

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

Variables

variable "fosid" {
  description = "(optional)"
  type        = string
  default     = null
}

variable "name" {
  description = "(required)"
  type        = string
}

variable "value" {
  description = "(required)"
  type        = string
}

top

Resource

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

Outputs

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