back
terraform {
required_providers {
fortios = ">= 1.11.0"
}
}
top
module "fortios_icap_server" {
source = "./modules/fortios/r/fortios_icap_server"
# ip6_address - (optional) is a type of string
ip6_address = null
# ip_address - (optional) is a type of string
ip_address = null
# ip_version - (optional) is a type of string
ip_version = null
# max_connections - (optional) is a type of number
max_connections = null
# name - (optional) is a type of string
name = null
# port - (optional) is a type of number
port = null
# secure - (optional) is a type of string
secure = null
# ssl_cert - (optional) is a type of string
ssl_cert = null
}
top
variable "ip6_address" {
description = "(optional)"
type = string
default = null
}
variable "ip_address" {
description = "(optional)"
type = string
default = null
}
variable "ip_version" {
description = "(optional)"
type = string
default = null
}
variable "max_connections" {
description = "(optional)"
type = number
default = null
}
variable "name" {
description = "(optional)"
type = string
default = null
}
variable "port" {
description = "(optional)"
type = number
default = null
}
variable "secure" {
description = "(optional)"
type = string
default = null
}
variable "ssl_cert" {
description = "(optional)"
type = string
default = null
}
top
resource "fortios_icap_server" "this" {
# ip6_address - (optional) is a type of string
ip6_address = var.ip6_address
# ip_address - (optional) is a type of string
ip_address = var.ip_address
# ip_version - (optional) is a type of string
ip_version = var.ip_version
# max_connections - (optional) is a type of number
max_connections = var.max_connections
# name - (optional) is a type of string
name = var.name
# port - (optional) is a type of number
port = var.port
# secure - (optional) is a type of string
secure = var.secure
# ssl_cert - (optional) is a type of string
ssl_cert = var.ssl_cert
}
top
output "id" {
description = "returns a string"
value = fortios_icap_server.this.id
}
output "ip6_address" {
description = "returns a string"
value = fortios_icap_server.this.ip6_address
}
output "ip_address" {
description = "returns a string"
value = fortios_icap_server.this.ip_address
}
output "ip_version" {
description = "returns a string"
value = fortios_icap_server.this.ip_version
}
output "max_connections" {
description = "returns a number"
value = fortios_icap_server.this.max_connections
}
output "name" {
description = "returns a string"
value = fortios_icap_server.this.name
}
output "port" {
description = "returns a number"
value = fortios_icap_server.this.port
}
output "secure" {
description = "returns a string"
value = fortios_icap_server.this.secure
}
output "ssl_cert" {
description = "returns a string"
value = fortios_icap_server.this.ssl_cert
}
output "this" {
value = fortios_icap_server.this
}
top