Skip to content

Latest commit

 

History

History
196 lines (160 loc) · 3.84 KB

File metadata and controls

196 lines (160 loc) · 3.84 KB

fortios_networking_route_static

back

Index

Terraform

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

top

Example Usage

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

  # blackhole - (optional) is a type of string
  blackhole = null
  # comment - (optional) is a type of string
  comment = null
  # device - (required) is a type of string
  device = null
  # distance - (optional) is a type of string
  distance = null
  # dst - (optional) is a type of string
  dst = null
  # gateway - (required) is a type of string
  gateway = null
  # internet_service - (optional) is a type of number
  internet_service = null
  # priority - (optional) is a type of string
  priority = null
  # status - (optional) is a type of string
  status = null
  # weight - (optional) is a type of string
  weight = null
}

top

Variables

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

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

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

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

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

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

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

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

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

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

top

Resource

resource "fortios_networking_route_static" "this" {
  # blackhole - (optional) is a type of string
  blackhole = var.blackhole
  # comment - (optional) is a type of string
  comment = var.comment
  # device - (required) is a type of string
  device = var.device
  # distance - (optional) is a type of string
  distance = var.distance
  # dst - (optional) is a type of string
  dst = var.dst
  # gateway - (required) is a type of string
  gateway = var.gateway
  # internet_service - (optional) is a type of number
  internet_service = var.internet_service
  # priority - (optional) is a type of string
  priority = var.priority
  # status - (optional) is a type of string
  status = var.status
  # weight - (optional) is a type of string
  weight = var.weight
}

top

Outputs

output "blackhole" {
  description = "returns a string"
  value       = fortios_networking_route_static.this.blackhole
}

output "distance" {
  description = "returns a string"
  value       = fortios_networking_route_static.this.distance
}

output "dst" {
  description = "returns a string"
  value       = fortios_networking_route_static.this.dst
}

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

output "internet_service" {
  description = "returns a number"
  value       = fortios_networking_route_static.this.internet_service
}

output "priority" {
  description = "returns a string"
  value       = fortios_networking_route_static.this.priority
}

output "status" {
  description = "returns a string"
  value       = fortios_networking_route_static.this.status
}

output "weight" {
  description = "returns a string"
  value       = fortios_networking_route_static.this.weight
}

output "this" {
  value = fortios_networking_route_static.this
}

top