Skip to content

Latest commit

 

History

History
106 lines (82 loc) · 1.79 KB

File metadata and controls

106 lines (82 loc) · 1.79 KB

fortios_firewall_object_vipgroup

back

Index

Terraform

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

top

Example Usage

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

  # comments - (optional) is a type of string
  comments = null
  # interface - (optional) is a type of string
  interface = null
  # member - (required) is a type of list of string
  member = []
  # name - (required) is a type of string
  name = null
}

top

Variables

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

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

variable "member" {
  description = "(required)"
  type        = list(string)
}

variable "name" {
  description = "(required)"
  type        = string
}

top

Resource

resource "fortios_firewall_object_vipgroup" "this" {
  # comments - (optional) is a type of string
  comments = var.comments
  # interface - (optional) is a type of string
  interface = var.interface
  # member - (required) is a type of list of string
  member = var.member
  # name - (required) is a type of string
  name = var.name
}

top

Outputs

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

output "interface" {
  description = "returns a string"
  value       = fortios_firewall_object_vipgroup.this.interface
}

output "this" {
  value = fortios_firewall_object_vipgroup.this
}

top