Skip to content

Latest commit

 

History

History
91 lines (69 loc) · 1.45 KB

fortios_firewall_object_servicegroup.md

File metadata and controls

91 lines (69 loc) · 1.45 KB

fortios_firewall_object_servicegroup

back

Index

Terraform

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

top

Example Usage

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

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

top

Variables

variable "comment" {
  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_servicegroup" "this" {
  # comment - (optional) is a type of string
  comment = var.comment
  # 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_servicegroup.this.id
}

output "this" {
  value = fortios_firewall_object_servicegroup.this
}

top