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