Skip to content

Latest commit

 

History

History
120 lines (93 loc) · 1.92 KB

fortios_system_ssoadmin.md

File metadata and controls

120 lines (93 loc) · 1.92 KB

fortios_system_ssoadmin

back

Index

Terraform

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

top

Example Usage

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

Variables

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

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

Outputs

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