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