Skip to content

Latest commit

 

History

History
99 lines (76 loc) · 1.51 KB

File metadata and controls

99 lines (76 loc) · 1.51 KB

fortios_system_arptable

back

Index

Terraform

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

top

Example Usage

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

  # fosid - (required) is a type of number
  fosid = null
  # interface - (required) is a type of string
  interface = null
  # ip - (required) is a type of string
  ip = null
  # mac - (required) is a type of string
  mac = null
}

top

Variables

variable "fosid" {
  description = "(required)"
  type        = number
}

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

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

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

top

Resource

resource "fortios_system_arptable" "this" {
  # fosid - (required) is a type of number
  fosid = var.fosid
  # interface - (required) is a type of string
  interface = var.interface
  # ip - (required) is a type of string
  ip = var.ip
  # mac - (required) is a type of string
  mac = var.mac
}

top

Outputs

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

output "this" {
  value = fortios_system_arptable.this
}

top