Skip to content

Latest commit

 

History

History
126 lines (98 loc) · 2.11 KB

fortios_vpnipsec_concentrator.md

File metadata and controls

126 lines (98 loc) · 2.11 KB

fortios_vpnipsec_concentrator

back

Index

Terraform

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

top

Example Usage

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

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

  member = [{
    name = null
  }]
}

top

Variables

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

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

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

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

top

Resource

resource "fortios_vpnipsec_concentrator" "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
  # src_check - (optional) is a type of string
  src_check = var.src_check

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

}

top

Outputs

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

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

output "src_check" {
  description = "returns a string"
  value       = fortios_vpnipsec_concentrator.this.src_check
}

output "this" {
  value = fortios_vpnipsec_concentrator.this
}

top