Skip to content

Latest commit

 

History

History
100 lines (76 loc) · 1.57 KB

File metadata and controls

100 lines (76 loc) · 1.57 KB

fortios_router_bfd6

back

Index

Terraform

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

top

Example Usage

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

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

  neighbor = [{
    interface   = null
    ip6_address = null
  }]
}

top

Variables

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

variable "neighbor" {
  description = "nested block: NestingList, min items: 0, max items: 0"
  type = set(object(
    {
      interface   = string
      ip6_address = string
    }
  ))
  default = []
}

top

Resource

resource "fortios_router_bfd6" "this" {
  # dynamic_sort_subtable - (optional) is a type of string
  dynamic_sort_subtable = var.dynamic_sort_subtable

  dynamic "neighbor" {
    for_each = var.neighbor
    content {
      # interface - (optional) is a type of string
      interface = neighbor.value["interface"]
      # ip6_address - (optional) is a type of string
      ip6_address = neighbor.value["ip6_address"]
    }
  }

}

top

Outputs

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

output "this" {
  value = fortios_router_bfd6.this
}

top