back
terraform {
required_providers {
fortios = ">= 1.11.0"
}
}
top
module "fortios_wanopt_settings" {
source = "./modules/fortios/r/fortios_wanopt_settings"
# auto_detect_algorithm - (optional) is a type of string
auto_detect_algorithm = null
# host_id - (required) is a type of string
host_id = null
# tunnel_ssl_algorithm - (optional) is a type of string
tunnel_ssl_algorithm = null
}
top
variable "auto_detect_algorithm" {
description = "(optional)"
type = string
default = null
}
variable "host_id" {
description = "(required)"
type = string
}
variable "tunnel_ssl_algorithm" {
description = "(optional)"
type = string
default = null
}
top
resource "fortios_wanopt_settings" "this" {
# auto_detect_algorithm - (optional) is a type of string
auto_detect_algorithm = var.auto_detect_algorithm
# host_id - (required) is a type of string
host_id = var.host_id
# tunnel_ssl_algorithm - (optional) is a type of string
tunnel_ssl_algorithm = var.tunnel_ssl_algorithm
}
top
output "auto_detect_algorithm" {
description = "returns a string"
value = fortios_wanopt_settings.this.auto_detect_algorithm
}
output "id" {
description = "returns a string"
value = fortios_wanopt_settings.this.id
}
output "tunnel_ssl_algorithm" {
description = "returns a string"
value = fortios_wanopt_settings.this.tunnel_ssl_algorithm
}
output "this" {
value = fortios_wanopt_settings.this
}
top