Skip to content

Latest commit

 

History

History
111 lines (85 loc) · 1.77 KB

File metadata and controls

111 lines (85 loc) · 1.77 KB

fortios_system_ndproxy

back

Index

Terraform

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

top

Example Usage

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

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

  member = [{
    interface_name = null
  }]
}

top

Variables

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

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

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

top

Resource

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

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

}

top

Outputs

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

output "status" {
  description = "returns a string"
  value       = fortios_system_ndproxy.this.status
}

output "this" {
  value = fortios_system_ndproxy.this
}

top