Skip to content

Latest commit

 

History

History
92 lines (70 loc) · 1.38 KB

fortios_fmg_system_syslogserver.md

File metadata and controls

92 lines (70 loc) · 1.38 KB

fortios_fmg_system_syslogserver

back

Index

Terraform

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

top

Example Usage

module "fortios_fmg_system_syslogserver" {
  source = "./modules/fortios/r/fortios_fmg_system_syslogserver"

  # ip - (optional) is a type of string
  ip = null
  # name - (required) is a type of string
  name = null
  # port - (optional) is a type of number
  port = null
}

top

Variables

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

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

variable "port" {
  description = "(optional)"
  type        = number
  default     = null
}

top

Resource

resource "fortios_fmg_system_syslogserver" "this" {
  # ip - (optional) is a type of string
  ip = var.ip
  # name - (required) is a type of string
  name = var.name
  # port - (optional) is a type of number
  port = var.port
}

top

Outputs

output "id" {
  description = "returns a string"
  value       = fortios_fmg_system_syslogserver.this.id
}

output "this" {
  value = fortios_fmg_system_syslogserver.this
}

top