back
terraform {
required_providers {
fortios = ">= 1.11.0"
}
}
top
module "fortios_system_ssoadmin" {
source = "./modules/fortios/r/fortios_system_ssoadmin"
# accprofile - (required) is a type of string
accprofile = null
# dynamic_sort_subtable - (optional) is a type of string
dynamic_sort_subtable = null
# name - (optional) is a type of string
name = null
vdom = [{
name = null
}]
}
top
variable "accprofile" {
description = "(required)"
type = string
}
variable "dynamic_sort_subtable" {
description = "(optional)"
type = string
default = null
}
variable "name" {
description = "(optional)"
type = string
default = null
}
variable "vdom" {
description = "nested block: NestingList, min items: 0, max items: 0"
type = set(object(
{
name = string
}
))
default = []
}
top
resource "fortios_system_ssoadmin" "this" {
# accprofile - (required) is a type of string
accprofile = var.accprofile
# dynamic_sort_subtable - (optional) is a type of string
dynamic_sort_subtable = var.dynamic_sort_subtable
# name - (optional) is a type of string
name = var.name
dynamic "vdom" {
for_each = var.vdom
content {
# name - (optional) is a type of string
name = vdom.value["name"]
}
}
}
top
output "id" {
description = "returns a string"
value = fortios_system_ssoadmin.this.id
}
output "name" {
description = "returns a string"
value = fortios_system_ssoadmin.this.name
}
output "this" {
value = fortios_system_ssoadmin.this
}
top