Skip to content

Latest commit

 

History

History
119 lines (93 loc) · 2.2 KB

fortios_wirelesscontrollerhotspot20_anqproamingconsortium.md

File metadata and controls

119 lines (93 loc) · 2.2 KB

fortios_wirelesscontrollerhotspot20_anqproamingconsortium

back

Index

Terraform

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

top

Example Usage

module "fortios_wirelesscontrollerhotspot20_anqproamingconsortium" {
  source = "./modules/fortios/r/fortios_wirelesscontrollerhotspot20_anqproamingconsortium"

  # dynamic_sort_subtable - (optional) is a type of string
  dynamic_sort_subtable = null
  # name - (optional) is a type of string
  name = null

  oi_list = [{
    comment = null
    index   = null
    oi      = null
  }]
}

top

Variables

variable "dynamic_sort_subtable" {
  description = "(optional)"
  type        = string
  default     = null
}

variable "name" {
  description = "(optional)"
  type        = string
  default     = null
}

variable "oi_list" {
  description = "nested block: NestingList, min items: 0, max items: 0"
  type = set(object(
    {
      comment = string
      index   = number
      oi      = string
    }
  ))
  default = []
}

top

Resource

resource "fortios_wirelesscontrollerhotspot20_anqproamingconsortium" "this" {
  # 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 "oi_list" {
    for_each = var.oi_list
    content {
      # comment - (optional) is a type of string
      comment = oi_list.value["comment"]
      # index - (optional) is a type of number
      index = oi_list.value["index"]
      # oi - (optional) is a type of string
      oi = oi_list.value["oi"]
    }
  }

}

top

Outputs

output "id" {
  description = "returns a string"
  value       = fortios_wirelesscontrollerhotspot20_anqproamingconsortium.this.id
}

output "name" {
  description = "returns a string"
  value       = fortios_wirelesscontrollerhotspot20_anqproamingconsortium.this.name
}

output "this" {
  value = fortios_wirelesscontrollerhotspot20_anqproamingconsortium.this
}

top