Skip to content

Latest commit

 

History

History
145 lines (116 loc) · 2.67 KB

File metadata and controls

145 lines (116 loc) · 2.67 KB

fortios_webproxy_wisp

back

Index

Terraform

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

top

Example Usage

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

  # comment - (optional) is a type of string
  comment = null
  # max_connections - (optional) is a type of number
  max_connections = null
  # name - (required) is a type of string
  name = null
  # outgoing_ip - (optional) is a type of string
  outgoing_ip = null
  # server_ip - (required) is a type of string
  server_ip = null
  # server_port - (required) is a type of number
  server_port = null
  # timeout - (optional) is a type of number
  timeout = null
}

top

Variables

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

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

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

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

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

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

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

top

Resource

resource "fortios_webproxy_wisp" "this" {
  # comment - (optional) is a type of string
  comment = var.comment
  # max_connections - (optional) is a type of number
  max_connections = var.max_connections
  # name - (required) is a type of string
  name = var.name
  # outgoing_ip - (optional) is a type of string
  outgoing_ip = var.outgoing_ip
  # server_ip - (required) is a type of string
  server_ip = var.server_ip
  # server_port - (required) is a type of number
  server_port = var.server_port
  # timeout - (optional) is a type of number
  timeout = var.timeout
}

top

Outputs

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

output "max_connections" {
  description = "returns a number"
  value       = fortios_webproxy_wisp.this.max_connections
}

output "outgoing_ip" {
  description = "returns a string"
  value       = fortios_webproxy_wisp.this.outgoing_ip
}

output "timeout" {
  description = "returns a number"
  value       = fortios_webproxy_wisp.this.timeout
}

output "this" {
  value = fortios_webproxy_wisp.this
}

top